@import "./reset.css";

/* General Class */

.mt-6 {
  margin-top: 3.5rem !important;
}
span {
  font-size: 12px;
  font-family: "zizou-slab-regular";
}

button,
button:focus {
  background: transparent !important;
  border: none !important;
}

a:hover {
  text-decoration: none;
  color: white;
}
a {
  color: white;
}

.dropdown-content {
  border: 1px solid #ccc;
  max-width: 500px;
  height: auto;
  border-radius: 5px;
  padding: 5px;
  margin: 10px 0;
}

.dropdown-content ul {
  display: flex;
  list-style: none;
  justify-content: center;
  flex-direction: column;
  padding: 1rem;
  margin: 0;
  gap: 0.7rem;
}


.text-introduction {
  font-size: .9rem;
  font-style: italic;
}
/* ******** end General class ********** */

@media (min-width: 1900px) {
  .container {
    max-width: 1600px;
  }
}

.text-small {
  font-size: 10px;
}

.button {
  border: none;
  border-radius: 0;
  position: relative;
  z-index: 0;
  text-decoration: none;
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-family: "zizou-slab-regular" !important;
}

.button-primary .btn-content {
  background: #e50a17;
  padding: 0.8rem 1rem;
  color: #fff;
}

.button::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 3px;
  left: 3px;
  z-index: -1;
}

.button.button-primary::before {
  border: 1px solid #e50a17;
}

.button-secondary .btn-content {
  background: #fff;
  padding: 0.8rem 1rem;
  color: #e50a17;
  border: 1px solid #e50a17;
}

.button.button-secondary::before {
  border: 1px solid #e50a17;
}

.max-w-400 {
  max-width: 400px;
}

.row {
  margin: 0;
}

