.clearfix:after {
  content: '';
  clear: both;
  display: block;
  height: 0;
  width: 0;
}




/** ---------------------------------------
 * Slider 
 ----------------------------------------*/
html {
  scroll-behavior: smooth;
}

.container-slide {
  max-width: 900px;
  margin: 0 auto;
}

.slider-wrapper {
  z-index: 500;
  position: relative;
  width: 100%;
  height: 360px;
  background: #FFF;
  border: 5px solid #4b5973;
  overflow: hidden;
  height: 400px;
}

.container-slide .slider-wrapper ul {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
}

.slider-wrapper li {
  display: none;
  margin: 0px;
  padding: 0px;
}

.slider-wrapper .current-slide {
  display: block;
}

.slider-shadow {
  width: 100%;
  height: 10px;
  position: relative;
}

.slider-shadow:after,
.slider-shadow:before {
  content: '';
  position: absolute;
  background: #171c24;
  height: 100%;
  width: 50%;
  left: 10px;
  top: -20px;
  -webkit-transform: rotate(-4deg);
  -ms-transform: rotate(-4deg);
  -o-transform: rotate(-4deg);
  transform: rotate(-4deg);
  -webkit-box-shadow: 0 0 15px 8px #171c24;
  box-shadow: 0 0 15px 8px #171c24;
}

.slider-shadow:before {
  right: 5px;
  left: auto;
  -webkit-transform: rotate(4deg);
  -ms-transform: rotate(4deg);
  -o-transform: rotate(4deg);
  transform: rotate(4deg);
}

.slider-wrapper img {
  position: absolute;
  max-width: 100%;
  height: auto;
  top: 0;
  left: 0;
}



/**
 * ---[Botones-Control] ---------------------- 
 **/
.control-buttons {
  margin-top: -10px;
  text-align: center;
}

.control-buttons li {
  cursor: pointer;
  display: inline-block;
  background: #424f66;
  text-indent: -99999px;
  height: 12px;
  width: 12px;
  margin: 0 6px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

.control-buttons li.active {
  background: #00c5b9;
}

/*---------------------- КАРУСЕЛЬ----------------------------------- */
/* .owl-carousel {
  max-width: 1400px;
  margin: 30px auto;
} */

.owl-carousel__text {
  width: 60%;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  margin: 20px auto;
  /* border: 2px solid; */
  padding: 10px;
  border-radius: 10px;
  color: #81cdef;
  background-color: white;
  box-shadow: 0 4px 6px 0 #dedede;
}


/** ---------------------------------------
 * Responsive 
 ----------------------------------------*/
@media only screen and (max-width: 960px) {
  .container-slide {
    margin: 0 auto;
  }

  .tm-sidebar-a {
    margin-top: 25px;
  }
}

@media only screen and (max-width: 1025px) {
  .container-slide {
    width: 90%;
  }

  .slider-wrapper {
    height: 360px;

  }
}

@media only screen and (max-width: 900px) {
  .slider-wrapper {
    height: 315px;
  }
}

@media only screen and (max-width: 800px) {
  .slider-wrapper {
    height: 275px;
  }
}

@media only screen and (max-width: 700px) {
  .slider-wrapper {
    height: 240px;
  }
}

@media only screen and (max-width: 600px) {
  .slider-wrapper {
    height: 210px;
  }
}

@media only screen and (max-width: 535px) {
  .slider-wrapper {
    height: 180px;
  }

  .slider-wrapper .caption {
    display: none;
  }

}

@media only screen and (max-width: 450px) {
  .slider-wrapper {
    height: 150px;
  }

}

@media only screen and (max-width: 400px) {
  .slider-wrapper {
    height: 130px;
  }

}

#up {
  position: absolute;
  top: 0px;
}