/*
Topo do portal
*/

/* topo do stei */
#site-header{
    background:#fff;
    border-bottom: 4px solid var(--nd-azul);
    position:absolute;
    top:0;
    left:0;
    width: 100%;
}

#site-header.has-live-program{
    top:40px;
}

#site-header.fixed.scroll-down{
    position: absolute!important;
}

#site-header.fixed.scroll-up{
    
}

.header-replace {
    height: 64px;
}

.header-sep {
    height: 20px;
    border-left: 1px solid #e7e7e7;
    margin: 5px 20px;
    float: left;
}

.header-element {
    display: block;
    float: left;
    margin: 10px 0;
}

.header-left-elements {
    float: left;
}

.header-right-elements {
    float: right;
}

#site-header .header-logo-container{
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    display: table;
    text-align: center; 
}

#site-header .logo {
    display: inline-block;
    margin: 17.5px 0;
}

.logo-img {
    width: auto;
    height: 25px;
}

/* Icone de memnu */
.header-menu-icon{
    position: absolute;
    width:100%;
    height: 100%;
    left:0;
    top:0;
}

.header-menu-icon .menu-icon-item{
    display:block;
    width:100%;
    height:20%;
    background-color: #B6B5B5;
    position: absolute;
    left:0;
}

.header-menu-icon .menu-icon-item.second{
    top:40%;
}

.header-menu-icon .menu-icon-item.last{
    top:80%;
}

/* botao que aciona e abre o menu*/
.header-menu-button .menu-button {
    display: none;
    position:relative;
    margin: 12px 15px;
    border: 0;
    width:20px;
    height:16px;
}

.header-menu-button .menu-button:active,
.header-menu-button .menu-button:focus {
    outline: none !important;
    box-shadow: none;
}

.header-menu-button .menu-button .menu-label{
    font-family: 'Roboto' , 'Arial' , 'Arial',  'sans-serif';
    font-size: 15px;
    padding-left: 30px;
    color: #B6B5B5;
    line-height:17px;
}


/* ícones do topo do site */
.header-icon {
    font-size: 21px;
    line-height: 20px;
    vertical-align: middle;
    padding: 5px 0;
    color: #B6B5B5;
}

/* Live */
.header-live {
    background: #EDE8E8;
    padding: 10px 0;
    text-align:center;
    display: block;
}

.header-live .live-program-icon {
    margin-left: 10px;
    overflow: hidden;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    float: left;
    background-color: transparent;
}

.header-live .live-program-text {
    margin: 0 auto;
    max-width: 170px; 
    display:block;
}

.header-live .live-program-text .live-label {
    margin-right:10px;
    float:left; 
    height:20px;
    display: block;
    width:auto;
}

.header-live .live-bt {
    background-color: #D11E26;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Roboto' , 'Arial' , 'Arial', 'sans-serif';
    border-radius: 3px;
    float:left;
    display: block;
    line-height: 1;
    height: 20px;
    overflow:hidden;
}

/*Busca*/
.site-search{
    display:none;
}

.header-search-icon {
    margin: 15px 10px 15px 0;
}

#header-search-input{
    margin-bottom:20px;
}

.searchform{
    background: #f7f7f7;
    width: 100%;
    display: block;
    padding: 15px;
    padding-left:45px;
    position:relative;
}

.searchform .search-input {
    background: transparent;
    color: #bbb;
    width: 100%;
    border: 0;
    font-size: 20px;
    font-size: 20px;
    line-height: 1;
    display: block;
    font-family: 'Roboto' , 'Arial' , 'Arial' , 'sans-serif';
    padding: 0;
}

.searchform .search-input::placeholder{
    color:#bbb;
    opacity: 1;
    text-transform: uppercase;
}

.searchform .search-submit {
    position: absolute;
    display: block;
    color: #bbb;
    top: 15px;
    left: 15px;
    line-height: 20px;
    height: 20px;
    border: 0;
    text-transform: uppercase;
    margin:0;
    padding:0;
}

#mais-lidas-searchbox{
    list-style:none;
    padding:0 15px;
}

#mais-lidas-searchbox .mais-lidas-searchbox-label{
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom:10px;
    font-family: 'Roboto' , 'Arial' , 'Arial' , 'sans-serif';
    color: #989898;
    display: block;
}

#mais-lidas-searchbox .mais-lidas-searchbox-item{
    margin-bottom:20px;
    padding-left: 25px;
    position:relative;
}

