/* HEADER: Cabeçalho -------------------------------- */
/* Botões com links e/ou icones */

/* Esse display none e uma solucao temporaria
o lugar correto de ocultar essa viewlet e no setuphanlders */
#portal-globalnav-wrapper{
    display: none;
}


.cabecalho {
    background-color: #efedea;
    color: #222222;
    border-bottom: 1px solid white;
    padding: 0 1rem;  
}

.cabecalho .flex{
    align-items: flex-start;
}

.acessibilidade{
    width: 50%;
}

.bt-acessibilidade {
    padding: 0.25rem 0.1rem;
    margin-left: -0.1rem;
}

.idioma{
    width: 50%;
}

.bt-idioma {
    float: right;
    padding: 0.25rem 0.1rem;
    margin-right: -0.1rem;
}

.bt-idioma img {
    vertical-align: middle;
    margin-top: -0.125em;
    margin-right: 0.1rem;
    height: 1em;
}

.rotacao-90 {
    transform: rotate(90deg);
}

.rotacao-90:active {
    transform: rotate(270deg);
}

.oculta-item-cabecalho{
    display: none;
}

/* HEADER: Menu -------------------------------- */
.menu {
    background-color:#F3F5F0; 
    color: #222222;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 1rem;
    border-bottom: 2px solid #ffd400;
    -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
    z-index: 11;
}

@media screen and (min-width: 992px) {
    .menu {
        text-align: left;
        padding: 0.25rem 1rem;
        border-bottom: 0px;
    }
}
/* Menu Hamburguer */
.menu .bt-menu-hamburguer {
    flex-grow: 0;
    order: 0;
    padding: 0.5rem;
    margin-left: -0.5rem;
}

@media screen and (min-width: 992px) {
    .menu .bt-menu-hamburguer {
        /* order: 2; */
        margin-right: 0.5rem;
        display: none;
    }
    .menu #bt-menu-hamburguer-inicial {
        /* display: none; */
    }
}

.menu .bt-menu-hamburguer i {
    font-size: 2rem;
}

/* Logo Correios */
.menu .logo-correios {
    flex-grow: 1;
    order: 1;
    margin: auto 0.5rem;
}

.menu .logo-correios a {
    box-sizing: content-box;
    display: inline-block;
    padding: 0 0 0.5rem 0;
    height: 2.5rem;
    border: none;
}

.menu .logo-correios h1 {
    margin: 0px;
}


.menu .logo-correios img {
    height: 2.9rem;
    border: none;
    vertical-align: baseline;
}

.menu .logo-correios img.blackfriday {
    height: 4.9rem;
}

/* Menu - Itens superior */
.links-menu-superior {
    display: none;
}
.links-menu-meu-correios {
    flex-grow: 0;
    order: 6;
    margin-bottom: 0;
}

.links-menu-meu-correios img{
    height: 3rem;
    margin: 0 0.25rem;
}

@media screen and (min-width: 992px) {
    .links-menu-superior {
        flex-grow: 0;
        display: inline-flex;
        order: 2;
        margin-bottom: -0.25rem;
        margin-right: 1rem;
    }

    .links-menu-meu-correios {
        /* flex-grow: 0; */
        display: inline-flex;
        order: 3;
        margin-bottom: -0.25rem;
        margin-right: 1rem;
        padding-left: 1rem;
    }
    
    .links-menu-superior > li > a,
    .links-menu-meu-correios > li > a {
        padding: 2rem 0.25rem;
        line-height: 1.2em;
        height: 55px;
        display: flex;
        align-items: center;
        font-size: 1.68rem;
        margin-bottom: 0.3rem;
    }

    li.links-menu-superior,
    li.links-menu-meu-correios{
        margin-right: 2rem;
    }

    li.links-menu-superior:last-child, 
    li.links-menu-meu-correios:last-child{
        margin-right: 0rem;
    }

    .links-menu-superior > li > a:hover,
    .links-menu-meu-correios > li > a:hover {
        text-decoration: none;
        border-bottom: 3px solid #ffd400;
    }

    .menu .logo-correios img {
        height: 3.1rem;       
    }
    
    /* active - Hercules */
    .links-menu-superior.active a,
    .links-menu-meu-correios.active a {
        text-decoration: none;
        border-bottom: 3px solid #ffd400;
    } 
    /* Fim - Hercules */
    
    .links-menu-superior > li > a:focus,
    .links-menu-meu-correios > li a:focus {
        text-decoration: none;
        border-bottom: 3px solid #ffd400;
    }

}

.menu button {
    display: flex;
    padding: 0.5rem;
    margin: 0 0.25rem;
    align-items: center;
}

.menu button img {
    height: 3rem;
    margin: 0 0.25rem;
}

.menu button span{
    font-size: 1.68rem; 
}

/* Login */
.menu .bt-login {
    right: 3rem;
    order: 4;
}

