.imgloading{
    top: 0;
    height:  100vh;
    width: 100%;
    position: fixed;
    z-index: 50000;
    justify-content: center;
    align-items: center;
    display:none;
    background-color:rgba(0, 0, 0, 0.5);
    
}
.gFont1{
    font-size: 32px;
    font-family: 'Courgette', cursive;
}
.gFont2{
  font-size: 22px;
  font-family: 'Courgette', cursive;
  
}
.gFont3{
  color: #5F5C5C;
}
.gFont4{
  color: rgb(53, 53, 233);
  font-size: 18px;
  font-family: 'Courgette', cursive;
}
.gFont5{
  font-size: 36px;
  font-family: 'Courgette', cursive;
  
}
.imgloading img{
    opacity: 9;
}

.btnEditar{
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    border-radius: 50%;

}

.button {
    margin-left: 10px;
    backface-visibility: hidden;
    position: relative;
    cursor: pointer;
    display: inline-block;
    white-space: nowrap;
    background: #e74;
    border-radius: 500px;
    border: 0px solid #444;
    border-width: 0px 0px 0px 0px;
    padding: 8px 20px 8px 50px;
    color: #fff;
    font-size: 15px;
    font-family: Helvetica Neue;
    font-weight: 900;
    font-style: normal;
    margin-bottom: 4px;
}
.button > div {
    color: #999;
    font-size: 10px;
    font-family: Helvetica Neue;
    font-weight: initial;
    font-style: normal;
    text-align: center;
    margin: 0px 0px 0px 0px
}
.button > i {
    color: #e21;
    font-size: 1em;
    background: #fff;
    border-radius: 100px;
    border: 4px solid #e74;
    border-width: 4px 4px 4px 4px;
    padding: 11px 12px 11px 12px;
    margin: 6px 6px 6px 6px;
    position: absolute;
    top: -10px;
    left: -10px;
    bottom: -10px
}
.button > .ld {
    font-size: initial
}

.cargaimg{
    padding: 10px;
    background: #345DB3;
    font-size: 18px;
    position: relative;
    color: #FFF;
    font-weight: bold;
    -webkit-transition: all 300ms ease-in;
    -moz-transition: all 300ms ease-in;
    -ms-transition: all 300ms ease-in;
    -o-transition: all 300ms ease-in;
    transition: all 300ms ease-in;
}

.cargaimg:hover{
    background: #346BDE;
    color: rgb(228, 218, 218);
    
}

.EleImagen{
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 8;
    cursor: pointer;
    border: 1px solir #000;
    opacity: 0;
}
#validacion{
    display: none;
}
#imgCarga{
    display: none;
}
#imgCarga img{
    width: 100px;
    height: 100px;
}


.modal{
    padding: 0 !important;
}
/*estilos modal detalle*/
.modal .modal-content{
    -webkit-box-shadow: 11px 8px 5px -3px rgba(0,0,0,0.75);
    -moz-box-shadow: 11px 8px 5px -3px rgba(0,0,0,0.75);
    box-shadow: 11px 8px 5px -3px rgba(0,0,0,0.75);
}
.modal #detalleServicio{
    overflow-y: auto;
}
.modal .detalle{
  width: 100%;
  max-width: none;
  padding: 0;
}
.modal .detallec{
    border: 0;
    border-radius: 10px;
}

.modal .detallec #detalleServicios{
    height: 700px;
}


.modal .titulo .close{
    color: #000;
}

.modal button{
    font-size: 2em;
    color: #FFF;
    padding: 0;
    margin: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.color{
    color: #5c768d;
 }
 .contenedorServicios{
     background: red;
     width: 60%;
 }
 
/*fin estilos modal detalle*/

#carouselExampleControls .carousel-control-prev-icon,
#carouselExampleControls .carousel-control-next-icon {
  height: 80px;
  width: 80px;
  background-size: 110%, 110%;
  border-radius: 50%;
  background-image: none;
}
#carouselExampleControls .carousel-control-prev-icon:after {
  content: '<';
  font-size: 55px;
  color: red;
  
}
#carouselExampleControls .carousel-control-next-icon:after{
  content: '>';
  font-size: 55px;
  color: red;
}
#carouselExampleControls .carousel-control-prev{
  left:-10%;
}
#carouselExampleControls .carousel-control-next{
  left:96%;
}
.link-contacto{
    cursor: pointer;
    transition-duration: 1s, 3s, 2s, 1s;
}
.link-contacto:hover{
    -webkit-transform:scale(1.1);
    -moz-transform:scale(1.1);
    -ms-transform:scale(1.1);
    -o-transform:scale(1.1);
    transform:scale(1.1);
}