.hero {
  background: url(https://upc-cdn.b-cdn.net/web-institucional/nosotros/sostenibilidad-responsabilidad-social/img/hero_bg.png) no-repeat;
  background-size: cover;
  background-position: center;
  height: calc(100vh - 12rem);
  position: relative;
}

.hero .logo {
  position: absolute;
  top: 0;
  right: 0;
}

.hero .logo img {
  margin-top: 1rem;
  width: 8rem;
}

.container-3d {
  background: #054d19;
  color: #fff;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: calc(100% - (50px + 1rem));
  padding: 2rem;
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
}

.container-3d::before {
  content: "";
  width: 50px;
  height: 100%;
  background: #14a33d;
  position: absolute;
  top: 0;
  left: -50px;
  transform: skewY(-30deg) translateY(14px);
}

.container-3d h1 {
  font-family: "sgothic-bdcap";
}

.ranks {
  background: #054d19;
  color: #fff;
  position: relative;
}

.noticias-span {
  font-size: 14px;
}

.ranks .hexa-pattern {
  position: absolute;
  width: 100%;
  height: auto;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}

.ranks .rank-pattern {
  background: url(https://upc-cdn.b-cdn.net/web-institucional/nosotros/sostenibilidad-responsabilidad-social/img/Cuadricula.png);
  height: 72px;
  background-size: contain;
}

.solano-title-font {
  font-family: "sgothic-bdcap";
}

.main-heading {
  font-family: "sgothic-bdcap";
  position: relative;
}

.main-heading::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 4px;
  background: currentColor;
  left: -1rem;
}

.heading-primary::before {
  background: #14a33d;
}

.chip-group {
  gap: 0.5rem;
  flex-wrap: wrap;
}

.chip {
  list-style: none;
}

.chip label {
  list-style: none;
  background: #fff;
  border: 1px solid #e50a17;
  color: #000;
  font-family: "solano_gothic_mvb_stdBd";
  padding: 0.3rem 1rem;
  border-radius: 2rem;
  text-transform: uppercase;
  cursor: pointer;
}

.chip input:checked ~ label {
  background: #e50a17;
  color: #fff;
}

.unete-banner {
  background: #054d19;
  color: #fff;
  margin-top: 8rem;
}

.unete_banner_img {
  margin-top: -5rem;
}

.news-card a {
  color: #000;
}
.news-card img {
  width: 100%;
  height: 230px;
  border-bottom-right-radius: 2rem;
  -o-object-fit: cover;
  object-fit: cover;
}

.news-card .date {
  color: #e50a17;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.news-card .date .decoration {
  height: 1rem;
  width: 100px;
  border-left: 1px solid #e50a17;
  border-bottom: 1px solid #e50a17;
}

.section-description {
  background: #f2f2f2;
}

.section-description .main-img {
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  border-bottom-right-radius: 2rem;
  transition: all 0.2s ease-in-out;
}

.section-description .description-box {
  padding: 2rem;
}

.section-description .description-box h4 {
  font-size: 1.2rem;
  transition: all 0.2s ease-in-out;
}

.grid-auto-fill {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}
.title {
  font-family: "sgothic-bdcap";
  color: #054d19;
}

.link-know-more{
  padding: .4rem 0;
  margin: 0;
  display: block;
  text-decoration: underline;
}
.subtitle {
  font-family: "sgothic-bdcap";
}
.bg-gray {
  background: #f8f8f8;
}
.btn-tap-activity .close-tab-icon {
  display: block;
}
.btn-tap-activity .open-tab-icon {
  display: none;
}
.btn-tap-activity.active .close-tab-icon {
  display: none;
}
.btn-tap-activity.active .open-tab-icon {
  display: block;
}
.btn-tap-activity {
  text-align: left;
  font-size: 15px;
  font-family: "solano_gothic_mvb_stdBd";
  text-transform: uppercase;
}

.btn-tap-activity.active {
  color: #e50a17 !important;
}

.btn-tap-activity.active ~ .btn-tap-activity {
  order: 1;
}
.tab-content {
  margin-top: -2.5rem;
}

.btn-tap-activity.active .tag {
  display: none;
}

footer {
  background: #191919;
  color: #fff;
}
.list-style-none li {
  list-style: none;
  gap: 1rem;
}

.footer-links li a {
  color: #fff;
  font-family: "zizou-slab-bold";
  text-decoration: underline;
}

footer .logo-text-upc span:first-child {
  font-size: 1.5625rem;
}

footer .logo-text-upc span {
  font-family: "zizou-slab-regular";
  line-height: 1;
}

.acordeon-item {
  position: relative;
}
.acordeon-item.item-close {
  height: 150px;
  overflow: hidden;
  position: relative;
  border-radius: 0 0 2rem 2rem;
  cursor: pointer;
}

.acordeon-item .icon-arrow-close-svg {
  display: block;
}

.acordeon-item.item-close .icon-arrow-close-svg {
  display: none;
}

.acordeon-item.item-close .section-description {
  height: 100%;
}

.acordeon-item.item-close .description-box {
  position: absolute;
  width: 100%;
  bottom: 0;
  color: #fff;
  background: linear-gradient(
    360deg,
    rgba(0, 0, 0, 0.5) 44.65%,
    rgba(102, 102, 102, 0) 100%
  );
  padding: 1rem;
}

.acordeon-item.item-close img {
  width: 100%;
  height: 100%;
}

.acordeon-item.item-close h4 {
  font-size: 1rem;
}

.acordeon-item.item-close .description-box .description {
  display: none;
}

.acordeon-item.item-close .tabs-section {
  display: none;
}

.icon-arrow-open-svg {
  width: 30px !important;
  cursor: pointer;
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  height: auto !important;
  z-index: 1;
}

.icon-arrow-close-svg {
  width: 30px !important;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.activity-sections,
.description-activity-title h4 {
  color: #191919;
  font-family: "solano_gothic_mvb_stdBd";
  font-size: 25px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-top: 30px;
  text-transform: uppercase;
}

.description-activity-title h4,
.description-activity {
  color: #fff !important;
}

.description-activity {
  background: #054d19;
  display: inline-flex;
  flex-direction: row;
  padding: 20px 30px;
}

span.line-red {
  display: inline-block;
  width: 3px;
  height: 20px;
  background: #e50a17;
  margin-bottom: -2px;
}

.description-icons {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.description-icons img {
  width: 60px;
}

.unete-banner .list-social {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.unete-banner .list-social .item-social {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: baseline;
  align-items: center;
  padding: 0;
  margin: 0;
  color: white;
}

.unete-banner .list-social .item-social:hover {
  text-decoration: underline;
}

.unete-banner .item-social p {
  padding: 0;
  margin: 0;
}

.acordeon-item .icon-arrow-open-svg {
  display: none;
  pointer-events: none;
}
.acordeon-item.item-close .icon-arrow-open-svg {
  display: block;
}

@media (min-width: 768px) {
  .hero .logo img {
    margin-top: 1.4rem;
    width: 13rem;
  }
  .ranks .rank-pattern {
    background: url(https://upc-cdn.b-cdn.net/web-institucional/nosotros/sostenibilidad-responsabilidad-social/img/textura-hexagono.png);
    background-size: contain;
    height: initial;
  }

  .container-3d {
    left: 100px;
  }

  .section-description {
    display: flex;
  }

  .section-description img {
    width: 50%;
  }

  .btn-tap-activity.active {
    color: #e50a17 !important;
    position: static;
    top: 0;
    left: 0;
  }
  .tab-content {
    margin-top: 0;
  }
  .btn-tap-activity.active .tag {
    display: block;
    font-size: 12px;
  }
  .footer-links li a {
    text-wrap: nowrap;
    font-size: 0.8rem;
  }
  .acordeon {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: stretch;
  }

  .acordeon-item {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .acordeon-item.item-close {
    width: 284px;
    height: 474px;
    overflow: hidden;
    border-radius: 0 0 2rem 0;
  }

  .description-box h4 {
    padding-bottom: 1rem;
  }
  .icon-arrow-open-svg {
    bottom: 0.5rem;
    left: 1rem;
  }

  .acordeon-item .icon-arrow-open-svg {
    display: none !important;
    pointer-events: none;
  }
  .acordeon-item.item-close .icon-arrow-open-svg {
    display: block !important;
  }
}
.content-idioma a:hover{
  color: #737373;
}
.news-card .seccion-noticias-card {
  height: auto;
}
.news-card a.seccion-noticias-card-info-titulo-btn {
  color: #D50000;
}
.news-card img.seccion-noticias-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom-right-radius: initial
}
button.nav-link.tab-ejes.active {
  background: #F2F2F2 !important;
  color: #000;
}
button.nav-link.tab-ejes {
  background: #D9D9D9 !important;
  color: #000;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  padding: 16px;
  width: 100%;
}
button.nav-link.tab-proyectos.active {
  border-bottom: 4px solid #e50a17 !important;
  color: #e50a17;
}
button.nav-link.tab-proyectos {
  color: #000;
  padding: 16px;
  width: 100%;
}
button.nav-link.tab-ejes:focus, button.nav-link.tab-proyectos:focus {
  outline: none;
  border: none;
}
.tabs-ejes.nav-tabs {
  border-bottom: none;
  justify-content: space-between;
  align-items: flex-end;
}
.tabs-ejes.nav-tabs .nav-item {
  width: 24.5%;
}
.tabs-proyectos.nav-tabs {
  align-items: flex-end;
  border-bottom: 2px solid #dee2e6;
  margin-bottom: 15px;
}
.tabs-proyectos.nav-tabs .nav-item {
  width: 25%;
  margin-bottom: -2px;
}
#tabContentEjes, #tabContentProyectos {
  margin-top: 0;
}
.ico-estrella {
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 20px;
  height: 20px;
}
.text-overlay {
  top: 0;
  left: 0;
  width: 100%; 
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0; 
  transition: opacity 0.3s ease; 
  position: absolute; 
}
.position-relative:hover .text-overlay {
  opacity: 1; 
}
.text-overlay p {
  margin: 0;
  padding: 0;
}
.text-overlay.ods1 {
  background-color: #eb1c2dfc;
}
.text-overlay.ods2 {
  background-color: #d3a029fc;
}
.text-overlay.ods3 {
  background-color: #279b48fc;
}
.text-overlay.ods4 {
  background-color: #c31f33fc;
}
.text-overlay.ods5 {
  background-color: #ef402bfc;
}
.text-overlay.ods6 {
  background-color: #00aed9fc;
}
.text-overlay.ods7 {
  background-color: #fdb713fc;
}
.text-overlay.ods8 {
  background-color: #8f1838fc;
}
.text-overlay.ods9 {
  background-color: #f36d25fc;
}
.text-overlay.ods10 {
  background-color: #e11484fc;
}
.text-overlay.ods11 {
  background-color: #f99d26fc;
}
.text-overlay.ods12 {
  background-color: #cf8d2afc;
}
.text-overlay.ods13 {
  background-color: #48773efc;
}
.text-overlay.ods14 {
  background-color: #007dbc;
}
.text-overlay.ods15 {
  background-color: #3eb049fc;
}
.text-overlay.ods16 {
  background-color: #02558bfc;
}
.text-overlay.ods17 {
  background-color: #183668fc;
}
.section-proyectos.bg-darkgreen {
  background-color: #054E19;
}
.section-proyectos.bg-lightgreen {
  background-color: #15A33D;
}
.section-proyectos .img-uni-inter {
  width: 100%;
  height: 18rem;
  object-fit: cover;
}
.section-proyectos .w-md-64 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.section-proyectos .w-md-64 .section-btn a {
  /* position: absolute;
  right: 0;
  bottom: 0; */
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  float: right;
}
.section-proyectos .w-md-64 a:hover, .section-description a.btn-vermas:hover, .section-beca a.enlace:hover {
  text-decoration: underline;
}
.section-proyectos .w-md-64 a img.arrow-right {
  width: 8px;
  height: auto;
  margin-left: 8px;
}
.section-description a.btn-vermas, .section-beca a.enlace {
  color: #000;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
} 
.section-description a.btn-vermas img.arrow-right {
  width: 18px;
  height: auto;
  margin-left: 8px;
  margin-top: -2px;
}
@media (min-width: 768px) {
  .section-proyectos .w-md-36 {
    width: 36%;
  }
  .section-proyectos .w-md-64 {
    width: 64%;
  }
}
@media (max-width: 768px) {
  .tabs-ejes.nav-tabs .nav-item {
    width: 100%;
  }
  button.nav-link.tab-ejes {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .tabs-proyectos.nav-tabs {
    border-bottom: none;
  }
  .tabs-proyectos.nav-tabs .nav-item {
    width: 100%;
    border-bottom: 2px solid #dee2e6;
  } 
  button.nav-link.tab-proyectos.active {
    margin-bottom: -1px;
  }
}
a.url-result {
  color: #000;
}
a.url-result:hover {
  text-decoration: underline;
}
#tabContentEjes .section-description .description-box {
  padding: 1rem 2rem;
}
.button-primary .btn-content {
  background: #054E19;
}