/*

TemplateMo 583 Festava Live

https://templatemo.com/tm-583-festava-live

*/


/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #ffffff;
  --primary-color:                #002B7A;
  --secondary-color:              #D59F0F;
  --section-bg-color:             #f0f8ff;
  --custom-btn-bg-color:          #EE5007;
  --custom-btn-bg-hover-color:    #c01f27;
  --dark-color:                   #000000;
  --p-color:                      #717275;
  --border-color:                 #7fffd4;
  --link-hover-color:             #B22727;

  --body-font-family:             'Outfit', sans-serif;

  --h1-font-size:                 74px;
  --h2-font-size:                 46px;
  --h3-font-size:                 32px;
  --h4-font-size:                 28px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  18px;
  --btn-font-size:                14px;
  --copyright-font-size:          16px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-light:            300;
  --font-weight-normal:           400;
  --font-weight-bold:             700;

  --UNAM-gold: #D59F0F;
  --UNAM-blue: #002B7A;

}

body {
  background-color: var(--white-color);
  font-family: var(--body-font-family); 
}


/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}

h1 {
  font-size: var(--h1-font-size);
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

.link-fx-1 {
  color: var(--white-color);
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 6px;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.link-fx-1:hover {
  color: var(--link-hover-color);
}

.link-fx-1:hover::before {
  transform: translateX(17px) scaleX(0);
  transition: transform .2s;
}

.link-fx-1:hover .icon circle {
  stroke-dashoffset: 200;
  transition: stroke-dashoffset .2s .1s;
}

.link-fx-1:hover .icon line {
  transform: rotate(-180deg);
}

.link-fx-1:hover .icon line:last-child {
  transform: rotate(180deg);
}

.link-fx-1::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform-origin: right center;
  transition: transform .2s .1s;
}

.link-fx-1 .icon {
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translateX(100%) rotate(90deg);
  font-size: 32px;
}

.icon {
  --size: 1em;
  height: var(--size);
  width: var(--size);
  display: inline-block;
  color: inherit;
  fill: currentColor;
  line-height: 1;
  flex-shrink: 0;
  max-width: initial;
}

.link-fx-1 .icon circle {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset .2s;
}

.link-fx-1 .icon line {
  transition: transform .4s;
  transform-origin: 13px 15px;
}

.link-fx-1 .icon line:last-child {
  transform-origin: 19px 15px;
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 50px;
  padding-bottom: 25px;
}

.section-bg {
  background-color: var(--section-bg-color);
}

.section-overlay {
  background: url('../images/background-section-1.png') center center / cover no-repeat fixed;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.section-overlay + .container {
  position: relative;
}

.tab-content {
  background-color: var(--white-color);
  border-radius: var(--border-radius-medium);
  padding: 45px;
}
#ex3-content.tab-content,
#contenedor_infografias .tab-content {
  background-color: transparent;
}
#contenedor_infografias .tab-content img{
  width: 100%;

}
#contenedor_servicios .tab-content {
  background-color: transparent;
  border-radius: var(--border-radius-medium);
  padding: 0px;
}

.nav-tabs {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-large);
  border-bottom: 0;
  padding: 15px;
}

.contenedor_infografias .nav-tabs {
  background-color: transparent;
}

.nav-tabs .nav-link {
  border-radius: var(--border-radius-large);
  border: 0;
  padding: 15px 25px;
  transition: all 0.3s;
}

.nav-tabs .nav-link:first-child {
  margin-right: 15px;
}

.nav-tabs .nav-item.show .nav-link, 
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus, 
.nav-tabs .nav-link:hover {
  background-image: linear-gradient(90deg, #002B7A, #D59F0F);
  font-weight: bold;
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);  
}

.nav-tabs h5 {
  color: var(--p-color); 
  margin-bottom: 0;
}

.nav-tabs .nav-link.active h5,
.nav-tabs .nav-link:focus h5, 
.nav-tabs .nav-link:hover h5 {
  color: var(--primary-color);
}


.nav-fill .nav-item .nav-link, .nav-justified .nav-item .nav-link {
    width: 99%;
}
/*---------------------------------------
  CUSTOM ICON COLOR               
-----------------------------------------*/
.custom-icon {
  color: var(--secondary-color);
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--secondary-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  transition: all 0.3s;
  padding: 10px 20px;
}

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--custom-btn-bg-color);
  color: var(--custom-btn-bg-color);
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn:hover,
.custom-border-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
  color: var(--white-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}


