/* BACKGROUND HEADER */
#nav-bg {
    top: -100px;
    width: 100%;
    height: 100px;
    z-index: 8888;
    position: fixed;
    transition: top 0.2s ease-out;
    background-color: rgba(16, 24, 55, 1);
}
.fixedPosition {
    position: fixed;
}


.header-wrapper {
    width: 100%;
    z-index: 9999;
    display: flex;
    position: fixed;
    align-items: stretch;    
}
.header-wrapper > .container {
    display: flex;
    position: relative;
    align-items: stretch;
}
.header-wrapper > .mobile {
    display: none;    
}

/* CONTAINERS */
.header-wrapper > .container > .logo {
    flex: 0 0 160px;
    padding-top: 15px;
}

/* MEGA MENU */
.header-wrapper > .container > .wp-megamenu-wrap {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
}
.header-wrapper > .container > .wp-megamenu-wrap > .wpmm-main-wrap-mega-menu {
    display: flex;
}
.header-wrapper > .container > .wp-megamenu-wrap > .wpmm-main-wrap-mega-menu > ul {
    flex: 1;
    display: flex;
    align-items: stretch;
}
.header-wrapper > .container > .wp-megamenu-wrap > .wpmm-main-wrap-mega-menu > ul li a {
    color: #fff;
    font-size: 16px !important;
    padding: 2.5em .35em 1em .75em;
}
.header-wrapper > .container > .wp-megamenu-wrap > .wpmm-main-wrap-mega-menu > ul li a:hover {
    background-color: rgba(0,0,0,0.2);
}
.header-wrapper > .container > .wp-megamenu-wrap > .wpmm-main-wrap-mega-menu > ul li a > span {
    font-weight: normal !important;
}


/* STATIC MENU */
.header-wrapper > .container > .staticmenu {
    display: flex;
    flex: 0 0 auto;
    justify-content: flex-end;
}
.header-wrapper > .container > .staticmenu > ul {
    display: flex;
    margin: 0 auto;
    list-style: none;
    padding: 1.2em 0 0;
}
.header-wrapper > .container > .staticmenu > ul li {
    display: flex;
    align-items: center;
}
.header-wrapper > .container > .staticmenu > ul li a {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    padding-left: 1em;
    text-decoration: none;
}


/* LANGUAGE FLAGS */
.wpml-ls-item > a > img {
    display: none;
}
.wpml-ls-menu-item .wpml-ls-flag {
    visibility: hidden;
}
.wpml-ls-item-pt-br {
    width: 24px;
    display: block;
    margin-left: 10px;
    background: url('http://mindlabsite.staging.wpengine.com/wp-content/uploads/2018/02/ico-flag-br.png') center center no-repeat;
    background-size: 100%;
}
.wpml-ls-item-en {
    width: 24px;
    display: block;
    margin-left: 10px;
    background: url('http://mindlabsite.staging.wpengine.com/wp-content/uploads/2018/02/ico-flag-us.png') center center no-repeat;
    background-size: 100%;
}
.wpml-ls-item-es {
    width: 24px;
    display: block;
    margin-left: 10px;
    background: url('http://mindlabsite.staging.wpengine.com/wp-content/uploads/2018/02/ico-flag-es.png') center center no-repeat;
    background-size: 100%;
}


