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

.toplink-igef {
    margin-right: 18px !important;
}

.toplink .logo-igef {
  height:  32px;
  margin-top: -1px;
  margin-left: -8px;
  padding-left: 0;
  padding-right: 0;
}

.igum-btn-admin-mail {
  font-family: "Opens Sans", sans-serif;
  font-size: 12.5px;
}

/*
.igum-btn-admin-mail ion-icon {
  font-size: 16px;
  margin-right: 3px;
  margin-top: -1px;
  vertical-align: middle;
}
*/

.topbar {
  background-color: #106eea;
}

.highlight {
  line-height: 16px;
  margin-top: 2px;
}

.highlight a {
  padding-left: 0;
  padding-right: 0;
  margin-right: 8px;
}

.topbar .nav-link {
  color: #fff;
  font-size: 12px;
  opacity: 0.85;
  transition: opacity 0.6s;
}

.topbar a:hover {
  opacity: 1;
}

.topbar-social a {
  font-size: 20px !important;
  margin-top: 4px;
  margin-right: -2px;
  padding-left: 0;
  padding-right: 0;
  margin-left: 8px;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
  outline: none;
  box-shadow: none;
  padding:  0;
  border: 0;
}

.navbar-toggler ion-icon {
  color:  #fff;
  font-size: 22px;
  vertical-align: middle;
  margin-right: -4px;
}

.navbar-toggler span {
  color:  #fff;
  font-size: 11px;
  vertical-align: middle;
}

.carousel-control-prev, .carousel-control-next {
  font-weight: bold;
  width:  5%;
}

.navbar-brand {
  opacity:  0.85;
  transition: opacity 0.6s;
}

.navbar-brand:hover {
  opacity:  1;
}

.navbar-brand.logo-igum {
  filter:  brightness(10);
  margin-top: 3px;
}

.navbar a {
  font-size: 13px;
  transition: color .4s;
}

ion-icon {
  pointer-events: none;
}

.navbar-container {
  width: 992px;
}

.dropdown-toggle:after {
  display: none;
}

/*
.navbar-brand.escudo-unam {
  margin-left: 68px !important;
}
*/
.navbar-brand.unam-475 img {
  margin-top: 5px;
}

.navbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 14, 9, 0.7) !important;
}

.carousel-item img {
  object-fit: cover;
}

.carousel-caption {
  background: rgb(0,0,0,0.5);
  width:  100vw;
  height:  100vh;
  right: 0;
  bottom: 0;
  left: 0;
  padding-top: 0;
  padding-bottom: 0;
  color: #fff;
}

.carousel-caption h5 {
  font-family: "Raleway", sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-top: 50px;
  margin-bottom: 30px;
}

.carousel-caption p {
  font-size: 16px;
  font-weight: 400;
}

.carousel-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65% !important;
}

.btn-more {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 14px 32px;
  border: none;
  transition: 0.5s;
  line-height: 1;
  margin-top: 22px;
  background: #1a48ed;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.btn-more:hover {
  background-color: #3583f0;
}

.section {
  min-height: calc(50vh - 133px);
  padding-bottom:  60px;
}

.section-title {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 28px;
  text-align: center;
  text-transform: uppercase;
  padding-top: 100px;
  padding-bottom:  20px;
}

/*
.section-title::before {
  content: '';
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: -46px;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #106eea;
  bottom: 0;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
}
*/

.section-body p {
  font-size: 16px;
  color: #848484;
  text-align: justify;
  text-justify: inter-word;
  vertical-align: middle;
}

.img-right-container {
  overflow: hidden;
  padding:  -50px;
  margin-left:  48vw;
  margin-top:  60px;
}

.img-right {
  max-height: 50vh;
  margin-left: -500px;
  overflow: hidden;
  padding-left: 210px;
}

.img-right-overlay {
  position: absolute;
  width:  100%;
  height:  50%;
  margin-left:  -12px;
  background: rgba(0, 0, 0, 0.3);
  overflow:  hidden;
}


.section.observatories {
  background: rgb(255,255,255);
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.7) 100%), url("../img/mexart_ejemplo.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.section.observatories:after {
    content:'';
    background:rgba(0,0,0,0.8);
    opacity:1;
}

