/* FUENTES */
* {font-family: 'Open Sans', sans-serif;}

/* ENLACES Y BOTONES */
/*.btn {
    border-radius: 0;
}*/

/* COLORES */
/*.tx-grey,
.tx-grey:focus,
.tx-grey:active,
.th-grey:hover {
    color: grey;
}
.bg-grey,
.bh-grey:hover {
    background-color: grey;
}*/

/* FORMULARIOS */
/*.form-control {
    border-color: black;
    border-radius: 0;
    box-shadow: 0;
    background-color: white;
    color: black;
}
.form-control::-moz-placeholder {
    color: black;
}
.form-control:-ms-input-placeholder {
    color: black;
}
.form-control::-webkit-input-placeholder {
    color: black;
}*/

/* VARIOS */
/*hr {
    border-color: black;
}*/

/* MENU */
.menuOpen > nav {
    display: block!important;
}
.menu {
    text-align: center;
}
.menu .menu-elem .menu-sub {
    margin-left: 5px;
}
@media all and (min-width: 992px) {
    .menu .menu-root {
        display: none;
    }
    .menu .nav1 {
        font-size: 16px;
        text-align: right;
    }
    .menu .nav2, .menu .nav3 {
        min-width: 100%;
        background-color: white;
        position: absolute;
        z-index: 50;
        white-space: nowrap;
        font-size: 14px;
        display: none;
    }
    .menu .nav2 {
        top: 100%;
        left: 0;
    }
    .menu .nav3 {
        top: 0;
        left: 100%;
    }
    .menu .menu-elem {
        position: relative;
    }
    .menu .nav1 > .menu-elem {
        padding-left: 17px;
        padding-right: 17px;
        border: 2px solid transparent;
        display: inline-block;
        vertical-align: bottom;
        position: relative;
    }
    .menu .nav1 > .menu-elem:first-of-type{
        padding-left: 0;
    }
    .menu .nav1 > .menu-elem:last-of-type{
        padding-right: 0;
    }
    .menu .nav1 > .menu-elem > .menu-link {
        color: #36688a;
    }
    .menu .nav1 > .menu-elem:hover > .menu-link {
    }
    .menu .nav1 > .menu-elem hr{
        width: 0%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 2px;
        margin-bottom: 0;
        border-top: 1px solid transparent;
    }
    .menu .nav1 > .menu-elem-activo hr{
        width: 50%;
        border-top: 1px solid #36688a;
    }
    .menu .nav1 > .menu-elem:hover hr{
        border-top: 1px solid #36688a;
    }
    .menu .nav1 > .menu-elem-activo > .menu-link {

    }
    .menu .nav2 .menu-elem {
        line-height: 32px;
        padding: 0 15px;
    }
}
@media all and (max-width: 991px) {
    .menu {
        white-space: nowrap;
        position: absolute;
        top: 68px;
    }
    .menu-fixed .menu {
        top: 22px;
    }
    .menu .menu-root {
        color: #36688a;
        text-transform: uppercase;
        display: inline-block;
    }
    .menu nav {
        display: none;
    }
    .menu .nav1 {
        min-width: 100%;
        padding-top: 10px;
        background-color: white;
        font-size: 14px;
        position: absolute;
        z-index: 50;
        top: 45px;
        left: -10px;
        border-radius: 8px;
        border: 1px solid #DDE2E5;
    }
    .menu .menu-elem {
        line-height: 24px;
        padding: 0 15px;
    }
    .menu .menu-elem hr{
        margin-top: 1px;
        margin-bottom: 1px;
        border-bottom: 1px solid transparent;
    }
    .menu .menu-elem .menu-link{
        color: #36688a;
    }
    /*    .menu .menu-elem .menu-link:before {
            content: '• ';
        }*/
    .menu .nav2 .menu-elem {
        padding-left: 25px;
    }
}

/* ESTRUCTURA */

.container990{
    width: 990px;
    max-width: 100%;
}

