/*** layout ***/

html, body {
    height: 100%;
    min-height: 100%;
}

body {
    background-color: #9B0506;
}

#header {
    padding-top: 0px;
    padding-bottom: 0px;
    max-width: none !important;
}

#bigbar ~ #top {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

#top {
    background-color: #050505;
}

#title {
    margin: 0px 60px 0px -40px;
    padding: 9px 25px;
    background-color: #9B0506;
    position: relative;
    max-height: 67px;
    clear: none;
    float: left;
}

.mz_rtl #title {
    margin: 0px -40px 0px 60px;
    float: right;
}

.header-menu-center #title {
    flex: 0 1 auto;
    margin-left: 0;
    margin-right: 0;
}

@media screen and (min-width: 751px) and (min-height:501px) {

    body:not(.header-menu-center) #title:after {
        border-right: 85px solid rgba(0, 0, 0, 0);
        border-top: 85px solid #9B0506;
        content: "";
        height: 0;
        position: absolute;
        right: -85px;
        top: 0;
        width: 0;
    }

    .mz_rtl:not(.header-menu-center) #title:before {
        border-left: 85px solid rgba(0, 0, 0, 0);
        border-top: 85px solid #9B0506;
        content: "";
        height: 0;
        position: absolute;
        left: -85px;
        top: 0;
        width: 0;
    }

}

#title .mz_wysiwyg {
    font-family: 'Exo 2', Arial, Helvetica, sans-serif;
    font-size: 2.69rem;
    color: #ffffff;
    width: auto;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1;
    line-height: 67px;
    white-space: nowrap;
}

/* limit user misconduct */
#title .mz_wysiwyg img {
    max-height: 120px;
}

#wrap {
    background-color: #FFFFFF;
}

#bigbar ~ #belowfold {
    position: absolute;
    top: 100%;
    width: 100%;
}

#bottom .mz_editable {
    color: #FCA1A1;
}

#bottom a {
    color: #FFFFFF;
}

#bottom .mz_social a {
    fill: #FFFFFF;
}

#bottom a:hover {
    color: #FCA1A1;
}

#social {
    clear: both;
    float: none;
    margin-left: 0;
    text-align: center;
}

/* section colors */

.section-bg-1 {
    background-color: #f1f1f8;
}

.section-bg-2 {
    background-color: #417b5a;
}

.section-bg-3 {
    background-color: #1f2041;
}

/* language select */

#languages li > a {
    font-family: 'Exo 2', Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #FFFFFF;
    min-width: 32px;
    line-height: 32px;
    display: inline-block;
}

#languages li.selected > a,
#languages li > a:hover {
    color: #FFFFFF;
    background-color: #9B0506;
}

/* menu */

#menu > ul > li > a {
    margin: 2px 3px 2px 3px;
    color: #FFFFFF;
    text-transform: uppercase;
    line-height: 16px;
    padding: 8px 14px;
}

#menu > ul > li.selected > a {
    color: #CE0000;
}

#menu > ul > li > a:hover {
    color: #CE0000;
}

#menu ul li a {
    font-family: 'Exo 2', Arial, Helvetica, sans-serif;
    font-size: 16px;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    border-top: 1px solid transparent;
}

@media screen and (max-width: 1024px) {
    #menu > ul > li > a {
        font-size: 14px;
        padding: 8px 10px;
    }
}

#menu ul ul {
    border-radius: 3px;
    background-color: #FFFFFF;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}

#menu ul ul li {
    border-bottom: 1px solid #F2F2F2;
    border-radius: 0px;
}

#menu ul ul li:last-child {
    border-bottom: none;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

#menu ul ul li:first-child {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

#menu ul ul li:hover {
    background-color: #F5F5F5;
}

#menu ul ul li a {
    color: #666666;
}

#menu ul ul li a:hover, #menu ul ul li.selected > a {
    color: #444444;
}

#menu {
    margin: 24px 0px 23px 0px;
    float: right;
    clear: none;
}

