/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 11-jul-2019, 11:24:52
    Author     : Marina

web: Alcaraz

Resumen: En esta cabecera existen dos Nav, el normal y uno inferior, siendo la estructura:
 header{
    .nav{...(logo,inicio de sesión, registro, cesta, categorias)...}
    .nav_inferior{...(descuento, buscador, redes sociales)...}
 }
*/

@mixin cabecera_cinco(){
    header{
        position: fixed;
        width: 100%;
        top:0px;
        z-index:3;
        .nav{
            background: $fondo_cabecera;
            font-family:$fuente2;
            font-weight: 300;
            font-size:12px;
            color:$Enlaces_Cabecera;
            .container_nav{
                display: flex;
                .contenedor_logo{
                    display: flex;
                    align-items: center;
                    .logo_cabecera {
                        text-align: center;
                        @media(max-width:120px){
                            margin-top:15px;
                        }
                        a {
                            background: none;
                            width: 54%;
                            height: 100%;
                            display: inline-block;
                            padding:5px;
                            img{
                                display: initial !important;
                            }
                            @media(max-width: 600px){
                                width: 80%;
                            }
                        }
                    }
                    @media(max-width: 450px){
                        padding-left:0px;
                        .logo_cabecera a{
                            width: 90%;
                            padding:0px;
                        }

                    }
                }
                .contenedor_menu{
                    padding-top:4px;
                    @media(max-width:991px){
                        position: initial;
                    }
                    .acceso-y-cesta{
                        display: flex;
                        flex-direction: row-reverse;
                        padding-right: 0;
                        @media(max-width:991px){
                            padding-right: 45px;
                        }
                        @media(max-width:450px){
                            padding-right: 29px;
                        }
                        .acceso{
                            list-style: none;                            
                            padding-right: 0;
                            font-size: 16px;
                            float:right;
                            #header_links{
                                width:100%;
                                padding: 0;
                                li {
                                    float:right;
                                    a.hidden-xs{
                                        display:none;
                                    }
                                    &:last-child a {
                                        border-left: 0;
                                        border-left: 0;
                                        font-size:0;
                                        &:before{
                                            font-family:$fuente_iconos;
                                            content: "\e92b";
                                            font-size: 30px;
                                            font-style: normal;
                                        }
                                    }
                                    a {
                                        display: inline-block;
                                        padding: 2px 8px;;
                                        text-transform: uppercase;
                                        color: $Enlaces_Cabecera;
                                        &:hover{
                                            color:$Enlaces_Cabecera_hover;
                                            background: $fondo_header_enlaces_hover;
                                        }
                                        &.logout{
                                            margin-left: -5px;
                                            &:before{
                                                font-family:$fuente_iconos;
                                                content: "\e916";
                                                font-size: 24px;
                                                font-style: normal;
                                            }

                                        }
                                    }
                                }
                            }
                        }
                        .shopping_cart_menu {
                            display: inline-block;
                            width: auto;
                            float: right;
                            position: relative;
                            .cesta_desplegableV2{
                                height: 50px;
                                width: auto;
                                background: none;
                                line-height: 45px;
                                text-align: center;
                                &:hover{
                                    .contenedor_totales_cesta{
                                        a.btn_comprar_minicest{
                                            color:$minicesta_boton_comprar_fuente_hover;
                                            background-color: none;
                                        }
                                    }
                                }
                                .lanzador_widget {
                                    text-align: center;
                                    overflow: hidden;
                                }
                                .contenedor_totales_cesta{
                                    a.btn_comprar_minicest{
                                        color:$minicesta_boton_comprar_fuente;
                                        height: 100%;

                                        display: flex;
                                        align-items: start;
                                        background: none;
                                        &:hover{
                                            color:$minicesta_boton_comprar_fuente_hover;
                                        }
                                        span.mdi{
                                            flex:1 1;
                                            text-align: center;
                                            &:before{
                                                font-family: $fuente_iconos;
                                                content: "\e919";
                                                font-size: 30px;
                                            }
                                        }
                                        .price{
                                            font-size: 24px;
                                            position: relative;
                                            top: -7px;
                                            color:$grisTexto;
                                            text-align: right;
                                            flex:2 1;
                                            padding-left: 12px;
                                        }
                                        .ajax_cart_no_product{
                                            font-size: 12px;
                                            flex:0.5 1;
                                            text-align: right;
                                            padding-right: 4px;
                                        }
                                        @media (min-width:991px){
                                            float:right;
                                        }
                                        @media(max-width:500px){
                                            .price{
                                                display:none;
                                            }
                                        }
                                        @media(max-width: 450px){
                                            width:auto;

                                        }
                                    }
                                }
                                /*Líneas de la cesta*/
                                .linea_cesta{
                                    dt {
                                        background: $blanco none repeat scroll 0 0;
                                        font-weight: normal;
                                        padding: 15px 15px 17px;
                                        position: relative;
                                        overflow:hidden;
                                        a{
                                            float:none;
                                            font-size: 12px;
                                            transition: all 0.3s ease-in-out 0s;
                                            -webkit-transition: all 0.3s ease-in-out 0s;
                                            -moz-transition: all 0.3s ease-in-out 0s;
                                            &.cart-images{
                                                border: 1px solid $gris;
                                                display: flex;
                                                justify-content: center;
                                                vertical-align: top;
                                                margin-right: 15px;   
                                                width: 95px;
                                                height: 109px;
                                                text-align: center;
                                                float: left;
                                                align-items: center;
                                                img{
                                                    max-width:100%;
                                                    height: auto;
                                                }
                                            }
                                            img{
                                                width:auto !important;
                                                @include sombraPortada();
                                            }
                                        }
                                        .cart-info {
                                            display: inline-block;
                                            max-width: 110px;
                                            max-height: 107px;
                                            .product-name {
                                                padding: 0;
                                                display: block;
                                                margin-top: -3px;
                                                height:auto;	
                                                max-height: 55px;
                                                overflow: hidden;
                                                a {
                                                    display: inline-block;
                                                    color: $titulo_ficha;
                                                    line-height: 18px;
                                                    font-weight: normal;
                                                    white-space: normal;
                                                    font-size: 15px;
                                                    &:hover{
                                                        color:$titulo_ficha_hover;
                                                    }
                                                }
                                            }
                                            span{
                                                &.quantity-formated {
                                                    color: $autor_ficha;
                                                    display: inline-block;
                                                    font-size: 12px;
                                                    div{
                                                        display: inline-block;
                                                        font-size:12px;
                                                        font-weight: normal;
                                                        &.cesta_menos, &.cesta_mas {
                                                            display: none;
                                                        }
                                                    }
                                                }
                                            }
                                            .product-atributes {
                                                padding-bottom: 3px;
                                                font-size: 13px;
                                                a {
                                                    color: #9c9b9b;
                                                    font-size: 12px;
                                                    max-width: 130px;
                                                    overflow: hidden;
                                                    display: inline-block;
                                                    white-space: nowrap;
                                                    text-overflow: ellipsis;
                                                }
                                            }
                                            .cantidad{
                                                display: -webkit-inline-box;
                                                width: 85px;
                                                .menos, .mas{
                                                    a{
                                                        padding:0px;
                                                        background:none;
                                                        span i{
                                                            font-style: normal;
                                                            font-family: $fuente_iconos;
                                                            color:$secundario;
                                                        }
                                                        &:hover{
                                                            border-color:#e6e6e6;
                                                        }
                                                    }
                                                }
                                                .menos a span i::before{
                                                    content: "\e926";
                                                }
                                                .mas a span i::before{
                                                    content: "\e925";
                                                }
                                                .cantidad_articulos{
                                                    input{
                                                        padding: 0px;
                                                        height: 24px;
                                                        width: 45px;
                                                        text-align: center;
                                                    }
                                                }
                                            }
                                        }
                                        .eliminar{
                                            position: absolute;
                                            right: 0px;
                                            top: 11px;
                                            a{
                                                i{
                                                    font-size: 20px;
                                                    font-style:normal;
                                                    font-family: $fuente_iconos;
                                                    color:$secundario;
                                                    &:before{
                                                        content: "\e924";
                                                    }
                                                }
                                            }
                                        }
                                        .precio{
                                            text-align: right;
                                            position: absolute;
                                            right: 8px;
                                            bottom: 15px;
                                        }
                                        .remove_link {
                                            position: absolute;
                                            right: 0px;
                                            top: 11px;
                                            .linea_cesta_borrar a{
                                                color: #bbbbbb;
                                                outline: none;
                                                text-decoration: none;
                                                font-size: 0px;
                                                &:before{
                                                    display: inline-block;
                                                    content: "\f1c0";
                                                    font-family: $fuente_iconos;
                                                    font-size: 18px;
                                                    line-height: 18px;
                                                    text-shadow: 1px 1px #f9f9f9;
                                                }
                                            }
                                        }
                                        &:hover{
                                            background: $grisCesta;
                                            a.cart-images{
                                                background-color: $blanco;
                                            }
                                        }
                                    }
                                    dd {
                                        border-bottom: 1px solid #e2dfdf;
                                        -webkit-box-shadow: 0 1px $blanco;
                                        -moz-box-shadow: 0 1px $blanco;
                                        box-shadow: 0 1px $blanco;
                                        margin-bottom: 1px;
                                        position: relative;
                                    }
                                }
                                .contenedor_cesta_desplegable {
                                    height: auto;
                                    overflow: hidden;
                                    border-top: $borde_cesta_desp;
                                    width: 280px;
                                    text-align: left;
                                    z-index: 1100;
                                    max-height: 600px;
                                    overflow-y: unset;
                                    scroll-behavior: smooth;
                                    padding-bottom: 110px;
                                    &::-webkit-scrollbar {
                                        width: 6px; 
                                        height: 6px;
                                    }
                                    &::-webkit-scrollbar-thumb{
                                        background: #ccc;
                                        border-radius: 2px;
                                    }
                                    &::-webkit-scrollbar-thumb:hover {
                                        background: #b3b3b3;
                                        box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
                                    }
                                    &::-webkit-scrollbar-thumb:active{
                                        background-color: #999999;
                                    }
                                    &::-webkit-scrollbar-track{
                                        background: #e1e1e1;
                                        border-radius: 4px;
                                    }
                                    &::-webkit-scrollbar-track:hover, &::-webkit-scrollbar-track:active{
                                        background: #d4d4d4;
                                    }
                                    .contenedor_totales_cesta{
                                        position: absolute;
                                        bottom: 0;
                                        width: 100%;
                                        background: $blanco;
                                    }
                                    .lineas_cesta_linea_mini_cesta {
                                        max-height:  470px;
                                        overflow-y:  auto;
                                    }
                                    .cart-prices{
                                        color: $precio_minicesta;
                                    }
                                    .cesta_restaurar{
                                        .minicesta_restaurar_estilos{
                                            p{
                                                text-align: center;
                                                padding:10px;
                                                margin:0px;
                                            }
                                            .articulo{
                                                font-weight: bold;
                                                color: $precio_minicesta;
                                            }
                                            .enlace_restaurar{
                                                text-align: center;
                                                background:$gris;
                                                .restaurar{
                                                    float:none;
                                                    display: block;
                                                    i{
                                                        font-style:normal;
                                                        font-family:$fuente_iconos;
                                                        &:before{
                                                            content: "\e931";
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                    .cart-prices-line, .cesta_restaurar p {
                                        overflow: hidden;
                                        background: $blanco;
                                        line-height: initial;
                                    }
                                    .cart-prices-line{
                                        padding: 15px;
                                        text-align: left;
                                        border-bottom: 1px solid #e2dfdf;
                                        padding-right: 7px;
                                    }
                                    .cart_block_total, .cart_block_shipping_cost, a{
                                        float: right;
                                    }
                                    .price, a{
                                        color: $precio_minicesta;
                                        font-size: 16px;
                                        font-weight: bold;
                                        white-space: nowrap;
                                    }
                                    .cart-buttons {
                                        overflow: hidden;
                                        padding: 15px;
                                        margin: 0;
                                        a {
                                            border: medium none;
                                            font-family: $fuente;
                                            font-size: 14px;
                                            margin-right: 0;
                                            text-transform: uppercase;
                                            line-height: 1;
                                            padding: 7px 15px;
                                            background-color: $botones_color;
                                            color: $botones_fuente;
                                            font-weight: bold;
                                            &:hover{
                                                background: $botones_color_hover;
                                                color:$botones_fuente_hover !important;
                                            }
                                        }
                                        #button_order_cart {
                                            padding-top: 9px;
                                            padding-bottom: 5px;
                                        }
                                        .cesta_vaciar a{
                                            float: left;
                                            padding-top: 9px;
                                            padding-bottom: 8px;
                                        }
                                    }
                                }
                            }
                            @media(max-width: 450px){
                                .cesta_desplegableV2{
                                    min-width: 55px;
                                }
                            }
                        }
                    }
                    .categorias_menu{
                        padding:0px;
                        .boton_burguer{
                            .mdi-menu{
                                font-style: normal;
                                font-family: $fuente_iconos;
                                color:$primario;
                                &:after{
                                    content: "\e923";
                                }
                            }
                        }
                        @media (max-width: 991px){
                            margin-top:0px;
                            position: inherit;
                            .boton_burguer{
                                display: block;
                                position: absolute;
                                font-size: 30px;
                                top:-6px;
                                right:38px;
                            }
                        }
                        @media(max-width:903px){
                            .boton_burguer{
                                right: 11px;
                            }
                        }
                        .navbar-toggle{
                            margin:0px;
                        }
                        .navbar-collapse{
                            padding:0px;
                        }
                        .megamenu{
                            & > ul {
                                height: 36px;
                                padding: 0px;
                                display: block;
                                position: relative;
                                clear: both;
                                margin: 0px;
                                text-align: right;
                                & > li{
                                    display: inline-block;
                                    font-size: 18px;
                                    text-align: left;
                                    position: relative;
                                    padding:5px 10px;
                                    z-index:3;
                                    @media(min-width:991px){
                                        &:hover{
                                            .submenu{
                                                background:$blanco;
                                                display:block;
                                                position:absolute;
                                                padding:15px;
                                                //añadir transicion
                                                .columna{
                                                    padding: 2px 10px;
                                                    a{
                                                        white-space: nowrap;
                                                        padding-right: 8px;
                                                        display: block;
                                                        line-height: 1.35em;
                                                        &:hover{
                                                            background: none;
                                                            padding-left: 8px;
                                                            padding-right: 0;
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                    a {
                                        color: $menuSup_enlace2;
                                        letter-spacing: 1px;
                                        margin: 0;
                                        display: inline-block;
                                        font-weight: normal;
                                        line-height:1em;
                                        border:none;
                                        // text-transform: capitalize;
                                        &:hover{
                                            background:$menuSup_enlace_backgroung_hover;
                                            color:$menuSup_enlace_hover2;
                                        }
                                        i{
                                            display: none;
                                            @media (max-width:992px){
                                                display:block;
                                            }
                                        }
                                        span{
                                            @media (max-width:992px){
                                                display:none;
                                            }
                                        }
                                    }
                                    a.collapsed{
                                        &:before{
                                            content: "\e900";
                                            font-family: $fuente-iconos;
                                            color:$primario;
                                        }
                                    }
                                }
                            }
                        }
                        #menu_hamburguesa{
                            @media (max-width:991px){
                                position:absolute;
                                top: 10px;
                                right: -3%;
                                padding: 0px;
                                min-width: 100%;
                                background:$blancoRoto;
                                margin-top: 0;
                                margin:0;
                                border-top: 0;
                                z-index: 4;
                                .megamenu {
                                    border: 1px solid $gris_bordes;
                                    border-radius: 0 0 4px 4px;
                                    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
                                    box-shadow: 0 1px 1px rgba(0,0,0,.05);
                                    border-top: 0;
                                    max-height: 310px;
                                    min-height: 143px;
                                    overflow-y: scroll;
                                    li {
                                        padding: 4px 12px;
                                        border-top: 1px solid $grisMasClaro;
                                        display:block;
                                        width: 100%;

                                        a.mdi-minus-box  {
                                            font-size:1.2em;
                                            float:right;
                                            padding: 0;
                                            font-family: $fuente_iconos;
                                            color:$primario;
                                            width: auto;
                                            &:before{
                                                content: "\e900";
                                            }
                                            &.collapsed:before{
                                                content:"\e900";
                                            }   
                                            &hover{
                                                background: none;
                                            }
                                        }
                                        a{
                                            width:90%;
                                            padding: 3px ;
                                            color:$grisTexto;
                                        }
                                    }
                                }
                                &.navbar-collapse.collapse{
                                    display: none !important;
                                    &.in{
                                        display: block !important;
                                        width: 100%;
                                        left: 0;
                                        top:58px;
                                    }
                                }
                                &.collapsing{
                                    width: 100%;
                                    left: 0;
                                    top:58px;
                                }
                            }
                            @media (max-width:767px){
                                top: -7px;
                                .megamenu {
                                    max-height: 160px;
                                }
                            }
                            @media (max-width:767px){
                                top: 3px;
                                right: -6%;
                            }
                        }
                    }
                }
            }
            .linea_roja{
                height: 2px;
                display: block;
                background: $primario;
            }
        }
        .nav_inferior{
            background: $blancoRoto;
            font-family:$fuente2;
            font-weight: 300;
            font-size:12px;
            color:$Enlaces_Cabecera;
            .container_nav{
                .descuento{
                    display: flex;
                    padding: 0px;
                    span{
                        color:$secundario;
                    }
                    .icon-etiqueta{
                        font-size: 40px;
                        padding: 10px;
                        color:$secundario;
                    }
                    .porcentaje{
                        font-size: 40px;
                        font-weight: 400;
                        color:$primario;
                        padding-right: 5px;
                    }
                    .texto_desc{
                        width: 50%;
                        font-size: 16px;
                        font-weight: 500;
                        padding:6px 0px;
                        text-align: center;
                    }
                    @media(max-width: 991px){
                        .icon-etiqueta, .porcentaje{
                            font-size: 30px;
                        }
                        .texto_desc{
                            font-size: 14px;
                            width:auto;
                        }
                    }
                    @media(max-width: 826px){
                        .icon-etiqueta, .porcentaje{
                            font-size: 26px;
                        }
                        .texto_desc{
                            font-size: 14px;
                        }
                    }
                    @media(max-width: 767px){
                        position: absolute;
                        top:8px;
                        left:21%;
                        width: 177px;
                    }
                    @media(max-width: 600px){
                        width: 110px;
                        .texto_desc{
                            font-size: 0px;
                            text-align: left;
                            line-height: 2.5;
                            &:before{
                                content: "dto.";
                                font-size: 14px;
                            }
                        }
                    }
                    @media(max-width: 382px){
                        padding-left: 8px;
                        width: 74px;
                        .icon-etiqueta{
                            display:none;
                        }
                    }
                }
                .buscador_redes{
                    padding: 0px;
                    display:flex;
                    justify-content: space-between;
                    @media(max-width: 500px){
                        flex-direction: row-reverse;
                        height: 58px;
                        justify-content: flex-end;
                    }
                    .buscador{
                        margin-top: 5px;
                        padding: 0px;
                        flex:1;
                        margin-bottom: 2px;
                        .boton{
                            display:none;
                        }
                        #search_block_top {
                            @media(min-width: 501px){
                                display:block;
                            }
                            .search_query {
                                background: $blanco none repeat scroll 0 0;
                                border: 0 none;
                                color: $terciario;
                                display: inline-block;
                                font-size: 14px;
                                height: 48px;
                                flex: 1 1;
                                padding-left: 14px;
                                &::-webkit-input-placeholder { /* WebKit, Blink, Edge */
                                    color:$terciario;
                                }
                                &:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
                                    color:$terciario;
                                }
                                &::-moz-placeholder { /* Mozilla Firefox 19 */
                                    color:$terciario;
                                }
                                &:-ms-input-placeholder { /* Internet Explorer 10-11 */
                                    color:$terciario;
                                }
                            }
                            .boton.button-search {
                                background: transparent none repeat scroll 0 0;
                                padding:6px 8px;
                                span{
                                    &:before{
                                        color: $secundario;
                                        font-size: 2em;
                                        content: "\e918";
                                        font-family: $fuente_iconos;
                                    }
                                }
                                &:hover{
                                    span{
                                        &:before{
                                            color:$primario;
                                        }
                                    }
                                }
                            }
                            #searchbox{
                                position: relative;
                                display: flex;
                                justify-content: space-between;
                                .search_filter {
                                    float:right;
                                    border-left: 2px solid $secundario;
                                    width: 5%;
                                    min-width: 40px;
                                    margin:7px;
                                    padding:0px 5px;
                                    &::after {
                                        color: rgb(68, 68, 68);
                                        content: "";
                                        font-family: $fuente_iconos;
                                        font-size: 12px;
                                        position: absolute;
                                        right: 22px;
                                        top: 15px;
                                    }
                                    .b_avanzada {
                                        font-size: 0px;
                                        display: block;
                                        position: relative;
                                        color: $bt_bAvanzada_fuente;
                                        text-align: center;
                                        &:hover{
                                            color:$bt_bAvanzada_fuente_hover;
                                        }
                                        &:before {
                                            font-family: $fuente_iconos;
                                            content: "\e914";
                                            font-size: 24px;
                                        }
                                        &:hover{
                                            color:$primario;
                                        }
                                    }
                                    &:hover{
                                        color:$primario;
                                    }
                                }
                            }
                        }

                        @media(max-width: 500px){
                            text-align: right;
                            position:absolute;
                            right:0px;
                            width:100%;
                            .boton{
                                display: block;
                                background: none;
                                font-size: 20px;
                                position: absolute;
                                right: 0px;
                                i{
                                    font-style: normal;
                                    font-family: $fuente_iconos;
                                    color:$secundario;
                                    &:before{
                                        content: "\e918";
                                    }
                                }
                            }
                            #search_block_top{
                                position: relative;
                                top: 50px;
                                right:0px;
                                min-width: 100%;
                                background:$blanco;
                                border:1px solid $primario;
                                .search_filter{

                                }
                                .search_query{
                                    width: 84%;
                                }
                            }
                        }
                        @media (max-width: 325px){
                            #search_block_top .search_query{
                                width:80%;
                            }
                        }
                    }
                    .nav_info{
                        float:right;
                        padding: 0;
                        .nav_redes_sociales{
                            display:inline-block;
                            a {
                                vertical-align: middle;
                                display: inline-block;
                                padding:10px 0px;
                                font-weight: 500;
                                color:$primario;
                                &.telefono{
                                    color:$blanco;
                                    i:after{
                                        font-family: $fuente_iconos;
                                        content: "\e929";
                                    }
                                    &:hover{
                                        color:$blanco;
                                    }
                                }
                                &.email{
                                    color:$blanco;
                                    i:after{
                                        font-family: $fuente_iconos;
                                        content: "\e90b";
                                    }
                                    &:hover{
                                        color:$blanco;
                                    }
                                }                
                                i{
                                    display: inline-block;
                                    height: 35px;
                                    width: 35px;
                                    background: $primario;
                                    font-size:24px;
                                    font-style: normal;
                                    text-align: center;
                                    &:hover{
                                        background: $terciario;
                                    }
                                    &:before{
                                        font-family: $fuente_iconos;
                                        color:$blanco;
                                        padding:1px 5px; 
                                    }
                                }
                                .mdi-facebook{
                                    &:before{
                                        content: "\e91c";
                                    }
                                    &:hover{
                                        background:$facebook;
                                    }
                                }
                                .mdi-twitter{
                                    &:before{
                                        content: "\e92a";
                                    }
                                    &:hover{
                                        background:$twitter;
                                    }
                                }
                                .mdi-instagram{
                                    &:before{
                                        content: "\e91f";
                                    }
                                    &:hover{
                                        background:$instagram;
                                    }
                                }
                                .mdi-youtube-play{
                                    display:none;
                                }

                                &:hover{
                                    color:$Enlaces_Cabecera_hover;
                                    background: $fondo_header_enlaces_hover;                     
                                }
                            }
                            @media(max-width: 1199px){
                                padding-left: 5px;
                            }
                        }
                        i{
                            font-size: 1.2em;
                        }
                        .redes_sociales{
                            display: inherit;
                        }
                    }
                }
            }
        }

        /**************************/
        /*****MEDIA QUERIES********/
        /**************************/
        @media only screen and (max-width: 1600px){
            .container_nav {
                width:95%;
            }
        }
        @media only screen and (max-width: 903px){
            .container_nav {
                width:100%;
            }
        }
        @media only screen and (min-width:1200px){
            .sticky-fixed-top{
                padding:0;
                position:fixed;
                right:90px;
                top:0;
                width:auto;
                margin:0;
            }
            .shopping_cart.sticky-fixed-top,#search_block_top.sticky-fixed-top{
                margin:7px 0 0;
                padding:0;
                width:auto;
            }
            #search_block_top.sticky-fixed-top{
                margin-right:36px;
            }
            .sticky-fixed-top #search_block_top,.sticky-fixed-top .shopping_cart_menu{
                padding:0;
                width:auto;
                margin:5px 0 0;
            }
            .sticky-fixed-top .shopping_cart_menu{
                margin:5px 0 0 5px;
            }
            .sticky-fixed-top #search_block_top .boton.button-search,#search_block_top.sticky-fixed-top .boton.button-search{
                box-shadow:none;
            }
            #search_block_top.sticky-fixed-top .field-search,.sticky-fixed-top #search_block_top .field-search,.sticky-fixed-top #cart_block_top.shopping_cart{
                margin:0;
            }
            .sticky-fixed-top .cart_block{
                top:39px;right:0;
            }
            .sticky-fixed-top #search_block_top #search_query_top{
                width:280px;
            }
            .sticky-fixed-top #search_block_top #search_query_top:hover,.sticky-fixed-top #search_block_top #search_query_top:focus,.sticky-fixed-top #search_block_top #search_query_top:active{
                width:410px;
                transition:all 0.4s ease-in-out 0s;
                -webkit-transition:all 0.4s ease-in-out 0s;
                -ms-transition:all 0.4s ease-in-out 0s;
            }
            .sticky-fixed-top .shopping_cart:hover > a:first-child{
                color:$blanco;
            }
            .sticky-fixed-top #search_block_top.sticky-fixed-top{
                display:none;
            }
            .sticky-fixed-top .shopping_cart_menu.sticky-fixed-top{
                display:none;
            }
        }
        @media only screen and (min-width: 1200px){
            #sticky_top{
                &.sticky-fixed-top  #search_block_top  #searchbox {
                    .search_filter  {
                        display: block;
                        background: transparent none repeat scroll 0 0;
                        border: 0 none;
                        color: #4666a0;
                        font-size: 24px;
                        font-weight: 700 !important;
                        height: 37px;
                        line-height: 43px;
                        width: 60px;
                        z-index: 1024;
                        text-align: center;
                        &:before{
                            border:none;
                        }
                        #category_filter {
                            position: relative;
                            top: 1px;
                            display: inline-block;
                            font-family: $fuente_iconos;
                            font-style: normal;
                            font-weight: 400;
                            line-height: 1;
                            -webkit-font-smoothing: antialiased;
                            font-size:0;
                            height: 35px;
                            width: 35px;

                            &:before{
                                content: "\f493";
                                font-size: 24px;
                                display: block;
                                line-height: 34px;
                                color:$busqueda_icono_color;
                            }
                        }
                    } 
                    .boton.button-search{
                        span{
                            &:before{
                                font-size: 2.4em;
                            }
                        }
                    }
                }
            }
        }
        @media only screen and (min-width: 1200px){
            #sticky_top{
                &.sticky-fixed-top {
                    padding: 0;
                    position: fixed;
                    /*right: 90px !important;*/
                    top: 0;
                    width: auto;
                    // margin: 1px 150px 0 0  !important;
                    z-index: 5003;
                    .sticky-fixed-top #search_block_top {
                        padding: 0;
                        width: auto;
                        margin: 5px 0 0;
                    }
                }
                &.sticky-fixed-top{
                    #search_block_top {
                        padding: 0;
                        width: auto;
                        margin: 5px 0 0;
                        #search_query_top {
                            width: 280px;
                            height: 37px;
                            line-height: 37px;
                        }
                    }
                }
                &.sticky-fixed-top .shopping_cart_menu {
                    margin: 5px 0 0 5px;
                    padding: 0;
                    width: auto;
                    .cesta_desplegableV2 {
                        height: 39px;
                        line-height: 39px;
                        &:hover{
                            background: rgba(255,255,255,0.3);
                        }
                    }
                }
                &.sticky-fixed-top .search_filter .b_avanzada {
                    display: none;
                }
            }
        }
        @media (min-width: 1200px){
            #product .content-top-br {
                height: 49px;
                padding: 14px 20px;
            }
        }
        @media only screen and (min-width: 992px){
            #sticky_top{
                &.sticky-fixed-top {
                    .sticky-fixed-top #search_block_top {
                        padding: 0;
                        width: auto;
                        margin: 5px 0 0;
                    }
                }
                &.sticky-fixed-top{
                    #search_block_top {
                        padding: 0;
                        width: auto;
                        margin: 5px 0 0;
                        #search_query_top {
                            width: 280px;
                            height: 37px;
                            line-height: 37px;
                        }
                        #searchbox .search_filter:before{
                            height: 23px;
                        }
                    }
                }
                &.sticky-fixed-top .search_filter{
                    .b_avanzada{
                        display: none !important;
                    }
                    .b_avanzada_ico{
                        display: block;
                        background: transparent none repeat scroll 0 0;
                        border: 0 none;
                        color: $bt_bAvanzada_fuente;
                        font-size: 24px;
                        font-weight: 700 !important;
                        height: 37px;
                        line-height: 43px;
                        width: 60px;
                        z-index: 1024;
                        text-align: center;
                        &:hover{
                            background: $bt_bAvanzada_fondo_hover;
                            color: $bt_bAvanzada_fuente_hover;
                        }
                    }
                }
                &.sticky-fixed-top .login_menu{
                    display: inline-block;
                    height: 39px;
                    line-height: 39px;
                    margin: 5px 0 0 5px;
                }
                &.sticky-fixed-top .shopping_cart_menu {
                    margin: 5px 0 0 5px;
                    padding: 0;
                    width: auto;
                    .cesta_desplegableV2 {
                        height: 39px;
                        line-height: 39px;
                        &:hover{
                            background: $fondo_cesta_desp_hover !important;
                        }
                    }
                }
            }
        }
    }  
}