/* IMPORTACIONES GOOGLE FONTS API
-------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');



/* ARREGLOS AL HEADER
-------------------------------------------------------- */

:focus{
    outline: 0px !important;
}
#menu-header-menu{
    display: none;
}
.title-area{
    display: none !important;
    padding: 0px !important;
}
.site-header{
    top: 0px !important;
    background-color: #000000;
}
.site-header .wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Usa 'row' si prefieres que los elementos estén en línea */
    
}

.nav-primary{
    padding-bottom: 0px !important;
}

.nav-primary .wrap, .title-area {
    flex: 0 1 auto;
    text-align: center;
}
.nav-primary .wrap {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
}

.nav-primary .wrap ul {
    padding-left: 0; 
    width: 70%; 
    justify-content: center; 
    margin-bottom: 20px; 
}

.nav-primary .wrap ul li {
    margin: 0 10px; /* Ajusta el espacio entre los elementos del menú según sea necesario */
}

.site-header a span,
.site-header a span:hover,
.site-header a span:visited,
.site-header a span:focus,
.site-header a span:active {
    color: #fff !important;
    font-family: 'Raleway', sans-serif;
    line-height: normal; /* O ajusta a una altura de línea específica si es necesario */
    /* line-height: 100px !important; */
    font-weight: 700;
    transition: color ease .2s;
    display: inline-block;
    padding: 0 15px;
    font-size: 12px;
    outline: none !important;
    border: none !important;
}

.site-header ul li a span:hover,
.site-header ul li a span:active{
    color: #d3d3d3 !important;
    text-decoration: underline !important ;
    
}
.genesis-nav-menu a {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}
.site-header .wrap > *:not(.menu-image) {
    display: none !important;
}

.site-header .menu-image {
    display: block !important;
    text-align: center; /* Centra la imagen si es más pequeña que el ancho completo */
}

.site-header .menu-image img {
    max-width: 80%; /* Asegura que la imagen no sobrepase el ancho del contenedor */
    height: auto; /* Mantiene la proporción de la imagen */
    margin: 20px;
}






/* IMAGEN GIGANTE DE SC TATOO
-------------------------------------------------- */
.menu-image img {
    max-width: 100%; /* Hace que la imagen sea responsiva */
    /*height: auto; Mantiene la proporción de la imagen */
    height: 140px;
    display: block; /* Evita que la imagen sea inline */
    margin: 0 auto; /* Centra la imagen horizontalmente */
}


/* ICONOS INSTAGRAM FACEBOOK
-------------------------------------------------- */
/* Contenedor de los iconos de redes sociales */
.social-icons {
    text-align: center; 
    margin: 40px 0 0 -30px !important;
}

/* Estilos para los enlaces de redes sociales */
.social-icons a {
    color: #fff; /* Cambia este color según el esquema de color de tu sitio */
    display: inline-block;
    transition: color 0.3s ease;
    margin: 0 0 0 9px;
    color: #d3d3d3;
    font-size: 16px;
}

/* Cambia el color de los iconos al pasar el ratón */
.social-icons a:hover {
    color: #666; 
}

/* Estilo para los iconos de FontAwesome */
.fa-facebook-f, .fa-instagram {
    font-size: 19px; 
}



/* FORMULARIO
---------------------------------------------------------- */

.site-inner {
    padding-bottom: 60px;
    /* max-width: 100% !important; */
    /* font-family: 'Roboto'; */
    font-family: 'Montserrat', sans-serif;
}
.content{
    float: none;
    margin: 0 auto !important;
}
.gform_required_legend{
    display: none;
}
.gform_wrapper {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2); /* Sombra más pronunciada para el formulario */
    border-radius: 10px; /* Bordes redondeados */
    background-color: #fff; /* Fondo blanco para el formulario */
    padding: 40px; /* Espaciado interno para el formulario */
    /* margin: 20px; /*Margen externo, por si se reduce la pantalla */
    /* overflow-y: scroll !important; 
    overflow-x: hidden !important; */
    -webkit-overflow-scrolling: touch !important; /* Desplazamiento suave en dispositivos iOS y Android */
    text-align: justify;
}

