@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css");
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&family=Plus+Jakarta+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
@import url('https://fonts.cdnfonts.com/css/gill-sans');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --template-main-color-dark: #0E141A;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #f5f5f7;
  font-family: 'Raleway', sans-serif;
  /*
  background: linear-gradient(
    35deg,
    #80cbff 0%,
    #fff 10%,
    #fff 50%,
    #fff 90%,
    #80cbff 100%
  );
  */
  /*background-attachment: fixed;*/
  /*
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' viewBox='0 0 700 700' width='700' height='700' opacity='1'%3E%3Cdefs%3E%3CradialGradient id='ffflux-gradient'%3E%3Cstop offset='0%25' stop-color='hsl(234, 25%25, 84%25)'%3E%3C/stop%3E%3Cstop offset='100%25' stop-color='hsl(0, 0%25, 100%25)'%3E%3C/stop%3E%3C/radialGradient%3E%3Cfilter id='ffflux-filter' x='-20%25' y='-20%25' width='140%25' height='140%25' filterUnits='objectBoundingBox' primitiveUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.007 0.001' numOctaves='1' seed='289' stitchTiles='stitch' x='0%25' y='0%25' width='100%25' height='100%25' result='turbulence'%3E%3C/feTurbulence%3E%3CfeGaussianBlur stdDeviation='0 0' x='0%25' y='0%25' width='100%25' height='100%25' in='turbulence' edgeMode='duplicate' result='blur'%3E%3C/feGaussianBlur%3E%3CfeBlend mode='lighten' x='0%25' y='0%25' width='100%25' height='100%25' in='SourceGraphic' in2='blur' result='blend'%3E%3C/feBlend%3E%3CfeColorMatrix type='saturate' values='3' x='0%25' y='0%25' width='100%25' height='100%25' in='blend' result='colormatrix'%3E%3C/feColorMatrix%3E%3C/filter%3E%3C/defs%3E%3Crect width='700' height='700' fill='url(%23ffflux-gradient)' filter='url(%23ffflux-filter)'%3E%3C/rect%3E%3C/svg%3E");
  */
}
.body-offcanvas-fix {
  padding-right: 0 !important;
}
.navbar-logos {
  margin-left: -6px;
}
.navbar-logos img {
  margin-right: -16px;
}
.escudo-unam.navbar-brand img {
  height: 40px;
  transition: all 0.4s;
}
.escudo-unam.navbar-brand img:hover {
  transform: scale(1.012) ;
}
.logo-igef.navbar-brand img {
  height: 30px;
  margin: 6px 0 0 6px;
  transition: all 0.4s;
}
.logo-igef.navbar-brand img:hover {
  transform: scale(1.02) ;
}
.department-name a {
  color:  #fff;
  font-family: "Raleway", sans-serif;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 2px 0 0 -6px;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 11px;
  max-width: 100px;
  transition: all 0.4s;
}
.department-name a:hover {
  transform: scale(1.02) ;
}
.svg-invert {
  filter: invert(100%);
  -webkit-filter: invert(100%);
}

.navbar {
  background: rgba(0, 75, 128, 1) !important;
  background: -webkit-linear-gradient(to right, #004B80 25%, var(--main-color) 75%) !important;
  background: linear-gradient(to right, #004B80 25%, var(--main-color) 75%) !important;
}

.navbar::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: -1;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active {
  outline: none;
  box-shadow: none;
  padding:  0;
  border: 0;
  margin-left: 0;
}
.navbar-toggler-icon {
  color:  #fff;
  font-size: 18px;
  vertical-align: middle;
  margin-right: -10px;
  margin-top: 14px;
}
.navbar-toggler-text {
  color:  #fff;
  font-size: 10px;
}
.nav-link {
  font-weight: 500;
  line-height: 20px;
  position: relative;
  color: #2a2a2a !important;
  transition: opacity 0.4s;
}

.nav-link:not(.nav-link-active):not(.igef-menu-toggle)::before {
  content: "";
  position: absolute;
  right: 4px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--main-color);
  bottom: 4px;
  left: 4px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.4s;
}

a.nav-link-active {
  opacity: 1 !important;
  transition: color 0.4s;
}

a.nav-link-active:hover {
  color: var(--main-color) !important;
}

a.nav-link-active::before {
  content: "";
  position: absolute;
  right: 4px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--main-color);
  bottom: 4px;
  left: 4px;
}

.nav-link:hover {
  color: var(--main-color) !important;
  opacity: 1 !important;
}

.nav-item .igef-menu-toggle {
  transition: all 0.4s;
}

.igef-navbar-nav .nav-item .nav-link {
  font-weight: 500 !important;
  font-size: 12px;
}

.dropdown-toggle::after {
    font-family: 'bootstrap-icons';
    content: '\F282';
    border: none;
    margin-left: 6px;
    vertical-align: -1px;
    font-size: 10px;
    font-weight: 700;
  }


@media(min-width:360px){
  .navbar-logos {
    margin-left: 0;
  }
  .navbar-logos img {
    margin-right: -10px;
  }
  .department-name a {
    font-size: 10px;
    font-weight: 600;
    line-height: 12px;
  }
  .navbar-toggler-icon {
    font-size: 22px;
    margin-right: -6px;
    margin-top: 14px;
  }
  .navbar-toggler-text {
    font-size: 11px;
  }
}

@media(min-width:390px){
  .department-name a {
    max-width: 120px;
  }
}

@media(min-width:420px){
  .department-name a {
    font-size: 11px;
    max-width: inherit;
  }
  .navbar-toggler ion-icon {
    font-size: 30px;
    margin-right: -4px;
    margin-top: -3px;
  }
  .navbar-toggler span {
    font-size: 12px;
  }
}

