/*************************************************** Header con los links de contacto */


.header-links {
    background-color: rgb(66, 66, 66);
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.header-links a {
    padding: 10px 15px;
    text-align: center;
    color: white;
}

.header-links a:link {
    text-decoration: none;
}

.header-links a:hover {
    color: white;
    background-color: rgb(31, 31, 31);
}

.header-links a:last-child {
    margin: 0;
    padding: 10px 0px 10px 15px;
}








.header-links2 {
    background-color: rgb(66, 66, 66);
    width: 100%;
    padding: 10px 0px;
    display: none;
}

.header-links2 a {
    margin-right: 2em;
    color: white;
}

.header-links2 a:link {
    text-decoration: none;
}

.header-links2 a:hover {
    color: white;
}

.header-links2 a:last-child {
    margin: 0;
}


/* #select_branch {
    background-color: transparent;
    color: white;
    border: none;
} */

#select_branch {
    background-color: transparent;
    border: none;
}


.mapa-header a {
    text-decoration: none;
    color: black;
}

.mapa-header a:hover {
    text-decoration: none;
    color: black;
}

#select_branch option {
    color: black;
}

/* .header-4 div {
    position: absolute;
    width: 400px;
    height: 47px;
    background-color: rgb(255, 255, 255);
    top:242px;
    right: 15px;
    z-index: 100;
    border-radius: 0px 0px 0px 20px;
}

.header-4 div a {
    text-decoration: none;
    color: black;
}

.header-4 div a:hover {
    text-decoration: none;
    color: black;
}

.header-4 div h5 {
    text-transform: uppercase;
    font-weight: 600;
} */

#buscador-index {
    border: 1px solid #FFC72C;
    padding: 7px 10px;
    font-size: 1.2em;
    margin-bottom: 10px;
}

#buscador-index::placeholder { 
    color: rgb(75, 75, 75);
}

#divTableSearch {
    display: none;
}



/* filter:  invert(26%) sepia(2%) saturate(0%) hue-rotate(24deg) brightness(103%) contrast(86%); */


/*************************************************** Header con el logo */

.header-logo {
    background-color: #FFC72C;
    width: 100%;
    height: 110px;
}

.img1 img {
    height: 60px;
}

.img2 {
    display: none;
}

.img2 img {
    height: 70px;
}

/*************************************************** Header con las secciones */

.header-secciones {
    width: 100%;
    border-bottom: solid 0.5px rgb(158, 158, 158);
    border-top: solid 0.5px rgb(158, 158, 158);
    z-index: 100;
}

.header-secciones-color {
    background-color: white;
}

ul {
    margin: 0 !important;
    padding: 0;
    list-style-type: none;
    background: white;
    position: relative;
}

.ul-secciones {
    display: flex;
    align-items: flex-end;
}


ul li {
    display: inline-block;
}

ul .diagonal-header {
    width: 1px;
    height: 82px;
    border-right:1.5px solid rgb(223, 223, 223);
    -ms-transform: skew(20deg,10deg); /* IE 9 */
    -webkit-transform: skew(20deg,10deg); /* Safari */
    transform: skew(-20deg,0deg); /* Standard syntax */
    position:relative;
    right: -19px;
    margin-right: 30px;
}



#form-diagonal {
    border:1px solid  #444444;
    border-radius: 0;
    padding:5px 10px;
    background-color: rgb(245, 245, 245);
    -moz-transform: skewX(-20deg);
    -webkit-transform: skewX(-20deg);
    -o-transform: skewX(-20deg);
    -ms-transform: skewX(-20deg);
    transform: skewX(-20deg);
}

#form-diagonal input {
    background-color: rgb(245, 245, 245);
    width: 400px;
    font-size: 1.2em;
    border:0;
    box-shadow: none;
    -moz-transform: skewX(20deg);
    -webkit-transform: skewX(20deg);
    -o-transform: skewX(20deg);
    -ms-transform: skewX(20deg);
    transform: skewX(20deg);
}

#form-diagonal input::placeholder {
    color: rgb(90, 90, 90);
}

#form-diagonal input:focus {
    outline: none;
    background-color: white;
    transition: 0.2s;
}

#form-diagonal:focus-within {
    background-color: white;
    border:1px solid  #FFC72C;
    transition: 0.3s;
}










.ul-secciones li a {
    color: #292929;
    text-decoration: none;
    padding: 15px 15px 15px 15px;
    display: block;
}

ul .li-carrito a {
    padding: 15px 30px 15px 15px;   
}

.ul-secciones li a:hover {
    text-decoration: none;
    color: rgb(82, 82, 82);
}

.ul-secciones2 {
    position: absolute;
    left: 0;
    width: 100%;
    min-width: 200px;
    background: white;
    display: none;
    max-height: 250px;
    padding-left: 15px;
    padding-bottom: 5px;
    border-top: solid 0.5px rgb(158, 158, 158);
    border-bottom: solid 4px #FFC72C;
    box-shadow: 0 2px 4px rgb(146, 146, 146);
    font-size: 14px;
}

.ul-secciones2 li {
    display: block;
    background: white;
}

.ul-secciones2 li i {
    padding: 0;
}

.ul-secciones2 li a {
    padding-top: 5px;
    padding-bottom: 5px;
}

.ul-secciones2 li {
    display: flex;
    align-items: center;
}

.ul-secciones2 li a:hover {
    color: green;
    text-decoration: underline;
}

