:root {
  --red-atom: #f33;
}

.bg-red-atom {
  background-color: var(--red-atom) !important;
}

.text-red-atom {
  color: var(--red-atom) !important;
}

body {
  min-height: 100dvh;
  min-height: 100vh;
}
/*estilos que estaban en la etiqueta style de las páginas*/
.bg-grey {
  background-color: #f2f2f2;
}

.rounded-20 {
  border-radius: 20px;
}

.navbar-collapse {
  font-size: 0.85rem;
}

@media (min-width: 375px) {
  .navbar-brand img {
    height: 86px;
  }
}

@media (min-width: 1200px) {
  .navbar-collapse {
    font-size: 1rem;
  }
}

.navbar-nav .dropdown-menu.show {
  position: absolute;
  left: 10px;
}

.navbar-nav,
.nav-link,
.dropdown-item {
  transition: all 0.5s ease;
  padding-left: 1rem !important;
  color: #878589;
  /* border-left: 8px solid #7f7f7f; */
}

.nav-link {
  /* transition: all 0.5s ease;
  padding-left: 1rem !important;
  color: #878589; */
  border-left: 8px solid #7f7f7f;
}

.nav-link__active,
.nav-link:focus,
.nav-link:hover,
.dropdown-item:focus,
.dropdown-item:hover {
  color: #f33 !important;
  border-left-color: var(--red-atom);
}

.dropdown-item__active {
  border-left: 8px solid;
  color: var(--red-atom);
}

@media (min-width: 992px) {
  .nav-link {
    padding-left: 0;
    border-left: 0;
    border-bottom: 8px solid #7f7f7f;
  }
  .nav-link__active,
  .nav-link:focus,
  .nav-link:hover {
    border-bottom-color: var(--red-atom);
  }
}

.main-color {
  color: var(--red-atom);
}

/*separador*/
.separador {
  /* height: 90px; */
  height: 80px;
}
/*.fondo-atom {
    background-image:url(../imgs/fondo_fb_atom.png);
    background-size: cover;
    background-position: 50% 50%;
    padding: 50px 0;
}*/
.fondo-atom {
  background: #f33;
  background: linear-gradient(#851b1a, #ff3333 50%);
  background: -webkit-linear-gradient(#851b1a, #ff3333 50%);
  background: -moz-linear-gradient(#851b1a, #ff3333 50%);
  background-image: url("../imgs/accent_background.png");
  padding: 1.5rem 0;
}

/*en el index*/
ul.slick-dots {
  display: none !important;
}

.bg-clientes {
  background-color: #ececec;
}

/* .fondo-cursos {
  background-image: url(../imgs/fondo_convenios.png);
  background-position: right;
} */

.fondo-convenio {
  background-image: url(../imgs/fondo_footer.png);
}

.btn-guardar {
  /*  background-color: #dc3545;*/
  background-color: #f33;
  color: white;
}

.btn-guardar:hover {
  color: #fff;
  background-color: #c82333;
  border-color: #bd2130;
}

.overlay .list-group-item {
  position: relative;
  display: block;
  padding: 0;
  margin-bottom: -1px;
  background-color: transparent;
  border: 0;
}

.card-cliente .image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.card-cliente .image img {
  width: 100%;
  transition: 0.5s;
}
.card-cliente:hover .image img {
  opacity: 0.5;
  transform: translateX(30%); /*100%*/
}
.card-cliente .details {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%; /*100%*/
  height: 100%;
  background: white;
  transition: 0.5s;
  transform-origin: left;
  transform: perspective(2000px) rotateY(-90deg);
}
.card-cliente:hover .details {
  transform: perspective(2000px) rotateY(0deg);
}
.card-cliente .details .center {
  padding: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.card-cliente .details .center h1 {
  margin: 0;
  padding: 0;
  color: #ff3636;
  line-height: 20px;
  font-size: 20px;
  text-transform: uppercase;
}
.card-cliente .details .center h1 span {
  font-size: 14px;
  color: #262626;
}
.card-cliente .details .center p {
  margin: 10px 0;
  padding: 0;
  color: #262626;
}

.card-body-h-70 {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  height: 4.375rem !important;
}

/* estilos del footer */
.footer-copyright {
  background: #f33;
  background-image: url(../imgs/bg_footer_florida.png);
  background-repeat: no-repeat;
}

/* @media screen and (min-width: 426px) {
  .footer-copyright {
    background-size: contain;
  }
} */

.myFooter {
  background-color: #eee;
}

.myFooter .navbar-brand {
  margin-top: 45px;
  height: 65px;
}

.myFooter ul {
  line-height: 1.7;
}

h5.sh,
#dt {
  color: #001a74;
}
@media screen and (max-width: 426px) {
  h5.sh,
  p.sh {
    font-size: 0.8rem;
  }
}
@media screen and (max-width: 376px) {
  h5.sh,
  p.sh {
    font-size: x-small;
  }
}

.sub-title {
  text-align: center;
  color: #fff;
  margin-bottom: 50px;
}

#mapid {
  width: 600px;
  height: 400px;
}

@media screen and (max-width: 426px) {
  #mapid {
    width: 284px;
    height: 200px;
  }
}

#mf {
  display: block;
}

