* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    --breakpoint-xl: 1200px;
   --font-family-sans-serif: Calibri, sans-serif;
    --font-family-monospace: "Futura Lt BT", monospace; 
  /*--------UFRO Var Colors ----------*/
  --clr-ufro: #00396c;  /* Marca Ufro */
  --clr-agro: #70a43a;  /* FACULTAD DE CIENCIAS AGROPECUARIAS Y FORESTALES */
  --clr-cjem: #ff3605;  /* FACULTAD DE CIENCIAS JURÍDICAS Y EMPRESARIALES */
  --clr-eduh: #5c367f;  /* FACULTAD DE EDUCACIÓN, CIENCIAS SOCIALES Y HUMANIDADES */
  --clr-ptec: #22A39B;  /* CAMPUS PUCÓN - CARRERAS TÉCNICAS */
  --clr-ingc: #b13168;  /* FACULTAD DE INGENIERÍA Y CIENCIAS */
  --clr-medi: #009fdd;  /* FACULTAD DE MEDICINA */
  --clr-odon: #007f92;  /* FACULTAD DE ODONTOLOGÍA */
  --clr-ufro2: #00407b;  /* Marca Ufro secondary */
  --clr-blue1: #007BE0;  /* Degrade Marca Ufro Matricula */
  --clr-blue2: #0087F5;  /* Degrade Marca Ufro Retención */
  --clr-blue3: #1792F6;  /* Degrade Marca Ufro Titulación */
  --clr-blue4: #2C9CF7;  /* Degrade Marca Ufro Personal AC*/
  --clr-blue5: #3FA5F8;  /* Degrade Marca Ufro Articulos */
  --clr-blue6: #446ffc;  /* Degrade Marca Ufro DaDi */
  --clr-blue7: #365ad1;  /* Degrade Marca Ufro linea */
  background-color: #F5F7FF; 
}

body {
    margin: 0 auto;
    background-color: #F5F7FF;  
    padding: 0;
}

.body-dadi {
  width: 100%;
  max-width: 1280px;
  margin: auto;
  height: auto;
  background-color: #F5F7FF
}