@media screen and (min-width: 992px) {
    .menu .bt-login {
        display: flex;
        order: 4;
        position: relative;
        right: 0;
    }
}

.menu .links-menu-superior{
    text-decoration: none;
    margin-left: 0.5rem;
}

.menu .links-menu-superior:visited,
.menu .links-menu-meu-correios:visited{
    color: #0071ad;
}

/* .menu .links-menu-superior:hover{
    border: transparent;
    color: #a65718;
    fill: #a65718;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
} */

.menu .links-menu-meu-correios img{
    height: 30px;
}

.menu .links-menu-meu-correios li::marker,
.menu .links-menu-meu-correios li i::after{
  content: none;
}

/* Divisores */
.menu .divisor {
    display: none;
    flex-grow: 0;
}
@media screen and (min-width: 992px) {
    .menu .divisor {
        display: inline-block;
        height: 3rem;
        width: 1px;
        margin-left: 0.5rem;
        background-color: #d1ccc7;
    }
}

.divisor-login {
    order: 3;
}

.divisor-busca {
    order: 5;
}

/* Busca */
.menu .bt-busca {
    flex-grow: 0;
    order: 6;
    margin-right: -0.5rem;
    margin-left: 0;
}
@media screen and (min-width: 992px) {
    .menu .bt-busca {
        margin-left: 0.25rem;
        text-shadow: none;
    }
}

.menu .bt-busca img {
    margin-right: 0;
}
@media screen and (min-width: 992px) {
    .menu .bt-busca img {
        margin-right: 0.25rem;
    }
}

.menu .busca-txt,
.menu .login-txt,
.menu .login-meu-correios {
    display: none;
}


@media screen and (min-width: 992px) {
    .menu .busca-txt, 
    .menu .login-txt,
    .menu .login-meu-correios {
        display: inline-block;
    }

    .menu .login-txt {
        line-height: 30px;
        padding: 1.25rem 0 0 0.5rem; 
        font-size: 1.2rem;
    }

    .menu .links-menu-meu-correios li .login-meu-correios{
        position: absolute;
        font-size: 1.2rem;
        width: 50%;
        top: 0rem;
        left: 40%;
        padding-top: 0.7rem;
    }
    
    .menu .links-menu-meu-correios li a{
        text-decoration: none;
        position: relative;
    }

}

.oculta-menu{
    display: none;
}

/* Inicio da propaganda e subitens menu */
.menu .itens-menu-meu-correios{
    /* justify-content: center;
    align-items: flex-start; */
    position: absolute;
    background-color: #F3F5F0;       
    border-bottom:  1px solid #FFD400;
    max-width: 155px;
    margin-top: 0.3rem;
    padding-top: 1rem;
    padding-left: 1rem;
    padding-bottom: 1rem;
    width: 100%;
    top: 3.5rem;
    right: 0%;
    transform: translateX(0%);
}

.itens-menu-meu-correios .item-meu-correios {
    font-size: 1.10em;
    color: #0071ad;
    font-weight: bold;
    background-image: url(../imagens/titulo-detalhe.svg);
    background-repeat: no-repeat;
    background-position-y: 2.6rem;
    background-size: 3.2rem;
    padding-bottom: 1rem;
    /* margin-bottom: 1.5rem; */
    /* font-size: 2rem; */
}

.itens-menu-meu-correios .item-meu-correios i {
    display: none;
}


