.yra-evento-top {
  margin-top: 70px;
  background-image: url("/bundles/frontend/img/yra/header_evento.jpg");
  height: 200px;
  background-repeat: no-repeat;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.yra-evento-bottom {
  background-color: #001e7e;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  text-align: center;
  width: 100%;
  padding: 3rem;
}

.yra-evento-bottom h3 {
  font-size: 24px;
  color: white;
  text-transform: uppercase;
  font-family: "Estricta Regular", sans-serif;
}

.yra-evento-bottom ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  width: 70%;
  margin: auto;
  padding: 3rem 0rem;
}

.yra-evento-bottom ul li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: start;
}

.yra-evento-bottom ul li div {
  display: flex;
  justify-content: start;
  flex-direction: column;
}

.yra-evento-bottom ul li p {
  font-size: 15px;
  color: white;
  font-family: "Estricta Regular", sans-serif;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
  text-transform: uppercase;
}

.yra-evento-bottom h4 {
  font-size: 24px;
  color: white;
  text-transform: uppercase;
  font-family: "Estricta Bold", sans-serif;
  text-align: left;
  margin: 0;
}

.yra-evento-bottom a {
  font-size: 16px;
  color: white;
  text-transform: uppercase;
  font-family: "Estricta Regular", sans-serif;
  text-align: left;
}

.yra-evento-bottom p {
  font-size: 22px;
  color: white;
  font-family: "Estricta Regular", sans-serif;
  margin: auto;
  width: 70%;
  padding: 1rem 0rem;
}

.yra-evento-form {
  background-color: #001e7e;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  text-align: center;
  width: 100%;
  padding: 3rem;
}

.yra-evento-form-title {
  padding: 2rem 0rem;
}

.yra-evento-form h3 {
  font-size: 24px;
  color: white;
  text-transform: uppercase;
  font-family: "Estricta Regular", sans-serif;
}

.form-check {
  display: flex;
  font-size: 12px;
  margin: 0 20px;
  padding: 0px 20px;
}

.form-check-label {
  margin-left: 10px;
}

.banner-yra-evento-bottom h3 {
  font-size: 26px;
  color: white;
  text-transform: uppercase;
  font-family: "Estricta Regular", sans-serif;
}

.encabezado-yra-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1280px;
  margin: auto;
}

.encabezado-yra-content-wrapper {
  margin-top: 40px;
}

.banner-yra {
  margin: 70px auto;
  background-image: url("/bundles/frontend/img/yra/fondo_banner_evento.jpg");
  height: 250px;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}

.banner-yra-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
  width: 100%;
  margin: auto;
}

.banner-yra-content h2 {
  font-size: 50px;
  color: white;
  text-transform: uppercase;
  font-family: "Estricta Black", sans-serif;
}

.banner-bottom {
  margin: 0px auto 20px auto !important;
  display: flex;
  flex-direction: column;
}

.banner-bottom h3 {
  font-size: 30px;
  color: white;
  text-transform: uppercase;
  font-family: "Estricta Regular", sans-serif;
}

.banner-yra-content h3 {
  font-size: 30px;
  color: white;
  text-transform: uppercase;
  font-family: "Estricta Regular", sans-serif;
}

.titulo-encabezado-yra {
  font-size: 50px;
  color: white;
  text-transform: uppercase;
  font-family: "Estricta Black", sans-serif;
  margin-bottom: 30px;
}

.yra-evento-motos .descripcion-yra {
  align-items: start;
}

.descripcion-yra {
  padding: 50px 0px 50px 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Estricta Regular", sans-serif;
}

/* 
.descripcion-yra h2 {
    font-family: "Estricta Black", sans-serif;
    text-transform: uppercase;
    color: #001e7e;
    font-size: 3rem;
    text-align: center;
    padding-bottom: 20px;
} */

.descripcion-yra h3 {
  font-family: "Estricta Medium", sans-serif;
  text-transform: uppercase;
  color: #545454;
  font-size: 1.5rem;
  padding-bottom: 20px;
}

