  @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');

.anonymous-content {
  background-color: #000010;
  color: white;
  padding-top: 0px;
  padding-bottom: 5px;
}
.gallery-contanier {
  position: relative;
  width: 100%;
  min-height: 50px;
  background-color: transparent;
  margin: auto;
  display: table;
}
.gallery-element {
  width: 50%;
  background-color:transparent;
  float: left;
  padding: 3px;
  position: relative;
}
.gallery-element img{
  width: 100%;
  border-radius: 5px;
}
.gallery-element i{
  position: absolute;
  top: 11px;
  right: 11px;
  font-size: 10px;
}
.gallery-element-title {
  position: absolute;
  bottom: 7px;
  left: 3px;
  background-color: #000010;
  opacity: 86%;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 18px;
  padding-right: 10px;
  font-size: 12px;
  color: white;
  width: 90%;
  border-radius: 3px;
  font-weight: 500;
  line-height: 16px;
}

.course-promo-banner {
  width: 100% !important;
  border: 1px solid white !important;
  padding: 0px !important;
  border-radius: 10px;
  background-color: #20202a !important;
  margin-bottom: 30px;
}
.course-promo-banner div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 79px;
}
.course-promo-banner span {
  font-family: 'Open Sans', sans-serif;
  padding: 0 15px;
}
.promo-banner-uppermost-text {
  color: #e39b0f;
  font-size: 16px;
  font-weight: bold;
}
.promo-banner-mid-text {
  color: white;
  font-size: 11px;
  opacity: 0.8;
}
.promo-banner-bottommost-text {
  color: white;
  font-size: 25px;
  font-weight: bold;
}
.course-element-availability {
  font-size: 10px;
  font-weight: bold;
  margin-bottom: 3px;
}
.cea-high {
  color: #27c43b;
}
.cea-mid {
  color: #f29a04;
}
.cea-low {
  color: #f23b47;
}
.gallery-element-title span {
  font-family: 'Open Sans', sans-serif;
  display: block;
}
.course-element-title {
  font-size: 20px;
  font-weight: 900;
}
.course-element-date {
  font-weight: 600;
  margin-bottom: 3px;
}
.course-element-type {
  font-weight: bold;
  font-size: 12px;
  color: #0f0f1a;
  width: fit-content;
  padding: 1px;
  line-height: 12px;
}
.cet-online {
  background-color: #00add9;
}
.cet-streaming {
  background-color: #afcefe;
}
.cet-presencial {
  background-color: #f29a04;
}

.no-available-alert{
  display: none;
  position: fixed;
  z-index: 9999;
  left: 48%;
  top: 20%;
  transform: translate(-50%, -50%);
  width: 300px;
  padding: 10px;
  background-color: #20202a;
  color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  border: 1px solid white;
}

.no-available-alert p{
  color: white;
  margin: 0;
  text-align: center;
  padding: 5px;
}

.no-available-alert .cerrar{
  display: block;
  position: absolute;
  top: 5px;
  right: 5px;
  color: rgb(255, 255, 255);
  font-size: 25px;
  cursor: pointer;
}

.no-available-alert .cerrar:hover{
  color: #dadada;
}

#fondoSombra {
  display: none;
  position: fixed;
  z-index: 9998;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.551);
}

/*
 * Desktop changes
 */

@media screen and (min-width: 400px) {
  .gallery-contanier {
    position: relative;
    width: 100%;
    max-width: 975px; 
    min-height: 50px;
    background-color: transparent;
    margin: auto;
    display: table;;
  }
  .gallery-element {
    width: 33.3%;
    background-color:transparent;
    float: left;
    padding: 2px;
    position: relative;
  }
  .gallery-element-title {
    position: absolute;
    bottom: 15px;
    left: 2px;
    background-color: #000010;
    opacity: 85%;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 27px;
    padding-right: 20px;
    font-size: 14px;
    font-family: 'open sans', sans-serif;
    width: 87%;
    line-height: 20px;

  }
  .gallery-element-title.get-course {
    padding-left: 20px;
    border-radius: 0px;
  }
  .gallery-element img{
    width: 100%;
    border-radius: 5px;
    opacity: 94%;
  }
  .gallery-element img:hover{
    width: 100%;
    border-radius: 5px;
    opacity: 100%;
  }
  .course-promo-banner img {
    width: 200px;
    display: block;
    border-radius: 0px;
    margin: 0 0 0 auto;
    opacity: 100%;
  }
  .course-promo-banner img:hover {
    width: 200px;
    border-radius: 0px;
  }

  @media screen and (max-width: 600px) {
    .gallery-element.get-course {
      width: 50%;
    }
    .gallery-element-title.get-course {
      max-height: 160px;
    }
  } 
}