.section-title-alt, .section-body-alt p {
  color: #fff !important;
}

.go-scroll {
  position: absolute;
  bottom: 80px;
  left: 50%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  color: #fff;
  letter-spacing: .1em;
  text-decoration: none;
  transition: opacity .3s;
  font-size: 12px;
}

.go-scroll:hover {
  opacity: .5;
}

.go-scroll span {
  position: absolute;
  top: 0;
  width: 24px;
  height: 24px;
  left:  50%;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: test 3s infinite;
  animation: test 3s infinite;
  box-sizing: border-box;
}
@-webkit-keyframes test {
  0% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
  }
  20% {
    -webkit-transform: rotate(-45deg) translate(-10px, 10px);
  }
  40% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
  }
}
@keyframes test {
  0% {
    transform: rotate(-45deg) translate(0, 0);
  }
  20% {
    transform: rotate(-45deg) translate(-10px, 10px);
  }
  40% {
    transform: rotate(-45deg) translate(0, 0);
  }
}

.card {
  border: none;
  border-radius: 0;
}

.card-hover {
  display:  none;
}

.card-fluid {
  box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 20vh;
  padding-bottom: 40px;
}

.card-fluid h3 {
  padding-top: 40px;
  margin-bottom: 30px;
}

.card-fluid-overlay {
  margin-left: -12px;
  background: rgba(0, 0, 0, 0.4);
  margin-right: -12px;
  height: calc(100% + 40px);
}

.card-fluid-overlay p {
  color:  #fff;
  font-weight:  800;
  padding-left: 20px;
  padding-right: 20px;
}

#historia, #laboratorios, #oferta {
  background-color:  #fbfbfb;
  box-shadow: 1px -29px 25px -35px rgba(0,0,0,0.1);
}

.card.personal {
  text-align: center;
  box-shadow: 25px -10px 25px -52px rgba(0,0,0,0.2);
  max-width: 280px;
}

.card.personal .card-img-overlay {
  /*background:  rgba(0,0,0,0);*/
  transition: background 0.6s ease-in-out;
}

.card.personal .card-img-overlay .card-title {
  margin-top: -5px;
  font-size: 12px;
  font-weight:  800;
}

.card.personal .card-img-overlay .card-subtitle {
  margin-top: -5px;
  font-size: 11px;
  font-weight:  700;
  margin-bottom:  -10px;
}

.card.personal .card-img-overlay .card-text {
  font-size: 12px;
  margin-top: -5px;
}

.card.personal:hover .card-img-overlay {
  background: rgba(0,0,0,0.2) !important;
}

.card.personal .persone-none {
  font-size:  80px;
  padding-top:  45%;
  min-width: 280px;
  min-height: 350px;
}

.card.personal .card-img-overlay {
  background:  rgba(0,0,0,0.1);
}

.bg-dark.bg-dark-custom {
  background-color: rgba(0,0,0,.4) !important;
}
/*
.card.personal:hover .card-img-overlay {
  background:  rgba(0,0,0,0.2);
}
*/

.research .geomagnetismo {
  background-image: url("../img/igum_geomagnetismo_ejemplo.jpg") !important;
  color: #fff;
}

.research .heliofisica {
  background-image: url("../img/igum_heliofisica_ejemplo.jpg") !important;
  color:  #fff;
}

.research .riesgos {
  background-image: url("../img/igum_peligros_ejemplo.jpg") !important;
  color: #fff;
}

.research h3 {
    font-family: "Raleway", sans-serif !important;
    font-weight: 800;
}

p {
  font-weight: 500;
}


.lab-card .card-img-overlay {
  background: rgba(0, 0, 0, 0.5);
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  display: flex;
  flex-flow: column;
  justify-content: flex-end;
}

.lab-card:hover .card-img-overlay {
  background: rgba(0, 0, 0, 0.2);
  font-family: "Raleway", sans-serif;
}

.lab-card .card-img-overlay .card-title {
  font-size: 16px;
  font-weight: 800;
}

.lab-card .card-img-overlay .card-text {
  font-size: 12px;
  font-weight:  800;
  margin-bottom: -4px;
}

.lab-card {
    overflow: hidden;
}