/*---------------------------------------
  VIDEO              
-----------------------------------------*/
.video-wrap {
  z-index: -100;
}

.custom-video {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}


/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
  background-color: var(--UNAM-gold);
  padding-top: 12px;
  padding-bottom: 12px;
}


/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.sticky-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;  
}

.sticky-wrapper.is-sticky .navbar {
  background-color: var(--primary-color);
}

.navbar {
  background-color: var(--primary-color);
  z-index: 9;
}

.navbar-brand,
.navbar-brand:hover {
  color: var(--white-color);
  font-size: var(--h5-font-size);
  font-weight: var(--font-weight-bold);
}


.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 10px;
  padding: 10px 20px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: white;
  font-size: 20px;
  font-weight: var(--font-weight-normal);
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active, 
.navbar-nav .nav-link:hover {
  color: var(--white-color);  
}

.sticky-wrapper.is-sticky .navbar-nav .nav-link {
  color: var(--white-color);
}
.sticky-wrapper.is-sticky .navbar-nav .nav-link.active{
  color: var(--UNAM-gold);
  font-weight: bold;
}
.sticky-wrapper:not(.is-sticky) .navbar-nav .nav-link.active, 
.sticky-wrapper:not(.is-sticky) .navbar-nav .nav-link:hover {
  color: var(--UNAM-gold);
}


.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*---------------------------------------
  HERO        
-----------------------------------------*/
.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  height: calc(100vh - 51px);
}

.hero-section small {
  color: var(--white-color);
  text-transform: uppercase;
}

.hero-section .section-overlay {
  z-index: 2;
  opacity: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  height: 100%;
  padding-bottom: 50px;
}

.hero-section .container .row {
  height: 100%;
}