/* Change font type for buttons to Calibri */
button, .btn {
  font-family: Calibri, sans-serif;
}
.container-new {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.tarjetas-container {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5px;
  justify-content: space-around;
  flex-direction: row;
  max-height: 1280px;
  align-content: stretch;
  align-items: stretch;
}
.tarjeta {
  display: flex;
  max-width: 256px;
  max-height: 256px;
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
  padding: 20px;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: stretch;
  justify-content: center;
  align-items: baseline;
}
.tarjeta .tarjeta-dadi {
  flex: 1 1 auto;
}
.dadi-flex {
  flex: 1 1 0%; 
  width: 100%; /* ancho completo */
  height: 0; /* alto automático */
  padding-bottom: 100%; 
  position: relative;
}
.dadi-flex .card-body {
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/***** Contenedor, Header  y preHeader UFRO *******/
.section {
  width: 100%;
}

.header, .footer {
  width: 100%;
  max-width: 1280px;
  margin: auto;
}

.header {
  height: 221px;
}

.header .superior {
  height: 21px;
}

.header .media {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  height: 150px;
  background-color: #00396c;
}

.header .inferior {
  height: 50px;
  background-color: #00396c;
}



.top-header{
  background-color: var(--clr-ufro2);
  display: flex;
  flex-direction: row;
  flex: 1;
  max-width: 1024px;
  align-items: center;
  flex-wrap: nowrap;
  align-content: flex-end;
  justify-content: flex-start;
}

.top-header .logo-ufro {
  max-width: 25%; 
  flex-basis: 25%; 
  margin: 0;
}

.top-logo {
  background-color: var(--clr-ufro2);
  display: flex;
  flex-direction: row;
  max-width: 1024px;
  justify-content: space-around;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  flex-wrap: nowrap;
  align-items: flex-start;
}

.logo-ufro .dadi {
  display: flex;
  background-color: var(--clr-ufro2);
  flex-direction: row;
  width: 100%;
  max-width: 1280px;
  justify-content: center;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  align-items: baseline;
  flex-wrap: nowrap;
}

.menu-dadi{
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}


.preheader {
background-color: #F5F7FF; 
 display: flex;
 flex-wrap: wrap;
 align-content: baseline;
 justify-content: flex-end;
 gap: 1em;
 order: -1;
 max-width: 1024px;
}

.preheader a {
  text-align: right;
  font-family: arial;
  font-size: 8px;
  color:var(--dark);
  text-decoration: none;
}

.header-link {
  background-color: #F5F7FF; 
}

.contenedor-dadi {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-content: space-between;
  align-items: stretch;
  padding-top: 5%;
}

.contenedor-central{
  display: flex;
  justify-content: center;
  padding: 20px;
  margin: 10px;
}

.iframe-dadi {
  display: flex;
  justify-content: center;
  align-items: center;
 flex-wrap: wrap;
} 
.card-dadi {
  display: flex;
  font-family: "Futura Lt BT", sans-serif;
  color: white;
  height: 152px;
  margin: 0px;
  flex-direction: row;
  align-items: flex-end;
  align-content: space-around;
  flex-wrap: wrap;
  justify-content: center;
} 
.card-dadi {
  width: 20%;
  height: 0;
  padding-bottom: 100%;
  position: relative;
}

.card-dadi .card-body {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.contact-card{
  display: flex;
  flex-direction: row;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.card-text {
  font-family: "Futura Lt BT", sans-serif;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
}
.card-title {
  font-size: 55px; /* Tamaño de la primera línea */
  font-family: 'Futura Lt BT', sans-serif;
}
.dadi-news-card {
  display: flexbox;
  margin: 20px 0; /* Agrega espacio arriba y abajo */
  padding: 20px; /* Agrega espacio interior */
  background-color: #fff; /* Fondo blanco */
  border: 1px solid #ddd; /* Borde gris claro */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Sombra leve */
}

.card-dadi .card-text {
  font-size: 45px; /* Tamaño de la segunda línea */
}

.card-dadi .card-footer {
  font-size: 12px; /* Tamaño de la tercera línea */
}

.card-1 {
  background-color: var(--clr-blue1);
}
.card-2 {
  background-color: var(--clr-blue2);
}
.card-3 {
  background-color: var(--clr-blue3);
}
.card-4 {
  background-color: var(--clr-blue4);
}
.card-5 {
  background-color: var(--clr-blue5);
}  
.icon-dadi-1 {
  color: var(--light);
  font-family: 'Font Awesome 5 Free'; 
  content: '\f1c2'; 
  font-size: 48px;
  margin-bottom: 2px; /* ajusta el espacio entre el icono y el contenido */
}

.indicador-dadi{
  display: flex;
  align-items: center;
  padding: 0.875rem 1.375rem;
  margin-bottom: 0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
  color: #9da1a5;
  text-align: center;
  white-space: nowrap;
}

.contact-info {
  display: flex;
  text-align: left;
  padding: 20px;
  height: 100%; 
}


.footer-dadi {
  background: var(--clr-ufro);
  display: flex;
  font-size: calc(0.775rem - 0.05rem);
  font-family: "Roboto", sans-serif;
  color: #fff;
  font-weight: 400;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  width: 100%;
  max-width: 1280px;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  align-items: baseline;
}

.footer-dadi, a {
  text-decoration: none;
}
.footer-dadi .col {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: space-around;
}

.footer-dadi .col-line {
  border-right-width: 1px solid #fff;
  padding-left: inherit;
}
.footer-title {
  font-family: "Roboto", sans-serif;
  font-size: 16pt;
}
.footer-title, .footer-title a {
  color: #fff;
  text-decoration: none;
}
.footer-title a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-title a:visited {
  color: #fff;
}
.footer-title p {
  font-size: 12pt;
  font-family: Calibri;
  color: #fff;
}

p {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
}

.p-gris{
  color: #adb5bd;
  font-family: 'Futura Lt BT', sans-serif;
}

.footer-dadi .col {
  width: calc(100% - 15px); /* adjust the width as needed */
  /*margin: 25px; /* adjust the margin as needed */
  padding: 0;
}

.footer-dadi .col h4 {
  margin-top: 0;
}

.footer-dadi a {
  text-decoration: none;
  color: #fff; 
}

.footer-dadi a:hover {
  color: #fff; 
}

.card-body {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: space-around;
}

.msj-dadi {
  height: 130px;
}

 /* Mostrar solo el botón icon-menu */
 .navbar .navbar-menu-wrapper {
  display: none;
  }
 .navbar-toggler {
  display: block;
}
.navbar {
  display: none;
}
.align-self-center {
  align-self: center;
}

.text-white {
  color: #ffffff;
}
.text-ufro {
  color: var(--clr-ufro2);
}
 h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--clr-ufro2);
 }
.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
.navbar .container,
.navbar .container-fluid, .navbar .container-sm, .navbar .container-md, .navbar .container-lg, .navbar .container-xl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.d-flex .navbar .navbar-menu-wrapper .navbar-nav.navbar-nav-right .nav-item {
  display: flex;
}
.justify-content-end {
 justify-content: flex-end;
}
.align-text-end {
  text-align: right;
}
.text-center {
  text-align: center;
}
.justify-content-center {
  justify-content: center;
}
.justify-content-between {
justify-content: space-between;
}
.col-md-4, .col-md-5
{
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}
.list-inline {
  padding-left: 0;
  list-style: none;
}
.col-sm-auto {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  position: relative;
  width: 100%;
  padding-right: 0;
  padding-left: 0;
}
.navbar-toggler {
  padding: 0.25rem 0.75rem;
  font-size: 1rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}


/* Agrega un id al elemento que contiene la palabra "Cargando..." */
#loading-text {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  text-align: center;
  animation: loading-animation 2s infinite;
}

@keyframes loading-animation {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Agrega un efecto de carga */
.loading-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #333;
  display: inline-block;
  margin: 0 5px;
  animation: loading-dot-animation 2s infinite;
}

@keyframes loading-dot-animation {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
/* Estilos para el formulario de contacto */

#contact-form {
  display: flex;
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background-color: transparent;
  /*border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
  flex-direction: column;
  flex-wrap: wrap;
  align-content: stretch;
  justify-content: space-evenly;
  align-items: stretch;
}

#contact-form.form-group {
  margin-bottom: 20px;
}

#contact-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: #333;
}

#contact-form input[type="text"], #contact-form input[type="email"], #contact-form textarea {
  width: 100%;
  height: auto;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
}

.input-group-dadi {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
}

#contact-form input[type="text"]:focus, #contact-form input[type="email"]:focus, #contact-form textarea:focus {
  border-color: #aaa;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#contact-form.input-group-prepend {
  width: 40px;
  /*height: 40px;*/
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-right: none;
  padding: 10px;
}

#contact-form.input-group-prepend i {
  font-size: 20px;
  color: #666;
}