.containerRegueiro{
    width: 100%;
    max-width: 1440px;
}

header #header-logo,
header #header-idiomas,
header #header-redes,
header #header-login {
    display: inline-block;
    vertical-align: middle;
}
#header-top{
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: white;
}
#header-top .col-dcha{
    padding-top: 28px;
}
#header-top .col-dcha a,
#header-top .col-dcha a span,
#header-top .col-dcha #perfilUsuario{
    display: inline-block;
    vertical-align: middle;
}
#header-top .col-dcha a + a,
#header-top .col-dcha #perfilUsuario{
    /* margin-left: 16px; */
}
#header-top .col-dcha #carritoUsuario{
    display: inline-block;
    vertical-align: middle;
}
#header-top .col-dcha a + a,
#header-top .col-dcha #carritoUsuario{
    margin-left: 16px;
}
#header-top .col-dcha a span + span{
    margin-left: 5px;
}
#header-top .icono{
    width: 43px;
    height: 43px;
    /*border: 3px solid #36688a;*/
    background-color: white;
    color: #36688a;
    font-size: 29px;
    line-height: 37px;
    text-align: center;
}
#header-top .icono.destacado{
    color: #f03a3a;
    /*border: 3px solid #f03a3a;*/
}
#header-top .icono.fa-phone{
    font-size: 32px;
    line-height: 42px;
}
#header-top a:hover .icono{
    /*border: 3px solid #9f9f9f;*/
    color: #9f9f9f;
}
#header-top a .tlf{
    color: #36688a;
    font-size: 21px;
}
#header-top a:hover .tlf {
    color: #9f9f9f;
}
#header-top #perfilUsuario{
    cursor: pointer;
}
#header-top #carritoUsuario{
    cursor: pointer;
}
#header-top #nombreUsuario{
    color: #36688a;
    font-weight: 600;
    width: 140px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
}
#header-top #menuUsuario {
    position: absolute;
    top: 1px;
    z-index: 50;
    display: none;
    width: 165px;
    margin-top: 20px;
    
}
#header-top #menuUsuario > div{
    margin-top: 20px;
    background-color: white;
    color: #386688;
    text-align: left;
    border-radius: 8px;
    border: 1px solid #DDE2E5;
}
#header-top #menuUsuario a {
    display: block;
    width: 100%;
    color: #386688;
    line-height: 30px;
    margin-left: 0;
    padding: 5px;
    border-bottom: 1px solid #DDE2E5;
    box-sizing: border-box;
}
#header-top #menuUsuario a:last-of-type {
    border-bottom: none;
}
#header-top #menuUsuario a:hover .user-texto{
    text-decoration: underline;
}
#header-top #menuUsuario a img {
    margin-left: 15px;
}
#header-top #menuUsuario a span{
    vertical-align: middle;
    padding-left: 3px;
}
#header-top #menuUsuario .fa{
    width: 15px;
    font-size: 18px;
}
#header-top #divUsuario:hover #menuUsuario{
    display: block;
}

#header-top #menuCarrito{
    position: relative;
}
#header-top #usuario-numProductos{
    width: 16px;
    height: 16px;
    border-radius: 8px;
    background-color: #f03a3a;
    color: white;
    font-size: 9px;
    font-weight: 700;
    text-align: center;
    line-height: 14px;
    position: absolute;
    right: -5px;
    top: 25px;
}
#header-top #header-cookies{
    width: 100%;
    padding: 15px;
    background-color: white;
    border-top: 1px solid #36688a;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 2;
    text-align: center;
}