.mz_rtl #menu {
    float: left;
}

/* submenu */

#submenubox {
    background-color: #F2F2F2;
}

#submenu {
    text-align: center;
}

#submenu a {
    font-weight: 300;
    color: #999999;
    border-radius: 3px;
}

#submenu li.selected > a,
#submenu li:hover > a {
    background-color: #9B0506;
    color: #FFFFFF
}

/* special boxes - bigbar */

#bigbar {
    margin: 0px;
    max-width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#bigbar div.mz_banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#bigbar div.moze-banner {
    background-position: center center;
    background-size: cover;
}

#bigbar-container {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0px;
    width: 100%;
    clear: both;
    display: table;
    height: 100%;
}

#bigbar-overlay-block {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0px;
    position: absolute;
}

#bigbar-overlay {
    text-align: center;
    display: table-cell;
    height: 100%;
    vertical-align: middle;
    padding: 0px 30px 120px 30px;
}

#bigbar-colorizer {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: hsla(0, 65%, 49%, 0.47);
}

.bigbar-h1 .mz_wysiwyg {
    font-family: 'Exo 2', Arial, Helvetica, sans-serif;
    font-size: 6.5vw;
    margin: 0px 0px 20px 0px;
    color: #FFFFFF;
    letter-spacing: -0.01em;
    font-weight: normal;
}

@media screen and (min-width: 1920px) {
    .bigbar-h1 .mz_wysiwyg {
        font-size: 110px;
    }
}

.bigbar-h2 .mz_wysiwyg {
    font-family: 'Exo 2', Arial, Helvetica, sans-serif;
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 300;
}

#bigbar-down {
    background: url(down.svg) no-repeat center 0px;
    background-size: 55px 55px;
    height: 68px;
    width: 64px;
    display: block;
    margin: 27px auto 0 auto;
    opacity: 0.5;
}

#bigbar .mz_editable h1 {
    margin: 0px;
    color: #FFFFFF;
}

#bigbar .mz_editable p {
    color: #FFFFFF;
}

/* special boxes - sidebar */

#sidebar h2 {
    font-size: 25px;
    border-bottom: 1px solid #E7EAEC;
    padding-bottom: 10px;
    line-height: 1.5;
}

@media screen and (max-width: 750px), screen and (max-height:500px) {

    #header {
        padding: 0px;
    }

    #title, .mz_rtl #title {
        max-height: none;
        float: none;
    }

    #title .mz_wysiwyg, .mz_rtl #title .mz_wysiwyg {
        white-space: normal;
        font-size: 38px;
        line-height: normal;
        margin: 0 !important;
        padding: 10px !important;
    }

    #languages ul, .mz_rtl #languages ul {
        margin: 0px !important;
    }

    .bigbar-h1 .mz_wysiwyg  {
        margin-bottom: 15px;
    }

    #bigbar ~ #belowfold {
        position: static;
    }

    #bigbar ~ #top {
        position: static;
    }

    #bigbar {
        position: relative;
        height: 100%;
    }

    #bigbar-down {
        background-size: 35px 35px;
        height: 48px;
        width: 44px;
        margin-top: 15px;
    }

    #bigbar-overlay {
        padding: 0px 15px;
        margin: 110px 15px;
    }

    #bigbar br {
        display: none;
    }

    #bottom .mz_wysiwyg {
        font-size: 14px;
    }

    .bigbar-h2 .mz_wysiwyg  {
        font-size: 15px;
    }
}

@media screen and (max-width: 600px) {
    .bigbar-h1 .mz_wysiwyg {
        font-size: 2.5rem;
    }
}

/* customized fixed menu for this design */
@media screen and (min-width: 751px) and (min-height:501px) {

    #top.scrolled-deep #title {
        min-height: 85px;
    }

    #top.scrolled-deep #title {
        padding-top: 0px;
        padding-bottom: 0px;
    }
}