/* MEDIA QUERIES */
@media screen and (max-width: 640px) {
    .header-wrapper > .desktop {
        display: none;
    }
    .header-wrapper > .mobile {
        width: 100%;
        color: #fff;
        display: flex;
    }
    .header-wrapper > .mobile > nav {
        display: flex;
        align-items: center;
        padding: 20px 20px 10px;
    }
    .header-wrapper > .mobile > nav > .logo {
        padding-top: 0;
    }

    
    /* MEGA MENU */
    .header-wrapper > .mobile > aside > .megamenu-mobile {
        margin-bottom: 50px;
    }
    .header-wrapper > .mobile > aside > .megamenu-mobile > [class*="submenu-"] {
        background-color: #fff;
        padding: 0 20px;
    }
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-escolas,
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-familia,
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-alunos,
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-publico {
        -webkit-transition: max-height 1s; 
        -moz-transition: max-height 1s; 
        -ms-transition: max-height 1s; 
        -o-transition: max-height 1s; 
        transition: max-height 1s;
        overflow: hidden;
        max-height: 0;
    }
    .header-wrapper > .mobile > aside > .megamenu-mobile > [class*="submenu-"].submenu-on {
        max-height: 1000px;
    }

    /* CONTEUDO SUBMENU */
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-escolas div p,
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-familia div p,
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-alunos div p,
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-publico div p {
        margin: 0 !important;
        padding: 0 !important;
    }

    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-escolas .widget,
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-familia .widget,
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-alunos .widget,
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-publico .widget {
        padding: 30px 0 20px;
        list-style: none; /* safari tricks */
        border-bottom: 1px solid rgba(0,0,0,.1);
    }

    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-escolas .widget:last-child,
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-familia .widget:last-child,
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-alunos .widget:last-child,
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-publico .widget:last-child {
        border-bottom: none !important;
    }

    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-escolas .widget .widgettitle,
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-familia .widget .widgettitle,
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-alunos .widget .widgettitle,
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-publico .widget .widgettitle {
        color: #262c6f;
        margin: 0 !important;
        line-height: 1 !important;
        font-size: 20px !important;
    }
    
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-escolas .widget p a,
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-familia .widget p a,
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-alunos .widget p a,
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-publico .widget p a {
        color: #000 !important;
        font-size: .9 !important;
        line-height: 1 !important;
        font-weight: normal !important;
        text-transform: none !important;
        text-decoration: none !important;
    }
    
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-escolas div p a.button-link,
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-familia div p a.button-link,
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-alunos div p a.button-link,
    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-publico div p a.button-link {
        text-transform: none !important;
        font-weight: bold !important;
        color: #1a66ab !important;
        line-height: 2.2 !important;
        font-size: 1em !important;
    }

    .header-wrapper > .mobile > aside > .megamenu-mobile > .submenu-familia div h4.item-title {
        color:#007394 !important;
        font-size: 20px !important;
        margin-top: 10px !important;
    }

    #menu-escolas-mobile > .button-escolas-mobile > a,
    #menu-familias-mobile > .button-familia-mobile > a,
    #menu-alunos-mobile > .button-alunos-mobile > a,
    #menu-publico-mobile > .button-publico-mobile > a {
        width: 100%;
        color: #fff;
        display: flex;
        font-size: 18px;
        margin-top: 10px;
        padding: .75em 1em;
        align-items: center;
        justify-content: center;
    }
    #menu-escolas-mobile > .button-escolas-mobile > a {
        background-color: #d18b4f;
    }
    #menu-familias-mobile > .button-familia-mobile > a {
        background-color: #4ab7ea;
    }
    #menu-alunos-mobile > .button-alunos-mobile > a {
        background-color: #5d317c;
    }
    #menu-publico-mobile > .button-publico-mobile > a {
        background-color: #ae2a2d;
    }
    #menu-escolas-mobile > .button-escolas-mobile > a > span,
    #menu-familias-mobile > .button-familia-mobile > a > span,
    #menu-alunos-mobile > .button-alunos-mobile > a > span,
    #menu-publico-mobile > .button-publico-mobile > a > span {
        margin-left: 5px !important;
    }
    #menu-escolas-mobile > .button-escolas-mobile > a > span > i,
    #menu-familias-mobile > .button-familia-mobile > a > span > i,
    #menu-alunos-mobile > .button-alunos-mobile > a > span > i,
    #menu-publico-mobile > .button-publico-mobile > a > span > i {
        display: block !important;
    }
    #menu-escolas-mobile > .button-escolas-mobile > a > span > i.on,
    #menu-familias-mobile > .button-familia-mobile > a > span > i.on,
    #menu-alunos-mobile > .button-alunos-mobile > a > span > i.on,
    #menu-publico-mobile > .button-publico-mobile > a > span > i.on {
        transform: rotate(180deg);
    }

    
    /* TOGGLE BUTTON */
    .toggle-wrap {
        position: absolute;
        cursor: pointer;
        z-index: 9999;
        right: 20px;
        padding: 0;
        top: 50px;

        /*disable selection*/
        -webkit-touch-callout: none;
            -webkit-user-select: none;
            -khtml-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
    }
    .toggle-bar,
    .toggle-bar::before,
    .toggle-bar::after,
    .toggle-wrap.active .toggle-bar,
    .toggle-wrap.active .toggle-bar::before,
    .toggle-wrap.active .toggle-bar::after {
        -webkit-transition: all .2s ease-in-out;
        -moz-transition: all .2s ease-in-out;
        -o-transition: all .2s ease-in-out;
        transition: all .2s ease-in-out;
    }
    .toggle-bar {
        margin: 0;
        width: 40px;
        position: relative;
        border-top: 3px solid #fff;
        display: block;
    }
    .toggle-bar::before,
    .toggle-bar::after {
        top: -14px;
        width: 40px;
        height: 3px;
        content: "";
        display: block;
        background: #fff;
        position: absolute;
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        -ms-transform-origin: 13%;
        -webkit-transform-origin: 13%;
        transform-origin: 13%;
    }
    .toggle-bar::after {
        top: 8px;
    }
    .toggle-wrap.active .toggle-bar {
        right: -10px;
        border-top: 3px solid transparent;
    }
    .toggle-wrap.active .toggle-bar::before {
        -ms-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    .toggle-wrap.active .toggle-bar::after {
        -ms-transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    /* MOBILE MENU */
    .header-wrapper > .mobile > aside {
        top: 0;
        right: 0;
        width: 100%;
        color: #fff;
        height: 100vh;
        display: none;
        z-index: 7777;
        position: fixed;
        overflow-y: auto;
        padding-bottom: 50px;
        background-color: #262c6f;
    }

    .header-wrapper > .mobile > aside > header {
        margin: 0;
        width: 100%;
        display: block;        
        position: fixed;
        padding: 30px 0 10px;
        box-sizing: border-box;
        background-color: #262c6f;
    }

    /* MOBILE IDIOMAS */
    .header-wrapper > .mobile > aside > header > .idiomas, .header-wrapper > .mobile > aside > header > .idiomas > div {
        padding: 0 8px !important;
    }
    .header-wrapper > .mobile > aside > header > .idiomas > div > ul {
        display: flex;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, .4);
    }
    .header-wrapper > .mobile > aside > header > .idiomas > div > ul li.wpml-ls-item > a > img {
        display: none;
    }
    .header-wrapper > .mobile > aside > header > .idiomas > div > ul li.wpml-ls-menu-item .wpml-ls-flag {
        visibility: hidden;
    }
    .header-wrapper > .mobile > aside > header > .idiomas > div > ul li.wpml-ls-item-pt-br {
        width: 35px;
        height: 35px;
        display: block;
        margin-right: 5px;
        background: url('http://mindlabsite.staging.wpengine.com/wp-content/uploads/2018/02/ico-flag-br_40x40.png') center center no-repeat;
        background-size: 100%;
    }
    .header-wrapper > .mobile > aside > header > .idiomas > div > ul li.wpml-ls-item-en {
        width: 35px;
        height: 35px;
        display: block;
        margin-right: 5px;  
        background: url('http://mindlabsite.staging.wpengine.com/wp-content/uploads/2018/02/ico-flag-us_40x40.png') center center no-repeat;
        background-size: 100%;
    }
    .header-wrapper > .mobile > aside > header > .idiomas > div > ul li.wpml-ls-item-es {
        width: 35px;
        height: 35px;
        display: block;
        margin-right: 5px;
        background: url('http://mindlabsite.staging.wpengine.com/wp-content/uploads/2018/02/ico-flag-es_40x40.png') center center no-repeat;
        background-size: 100%;
    }
    
    /* MOBILE TITULO */
    .header-wrapper > .mobile > aside .title {
        color: #fff;        
        text-align: center;
        margin: 120px 0 30px;
        font-size: 1.35em !important;
    }

    /* MOBILE STATIC */
    .header-wrapper > .mobile > aside > .staticmenu-mobile ul {
        display: flex;
        padding: 0 40px;
        flex-direction: column;
    }

    .header-wrapper > .mobile > aside > .staticmenu-mobile > ul li a {
        color: #fff;
        display: block;
        font-size: 1.2em;
        font-weight: 400;
        line-height: 2.5;       
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, .4);
    }

    .header-wrapper > .mobile > aside > .staticmenu-mobile ul li.button-menteinovadora a {
        display: block;
        line-height: 2;
        margin: 30px 0;
        font-size: 1em;
        color: #262c6f;
        padding: .75em 0;
        text-align: center;
        border-radius: 10px;
        margin-bottom: 30px;
        text-transform: uppercase;
        background-color: #cce5f2;
        font-weight: 900 !important;
        border-bottom: none !important;
    }
}