@media(min-width:576px){
  .escudo-unam.navbar-brand img {
    height: 50px;
  }
  .logo-igef.navbar-brand img {
    height: 40px;
    margin: 6px 0 0 4px;
  }
  .department-name a {
    font-size: 12px;
    line-height: 16px;
  }
  .offcanvas-end {
    max-width: inherit !important;
  }
  .offcanvas-title {
    font-size: 14px;
  }
}

@media(min-width:992px) {
  .department-name a {
    font-size: 14px;
    line-height: 18px;
  }
  .offcanvas-body .nav-link {
    font-size: 13px;
    margin-top: 8px;
    margin-right:  -6px;
  }
  .navbar-nav {
    margin-top: 3px;
  }
  .carousel-caption h3 {
    font-size: 32px;
  }
  .carousel-caption p {
    font-size: 17px;
  }
}

@media(min-width:1200px) {
  .department-name a {
    font-size: 14px;
    margin-right: 10px;
    min-width: 220px;
  }
  .igef-dropdown-menu {
    background-color: rgba(14, 20, 26, .7);
    margin-top: 14px !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .igef-dropdown-menu li a {
    color: #fff;
    font-size: 12.8px;
    letter-spacing: 1px;
  }
  .igef-dropdown-menu li a:hover {
    color: var(--main-color-clear);
    background: transparent;
  }

  .navbar .dropdown-menu-end{ right:0; left: auto;  }
  .navbar .nav-item .dropdown-menu{  display:block; opacity: 0;  visibility: hidden; transition:.3s; margin-top:0;  }
  .navbar .nav-item:hover .nav-link{ color: #fff;  }
  .navbar .dropdown-menu.menu-fade-down{ top:80%; transform: rotateX(-75deg); transform-origin: 0% 0%; }
  .navbar .dropdown-menu.fade-up{ top:180%;  }
  .navbar .nav-item:hover .dropdown-menu{ transition: .3s; opacity:1; visibility:visible; top:100%; transform: rotateX(0deg); }

  .navbar-nav {
    margin-top: 0;
  }
  .offcanvas-body .nav-link {
    font-size: 14px;
    margin-right: 0;
  }
  .nav-link {
    margin-right: 4px !important;
    color: #fff !important;
    opacity: 0.9;
  }
  .nav-link:hover {
    color: #fff !important;
  }
  .nav-item .igef-menu-toggle:hover {
    color: var(--main-color) !important;
    transform: scale(1.5) ;
  }
  .carousel-caption h3 {
    font-size: 38px;
  }
  .carousel-caption p {
    font-size: 18px;
  }
  .section-body p {
    font-size: 17px;
  }
}


/*** OFFCANVAS ***/
.offcanvas-backdrop.show {
  opacity: 0;
  position: relative !important;
}
.offcanvas-end:not(.show) .nav-link:hover::before {
  transform: scaleX(1);
}
.offcanvas-end {
  background-color: #fff;
  max-width: 290px;
}
.offcanvas-header .btn-close {
  font-size: 14px;
  margin-bottom: 20px;
}
.offcanvas-title {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 12px;
}
.offcanvas-end .offcanvas-body {
  margin-left: 20px !important;
  font-size: 18px !important;
}
.offcanvas-end .nav-link {
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.igef-offcanvas .nav-item:first-child {
  margin-top: 20px;
}
.offcanvas-logos .escudo-unam img {
  height: 50px;
  margin-right: 12px;
}
.offcanvas-logos .logo-geofisica img {
  margin-top: -5px;
  height: 60px !important;
}
.navbar-toggler-icon {
  transition: transform 0.1s;
  background-image: none !important;
}
.navbar-toggler-icon-rotate {
  transform: translateX(-2px) translateY(-2px) rotate(45deg);
}
.navbar-menu-show {
  opacity: 1;
  background-color: rgba(14, 20, 26, .85) !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.igef-offcanvas {
  border-radius: 12px;
  margin: 66px 5% 5% 5%;
  min-width: 90vw;
  max-height: calc(100vh - 20%);
}

@media (min-width: 576px) {
  .igef-offcanvas {
    margin-top: 78px;
  }
}

@media (min-width: 1200px) {
  .igef-offcanvas {
    margin: 0 !important;
  }
  .igef-offcanvas .nav-item:first-child {
    margin-top: 0;
  }
}

/*** Components ***/
.igef-d-button {
  font-family: Plus Jakarta Sans, sans-serif;
  background: var(--main-color-dark);
  border: 2px solid var(--main-color-dark);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  /* box-shadow: 3px 4px var(--main-color-dark); */
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
  transition: all .6s;
  min-width: 280px;
}
.igef-d-button:hover {
  border: 2px solid var(--main-color-dark);
  color: var(--main-color-dark) !important;
  background: #fff;
  box-shadow: none !important;
}
.igef-d-button:active {
  background: transparent;
  border: 2px solid var(--main-color-dark);
  color: var(--main-color-dark) !important;
  transform: scale(0.9);
}


/*** Globals ***/
.igef-d-container:not(.igef-d-container-nav) {
  max-width: 90vw;
}
.igef-d-container-nav {
  max-width: 98vw;
}
h1 {
  margin-bottom: 60px;
}
.section {
  padding-top: 120px !important;
  /*min-height: calc(40vh - 68px);*/
  
}
.section .container {
  padding: 0 30px 0 30px;
}

.section .container-secondary {
  min-height: 0;
  padding: 0 30px;
}

.section .container-sm-secondary  {
  min-height: 0;
  padding: 0 18px;
}

.section-title {
  color: var(--main-color);
  font-weight: 700;
  font-size: 24px; /*32px*/
  text-align: left;
  text-transform: uppercase;
  padding-bottom: 0;
  margin-bottom: 40px;

  background: var(--main-color);
  background: -webkit-linear-gradient(to right, #004B80 25%, var(--main-color) 75%);
  background: linear-gradient(to right, #004B80 25%, var(--main-color) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-text-fill-color: transparent;
}

.section-title:after {
  content: '';
  display: block;
  width: 40%;
  height: 2px;
  bottom: 0;
  margin-top: 6px;

  background: var(--main-color);
  background: -webkit-linear-gradient(to right, var(--main-color) 20%, #80CBFF 70%);
  background: linear-gradient(to right, var(--main-color) 20%, #80CBFF 70%);
}

.section-body p {
  color: #323232;
  font-family: Jost, sans-serif;
  font-size: 17px;
  letter-spacing: 0.6px;
}


@media (min-width:768px) {
  .igef-d-container-nav {
    max-width: 90vw !important;
  }
  .section-body {
    text-align: justify;
  }
  .section-body p {
    font-size: 18px;
  }
}

@media (min-width:1200px) {
  .section-title:after {
    content: '';
    display: block;
    width: 220px;
    height: 2px;
    bottom: 0;
    margin-top: 6px;

    background: var(--main-color);
    background: -webkit-linear-gradient(to right, var(--main-color) 20%, #80CBFF 70%);
    background: linear-gradient(to right, var(--main-color) 20%, #80CBFF 70%);
  }
  .section-body p {
    font-size: 19px;
  }
}

/*** NEWS ***/
.igef-news-btn {
  font-family: Raleway, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-color: #fff;
  background: transparent;
  box-shadow: 2px 2px #fff;
  transition: all 0.6s;
  margin-bottom: 10px;
  min-width: 190px;
}
.igef-news-btn:hover {
  border-color: rgba(0,0,0,.75);
  background: var(--main-color);
  background: -webkit-linear-gradient(to right, #004B80 5%, var(--main-color) 60%);
  background: linear-gradient(to right, #004B80 5%, var(--main-color) 60%);
  box-shadow: none;
}
.igef-news-btn:active {
  border-color: #fff !important;
  background: transparent !important;
  box-shadow: none;
}
.igef-news-image-note {
  font-family: Jost, sans-serif;
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 1.5px;
  height: 30px;
  margin-bottom: -22px;
  margin-left: 6px;
  max-width: 50%;
}

.carousel-item img {
  object-fit: cover;
  object-position: center;
  overflow: hidden;
  height: 50vh;
  width: 100vw;
}

.carousel-indicators {
  right: 0;
  margin-right: 2%;
  margin-bottom: 6px;
  justify-content: right;
}

.carousel-caption {
  background: rgba(0,0,0,.5);
  background: linear-gradient(180deg, rgba(14, 20, 26, 0) 35%, rgba(14, 20, 26, .98) 100%);
  width: 100vw;
  height: 100vh;
  right: 0;
  bottom: 0;
  left: 0;
  padding-top: 0;
  padding-bottom: 0;
  color: #fff;
}

.carousel-caption h3 {
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.4px;
}

.carousel-caption p {
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.6px;
}

.carousel-overlay {
  position: absolute;
  text-align: left;
  bottom: 2%;
  left: 3%;
  width: 90%;
}

.carousel-control-prev ion-icon, .carousel-control-next ion-icon {
  font-size: 42px;
}

.riesgos-espaciales-btn-more {
  background-color: var(--main-color);
  border: none;
  padding: 10px 22px;
  margin-top: 22px;
  animation-delay: 0.8s;
}

.riesgos-espaciales-btn-more:focus, .riesgos-espaciales-btn-more:active, .riesgos-espaciales-btn-more:visited {
  background-color: var(--main-color);;
  box-shadow: 0 0 0 .25rem rgba(45,20,44,.5) !important;
}

.riesgos-espaciales-btn-more:hover {
  background-color: #60076C;
}

/* NOSOTROS */
/*
#nosotros .container:before {
  content: '';
  display: block;
  position: absolute;
  left: 40%;
  opacity: 0.04;
  z-index: -1;
  height: 100vw;
  width: 100%;
  margin-top: 20px;
  background-image: url('https://iris.geofisica.unam.mx/testing/geomagnetismo/recursos/img/geofisica_isotipo.svg');
  background-repeat: no-repeat;
  background-position: right;
}
*/

#nosotros h1 span, #jefatura h1 span {
  font-size: 1.4rem;
  font-weight: 300;
  /*vertical-align: 10px;*/
}

#nosotros p:before {
  font-family: 'bootstrap-icons';
  content: '\F270';
  margin-right: 10px;

  background: var(--main-color);
  background: -webkit-linear-gradient(to right, #004B80 25%, var(--main-color) 75%);
  background: linear-gradient(to right, #004B80 25%, var(--main-color) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-text-fill-color: transparent;
}

@media(min-width: 576px){
  #nosotros h1 span, #jefatura h1 span {
    vertical-align: 10px;
  }
}

/* DISCIPLINAS */
#disciplinas .card, #disciplinas .card img, #disciplinas .card-img-overlay {
  border: none !important;
  border-radius: 0 !important;
}
#disciplinas .card {
  overflow: hidden;
}
#disciplinas .card img {
  transition: all 0.6s;
}
#disciplinas .card:hover img {
  transform: scale(1.2);
}
#idisciplinas .card-img-overlay:hover .card-title {
  font-weight: 500;
}
#disciplinas .card-img-overlay {
  background: rgba(0,0,0,.5);
  background: linear-gradient(180deg, rgba(12,9,40,0) 20%, rgba(0,0,0,.95) 100%);
}

#disciplinas .card-title {
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 1px;
  text-align: center;
  bottom: 0;
  position: absolute;
  width: 90%;
}

@media(min-height: 576px) {
  #disciplinas .cards-container {
    padding: 0;
  }
}

/*** Disciplinas (new) ***/
#disciplinas .accordion-item {
  border: none;
  margin-bottom: 10px;
}

#disciplinas .accordion-body {
  background: rgba(255, 255, 255, .75) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .75) 0%, rgba(255, 255, 255, .9) 30%, rgba(255, 255, 255, .95) 80%, rgba(255, 255, 255, 1) 100%) !important;
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
  text-align: left !important;
}