/*---------------------------------------
  ABOUT              
-----------------------------------------*/
.about-section {
  background-color: white;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.about-image {
  border-radius: var(--border-radius-medium);
  display: block;

  max-width: 90%;
  margin:0 auto;
}

.about-text-wrap {
  position: relative;
}

.about-text-icon {
  background: var(--secondary-color);
  border-radius: 100%;
  font-size: var(--h3-font-size);
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
}

.about-text-info {
  backdrop-filter: blur(5px) saturate(180%);
  -webkit-backdrop-filter: blur(5px) saturate(180%);
  background-color: var(--UNAM-gold);
  border: 1px solid rgba(209, 213, 219, 0.3);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 20px;
  padding: 10px;
  color:#fff;
  border:10px solid white;
}


/*---------------------------------------
  SERVICES             
-----------------------------------------*/
.services-section {  
  background-image: url('../images/BUNAM/services-section-background.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.artists-thumb {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.artists-image {
  border-radius: var(--border-radius-medium);
  display: block;
  width: 100%;
}

.artists-thumb:hover .artists-hover {
  transform: translateY(0);
  opacity: 1;
}

.artists-hover {
  background-color: var(--primary-color);
  border-radius: var(--border-radius-medium);
  backdrop-filter: blur(5px) saturate(180%);
  -webkit-backdrop-filter: blur(5px) saturate(180%);
  margin: 20px;
  padding: 35px;
  transition: all 0.5s ease;
  transform: translateY(100%);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  opacity: 0;
}

.artists-hover p strong {
  color: var(--white-color);
  display: inline-block;
  min-width: 180px;
  margin-right: 20px;
}

.artists-hover p a {
  color: var(--secondary-color);
}

.artists-hover p a:hover {
  color: var(--white-color);
}

.artists-hover hr {
  margin: 1.5rem 0;
  color:white;
}


/*---------------------------------------
  CATALOGS
-----------------------------------------*/
.catalogs-section {
  background-image: url('../images/BUNAM/catalogs-section-background.png'); 
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;  
}

.schedule-table {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.schedule-table .bg-warning {
  background: #f0a5a5 !important;
}

.schedule-table thead th {
  background-color: var(--secondary-color);
}

.schedule-table th,
.schedule-table tr,
.schedule-table td {
  border-bottom-color: #363a3e;
  padding: 30px;
}

.schedule-table tr:last-child th,
.schedule-table tr:last-child td {
  border-bottom-color: transparent;
}

.schedule-table thead th {
  border-right: 1px solid #c7460a;
  border-bottom-color: transparent;
}

.schedule-table th + td {
  border-bottom: 0;
}

.schedule-table thead th:last-child {
  border-right-color: transparent;
}

.table-background-image-wrap {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-shadow: none;
  position: relative;
}

.schedule-table h3,
.schedule-table p {
  color: var(--white-color);
  position: relative;
  z-index: 2;
}


/*---------------------------------------
  PRICING              
-----------------------------------------*/
.pricing-thumb {
  border: 5px dotted var(--dark-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  padding: 50px;
}

.pricing-thumb h3 small {
  display: inline-block;
  font-size: var(--p-font-size);
  margin-right: 15px;
}

.pricing-list {
  column-count: 2;
  padding-left: 20px;
}

.pricing-list-item {
  line-height: normal;
  margin-right: 10px;
  margin-bottom: 10px;
}

.pricing-tag {
  background-color: var(--secondary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  position: absolute;
  top: 0;
  right: 0;
  margin: 20px;
}

.pricing-tag span {
  font-size: 180%;
  line-height: normal;
}

.pricing-thumb .link-fx-1 {
  color: var(--primary-color);
}

.pricing-thumb .link-fx-1:hover {
  color: var(--link-hover-color);
}


/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.google-map {
  border-radius: var(--border-radius-medium);
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control {
  color: var(--p-color);
  margin-bottom: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
  outline: none;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-medium);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
}


/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
  background-color: var(--dark-color);
  position: relative;
  overflow: hidden;
  padding-bottom: 30px;
}

.site-footer-top {
  background-color: var(--secondary-color);
  background-repeat: no-repeat;
  margin-bottom: 70px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.site-footer-bottom {
  border-top: 1px solid #1f1c1c;
  margin-top: 60px;
}

.site-footer-title {
  color: var(--primary-color); 
}

.site-footer-link,
.copyright-text {
  color: var(--white-color);
}

.site-footer-links {
  padding-left: 0;
}

.site-footer-link-item {
  list-style: none;
  display: inline-block;
  margin-right: 15px;
}

.copyright-text {
  font-size: var(--copyright-font-size);
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: var(--secondary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--copyright-font-size);
  display: block;
  margin-right: 10px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 36px;
  transition: background 0.2s, color 0.2s;
}

.social-icon-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.social-icon-link span {
  display: block;
}

.social-icon-link span:hover::before{
  animation: spinAround 2s linear infinite;
}

@keyframes spinAround {
  from {
    transform: rotate(0deg)
  }
  to {
    transform: rotate(360deg);
  }
}


/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (max-width: 991px) {
  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  
  .navbar {
    background-color: var(--primary-color);
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 30px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0;
  }

  .hero-section {
    padding-top: 150px;
  }

  .pricing-thumb {
    padding: 35px;
  }

  .schedule-table h3 {
    font-size: 22px;
  }

  .schedule-table th {
    padding: 20px;
  }

  .schedule-table tr, 
  .schedule-table td {
    padding: 25px;
  }

  .ticket-section {
    padding-top: 130px;
  }

  .ticket-form {
    padding: 30px;
  }
}

@media screen and (max-width: 767px) {
  .custom-btn {
    font-size: 14px;
    padding: 10px 20px;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }
}


/* Míos */
.contenedor_tablas_catalogos table thead>tr>th {  
  background:#D59F0F;
  border-top-left-radius: 1.5em;
  border-top-right-radius: 1.5em;
}

.contenedor_tablas_catalogos table tbody>tr>td:first {
  background: #D59F0F;
}
.btn_mas_entidad {
  font-size: 40px !important;
  color: #e7a000;
  font-weight: bold;
  padding: 0;
}
.contenedor_tablas_catalogos  table tr.fila_totales td {
  background-color: rgb(0,0,0);
  color: #fff;
}
.contenedor_tablas_catalogos table td.ultima_fila {  
  border-bottom-left-radius: 1.5em;
  border-bottom-right-radius: 1.5em;
  border-bottom-width: 0;  
  background:#D59F0F;
  color:white;
}
.contenedor_tablas_catalogos .accordion-button {
  display: inline-block;
  font-size: 1em;
  padding: 0px;
}
.contenedor_tablas_catalogos table td, 
.contenedor_tablas_catalogos table th{
  background-color: white;
  padding: 5px 20px 5px 20px;
}
.contenedor_tablas_catalogos h4{
  color:white;
  margin-top: 1rem !important;
} 
.contenedor_tablas_catalogos h6{
  color:white;
}

.graphic-resources-section {  
  background-image: linear-gradient(180deg, #45649d, #fff);
  position: relative;
  top: -1px;
}

.text-primary{
  color:var(--primary-color) !important;
}
.text-secondary{
  color:var(--secondary-color) !important;
}
p.p3{
  font-size: var(--h3-font-size);
}

.faq-section {
    background-image: url('../images/BUNAM/faq-section-background.png');
    background-color: #45649d;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    top: -1px;

    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.faq-section p{
  color: #030404 !important;
}


/* Aquí ya no lo uso mucho */
.contenedor_infografias .lead {
  color: #aaa;
}
.contenedor_infografias .card {
  border: none;
  transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
  overflow: hidden;
  border-radius: 20px;
  min-height: 450px;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
  .contenedor_infografias .card {
    min-height: 350px;
 }
}
@media (max-width: 420px) {
  .contenedor_infografias .card {
    min-height: 300px;
 }
}

.contenedor_infografias .card.card-has-bg {
  transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
  background-size: 120%;
  background-repeat: no-repeat;
  background-position: center center;
  height:700px;
}

.contenedor_infografias .card.card-has-bg:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: inherit;
  -webkit-filter: grayscale(1);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
}

.contenedor_infografias .card.card-has-bg:hover {
  transform: scale(0.98);
  box-shadow: 0 0 5px -2px rgba(0, 0, 0, 0.3);
  background-size: 130%;
  transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
}

.contenedor_infografias .card.card-has-bg:hover .card-img-overlay {
  transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
  background: #ffba21;
  background: linear-gradient(0deg, rgba(255, 186, 33, 0.5) 0%, rgba(255, 186, 33, 1) 100%);
}

.contenedor_infografias .card .card-footer {
  background: none;
  border-top: none;
}

.contenedor_infografias .card .card-footer .media img {
  border: solid 3px rgba(255, 255, 255, 0.3);
}

.contenedor_infografias .card .card-title {
  font-weight: 800;

  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 10px;
}

.contenedor_infografias .card .card-meta {
  color: rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 2px;
}

.contenedor_infografias .card .card-body {
  transition: all 500ms cubic-bezier(0.19, 1, 0.22, .25);
}
.contenedor_infografias .card:hover {
  cursor: pointer;
  transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
}

.contenedor_infografias .card:hover .card-body {
  margin-top: 30px;
  transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
}
.contenedor_infografias .card .card-img-overlay {
  transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
  background: #ffba21;  
  background: linear-gradient(0deg, rgba(8, 6, 152, 0.3785889355742297) 0%, rgba(255, 186, 33, 0.85) 100%);
}


.portfolio-content img{
  border-radius: 10px;
}



.gallery {
  background: #EEE;
}

.gallery-cell {
  width: 66%;
  height: 200px;
  margin-right: 10px;
  background: #8C8;
  counter-increment: gallery-cell;
}

/* Cell number */
.gallery-cell:before {
  display: block;
  text-align: center;
  content: counter(gallery-cell);
  line-height: 200px;
  font-size: 80px;
  color: white;
}

.contenedor_videos .carousel-item .video-thumbnail{
  opacity:0.75;
  border-radius:10px;
  border:1px solid rgb(184, 181, 181);
}
.contenedor_videos .carousel-item .video-thumbnail:hover{
  cursor:pointer;
  opacity:1;
}



.contenedor_videos .accordion-button:not(.collapsed) {
  background-color: #002b7af8;
  color:white;
}

.contenedor_videos .accordion-button{
    background-color: #002b7a1c;
}
.contenedor_videos .accordion-item p{
  font-size: 1rem;
}




#contenedor_tablas_catalogos .carousel-control-prev{}


.contenedor_videos .carousel-control-prev {
  background: #000000;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  width: 5%;  
}
#contenedor_tablas_catalogos .carousel-control-next{}


.contenedor_videos .carousel-control-next{
  background: #000000;  
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  width: 5%;
}

.carousel-indicators {
  margin-bottom:-10px;
}
.carousel-indicators [data-bs-target] {
  height: 10px;
}



/* Cards */
.postcard {
  flex-wrap: wrap;
  display: flex;
  box-shadow: 0 4px 21px -12px rgba(0, 0, 0, 0.66);
  border-radius: var(--border-radius-medium);
  margin: 0 0 2rem 0;
  overflow: hidden;
  position: relative;
  color: #ffffff;
  height:650px;
}
.postcard.dark {
  background-color: #18151f;
}
.postcard.light {
  background-color: #fff;
}
.postcard .t-dark {
  color: #18151f;
}
.postcard a {
  color: inherit;
}
.postcard h1,
.postcard .h1 {
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}
.postcard .small {
  font-size: 80%;
}
.postcard .postcard__title {
  font-size: 1.75rem;
}
.postcard .postcard__img {
  max-height: 180px;
  width: 100%;
  object-fit: cover;
  position: relative;
}
.postcard .postcard__img_link {
  display: contents;
}
.postcard .postcard__bar {
  width: 50px;
  height: 10px;
  margin: 10px 0;
  border-radius: 5px;
  background-color: #424242;
  transition: width 0.2s ease;
}
.postcard .postcard__text {
  padding: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.postcard .postcard__preview-txt {
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: justify;
  height: 100%;
}
.postcard .postcard__tagbox {
  display: flex;
  flex-flow: row wrap;
  font-size: 14px;
  margin: 20px 0 0 0;
  padding: 0;
  justify-content: center;
}
.postcard .postcard__tagbox .tag__item {
  display: inline-block;
  background: rgba(83, 83, 83, 0.4);
  border-radius: 3px;
  padding: 2.5px 10px;
  margin: 0 5px 5px 0;
  cursor: default;
  user-select: none;
  transition: background-color 0.3s;
}
.postcard .postcard__tagbox .tag__item:hover {
  background: rgba(83, 83, 83, 0.8);
}
.postcard:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(-70deg, #424242, transparent 50%);
  opacity: 1;
  border-radius: 10px;
}
.postcard:hover .postcard__bar {
  width: 100px;
}

@media screen and (min-width: 769px) {
  .postcard {
    flex-wrap: inherit;
  }
  .postcard .postcard__title {
    font-size: 2rem;
  }
  .postcard .postcard__tagbox {
    justify-content: start;
  }
  .postcard .postcard__img {
    max-width: 500px;
    max-height: 100%;
    transition: transform 0.3s ease;
  }
  .postcard .postcard__text {
    padding: 6rem;
    width: 100%;
  }
  .postcard .media.postcard__text:before {
    content: "";
    position: absolute;
    display: block;
    background: #18151f;
    top: -20%;
    height: 130%;
    width: 55px;
  }
  .postcard:hover .postcard__img {
    transform: scale(1.1);
  }
  .postcard:nth-child(2n+1) {
    flex-direction: row;
  }
  .postcard:nth-child(2n+0) {
    flex-direction: row-reverse;
  }
  .postcard:nth-child(2n+1) .postcard__text::before {
    left: -12px !important;
    transform: rotate(4deg);
  }
  .postcard:nth-child(2n+0) .postcard__text::before {
    right: -12px !important;
    transform: rotate(-4deg);
  }
}

@media screen and (min-width: 1024px) {
  .postcard__text {
    padding: 2rem 3.5rem;
  }

  .postcard__text:before {
    content: "";
    position: absolute;
    display: block;
    top: -20%;
    height: 130%;
    width: 75px;
  }

  .postcard.dark .postcard__text:before {
    background: #18151f;
  }

  .postcard.light .postcard__text:before {
    background: #ffffff;
  }
}
/* COLORS */
.postcard .postcard__tagbox .blue.play:hover {
  background: #0076bd;
}

.blue .postcard__title:hover {
  color: #0076bd;
}

.blue .postcard__bar {
  background-color: #0076bd;
}

.blue::before {
  background-image: linear-gradient(-30deg, rgba(0, 118, 189, 0.1), transparent 50%);
}

.blue:nth-child(2n)::before {
  background-image: linear-gradient(30deg, rgba(0, 118, 189, 0.1), transparent 50%);
}

.postcard .postcard__tagbox .yellow.play:hover {
  background: #bdbb49;
  color: black;
}

.yellow .postcard__title:hover {
  color: #bdbb49;
}

.yellow .postcard__bar {
  background-color: #bdbb49;
}

.yellow::before {
  background-image: linear-gradient(-30deg, rgba(189, 187, 73, 0.1), transparent 50%);
}

.yellow:nth-child(2n)::before {
  background-image: linear-gradient(30deg, rgba(189, 187, 73, 0.1), transparent 50%);
}

@media screen and (min-width: 769px) {

  .blue::before {
    background-image: linear-gradient(-80deg, rgba(0, 118, 189, 0.1), transparent 50%);
  }

  .blue:nth-child(2n)::before {
    background-image: linear-gradient(80deg, rgba(0, 118, 189, 0.1), transparent 50%);
  }

  .yellow::before {
    background-image: linear-gradient(-80deg, rgba(189, 187, 73, 0.1), transparent 50%);
  }

  .yellow:nth-child(2n)::before {
    background-image: linear-gradient(80deg, rgba(189, 187, 73, 0.1), transparent 50%);
  }
}












.tab-vertical .nav.nav-tabs {
    float: right;
    display: block;
    margin-left: 0px;
    border-bottom: 0;
}

.tab-vertical .nav.nav-tabs .nav-item {
    margin-bottom: 6px;
}

.tab-vertical .nav-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    background: #fff;
    padding: 17px 49px;
    color: #000;
    background-color: white;    
    font-weight: bold;
    -webkit-border-radius: 4px 0px 0px 4px;
    -moz-border-radius: 4px 0px 0px 4px;
    border-radius: 4px 0px 0px 4px;


    
}
.tab-vertical .nav-tabs .nav-link:hover{
  background-color: var(--primary-color) !important;
  color:white;
}

#section_5 .nav-tabs .nav-item.show .nav-link{
  font-weight: bold;
}
#contenedor_servicios .nav-tabs .nav-link, 
#contenedor_servicios .nav-tabs .nav-item.show .nav-link,
#section_5 .nav-tabs .nav-link, 
#section_5 .nav-tabs .nav-item.show .nav-link{
  color: #000;
  text-transform: uppercase;
}


.button-53 {
  background-color: #3DD1E7;
  border: 0 solid #E5E7EB;
  box-sizing: border-box;
  color: #000000;
  display: flex;
  font-family: ui-sans-serif,system-ui,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1.75rem;
  padding: .75rem 1.65rem;
  position: relative;
  text-align: center;
  text-decoration: none #000000 solid;
  text-decoration-thickness: auto;
  width: 100%;
  max-width: 460px;
  position: relative;
  cursor: pointer;
  transform: rotate(-2deg);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-53:focus{
  outline: 0;
}

.button-53:after{
  content: '';
  position: absolute;
  border: 1px solid #000000;
  bottom: 4px;
  left: 4px;
  width: calc(100% - 1px);
  height: calc(100% - 1px);
  border-radius:10px;
}
.button-53.active:after,
.button-53.active:hover:after,
.button-53:hover:after{
  border: 2px solid #fff;
}

.infography_card:after{
  content: '';
  position: absolute;
  border: 2px solid #fff;
  bottom: 8px;
  left: 8px;
  width: calc(100% - 15px);
  height: calc(100% - 15px);
  border-radius:10px;
}

.button-53:hover:after {
  bottom: 2px;
  left: 2px;
}

@media (min-width: 768px) {
  .button-53 {
    padding: .5rem 1.5rem;
    font-size: 1rem;
  }
}


#contenedor_servicios .nav-tabs .nav-link.active,
#contenedor_servicios .nav-tabs .nav-link:focus, 
#contenedor_servicios .nav-tabs .nav-link:hover, 
#section_5 .nav-tabs .nav-link.active,
#section_5 .nav-tabs .nav-link:focus, 
#section_5 .nav-tabs .nav-link:hover {
  color: white !important;
  text-transform: uppercase;
}

.tab-vertical .nav-tabs .nav-link.active {
    color: #002B7A;
    background-color: var(--secondary-color) !important;
    border-color: transparent !important;
    font-weight: bold;

    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.tab-vertical .nav-tabs .nav-link {
    border: 1px solid transparent;
    border-radius: 10px !important;

    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.tab-vertical .tab-content {
    overflow: auto;
    -webkit-border-radius: 0px 4px 4px 4px;
    -moz-border-radius: 0px 4px 4px 4px;
    border-radius: 0px 4px 4px 4px;
    background: transparent;
    padding: 0px;
}

.shadow-1-strong{
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px !important;
}

.service-thumbnail{
  width:100px;
}


.holographic-card {
  background: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: all 0.25s ease;
}

.holographic-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg, 
    transparent, 
    transparent 30%, 
    rgba(0,255,255,0.3)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}
.container_posters img{
  transition: all 0.25s ease;
}
 .container_posters img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0,255,255,0.5);
  cursor:pointer;
}

.holographic-card:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}

#contenedor_servicios .carousel-control-next-icon {
  background-image: url('../images/circle-left-arrow.png');
}

#contenedor_servicios .carousel-control-prev-icon {
  background-image: url('../images/circle-right-arrow.png');
}

