@media only screen and (min-width: 729px){
    
    
   
    
    .texto-carousel-teaser{
        position: absolute;
        top:25%;
        left:16%;
    }
    
    .texto-teaser{
        position: absolute;
        top:30%;
        left:16%;
    }
    
   
    
    
    .btn-teaser{
        position: absolute;
        top:35%;
        right:16%;
    }
    .cilindros{
        margin-top: -250px;
        margin-right: -50px;
        
    }
   
    
     .cilindros-derecha{
        margin-top: 50px;
        margin-right: -50px;
        
    }
    
     .cilindros-izquierda{
        margin-top: 50px;
        margin-left: -50px;
        
    }
    
    .texto-cilindro{
        position: absolute;
        top: 35%;
        right:20px;
    }
    
    .texto-cilindro h3{
         top: 40%;
     transform: translateY(-20%);
    }
    
    .texto-cilindro-derecha{
        position: absolute;
        top: 35%;
        left: 100px;
    }
    
    .texto-cilindro-derecha h3{
         top: 40%;
     transform: translateY(-20%);
    }
    
    
    .centrar-contenido{
        width: 50%;
        position: absolute;
        top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
    }
    
    .fondo-bandera-europa .col-md-12{
        padding: 200px;
    }
    
    .patronato .btn-transparente{
        float: right;
    }
    
    .patronato .btn-celeste{
        float: left;
    }
    
    

}


@media only screen and (min-width: 320px) and (max-width: 728px){
    
    .carousel-teaser-control-prev, .carousel-teaser-control-next{
        display: none !important;
    }
   
    
    .texto-carousel-teaser{
        position: absolute;
        top:6% !important;
        left:15px !important;
    }
    
    .texto-teaser{
        position: absolute;
        top:40%;
        left:12%;
    }
    .centrar-contenido{
        padding: 50px;
    }
}

@media only screen and (max-width: 728px){
    .carousel-item  .overlay{
        display: none;
    } 
    .nav-transparente{
        background: #000 !important;
    }
    
    
    .p-mobile{
        padding-top: 40px;
    }
    
    .fondo-bandera-europa .col-md-12{
        padding: 40px;
    }
    
    
    
    

}



@media only screen and (min-width: 660px) and (max-width: 728px){
    .altura-carusel{
        height: 40vh !important;
    margin-top: 100px;
    }
}

@media only screen and (min-width: 430px) and (max-width: 659px){
    .altura-carusel{
        height: 40vh !important;
    margin-top: 100px;
    }
}

@media only screen and (min-width: 320px) and (max-width: 429px){
    .altura-carusel{
        height: 23vh !important;
    margin-top: 100px;
    }
}
@media only screen and (min-width: 729px){
    
    .carousel-item {
        height: auto;
    }
}


@media only screen and (min-width: 1460px){
    
    

    .altura-carusel{
        height: 100vh;
    }


}