@media screen and (min-width: 992px) {

    .menu .itens-menu-meu-correios{
        top: 5.4rem;
        right: unset;
    }
    
    .menu .flex.lista-menu{
        justify-content: center;
        align-items: flex-start;
        position: absolute;
        background-color: #F3F5F0;       
        border-bottom:  1px solid #FFD400;
        max-width: 1100px;
        margin-top: 0.3rem;
        padding-top: 3rem;
        padding-left: 0;
        width: 100%;
        top: 5.5rem;
        left: 35%;
        transform: translateX(-35%);
    }
    
    .lista-propaganda{
        width: 30%;
        padding-right: 2%;
        padding-left: 2%;
        padding-bottom: 3rem;
    }

    .lista-menu .propaganda-menu{
        width: 100%;
        padding-right: 0px;
        padding-left: 0px;
        padding-bottom: 0px;
    }
    
    .lista-menu .propaganda-menu img{
        width: 100%;
        display: block;
        margin-left: auto;
        margin-left: auto;
        border-radius: 5px;
    }
    
    .lista-menu .propaganda-menu span{
        color: #00416b;
        font-weight: bold;
        font-size: 24px;
        margin-top: 20px;
        margin-bottom: 10px;
        line-height: 1.1;
        display: block;
    }
    
    .lista-menu .propaganda-menu i::after{
        display: none;
    }
    
    .lista-menu .propaganda-menu a{
        line-height: 1.2rem;
        text-decoration: none;
        padding-left: 0;
        border-left: 0;
    }
    
    .lista-itens-menu{
        border-left: 2px solid #d1ccc7;
        height: 100%;
        width: 70%;
        padding-left: 2rem;
    }

    .lista-menu .menu-itens{
        /* border-left: 2px solid #d1ccc7; */
        height: 100%;
        width: 100%;
        position: relative;
        padding-left: 0px;
    }
   
    .lista-menu .menu-itens ul {
        padding-left: 0;
        margin-bottom: 0;
    }

    .lista-menu .menu-itens ul li {
        margin-bottom: 1rem;
    }
    
    .itens-do-menu{
        width: 48%;
    }

    .lista-menu .menu-itens li ul,
    .lista-menu .menu-itens li ul li {
        width: 100%;
    }
    
    .links-menu-superior ul li::marker,
    .menu-itens ul li::marker{
        content: none;
    }
    
    .lista-menu .menu-itens ul li a {
        text-decoration: none;
    }
    
    .lista-menu{
        position: relative;
    }

    .lista-menu .menu-itens .folder-menu {
        font-size: 1.266em;
        color: #0071ad;
        font-weight: bold;
        background-image: url(../imagens/titulo-detalhe.svg);
        background-repeat: no-repeat;
        background-position-y: 2.6rem;
        background-size: 3.2rem;
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
        font-size: 2rem;
    }
 
    .lista-menu .menu-itens .link-menu {
        font-size: 1.68rem;
        margin-bottom: 1rem;
    } 

    .menu-itens .folder-menu ul li:first-child{
        padding-top: 2.5rem;
    }

    .menu-itens .folder-menu ul li:last-child{
        margin-bottom: 0;
    }
    
    .lista-menu .itens-do-menu.link-menu i{
        display: none;
    }

    .lista-menu .propaganda-menu li,
    .lista-menu .menu-itens li{
        list-style-type: none;
    }

    .primeira-coluna-menu{
        /* float: left;
        margin-right: 48px; */
    }
    .segunda-coluna-menu{
        position: absolute;
        top: 0;
        right: 0;
    }


}

.itens-do-menu a:visited {
    color: #0071ad;
    text-decoration: none;
    
}

.itens-do-menu a:hover {
    color: #a65718;
    text-decoration: none;
}

/* botão de busca */
.esconde-busca{
    display: none;
}

.menu #busca-portal {
    margin-left: 0.25rem;
    flex-grow: 0;
    order: 6;
}

#campo-busca-correios .largura-maxima {
    display: flex;
    justify-content: flex-end;
}


#portal-searchbox{
    margin-bottom:0;
    margin-top:0;
    position: absolute;
    z-index: 100;
    background-color: #e9e9e9;
    border-bottom: 2px solid #ffd400;
    padding: 15px;
    cursor:context-menu;
    width: 30rem;
}

@media screen and (max-width: 992px) {
    #portal-searchbox{
        right: 0;
    }
}

@media screen and (max-width: 768px) {
    #portal-searchbox{
        /* right: 0;
        width: 100%;
        top:0;*/
    }
}

@media screen and (max-width: 576px) {
    #portal-searchbox{
        right: 0;
        width: 95vw;
        box-sizing: border-box;
    }
}

#portal-searchbox .searchSection {
    display: none;
}

#portal-searchbox .searchField {
    width: 100%;
    box-sizing: border-box;
    font-size: 1rem;
    line-height: 1.5rem;
    background-color: white;
    color: #807569;
    border: 1px solid #807569;
    padding: 0.25rem 1rem;
    padding-right: 1rem;
    border-radius: 0.3125rem;
}

#portal-searchbox .LSBox input {
    font-size: inherit;
}

#portal-searchbox .LSBox .searchButton:hover {
}

#portal-searchbox .LSBox .searchButton{
    width: 40px;
    height: 33px;
    position: absolute;
    right: 0;
    top: 0;
    text-align: center;
    content: "";
    border-radius: 4px;
    font-size: 0 !important;
    border: none;
    background: #0083ca url(../imagens/icon_lupa.png) no-repeat center center;
    background-size: 18px 20px; 
}

#portal-searchbox .LSBox .searchButton:after{
    content: "Buscar";
}

#searchform .input-group {
    margin: auto;
    padding-top: 2rem;
}

.searchPage .actionMenu dt {
    padding-top: 2rem;
}


#lista-menu-container.flex.lista-menu{    
    
    justify-content: space-between;     
}

.itens-do-menu a {
    line-height: 1.2rem;   
    font-weight: lighter;     
}

.itens-do-menu.link-menu a {
    display: flex;
    font-size:1.266rem;
    line-height: 1.2rem; 
    padding-top: 0;   
    padding-bottom: 0;
    border-top: 0;
    border-bottom: 0;
}