#disciplinas .accordion-body p {
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
}

#disciplinas .subline {
  font-size: 12px !important;
  font-weight: 400 !important;
  text-transform: uppercase;
}

#disciplinas .accordion-body ul {
  color: #00 !important;
  font-family: Jost, sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

#disciplinas li {
  line-height: 18px;
  margin-bottom: 8px;
}

.accordion-button {
  border: none;
  box-shadow: none !important;
  color: #004B80 !important;
  font-family: Plus Jakarta Sans, sans-serif;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, .95) !important;;
}

.accordion-button:is(.collapsed):hover {
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.accordion-button::after {
  background-image: none;
  transform: none !important;
  color: #004B80;
  font-family: bootstrap-icons;
  font-weight: 300 !important;
  content: "\F282";
}

.accordion-button:not(.collapsed)::after {
  background-image: none;
  font-family: bootstrap-icons; 
  content: "\F286";
}

#disciplinas .linesShow {
  height: 480px;
  overflow: hidden;
  background: #fff url("https://www.geofisica.unam.mx/recursos/img/geomagnetismo/disciplinas/exploracion.jpg") no-repeat center center !important;
  background-size: cover !important;
}

@media (max-width:1199px) {
  #accordionItem01 {
    background: #fff url("https://www.geofisica.unam.mx/recursos/img/geomagnetismo/disciplinas/exploracion.jpg") no-repeat center center !important;
    background-size: cover !important;
  }
  #accordionItem02 {
    background: #fff url("https://www.geofisica.unam.mx/recursos/img/geomagnetismo/lineas-de-investigacion/geofisica_marina.jpg") no-repeat center center !important;
    background-size: cover !important;
  }
  #accordionItem03 {
    background: #fff url("https://www.geofisica.unam.mx/recursos/img/geomagnetismo/lineas-de-investigacion/geoquimica_ambiental.jpg") no-repeat center center !important;
    background-size: cover !important;
  }
  #accordionItem04 {
    background: #fff url("https://www.geofisica.unam.mx/recursos/img/geomagnetismo/lineas-de-investigacion/geoquimica_isotopica_y_geocronologia.jpg") no-repeat center center !important;
    background-size: cover !important;
  }
  #accordionItem05 {
    background: #fff url("https://www.geofisica.unam.mx/recursos/img/geomagnetismo/lineas-de-investigacion/paleoambientes_y_paleoclimas.jpg") no-repeat center center !important;
    background-size: cover !important;
  }
  #accordionItem06 {
    background: #fff url("https://www.geofisica.unam.mx/recursos/img/geomagnetismo/lineas-de-investigacion/paleomagnetismo.jpg") no-repeat center center !important;
    background-size: cover !important;
  }
  #accordionItem07 {
    background: #fff url("https://www.geofisica.unam.mx/recursos/img/geomagnetismo/lineas-de-investigacion/radiocarbono.jpg") no-repeat center center !important;
    background-size: cover !important;
  }
}