.labs .col img {
  transition: 1s ease-in-out;
  width: 100%;
}

.labs .col:hover img {
  transform: scale(1.5);
}

.lab-card .card-title {
  color:  #fff;
  text-align: center;
}

.lab-card .card-text {
  color: #e0e0e0;
  text-align: center;
}

.labs .call {
  color: #fff;
  font-size: 18px;
  margin-right:  -10px;
  margin-bottom: -16px;
}

.admin, .delegation div {
  margin-bottom: 50px;
}

.staff {
  text-align: center;
}

.staff h3 {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 30px;
}

.img-director {
  max-width: 280px;
  text-align: center;
  margin-bottom: 15px;
}

.semblance-title {
  font-size: 18px !important;
  font-weight: 700;
  text-align: center !important;
}

.delegation .col-6 {
  margin-bottom: 30px;
}

.delegation h4, .delegation h5 {
  font-size: 13px;
  line-height: 13px;
}

.delegation h4 {
  font-weight: 700;
  margin-top: 5px;
  margin-bottom: 4px;
}

.staff .phone a {
  font-size: 14px;
}

.staff .phone p {
  margin-top: 20px;
  font-weight: 700;
}

.staff .phone ion-icon {
  font-size: 20px;
  vertical-align: bottom;
}

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

.total, .hce, .prfn {
  display: none;
}

footer {
  background-color: rgb(26,25,25);
  font-size: 14px;
  padding-top: 50px;
}

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

footer a:hover {
  color: #106eea !important;
}

footer ion-icon {
  color: #106eea;
  margin-right: 6px;
  font-size: 18px;
  vertical-align: top;
}

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

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

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

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

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

footer .social {
  margin-top: 20px;
  margin-bottom: 30px;
}

footer .social a {
  margin-right: 10px;
  background-color: #106eea;
  padding: 10px 3px 10px 3px;
  border-radius: 50%;
  transition: all 1s !important;
}

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

footer .social a:hover ion-icon {
  color: #106eea !important;
}

footer .social ion-icon {
  font-size: 19px;
  padding-left: 6px;
  padding-top: 0.5px;
  color: #ddd;
}

footer .social ion-icon[name="logo-facebook"] {
  font-size: 23px;
  margin-top: -2px;
}

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

footer .last a {
  font-size: 13px;
  color: #106eea !important;
  text-align: center;
}

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

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

.footer-title {
  border-bottom: 2px solid #106eea;
  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;
}

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

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

ion-icon {
  pointer-events: none;
}

@media (min-width:360px) {
  .toplink-igef {
      margin-right: 24px !important;
  }
  .staff .phone a {
    margin-left: 6px;
    margin-right: 6px;
  }
  .staff .phone ion-icon {
    margin-right: 5px;
  }
}

@media (min-width: 420px) {
  .toplink-igef {
      margin-right: 40px !important;
  }
}

@media (min-width: 520px) {
  .toplink-igef {
    margin-right: 22px !important;
    margin-top:  -4px !important;
    margin-bottom: -6px !important;
  }
  .highlight a {
    margin-right: 8px;
  }
  .highlight a:not(.toplink-igef) {
    margin-top: 2px;
  }
  .topbar-social a {
    margin-left: 22px;
    margin-top: 0;
    margin-bottom: -6px !important;
  }
}

@media (min-width: 576px) {
  .topbar-social {
    margin-right: 0;
  }
  .navbar-toggler ion-icon {
    font-size: 28px;
    margin-right: -4px;
  }

  .navbar-toggler span {
    font-size: 12px;
  }
  .lab-card .card-img-overlay .card-title {
    font-size: 18px;
  }
  .lab-card .card-img-overlay .card-text {
    font-size: 14px;
  }
  .delegation h4, .delegation h5 {
    font-size: 15px;
    line-height: 15px;
  }
  .igum-btn-admin-mail {
    font-size: 14px;
  }
  .staff .phone a {
    margin-left: 12px;
    margin-right: 12px;
    font-size: 16px;
  }
  .staff .phone ion-icon {
    margin-right: 8px;
    font-size: 22px;
  }

  .card.personal .persone-none  {
    min-width: calc(280px - 46px);
    min-height: 292.5px;
  }
}