#contenedor_servicios .carousel-control-next-icon, 
#contenedor_servicios .carousel-control-prev-icon {    
    width: 6rem;
    height: 6rem;
}

#contenedor_servicios .carousel-control-next, 
#contenedor_servicios .carousel-control-prev {
    opacity: .25;
}

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

.box{
  width: 200px;
  height: 100px;
  background-color: lightblue;
  box-shadow: 10px 10p 20px rgba(0, 0, 0, 0.5);
}

#accordion_section_parent>.accordion-item>.accordion-header>.accordion-button.collapsed{
  background-image: linear-gradient(90deg, #002B7A, #D59F0F);  
  color:white;
}
#accordion_section_parent>.accordion-item>.accordion-header>.accordion-button{
  background-color:var(--secondary-color);
  color:black;
  font-weight: bold;
}
#accordion_section_parent>.accordion-item>.accordion-header>.accordion-button{
  font-size:1.5rem;
}

#accordion_section_parent>.accordion-item>.accordion-header>.accordion-button::after{
 background-image: url("data:image/svg+xml,%3Csvg width='800px' height='800px' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 1H6V6L1 6V10H6V15H10V10H15V6L10 6V1Z' fill='%23ffffff'/%3E%3C/svg%3E");
}
#accordion_section_parent>.accordion-item>.accordion-header>.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg width='800px' height='800px' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 10L1 6L15 6V10L1 10Z' fill='%23000000'/%3E%3C/svg%3E");
    transform: rotate(-180deg);
}

