@font-face {
  font-family: "CustomFont";
  src: url("fonts/POPPINS-REGULAR.TTF");
  color: #5b5b5e;
}

@font-face {
  font-family: "Poppins";
  src: url("fonts/POPPINS-REGULAR.TTF");
  font-weight: 400;
  color: #5b5b5e;
}

@font-face {
  font-family: "Poppins";
  src: url("fonts/POPPINS-MEDIUM.TTF");
  font-weight: 500;
  color: #5b5b5e;
}

@font-face {
  font-family: "Poppins";
  src: url("fonts/POPPINS-BOLD.TTF");
  font-weight: 700;
}

.hide-desktop{
	display: none !important;
}

.hide-mobile{
	display: block;
}

.h1, h1
{
  font-size: 3rem !important;
}

img {
	pointer-events: none;
}

.black-shadow{
	text-shadow: 0px 0px 5px rgba(0,0,0, 0.5);
}

html,
body {
  overflow-x: hidden;
  margin: 0px;
  padding: 0px;
  font-family: "Poppins";
  color: #5b5b5e;
}

.text {
  height: auto;
}
.navbar-nav {
  margin: 0;
  display: flex;
  flex-direction: column;
}

nav {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.nav-item {
  margin-right: 0px;
}

.navbar-brand {
  margin-right: 0;
  margin-left: auto;
}

.carousel,
.sec-filiales,
.sec-equipo,
.sec-nove,
.sect {
  margin-top: 5vw !important;
}

.navbar-brand img {
  max-height: 80px;
}

.carousel-item {
  height: 530px;
}

h3,
p {
  font-family: "CustomFont", sans-serif;
}

.full-page-image0 {
  height: 80vh;
  background-image: url("img/home/boton-poli.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  letter-spacing: 10px;
}
.full-page-image {
  height: 80vh;
  margin-top: 20px;
  background-image: url("img/home/boton-equipo.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  letter-spacing: 10px;
}
.full-page-image2 {
  height: 80vh;
  /*margin: 0 1%;*/
  margin-top: 20px;
  background-image: url("img/home/boton-cobertura.png");
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  letter-spacing: 10px;
}
.full-page-image3 {
  height: 80vh;
  /*margin: 0 1%;*/
  margin-top: 20px;
  background-image: url("img/home/boton-convenios.png");
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  letter-spacing: 10px;
}
.full-page-image4 {
  height: 80vh;
  /*margin: 0 1%;*/
  margin-top: 20px;
  background-image: url("img/home/boton-areas.png");
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  letter-spacing: 10px;
}

.full-page-image5 {
  height: 80vh;
  /*margin: 0 1%;*/
  margin-top: 20px;
  background-image: url("img/home/boton-beneficios.png");
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  letter-spacing: 10px;
}

.content-section {
  padding: 10px;
  text-align: left;
}

.box {
  display: inline-grid;
  max-width: 500px;
  margin: auto;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 5px;
}
.box2 {
  display: inline-grid;
  max-width: 500px;
  margin: auto;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 5px;
}
.content-section2 {
  /*padding: 50px;*/
  height: 38vh;
  text-align: center;
  background-color: #f8f9fa;
}

.box h2 {
  margin-bottom: 10px;
}

.box p {
  margin-bottom: 20px;
}

.box input {
  margin-bottom: 10px;
}

.box button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}
.container {
  max-width: 100%;
  text-align: center;
}
.mobile-element {
  background-color: none;
  height: 58px;
  margin-top: -12px;
  margin-bottom: 20px;
}
.mobile-element h3 {
  font-size: 1.5rem;
  text-align: right;
  margin-left: 36px;
  margin-top: 0px;
  padding: 12px;
}

.footer {
  background-color: #1b4328;
  color: #fff;
  padding: 30px 10px;
  text-align: center;
  margin-top: -5px;
  padding-top: 0px;
}

.emergency-text {
  margin-bottom: 10px;
}

.emergency-text p {
  margin: 0;
}

.emergency-logo img {
  max-height: 19px;
}
.end-logo img {
  max-height: 200px;
}

.whatsapp-contact {
  justify-content: flex-start;
  text-align: left;
  /* padding-left: 20px;
  margin-top: 10px; */
}

.whatsapp-contact img {
  max-height: 20px;
  order: -1;
}

.sug img {
  max-height: 40px;
}

.emergency-logo p {
  margin: 0;
}

.slider {
  position: fixed;
  bottom: -500px;
  left: 0;
  width: 100%;
  background-color: #f1f1f1;
  transition: bottom 0.5s ease-in-out;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  /* overflow: hidden; */
}

.slider.open {
  bottom: 0;
  z-index: 999;
}

.carousel-caption {
  position: absolute;
  right: 15%;
  bottom: 412px;
  left: 6%;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
}
.carousel-item {
  background-repeat: no-repeat;
  background-position: left;
  background-size: cover;
}

.slider-button {
  display: none;
  position: fixed;
  bottom: 0px;
  left: 50%;
  transform: translateX(-55%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 190px;
  height: 40px;
  border-top-right-radius: 11px;
  border-top-left-radius: 11px;
  background-color: #e11b2c;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  /* transition: background-color 0.3s ease-in-out; */
  transition: bottom 0.5s ease-in-out;
  z-index: 10;
}

.slider-button2 {
	position: absolute;
	left: 50%;
	transform: translateX(-55%);
	top:-40px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 190px;
	height: 40px;
	border-top-right-radius: 11px;
	border-top-left-radius: 11px;
	background-color: #e11b2c;
	color: #fff;
	font-size: 24px;
	cursor: pointer;
	/* transition: background-color 0.3s ease-in-out; */
	transition: bottom 0.5s ease-in-out;
	z-index: 10;
}

/* .slider-button.open{
	opacity: 0
} */


.slider-button:hover {
  /* background-color: #555; */
}

nav.navbar {
  padding-right: 0px;
}

.dropdown-toggle::after {
  color: #e11b2c;
}

.carousel-inner .carousel-caption {
  left: 15%;
  right: unset;
  text-align: left;
}

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

.dropdown-menu.show {
  border-top: 3px solid #e11b2c;
  background-color: #f1efed;
}

.dropdown-menu .dropdown-item {
  background-color: #f1efed;
  border-bottom: 1px solid #000;
  width: 90%;
  margin: auto;
}

/* no border on last item */
.dropdown-menu .dropdown-item:last-child {
  border-bottom: none;
}

.emergency-logo {
  display: flex;
  flex-direction: column;
}

.mob-wc {
  display: flex;
  justify-content: space-around;
}

.mob-seg .sug span {
  font-size: 16px;
}

.phonenum {
  letter-spacing: 0.5px;
}

.whatsapp-contact label {
  margin-bottom: 0px;
}

footer.footer {
  padding: 30px 5%;
}

.slider-content input {
  background-color: #eceeef;
}

#slider.slider {
  background: #fff;
  padding-bottom: 50px !important;
}

.navbar-nav {
  font-family: "Poppins";
}

.content-section {
  font-family: "Poppins";
}

#myCarousel .carousel-control-prev,
#myCarousel .carousel-control-next {
  opacity: 1;
}

.carousel-control-prev .carousel-control-prev-icon,
.carousel-control-next .carousel-control-next-icon {
  background: #fff;
  opacity: 1;
  font-size: 22px;
  height: 30px;
  width: 30px;
  border-radius: 50%;
}

#myCarousel .carousel-indicators li {
  height: 25px;
  width: 25px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid white;
}

