/* General */
nav.mm-menu.mm-fresh {
    background: #e6e6e6;
    text-shadow: none;
}

/* height must match parent mm-list margin-top */
.mm-menu.mm-hasfooter > .mm-panel:after {
    height: 45px;
}

#mm-blocker,
html.mm-front #mm-blocker {
    z-index: 100;
}

.mm-menu-toggle {
    float: none;
    padding: 1em 0;
}

.mmenu-nav.mm-fresh .mmenu-block-title {
    font-weight: 500;
}

.mmenu-nav.mm-fresh .mmenu-block-icon {
    /*display: none;*/
    padding-right: 10px;
}

.mmenu-nav.mm-fresh em.mm-counter {
    display: none !important;
}

.mmenu-nav.mm-fresh > .mm-footer {
    display: none !important;
}

header.sticky {
    transition: all 0.3s ease 0s;
    height: 50px;
    /*border-bottom: 1px solid #999;*/
    position: fixed;
    z-index: 100;
}

/* Header */
nav.mm-menu.mm-fresh > .mm-header {
    background: #3F5665;
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: white;
    height: 45px;
    line-height: 45px;
    padding: 0;
}

nav.mm-menu.mm-fresh > .mm-header .mm-title {
    padding: 0;
    color: #FFF;
    font-size: 1.5em;
    width: 100%
}

nav.mmenu-nav.mm-fresh > .mm-list li.mmenu-expanded .mmenu-block-expanded {
    background: #3F5665;
    color: white;
}

nav.mmenu-nav.mm-fresh > .mm-list li {
    border: none;
    border-top: 1px solid #efefef;
    color: #2A3A42;
    background: #ffffff;
}


#mm-header.mm-touched {
    background-size: contain;
    //color: #FFF;
}

#mm-header.mm-touched .mm-prev:before {
    border-color: white;
}
h3.Header {
    display: none;
}


/* Links */
.mm-list {
    font-size: 16px;
    font-weight: 500 !important;
    letter-spacing: .025em;
    font-family: 'Guardian Sans Web', arial, sans-serif !important;
}

nav.mm-menu.mm-fresh > .mm-list > .mm-list,
.mm-list > li > a,
.mm-list > li > span,
.mm-list .mm-parent {
    padding: 0;
    line-height: 26px;
    color: #2A3A42;
}

/* Main site menu now has visible menu sections like EMEA/APAC */
#mmenu_main .mm-panel > ul:last-of-type { padding-bottom: 90px; }

#mmenu_main .mm-panel li.add-bottom-separator {
  border-bottom: 2px solid #2a3a42;
  padding-bottom: 13px;
}

/* Add padding to bottom of last mobile menu 
 * section so that all options are visible on mobile. 
 * Structure of EMEA/APAC menus is slightly different from US */
#mmenu_emea .mm-panel > ul:last-of-type,
#mmenu_apac .mm-panel > ul:last-of-type { padding-bottom: 90px; }

nav.mm-menu.mm-fresh.mm-hasfooter > .mm-panel {
    padding: 60px 0 0 0;
}

nav.mm-menu.mm-fresh.mm-hasfooter > .mm-panel.mm-child {
    padding: 40px 0 0 0;
}

nav.mm-menu.mm-fresh > .mm-list .mm-parent li {
    border: 0;
    border-bottom: 1px solid #efefef;
    padding: 3px 10px 3px;
}

nav.mm-menu .mm-list > li > a.mm-subopen:after, nav.mm-menu .mm-list > li > a.mm-subclose:before {
    border-color: rgba(42, 58, 66, 0.8) !important;
}

.mm-list > li:not(.mm-subtitle):not(.mm-label):not(.mm-search):not(.mm-noresults):after {
    border: 0;
}

nav.mm-menu.mm-fresh > .mm-list:not(.mm-child) li > a:not(.mm-subopen):not(.mm-subclose):not(.mm-fullsubopen):not(.mm-child) {
    padding-top: 6px;
    padding-bottom: 6px;
}

