.slide .carousel-caption h1 {

    font-size:clamp(1.5rem, 0.341rem + 5.8vw, 4.688rem);
    font-weight:500;
    text-transform: uppercase;
    line-height: 1;
}

.slide .carousel-caption {
    bottom:20% !important;
}


/*------poner imagen a pantalla entera-----*/

.slide .carousel-inner{height:100vh!important;}
.slide .carousel-item{height:100vh!important;}
.slide .carousel-item img{height:100vh!important; object-fit: cover; }

.slide .carousel-item{
    transition: transform 0.5s ease, opacity .5s ease-out!important;
}

.slide .video-responsive {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    padding-top: 30px;
    position: relative;
}

.slide .video-responsive iframe, .slide .video-responsive object, .slide .video-responsive embed {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}






/* Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
    .slide .carousel-caption {bottom: 25px!important;}
    .slide .carousel-caption p {line-height: 100%; font-size: 0.875em;}
    .slide .carousel-inner{height:35vh!important;}
    .slide .carousel-item{height:35vh!important;}
    .slide .carousel-item img{height:35vh!important; object-fit: cover; }
}

 
/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767.98px) {
    .slide .carousel-inner{height:80vh!important;}
    .slide .carousel-item{height:80vh!important;}
    .slide .carousel-item img{height:80vh!important; object-fit: cover; }
}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991.98px) {
    .slide .carousel-inner{height:35vh!important;}
    .slide .carousel-item{height:35vh!important;}
    .slide .carousel-item img{height:35vh!important; object-fit: cover; }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation : portrait) {

}

@media only screen and (min-device-width: 1024px) and (max-device-width: 1400px) and (orientation : portrait) {
    .slide .carousel-inner{height:45vh!important;}
    .slide .carousel-item{height:45vh!important;}
    .slide .carousel-item img{height:45vh!important; object-fit: cover; }
}


/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199.98px) {
    .slide.slide_top { top: -122px;   margin-bottom: -100px;} 
    
  
}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) and (max-width: 1399px) {
    .slide.slide_top { top: -122px;   margin-bottom: -100px;}
    .slide .carousel-inner{height:80vh!important;}
    .slide .carousel-item{height:80vh!important;}
    .slide .carousel-item img{height:80vh!important; object-fit: cover; }
}

/* Extra large devices (large desktops, 1400px and up)*/
@media (min-width: 1400px) {
    .slide.slide_top { top: -122px;  margin-bottom: -100px;}

}


/*----------------------banner publi--------------------------------------*/

.banner_publi {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.5)), url("../img/banner_publi.jpg");
    background-position: center_center !important;
  background-attachment: fixed;
    background-size: cover;
    padding-top: 30%;
    padding-bottom:10%;
margin-top: -53px;
}


.banner_publi .texto-caption {
    color: #fff;
    text-align: center;

    padding-left: 5%;
    padding-right: 5%;
}

.banner_publi .texto-caption h1 {
  font-size: 3em;
    font-weight: 500;
    line-height: 100%;
    line-height: 100%;
    color: #FFF;
    text-transform: uppercase;
    text-shadow: 0 0 10px #f19a04, 0 0 20px #f19a04, 0 0 30px #f19a04;
   /* text-shadow: -1px 0 #666, 1px 0 #666, 0 1px #666, 0 -1px #666;*/
}

.banner_publi .texto-caption span {
    font-size: 0.5em;
    font-weight: 400;
    line-height: 100% !important;
    text-shadow: 1px 1px #000000, -1px -1px #333;
    padding: 10px;
    text-transform: none;
    line-height: 100%;
 
}

/*--------------presentacion---------------------*/

.presentacion.texto_teaser_dcha  h2 {    
    font-size: 2.8em;
    line-height: 100%;
    text-transform: uppercase;
}