.descripcion-yra h4 {
  font-family: "Estricta Black", sans-serif;
  text-transform: uppercase;
  color: #001e7e;
  font-size: 3rem;
  text-align: center;
  padding-bottom: 20px;
}

.descripcion-yra p {
  font-family: "Estricta Regular", sans-serif;
  color: #545454;
  font-size: 1.2rem;
  padding: 0px 80px;
  text-align: center;
}

.descripcion-yra h4 {
  font-size: 1.6rem;
}

.banner-yra-content h3 {
  font-size: 1.5rem;
}

.banner-yra-content h2 {
  font-size: 2rem;
  text-align: center;
}

.video-yra {
  padding: 50px 0px;
}

.video-yra iframe {
  width: 100%;
  height: 1000px;
  max-width: 100%;
  border: none;
}

#videoContainer {
  padding: 50px 0px;
}

#videoContainer iframe {
  width: 100%;
  height: 600px;
  max-width: 100%;
  border: none;
}

@media screen and (max-width: 768px) {
  .encabezado-yra {
    height: 101px;
    background-image: url("../../img/yra/m_header.jpg");
  }

  .encabezado-yra-content {
    padding: 0px 20px;
  }

  .encabezado-yra-content-wrapper {
    margin-top: 0px;
  }

  .encabezado-yra-content img {
    width: 100px;
  }

  .titulo-encabezado-yra {
    font-size: 17px;
    margin-bottom: 0px;
  }

  .button-link-banner {
    font-size: 12px;
  }

  .descripcion-yra {
    padding: 20px 0px;
    align-items: center;
  }

  .descripcion-yra h2 {
    font-size: 1.6rem;
  }

  .descripcion-yra h3 {
    font-size: 1rem;
  }

  .descripcion-yra p {
    font-size: 1rem;
    padding: 0px 20px;
  }

  .video-yra iframe {
    height: 250px;
  }

  #videoContainer iframe {
    height: 250px;
  }

  .tabsvideos .nav {
    gap: 10px;
  }

  .tabsvideos .content-tabvideo {
    font-size: 1.2rem !important;
  }

  .yra-evento-top {
    margin-top: 20px;
    height: auto;
    flex-direction: row;
    padding: 20px;
  }

  .yra-evento-form-title {
    padding: 1rem 0rem;
  }

  .yra-evento-top h2 {
    font-size: 20px;
  }

  .yra-evento-bottom p {
    padding: 0.5rem 0;
  }

  .banner-bottom {
    height: 200px !important;
    flex-direction: column;
  }

  .banner-bottom h2 {
    font-size: 1.5rem;
    color: white;
    padding: 8px 0px;
    text-transform: uppercase;
    font-family: "Estricta Black", sans-serif;
  }

  .banner-bottom h3 {
    font-size: 1rem;
    color: white;
    text-transform: uppercase;
    font-family: "Estricta Regular", sans-serif;
  }

  .yra-evento-form input,
  .yra-evento-form select {
    margin: 3px 0px;
  }

  .yra-evento-form h2 {
    font-size: 2rem;
  }

  .form-check {
    margin: 0px;
    padding: 0px;
  }

  .form-check-label {
    margin-left: 2px;
  }

  .yra-evento-top img {
    width: 80px;
  }

  .yra-evento-bottom {
    padding: 20px;
  }

  .yra-evento-bottom h3 {
    font-size: 1rem;
  }

  .yra-evento-bottom h2 {
    font-size: 2rem;
  }

  .yra-evento-bottom p {
    font-size: 1rem;
    width: 90%;
  }

  .yra-evento-bottom ul {
    grid-template-columns: 1fr;
    width: 90%;
  }

  .yra-evento-bottom h4 {
    font-size: 18px;
  }
}

/* Servicios yra */

.serviciosSectionYra {
  padding: 50px 0px 50px 0px;
  visibility: hidden;
}

.serviciosYra {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 500px;
  grid-gap: 2rem;
}

