:root {
  --dark: #404040;
  --blue: #0078e7;
  --dark-blue: #085da4;
  --light-blue: #ddeffb;
  --dark-green-hv: #00867d;
  --dark-green: #00a99d;
  --lime: #9fd32f;
  --light-lime: #d0f188;
  --red: #e8385f;
  --light: #fcfff4;
}

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

body {
  font-family: "Montserrat", sans-serif;
  color: var(--dark) !important;
  font-weight: 500;
}

.text--dark {
  color: var(--dark);
}
.text-blue {
  color: var(--blue);
}
.text-dark-blue {
  color: var(--dark-blue);
}
.text-light-blue {
  color: var(--light-blue);
}
.text-dark-green {
  color: var(--dark-green);
}
.text-lime {
  color: var(--lime);
}
.text-light-lime {
  color: var(--light-lime);
}
.text-red {
  color: var(--red);
}
.text-light {
  color: var(--light);
}

.btn-dark-green,
.btn-dark-green:hover {
  color: #fff;
}
.btn-dark-green {
  background-color: var(--dark-green);
}
.btn-dark-green:hover {
  background-color: var(--dark-green-hv);
}

.btn-link-hv-green:hover {
  color: var(--dark-green) !important;
}

.icon-32 {
  width: 32px;
  height: 32px;
}

.section-title {
  font-weight: 700;
  font-size: 52px;
  line-height: 1;
  letter-spacing: 1%;
}

p {
  font-size: 20px;
}

.language-switch a {
  color: var(--dark);
}
.language-switch a.active {
  color: var(--dark-green);
  font-weight: 700;
}

/* font-sizes */
.fs-9 {
  font-size: 9px;
}
.fs-10 {
  font-size: 10px;
}
.fs-12 {
  font-size: 12px;
}
.fs-16 {
  font-size: 16px;
}
.fs-20 {
  font-size: 20px;
}
.fs-24 {
  font-size: 24px;
}
.fs-32 {
  font-size: 32px;
}

/* section */
.container-fluid.main {
  background: url(/assets/images/bg-main.jpg) no-repeat center center fixed;
  background-size: cover;
}
.barra-grafica-rapanui {
  width: 100% !important;
}
.logo-minterior-dppip {
  width: 178px;
}
.logo-minterior-dppip-white {
  width: 269px;
}

.container-fluid.section {
  display: flex;
}

.container-fluid.faq {
  background: url(/assets/images/bg-preguntas-frecuentes.jpg) no-repeat center
    center;
  background-size: cover;
}
.container-fluid.faq .card {
  background: none;
  padding: 0;
  margin: 0 0 1.5em 0;
  border: none !important;
  border-radius: 0 !important;
}
.container-fluid.faq .card .card-header {
  background-color: #fff;
  padding: 1em;
  margin: 0;
}
.container-fluid.faq .card .card-body {
  background-color: rgba(255, 255, 255, 0.5) !important;
  padding: 1.5em;
  margin: 0;
}

.container-fluid.estatuto-especial {
  background-color: var(--light);
}
.container-fluid.estatuto-especial h6 {
  color: var(--dark-green);
  font-weight: 700;
  font-size: 24px;
}

.container-fluid.etapas-convocatoria {
  background-color: var(--light-blue);
}
.container-fluid.etapas-convocatoria article {
  padding: 2.5em 3em;
}
.container-fluid.etapas-convocatoria article.border-line:not(:last-child) {
  border-bottom: 1px solid #a2a2a2;
}
.container-fluid.etapas-convocatoria article h6 {
  font-size: 22px;
  font-weight: bold;
}
.container-fluid.etapas-convocatoria article h5 {
  font-size: 40px;
  font-weight: bold;
}
.container-fluid.etapas-convocatoria article .icon {
  width: 150px;
  height: 150px;
}

.container-fluid.personas {
  background-color: var(--light);
}
.container-fluid.galeria {
  background-color: var(--light-blue);
}
.container-fluid.footer {
  background-color: var(--dark-blue);
}
.container-fluid.footer .icon {
  width: 32px;
  height: 32px;
  margin: 4px;
}

.bg-dark {
  background-color: var(--dark) !important;
}
.bg-blue {
  background-color: var(--blue) !important;
}
.bg-dark-blue {
  background-color: var(--dark-blue) !important;
}
.bg-light-blue {
  background-color: var(--light-blue) !important;
}
.bg-dark-green-hv {
  background-color: var(--dark-green-hv) !important;
}
.bg-dark-green {
  background-color: var(--dark-green) !important;
}
.bg-lime {
  background-color: var(--lime) !important;
}
.bg-light-lime {
  background-color: var(--light-lime) !important;
}
.bg-red {
  background-color: var(--red) !important;
}
.bg-light {
  background-color: var(--light) !important;
}

.bg-icon-header {
  background: url(/assets/images/bg-icon-header.svg) no-repeat right bottom;
  background-size: 140px;
}