#header-top,
#header-top #header-logo img,
#header-top.top-peq .icono,
#header-top.top-peq #nombreUsuario,
#header-top.top-peq .icono.fa-phone,
#header-top.top-peq a:hover .icono,
#header-top.top-peq a .tlf{
    transition: all 0.2s ease 0s;
}
#header-top.top-peq{
    padding-top: 10px;
    padding-bottom: 10px;
}
#header-top.top-peq .col-dcha {
    padding-top: 7px;
}
#header-top.top-peq #header-logo img{
    height: 48px;
}
#header-top.top-peq #header-logo #logo1{
    display: none;
}
#header-top.top-peq #header-logo #logo2{
    display: block;
}
#header-top.top-peq .icono{
    width: 34px;
    height: 34px;
    font-size: 26px;
    line-height: 30px;
}
#header-top.top-peq #nombreUsuario{
    display: none;
}
#header-top.top-peq .icono.fa-phone{
    font-size: 28px;
    line-height: 34px;
}
#header-top.top-peq a .tlf{
    font-size: 18px;
}


#header-bottom{
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #dbe2e8;
}
#header-bottom .buscador-container {
    padding: 15px;
}
#header-bottom .buscador-container div {
    background-color: white;
}
header #bordeinf{
    height: 12px;
    background-color: rgba(54,104,138,0.3);
    position: relative;
    z-index: 10;
}

.contacto-menu {
    width: 100%;
    height: 45px;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #36688a;
    color: white;
    text-align: right;
    line-height: 15px;
}

.contacto-menu a {
    padding-right: 20px;
    color: white;
}

.buscador-container {
    display: flex;
    align-items: center;
    gap: 10px;
}
#header-bottom .buscador-container {
    display: none;
}
.acciones-usuario{
    display: flex;
    align-items: center;
    gap: 10px;
}
.div-busqueda {
    border-radius: 8px;
    border: 1px solid #D7E0E7;
    text-align: left !important;
}

.div-select {
    border-radius: 8px;
    border: 1px solid #D7E0E7;
}
#login-cliente {
    display: flex;
    align-items: center;
    gap: 10px;
}
#busc-btn  {
    height: 43px;
}
#busc-btn {
    padding-top: 10px;
}

.boton-user {
    color: #36688a;
    height: 40px;
    padding: 7px 10px;
    align-items: center;
    border-radius: 16px;
    border: 1px solid #376688;
    display: flex;
    
}

footer{
    width: 100%;
    height: 45px;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #36688a;
    color: white;
    font-size: 12px;
    line-height: 15px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1;
}
footer .icono-scroll{
    width: 54px;
    height: 54px;
    padding: 10px;
    background-color: rgba(54,104,138,0.7);
    color: white;
    font-size: 32px;
    line-height: 29px;
    text-align: center;
    display: none;
    position: absolute;
    right: 15px;
    top: -110px;
}
footer .icono-scroll:hover{
    /*border: 2px solid rgba(54,104,138,0.7);*/
    background-color: rgba(255,255,255,0.7);
    color: #36688a;
    line-height: 25px;
    text-decoration: none;
}
footer a{
    color: white;
}
footer a:hover{
    color: white;
    text-decoration: underline;
}
footer a,
footer .cuadrado{
    display: inline-block;
    vertical-align: bottom;
}
footer .cuadrado{
    width: 7px;
    height: 7px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 3px;
    background-color: white;
}


.menu-fixed {
    width: 100%;
    position: fixed!important;
    z-index: 10;
    top: 0;
    left: 0;
}
body{    
    height: 100vh;
}
section{
    margin-bottom: 200px;
}
.nowrap{
    white-space: nowrap;
}

/* SELECT */
.select-group{
    position: relative;
}
.select-group .form-control{
    height: 43px;
    padding: 10px;
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    background-color: white;
    border: none;
    border-radius: 0;
    color: #666666;
    padding-right: 30px;
    font-size: 14px;
}
.select-group .fa{
    color: #36688a;
    font-size: 20px;
    position: absolute;
    right: 10px;
    top: 12px;
    z-index: 1;
}

/* INPUT */
input{
    color: #666666;
}