/*
@media (min-width:992px) {
  .accordion-button:not(.collapsed) {
    background: rgba(14, 20, 26, .35) !important;
  }
}
*/

@media (min-width:1200px) {
  #disciplinas .accordion-body p {
    color: #333 !important;
  }

  #disciplinas .accordion-body ul {
    color: #444 !important;
    font-weight: 400;
  }

  .accordion-button {
    min-height: 60px;
    display: initial;
  
  }
  .accordion-button::after {
    float: right;
  }
  #disciplinas .accordion-body p, #disciplinas .accordion-body ul {
    /*max-width: 50%;*/
    /*margin-left: 25%;*/
  }
  #disciplinas .col:nth-child(1) .card {
    border-top-left-radius: 0.5rem !important;
  }
  #disciplinas .col:nth-child(4) .card {
    border-top-right-radius: 0.5rem !important;
  }
  #disciplinas .col:nth-child(5) .card {
    border-bottom-left-radius: 0.5rem !important;
  }
  #disciplinas .col:nth-child(8) .card {
    border-bottom-right-radius: 0.5rem !important;
  }

  #disciplinas .accordion-body {
    background: #fff !important;
    backdrop-filter: blur(0) !important;
    -webkit-backdrop-filter: blur(0) !important;
  }
}

@media (min-width:1400px) {
  /*
  #disciplinas .container {
    min-width: 80% !important;
  }
  */
  #disciplinesTab .nav-link {
    font-size: 14px;
    line-height: 18px;
  }
}


