.logo_central_tel_login_sobre_menu  {
    position: absolute;
    top: 1.2rem;
    left: 0;
    width: 100%;
    /* height: 60px; */
    padding: 0 5%;
    text-align: center;
    z-index: 100;
}

/*---------------------------*/


/*------poner imagen a pantalla entera-----*/


/*.carousel-item{height: 100vh !important; }*/
.carousel-item img{  object-fit: cover; }

.carousel-item{
    transition: transform 0.5s ease, opacity .5s ease-out!important;
}
.carousel-caption h1{ text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff;}

/*----------------------presentación imagen fondo--------------------------------------*/

.presentacion_img_fondo {
    display: flex;
    align-items: center;

    background-size: cover;
}


.presentacion_img_fondo .texto-caption {
    color: #fff;
    text-align: center;

    padding: 5%;
  
}

.presentacion_img_fondo .texto-caption h2 {
    font-size: 3em;
    font-weight: 500;
    line-height: 100%;
    margin-bottom: 20px;
    color: #FFF;
    
}

.presentacion_img_fondo .texto-caption span {
    font-size: 0.5em;
    font-weight: 400;
    text-shadow: 1px 1px #000000, -1px -1px #333;
    padding: 10px;
    text-transform: none;
    line-height: 100%;

}

/*------------------presentacion-----------------------*/

.sobre_titular {
    margin-bottom: 28px;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 10px;
   
}

.texto_pres h2 {
    letter-spacing: -.3px;
    line-height: 100%;
    font-size: 2.8em;

    margin-bottom: 35px;
}
.texto_pres h2 span{font-size: 0.7em; color:#C1B19D; color: transparent;   
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color:#333;
   }

.texto_pres p {
    margin-bottom: 30px;
    text-align: justify;
}

.texto_pres h3 {
    line-height: 1.1;
    font-size: 1.7em;
}

#presentacion .sobre_titular {
    margin-bottom: 10px;
}

#presentacion .texto_presentacion {
    padding-left: 7%;
    display: flex;
}

.texto_pres {
    align-self: center;
}

/*----------------------------- articulos portada ------------------------*/