.gfield_label {
    margin-bottom: 10px; /* Espacio entre el texto del label y el input */
    display: block; /* Asegura que el label ocupe su propia línea */
    color: #333; /* Color oscuro para el texto del label para mejor contraste */
    font-size: 16px !important; /* Tamaño de fuente adecuado para los labels */
    text-align: justify;
}
.gfield_consent_label, /* Asume que esta es la clase para los labels de las secciones "DECLARO" */
.gform-field-label--type-inline,
.gfield_html,
.gfield_html_formatted { /* Asume que esta clase adicional también podría aplicarse */
    font-size: 17px !important; /* Ajusta el tamaño de fuente según necesites */
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
    width: 100%; /* Ancho completo para aprovechar el espacio */
    padding: 12px; /* Espaciado interno para escribir cómodamente */
    margin-bottom: 20px; /* Espacio después de cada input/select */
    border: 1px solid #ccc; /* Borde sutil */
    border-radius: 5px; /* Bordes suavemente redondeados para los input */
    box-sizing: border-box; /* El padding y border se incluyen en el ancho total */
}

.gform_button {
    background-color: #4CAF50; /* Un verde llamativo para el botón de envío */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.gform_button:hover {
    background-color: #45a049; /* Un tono de verde un poco más oscuro al pasar el mouse */
}

.gfield_html_formatted {
    max-height: 300px !important; /* Altura máxima del contenedor antes de mostrar el desplazamiento */
    /*
    overflow-y: scroll !important; // Habilita el desplazamiento vertical 
    overflow-x: hidden !important; // Desactiva el desplazamiento horizontal 
    */
    -webkit-overflow-scrolling: touch !important; /* Desplazamiento suave en dispositivos iOS y Android */
    /* padding-right: 15px;  */
    /* border: 1px solid #ccc !important; */
    /* padding: 10px;  */
    position: relative;
}


.gfield_html_formatted::-webkit-scrollbar {
    height: 5px; /* At least not zero */
}

.gfield_html_formatted::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .3); /* Or any other instruction making the element visible */
}


.gfield_html_formatted div{
    /* margin: 20px ; */
}

.gform-theme--framework input[type=checkbox]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):before{
    color:black !important;
    
}
body .gform_wrapper .ginput_container_consent input[type='checkbox']:focus,
body .gform_wrapper .ginput_container_consent input[type='checkbox']:hover {
    outline: none !important;
    box-shadow: none !important;
    border-color: #333333 !important;
}

body .gform_wrapper .ginput_container_consent input[type='checkbox']:checked:focus,
body .gform_wrapper .ginput_container_consent input[type='checkbox']:checked:hover {
    outline: none !important;
    border-color: #333333 !important;
    box-shadow: none !important;
}
.gform-theme--framework .gfield:where(.gfield--type-fileupload,.gfield--input-type-fileupload) .gform_drop_area:before{
    color: #333333 !important;
}
.button,
.button:focus,
.button:hover{
    --gf-local-bg-color: #333333 !important;
    box-shadow: none !important;
    border: 0px !important;
}
#gform_submit_button_1{
    margin: 0 auto;
}
.gform-theme--framework .gform_validation_errors .gform_submission_error,
.gform-theme--framework .gfield_validation_message {
    color: rgba(171, 32, 32, 0.816) !important;
}




/* Estilos para el contenedor principal */
.scroll-container {
    position: relative;
    width: 100%;
    height: 300px; /* Ajusta la altura según tus necesidades */
    border: 1px solid #ccc; /* Borde opcional para visualizar el contenedor */
    overflow: hidden; /* Oculta el desbordamiento para mantener el diseño limpio */
    border-radius: 5px; /* Bordes redondeados opcionales */
}