@media only screen and (min-width: 1400px){
    
    
    .texto-centrado-teaser{
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

}


@media only screen and (min-width: 1200px) and (max-width: 1399px){
     .texto-centrado-teaser{
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
}


@media only screen and (min-width: 992px) and (max-width: 1199px){
    
        .texto-centrado-teaser{
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media only screen and (min-width: 769px) and (max-width: 991px){
    
    .texto-centrado-teaser{
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
}

@media only screen and (max-width: 768px){
    
    
    .texto-centrado-teaser{
        display: none;
    }
    
    .div-actualidad h1{
        padding: 50px 0;
    }

}


@media only screen and (min-width: 1043px){
      .div-footer h1{
        font-size: 7em;
        -webkit-transform: rotate(-90deg); 
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
        position: absolute;
        top: 120px;
        left: 60px;
       
    }
}
    
    
@media only screen and (min-width: 768px) and (max-width: 991px){
    .apartado-celeste{
        width: 100% !important;
        margin-left: 0 !important;
    }
}
    
    
    
@media only screen and (min-width: 768px){
    
    
    .p-right-0{
    padding-right: 0;
}
    .p-left-0{
    padding-left: 0;
}


    .w-65{
        width: 65.8%;
    }
    
    .apartado-azul-oscuro, .apartado-celeste{
        width: 64.9%;
    margin-left: 12px;
    }
    
    .navbar-brand{
        margin-left: 50px;
    }
    .actualidad h1{
        font-size: 7em;
        -webkit-transform: rotate(-90deg); 
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
        position: absolute;
        top: 400px;
        left: 60px;
       
    }
    
  
    
     .section-footer .row{
        position: relative;
        min-height: 750px !important;
    }
    
    .actualidad #carousel-news{
        margin-top: 260px;
    }
    .w-33{
            width: 33.13%;
    }
}

@media only screen and (min-width: 1200px){
    .texto-desbordado{
        font-size: 4em;
        position: absolute;
        left:-300px;
    }  
    
    .texto-desbordado2{
        font-size: 4em;
        position: absolute;
        right:-160px;
        top: -40px;
    } 
}


@media only screen and (min-width: 1200px) and (max-width: 1969px){
        .carousel-teaser-control-prev{
        position: absolute;
        bottom: 10%;
        left:320px;
        top: auto;
    }
    .carousel-teaser-control-next{
        position: absolute;
        bottom: 10%;
        left:400px;
        top: auto;
    }
}

@media only screen and (min-width: 1970px){
        .carousel-teaser-control-prev{
        position: absolute;
        bottom: 10%;
        left:320px;
        top: auto;
    }
    .carousel-teaser-control-next{
        position: absolute;
        bottom: 10%;
        left:400px;
        top: auto;
    }
}


@media only screen and (min-width: 992px) and (max-width: 1399px){
    .responsive-padding{
        padding: 20px !important;
    }
    
    .responsive-padding2{
        padding: 35px 0 0 0 !important;
    }
    
    .responsive-padding3{
        padding: 10px 20px 0 20px!important
    }
}


@media only screen and (max-width: 1199px){
        .carousel-teaser-control-prev{
        position: absolute;
        bottom: 10%;
        left:50px;
        top: auto;
    }
    .carousel-teaser-control-next{
        position: absolute;
        bottom: 10%;
        left:120px;
        top: auto;
    }
}

@media only screen and (max-width: 728px){
    
    .icono-mas{
        width: 40px !important;
    }
    .carousel-item img{
        width: 100%;
       /*height: auto !important;*/
    }
    
    .patronato .col-md-6{
        text-align: center;
    }
    
    
}




/*------------------toda la web en general-------------------------------*/
@media only screen and (max-width:768px){
    
    .version-movil{
        display: block;
    }
    
    .version-desktop{
        display: none;
    }
}

@media only screen and (min-width:769px){
    
    .version-movil{
        display: none;
    }
    
    .version-desktop{
        display: block;
    }
}
/*------------------/toda la web en general-------------------------------*/





/* --------------------------------páginas específicas con version tablet-------------------*/
@media only screen and (max-width:728px){
    .version-tablet{
        display: none;
    }
    
    .version-desktop-2{
        display: none;
    }
    
    .version-movil-2{
        display: block;
    }
}


@media only screen and (min-width:729px) and (max-width:991px){
    .version-tablet{
        display: block;
    }
    
    .version-desktop-2{
        display: none;
    }
    
    .version-movil-2{
        display: none;
    }
    
     .version-tablet .texto-cilindro{
        top: 27%;
        right:60px;
    }
    
    
    .version-tablet .texto-cilindro-derecha{
       
        top: 25%;
        left: 70px;
    }
    
    .version-tablet .cilindros{
        margin-top: -120px;
        
    }
}

@media only screen and (min-width:992px){
    .version-tablet{
        display: none;
    }
    
    .version-desktop-2{
        display: block;
    }
    
    .version-movil-2{
        display: none;
    }
}

/* --------------------------------/páginas específicas con version tablet-------------------*/






@media only screen and (max-width:991px){
    
    
    .version-desktop-flex{
        display: none;
    }
    
    .section-arriba{
        margin-top: 0px;
        padding: 0 20px 20px 0px !important;
    }
    
    .div-pro{
        padding: 50px 0 0 0;
    }
    
    .m-top--250-desktop{
    margin-top: 25px;
    }
    
    .m-top--200-desktop{
    margin-top: 20px;
    }
    
    .flechas-margin{
         margin-top: 50px;
    }
    .teaser-sin-fondo h1 {
        margin-top: -50px !important;
        padding:0.8em;
    }
    .teaser-sin-fondo h4 {
        margin-top: -50px !important;
        padding:1.5em 1.5em 0.5em 1.5em;
    }
    
    .flechas-movil{
        margin-top: 5px;
    }
    
    .datos-section{
        margin: 10px 0;
    }
    
    
}

@media only screen and (min-width:992px){
    .version-movil{
        display: none;
    }
   
    
     .version-desktop-flex{
        display: flex;
    }
    
    .section-arriba{
        margin-top: -550px;
    }
    
    .div-pro{
        padding: 250px 0 0 0;
    }
    
    .m-top--250-desktop{
    margin-top: -250px;
    }
    
    .m-top--200-desktop{
    margin-top: -200px;
    }
    
    .flechas-margin{
        margin-top: 200px;
    }
    .btn-celeste-teaser{
        margin-top: 300px;
    }
    
    
}

@media only screen and (max-width:434px){
    .icono-mas {
        
        bottom: 0px;
        
    }
    
    #carousel-casos-de-exito-movil .icono-mas {
        
        bottom: -40px;
        
    }
    .section-movil{
        padding: 20px 0 !important;
    }
    
    .section-movil .fondo-banner-dossier{
        background-size: cover;
        height: 160px;
    }
    
    .section-movil .fondo-banner-01{
        height: 100px;
    }
    
    .espacios-dispo{
        margin-top: 0 !important;
        padding: 20px 0 !important;
    }
    
    .espacios-dispo .col-md-3{
        margin: 20px 0 !important;
        padding: 20px !important;
    }
    
    .espacios-dispo h2{
        color: #004a78 !important;
        padding: 20px 10px !important;
        margin: 0 !important;
    }
    
    
    
    
}

@media only screen and (min-width:435px) and (max-width:629px){
   /* .icono-mas {
        
        bottom: -130px;
        
    }*/
}
@media only screen and (min-width:630px) and (max-width:728px){
    /*.icono-mas {
        
        bottom: -170px;
        
    }*/
}

@media only screen and (min-width: 1300px) and (max-width: 1670px){
    
    .actualidad h1{
        left: -60px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1299px){
    
    .actualidad h1{
        left: -200px;
    }
}


@media only screen and (max-width: 768px){
    
    .section-gris{
        padding: 0px;
    }
    .actualidad{
        padding: 20px;
    }
    
    .p-0-movil{
        padding: 0 !important;
    }
    .section-footer{
        padding: 35px;
    }
    .p-top-movil{
        padding-top: 60px;
    }
    .f-07-movil{
        font-size: 0.7em;
    }
}

.texto-carousel-teaser h1, .texto-teaser h1{
    font-size: clamp(1.4rem, 5vw, 8rem);
    z-index: 99;
}

.teaser-sin-fondo h1{
   /* font-size: clamp(1.4rem, 5vw, 8rem);
    z-index: 99;*/
}


@media only screen and (max-width: 468px){
    .btn-teaser{
        position: absolute;
    top: 120px;
    left: 20px;
    }
}

@media only screen and (min-width: 468px) and (max-width: 571px){
    .btn-teaser{
        position: absolute;
    top: 150px;
    left: 20px;
    }
}

@media only screen and (min-width: 572px) and (max-width: 728px){
    .btn-teaser{
        position: absolute;
    top: 190px;
    left: 60px;
    }
}

@media only screen and (min-width: 1330px){
     .cuadro-suscribirse{
        position: absolute;
            width: 450px;
        top: -150px;
     
    }
}

@media only screen and (min-width: 768px) and (max-width: 1199px){
    .cuadro-suscribirse .btn-suscribirse{
        width: 100%;
    }
}


@media only screen and (min-width: 768px){
    
    
    .btns-teaser div{
        margin-top: 50px;
        margin-bottom: 50px;
    }
    
    .flechas-movil{
        margin-top: 150px;
        margin-bottom: 20px;
    }

    .btns-teaser-1 div{
        margin-bottom: 50px;
    }
    
    
}


@media only screen and (max-width: 767px){
    .m-top-50-not-movil{
        margin-top: 5px;
    }
    
    .flechas-movil{
        width: 200px !important;
        padding: 0 20px !important;
        margin-bottom: 10px;
        float:right;
    }
    
    .teaser-sin-fondo h1{
    font-size: 2.5em;
    }
    
    .btns-teaser div{
        margin:10px 0;
    }
    
    /*-------------------------------centrar cajetines en responsive--------------------------*/
    .single .section-intro .shadow,
    .single .section-70-50 .shadow,
    .page-id-32142 .section-intro .shadow,
	.page-template-page-innovacionyemprendimiento .section-intro .shadow,
    .page-template-page-formacion  .section-intro .shadow {
        margin:10px 0;
    }
    
    
}

@media only screen and (min-width: 768px) and (max-width: 991px){
    .banners-pidi h3{
        font-size: 1em;
    }
    
    .banners-pidi h4{
        font-size: 0.8em;
    }
    
    .img-pidi{
        width: 150px;
    }
}


@media only screen and (max-width: 465px){
    .banners-pidi h3{
        font-size: 0.8em;
    }
    
    .banners-pidi h4{
        font-size: 0.6em;
    }
    
    .img-pidi{
        width: 100px;
    }
    
    .link{
        width: 30px;
    }
}

@media only screen and (max-width: 418px) {
    .btn-teaser{
      
    top: 110px !important;
   
    }
}


@media only screen and (max-width: 574px){
    .footer-desktop{
        display: block;
    }
    
     .footer-tablet{
        display: none;
    }
}

@media only screen and (min-width: 575px) and (max-width: 1199px){
    .footer-desktop{
        display: none;
    }
    .footer-tablet{
        display: block;
    }
    .footer-tablet .div-footer h1{
        font-size: 5em;
        transform: inherit;
        position: inherit;
    }
    
}

@media only screen and (min-width: 1200px){
    .footer-desktop{
        display: block;
    }
    
     .footer-tablet{
        display: none;
    }
    
    
}

@media only screen and (min-width: 769px) and (max-width: 991px){
    .p-0-movil{
        padding: 0;
    }
    
}

@media only screen and (max-width: 991px){
    .actualidad h1{
        font-size: 4em;
        -webkit-transform: inherit; 
    -moz-transform: inherit;
    -o-transform: inherit;
    transform: inherit;
        position: relative;
        top:auto;
        left: auto;
       padding: 50px 5px;
    }
    
}

@media only screen and (min-width: 991px){
    
    .div-actualidad{
        position: relative;
        min-height: 750px !important;
    }
}




@media only screen and (max-width: 999px){
    
    .titulo-noticias{
        font-size: 1.5em;
    }
}


@media only screen and (max-width: 991px){
    
    .actualidad #carousel-news.version-desktop{
        margin-top: 10px !important;
    }
}


@media only screen and (max-width: 991px){
    
    .version-movil-portada{
        display: block;
    }
}

@media only screen and (min-width: 992px){
    
    .version-movil-portada{
        display: none;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px){
    .portada-descripcion-azul{
        margin-top: 20px;
    }
    
    .apartado-gris .texto-desbordado, .apartado-azul-oscuro .texto-desbordado2{
        margin-top: 0px !important;
    }    
    
}

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

    .portada-descripcion{
        margin-top: 50px;
    }
}

@media only screen and (max-width: 768px){
    .titulo-noticias{
        margin-bottom: 35px;
    }
}

@media only screen and (min-width:992px) and (max-width: 1199px){
    .celda-cadatestimonio{
        min-height: 46em;
    }
    .celda-cadacurso{
        min-height: 33em;
    }
}

@media only screen and (min-width:769px) and (max-width: 991px){
    .celda-cadatestimonio{
        min-height: 51em;
    }
}

@media only screen and (min-width:768px) and (max-width: 991px){
    .celda-cadatestimonio{
        min-height: 31em;
    }
}

@media only screen and (max-width: 767px){
    .celda-cadacurso{
        min-height: 28em;
    }
}


@media only screen and (max-width: 991px){
    .proyectos-nacionales-bioproinsect h5.azul-oscuro{
        margin-bottom: 35px;
        padding: 20px;
    }
}


@media only screen and (min-width: 992px){
    .celdas-cadaespacio{
        margin: 50px;
    }
}


@media only screen and (max-width: 991px){
    .celdas-cadaespacio{
        margin: 10px;
        padding: 15px;
    }
}

@media only screen and (max-width: 767px){
    .fondo-banner-dossier{
        background-image: none !important;
    }   
}

@media only screen and (min-width: 768px) and (max-width: 1199px){
    .fondo-banner-dossier h3{
        padding: 30px !important;
    }   
}

@media only screen and (max-width: 991px){
    /*.titulos-sliders{
        height: auto;
    } */
    
}

@media only screen and (min-width: 768px) and (max-width: 991px){
    .titulos-sliders h3{
        font-size: 1em;
    }   
}

@media only screen and (max-width: 767px){
    .titulos-sliders h3{
        font-size: 1.5em;
    }   
}

@media only screen and (max-width: 440px){
   /* para cuando estaban las categorías del blog en version movil xxxxxxxxxxxxxxxxxxxxxxxxxx>>
    
    .titulos-sliders h3{
        display: table-caption;
    }   
    
    .celda-cadanoticia .img-responsive{
        width: 90% !important;
    }
    
    .lista-noticias #resultados .img-responsive{
        width: 60% !important;
    }*/
}

@media only screen and (max-width: 991px){
	.t-datepicker #buscador_desde,
	.t-datepicker #buscador_hasta {
		width: initial !important;
	}
}


/*-------------------slider destacados en portada--------------------*/

@media only screen and (max-width: 1399px){
    .slider-destacados-desktop{
        display: none;
    }
    .slider-destacados-tablet{
        display: block;
    }
}

@media only screen and (min-width: 1400px){
    .slider-destacados-desktop{
        display: block;
    }
    
    .slider-destacados-tablet{
        display: none;
    }
}



@media only screen and (max-width: 767px){
    .nav-pills{
        display: none;
    }
    
    .select-categorias{
        display: block;
    }
    
    .lista-noticias .col-md-4{
        border-right: 1px solid transparent !important;
    }
}

@media only screen and (min-width: 768px){
     .select-categorias{
        display: none;
    }
}


@media only screen and (min-width: 1400px){
    .wpcf7 input{
        width: 96%;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1399px){
    .wpcf7 input{
        width: 95%;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px){
    .wpcf7 input{
        width: 94%;
    }
}



@media only screen and (min-width: 768px) and (max-width: 991px){
    .wpcf7 input{
        width: 92%;
    }
}

@media only screen and (min-width: 450px) and (max-width: 767px){
    .wpcf7 input{
        width: 93%;
    }
}

@media only screen and (max-width: 449px){
    .wpcf7 input{
        width: 91%;
    }
}

@media only screen and (max-width: 767px){
    .section-teaser{
        margin-top: 100px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1300px){
    .section-teaser{
        margin-top: 90px;
    }
}





@media only screen and (min-width: 992px)  and (max-width: 1199px){
    .div-img-actualidad{
        width: 480px;
        height: 500px;
        max-height: 500px;
        overflow: hidden;
    }
    .img-actualidad{
        height: 100%;
    }
}

@media only screen and (min-width: 1200px)  and (max-width: 1399px){
    .div-img-actualidad{
        width: 570px;
        height: 500px;
        max-height: 500px;
        overflow: hidden;
    }
    .img-actualidad{
        height: 100%;
    }
}

@media only screen and (min-width: 1400px){
    .div-img-actualidad{
        width: 660px;
        height: 500px;
        max-height: 500px;
        overflow: hidden;
    }
    .img-actualidad{
        height: 100%;
    }
}




@media only screen and (max-width: 991px){
    .img-actualidad{
        width: 100%;
        height: auto;
    }
}


#carousel-logos-patronato-movil img{
    width: 100px;
    height: 100px;
}

@media only screen and (max-width: 991px){
    .titulo-slider-movil{
        min-height: 10em;
    }
    
    .page-template-page-formacion .fondo-celeste h2{
        font-weight: 200;
        font-size: 1.5em;
    }
    .page-template-default .entry-content{
    padding: 0 30px;
    }
    .section-intro-teaser h2{
        font-size: 1.5em  !important;
        padding: 5px 0 15px 0;
    }
}