#myCarousel .carousel-indicators li.active {
  background: #fff;
}

div.page {
  padding-left: 0px;
  padding-right: 0px;
}

.banner {
  position: relative;
  /* height: 700px;
  margin-top:120px; */
  height: 70vh;
  margin-top: 10vh;
  user-select: none;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  object-position: 50% 50%;
}

.banner-aut {
  position: relative;
  height: 700px;
}

.banner-aut img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.page-name {
  font-family: "Poppins";
  position: absolute;
  top: calc(50% - 36px);
  text-align: center;
  width: 100%;
  color: #fff;
  letter-spacing: 20px;
  text-transform: uppercase;
  font-size: 60px;
  font-weight: 700;
}

.page .container {
  text-align: left;
  padding: 20px 5%;
}

.whatsapp-contact,
.footer {
  font-family: "Poppins";
}

#slider {
  z-index: 999;
}

.sug {
  font-weight: 700;
}

/* filiales */

.fcard {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 70px 0;
  flex-wrap: wrap;
}

.fcard img {
  width: 700px;
  height: 400px;
  border-radius: 20px;
}

.fcard h2 {
  font-size: 30px;
  font-weight: 700;
}

.fcard-body {
  color: #5e5d60;
  font-size: 23px;
  max-width: 350px;
}
span.icon {
  vertical-align: middle;
}