/*** Laboratorios ****/
#laboratorios .row {
  padding: 0 12px;
}
#laboratorios .card, #laboratorios .card img, #laboratorios .card-img-overlay {
  border: none !important;
  border-radius: .5rem;
}
#laboratorios .card {
  overflow: hidden;
  box-shadow: 0 .5rem 1rem rgba(14, 20, 26, .4);
  transition: box-shadow 0.2s;
}
#laboratorios .col {
  padding: 12px;
  border-radius: .5rem;
}
/*
#laboratorios .card-img-overlay {
  border-radius: calc(.5rem - 1px);
}
*/
#laboratorios .card img {
  transition: all 1s;
}
#laboratorios .card:hover {
  box-shadow: 0 .5rem 1rem rgba(14, 20, 26, .8);
}
#laboratorios .card:hover img {
  transform: scale(1.2);
}
#laboratorios .card-img-overlay:hover .card-title {
  font-weight: 500;
}
#laboratorios .card-img-overlay {
  background: rgba(255, 255, 255, .75);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, .96) 78%);
}
#laboratorios .card-img-overlay-content {
  position: absolute;
  left: 8px;
  bottom: 8px;
  width: 90%;
}
#laboratorios .card-title {
  color: #004B80;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 800 !important;
  letter-spacing: 1px;
  text-align: left;
}
#laboratorios .card-subtitle {
  color: #004B80;
  font-family: "Jost", sans-serif;
  font-size: 12px;
  line-height: 14px !important;
  font-weight: 400 !important;
  letter-spacing: 0.6px;
  text-align: left;
}
#laboratorios .lab-card-call {
  display: none;
  font-family: "Raleway", sans-serif;
  /*color: #80CBFF;*/
  color: #004B80;
  font-size: 10px;
  letter-spacing: 0.6px;
  text-align: right;
  margin: 4px 0 0 0;
}
#laboratorios .lab-card-call:after {
  font-family: 'bootstrap-icons';
  content: '\F144';
  margin-left: 4px;
  font-size: 12px;
  vertical-align: -2px !important;
}

@media(min-width: 576px) {
  #laboratorios .col {
    padding: 12px;
  }
  #laboratorios .card-title {
    font-size: 15px;
  }
  #laboratorios .card-subtitle {
    font-size: 13px;
    line-height: 14px !important;
  }
}

@media(min-width: 992px) {
  #laboratorios .card-title {
    font-size: 16px;
  }
  #laboratorios .card-subtitle {
    font-size: 14px;
    line-height: 16px !important;
  }
  #laboratorios .lab-card-call {
    margin: 2px -6px 0 0;
  }
}

@media(min-width: 1400px) {
  #laboratorios .container-sm  {
    min-width: 80% !important;
  }
  #laboratorios .col {
    /*
      padding: 0; 
      width: calc(20% - 40px);
      margin: 15px 20px 15px 20px;
    */
    padding: 22px;
    max-width: 400px;
  }
  #laboratorios .card-title {
    font-size: 18px;
  }
  #laboratorios .card-subtitle {
    font-size: 16px;
    line-height: 20px !important;
  }
  #laboratorios .lab-card-call {
    font-size: 12px;
  }
  #laboratorios .lab-card-call:after {
    font-size: 14px;
  }
}


/*** Personal ***/

#personal .col {
  padding: 0;
  box-shadow: 0 .5rem 1rem rgba(14, 20, 26, .4);
  margin: 15px 15px 15px 15px;
  width: calc(50% - 30px);
  transition: box-shadow 0.2s;
  border-radius: calc(0.375rem - 1px);
}
#personal .col:hover {
  box-shadow: 0 .5rem 1rem rgba(14, 20, 26, .8);
}
#personal .card, #personal .card img, #personal .card-img-overlay {
  border: none !important;
  /*border-radius: 0 !important;*/
  overflow: hidden;
  transition: all 1s;
}
#personal .card:hover img {
  transform: scale(1.2);
}
#personal .card-img-overlay {
  /*
  background: rgba(14, 20, 26, .75);
  background: linear-gradient(180deg, rgba(14, 20, 26, 0) 30%, rgba(14, 20, 26, 1) 100%);
  */
  background: rgba(14, 20, 26, .75);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .95) 84%);
}
#personal .card:hover .card-img-overlay {
  background: rgba(14, 20, 26, .75);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .98) 75%);
}
#personal .card-text {
  position: absolute;
  left: 8px;
  bottom: 8px;
  width: 90%;
}
#personal .name {
  color: var(--color-titles);
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  font-weight: 700 !important;
  letter-spacing: 1.2px;
  text-align: left;
}
#personal .text-hover {
  display: none;
}
#personal .info {
  line-height: 18px;
}
#personal .position {
  color: #222;
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  line-height: 14px !important;
  font-weight: 400;
  letter-spacing: 1px;
  text-align: left;
  margin: 0 0 6px 0;
}
#personal .phone { 
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  border: none;
  color: #222;
  padding: 0;
  margin: -2px 0;
  font-size: 12px;
  letter-spacing: 0.75px;
}
#personal .phone:before {
  font-family: "bootstrap-icons";
  content: '\F5C1';
  font-size: 12px;
  margin-right: 4px;
  vertical-align: -1px;
}
#personal .phone:hover { 
  color: var(--alt-color);
}
#personal .mail {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  border: none;
  color: #222;
  padding: 0;
  font-size: 12px;
  letter-spacing: 0.75px;
}
#personal .mail:before {
  font-family: "bootstrap-icons";
  content: '\F32F';
  font-size: 12px;
  margin-right: 4px;
  vertical-align: -1px;
}
#personal .mail:hover { 
  /*color: var(--alt-color);*/
  /* color: #80CBFF; */
  color: var(--color-titles);
  font-weight: 400;
}
#personal .mail:hover, #personal .mail:focus, #personal .phone:hover, #personal .phone:focus {
  border: none;
}
#personal .action-call {
  font-family: "Raleway", sans-serif;
  /* color: #80CBFF; */
  color: var(--color-titles);
  font-size: 10px;
  letter-spacing: 0.6px;
  text-align: right;
  margin: 4px 0 0 0;
}
#personal .action-call i {
  margin-left: 4px;
  font-size: 12px;
}

@media(min-width: 576px) {
  #personal .name {
    font-size: 15px;
  }
  #personal .position {
    font-size: 13px;
    line-height: 14px !important;
  }
}

@media(min-width: 768px) {
  #personal .col {
    margin: 15px 15px 15px 15px;
    width: calc(33% - 30px);
  }
}