.social {
	position: fixed; /* Hacemos que la posición en pantalla sea fija para que siempre se muestre en pantalla*/
	left: -40px; /* Establecemos la barra en la izquierda */
	top: 30%; /* Bajamos la barra 200px de arriba a abajo */
	z-index: 2000; /* Utilizamos la propiedad z-index para que no se superponga algún otro elemento como sliders, galerías, etc */
}
 
	.social ul {
		list-style: none;
	}
 
	.social ul li a {
		display: inline-block;
		color:#fff;
		background: #000;
		padding: 10px 15px;
		text-decoration: none;
		-webkit-transition:all 500ms ease;
		-o-transition:all 500ms ease;
		transition:all 500ms ease; /* Establecemos una transición a todas las propiedades */
	}
 
	.social ul li .bxl-facebook {background:#3b5998;} /* Establecemos los colores de cada red social, aprovechando su class */
	.social ul li .icon-twitter {background: #00abf0;}
	.social ul li .bxl-whatsapp {background: #009688;}
	.social ul li .bxl-instagram {background: #A12BA5;}
	.social ul li .bxl-youtube {background: #E30909;}
 
	.social ul li .bxl-whatsapp:hover {
		background: #1EBEA5; /* Cambiamos el fondo cuando el usuario pase el mouse */
		padding: 15px 16px; /* Hacemos mas grande el espacio cuando el usuario pase el mouse */
    }
    .social ul li .bxl-facebook:hover {
		background: #2F4F91; /* Cambiamos el fondo cuando el usuario pase el mouse */
		padding: 15px 16px; /* Hacemos mas grande el espacio cuando el usuario pase el mouse */
    }
    .social ul li .bxl-instagram:hover {
		background: #981A9C; /* Cambiamos el fondo cuando el usuario pase el mouse */
		padding: 15px 16px; /* Hacemos mas grande el espacio cuando el usuario pase el mouse */
    }
    .social ul li .bxl-youtube:hover {
		background: #B10808; /* Cambiamos el fondo cuando el usuario pase el mouse */
		padding: 15px 16px; /* Hacemos mas grande el espacio cuando el usuario pase el mouse */
    }
    .video-fluid {
        width: 100%;
        height: auto;
        -webkit-box-shadow: 0px 0px 28px -7px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 28px -7px rgba(0,0,0,0.75);
        box-shadow: 0px 0px 28px -7px rgba(0,0,0,0.75);
    }
.btn-bio-seguridad{
    position: fixed; /* Hacemos que la posición en pantalla sea fija para que siempre se muestre en pantalla*/
    right:  0px; /* Establecemos la barra en la izquierda */
    top: 30%; /* Bajamos la barra 200px de arriba a abajo */
    z-index: 2000; /* Utilizamos la propiedad z-index para que no se superponga algún otro elemento como sliders, galerías, etc */
    background-color: #ffc107;
    padding-right: 10px;
    width: 22px;
  }

.btn-bio-seguridad  a { 
  text-align: center;
  color: #FFF;
  font-size: 11px;
  font-weight: bold;
  transition: all 300ms;
}
.btn-bio-seguridad  a:hover { 
  text-align: center;
  color: rgb(82, 79, 79);
  font-size: 12px;
  font-weight: bold;
}
.btn-bio-seguridad  span { 
  display: block; 
  margin-left: 8px;
  text-align: center;
}

.icon img{
    width: 100px;
    height: 100px;
    border-radius:50%;
}
.imgtestimonio{
  position: relative;
  top: -50px;
}

/* card detalles servicios ---------------------------------------------------------------------------------------------------------*/
.contenedor{
  width: 90%;
  max-width: 1300px;
  margin: 10px auto;
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(3, 1fr) ;
  grid-template-rows: repeat(4,auto);
  grid-template-areas: "header header header"
                       "contenido aside aside"
                       "contenido widget-1 widget-2"
                       "widget-3 widget-4 widget-4"
                       "widget-5 widget-6 widget-6"
                       "widget-7 widget-7 widget-7"
                       "widget-8 widget-9 widget-9"
                       "widget-10 widget-10 widget-10"
                       "widget-11 widget-12 widget-12"
                       "widget-13 widget-13 widget-13"
                       "footer footer footer";
}
.contenedor > div,
.contenedor .contenido,
.contenedor .header,
.contenedor .sidebar,
.contenedor .footer,
.contenedor .aside{
  padding: 5px;

}

.agenda{
  background: #0069D9  !important;
  font-weight: bold;
  -webkit-box-shadow: 5px 5px 7px -1px rgba(0,0,0,0.75);
  -moz-box-shadow: 5px 5px 7px -1px rgba(0,0,0,0.75);
  box-shadow: 5px 5px 7px -1px rgba(0,0,0,0.75);
  transition: all 300ms;
}
.agenda:hover{
  background: #035FC3 !important;
  transform: scale(1.1)
}

.contenedor .header{
  width: 90%;
  position: fixed;
  top:0px;
  left:5%;
  z-index: 10000;

  grid-area: header;
  text-align: center;
  background: #436080;
  color: #FFF;
  box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
  transition: box-shadow 280ms cubic-bezier(.4,0,.2,1);
}

.detallec .close{
  position: fixed;
  top:10px;
  right: 2%;
  z-index: 10000;
}

.contenedor .aside{
 grid-area: aside;
}
.contenedor .social-links{
  font-size: 38px;
}
.contenedor img{

  max-width: 100%;
  -webkit-box-shadow: 0px 0px 25px -2px rgba(31,30,31,1);
  -moz-box-shadow: 0px 0px 25px -2px rgba(31,30,31,1);
  box-shadow: 0px 0px 25px -2px rgba(31,30,31,1);
}

.contenedor .contenido{
  min-width: 600px;
 grid-area: contenido;
}

.contenedor .widget-1{
  grid-area: widget-1;
}
.contenedor .widget-2{
  grid-area: widget-2;
}

.contenedor .widget-3{
  grid-area: widget-3;
}
.contenedor .widget-4{
  grid-area: widget-4;
}
.contenedor .widget-5{
  grid-area: widget-5;
}
.contenedor .widget-6{
  grid-area: widget-6;
}
.contenedor .widget-7{
  grid-area: widget-7;
}
.contenedor .widget-8{
  grid-area: widget-8;
}
.contenedor .widget-9{
  grid-area: widget-9;
}
.contenedor .widget-10{
  grid-area: widget-10;
}
.contenedor .widget-11{
  grid-area: widget-11;
}
.contenedor .widget-12{
  grid-area: widget-12;
}
.contenedor .widget-13{
  grid-area: widget-13;
}
.contenedor .footer{
  text-align: center;
  grid-area: footer;
}
.contenedor-doctor{
  height:70vh;
  margin:0;
  padding:0;
  
}
.cdescripcion{
  height:69vh;
}
.contenedor-texto{
  height:50vh;
  overflow: auto;
  color:#000;
}
.cimagen{
  width:100%; 
  height:70vh;
  display: flex; 
  align-items: flex-end;
}
.imagen-doctor{
  display: none;
}
@media screen and (max-width: 768px){
  .contenedor{
     grid-template-areas: "header header header"
                          "contenido contenido contenido"
                          "aside aside aside"
                          "widget-1 widget-1 widget-1"
                          "widget-2 widget-2 widget-2"
                          "widget-3 widget-3 widget-3"
                          "widget-4 widget-4 widget-4"
                          "widget-5 widget-5 widget-5"
                          "widget-6 widget-6 widget-6"
                          "widget-7 widget-7 widget-7"
                          "widget-8 widget-8 widget-8"
                          "widget-9 widget-9 widget-9"
                          "widget-10 widget-10 widget-10"
                          "widget-11 widget-11 widget-11"
                          "widget-12 widget-12 widget-12"
                          "widget-13 widget-13 widget-13"
                          "footer footer footer";
  }
  .detallec .close{
    position: fixed;
    top:80px;
    right: 50%;
    z-index: 10000;
    background: rgb(122, 120, 120);
    border-radius: 50%;

  }
  .btn-agenda{
    right: 6%;
  }
  .texto-doctor{
    height:100vh;
    overflow: hidden;
  }
  .contenedor-doctor .cimagen{
    display: none !important;
  }
  .imagen-doctor{
    width: 40%;
    display:block;
    margin:auto;
  }
  .contenedor-doctor h2{
    font-size: 18px;
  }
  .contenedor-doctor, .cdescripcion{
    height: 100vh !important;
  }
  
}


.btn-contacto, .btn-agenda{
  box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
  transition: box-shadow 280ms cubic-bezier(.4,0,.2,1);
  will-change: box-shadow;
  color: #fff!important;
  padding: 5px;
  transition: all 0.5s ease-out; 
}
.btn-contacto{
  background-color: #c71cb9;
  border-color: #c71cb9;
  margin-top: 10px;
}
.btn-contacto:hover{
  transform: scale(1.1)
}
.btn-agenda{
  border-radius: 0 0 10px 10px ;
  background-color: #035FC3;
  border-color: #2196f3;
  position: fixed;
  top: 7%;
  right: 5.7%;
  z-index: 8000;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 12px;
}
.btn-agenda:hover{
  transform: scale(1.1)
}

#inicioSesion{
  display: none;
} 
.btnAgendaCitaMovil{
  display: none;
}
@media (max-width: 768px) {
  #detallecontent{
    max-width: 96%;
  } 
  #inicioSesion{
    display: block;
    text-transform: uppercase;
  } 
  .btnAgendaCitaMovil{
    font-size: 8px;
    display: inline;
    position: absolute;
    height: 60px;
    padding-top: 4%;
    padding-left: 8%;
  }

  .btnAgendaCitaMovil a{
    padding: 7px;
    color: #FFF;
    background: #0069D9  !important;
    font-weight: bold;
    -webkit-box-shadow: 5px 5px 7px -1px rgba(0,0,0,0.75);
    -moz-box-shadow: 5px 5px 7px -1px rgba(0,0,0,0.75);
    box-shadow: 5px 5px 7px -1px rgba(0,0,0,0.75);
    transition: all 300ms;
  }

}