.fcard ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* equipo */

.sec-equipo {
  max-width: 1000px;
  margin: auto;
  color: #5e5d60;
  padding: 50px 20px;
}

.sec-equipo h2 {
  font-size: 27px;
  font-weight: 700;
}

.sec-equipo p {
  margin: 30px 0;
}

.sec-equipo ul {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.sec-equipo li {
  display: flex;
}

.sec-equipo li .prof {
  min-width: 200px;
  font-weight: bold;
  width: 50%;
}

.sec-equipo li .pers {
  width: 50%;
}

/* novedades */

.sec-nove h1 {
  color: #5e5d60;
}

.sec-nove {
  max-width: 1250px;
  margin: auto;
}

.acards {
  margin: 30px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1250px;
}

.acard img {
  width: 300px;
  height: 240px;
}

.acard {
  display: flex;
  width: 600px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.acard h3.acard-title {
  font-size: 20px;
}

.acard .date {
  font-size: 14px;
  color: #5e5d60;
}

.acard .acard-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px;
  height: 200px;
}

.acard:hover h3 {
  color: #007bff;
}

.acard:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transform: scale(1.02);
}

.acard p {
  color: #5e5d60;
  font-size: 16px;
}

body .sect {
  padding-top: 6vw;
  font-family: "Poppins";
}

/* servicios */

.sec-serv {
  max-width: 1200px;
  margin: auto;
}

.emerg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.emg-card {
  background-color: #5b5a5d;
  display: flex;
  color: #fff;
  width: 580px;
  border-radius: 20px;
  padding: 10px;
  gap: 20px;
  align-items: center;
  min-height: 185px;
}

.emg-card h3 {
  font-weight: 900;
  font-size: 36px;
}

.emg-card img {
  height: 100px;
}

.emg-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.emg-card-body p {
  margin: 0px;
  font-size: 25px;
}

.serv-card {
  position: relative;
  user-select: none;
}

.serv-card img {
  width: 100%;
}

.serv-card .sec-body {
  position: absolute;
  bottom: 10%;
  left: 0;
  padding: 0 5%;
  width: 100%;
  display: flex;
  color: #fff;
  justify-content: space-between;
  align-items: center;
}

.sec-body h3 {
  font-size: 40px;
  max-width: 55%;
}

.sec-body-two h3 {
  font-weight: bold !important;
  max-width: 65% !important;
  text-shadow: 1px 1px 3px #000;
}

.serv-btn {
  display: flex;
  width: 50px;
  height: 50px;

  background-color: #e11b2c;
  color: #fff;
  padding: 5px;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  border: none;
  border-radius: 15px;
}

.serv-btn-two{
	width: auto;
	max-width: 35% !important;
	height: auto !important;
	font-size: 32px !important;
	text-align: center !important;
	border-radius: 8px;
	padding: 4px 10px;
}

.serv-btn img {
  margin:0 auto;
  width: auto;
  height: 100%;
}

.tbl-agenda td, .tbl-agenda th
{
  padding: 0.45rem !important;
  vertical-align: middle !important;
}

.serv-card .mob-img {
  display: none;
}

/* CSS for the toast container */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background-color: #333;
  color: #fff;
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  opacity: 0; /* The toast will be initially hidden */
  transition: opacity 0.3s ease-in-out;
  z-index: 9999; /* Ensure the toast appears on top of other elements */
}