ul li:hover ul {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

ul li i {
    color: #292929;
    float: right;
    padding-left: 20px;
}

.bars-header {
    background: lightgrey;
    color: #292929;
    font-size: 24px;
    padding: 0.6em;
    cursor: pointer;
    display: none;
}



ul li a p {
    margin: 0;
    padding: 0;
}

ul li a h4 {
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

.li-carrito a .imagen-carrito {
    display: block;
}

#texto-carrito-header {
    display: none !important;
}

/* .li-carrito a h4 {
    display: none;
} */



/* COUNT CARRITO */


.count-carrito {
    background-color: #FFC72C;
    min-width: 25px;
    min-height: 25px;
    padding: 0px 10px;
    border-radius: 2px;
    margin-left: 5px;
}

.parent-botones-flotantes {
    position: absolute;
}

.botones-flotantes-contacto {
    position: fixed;
    top: 50vh;
    z-index: 400;
}


.flotante-contante {
    width: 60px;
    height: 60px;
    background-color: rgb(255, 199, 44);
    opacity: 0.7;
    -webkit-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
    box-shadow: 1px 1px 3px rgb(121, 121, 121);
    z-index: 400;
    text-decoration: none;
    color: black;
}

.flotante-contante h4 {
    display: none;
    -webkit-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
    padding-left: 17px;
    margin: 0;
}


.flotante-contante:hover {
    width: 200px;
    opacity: 1;
    text-decoration: none;
    color: black;
}

.flotante-contante:hover h4 {
    display: block;
}

.flotante-whatsapp {
    width: 60px;
    height: 60px;
    margin-top: 10px;
    background-color: #25d366;
    opacity: 0.7;
    -webkit-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
    box-shadow: 1px 1px 3px rgb(121, 121, 121);
    z-index: 400;
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.flotante-whatsapp h4 {
    display: none;
    -webkit-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
    padding-left: 17px;
    margin: 0;
}

.flotante-whatsapp:hover {
    width: 240px;
    opacity: 1;
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.flotante-whatsapp img {
    filter: invert(96%) sepia(59%) saturate(17%) hue-rotate(226deg) brightness(104%) contrast(103%);
}

.flotante-whatsapp:hover h4 {
    display: block;
}





.flotante-formulario {
    width: 60px;
    height: 60px;
    margin-top: 10px;
    background-color: rgb(49, 49, 49);
    opacity: 0.7;
    -webkit-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
    box-shadow: 1px 1px 3px rgb(121, 121, 121);
    z-index: 400;
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.flotante-formulario img {
    filter: invert(96%) sepia(59%) saturate(17%) hue-rotate(226deg) brightness(104%) contrast(103%);
}

.flotante-formulario:hover {
    opacity: 1;
    text-decoration: none;
}

/* .header-secciones .active {
    color: red;
} */



@media (max-width: 1500px) { 
    #form-diagonal input {
        width: 300px;
    }
}

@media (max-width: 1400px) { 
    #form-diagonal input {
        width: 250px;
    }
}

@media (max-width: 1350px) { 
    #form-diagonal input {
        width: 220px;
    }
}

@media (max-width: 1310px) {

    #form-diagonal {
        display: none;
    }

    #diagonal-header-lupa1 {
        display: none;
    }

    #lupaHeader {
        display: none;
    }

    #diagonal-header-lupa2 {
        display: block !important;
    }

    #lupaHeader2 {
        display: block !important;
    }

    #lupaHeaderLi {
        display: block !important;
    }

}


@media (max-width: 1100px) {

    .diagonal-header {
        display: none;
    }

    #lupaHeader2 {
        margin: 0 !important;
    }

    #diagonal-header-lupa2 {
        display: none !important;
    }

    #li-lupa-total {
        display: none !important;
    }


    .header-logo .img1 {
        display: none;
    }
    
    .header-logo .img2 {
        display: block;
    }

    nav {
        position: absolute;
    }

    .header-secciones-color {
        margin-bottom: 65px;
    }

    .bars-header {
          display: block;
    }

    .ul-secciones {
        display: none;
          position: static;
          background: white;
    }

    .ul-secciones2 {
        border: none;
        box-shadow: none;
    }


    .ul-secciones2 li {
        display: flex !important;
        align-items: center !important;
    }

    .ul-secciones ul {
        max-height: none;
    }

    .ul-secciones2 li i {
        display: block !important;
    }

    .texto1 {
        display: none;
    }
    
    .texto2 {
        display: none;
    }

    ul li {
          display: block !important;
    }

    .ul-secciones2 {
          position: static;
          background: white;
    }

    .li-carrito h4 {
        display: block !important;
    }

    .li-carrito .imagen-carrito {
        display: none !important;
    }

    #texto-carrito-header {
        display: block !important;
    }

    .ul-secciones li a {
        color: #292929;
        text-decoration: none;
        padding: 10px 50px 10px 15px;
        display: block;
    }
    
}

@media (max-width: 800px) {
    
    #imagen-mapa-header {
        display: none !important;
    }

}

@media (max-width: 650px) {
    
    #mapa-header {
        display: none !important;
    }

}


@media (max-width: 468px) {

    .header-links {
        justify-content: space-between;
    }

    .header-links a:hover {
        background-color: transparent;
    }

    #telefono-header-links {
        display: none;
    }
    #sucursal-header-links {
        display: none;
    }

    .header-links2 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }


}

.colorback {
    width: 100%;
    height: 1330px;
    background-color: white;
}