#contact-form.g-recaptcha {
  margin-top: 20px;
}

#contact-form button[type="submit"] {
  width: 100%;
  height: 40px;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background-color: #337ab7;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#contact-form button[type="submit"]:hover {
  background-color: #23527c;
}
/*////////////////////////////////////////*/
/* Estilos para la tarjeta de contacto */

.card {
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    align-content: stretch; */
  align-items: stretch;
  display: block;
}

.font-weight-bold {
  font-weight: bold;
}

.font-weight-light {
  font-weight: lighter;
}

.text-sm-left {
  text-align: left;
}

.d-flex {
  display: flex;
}

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

.flex-sm-row {
  flex-direction: row;
}

.align-items-center {
  align-items: center;
}

.bg-transparent {
  background-color: transparent;
}

.border-right-0 {
  border-right: 0;
}

.fas {
  font-size: 24px;
  margin-right: 10px;
}

h5 {
  margin-top: 0;
}

h6 {
  margin-bottom: 5px;
}

p {
  margin-bottom: 10px;
}

.row {
  margin-bottom: 20px;
}

/* Estilos para los iconos */

.fas.fa-home {
  color: #337ab7;
}

.fas.fa-phone-alt {
  color: #337ab7;
}

.fas.fa-globe {
  color: #337ab7;
}
/*** New style ****/
.footer {
  height: 216px;
  background-color: #00396C;
}
.footer .superior {
  height: 31px;
}
.footer .inferior {
  height: 185px;
  display: flex;
}
.footer .inferior .subsection {
  width: 33.33%;
  padding: 10px;
  border-left: 1px solid #fff;
}
.footer .inferior .subsection:first-child {
  border-left: none;
}
.footer .inferior .subsection:last-child {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background-color: darkgrey;
}
.inferior .btn-custom {
  background-color: #00396c;
  color: white;
  font-family: Calibri, sans-serif;
  font-size: 14px;
  border: none;
  border-radius: 0;
}
.btn-custom .m-1{
  color: white;
  font-family: Calibri, sans-serif;
  font-size: 14px;
  border: none;
  border-radius: 0;
}
.media img {
  max-width: 100%;
  height: auto;
  margin: 0 20px;
  max-height: 122px;
}