@media(min-width: 992px) {
  #personal .col {
    margin: 15px 20px 20px 15px;
    width: calc(25% - 40px);
  }
  #personal .name {
    font-size: 16px;
  }
  #personal .position {
    font-size: 14px;
    line-height: 16px !important;
  }
  #personal .action-call {
    margin: 8px 0 0 0;
  }
}

@media(min-width: 1400px) {
  #personal .container-sm  {
    min-width: 80% !important;
  }
  #personal .col {
    margin: 15px 20px 15px 20px;
    width: calc(20% - 40px);
  }
  #personal .name {
    font-size: 18px;
  }
  #personal .info {
    line-height: 20px;
  }
  #personal .position {
    margin: 0 0 12px 0;
  }
  #personal .phone, #personal .mail {
    font-size: 13.5px;
  }
  #personal .action-call {
    font-size: 12px;
  }
  #personal .action-call i {
    font-size: 14px;
  }
}



/* Papers */
#publicaciones .card {
  padding: 22px;
  border: none;
  transition: box-shadow .3s;
}
#publicaciones .card a, #publicaciones .doi-info button {
  text-decoration: none;
}
#publicaciones .shadow:hover {
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.35) !important;
}
#publicaciones .card .title {
  color: #222;
  font-size: 15px;
  font-family: Plus Jakarta Sans, sans-serif;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
}
#publicaciones .authors-info p, #publicaciones .authors, #publicaciones .journal-info, #publicaciones .doi-info {
  font-family: Jost, sans-serif;
  font-size: 16px;
  text-align: left;
}
#publicaciones .authors-info  {
  margin-bottom: 12px;
}
#publicaciones .author-igef {
  font-weight: 600;
}
#publicaciones .btn-author {
  color: #222;
  padding: 0;
  font-weight: 600;
  text-decoration: none;
  vertical-align: 0;
  transition: all 0.6s;
}
#publicaciones .btn-author:hover {
  color: #0D6EFD;
}
#publicaciones .btn-et-alt {
  padding: 0;
  text-decoration: none;
  vertical-align: 0;
  transition: all 0.6s;
}
#publicaciones .journal {
  font-size: 14px;
  text-transform: uppercase;
}
#publicaciones .year, #publicaciones .journal, #publicaciones .doi-info p {
  margin: 0;
}
#publicaciones .doi-info p {
  font-size: 14px;
  margin-top: 6px;
}
#publicaciones .doi-info button {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px;
  padding: 0;
  vertical-align: 0;
}

.pagination li {
  display:inline-block;
  padding:5px;
}

#publicaciones .journal-info , #publicaciones .personal-journal-info {
  margin-left: 0.25rem;
}

@media (min-width:768px) {
  #publicaciones .doi-info p, #publicaciones .doi-info button {
    font-size: 15.5px;
  }
}

/*** Seminarios ***/
#seminarios iframe {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}
#seminarios .card {
  border: none;
  padding: 0;
  max-width: 800px;
}
#seminarios .conference-title {
  color: #222;
  font-family: Jost, sans-serif;
  letter-spacing: 0.6px;
  font-weight: 600;
  font-size: 18px !important;
  line-height: 22px;
  margin-bottom: 22px;
}
#seminarios .conference-title::before {
  color: #444;
  font-family: bootstrap-icons;
  content: "\F6B0";
  font-size: 16px;
}
#seminarios .quote-reverse::before {
  color: #444;
  font-size: 16px;
  transform: scaleY(-1) scaleX(-1);
}
#seminarios .conference-datetime {
  font-size: 15px !important;
  font-weight: 500;
}
#seminarios .conference-place {
  font-size: 14px !important;
  font-weight: 500;
  margin-bottom: 0;
}
#seminarios .conference-place-inst {
  font-size: 13px !important;
  margin-top: 0;
}
#seminarios .conference-speaker {
  font-size: 17px !important;
  margin-bottom: 0;
  padding-bottom: 0;
  text-decoration: none !important;
}
#seminarios .img-speaker {
  border-radius: 50%;
  width: 200px;
}
#seminarios .speaker-institution {
  font-family: Jost, sans-serif;
  font-size: 15px !important;
  letter-spacing: 1px;
  margin-top: 0;
  padding: 0;
  text-transform: uppercase;
  text-decoration: none !important;
}
#seminarios .conference-link a {
  margin-left: 16px;
  transition: all .6s;
}
#seminarios .conference-link-facebook {
  text-decoration: none;
  font-size: 24px;
}
#seminarios .conference-link-youtube {
  color: red;
  text-decoration: none !important;
  font-size: 28px;
  transition: all .6s;
}
#seminarios .conference-link-youtube:hover {
  color: darkred;
}
#seminarios .conference-link-facebook::before {
  font-family: bootstrap-icons;
  content: "\F344";
}
#seminarios .conference-link-youtube::before {
  font-family: bootstrap-icons;
  content: "\F62B";
  vertical-align: -3px;
}
#seminarios .carousel-control-prev, #seminarios .carousel-control-next {
  background-color: rgba(14, 20, 26, .5);
  width: 4.8vh;
  height: 4.8vh;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}


@media (min-width:1200px) {
  #seminarios .speaker-info {
    flex-direction: column;
    justify-content: center;
  }
}