/* FORM */
form .form-control{
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #ccc;
    box-shadow: none;
    -webkit-box-shadow: none;
    font-size: 14px;
    font-weight: 500;
}
form textarea{
    border: 1px solid #ccc !important;
}
form #captcha{
    margin-top: 20px;
}
form .fa-refresh{
    color: #36688a;
}
form .fa-refresh:hover{
    color: #9f9f9f;
}
form .checkbox{
    color: #36688a;
}
form .checkbox a{
    margin-top: 4px;
    color: #36688a;
    text-decoration: underline;
    display: inline-block;
}
form .checkbox a:hover{
    color: black;
    text-decoration: underline;
}
form .btn{
    padding: 15px 30px;
    border: 1px solid #36688a;
    border-radius: 0;
    background-color: white;
    color: #36688a;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}
form .btn:hover{
    border: 1px solid #9f9f9f;
    color: #9f9f9f;
}
.ui-autocomplete {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;         
    z-index: 1000 !important;
    box-sizing: border-box;
}
.ui-autocomplete.ui-widget-content  {
    background-color: white;
}


@media(max-width: 991px){
    .select-group .form-control {
        padding-right: 20px;

    }
    #header-top .buscador-container {
        display: none;
    }
    #header-bottom .buscador-container {
        display: flex;
    }
    #header-top .col-dcha .row {
        float: right;
    }
    .div-busqueda {
        display: flex;
    }
    .div-busqueda #busqueda{
        padding-left: 10px;
    }

    #header-top{
        padding-top: 10px;
        padding-bottom: 10px;
    }
    #header-top #header-logo {
        margin-left: 40px;
    }
    #header-top #header-logo img{
        max-width: 145px;
    }
    #header-top .icono{
        width: 34px;
        height: 34px;
        font-size: 26px;
        line-height: 30px;
    }
    #header-top .col-dcha{
        padding-top: 7px;
    }
    #header-top .icono.fa-phone{
        font-size: 28px;
        line-height: 34px;
    }
    #header-top a .tlf{
        font-size: 28px;
    }
    #header-bottom{
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .contacto-menu {
        padding-top: 15px;
        padding-bottom: 10px;
    }
    
    .ui-autocomplete {
        width: 95vw !important;
    }
}
@media(max-width: 767px){
    footer{
        height: auto;
        position: static;        
    }
    #header-top #nombreUsuario{
        display: none;
    }
    #header-top #menuUsuario {
        left: -54px;
    }
}
@media(min-width: 540px){
    #header-top #header-logo #logo2{
        display: none;
    }
}
@media(max-width: 539px){
    /*
    #header-top .col-izq{
        width: 90px;
    }
    #header-top .col-dcha{
        width: calc(100% - 80px);
    }
    */
    #header-top #header-logo #logo1{
        display: none;
    }
    #header-top #header-logo #logo2{
        display: block;
    }
    footer .text-right{
        text-align: center!important;
    }
}
@media(max-width: 240px){
    #header-top #header-logo{
        display: none;
    }
    #header-top .col-dcha{
        width: 100%;
    }
}

#busqueda, #busquedaBottom {
    width: 100%;
  height: 43px;
    padding-left: 50px;
    border-radius: 8px;

}

.div-busqueda.col20 {
    position: relative;
    padding: 0px;
}

.div-busqueda #busc-btn {
    position: absolute;
    left: 15px;
}

.ui-state-focus {
    background:#36688a !important;
}
.div-busqueda .cargando,
.referencia .cargando {
    display:none;
}
.div-busqueda.cargando .cargando,
.referencia.cargando .cargando {
  width: 30px;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.75);
  background-image: url('../images/loading.gif');
  background-repeat: no-repeat;
  background-position: center center;
  position: absolute;
  z-index: 10000;
  top: 6px;
  left: 0;
  display: block;
  padding-top: 15px;
  left: 12px;
}

.div-busqueda.cargando #busc-btn ,
section #section-bottom .referencia.cargando .fa {
    display:none;
}