nav.mm-menu.mm-fresh > .mm-list li > a:not(.mm-subopen):not(.mm-subclose):not(.mm-fullsubopen) {
    padding: 10px 20px 10px 20px;
}

/*
nav.mm-menu.mm-fresh > .mm-list .mm-parent li.last-parent {
    border-bottom: 0;
}
*/

.mm-list .mm-parent .parent-icon {
    margin-right: 10px;
}

.mm-list .mm-parent .parent-icon img {
    width: 40px;
    display: none;
}

.mm-list .mm-parent .secondary-menu {
    background-color: #CCC;
}

/* Search box */
nav.mm-menu.mm-fresh .mm-searchbox {
    margin: 15px 25px;
    display: block;
    font-size: 17px;
    letter-spacing: .033em;
    font-family: "Guardian Sans Web";
    font-weight: 300 !important;
    padding: 0;
}

/*
nav.mm-menu.mm-fresh .mm-searchbox input {
    padding: 0.3em;'
}
*/

/* Fix backend */
.not-front #mmenu_left {
    display: none;
}

.mobile-menu-demo-btn {
    display: inline-block;
    padding: 6px 8px;
    margin: 12px 0 0 0;
    color: #2a3a42;
    border: 1px solid #2a3a42;
    font-size: 12px;
    text-transform: uppercase;
    text-align: center;
}
.mobile-menu-demo-btn:hover {
    color: #2a3a42;
    border: 1px solid #2a3a42;
}

@media screen and (min-width: 375px) {
    .mobile-menu-demo-btn {
        font-size: 14px;
        margin-top: 11px;
        padding: 6px 10px;
    }
}

@media screen and (min-width: 414px) {
    .mobile-menu-demo-btn {
        font-size: 15px;
        margin: 10px 0 0 0;
        padding: 6px 12px;
    }
}

@media screen and (max-width: 400px) {
    nav.mm-menu.mm-fresh > .mm-list li > a:not(.mm-subopen):not(.mm-subclose):not(.mm-fullsubopen) {
        padding: 10px;
    }

    .mm-list .mm-parent .parent-icon img {
        width: 30px;
    }

    .mm-list {
        font-size: 16px;
    }
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    /* Header */
    nav.mm-menu.mm-fresh > .mm-header .mm-title {
        font-size: 2em;
    }

    /* Links */
    .mm-list {
        font-size: 16px;
        letter-spacing: 0.03em;
    }
}


/* Bug fixes */
/* Header not filling space correctly on initial open on iOS devices */
nav.mm-menu.mm-fresh.mm-hasfooter > .mm-panel {
    padding: 0 !important;
}

.mm-menu.mm-hasheader > .mm-panel > .mm-list:first-child {
    margin-top: 0px;
}

nav.mm-menu.mm-fresh > .mm-list {
    margin: 45px 0 !important;
    padding: 60px 20px;
}

#block-glb-mobile-menu-dialogue {
    padding-bottom: 40px;
}


html.mm-opened #news-toggle-outer {
    display: none!important;
}

a.has-external-link-icon i.fa-external-link {
    padding: 10px 0 0 6px;
    position: absolute;
    opacity: 0.3;
    font-size: 11px;
}

/* Page Specific Styles */

/* Hide CSJ menu section except on CSJ template pages */
nav.mm-menu .csj-mmenu-item { display: none; }

/* Show CSJ pages other than homepage */
.node-type-article nav.mm-menu .csj-mmenu-item,
.node-type-csj nav.mm-menu .csj-mmenu-item,
.node-type-microsite-csj-blog-homepage nav.mm-menu .csj-mmenu-item,
.node-type-microsite-csj-general-page nav.mm-menu .csj-mmenu-item,
.node-type-microsite-csj-resource-individua nav.mm-menu .csj-mmenu-item,
.node-type-static-csj-archive nav.mm-menu .csj-mmenu-item { display: block; }