/*** Proyectos ***/
#proyectos .col {
  margin: 0;
  padding: 0;
}
#proyectos .card {
  padding: 2px;
  border: none;
  margin: 0 .5em;
}
#proyectos h5 {
  color: #222;
  font-size: 14px;
  font-family: Plus Jakarta Sans, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 20px;
  text-align: left;
}
#proyectos .card-body p {
  margin: 3px;
}
#proyectos .card-body .type {
  font-size: 16px;
}
#proyectos .card-body .period {
  font-size: 15px;
  margin-bottom: 9px !important;
}
#proyectos .card-body .project-subtitle {
  font-size: 14px;
  font-weight: 500px;
  text-transform: uppercase;
}
#proyectos .card-body .researcher {
  font-size: 15px;
  font-weight: 500;
}
#proyectos .carousel-inner {
  padding: 1em;
}
#proyectos .carousel-control-prev, #proyectos .carousel-control-next{
  background-color: rgba(14, 20, 26, .5);
  /*background-color: #e1e1e1;*/
  width: 4.8vh;
  height: 4.8vh;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

@media (min-width: 768px) {
  #proyectos .carousel-inner {
    display: flex;
  }
  #proyectos .carousel-item {
    margin-right: 0;
    flex: 0 0 50%;
    display: block;
  }
}

@media (min-width: 992px) {
  #proyectos .carousel-item {
    flex: 0 0 33.33333% !important;
  }
}

/*** Personal ***/
#jefatura .link {
  text-decoration: none;
  color: #222;
}
#jefatura .link:hover .name {
  color: blue;
}
#jefatura .image {
  max-width: 180px;
}
#jefatura .name {
  font-family: Jost;
  font-size: 22px;
  letter-spacing: 1px;
  font-weight: 500;
}

/*** Academicos ***/
#academic {
  margin-top: 100px;
}
#academicImgContainer img {
  max-height: 320px;
}
#academicInfoContainer h2 {
  font-family: Plus Jakarta Sans;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
}
#academicInfoContainer .position {
  font-family: Jost, sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 2px;
}
#academicInfoContainer .mail {
  letter-spacing: .6px;
}
#academicInfoContainer .mail:before {
  content: '\F32F';
  margin-right: 8px;
  font-family: bootstrap-icons;
  vertical-align: -3px;
}
#academicInfoContainer .mail {
  text-decoration: none;
}
#academicInfoContainer .degrees ul li {
  margin-bottom: 12px;
}
#researchTopics h4, #researchTopics li {
  font-family: Jost;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 1px;
}
#academic h3 {
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
#academic .platforms-links, #academicalBackground {
  margin-left: 15px;
}
#academic .platforms-links a {
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
}
#academic .platforms-links a:after {
  font-family: bootstrap-icons;
  content: '\F144';
  font-size: 12px;
  font-weight: 600;
  color: #222;
  margin-left: 12px;
  transition: all .6s;
}
#academic .platforms-links span {
  color: #222;
  font-family: Jost, sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  transition: all .6s;
}
#academic .orcid img {
  width: 60px;
  margin-right: 10px;
  vertical-align: -2px;
}
#academic .orcid:hover span, #academic .orcid:hover::after {
  color: #a5cd39;
}
#academic .scopus img {
  width: 60px;
  margin-right: 10px;
  vertical-align: -8px;
}
#academic .scopus:hover span, #academic .scopus:hover::after {
  color: #f36d21;
}
#academic .researchgate img {
  width: 100px;
  margin-right: 10px;
  vertical-align: 0;
}
#academic .researchgate:hover span, #academic .researchgate:hover::after {
  color: #40ba9b;
}
#academic .google-scholar img {
  width: 110px;
  margin-left: -3px;
  margin-right: 3px;
  vertical-align: -6px;
}
#academic .google-scholar:hover span, #academic .google-scholar:hover::after {
  color: red;
}
#academic .siia-unam img {
  width: 80px;
  margin-left: 2px;
  margin-right: 3px;
  vertical-align: -6px;
}
#academic .siia-unam:hover span, #academic .siia-unam:hover::after {
  color: blue;
}
#academic .other-web i {
  transition: all .6s;
}
#academic .other-web span {
  font-weight: 400;
  font-size: 14px;
}
#academic .other-web:hover span, #academic .other-web:hover::after {
  color: var(--bs-btn-hover-color);
}
#academicalBackground h3 {
  font-size: 15px;
}

@media(min-width:1200px) {
  #academic {
    margin-top: 150px;
  }
}


/*** Footer ***/
footer {
  background-color: #000910;
  font-size: 14px;
  padding-top: 50px;
}

footer a {
  color: #eee;
  text-decoration: none;
  transition: all 0.5s;
}

footer a:hover {
  color: var(--main-color) !important;
}

footer a.chevron-right-icon:before {
  color: var(--main-color);
  margin-left: 2px;
  margin-right: 6px;
  font-size: 14px;
  font-weight: 700;
  vertical-align: top;
}

footer .contact :not(.social) a {
  line-height: 20px;
  padding-left: 36px;
  padding-right: 6px;
  text-indent: -25px;
}

footer .link li {
  border-bottom: 1px solid #263044;
  padding-bottom: 8px;
  margin-top: 10px;
}

footer ul {
  list-style: none;
  margin-left: -45px;
}

footer .disclaimer {
  font-size: 13px;
  color: #eee;
  text-align: justify;
  margin-bottom: 15px;
}

footer .col {
  margin-bottom: 15px;
}

footer .social {
  font-family: "bootstrap-icons";
  margin-top: 10px;
  margin-bottom: 30px;
  font-size: 19px;
  margin-left: -6px;
}

footer .social a {
  background-color: var(--main-color);
  border-radius: 50%;
  color: #fff;
  padding: 9px;
  margin-right: 8px !important;
  transition: all 1s !important;
}

footer .social a:focus {
  background-color: var(--main-color);
  color: #fff;
}

footer .social a:hover {
  background-color: #fff !important;
}

footer .contact-data a:before {
  font-family: "bootstrap-icons";
  color: var(--main-color);
  margin-right: 6px;
  font-size: 18px;
  vertical-align: top;
}