.superior a {
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 10px;
  color: black;
  display: flex;
  align-items: center;
  margin-right: 10px;
}
.superior a img {
  margin-right: 5px;
}
.card-img-top {
  width: 50px;
  height: 50px;
  display: block;
  margin: 0 auto;
  filter: invert(1); 
  /* opacity: 0.8; */
}
.superior .card {
  border-radius: 0;
  max-height: 205px;
  position: relative;
}

.superior .card .icon {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
}

.card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo-small{
  display: none;
}

.recaptcha-container {
  flex: 1;
  margin-left: 10px; /* adjust the margin as needed */
}

.g-recaptcha {
  width: 100%;
  height: 78px; /* adjust the height as needed */
}

.icon-menu{
  display: inline-block;
    font-family: "feather";
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
}
/**********************************************************************/

/* Estilos para dispositivos móviles */
@media only screen and (max-width: 768px) {
  /* Estilos para dispositivos móviles medianos */
  .logo-ufro .logo-small {
    max-width: 50px;
    height: auto;
    display: block;
    margin-top: 15px;
  }
  .top-header {
    flex-direction: row;
    align-items: center;
  }
  .header {
    height: 110px;
  }
  .header .inferior {
    display: none;
  }
  .header .superior {
    height: 11px;
  }
  .header .media {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 40px;
  }
  .navbar-menu-wrapper {
    display: flex;
  }
  .navbar-brand {
    display: block;
  }
  .navbar-toggler {
    display: block;
  }
  .footer .row {
    flex-direction: row;
    align-items: center;
  }
  .footer .fila {
    flex-direction: row;
    align-items: center;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    align-content: center;
  }
  .footer .col-md-4 {
    margin-bottom: 10px;
  }
  .col-md-4 {
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
  }
  .footer img[src*="separador.png"] {
    max-width: 0.10rem;
    height: auto;
    margin: 10px auto;
  }
  .hide-on-small {
    display: none;
  }
  .img-fluid {
    display: none;
  }
  .card {
    flex-direction: column;
  }
  .recaptcha-container {
    margin-left: 0;
    margin-top: 10px; /* adjust the margin as needed */
  }
 .g-recaptcha {
    width: 100%;
    height: 40px; /* adjust the height as needed */
  }
    /*********Menu navbar para mobil *********/
  /* Icono del menú en blanco */
  .icon-menu {
    color: #fff;
  }
  
  /* Menú desplegable vertical */
  .navbar-menu-wrapper {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    background-color: #f9f9f9;
    border-bottom: 1px solid #ccc;
  }
  
  .navbar-toggler-icon-menu:checked ~ .navbar-menu-wrapper {
    display: block;
  }
  
  .navbar-menu-wrapper ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .navbar-menu-wrapper li {
    margin-bottom: 10px;
  }
  
  .navbar-menu-wrapper a {
    color: #333;
    text-decoration: none;
  }
  
  .navbar-menu-wrapper a:hover {
    background-color: #f0f0f0;
  }
    .tarjetas-container {
      display: flex;
      flex-wrap: wrap;
      margin-top: 5px;
      justify-content: center;
      flex-direction: row;
      max-height: 1280px;
      height: auto;
      align-content: stretch;
      align-items: stretch;
    }
}

@media only screen and (min-width: 769px) {
  /* Estilos para dispositivos de escritorio */
  .top-header {
    flex-direction: row;
    align-items: center;
  }

  .navbar-menu-wrapper {
    display: flex;
  }
  .navbar-brand {
    display: block;
  }
  .navbar-toggler {
    display: block;
  }
  .footer .row {
    flex-direction: row;
    align-items: center;
  }
  .footer .fila {
    flex-direction: row;
    align-items: center;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    margin-top: calc(-1* var(--bs-gutter-y));
    margin-right: calc(-.5* var(--bs-gutter-x));
    margin-left: calc(-.5* var(--bs-gutter-x));
    align-content: center;
  }
  .footer .col-md-4 {
    margin-bottom: 0;
  }
  .col-md-4 {
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
  }
  .footer img[src*="separador.png"] {
    max-width: 0.10rem;
    height: auto;
    margin: 0 auto;
  }
  .hide-on-small {
    display: none;
  }
  .logo-small{
    display: none;
  }
}

@media (min-width: 992px) {
  .container, .container-sm, .container-md, .container-lg {
    max-width: 960px;
  }
  .frame-dadi {
    max-width: 100%;
    margin: 3px;
    }
    .hide-on-small {
      display: block;
    }  
    .logo-small{
      display: none;
    }
}

/* Fin Estilos para dispositivos móviles */