/*////////////////////////////////////////////////////////////////////*/

/*   HEADER                ////////////////////////////////////////  */

/*//////////////////////////////////////////////////////////////////*/

header {
    z-index: 3;
    top: 0px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.13);
    height: auto;
    background-image: none;
}

/* UPPER BANNER **********************************************/

.header {
    padding: 0 5px 0 10px;
}

@media screen and (min-width: 1000px) {
    header.grad-blueviol:after {
        content: "";
        width: 100%;
        position: absolute;
        border: 1px solid #d0d0d07a;
        bottom: 50px;
    }
}

.b-up {
    letter-spacing: 0.02em;
    padding: 0 6px;
    text-align: center;
    color: #fff;
    background: #443458;
    z-index: 1;
    height: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
}

    .b-up .bold {
        display: inline-block;
        font-weight: 500;
        margin: 0;
        vertical-align: middle;
        position: relative;
    }

    .b-up a.action {
        margin: 0 4px;
        text-decoration: underline;
        text-transform: none;
        color: #fff;
        display: inline-block;
    }

    .b-up .left {
        float: left;
    }

        .b-up .left a {
            color: #fff;
            margin: 0 10px 0 0;
            float: left;
            align-items: initial !important;
        }

            .b-up .left a:hover {
                opacity: 1;
            }

    .b-up .right {
        float: right;
        height: 100%;
    }

        .b-up .right ul li {
            display: inline;
        }

        .b-up .right a {
            color: #fff;
            padding: 0 7px 0;
            display: inline-block;
            position: relative;
            letter-spacing: -0.1px;
        }

.right a:last-of-type {
    padding-right: 0 !important;
    margin-top: 3px;
}

.b-up .right a:hover {
    opacity: 0.6;
}

.b-up a::before {
    display: inline-block;
    position: relative;
    margin: 3px 9px 0 0;
    float: left;
}

.b-up a.compra::before {
    content: url(/Content/Images/i-camion.svg);
}

.b-up a.servicio::before {
    content: url(/Content/Images/i-servtecnico.svg);
}

.b-up a.sucursales::before {
    content: url(/Content/Images/i-sucursal.svg);
}

.b-up a.venta::before {
    content: url(/Content/Images/i-telefono.svg);
}

.b-up .whatsapp-contacto::before {
    content: url(/Content/Images/i-whatsapp-sin-color.svg);
    vertical-align: middle;
}

.b-up a.ayuda::before {
    content: url(/Content/Images/i-ayuda.svg);
}

.b-up .s-facebook:before {
    content: "\f231";
    font-family: "Ionicons" !important;
}

.b-up .s-twitter:before {
    content: "\f243";
    font-family: "Ionicons" !important;
}

.b-up .s-youtube:before {
    content: "\f24d";
    font-family: "Ionicons" !important;
}

.b-up .s-pinterest:before {
    content: "\f2b1";
    font-family: "Ionicons" !important;
}

.b-up .s-instagram:before {
    content: "\f350";
    font-family: "Ionicons" !important;
}

.b-up .s-linkedin:before {
    content: "\f238";
    font-family: "Ionicons" !important;
}

.b-up .s-email:before {
    content: "\f10f";
    font-family: "Ionicons" !important;
}

@media (max-width: 1439px) {
    .b-up .left a {
        margin-right: 50px;
    }
}