.presentacion.texto_teaser_dcha .sobretitular{text-transform: uppercase; letter-spacing: 1px; font-size: 0.9em; font-weight: 600; margin-bottom: 10px; }
.presentacion.texto_teaser_dcha  .texto_presentacion{  padding-right: 10%;}
.presentacion .bajo_raya{font-size: 0.85em; font-weight: 600;}
.presentacion .bajo_raya:hover span{color:#fff;}

/*------------------servicios_imagenes-----------------------*/
.servicios_imagenes {
    text-align: center;
}

.servicios_imagenes h2 {
    text-transform: uppercase; color:#FFF; padding-bottom: 30px; text-align: center;

}

.servicios_imagenes h3 {
    text-align: center;
    margin: 0px;
    padding-top: 20px;
    padding-bottom: 10px;
    color: #FFF;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.3em;
}

.servicios_imagenes .fila_cajas {
    justify-content: center;
}

.servicios_imagenes a .desc{color:#666; font-size: 0.9em;}


.servicios_imagenes .fila_cajas a .datos{padding: 5px 10px 20px 10px;}



.servicios_imagenes .fila_cajas a {
    position: relative;
    padding: 2px;
    display: block;
  }
  
  .servicios_imagenes .fila_cajas a::before,
  .servicios_imagenes .fila_cajas a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 2px solid transparent;
    transition: all 0.3s;
  }
  
  .servicios_imagenes .fila_cajas a::before {
    top: 0;
    left: 0;
    border-top-color: transparent;
    border-left-color:transparent;
  }
  
  .servicios_imagenes .fila_cajas a::after {
    bottom: 0;
    right: 0;
    border-bottom-color:transparent;
    border-right-color: transparent;
  }
  
  .servicios_imagenes .fila_cajas a:hover::before {   
    width: 100%;
    height: 100%;
  }
  
  .servicios_imagenes .fila_cajas a:hover::after { 
    width: 100%;
    height: 100%;
  }
.servicios_imagenes a figure {
    margin: 0px;
    overflow: hidden;
}

.servicios_imagenes a figure img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.servicios_imagenes a:hover figure img {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
    overflow: hidden;
}

.servicios_imagenes a:hover figure {
    overflow: hidden;
}

.servicios_imagenes .nolink {
    cursor: default;
}


/*------------------noticias-----------------------*/

#noticias .zona_titulares h2 {
    margin-bottom: 18px;  
    text-align: center;
    font-size: clamp(1.5rem, 1.252rem + 1.24vw, 2.8rem);
    line-height: 100%;
    text-transform: uppercase;
}
.zona_datos_not h3{
    font-size:clamp(1.3rem, 1.205rem + 0.48vw, 1.8rem);
    font-weight: 500;
    color:#fff;
    transition: color 1s linear;
}
.zona_datos_not .fecha{ text-transform: uppercase; font-size: 0.9em; letter-spacing: 1px; transition: color 1s linear; color:#d65606; }

.zona_datos_not .categoria{text-transform: uppercase; font-size: 0.9em; letter-spacing: 1px; transition: color 1s linear; color:#d65606; padding-left: 15px;}
.zona_datos_not .sinopsis_noticia{
    color: #666;
    font-size: 16px;
    font-weight:500;
    line-height: 2;

}

.zona_noticias article{ padding-top: 30px; padding-bottom: 30px; }
.zona_noticias article img{transition: filter 1s linear; filter: grayscale(50%);}

a:hover article img{filter: grayscale(0%);}
a:hover article .fecha, a:hover article .categoria {color:#666; }
article .btn_corporativo{transition: box-shadow 1s linear; }
a:hover article .btn_corporativo{  box-shadow: 0px 0px 10px 0px #333 inset;}
article .btn_corporativo{transition: box-shadow 1s linear; }


/*---------------------------------------*/

@-webkit-keyframes circle {
    0% {
        opacity: 1;
    }
    40% {
        opacity: 1;
    }
    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

@keyframes circle {
    0% {
        opacity: 1;
    }
    40% {
        opacity: 1;
    }
    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

/* Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
    .servicios_imagenes a figure img {width: 50%;    }
    .banner_publi .texto-caption h1 {font-size: 1.5em;}
    .banner_publi{ background-attachment:inherit;  margin-top: 0px;}   

    .slick-slide img { height: 200px; }
    .fondo_down{background-image:none; padding-bottom: 30px;} 


    .relleno_ambos { padding-top: 30px; padding-bottom: 30px;    } 

    .noticias_horizontal_fecha_sobre_rayas { padding-top:2rem; padding-bottom:2rem; }
    .noticias_horizontal_fecha_sobre_rayas a .zona_imagen i{ left: 45%;  top: 50%;}
    .noticias_horizontal_fecha_sobre_rayas a .zona_datos h2 {font-size: 2em;  font-weight: 700;}
}


/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767.98px) {
  
    .banner_publi{  margin-top: 0px;}


    .relleno_ambos { padding-top: 30px; padding-bottom: 30px; }

    .slick-slide img { height: 330px; }

   
    .fondo_down{background-image:none; padding-bottom: 30px;}

    .noticias_horizontal_fecha_sobre_rayas { padding-top:2rem; padding-bottom:2rem; }
    .noticias_horizontal_fecha_sobre_rayas a .zona_imagen i{ left: 45%;  top: 50%;}
}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991.98px) {

    .banner_publi .texto-caption h1 { font-size:2.6em;}
    .banner_publi { padding-top: 15%; padding-bottom: 15%;   margin-top: -30px;}


   
    .relleno_ambos { padding-top: 30px; padding-bottom: 30px;    }

    .fondo_down{background-image:none; padding-bottom: 30px;}

    .slick-slide img { height: 450px; }

    .noticias_horizontal_fecha_sobre_rayas { padding-top:2rem; padding-bottom:2rem; }
    .noticias_horizontal_fecha_sobre_rayas .sinopsis{   margin: 10px auto;  line-height:140%;  -webkit-line-clamp: 4;  }
    .noticias_horizontal_fecha_sobre_rayas h2{ font-size: 1.5em;}
    .noticias_horizontal_fecha_sobre_rayas a .zona_imagen i{  left: 45%;  top: 40%; }
    .rellenox_presentacion { padding-left: 2%; padding-right: 2%; background-color: #ffffff90; }
  
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199.98px) {
   
    .servicios_imagenes h3 { font-size: 1em; }
  
    .slick-slide img { height: 500px;}
    
    .noticias_horizontal_fecha_sobre_rayas a .zona_datos h2 {font-size: 2em; }
    .noticias_horizontal_fecha_sobre_rayas .sinopsis{    -webkit-line-clamp: 3;  }
    .noticias_horizontal_fecha_sobre_rayas a .zona_imagen i{left: 18vw; top:80px }

}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) and (max-width: 1399px) {
    
}

/* Extra large devices (large desktops, 1400px and up)*/
@media (min-width: 1400px) {

  
    .noticias_horizontal_fecha_sobre_rayas .relleno{margin: 0% 8%;}
    .noticias_horizontal_fecha_sobre_rayas a .zona_imagen i {    bottom: 199px; left: calc(27vw - 7.65rem);}
}

