
@media screen and  (max-width: 320px){

}

@media screen and  (max-width: 380px){
    .hex-row .hexagono-ext{
        width: 264px;
        height: 308px;
    }

    div.hexagono {
        width: 264px;
        height: 308px;
    }

    div.hex-top {
        width: 0;
        height: 0;
        border-left: 132px solid transparent;
        border-right: 134px solid transparent;
        border-bottom: 76px solid rgba(0, 0, 0, 0);
    }

    div.hex-bottom {
        width: 0;
        height: 0;
        border-left: 134px solid transparent;
        border-right: 134px solid transparent;
        border-top: 76px solid rgba(0, 0, 0, 0);
    }

    .hex-active div.hex-top {
        border-bottom: 76px solid var(--crema_opacity_90);
    }

    .hex-active div.hex-bottom {
        border-top: 76px solid var(--crema_opacity_90);
    }

    div.hex-center {
        width: 100%;
        height: 156px;
    }

    .div-inicio-rsa .div-col-rsa-iz {
        height: 200px !important;
    }

    .hex-container .hex-row-1{
        bottom: -30px;
    }

    .hex-container .hex-row-2{
        top: 30px;
    }

    .hex-container .hex-row-3{
        top: 30px;
    }

    .hex-container .hex-row-4{
        top: 30px;
    }

    .hex-container {
        padding-bottom: 70px !important;
    }

    .container-hexagonos .sub-titulo{
        top: 30px !important;
    }

    .ckeditor figure {
        width: calc(100% - 0px) !important;
        margin: 0px;
    }

    .row-nav {
        padding: 0px 10px !important;
    }

    .link-logo img{
        height: 34px;
    }


}