@media (max-width: 991px) {
    .b-up .left a {
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .b-up {
        display: none;
    }
}

/* MAIN **********************************************/

header .main .navbar-default {
    background: transparent none repeat scroll 0 0;
    border: 0 none;
    box-shadow: none;
    margin: 15px 0 0;
    padding: 0;
    width: 100%;
    display: flex;
    align-items: self-end;
    min-height: 0;
}

/* @media (min-width: 960px) { */
@media (min-width: 768px) {
    .navbar-header {
        float: left;
        position: relative;
        width: 205px;
        display: inline-flex;
    }
}

.LOGO {
    height: auto;
    line-height: 0;
    margin: 0;
    position: relative;
    width: 132px;
    padding: 0;
}

    .LOGO img {
        width: 204px;
    }

.CART_BOX .cart-button,
.LOGIN_BOX .login-button,
.MENU-ICONS a {
    /*! height: auto; */
    line-height: 1;
}

.caret {
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 4px solid;
    opacity: 0.6;
    margin-left: 0;
}

/* mostrar/ocultar menu loginbox *****************/
.muestro {
    display: block;
}

.mostrame {
    display: none;
}

    .muestro:hover ~ .mostrame,
    .mostrame:hover {
        display: block;
    }

/*  LOGIN_BOX *******************************/

.LOGIN_BOX .i-fav2 {
    margin: 0 30px 0 0;
    color: #565656;
    border: 1px solid white;
    border-radius: 100%;
    padding: 7px;
    box-shadow: 1px 2px 9px 2px rgb(0 0 0 / 42%);
}

.LOGIN_BOX .i-fav2:hover {
    background: rgba(0, 0, 0, 0.3)
}

.LOGIN_BOX .i-fav2:before {
     width: 20px !important;
     height: 20px !important;
 }

@media screen and (max-width: 768px) {
    .LOGIN_BOX .i-fav2 {
        display: none;
    }
}

.LOGIN_BOX,
.CART_BOX {
    display: flex;
    align-self: center;
    float: right;
}

.CART_BOX {
    cursor: pointer;
}

    .LOGIN_BOX .login-button,
    .CART_BOX .cart-button {
        display: inline-flex;
        position: relative;
        width: auto;
        padding: 0;
        justify-content: center;
        align-items: center;
    }

.LOGIN_BOX .login-button {
    margin-right: 23px;
    font-size: 18px;
}

.LOGIN_BOX .login-button.logged {
    padding: 10px 0;
}

.CART_BOX .cart-button {
    margin-right: 2px;
}

    .LOGIN_BOX .login-button .i-login,
    .CART_BOX .cart-button .i-cart {
        float: left;
        position: relative;
        display: block;
        margin: 0;
        padding: 0;
    }

        .LOGIN_BOX .login-button .i-login img,
        .CART_BOX .cart-button .i-cart img {
            width: 100%;
        }

.LOGIN_BOX .login-button .i-login {
    height: auto;
    width: 22px;
    margin: 4px 5px 0 0;
}

.CART_BOX .cart-button .i-cart {
    height: auto;
    width: 33px;
}

    .LOGIN_BOX .login-button .i-login svg,
    .CART_BOX .cart-button .i-cart svg,
    .SEARCH_BOX button svg {
        fill: #565656;
        position: absolute;
        height: auto;
        width: 100%;
        margin: 0px;
        left: 50%;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

.LOGIN_BOX .i-login svg path,
.CART_BOX .i-cart svg path {
    fill: #565656;
}

.LOGIN_BOX .login-button span {
    color: #565656;
    white-space: nowrap;
    display: inline-flex;
    font-weight: lighter;
    margin-top: 3px;
    margin-left: 2px;
}

    .LOGIN_BOX .login-button span strong {
        color: #e6e7e9;
        font-size: 14px;
        font-weight: 100;
    }

    .LOGIN_BOX .login-button span::after {
        content: "\f123";
    }

    .LOGIN_BOX .login-button span::after {
        color: #ffffff;
        float: right;
        font-family: "Ionicons";
        font-size: 10px;
        margin: 3px 0 0 7px;
    }

.CART_BOX .cart-button::after {
    display: none;
}

.LOGIN_BOX .login_window,
.CART_BOX .cart-window {
    background: #fff none repeat scroll 0 0;
    border-radius: 0;
    color: inherit;
    overflow: hidden;
    position: absolute;
    right: 7px;
    text-align: left;
    text-transform: none;
    top: calc(100% - 5px);
    box-shadow: 2px 2px 6px #0000001a;
}

.LOGIN_BOX .login_window {
    left: auto;
    padding: 23px;
    width: 280px;
}

.CART_BOX .cart-window {
    max-height: 565px;
    min-height: 72px;
    padding: 0;
    width: 350px;
}

.LOGIN_BOX .login_window fieldset {
}

.LOGIN_BOX .login_window legend {
    display: none;
}

.LOGIN_BOX .login_window .form-group {
    margin-bottom: 8px;
}

.LOGIN_BOX .login_window input[type="email"],
.LOGIN_BOX .login_window input[type="password"] {
    background-clip: padding-box;
    box-shadow: none;
}

.LOGIN_BOX .login_window input[type="submit"] {
    float: right;
    font-size: 1em;
    min-width: 0;
    margin-bottom: 10px;
}

.forget {
    color: #000000;
    float: right !important;
    /* font-size: 0.9em !important; */
    margin-top: 5px;
    width: auto !important;
    text-decoration: underline;
}

.register {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    clear: both;
    margin-top: 27px;
    padding-top: 7px;
    text-align: center;
    width: 100% !important;
    display: block;
}

.LOGIN_BOX .dropdown-menu > li > a,
.LOGIN_BOX .dropdown-menu > li form > a {
    color: #000;
    font-size: 1em;
    margin: 0;
    padding: 9px 15px;
    text-align: right;
    width: 100%;
}

.LOGIN_BOX .dropdown-menu > li a::before {
    float: left;
    font-family: "diggit";
    font-size: 1.3em;
    opacity: 0.4;
    text-align: center;
    width: 25px;
    display: none !important;
}

.LOGIN_BOX .dropdown-menu li a:hover {
    background: transparent none repeat scroll 0 0 !important;
    opacity: 1;
    text-decoration: underline;
}

/* abrir login_box en :hover */
.LOGIN_BOX > div:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* CART_BOX *************************************/

.CART_BOX .cart-button .items {
    border: 0;
    display: block;
    height: 22px;
    padding: 0;
    position: absolute;
    right: -10px;
    text-align: center;
    top: -8px;
    width: 22px;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    color: #693c90;
    background: #ffffff;
    border-radius: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .CART_BOX .cart-button .items {
        color: #693c90;
        background: #ffffff;
    }
}

.CART_BOX .cart-window {
    background-color: #f8f8f8;
    max-height: 565px;
    min-height: 72px;
    padding: 0;
    top: calc(100% - 3px);
    right: 0;
    width: 350px;
}

    .CART_BOX .cart-window ol {
        background: #fff none repeat scroll 0 0;
        border-bottom: 1px solid #eee;
        float: left;
        margin: 0;
        max-height: 216px;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 15px;
        width: 100%;
    }

        .CART_BOX .cart-window ol li {
            border-bottom: 1px solid #eee;
            display: block;
            float: left;
            height: auto;
            min-height: 60px;
            padding: 7px 0;
            position: relative;
            width: 100%;
        }

            .CART_BOX .cart-window ol li:last-child {
                border-bottom: 0 none;
            }

    .CART_BOX .cart-window .img {
        float: left;
        margin-right: 5%;
        text-align: center;
        width: 17%;
    }

        .CART_BOX .cart-window .img img {
            margin: 0 auto;
            max-height: 75px;
            max-width: 100%;
        }

    .CART_BOX .cart-window .datos {
        float: left;
        height: auto;
        text-align: left;
        width: 49%;
    }

    .CART_BOX .cart-window .name {
        float: left;
        font-size: 0.95em;
        line-height: 1.2em;
        margin-bottom: 3px;
        width: 100%;
    }

    .CART_BOX .cart-window .cantidad {
        color: #848273;
        font-size: 0.8em;
        font-weight: lighter;
    }

        .CART_BOX .cart-window .cantidad strong {
            font-weight: normal;
            font-size: 1.1em;
        }

    .CART_BOX .cart-window .price {
        float: right;
        font-size: 0.8em;
        text-align: right;
        width: 29%;
    }

        .CART_BOX .cart-window .price span {
            font-size: 1.2em;
            font-weight: normal;
        }

    .CART_BOX .cart-window .remove {
        background: none repeat scroll 0 0 #ccc;
        background-clip: padding-box;
        border-radius: 20px;
        color: #fff;
        float: right;
        font-size: 0.6em;
        height: 18px;
        line-height: 17px;
        text-align: center;
        width: 18px;
    }

        .CART_BOX .cart-window .remove:hover {
            background: #888;
        }

.cart-window .cantitems {
    color: #6c6e6c;
    float: left;
    font-size: 0.9em;
    line-height: 1em;
    padding: 9px 0 0 15px;
}

.CART_BOX .cart-window .subtotal {
    float: right;
    font-size: 0.9em;
    font-weight: 700;
    padding: 0 15px;
    text-align: left;
    text-transform: uppercase;
    width: 100%;
}

    .CART_BOX .cart-window .subtotal span {
        float: right;
        font-size: 1.1em;
        font-weight: 700;
    }

        .CART_BOX .cart-window .subtotal span strong {
            font-size: 1.4em;
            font-weight: 700;
        }

.CART_BOX .cart-window .botones {
    float: left;
    padding: 0 15px 15px;
    width: 100%;
}

.CART_BOX .cart-window .btn {
    font-size: 14px;
    margin: 9px calc(50% - 80px) -2px;
    padding: 5px;
    text-align: center;
    width: 160px;
    min-width: 0;
    /* background: #ef7d2d !important; */
    border: none !important;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    font-weight: 700;
}

    .CART_BOX .cart-window .btn:hover {
        background: #40156b !important;
        border: none !important;
    }

    .CART_BOX .cart-window .btn:focus {
        border: none !important;
    }

.CART_BOX .cart-window .mje-nohay {
    margin: 15px;
    text-align: center;
}

@media (max-width: 767px) {
    .LOGIN_BOX .login_window,
    .CART_BOX .cart-window,
    .LOGIN_BOX .dropdown-menu {
        display: none !important;
    }
}

/*  SEARCH_BOX  *******************************/

.SEARCH_BOX {
    float: none !important;
    width: 54%;
    z-index: 1000;
    margin: 4px auto 0;
}

header .main .navbar-default > * {
    z-index: 1001 !important;
    align-items: center;
}

header .main .navbar-default .hamburguer {
    z-index: 1002 !important;
}

.LOGIN_BOX,
.CART_BOX,
.hamburguer {
    z-index: 1002 !important;
}

    .hamburguer:focus {
        color: #fff !important;
    }

.SEARCH_BOX fieldset {
    float: right;
    height: 42px;
    padding: 0;
    position: relative;
    width: 100%;
    border-radius: 60px;
}

.SEARCH_BOX .form-group {
    border-radius: 29px;
    background: #fff;
    height: 97%;
    margin: 0 !important;
    padding: 0 45px 0 0;
    width: 100%;
}

.SEARCH_BOX .form-control {
    background: transparent none repeat scroll 0 0;
    border: 0 none !important;
    border-radius: 0;
    box-shadow: none;
    color: #000;
    float: right;
    font-weight: normal;
    height: 100%;
    line-height: 100%;
    margin: 0 0 0 0 !important;
    overflow: hidden;
    padding: 0 14px;
    z-index: 2;
    display: block;
    width: 100%;
    min-width: 0;
    float: left;
}

    .SEARCH_BOX .form-control::placeholder {
        color: #949494;
    }

.SEARCH_BOX .search_submit {
    background: transparent;
    border: 0 none;
    border-radius: 0 60px 60px 0;
    color: #000000;
    height: 39px;
    position: absolute;
    right: 1px;
    top: 1px;
    width: 48px;
    z-index: 3;
}

    .SEARCH_BOX .search_submit svg {
        width: 21px;
        height: 23px;
        margin: 0 0 0 -2px;
    }

        .SEARCH_BOX .search_submit svg path {
            fill: #565656;
        }

    .SEARCH_BOX .search_submit:hover svg {
        opacity: 0.5;
    }

.SEARCH_BOX .navbar-form {
    margin: 8px 0;
    padding: 0;
}

.ui-autocomplete {
    background-color: #f8f8f8;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
    color: #333;
    display: none;
    font-size: 14px;
    left: 0;
    line-height: 42px;
    max-height: 300px;
    opacity: 0;
    overflow: auto;
    padding: 0;
    position: absolute;
    right: 0;
    text-align: left;
    top: 43px;
    visibility: hidden;
    display: block;
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    max-width: 630px;
    left: 16px;
}

    .ui-autocomplete > div {
        background-color: white;
    }

    .ui-autocomplete .totalprods {
        display: table;
        width: 100%;
        font-weight: bold;
        margin: 0;
        padding: 5px 10px 5px;
        font-size: 0.8em;
        color: black;
    }

        .ui-autocomplete .totalprods > a {
            display: block;
            z-index: 2;
            position: relative;
            float: right;
        }

    .ui-autocomplete .CatHeadContainer,
    .ui-autocomplete .ProdsHeadContainer {
        border-top: 1px solid #e2e2e2;
        margin: 0 -15px;
        padding: 0 15px;
    }

    .ui-autocomplete .CatHead {
        /*     display: table;
    width: 100%;
*/
        background-color: #f8f8f8;
        /*  color: #000 !important;
    font-weight: bold;
    padding: 10px 10px;
    text-transform: uppercase; */
    }

        .ui-autocomplete .CatHead.sub {
            /* background-color: #0076c1; */
            /* padding-left: 22px; */
        }

            .ui-autocomplete .CatHead.sub a:before {
                content: " ";
                display: inline;
                font-size: 16px;
                position: relative;
                line-height: 12px;
                top: -2px;
            }

        .ui-autocomplete .CatHead > a {
            display: block;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            color: #333;
            display: block;
            font-size: 14px;
            line-height: 40px;
            padding: 0 15px;
            position: relative;
            width: 100%;
            color: #000;
        }

    .ui-autocomplete article.CatHead > a > span,
    .ui-autocomplete article.prods p a span {
        float: right;
        display: none;
    }

    .ui-autocomplete article.CatHead:first-child > a > span,
    .ui-autocomplete article.prods:first-child p a span {
        display: block;
    }

    .ui-autocomplete article.prods {
        padding: 5px 10px;
        display: table;
        width: 100%;
        background-color: #f8f8f8;
    }

        .ui-autocomplete article.prods p {
            width: 100%;
            margin: 0;
        }

            .ui-autocomplete article.prods p a {
                display: block;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                color: #333;
                display: block;
                font-size: 14px;
                line-height: 34px;
                padding: 0 10px;
                position: relative;
                width: 100%;
                color: #000;
            }

    .ui-autocomplete article.active {
        background-color: #d8d8d8;
    }

    .ui-autocomplete article.prods p a {
        padding-left: 40px;
    }

    .ui-autocomplete article.prods:last-child p a {
        padding: 0 10px;
    }

    .ui-autocomplete article.prods p a img {
        left: 0;
        position: absolute;
        top: 0;
        width: 32px;
        z-index: 0;
        height: 32px;
    }

    /* .ui-autocomplete article.prods:hover{
    background-color: #044d8c;
} */
    /* .ui-autocomplete article.prods:hover a{
    color:#ffdd07 ;
} */

    .ui-autocomplete .mCSB_scrollTools {
        background-color: #f8f8f8;
        opacity: 1 !important;
    }

        .ui-autocomplete .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
            line-height: 30px;
            background-color: #e4e4e4;
            width: 3px;
            border-radius: 30px !important;
        }

        .ui-autocomplete .mCSB_scrollTools .mCSB_draggerRail {
            background-color: rgb(228, 228, 228);
        }

@media (max-width: 767px) {
    .ui-autocomplete {
        max-width: unset;
        float: right;
        width: calc(100% + 50px) !important;
        right: -50px;
        left: unset;
    }
}

@media (max-width: 500px) {
    .ui-autocomplete {
        font-size: 0.9em;
    }

        .ui-autocomplete .CatHead {
            padding: 6px 10px;
        }
}

@media (max-width: 992px) {
}

@media (max-width: 767px) {
}

/*  HEADER AFFIX  *******************************/

header.affix-top {
}

header.affix .LOGO {
    margin-top: 6px;
    width: 87px;
}

header.affix .hamburguer {
    margin-top: 0 !important;
}

@media (min-width: 992px) {
    header.affix {
        background-color: rgba(248, 248, 248, 0.94);
        height: 49px;
    }

    .Product header.affix,
    .Product header.affix-top,
    .Cart header {
        position: relative !important;
    }

    header.affix .MENU_MAIN ul > li > a,
    header.affix .LOGIN_BOX .login-button,
    header.affix .CART_BOX .cart-button {
        line-height: 49px;
        height: 49px;
    }

    header.affix .SEARCH_BOX {
        margin-top: 6px;
    }

    header.affix .CART_BOX .cart-button .items {
        top: 1px !important;
    }

    header.affix .dropdown-menu {
        top: calc(100% - 7px);
    }
}

@media (max-width: 991px) {
    header.affix,
    header.affix-top,
    .Cart header {
        position: relative !important;
    }
}

/* sticky header en home y content */
/*@media (min-width: 992px) {
header {
    background-color: rgba(248, 248, 248, 0.94);
    position: fixed;
}
section, .Content.imgarriba .images {
    margin-top: 70px !important;
}
}

@media (max-width: 991px) {
.Home header, .Content header {
    background-color: rgba(248, 248, 248, 0.94);
    position: fixed;
}
.Home section, .Content section, .Content.imgarriba .images {
    margin-top: 59px !important;
}
}
*/

@media (min-width: 1003px) {
    .LOGIN_BOX.hidden-xs {
        /* top: -7px; */
    }

    .CART_BOX {
        /* top: -7px; */
    }
}

@media (max-width: 768px) {
    .LOGIN_BOX {
        display: none;
    }

    .CART_BOX {
        margin-bottom: 6px;
    }
}

@media (min-width: 1200px) and (max-width: 1382px) {
    .SEARCH_BOX {
        float: none !important;
        width: 50%;
        z-index: 1000;
        margin: 4px auto 0;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .SEARCH_BOX {
        float: none !important;
        width: 40%;
        z-index: 1000;
        margin: 4px auto 0;
    }
}

@media (min-width: 321px) and (max-width: 767px) {
    .LOGO img {
        /* margin-top: 20px !important; */
    }
}

@media (max-width: 320px) {
    .LOGO img {
        width: 169px;
        /* margin-top: 20px !important; */
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .LOGO img {
        width: 204px;
    }

    .SEARCH_BOX fieldset {
        height: 35px;
    }

    /* .SEARCH_BOX {
    float: none !important;
    width: 30%;
    z-index: 1000;
    margin: -49px auto -3px; 
  } */

    .LOGO {
        /* margin-left: 21px; */
        width: 100px;
    }
}