/* Estilos para las flechas de desplazamiento */
.scroll-up, .scroll-down {
    /* display: none; */
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 15px;
    cursor: pointer;
    background-color: rgba(240, 240, 240, 0.8); /* Fondo semitransparente */
    padding: 5px 0;
    user-select: none; /* Evita que el texto sea seleccionable */
}

.scroll-up {
    top: 0;
}

.scroll-down {
    bottom: 0;
}

/* Estilos para el contenido desplazable */
.contenido {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    overflow-y: auto;
    position: absolute;
    top: 40px; /* Altura de la flecha superior */
    bottom: 40px; /* Altura de la flecha inferior */
    left: 0;
    right: 0;
    padding: 10px;
    overflow-y: auto; /* Permite el desplazamiento vertical */
}

/* Estilos para la barra de desplazamiento (opcional) */
.content::-webkit-scrollbar {
    width: 8px;
}

.content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.content::-webkit-scrollbar-thumb:hover {
    background: #555;
}






/* CAMPO FECHA GRANDE
----------------------------------------------------------- */
#input_1_8{
    inline-size: 100%;
}

/* FOOTER
----------------------------------------------------------- */
#custom-footer {
    background-color: #262626; /* Fondo negro, ajusta según tu diseño */
    color: #fff; /* Texto en blanco */
    padding: 20px 0; /* Añade el padding que necesites */
    position: absolute;
    bottom: 0;
    width: 100%;
    font-family: 'Lato', Helvetica, Arial, sans-serif;
}
#custom-footer-form {
    background-color: #262626; /* Fondo negro, ajusta según tu diseño */
    color: #fff; /* Texto en blanco */
    padding: 20px 0; /* Añade el padding que necesites */
    position: relative;
    bottom: 0;
    width: 100%;
    font-family: 'Lato', Helvetica, Arial, sans-serif;
}
#custom-footer p,#custom-footer-form p{
    margin: 1.6em 0;
    font-size: 14px;
    font-weight: bold;
}
.logos-subencion{
    margin-top: 50px !important;
}
.footer-container{
    /* margin-top: 45px; */
    min-height: 145px;
    font-size: 1.1rem;
    /* padding: 1em 0; */
    text-align: center;
}
#custom-footer .footer-address,
#custom-footer .footer-eu,
#custom-footer .footer-legal,#custom-footer-form .footer-address,
#custom-footer-form .footer-eu,
#custom-footer-form .footer-legal {
    text-align: center;
    margin-bottom: 5px;
}

/* Si deseas estilos específicos para los enlaces del footer */
#custom-footer .footer-legal a,#custom-footer-form .footer-legal a {
    color: #fff; /* Color de los enlaces */
    text-decoration: none; /* Quita el subrayado de los enlaces */
}

#custom-footer .footer-legal a:hover,#custom-footer-form .footer-legal a:hover {
    text-decoration: underline; /* Subraya los enlaces al pasar el mouse */
}
.sct-transition {
    transition: .3s ease-in-out;
}

/* Cajas Tattoo y Piercing
------------------------------------------------ */
.cajas {
    text-align: center;
    display: grid;

    
    justify-content: center;
    
}
.cajas:has(:nth-child(3)) {
    grid-template-columns: repeat(3, auto);
    grid-gap: 15px;
}

/* Si .cajas tiene un hijo con la clase .banderas y hay 4 elementos en total, usar 4 columnas */
.cajas:has(.banderas:nth-child(4)) {
    grid-template-columns: repeat(4, auto);
    grid-gap: 15px;
}
.cajas:has(.banderas:nth-child(2)) {
    grid-template-columns: repeat(2, auto);
    grid-gap: 15px;
}

.cajas div {
    display: inline-block;
    background-color: #000;
    width: 150px;
    max-height: 150px;
    padding: 60.5px 10px;
    border-radius: 9px;
    /* margin: 10px 15px; */
    margin: 0 auto;
}

