@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900&display=swap');

body {
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.relleno_ambos {
    padding-top: 80px;
    padding-bottom: 40px;
}

.image_centro {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#ir_arriba {
    bottom: 80px;
    position: fixed;
    right: 30px;
}

#ir_arriba span {
    background: url("../img/uptotop.png") no-repeat scroll center center;
    display: block;
    height: 48px;
    width: 48px;
    opacity: 0.50;
}

.marker {
    background-image: url('../img/mapbox-icon.png');
    background-size: cover;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
}


/*------------------botones------------*/
.btn_redondo {
    border-radius: 50px !important;
    -ms-border-radius: 50px !important;
    -moz-border-radius: 50px !important;
    -webkit-border-radius: 50px !important;
    -khtml-border-radius: 50px !important;
}

.btn_corporativo {
    letter-spacing: 0.5px;
    padding: 10px 35px;
    display: inline-block;
    border: none;
    transition: all 1s linear !important;
    font-weight: 500;
}

.btn_transparente, .btn_transparente_b, .btn_transparente_n, .btn-dark, .btn_blanco {
    letter-spacing: 0.5px;
    font-weight: 500;
    padding: 10px 35px;
    display: inline-block !important;
    transition: all 1s linear !important;
}

.btn_blanco_movil {
    border: 1px solid #000;
    background-color: transparent;
    color: #000 !important;
    padding: 1px 1px;
    font-size: 0.8em;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.btn-dark_movil {
    letter-spacing: 0.5px;
    font-weight: 500;
    background-color: #000;
    color: white;
    font-size: 0.8em;
}

.btn_transparente_cabecero {
    letter-spacing: 0.5px;
    font-weight: 500;
    display: inline-block;
    transition: all 1s linear !important;
}

.btn_gris {
    letter-spacing: 0.5px;
    font-weight: 500;
    padding: 10px 35px;
    display: inline-block !important;
    border: none;
    background-color: #ddd;
    transition: all 1s linear !important;
}

.btn_gris:hover { background-color: #efefef; }

.btn_volver {
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    padding: 10px 35px;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s, color 0.2s;
}

::placeholder {
    color: #ccc;
}

/*-------idioma cabecero ------------------*/

.idioma_cabecero {
    display: flex;
    justify-content: flex-end;
    margin: 0;
}

.idioma_cabecero li {
    border-right: 1px solid #ccc;
    display: inline-block;
    padding: 0;
    color: #666;
    margin-top: 5px;
    line-height: 100%;
    font-weight: 600;
    font-size: 0.9em;
}

.idioma_cabecero li a {
    color: #666;
    text-transform: uppercase;
    margin: 5px;
}

.idioma_cabecero li a:hover {
    color: #000;
}

.idioma_cabecero li:last-child {
    border-right: none !important;
}

/*--- logo ---*//* Extra small devices (portrait phones, less than 576px)*/
@media (width <= 575.98px){
    
    
}

/* Small devices (landscape phones, 576px and up)*/
@media (576px <= width <= 767.98px) {
  
 
}



@media (max-width: 767.98px) {
    .logo_mover { height: auto; }
}
/* Large devices l (desktops, 992px and up)*/
@media (992px <= width <= 1199.98px)  and (orientation: portrait)  {
    .logo_mover {height: 80px; }
}


/* Extra large devices xl(large desktops, 1200px and up)*/
@media (1200px <= width <= 1399px) {
  .logo_mover {height:80px; }
    
}
/* Extra large devices xl(large desktops, 1400px and up)*/
@media (width >= 1400px){
   .logo_mover {height: 80px; }
    
}




/*--- toggler bars → X ---*/
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler .icon_toggler_close { display: none; }
.navbar-toggler[aria-expanded="true"] .icon_toggler_open  { display: none; }
.navbar-toggler[aria-expanded="true"] .icon_toggler_close { display: inline-block; }

/*--- cabecero: iconos, menu, idiomas ---*/
.dropdown-toggle::after { display: none; }
.zona_iconos_cab { text-align: right; }
.icono_usuario {
    background: transparent;
    border: none;
}

.ico_tienda, .icono_registro {
    display: inline-block;
    font-size: 1.2em;
}
.logo_menu_idiomas_1linea .icono_usuario { color: #666; }
.mi_cuenta a, .ico_tienda a { color: #666; }

/* cabecero index: va sobre imagen, iconos en blanco para contraste */
.cabecero .icono_usuario,
.cabecero .ico_tienda a {
    color: #fff;
}

/* cabecero_index: barra blanca sólida (no va sobre imagen), iconos oscuros */
.cabecero_index {
    position: relative;
    top: auto;
    left: auto;
    background-color: #fff;
    padding: 0;
}

.cabecero_index .icono_usuario,
.cabecero_index .ico_tienda a {
    color: #333;
}

.cabecero_index .idioma_cabecero_index li {
    color: #666;
    border-right-color: #ccc;
}

.cabecero_index .idioma_cabecero_index li a {
    color: #666;
}

.cabecero_index .navbar-toggler i {
    color: #333;
}

.badge {
    display: inline-block;
    min-width: 10px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
    text-align: center;
    border-radius: 50px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 10px !important;
}

.cabecero{ margin-top: 8px;}
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /*  height: 60px;*/
    padding: 0 5%;
    text-align: left;
    z-index: 100;
}




.idioma_cabecero_index { text-align: left; padding-left: 0; margin-bottom: 0; }

.idioma_cabecero_index li {
    border-right: 1px solid #666;
    display: inline-block;
    padding: 0;
    color: #fff;
    font-size: 0.8em;
}

.idioma_cabecero_index li a {
    color: #ccc;
    text-transform: uppercase;
    margin: 5px 8px 5px 5px;
}

.sin_dcha {
    border-right: none !important;
}

.dropdown-toggle::after {
    display: none;
}

/* menu escritorio: flecha propia para items con dropdown (sin tocar class.Menu.php).
   Se usa ::before (no ::after) porque #menu_principal .nav-link::after ya está
   ocupado por la barra de subrayado del hover (custom.scss); reutilizar ::after
   aquí pisaba esa barra solo en los items con dropdown. */
#menu_principal .dropdown-toggle {
    display: inline-flex;
    align-items: center;
}

#menu_principal .dropdown-toggle::before {
    content: "";
    order: 1;
    display: inline-block;
    width: 0.45em;
    height: 0.45em;
    margin-left: 0.4em;
    border-right: 0.14em solid currentColor;
    border-bottom: 0.14em solid currentColor;
    transform: rotate(45deg);
    transition: transform 250ms ease-in-out;
}

#menu_principal .dropdown-toggle[aria-expanded="true"]::before {
    transform: rotate(225deg);
}