.bloque_listado_productos .icono_articulos{text-align: center; width: 150px; height:150px; padding: 40px; background-color: #fff; border-radius: 50%; }
.bloque_listado_productos .zona_icono_arriba{margin-top: -60px;}

/*------------------cajas bajo slide- servicios----------------------*/
#cajas_enlaces_dato_contacto{ margin-top:-60px;}
#cajas_enlaces_dato_contacto .dato{ position: absolute; bottom: 0px; margin: 0px;}
#cajas_enlaces_dato_contacto .dato li{ display: inline-block; font-size: 1.2em;}
#cajas_enlaces_dato_contacto .dato li .fas{font-size: 2.5em; margin-right: 10px;}
#cajas_enlaces_dato_contacto .caja {padding:30px 20px; transition: color linear 1s; text-align: center;}
.caja{transition: color linear 1s;}
#cajas_enlaces_dato_contacto .nombre_caja{ font-size: 2.1em; font-weight: 700; line-height: 110%; padding-top: 15px;}
#cajas_enlaces_dato_contacto .caja .icono{font-size: 3em;}
#cajas_enlaces_dato_contacto .caja .ver{font-size: 2.5em;}

/*------------------noticias-----------------------*/

.noticias .titular_bloque {
    font-size: 2.5em;
    font-weight: 500;   
    text-transform: uppercase;
}




.caja_noticia .fondo_blanco {background-color: #FFF;} 
.noticias .caja_noticia .fondo_blanco {transition: all 1s linear; }
.noticias .caja_noticia img {
    /*  width: 358px;*/

    object-fit: contain;

    display: flex;
    align-self: center;


}
.noticias .caja_noticia figure{background-color: #F7F7F7; margin: 0px;}
.noticias .card-title {    margin-bottom:0px; font-size: 1.3em; text-transform: uppercase;}
.noticias .card-body .categoria{ text-transform: uppercase;font-size: 0.8em; font-weight: 500; display: inline-block; letter-spacing: 1px;}
.noticias .card-body .fecha{ text-transform: uppercase;font-size: 0.8em; font-weight: 500;display: inline-block;  letter-spacing: 1px;}

.noticias .card-body{ display: grid!important; grid-template-rows: 30px 1fr   !important;}
.noticias .card-footer{ display: flex;    justify-content: space-between; font-size: 0.8em; background-color:#fff ; border:none!important}

.noticias .card-footer .ver{ font-weight: 500; }


.noticias .caja_noticia figure.effect-moses{ background: linear-gradient(-45deg, #333 0%,#000 100%);}
.noticias .caja_noticia .fondo_blanco:hover{box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;}


/* Circle */
.hover15 figure {
    position: relative;
}

.hover15 figure::before {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: block;
    content: '';
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, .2);
    border-radius: 100%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 0;
}

.hover15 figure:hover::before {
    -webkit-animation: circle .75s;
    animation: circle .75s;
}



.boton_teaser {
    margin-top: 15px;
}


/*-----------carousel-------------------*/
.carousel-caption h1 {   color:#000; line-height: 100%; }


.carousel-control-prev:hover, .carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
    opacity: 1;
}
/*#slide_2{box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;}*/

/*-----------logos-------------------*/
.logos .icono_logos{text-align: center; width: 150px; height:150px; padding: 40px; background-color: #fff; border-radius: 50%; }
.logos .zona_icono_arriba{margin-top: -60px;}
.logos .titular_bloque {
    font-size: 2em;
    font-weight:600;   
    text-transform: uppercase;
    padding-bottom: 40px;
}


/*------------------servicios-----------------------*/
.servicios {
    text-align: center; padding-right: 10%; padding-left: 10%;
    background-image: url(../img/adorno_fondo.jpg);
    background-position: bottom;
    background-repeat: no-repeat;
}

.servicios h2 {
    letter-spacing: -.3px;
    line-height: 1.22;
    font-size: 2.4em;
    font-weight: 600;

}

.servicios .subtitulo{
    font-size: 0.9em;
    font-weight: 800;

    text-transform: uppercase;
    margin: 21px 0 0;
    letter-spacing: .15em;}

    .servicios .subtitulo:after{
        background-image: url('../img/ornamentacion.png');
       content:"";
        width: 245px;
        height: 37px;
    }

.servicios h3 {
    text-align: center;
    margin: 0px;
    padding-top: 20px;
    padding-bottom: 10px;
    text-transform: uppercase;
    font-size: 1.4em;
    font-weight:800;

}

.servicios .caja .datos .desc{ padding: 5px 10%; font-size: 0.9em;}


.servicios .fila_cajas {
    justify-content: center;
}

.servicios a .desc{color:#666; font-size: 0.9em;}


.servicios .fila_cajas a:hover .datos  {
    background-color: #efefef;
}
.servicios .fila_cajas a .datos{padding: 5px 10px 20px 10px;}


.servicios a figure {
    padding: 20px;
    margin: 0px;
    overflow: hidden;

}

.servicios a figure img {

    -webkit-transition: .3s linear;
    transition:all .3s linear;
    border-radius: 50%;

}

.servicios a:hover figure img {
    filter: grayscale(100%);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 10px;

}

.servicios a:hover figure {
    overflow: hidden;
}


/*-------------------------------footer------------------------------*/

footer{ background-image: url("../img/pie.jpg"); background-position: right center; background-repeat: no-repeat;}

#bloque_firma {font-size: 0.8em; color:#333;}
#bloque_firma a{color:#666;}
#bloque_firma a:hover{color:#000;}
#bloque_firma .firma {text-align: right;}
#bloque_firma .firma a {text-decoration: underline;}
/*-------------------------medidas responsive----------------------*/

/* Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
    .show .nav-link {color:#666; text-align: center;}
    .nav-item .dropdown-menu .dropdown-item {text-align: center;}
    .carousel-item{height: auto!important;}
    .logo_central_tel_login_sobre_menu  { position: relative; top: 0%;}
    .carousel-caption { bottom: 0.25rem;}
    .carousel-caption h1 { font-size: 2rem; }
    
    .servicios h2 { font-size: 1.2em;  }
    .carousel-caption p { font-size: 1.0em;}

    .presentacion_img_fondo .texto-caption h2{font-size: 1.8em;}
    .presentacion_img_fondo .texto-caption p {font-size: 14px;}

    .contenedor_noticias{ grid-template-columns:1fr;  width: 100%;}
    .noticias .card img { height:inherit!important;}

    #cajas_enlaces_dato_contacto{ margin-top:-5px;}

    .texto_pres h2 {
        font-size: 1.8em;
    }

    .relleno_ambos {
        padding-top: 30px;
        padding-bottom: 30px;
    } 

    

    .slide_slick .slick-slide img { height: 200px; }
}

/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767.98px) {
    .show .nav-link {color:#666; text-align: center;}
    .nav-item .dropdown-menu .dropdown-item {text-align: center;}
    .carousel-item{height: auto!important;}
    .logo_central_tel_login_sobre_menu  { position: relative; top: 0%;}
    .presentacion_img_fondo .texto-caption h2{font-size: 1.8em;}
    .presentacion_img_fondo .texto-caption p {font-size: 14px;}
    .logo_central_tel_login_sobre_menu  { position: relative;}

    .carousel-caption h1 { font-size: 3rem; }
    .carousel-caption { bottom: 5.25rem;}

    .texto_pres h2 { font-size: 2em; }

    .relleno_ambos {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .imagen_pres {
        margin: 0 15px 30px 15px;
    }

    .noticias .card-title {
        font-size: 1em;
    }

    .noticias .card-footer .fecha {
        font-size: 0.85em;
    }

    .noticias .card-footer .ver {
        font-size: 0.85em;
    }

    #cajas_enlaces_dato_contacto{ margin-top:-30px;}

}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991.98px) {
    .show .nav-link {color:#666; text-align: center;}
    .nav-item .dropdown-menu .dropdown-item {text-align: center;}
    .carousel-item{height: auto!important;}
    .logo_central_tel_login_sobre_menu  { position: relative; top: 0%;}
    .relleno_ambos { padding-top: 30px; padding-bottom: 30px;    }

    .presentacion_img_fondo .texto-caption h2{font-size: 2em;}
    .presentacion_img_fondo .texto-caption p {font-size: 15px;}

    .texto_pres h2 { font-size: 2.3em; }

    .noticias .card img { height:143px!important;}
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199.98px) {

    .noticias .card img { height: 194px;}

}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) and (max-width: 1399px) {
    .carousel-caption { bottom: 130px !important; }

}

/* Extra large devices (large desktops, 1400px and up)*/
@media (min-width: 1400px) {
    .carousel-caption { bottom:180px !important;    }
    .texto_pres h2 { font-size: 3em;}
    .carousel-caption h1 {font-size:5rem;    }
    .carousel-caption h1 span{font-size: 1.5em; }
    .presentacion_img_fondo { min-height: 600px;}
}