.cajas a{
    text-decoration: none;
}

.cajas div p{
    text-decoration: none;
    color: #fff;
    font-weight: 600;
}

/* Banderas
------------------------------------------------ */
.cajas .banderas {
    padding: 5px;
}

.cajas .banderas a img{
    /* border-radius: 10px; */
    width: 150px;
    height: 80px;
}

/* ------------------------------------------- */

.wpml-ls-statics-footer.wpml-ls.wpml-ls-legacy-list-horizontal,
.otgs-development-site-front-end {
    display: none;
}









/* Asegúrate de que el html y body llenen el 100% de la altura de la ventana */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Contenedor principal que envuelve todo el contenido */
.site-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Mínima altura para que el footer esté en la parte inferior */
}

/* El contenido principal debe crecer para ocupar el espacio disponible */
.site-inner, .content {
    flex: 1;
    width: 100%;
    padding-bottom: 0; /* Quitar padding en el fondo si es necesario */
    align-content: center;
}

/* Estilo para el footer */
#custom-footer, #custom-footer-form {
    background-color: #262626; /* Fondo negro, ajusta según tu diseño */
    color: #fff; /* Texto en blanco */
    padding: 20px 0; /* Añade el padding que necesites */
    position: relative;
    width: 100%;
    font-family: 'Lato', Helvetica, Arial, sans-serif;
}

/* Asegúrate de que el footer no flote */
.site-footer {
    flex-shrink: 0;
}

/* Para eliminar cualquier margen interno o externo del footer */
.site-footer .wrap {
    margin: 0;
    padding: 0;
}

/* Opcional: Ajuste en los márgenes del contenido principal para eliminar espacios en blanco */
.content {
    margin: 0;
    padding: 0 15px; /* Ajusta el padding según tu diseño */
}















/* ------------------------------------------- */
@media only screen and (min-width: 960px) {
    .content {
        float: left;
        width: 100%;
    }
}
@media (max-width: 795px) {
    .gform_wrapper{
        text-align: left;
        padding: 25px;
    }
    .cajas:has(:nth-child(3)) {
        grid-template-columns: repeat(2, auto);
        grid-gap: 15px;
    }
    
    /* Si .cajas tiene un hijo con la clase .banderas y hay 4 elementos en total, usar 4 columnas */
    .cajas:has(.banderas:nth-child(4)) {
        grid-template-columns: repeat(2, auto);
        grid-gap: 15px;
    }
    .cajas{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 5px;
        justify-content: center;
    }
    
    .site-inner{
        padding: 40px 15px 0;
        width: 100%;
    }
    .gfield_html_formatted div{
        /* margin: 10px; */
    }
    .scroll-up, .scroll-down{
        padding: 0px;
        display: block;
    }
    .contenido{
        top: 25px;
        bottom: 25px;
    }

    .ginput_container.ginput_recaptcha.gform-initialized > div{
        width: 100% !important;
    }
    
}
@media only screen and (max-width: 650px){
    .nav-primary .wrap ul,
    .fila{
        display: flex;
        flex-flow: column wrap ;
        text-align: center;
    }
    
}
@media only screen and (max-width:480px){
    iframe{
    position: relative;
    width:100%;
    /* left: -69px; */
    }
    .rc-anchor-normal{
        width: 100% !important;
    }
    .cajas:has(:nth-child(3)) {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 15px;
    }
  }
  
@media only screen and (max-width: 400px){
    div.tattoo, div.piercing, div.laser{
        width: 100%;

    }


}
@media only screen and (max-width: 320px){
    .cajas{
        grid-template-columns: repeat(1, 1fr);
    }
    .cajas:has(:nth-child(3)) {
        grid-template-columns: repeat(1, 1fr);
    }
    .cajas:has(.banderas:nth-child(4)) {
        grid-template-columns: repeat(1, 1fr);
    }
}