.dropdown-item {
    padding: 0;
}

.dropdown-item a {
    display: block;
    padding: .45rem 1rem;
}

#menu_principal .dropdown-item a{font-size: 1.1em;}
#menu_principal .nav-link {
    font-size: 1.2em;
    padding-left: 1rem;
    padding-right: 1rem;
    transition: all 500ms ease-in-out;
}
  #menu_principal .nav-link:hover {
      letter-spacing: 0.5px;
    }

/* el dropdown ahora tambien se abre con hover (ver layout.js): quita el marco de foco del
   navegador siempre, y lo restituye solo cuando se navega con teclado (:focus-visible) */
#menu_principal .dropdown-toggle:focus {
    outline: none;
    box-shadow: none;
}

#menu_principal .dropdown-toggle:focus-visible {
    outline: 2px solid;
    outline-offset: 2px;
}

#menu_principal .dropdown-item a:active{ background-color: #fff!important;}
.dropdown-item {
    display: block;
}

.dropdown-item a:hover {
    display: block;
}

.dropdown-menu {
    padding: 0;
}

/*----------------- servicios acordeón -------------------*/

#servicios_acordeon {
    background-color: #fff;
}

#servicios_acordeon .relleno {
    padding: 10%;
}

#servicios_acordeon .sobre_titulo {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