/** RODAPE **/
.rodape {
    display: flex;
    padding: 50px 0;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: stretch;
}
.rodape > div {
    flex: 0 0 10%;
}
.rodape > .rodape-logo {
    flex: 0 0 200px;
    box-sizing: border-box;
    
}
.rodape > .rodape-menu-principal,
.rodape > .rodape-menu-secundario {
    flex: 1;
    display: flex;
    justify-content: space-between;
}
.rodape > .rodape-menu-principal .footer-nav,
.rodape > .rodape-menu-secundario .footer-nav {
    padding: 0;
    margin: 0 10px;
    min-width: 150px;
    box-sizing: border-box;
}
.rodape > .rodape-menu-principal .footer-nav li,
.rodape > .rodape-menu-secundario .footer-nav li {
    padding: 0;
    line-height: 1;
    margin: 0 0 15px;
}
.rodape > .rodape-menu-principal .footer-nav li a,
.rodape > .rodape-menu-secundario .footer-nav li a {
    color: #fff;
    font-size: .8em;
    font-weight: 300;
}
.rodape > .rodape-menu-principal .footer-nav li.menu-titulo,
.rodape > .rodape-menu-secundario .footer-nav li.menu-titulo {
    margin-bottom: 20px;
}
.rodape > .rodape-menu-principal .footer-nav li.menu-subtitulo,
.rodape > .rodape-menu-secundario .footer-nav li.menu-subtitulo {
    margin-top: 40px;
}