@media (max-width: 1399px) {
  .fechas-header-part {
    display: flex !important;
    align-content: center !important;
    flex-wrap: wrap !important;
    align-items: center !important;
  }
  .fechas-header-part span,
  .fechas-header-part p {
    text-align: center !important;
    width: 100% !important;
  }
  img.barra-grafica-rapanui {
    width: 100% !important;
  }
}

@media (max-width: 992px) {
  .section-title {
    font-size: 36px;
  }
  .barra-grafica-rapanui {
    width: 100% !important;
    height: auto;
  }
  .logo-minterior-dppip,
  .logo-minterior-dppip-white {
    width: 100px;
  }
  .container-fluid.section.main .text-center {
    text-align: start !important;
  }
  .container-fluid.section.main .btn {
    float: none !important;
    display: block;
    width: 100%;
    margin-top: 1rem;
  }
  .person-box {
    width: 100%;
    align-items: flex-start !important;
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 2rem;
  }
  .person-box .person-image {
    width: 100% !important;
    order: -1 !important;
  }
  .person-box .person-text {
    width: 100% !important;
    text-align: center !important;
    padding: 1.5em;
  }
}

@media (max-width: 768px) {
  .etapa {
    position: relative;
  }
  .descargable-mobile-bottom {
    top: auto !important;
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100%;
    padding: 1rem !important;
    background: transparent;
    z-index: 10;
    display: flex;
    justify-content: flex-end;
  }
  .descargable-mobile-bottom .btn {
    width: 100%;
  }

  .descargable-mobile-bottom .btn span {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 28px;
  }

  .fs-24 {
    font-size: 18px;
  }

  .fs-32 {
    font-size: 22px;
  }

  .container-fluid.section.personas article {
    flex-direction: column;
    text-align: center;
  }

  .container-fluid.section.personas article .text-start,
  .container-fluid.section.personas article .text-end {
    text-align: center !important;
  }

  .container-fluid.footer .navbar {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .container-fluid.etapas-convocatoria article {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .container-fluid.etapas-convocatoria article .icon {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
  }

  .logo-header-section {
    text-align: center !important;
  }

  .logo-minterior-dppip {
    width: 75%;
    margin: 0 auto;
  }

  .image-box {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid #404040;
    margin: 0 auto;
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .image-box img {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
  }

  .section.footer .logo-section,
  .section.footer .menu-section {
    display: block !important;
  }

  .section.footer .menu-section .position-absolute {
    position: relative !important;
  }

  .section.footer .menu-section .navbar {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  .section.footer .menu-section .logo-section .logo-section-content {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: space-around;
    justify-content: center;
    align-items: center;
  }

  .section.footer .menu-section .logo-section .rrss,
  .section.footer .menu-section .logo-section .logo-white {
    margin: 0 auto;
  }

  .section.footer .menu-section .logo-section .logo-white {
    text-align: center !important;
  }

  .section.footer .menu-section .logo-section .logo-minterior-dppip-white {
    width: 80% !important;
  }

  .person-box .person-text {
    width: 100% !important;
    text-align: center !important;
    padding: 1.5em;
  }

  .section-title {
    font-size: 28px;
  }

  .fs-24 {
    font-size: 18px;
  }

  .fs-32 {
    font-size: 22px;
  }

  .container-fluid.section.personas article {
    flex-direction: column;
    text-align: center;
  }

  .container-fluid.section.personas article .text-start,
  .container-fluid.section.personas article .text-end {
    text-align: center !important;
  }

  .container-fluid.footer .navbar {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .container-fluid.etapas-convocatoria article {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .container-fluid.etapas-convocatoria article .icon {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
  }

  .logo-header-section {
    text-align: center !important;
  }

  .logo-minterior-dppip {
    width: 75%;
    margin: 0 auto;
  }

  .image-box {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid #404040;
    margin: 0 auto;
    width: 100%;
    height: auto;
    max-width: 100%;
    overflow: hidden;
  }

  .image-box img {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
  }

  .section.footer .logo-section {
    display: block !important;
  }
  .section.footer .menu-section {
    display: block !important;
  }

  .section.footer .menu-section .position-absolute {
    position: relative !important;
  }

  .section.footer .menu-section .navbar {
    display: flex !important;

    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  .section.footer .menu-section .navbar {
    display: flex !important;

    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  .section.footer .menu-section .logo-section .logo-section-content {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: space-around;
    justify-content: center;
    align-items: center;
  }

  .section.footer .menu-section .logo-section .rrss,
  .section.footer .menu-section .logo-section .logo-white {
    margin: 0 auto;
  }
  .section.footer .menu-section .logo-section .logo-white {
    text-align: center !important;
  }
  .section.footer .menu-section .logo-section .logo-minterior-dppip-white {
    width: 80% !important;
  }

  .descargable .text {
    display: none !important;
  }

  .bg-icon-header {
    background-size: 90px;
  }

  .items-content-center-mobile {
    display: block !important;
    width: 100%;
    text-align: center;
    margin-bottom: 1.5em !important;
  }

  .items-content-center-mobile .item {
    text-align: center;
  }
}