#servicios_acordeon h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 100%;
    color: #000;
}
#servicios_acordeon .card-body img {
    max-width: 100%;
    height: auto;
}

#servicios_acordeon .imagen_servicios_acordeon {
    background-size: 100% auto;
    background-position: top center;
    background-repeat: repeat-y;
    min-height: 400px;
}

#servicios_acordeon #accordion {
    margin-top: 30px;
}

#servicios_acordeon #accordion .card {
    margin-bottom: 8px;
}

#servicios_acordeon #accordion .icono i {
    padding-right: 15px;
    text-align: right;
}

#servicios_acordeon #accordion .btn-link {
    color: #032e42;
    font-size: 0.7em;
    font-weight: 500;
    white-space: normal !important;
    padding: 0;
    text-align: left !important;
    text-decoration: none;
}

#servicios_acordeon #accordion .btn-link:focus,
#servicios_acordeon #accordion .btn-link:active {
    box-shadow: none;
    outline: none;
}

#servicios_acordeon #accordion .card-body {
    padding: 33px;
    font-size: 0.9em;
}

#servicios_acordeon #accordion .card-body img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
}

@media (max-width: 575px) {
    #servicios_acordeon .relleno {
        padding: 0;
    }
}

@media (max-width: 767.98px) {
    #servicios_acordeon .imagen_servicios_acordeon {
        min-height: 260px;
    }
}

/* -------------------- DROPDOWN TIENDA --------------------- */
.mi_cuenta {
    margin-bottom: 0;
    position: relative;
}

.mi_cuenta .dropdown-menu {
    position: absolute;
    -webkit-box-shadow: 0 5px 10px #333;
    box-shadow: 0 5px 10px #333;
}

.mi_cuenta .dropdown-menu li {
    font-size: 0.9em;
    display: block;
}

.mi_cuenta .dropdown-menu li a {
    padding: 8px 10px;
    font-weight: 400;
    display: block;
    border-bottom: 1px dotted #ccc;
    color: #666;
}

.mi_cuenta .dropdown-menu li a:hover {
    color: #000 !important;
    background-color: #f2f2f2;
}

.mi_cuenta .dropdown-menu .nombre {
    padding: 8px 10px;
    color: #000;
    font-style: oblique;
    font-weight: 500;
}