#modalAllowVideo .modal-header, 
#modalAllowVideo .modal-footer,
#modalDetailImage .modal-header, 
#modalDetailImage .modal-footer{
  background-image: linear-gradient(90deg, #002B7A, #D59F0F);
  color: #fff;
}

#modalAllowVideo .modal-content, 
#modalDetailImage .modal-content{
  border: 1px solid white;
}

#modalDetailImage .modal-title {
  color: #fff;
  text-align: center;
  text-transform: uppercase;
}

#modalDetailImage .modal-body {
  color: rgba(0, 0, 0, 0.8)
}

#modalDetailImage .modal-content {    
    border: 2px solid white;
}


@media (min-width: 576px) {
    .modal-dialog {
        max-width: 400px;
    }
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
    }
}

@media (min-width: 1000px) {
    .modal-dialog {
        max-width: 800px;
    }
}


.navbar .dropdown-item:focus, .dropdown-item:hover {
    color: black !important;
    background-color: var(--UNAM-gold) !important;
}
.navbar .dropdown-item.active, .dropdown-item:active {
    color: white;
    text-decoration: none;
    background-color: var(--UNAM-blue);
}

/* MODALS */

#modalPrivacyPolicy .modal-header, 
#modalPrivacyPolicy .modal-footer{
    background-image: linear-gradient(90deg, #002B7A, #D59F0F);
    color: #fff;
}
#modalPrivacyPolicy .modal-title,
#modalCredits .modal-title{
    color: white;
    text-transform: capitalize;
}
#modalPrivacyPolicy .modal-body {
    color: rgba(0, 0, 0, 0.8) !important;
}
#modalPrivacyPolicy p,
#modalPrivacyPolicy ol,
#modalPrivacyPolicy ul{
    text-align: justify;
    color: rgba(0, 0, 0, 0.8) !important;
}


#modalCredits p,
#modalCredits h5,
#modalCredits h6{
  color: white !important;
}

#modalCredits .modal-content,
#modalPrivacyPolicy .modal-content{
    border: 2px solid white;
}

#modalCredits .modal-content {
    background-color: rgba(0, 0, 0, 0.85);
}

#modalCredits img {
    height: 75px;
}


/* Zoomist */
.cat-zoomist {
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
      }
.cat-zoomist img{
    max-width: 100%;
    height: auto;
}