/* CSS for the toast header */
.toast-header {
  display: flex;
  justify-content: space-between;
}

/* CSS for the close button */
.close {
  color: #fff;
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.7;
}

.close:hover {
  opacity: 1;
}

/* CSS for the toast body */
.toast-body {
  padding-top: 5px;
}

/* Optional CSS for the text inside the toast body */
.toast-body p {
  margin: 0;
}

/* Show the toast when its class contains 'show' */
.toast.show {
  opacity: 1;
}

.toast-header .close {
  color: #fff;
}

.segysalud {
    top: calc(50% + 145px);
}

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

  .h1, h1
  {
    font-size: 1.65rem !important;
  }

	.hide-desktop{
		display: flex !important;
	}
	
	.hide-mobile{
		display: none !important;
	}

  .tbl-agenda{
	text-wrap: balance;
	overflow-wrap: anywhere;
	overflow: hidden;
  }

  .serv-btn {
	width: 43px;
	height: 43px;
  }

  
  .sec-body-two h3 {
	font-weight: bold !important;
	max-width: 65% !important;
	font-size: 32px !important;
  }

  .serv-btn-two{
	width: auto;
	max-width: 35% !important;
	height: auto !important;
	font-size: 26px !important;
	text-align: center !important;
  }



  .navbar-brand {
    position: absolute;
    left: calc(50vw - 110px);
    top: -5px;
  }

  .carousel,
  .sec-filiales,
  .sec-equipo,
  .sec-nove,
  .sect {
    margin-top: 95.7px !important;
  }

  #navbarNav.set {
    margin-left: 0px;
  }

  .nav-item {
    border-bottom: 1px solid #000;
    width: 70%;
    margin: auto;
  }

  .fcard-reverse {
    flex-direction: column-reverse;
  }

  .fcard .fcard-body {
    max-width: 90vw;
    width: 90vw;
  }

  .fcard img {
    width: 90vw;
    height: auto;
  }

  .emerg {
    flex-direction: column;
    gap: 20px;
  }

  .emerg .emg-card {
    width: 100%;
  }

  .sec-serv {
    padding: 5%;
  }
}

@media (max-width: 767.98px) {

  .segysalud {
    top: calc(50% + 70px) !important;
  }

  .navbar {
    justify-content: center;
  }

  .navbar-brand {
    margin-right: auto;
    margin-left: auto;
  }

  .navbar-toggler {
    order: -1;
  }

  .collapse.navbar-collapse {
    margin-left: auto;
    margin-right: 0;
  }
  .mobile-only {
    display: unblock;
  }

  .logo {
    display: none;
  }

  .logo2 {
    display: flex;
	justify-content: center;
  }

  .navbar-nav .nav-item {
    text-align: center;
  }

  nav.navbar {
    padding: 0px;
  }

  .navbar-nav {
    border-top: 2px solid #e11b2c;
  }

  .mobile-element.float-right.mt-2 {
    margin-bottom: 0px;
    margin-top: 0px !important;
  }

  footer.footer {
    padding: 30px 1%;
  }

  .full-page-image0,
  .full-page-image,
  .full-page-image2,
  .full-page-image3,
  .full-page-image4,
	.full-page-image5  {
    height: 200px;
  }

  .page-name {
    font-size: 40px;
    letter-spacing: 20px;
    top: calc(50% - 18px);
  }

  .banner {
    height: auto;
  }

  .banner-aut {
    height: auto;
  }
  .carousel-inner .carousel-caption {
    left: 5%;
    bottom: 45px !important;
  }

  .acard {
    flex-direction: column;
    width: auto;
  }

  .acard .acard-body {
    width: 300px;
  }

  .carousel,
  .sec-filiales,
  .sec-equipo,
  .sec-nove,
  .sect {
    margin-top: 8vh !important;
  }

  .serv-card img {
    display: none;
  }

  .serv-card .mob-img {
    display: block;
  }

  .emerg .emg-card h3 {
    font-size: 24px;
  }

  .emerg .emg-card p {
    font-size: 16px;
  }

  .sec-body {
    flex-wrap: wrap;
    gap: 10px;
  }

  .sec-body h3 {
    font-size: 24px;
    max-width: 100%;
    width: 100%;
  }

  .sec-body .serv-btn {
    font-size: 16px;
    padding: 5px 10px;
  }

  .sec-body-two h3 {
	font-weight: bold !important;
	max-width: 100% !important;
	font-size: 28px !important;
  }

  .serv-btn-two{
	width: auto;
	max-width: 100% !important;
	height: auto !important;
	font-size: 23px !important;
	text-align: center !important;
  }

}