.serviciosYra .item {
  color: white;
  width: 100%;
  height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 0px;
  position: relative;
  overflow: hidden;
}

.serviciosYra .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.serviciosYra .item:hover img {
  transform: scale(1.1);
}

.serviciosYra .item-content {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 20px;
  color: white;
  font-family: "Estricta", sans-serif;
  width: 100%;
  z-index: 99;
}

.serviciosYra h2 {
  text-align: left;
  color: white;
  font-family: "Estricta Black", sans-serif;
  text-transform: uppercase;
  font-size: 2rem;
  line-height: 2rem;
  padding: 0px 20px;
}

.serviciosYra a {
  text-align: right;
  background-color: transparent;
  color: white;
  font-family: "Estricta Black", sans-serif;
  text-transform: uppercase;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  z-index: 99;
  text-decoration: none;
  transition: all 0.5s ease;
}

.serviciosYra .item:hover img {
  transform: scale(1.1);
}

.tabsvideos {
  width: 100%;
  margin: auto;
}

.tabsvideos .nav {
  display: flex;
  justify-content: center;
  gap: 50px;
  border: none;
  padding-bottom: 4rem;
}

.tabspages .nav {
  margin-top: 5px;
  display: flex;
  width: 90%;
  margin: auto;
  color: #001e7e;
  font-family: "Estricta Bold", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  justify-content: space-around;
}

.tabspages .nav-link.active,
.tabspages .nav-link:focus,
.tabspages .nav-link.show {
  color: #001e7e;
  border: none;
  border-bottom: 4px solid #001e7e;
}

.tabspages button {
  display: block;
  padding: 0.5rem;
  border-bottom: 1px solid #ddd;
  text-decoration: none;
  color: #545454;
}

/* .tabsvideos .leccion {
    font-weight: bold;
} */

.tabsvideos .nav-videos-yra a {
  display: block;
  padding: 0.5rem;
  border-bottom: 1px solid #ddd;
  text-decoration: none;
  color: #000;
}

.tabsvideos .content-tabvideo {
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  width: 80%;
  margin: auto;
  color: #001e7e;
  font-family: "Estricta Bold", sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
}

.tabsvideos .content-tabvideo span {
  font-family: "Estricta Regular", sans-serif;
  color: #545454;
  font-size: 1.5rem;
}

.tabsvideos iframe {
  width: 80%;
  height: 600px;
  margin: auto;
  display: flex;
}

.tabsvideos .nav-link {
  font-family: "Estricta Bold", sans-serif;
  color: #545454;
  transition: all 0.3s ease;
  width: 300px;
  padding: 10px 50px;
  font-size: 1.5rem;
  cursor: pointer;
  border: none;
  border-bottom: 4px solid #888;
}

.tabsvideos .nav-link.active,
.tabsvideos .nav-link:focus,
.tabsvideos .nav-link.show {
  color: #001e7e;
  border: none;
  border-bottom: 4px solid #001e7e;
}

.tabsvideos .nav-link:not(.active):hover {
  color: #001e7e !important;
}

.tabsvideos .nav-link:hover {
  color: #001e7e !important;
}

#lessonSelector {
  width: 600px;
  margin: auto;
  background-color: #f3f3f3;
}

.serviciosSectionYra {
  padding: 50px 0px 50px 0px;
  visibility: visible;
}

@media screen and (max-width: 768px) {
  .serviciosSectionYra {
    padding: 20px 0px;
  }

  .serviciosYra {
    grid-template-columns: 1fr;
    padding: 20px;
    min-height: 700px;
    grid-gap: 1rem;
  }

  .serviciosYra .item {
    height: 180px;
    width: 100%;
  }

  .serviciosYra .item-content {
    padding: 10px;
  }

  .serviciosYra h2 {
    padding: 0px;
  }

  .serviciosYra a {
    font-size: 1rem;
  }

  .yra-evento-motos .descripcion-yra {
    align-items: center;
  }

  .encabezado-yra-content-wrapper .button-link-banner {
    display: none;
  }
}