@media screen and (max-width: 480px){
    .container-inicio-galerias .row-galerias div.gallery {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .container-inicio-galerias div.gallery img:nth-of-type(n+7) {
        display: none;
    }

    .container-galeria .gallery > div {
        width: calc((100% - 20px) / 2) !important;
        flex: initial;
    }

    .row-noticias .div-noticias-categorias {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .visita-intro .enlace-visita{
        display: block;
        width: 100%;
    }
}

@media screen and (max-width: 540px){
    .div-redes{
        display: none;
    }

    .p-botones-galerias{

    }

    .p-botones-galerias a.link-seccion{
        width: 100%;
        display: block;
        margin-top: 10px;
    }

    .container  .div-form-buscador{
        display: block;
        text-align: center;

    }

    .container  .form-item{
        width: 100% !important;
        display: block !important;
    }

    .div-form-buscador .form-item{
        padding-bottom: 10px !important;
    }

    .container .form-boton{
        height: 10px;
        overflow: hidden;
    }

    .div-enlace-ir{
        padding-right: 0px;
    }

    .div-enlace-ir .enlace-ir{
        float: left;
        position: relative;
        left: 5px;
        padding: 10px 10px;
        font-size: 16px;
    }

    .div-enlace-ir .enlace-back{
        position: relative;
        top: 0px !important;
        right: 10px !important;
        float: right;
    }

    .row-banner .banner-titulo{
        font-size: 32px;
        line-height: 30px;
    }

    section.container-noticias-filtro .div-enlace-ir .enlace-back{
        top: -40px !important;
        right: 10px !important;
        width: 30px !important;
        height: 30px !important;
        background-size: 26px auto !important;
    }


    .visita-intro figure table{
        width: 100%;
    }

    .div-checkbox-simple .p-10{
        padding: 10px 0px !important;
    }

}

@media screen and (max-width: 640px) {

    .tabla-estudio tr  td{
        display: block;
        width: 100%;
        font-size: 16px;
    }
    .div-inicio-rsa{
        display: block;
    }

    .div-inicio-rsa .div-col-rsa-iz{
        height: 300px;
        width: 100%;
    }

    .div-inicio-rsa  .div-col-rsa-de{
        width: 100%;
        text-align: center;
        padding: 30px 20px;
    }

    div.carousel .carousel-item {
        height: 300px;
    }

    .ckeditor p, .ckeditor h1, .ckeditor h2, .ckeditor h3{
        text-align: justify;
    }

    h2{
        font-size: 30px;
    }

    .carousel .carousel-caption{
        text-align: center;
    }

    .div-enlace-ir{
        text-align: center;
    }

    .row-banner{
        padding-right: 20px;
        padding-left: 20px;
    }

    .row-banner {
        padding-top: 120px;
    }

    .container-noticias-back .enlace-back-noticia{
        top: 0px !important;
        right: 10px !important;
        width: 30px !important;
        height: 30px !important;
        background-size: 26px auto !important;
        top: -40px !important;
    }

    .check-list > div{
        display: block !important;
    }

    .check-list > div label{
        display: inline-flex;
        margin-bottom: 5px;
    }

    .check-list > div input{
        top: 5px;
    }

}

@media screen and (max-width: 767px) {

    .hex-container{
        display: block;
        padding-bottom: 30px;
    }

    div.hex-row{
        display: block;
        position: relative;
        top: initial;
        bottom: initial;
    }

    div.hexagono-ext{
        margin: auto;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    div.hex-row-2 .hexagono-ext:nth-child(3){
        top: initial;
    }

    .container-inicio-galerias .row-galerias div.gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .container-hexagonos .sub-titulo{
        font-size: 36px;
    }

    .sub-titulo{
        font-size: 32px;
    }

    .pd5020{
        padding: 30px 20px;
    }

    .ckeditor figure {
        width: calc(50% - 20px);
    }

    .form-galerias{
        width: 100%;
    }

    .container-galeria .gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .container-galeria .gallery > div {
        width: calc((100% - 20px) / 3); /* 2 gaps de 10px */
        flex: initial;
    }


    .formulario  .div-form{
        display: block !important;
    }

    .formulario  .div-form .form-group{
        width: 100% !important;
    }

    .formulario  .div-form .container-120-iz{
        padding-left: 0px;
    }

    .container-sea-amigo{
        padding-top: 0px;
    }

    .campo-motivo{
        width: 100% !important;
    }

    .row-noticias .div-noticias-categorias {
        grid-template-columns: repeat(2, 1fr);
    }

    div.row-noticia{
        display: block;
    }

    div.row-noticia .noticia-content{
        width: 100%;
        padding-right: 0px;
    }

    div.row-noticia .noticias-relacionadas{
        width: 100%;
        margin-top: 30px;
    }

    section.container-noticias .enlace-back {
        right: 10px;
        top: -50px;
    }

    section.container-noticia-back .enlace-back {
        width: 30px !important;
        height: 30px !important;
        background-size: 26px auto !important;
    }

    .div-ha-suscripcion, .div-ha-idioma{
        padding-left: 10px !important;
    }

    .visita-intro figure table td{
        font-size: 16px;
    }

    .visita-intro{
        padding: 20px !important;
    }

    .form-check-especiales{
        top: 0px !important;
        left: 0px !important;
    }

}

@media screen and (max-width: 992px) {

    .visita-intro figure img{
        width: 100%;
        height: auto;
    }

    .lightbox{
        padding-top: 5%;
    }

    .lightbox .lightbox-content {
        height: 90%;
        width: 90%;

    }

    .lightbox .lightbox-container{
        display: block;
        overflow-y: auto;
    }

    .lightbox .lightbox-image{
        height: initial;
        padding: 20px;
    }

    .lightbox .lightbox-info{
        height: initial;
        padding: 0px;
    }

    .row-formulario .row-form-2{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .formulario-datos .row-form-2 .form-group{
        width: 100%;
    }

}

@media screen and (max-width: 1024px){

}

@media screen and (max-width: 1080px){

    .container-noticias-filtro{
        padding-top: 0px;
    }
    .container-noticias-filtro .div-form-buscador{
        padding-top: 20px;
    }

    .form-label{
        font-size: 16px;
        font-weight: 400;
    }

    .row-1080px{
        width: 100%;
    }

    .div-inicio-rsa {
        width: 100%;
        border-top: 6px solid var(--verde);
    }

    .container-inicio-sea-amigo{
        border-top: 0px;
    }

    .hex-row-2{
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        top: 60px;
    }

    .hex-row-2.hexagono-ext:nth-child(3) {
        flex-basis: 100%;
    }

    .hex-row-2 .hexagono-ext:nth-child(3){
        top: -100px;
    }

    .container .form-galerias{
        position: relative;
        top: 0px;
    }

    .container-noticias-back .div-enlace-ir{
        height: 0px;
        padding: 0px;
    }

    .container-noticias-back .div-enlace-ir .enlace-back{
        top: -50px;
        right: 10px;
    }

    .container-noticias-filtro .div-form-buscador .form-item {
        padding-bottom: 20px;
    }

    .container-noticias-filtro .div-enlace-ir {
        height: 0px;
        padding: 0px;
    }

    .container-noticias-filtro .div-enlace-ir .enlace-back{
        top: -70px;
        right: 10px;
    }

    .container-galeria .div-enlace-ir{
        text-align: center;
        padding-right: 0px;
    }

    /*.container-galeria .div-enlace-ir .enlace-back{*/
    /*    position: relative;*/
    /*    top: -30px;*/

    /*}*/
}

@media screen and (max-width: 1200px){

    form.form-galerias {
        width: 500px;
    }

    .container-nav{
        background: var(--negro_opacity_90);
    }

    .row-1200px{
        width: 100%;
    }

    .carousel .carousel-item {
        height: 500px;
    }

    .row-nav {
        padding: 0px 20px;
    }

    .container-fluid{
        padding: 0px;
    }

    .navbar-toggler{
        border: 0px !important;
        background: url("../img/menu-icon.png") no-repeat center center;
        background-size: cover;
        width: 36px;
    }

    .navbar-toggler:active{
        border: 0px !important;
    }

    .navbar-toggler-icon{
        visibility: hidden;
    }

    .navbar-toggler:focus {
        outline: none;
        box-shadow: none;
    }

    .ul-nav{
        text-align: center;
        padding-bottom: 10px;
    }

    .ul-nav .li-idiomas {
        position: static;
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }

    .li-idiomas .a-idioma{
        position: static;
        margin: auto;
    }

     .container-nav .ul-nav .nav-item .nav-link{
         font-size: 20px;
         font-weight: bold;
     }

    div.campo-saludo{
        width: 25%;
    }

    div.campo-organizacion{
        width: 25%;
    }

    div.campo-tel{
        width: 30%;
    }

}

@media screen and (max-width: 1280px){

}

@media screen and (max-width: 1360px){

    section.container-hexagonos .sub-titulo{
        position: relative;
        width: 100%;
        left: 0%;
        text-align: center;
        top: 40px;
        font-size: 40px;
        line-height: 38px;
    }

    section.container-hexagonos .div-sub-titulo2{
        position: relative;
        right: initial;
        top: 0px;
        text-align: center;
        display: block;
        margin: auto;
        margin-top: 50px;
        width: inherit;
    }

    section.container-hexagonos .sub-titulo2-img {
        width: 220px;
    }


    section.container-hexagonos .div-sub-titulo2 .sub-titulo2 {
        font-size: 36px;
        line-height: 30px;

    }

}

@media screen and (max-width: 1440px){

}

@media screen and (max-width: 1600px){
    .container-hexagonos .sub-titulo {
        left: 70px;
        /*top: 50px;*/
        font-size: 40px;
        line-height: 35px;
    }

    .container-hexagonos .div-sub-titulo2 {
        right: 70px;
    }

    .sub-titulo2-img {
        width: 160px;
    }

    .div-sub-titulo2 .sub-titulo2 {
        font-size: 30px;
        line-height: 28px;
    }


}

@media screen and (max-width: 1920px){

}