.mi_cuenta .dropdown-toggle::after {
    display: none;
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    .logo_menu_idiomas_1linea .navbar-brand { margin-right: 0 !important; }

    .btn_reserva {
        width: 100%;
    }

    .navbar.fixed-top {
        position: inherit !important;
    }

    #menu_principal {
        text-align: center;
    }

    #menu_oculto {
        width: 100%;
        right: -570px;
        top: 0;
    }

    .dropdown-menu {
        text-align: center;
    }

    .navbar-toggler {
        margin-top: 5px;
        display: block;
    }

    .navbar-toggler i {
        color: #fff;
    }

    #menu_principal .nav-link {

        text-align: center;
        border-radius: 0;
    }

    .logo_menu_idiomas_1linea .dropdown-menu.show .dropdown-item {
        text-align: center;
    }

    .datos_cabecero {
        justify-content: center;
    }

    .datos_cabecero a {
        display: inline-block;
        font-size: 1em;
        padding-left: 8px;
        color: #012A5E;
        line-height: 100%;
    }

    .datos_cabecero a:hover {
        color: #000;
    }

    .icon_cab {
        display: inline-block;
        vertical-align: 15px;
        font-size: 1.3em;
        color: #012A5E;
    }

    .zona_logo_tel img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .main-title {
        padding-bottom: 0;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
    .logo_menu_idiomas_1linea .navbar-brand { margin-right: 0 !important; }
    .btn_reserva { width: 100%; }

    #menu_principal { text-align: center; }

    #menu_oculto { top: 0; }

    .dropdown-menu { text-align: center; }

    .logo_menu_idiomas_1linea .menu_principal .nav-link {
        text-align: center;
        border-radius: 0;
    }

    .logo_menu_idiomas_1linea .dropdown-menu.show .dropdown-item {
        text-align: center;
        padding: 0 !important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    .logo_menu_idiomas_1linea .navbar-brand { margin-right: 0 !important; }
    .datos_menu_oculto {
        width: inherit;
        padding: 2% 5%;
    }

    #menu_oculto {
        top: 0;
    }

    .navbar.fixed-top {
        position: inherit !important;
    }

    #menu_principal {
        text-align: center;
    }

    .dropdown-menu {
        text-align: center;
    }

    .logo_menu_idiomas_1linea .menu_principal .nav-link {
        text-align: center;
        border-radius: 0;
        transition: all 500ms ease-in-out;
    }
      

    .logo_menu_idiomas_1linea .dropdown-menu.show .dropdown-item {
        text-align: center;
    }

    .main-title {
        max-width: 300px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
    .navbar.fixed-top {
        position: inherit !important;
    }

    #menu_principal {
        text-align: center;
    }

    .dropdown-menu {
        text-align: center;
    }

    .navbar-toggler {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

/* ------------- teaser --------------- */
.texto_presentacion_imagen_g .texto_pres {
    line-height: 130%;
    text-align: left;
}

.texto_presentacion_imagen_g h2 {
    font-style: italic;
    color: #333;
    font-size: 2.8em;
    font-weight: 600;
    text-align: left;
}

.texto_presentacion_imagen_g blockquote {
    font-size: 1.2em;
    font-weight: 400;
    color: #555;
    line-height: 140%;
}

.texto_presentacion_imagen_g img {
    border-radius: 50%;
    box-shadow: rgba(50, 50, 93, 0.25) 0 30px 60px -12px, rgba(0, 0, 0, 0.3) 0 18px 36px -18px;
}

.fondo_corporativo b {
    font-weight: 500;
}

/*-----------------titulares -----------------------------*/
.titulares_sobretitular_bloque h2 {
    font-style: italic;
    color: #333;
    font-size: 3.2em;
    font-weight: 500;
}

.titulares_sobretitular_bloque .sobretitular {
    font-size: 2.4em;
    font-family: 'Satisfy', cursive;
}

/*---------- contacto enviado --------------*/
#zona_mensaje p { font-size: 1.2em; color: #000; text-align: center; }
#zona_mensaje .datos h2 { text-align: center; color: #000; }

.fondo_bloque_mensaje { background-color: #2098d120; color: #333; border-radius: 15px; }
.fondo_bloque_mensaje span { font-weight: 600; display: block; font-size: 1.2em; }

/*--------------newsletter---------------------*/
.newsletter h2 { color: #fff; font-size: 2.4rem; }
/*.newsletter p { color: rgba(255, 255, 255, .8); font-size: 1.1rem; }*/
.newsletter p { color: #FAFFF5; font-size: 1.1rem; }
.newsletter form { max-width: 520px; margin: 0 auto; }

.newsletter .newsletter-input {
    flex-grow: 1;
    border-radius: 50px !important;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, .3) !important;
    background: rgba(255, 255, 255, .18) !important;
    color: #fff !important;
}
.newsletter .newsletter-input::placeholder { color: #ffffff90; }

.newsletter .politica_news { color: #FAFFF5 !important; margin-left: 5px; font-size: 0.85em; transition: all 500ms linear; }
.newsletter .politica_news:hover { letter-spacing: 1px; }

.newsletter .form-check { text-align: left; }

/*----------------------- banda cita ---------*/
.banda_cita_claro {
    background-color: rgba(201, 168, 76, .05);
}

.banda_cita .container {
    max-width: 60rem;
}

.banda_cita .icono {
    font-size: 4rem;
}

.banda_cita .texto {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-style: italic;
    line-height: 1.4;
}

.banda_cita .autor {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .875rem;
    font-style: italic;
}

.banda_cita .eyebrow_barra {
    height: 1px;
    width: 1.5rem;
    flex-shrink: 0;
}

/*--------------generales--------------------*/

/* Small devices (landscape phones, 576px and up) */
@media (576px <= width <= 767.98px) {
    .relleno_ambos {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/*-------------------------------footer------------------------------*/

.titular_pie {
    font-size: 1.3125rem;
    padding-bottom: 10px;
    color: #2098d1;
    font-weight: 900;
    margin-top: 35px;
}

.contacto_pie_destacado {
    background-color: rgba(255, 255, 255, .06);
    border-left: 3px solid #2098d1;
    border-radius: 4px;
    padding: 5px 25px;
}

.contacto_pie_destacado .titular_pie {
    margin-top: 15px;
    font-size: 1.5rem;
    text-align: center;
}

.datos_oficina_central {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding-bottom: 15px;
}

.datos_oficina_central .dato_oficina {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 200px;
    max-width: 260px;
}

.datos_oficina_central .dato_oficina p {
    margin-bottom: 0;
}

.datos_oficina_central .especial,
.datos_oficina_central .especial2,
.datos_oficina_central .especial3 {
    float: none;
    height: auto;
    width: auto;
    margin: 0 0 8px;
}

.delegaciones_pie {
    margin-top: 10px;
    row-gap: 20px;
}

.delegaciones_pie .contacto_pie .titular_pie {
    font-size: 1.0625rem;
    margin-top: 0;
}

.titular_pie2 {
    font-size: 1.0625rem;
    padding-top: 10px;
    padding-bottom: 5px;
    color: #fff;
    font-weight: 700;
}

.sellos_calidad {
    margin-top: 20px;
}

.especial,
.especial2 {
    color: #2098d1;
    font-size: 1.3125rem;
    float: left;
    width: 30px;
}

.especial {
    margin-top: -5px;
    height: 30px;
}

.especial2 {
    margin-top: -3px;
    height: 53px;
}

.especial3 {
    height: 105px;
}

/*------ firma -----*/
#bloque_firma {
    padding-top: 8px;
    font-size: 0.8em;
}

#bloque_firma a {
    color: #666;
}

#bloque_firma a:hover {
    color: #000;
}

.firma {
    text-align: right;
}

/*----- media queries pie y firma -----*/

/* Extra small devices (portrait phones, less than 576px) */
@media (width <= 575.98px) {
    .aviso, .firma {
        text-align: center;
    }

    .area_pie {
        margin-bottom: 15px;
        margin-top: 40px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (576px <= width <= 767.98px) {
    .aviso, .firma {
        text-align: center;
    }
}

/* Large devices (desktops, 992px and up) */
@media (992px <= width <= 1199.98px) {
    .zona_logo_pie {
        margin-top: -7px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (1200px <= width <= 1399px) {
    .zona_logo_pie {
        margin-top: -7px;
    }
}

/* Extra large devices (large desktops, 1400px and up) */
@media (width >= 1400px) {
    .zona_logo_pie {
        margin-top: -7px;
    }
}
/*------------------------- subvenciones ----------------------------------*/
#subvenciones .logo_dcha {text-align: right;}
/*---------------------sweetalert2 pisado-------------------*/

.swal2-styled.swal2-confirm { background-color: #2098d1; border-left-color: rgb(100, 124, 4); border-right-color: rgb(100, 124, 4); }
.swal2-title { color: #2098d1 !important; }
.swal2-html-container { font-size: 1.2em; font-weight: 400 !important; }
.swal2-html-container strong { font-weight: 400 !important; }