footer .footer-links a:before, footer .footer-more a:before {
  font-family: "bootstrap-icons";
}
footer a.chevron-right-icon:before {
  content: "\F285";
}
footer a.geolocation-icon:before {
  content: "\F3E8";
}
footer a.envelope-icon:before {
  content: "\F32F";
}
footer a.telephone-icon:before {
  content: "\F5C1";
}
footer .social a.facebook-icon:before {
  content: "\F344";
}
footer .social a.twitter-icon:before {
  content: "\F8DB";
}
footer .social a.instagram-icon:before {
  content: "\F437";
}
footer .social a.tiktok-icon:before {
  content: "\F6CC";
}
footer .social a.youtube-icon:before {
  content: "\F62B";
}
footer .social a.youtube-icon {
  margin-top: 8px;
  font-size: 20px !important;
}

footer .last {
  background-color: #000910;
  padding-top: 10px;
  padding-bottom: 30px;
  font-family: "Open Sans", sans-serif;
}

footer .last a {
  font-size: 13px;
  color: var(--main-color) !important;
  text-align: center;
}

footer .last .creditos {
  margin-right: 20px;
}

footer .last a:hover {
  color: #fff !important;
}

.footer-title {
  border-bottom: 2px solid var(--main-color);
  color: #fff;
  font-family: "Raleway", sans-serif !important;
  font-weight: 700;
  text-transform: uppercase;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.footer-logos .escudo-unam img {
  height: 45px;
  margin-right: 10px;
  transition: all 0.5s;
}

.footer-logos .escudo-unam:hover img, .footer-logos .logo-geofisica:hover img {
  filter: opacity(0.8);
}

.footer-logos .logo-geofisica img {
  margin-top: -2px;
  height: 50px !important;
  transition: all 0.5s;
}

.igef-footer-title {
  letter-spacing: 0.4px;
  color: #fff;
  margin-top:  10px;
  margin-bottom: 5px;
}

.igef-footer-title span {
  font-weight: 800;
}

.footer-content a {
  font-family: "Open Sans", sans-serif;
  color: #eee !important;
  margin-bottom: 8px;
}

.footer-content.contact-data a {
  margin-bottom: 6px !important;
}

.footer-revista, .footer-bcct, .footer-igualdad {
  text-indent: -23px;
  padding-left: 23px; 
}

.number {
  font-family: "Open Sans", sans-serif;
}


@media(min-width:768px){
  footer .last .container {
    text-align: center;
  }
}

@media(min-width:992px) {
  .footer-tel {
    font-size: 13px;
  }
}

@media(min-width:1200px) {
  .footer-tel {
    font-size: 14px;
  }
}

.footer-content .footer-tel {
  display: block;
}

/* modal */

#modalCreditos {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

#modalCreditos .modal-title {
  font-weight:  700;
}
#modalCreditos p {
  margin-bottom: 0;
}
.credits-content {
  margin-bottom: 25px;
}
.credits-activity {
  font-style: italic;
}
.btn-close-credits {
  background:  var(--main-color);
  border-color: var(--main-color);
}


.btn-team-mail {
  color: var(--main-color);
  padding: 0;
  z-index: 2000;
}

/*** Utilities ***/
.text-gradient {
  background: var(--main-color);
  background: -webkit-linear-gradient(to right, #004B80 25%, var(--main-color) 75%);
  background: linear-gradient(to right, #004B80 25%, var(--main-color) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-text-fill-color: transparent;
}
.subsection-mb {
  margin-bottom: 60px;
}
.caption-backdrop-blur {
  backdrop-filter: blur(2.5px);
  --webkit--backdrop-filter: blur(2.5px);
}
/*
.style-filter {
  filter: grayscale(100%) brightness(70%);
  transition: all 2s;
}
*/

.ytp-large-play-button-red-bg .ytp-large-play-button-bg {
  fill: blue !important;
  fill-opacity: 0.2 !important;
}

/*** chocolat ***/
.chocolat-wrapper {
  z-index: 10000;
  backdrop-filter: blur(1.5px);
  --webkit-backdrop-filter: blur(1.5px);
}

.chocolat-overlay {
  opacity: 0.9 !important;
  background: #000;
}

/*** Media Queries ***/
@media(min-width:992px){
  #academicImgContainer img {
    max-height: 500px;
  }
  #academicInfoContainer h2 {
    font-size: 28px;
  }
  #academicInfoContainer .position {
    font-size: 20px;
  }
}
@media(min-width:1200px) {
  .header-background {
    margin-top: -16%;
  }
  .header-background-min {
    margin-top: -10%;
  }
  .carousel-overlay {
    bottom: 2%;
    left: 0;
    margin-left: calc((100% - 1100px) / 2) !important;
    margin-right: calc((100% - 1200px) / 2) !important;
    max-width: 1140px !important;
  }
  .igef-news-btn {
    margin-bottom: 25px;
  }
  .igef-news-image-note {
    max-width: 100% !important;
  }
}

@media (min-width: 1400px) {
  .carousel-overlay {
    margin-left: calc((100% - 1280px) / 2) !important;
    margin-right: calc((100% - 1400px) / 2) !important;
    max-width: 1320px !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  #laboratorios .col:hover .card-img-overlay-content {
    animation: fadeInAlt .8s;
  }
  #laboratorios .col:hover .lab-card-call {
    animation: fadeIn 1s;
    display: block;
  }

  /*** Personal ***/
  #personal .col:hover .card-text {
    animation: fadeInAlt .8s;
  }
  #personal .col:hover .text-hover {
    animation: fadeIn 1s;
    display: block;
  }
}

/*** Animaciones ***/
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeInAlt {
  0% { opacity: 0.1; }
  100% { opacity: 1; }
}