#section .caja-cursos {
  width: 100%;
}

#section .caja-cursos .title-cursos {
  font-size: 1.7rem;
  font-weight: 400;
  margin-top: 3px;
  margin-bottom: 1px;
  //background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 0 15px 45px;
  border-radius: 5px 5px 0 0;
  background: #ff0000;
  background: -webkit-linear-gradient(to right, #ff0000, #930000);
  background: linear-gradient(to right, #ff0000, #930000);
  filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.3));
}

.main-carousel .contenido-cuadrado {
  position: absolute;
  text-align: center;
  width: 100%;
  height: 210px;
  padding-right: 30px;
  padding-left: 30px;
  padding-top: 0;
  top: -100%;
  color: #fff;
  font-weight: 400;
  transition: all 0.3s ease;
  background-color: rgba(0, 0, 0, 0.9);
}

.main-carousel .contenido-cuadrado:hover {
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  padding-top: 20%;
}

.main-carousel .contenido-cuadrado {
  top: 0;
  transform: translateY(0);
  opacity: 0;
}

.main-carousel .contenido-cuadrado .name-curso {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0;
}

.main-carousel .contenido-cuadrado .ver-mas {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 400;
  margin-bottom: 0;
  background-color: #ff141d;
  width: 100px;
  margin-top: 7px;
  transition: all 0.3s ease;
}

.main-carousel .contenido-cuadrado .ver-mas:hover {
  background-color: #949494;
}












/*----------------------------------new-----------------------------------*/
.main-carousel {
  //margin-bottom: 40px;
}

.main-carousel img {
  opacity: 1;
  transition: all .5s ease;
  transform: scale(0.97);
}

.main-carousel img:hover {
  opacity: 0.2;
  transform: scale(1.025);
  //filter: blur(3px);
}

.main-carousel .lickity-prev-next-button.previous {
  left: 0;
}

///--------------------------------------------------------//


.main-carousel .button:hover {
  background: #fff;
  cursor: pointer
}

.main-carousel .button:focus {
  outline: 0;
  box-shadow: 0 0 0 5px #19f
}

.main-carousel .flickity-button:active {
  opacity: .6
}

.main-carousel .button:disabled {
  opacity: .3;
  cursor: auto;
  pointer-events: none
}

.main-carousel .button-icon {
  fill: currentColor
}

.main-carousel .prev-next-button {
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 0;
  transform: translateY(-50%)
}

.main-carousel .prev-next-button.previous {
  left: 0;
}

.main-carousel .prev-next-button.next {
  right: 0;
}

.main-carousel .flickity-prev-next-button.previous {
  //left: auto;
  left: 0;
  margin-top: -5px;
  border-radius: 0;
  height: 210px;
  width: 45px;
  color: #fff;
  background-color: rgba(0, 0, 0, .7);
}

.main-carousel .flickity-prev-next-button.next {
  right: 0;
  //left: 98%;
  margin-top: -5px;
  border-radius: 0;
  height: 210px;
  width: 45px;
  color: #fff;
  background-color: rgba(0, 0, 0, .7);
}

.main-carousel .flickity-prev-next-button .flickity-button-icon {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

.main-carousel .flickity-page-dots {
  display: none;
  position: absolute;
  width: 100%;
  bottom: -15px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.main-carousel .flickity-rtl .flickity-page-dots {
  direction: rtl;
}

.main-carousel .flickity-page-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 8px;
  background: #333;
  border-radius: 50%;
  opacity: .25;
  cursor: pointer;
}

.main-carousel .flickity-page-dots .dot.is-selected {
  opacity: .50;
}