@media (min-width: 768px) {
  .toplink-igef {
    margin-right: 80px !important;
  }
  .highlight a {
    margin-right: 22px;
  }
  .topbar-social a:not(.youtube) {
    margin-left: 65px;
  }
  .topbar .nav-link {
    font-size: 14px;
  }
  .carousel-caption h5 {
    font-size: 38px;
  }
  .carousel-caption p {
    margin-left: auto;
    margin-right: auto;
  }
  .card.personal .card-img-overlay .card-title {
    font-size: 14px;
    }

  .card.personal .card-img-overlay .card-subtitle {
      font-size: 12px;
  }
  .delegation h4, .delegation h5 {
    font-size: 14px;
    line-height: 14px;
  }
  footer .last .container {
    text-align: center;
  }

  .card.personal .persone-none  {
    min-width: 280px;
  }
}

@media (min-width: 920px) {
  .carousel-caption h5 {
    font-size: 48px;
  }
  .carousel-overlay {
    width: 650px !important;
  }
  .lab-card .card-img-overlay .card-title {
    font-size: 20px;
  }
  .lab-card .card-img-overlay .card-text {
    font-size: 16px;
  }
}

@media (min-width: 992px) {
  .toplink-igef {
    margin-right: 20px !important;
  }
  .topbar-social {
    margin-right: 20px;
    margin-left: 210px;
  }
  .navbar-brand.escudo-unam {
    /*margin-left: 50px;*/
  }
  .card-fluid {
    min-height: 40vh;
  }
  .labs .call {
    font-size: 24px;
  }
  .staff h3 {
    text-align: left;
  }
  .img-director {
    text-align: center;
    margin-bottom: 20px;
    max-width: 425px !important;
    margin-left: -30px;
  }
  .semblance {
    margin-top: 50px;
  }
 .semblance-title {
    text-align: left !important;
  }
  .semblance-title {
    font-size: 20px !important;
  }
  .delegation h4, .delegation h5 {
    font-size: 16px;
    line-height: 16px;
  }
  .checkboxes {
    display: flex;
    justify-content: flex-start;
  }
  .footer-tel {
    font-size: 13px;
  }
}

@media (min-width: 1200px) {
  .topbar-social {
    margin-right: 120px;
    margin-left: 220px;
  }
  .carousel-overlay {
    width: 800px !important;
  }
  .card-fluid {
    min-height: 65vh;
  }
  .lab-card .card-img-overlay .card-title {
    font-size: 22px;
  }
  .lab-card .card-img-overlay .card-text {
    font-size: 18px;
  }
  .img-director {
    max-width: 320px !important;
    margin-left: -135px;
  }
  .footer-tel {
    font-size: 14px;
  }

  .card.personal .persone-none  {
    min-width: calc(280px - 25px);
  }
}

@media (min-width: 1400px) {
  .topbar-social {
    margin-right: 200px;
    margin-left: 230px;
  }
  .img-director {
    margin-left: -215px;
  }
  .card.personal .persone-none  {
    min-width: 280px
  }
}

@media (max-width: 379px) {
  .navbar-brand.escudo-unam {
    margin-left: 0px;
  }
  .labs .card-title {
    display: none;
  }
}

@media (max-width: 419px) {
  .labs .card-title {
    display: none;
  }
}

@media ( max-width: 991px ) {
  .offcanvas-end .nav-link {
    font-size: 16px;
    color: #323232 !important;
  }
  .offcanvas-end .nav-link.active {
    color: #106eea !important;
  }
  .offcanvas-end .nav-link:hover {
    color: #106eea !important;
  }
}

.section-title-logo img {
  width:  160px;
  margin-top: -125px; 
  filter: brightness(100);
  filter: grayscale(100);
  opacity:  0.1;
}

.section-title-logo-alt img{
  width:  160px;
  margin-top: -125px;
  filter: brightness(100);
  filter: grayscale(100);
  opacity:  0.2;
}

.offcanvas-end {
  background-color: rgba(255,255,255,0.98);
}
.offcanvas-header, .offcanvas-title {
  color:  #000 !important;
  font-weight: 700;
}