@media screen and (max-width: 426px) {
  #mf {
    display: none;
  }
}

img {
  max-width: 100%;
}

.card__image-container {
  margin: -2rem -2rem 1rem -2rem;
}
.card__line {
  opacity: 0;
  animation: LineFadeIn 0.8s 0.8s forwards ease-in;
}
.card__image {
  opacity: 0;
  animation: ImageFadeIn 0s 0.2s forwards;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}
.card__title {
  color: black;
  margin-top: 0;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.card__content {
  opacity: 0;
  animation: ContentFadeIn 0s 0.2s forwards;
}

@keyframes ContentFadeIn {
  0% {
    transform: translateY(-1rem);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes ImageFadeIn {
  0% {
    transform: translate(-0.5rem, -0.5rem) scale(1.05);
    opacity: 0;
    filter: blur(2px);
  }
  50% {
    opacity: 1;
    filter: blur(2px);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

.fecha-noticia {
  top: 20px;
  right: 30px;
  background: #dc3545;
  width: 55px;
  height: 55px;
  padding: 3px 0;
  font-size: 14px;
}

.day-color {
  background-color: #dc3545;
}

.table td {
  vertical-align: inherit;
}

.radio {
  width: 15px;
  height: 15px;
}

/* estilos en el index */
/*texto de bienvenida*/
.text-bienvenida {
  color: #f33;
  font-size: 1.16rem;
  border-bottom: 1px solid #f33;
  padding: 10px 20px;
}

@media (min-width: 48em) {
  .text-bienvenida {
    font-size: 2rem;
  }
}

@media (min-width: 64em) {
  .text-bienvenida {
    font-size: 2.5rem;
  }
}

/*body del index*/
/*.index-body {
    background-image: radial-gradient(73% 147%, #EADFDF 59%, #ECE2DF 100%),
     radial-gradient(91% 146%, rgba(255,255,255,0.50) 47%, rgba(0,0,0,0.50) 100%);
    background-blend-mode: screen; 
} */

/*para los contactos*/
.tit-consultas {
  color: #865454;
}
.color-flecha {
  color: #001a74;
}
/* para el badge con la fecha en cursos_card */
.curos-card__badge,
.bg-nav-bar {
  background-color: #006699;
}
.h-120 {
  /* height: 120px !important; */
  height: 100px !important;
  overflow-y: auto;
  overflow-y: hidden;
}
/*noticias*/
.card-noticia-fecha__dia {
  font-size: 140%;
}

.card-noticia__nombre {
  height: 8rem;
}

.card-noticia_img {
  height: 15rem;
}
/*detalle noticia*/
.card-noticia_video {
  width: 150%;
  height: 100%;
}

/*estaba en los cursos */
.list-group-flush:first-child .list-group-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.125);
}

/*color facebook en los convenios*/
.icono-facebook {
  color: #4267b2;
}

/*para el seminario*/
.valid-feedback,
.invalid-feedback {
  font-size: 1rem;
  font-style: italic;
  font-weight: 700;
}

/*en el convenios_index*/
.w-90 {
  width: 90%;
}

.font-2x {
  font-size: 24px !important;
}

.opacity-1 {
  opacity: 1;
}
.opacity-0 {
  opacity: 0;
}

.carousel-control-prev__moved-10-percent {
  left: -10%;
}
.carousel-control-next__moved-10-percent {
  transform: rotate(-180deg);
  right: -10%;
}

/* para el banner de relatores */
.banner-relatores:hover img {
  filter: opacity(0.5);
}

/* Para las calugas de los clientes */
.max-300 {
  max-width: 300px;
  height: auto;
}

.text-bright-green {
  color: #212519 !important;
}

.text-bright-green:hover,
.text-bright-green:active {
  color: #99ffff !important;
}

.text-white--hover:hover,
.text-white--hover:active {
  color: #fff !important;
}

.curso-card-title {
  font-size: 1.1rem;
}

.image-atom {
  border-radius: 20px;
  /* border-bottom: 4px solid #999; */
}

/* Para los convenios */
.mx-510 {
  max-width: 510px;
}

/* .mx-680 {
  max-width: 750px;
} */

.text-convenio-sm {
  font-size: 0.8em;
}

.text-convenio_index-sm {
  font-size: 0.9em;
}

@media (min-width: 1200px) {
  .text-convenio_index-sm {
    font-size: 1em;
  }
}

.convenio-img-wrapper {
  width: 180px;
  max-width: 180px;
  aspect-ratio: 1/1;
}

.convenio_index-img-wrapper {
  width: 210px;
  max-width: 210px;
  aspect-ratio: 1/1;
}

.convenio-img {
  object-fit: contain;
  object-position: center;
}

@media (max-width: 425px) {
  .min-width-280 {
    min-width: 280px;
  }
}

/* Estilos para los programas internacionales */
.d-grid {
  display: grid;
}

.aspect-ratio-square {
  aspect-ratio: 1 / 1;
}

.programa-internacional-wrapper {
  grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin-inline: auto;
}

.programa-internacional-grid-item {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* transition: transform 0.2s ease; */
  /* transition: translate 0.2s ease; */
  transition: opacity 0.2s ease;
}

.programa-internacional-grid-item:hover {
  /* transform: translateY(-2px); */
  /* transform: scale(1.01); */
  opacity: 0.85;
}

.font-size-2 {
  font-size: 2rem;
}

/* .text-red-atom {
  color: #f33 !important;
} */

.descargas-programa-internacional::before,
.descargas-programa-internacional::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12%;
  height: 4px;
  background-color: #b2b2b2;
  transform: translateY(-50%);
}

.descargas-programa-internacional::before {
  left: 0;
}

.descargas-programa-internacional::after {
  right: 0;
}

/* .detalle-programa-internacional {
  --red-atom: #f33;
}

.bg-red-atom {
  background-color: var(--red-atom) !important;
}

.text-red-atom {
  color: var(--red-atom) !important;
} */

.aspect-ratio-square {
  aspect-ratio: 1 / 1;
}

.font-400 {
  font-weight: 400 !important;
}

.img-programa-internacional {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.detalle-programa-internacional {
  font-size: clamp(1rem, calc(0.875rem + 0.5vw), 1.25rem);
  line-height: 1.5;
}

/* Subtítulos */
.detalle-programa-internacional .h1,
.detalle-programa-internacional h1 {
  /* font-size: clamp(2rem, 1.5rem + 2.5vw, 4rem); */
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  line-height: 1.1;
}

.detalle-programa-internacional .h2,
.detalle-programa-internacional h2:not(.sub-title h2) {
  /* font-size: clamp(1.5rem, 1rem + 2vw, 3rem); */
  font-size: clamp(1.5rem, 1rem + 2vw, 2rem);
  line-height: 1.2;
}

/* Títulos de sección */
.detalle-programa-internacional .h3,
.detalle-programa-internacional h3 {
  /* font-size: clamp(1.25rem, 1rem + 1vw, 2rem); */
  font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem);
  line-height: 1.3;
}

.detalle-programa-internacional p,
.detalle-programa-internacional li {
  max-width: 70ch;
}

.detalle-programa-internacional table tbody {
  border: 1px solid #dee2e6;
  text-align: center;
}

.detalle-programa-internacional table tbody tr:first-of-type {
  background-color: var(--red-atom);
  font-weight: 700;
  color: #fff;
}

/* Estilos para la lista */
.detalle-programa-internacional ul {
  list-style-type: none;
  padding-left: 1.5em;
  /* Indentación de la sub-lista */
  margin-top: 0.5em;
  margin-left: 0;
}

/* 2. Estilos para el <li> de la sub-lista. Le damos padding para hacer hueco. */
.detalle-programa-internacional li {
  list-style-type: none;
  padding-left: 1.3em;
  /* Espacio para el marcador */
  /* margin-bottom: 0.25em; */
  margin-bottom: -0.5em;
  position: relative;
  /* Buena práctica para posicionar el ::before */
}

/* 3. Estilos para el marcador ::before. Lo posicionamos en el hueco que hemos creado. */
.detalle-programa-internacional li::before {
  content: "\2022";
  color: var(--red-atom);
  font-size: 1.75rem;
  font-weight: bold;

  /* Técnica de posicionamiento robusta (igual que en .incluido) */
  display: inline-block;
  text-align: center;
  width: 1.5em;
  margin-left: -1.3em;
  /* Lo "movemos" al espacio creado por el padding */
}

.lista-servicios li {
  margin-bottom: -0.27em;
}

.lista-servicios li:before {
  content: "\2713";
  font-size: 1.5rem;
}

/* para los botones de compartir */
.share-buttons {
  gap: 15px;
}

.btn-share {
  width: 50px;
  height: 50px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  font-size: 26px;
}

.btn-share:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-share.whatsapp {
  background-color: #25d366;
}

.btn-share.facebook {
  background-color: #1877f2;
}

.btn-share.email {
  background-color: #ea4335;
}

.btn-share.telegram {
  background-color: #0088cc;
}

.btn-share.twitter {
  background-color: #000000;
}

.btn-share.linkedin {
  background-color: #0a66c2;
}