.rodape > .rodape-menu-principal .footer-nav li.menu-titulo a,
.rodape > .rodape-menu-secundario .footer-nav li.menu-titulo a {
    font-size: .85em;
    font-weight: 600;
    color: #007cbd;
    text-transform: uppercase;
}
.rodape > .rodape-menu-secundario {
    min-width: 250px;
}
.rodape > .rodape-redes-sociais {
    flex: 0 0 200px;
    padding-left: 10px;
}
.rodape > .rodape-redes-sociais div h4 {
    font-weight: 600;
    color: #007cbd;
    padding-left: 5px;
    text-transform: uppercase;
    font-size: 1.1rem !important;
}
.sfsiplus_footerLnk {
    display: none !important;
}

@media screen and (max-width: 640px) {
    .rodape {
        margin: 0;
        padding: 0;
        justify-content: center;
    }
    .rodape > .rodape-logo,
    .rodape > .rodape-menu-principal,
    .rodape > .rodape-menu-secundario {
        display: none;
    }
    .rodape > .rodape-redes-sociais {
        flex: 1;
        margin: 0;
        width: 100%;
        display: flex;
        padding-left: 0;
        flex-direction: column;
    }
    .rodape > .rodape-redes-sociais div h4 {
        padding: 0;
        text-align: center;
        margin: 3px 10px 10px 0;
    }
    .rodape > .rodape-redes-sociais .sfsi_plus {
        flex: 1;
        display: flex;
        justify-content: center;
    }
    .rodape > .rodape-redes-sociais .sfsi_plus .sfsiplus_norm_row {
        width: 100%;
        position: static !important;
    }
}


/* FORM: Fique por dentro */
.box-form {
    width: 100%;
    color: #fff;
    background-color: #007cbd;
}
.box-form > .container {
    display: flex;
    padding: 0 15.5% !important;
}
.box-form > .container::before {
    background-color: transparent !important;
}
.box-form > .container > .box-form-col {
    flex: 1;
    padding: 50px 0;
}
.box-form > .container > .box-form-col .box-content > .titulo {
    color: #fff;
    padding-right: 25px;
}