#mais-lidas-searchbox .mais-lidas-searchbox-item:before{
    content: " ";
    height: 15px;
    width: 15px;
    background-image: url('../../img/icons/search-list-item-arrow.png');
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left:0;
    top:2px;
}

#mais-lidas-searchbox .mais-lidas-searchbox-item a{
    font-size: 14px;
    color: #7e7e7e;
    margin-bottom:20px;
    line-height:1.1;
    display:block;
}

/* topo fixo */
#header-fixed{
    border:0;
    height: 0;
    overflow: hidden;
    position: relative;
    background: #fff;
}

#header-fixed.fixed{
    height:49px;
    border-bottom:4px solid var(--nd-azul);
}

#header-fixed .logo-img{
    height:30px;
    margin: 7.5px 0;
}

#header-fixed .menu-button{
    margin-top:15px;
    position:relative;
    width: 25px;
    height: 15px;
    display: block;
}

#header-fixed .menu-button .menu-label{
    font-family:'Roboto' , 'Arial' , 'Arial', 'sans-serif';
    padding: 0 4px 0 30px;
    font-size:15px;
    line-height:17px;
    display:block;
    color:#B6B5B5;
    border-radius: 4px;
}

#header-fixed .menu-button .header-menu-icon{
    display: block;
}

#header-fixed .site-search{
    background:#f9f9f9;
    height: 30px;
    display:block;
    padding:0 20px;
    margin: 7.5px 0 0 0;
    border-radius:4px;
}

#header-fixed .site-search .search-icon,
#header-fixed .site-search .search-label{
    margin: 7.5px 10px 0 0;
    font-size:15px;
    color:#ccc;
    display:block;
    float:left;
}

#header-fixed .site-search .search-label{
    font-family: 'Roboto' , 'Arial' , 'Arial', 'sans-serif';
}

/* preview capa*/
body.single-capa #wpadminbar,
body.single-capa #site-header,
body.single-capa #header-live,
body.single-capa .header-replace,
body.single-capa #secondary-menu,
body.single-capa #header-fixed,
body.single-capa footer {
    display: none!important;
}

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

    /* header */
    #site-header,
    #site-header.has-live-program{
        top:0;
        border-bottom: 0;
    }
    .header-replace {
        height: 75px;
    }
    /* Logo */
    #site-header .logo{
        margin:15px 0;
    }
    .logo-img {
        height: 45px;
    }
    /* Menu principal */
    .header-menu-button .menu-button {
        padding:0;
    }
    .header-menu-button .menu-button{
        height:17px;
        width:25px;
        margin: 19px 0;
    }
    

    /* live icon */
    #header-live {
        position: absolute;
        z-index:100;
        background: transparent;
        width:175px;
        --container-width: 720px;
    }
    #header-live .live-program-icon {
        width: 55px;
        height: 55px;
        margin-right:10px;
    }

    #header-live .live-program-icon img{
        width: 100%;
        height: 100%;
    }

    #header-live .live-program-text .live-label{
        margin: 5px 0 5px 0;
    }

    #header-live .live-bt{
        padding-left:5px;
        padding-right:5px;
    }
    
    /* Busca */
    .header-search-icon {
        margin: 10px 0 10px 10px;
    }
    .search-button{
        display:block;
        line-height:17px;
        height:17px;    
        margin:18px 0;
    }
    .search-button:active,
    .search-button:hover,
    .search-button:link {
        text-decoration: none;
    }
    .search-button .search-icon {
        font-size: 17px;
        line-height: 17px;
        padding:0;
    }
    .admin-bar #site-header.fixed,
    .admin-bar #header-live.fixed{
        top:46px!important;
    }

}

    @media only screen and (min-width:992px) {
    
    /*live*/
    #header-live {
        --container-width: 964px;
    }

    /* busca */
    .header-search-icon {
        margin-left:65px;
    }

    /* logado */
    .admin-bar #header-fixed.fixed{
        top:32px!important;
    }

}

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

    /*live*/
    #header-live {
        --container-width: 1080px;
    }
}

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

    /*live*/
    #header-live {
        --container-width: 1220px;
    }

}

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

    /*live*/
    #header-live {
        --container-width: 1286px;

    }
    
}

#header-live{
    --container-border: calc(100vw - var(--container-width));
    --container-border-left: calc(var(--container-border) / 2);
    --container-final-border: calc(var(--container-border-left) + 120px);
    left: var(--container-final-border);
}