@media (min-width: 767.98px) {
	
.frame-cobertura{
	width: 970px;
	height: 500px;
	border: none;
	
}

.banner-aut {
  position: relative;
  height: 700px;
  
}

.banner-aut img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0px -350px;
}
	
  .slider {
    width: 95%;
    margin-left: 30px;
    margin-right: 20px;
  }

  .logo{
	display: block;
  }
  
  .logo2 {
    display: none;
  }

  #slider.slider {
    padding: 30px !important;
    padding-bottom: 50px !important;
  }

  .full-page-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .full-page-images .fpi {
    width: 48vw;
    margin-top: 0px;
    margin: 0.5vw;
	height: 370px;
	border-radius: 15px;
  }

  .full-page-images .fp-last {
    width: 97vw;
  }
}
.set {
  margin-left: 130px;
}

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

  .sec-body-two h3 {
	font-weight: bold !important;
	max-width: 100% !important;
	font-size: 19px !important;
  }

  .sec-body-two {
	gap: 5px !important;
  }

  .serv-btn-two{
	width: auto;
	max-width: 100% !important;
	height: auto !important;
	font-size: 16px !important;
	text-align: center !important;
	padding: 2px 8px !important;
  }

  .sec-equipo li .prof {
	text-wrap: balance;
	word-wrap: break-word;
	min-width: 0 !important;
	width: 35% !important;
  }
  
  .sec-equipo li .pers {
	width: 65% !important;
	padding-left: 20px;
  }

/* INICIO CUSTOM */

.banner {
  position: relative;
  height: 300px;
  margin-top:0;
}

.page-name {
	top: calc(50% - -40px);
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0px 40px;
}	

.banner-aut {
  position: relative;
  /* height: 300px; */
  
}

.banner-aut img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0px 40px;
}	

.frame-cobertura{
	width: 370px;
	height: 500px;
	border: none;
	
}


/* FIN CUSTOM */

  .navbar-brand img {
    max-height: 60px;
  }

  .navbar-brand {
    position: absolute;
    left: calc(50vw - 90px);
    top: -5px;
  }

  .page-name {
    font-size: 30px;
    letter-spacing: 10px;
  }

  .end-logo img {
    max-width: 150px;
    max-height: unset;
    margin: 15px 0;
  }

  .whatsapp-contact * {
    font-size: 14px !important;
  }

  .acard {
    margin: 30px 0;
  }

  .acard .acard-body,
  .acard img {
    width: 80vw;
  }

}

@media (max-width: 415px) {
  /* Smaller mobile devices */
  .navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    width: 100%;
  }
  .navbar-brand.collapsed-logo {
    display: block;
  }
  .navbar-toggler {
    order: 0;
  }

  .collapse.navbar-collapse {
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 99;
    text-align: center;
    display: none;
  }

  .collapse.navbar-collapse.show {
    display: block;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    width: 100%;
  }

  .navbar-nav .nav-link {
    display: block;
    padding: 10px 0;
  }

  .navbar-nav .nav-item img {
    max-width: 100%;
    height: auto;
  }

  .navbar-brand img {
    max-height: 50px;
  }

  .navbar-brand {
    position: absolute;
    left: calc(50vw - 75px);
    top: -5px;
  }
}

.but button {
  background-color: red;
  color: white;
  margin-top: 35px;
  padding: 10px 20px;
  border: 1px solid red;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  float: left;
}

input[type="number"] {
  -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

@media screen and (max-width: 1200px) {
  .acards {
    justify-content: center;
  }

  .sec-nove h1 {
    text-align: center;
    margin: 30px 0;
  }
}

