/* INSTAGRAM */ 
.blog-slider {
  width: 100%;
  height: 100%;
  position: relative;
  transition: all 0.3s;
}
.blog-slider__item {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .blog-slider__item {
    flex-direction: column;
  }
}
.blog-slider__item.swiper-slide-active .blog-slider__img img {
  opacity: 1;
  transition-delay: 0.3s;
}
.blog-slider__img {
  width: 100%;
  flex-shrink: 0;
  height: 100%;
  overflow: hidden;
  /* background-image: linear-gradient(147deg, #fe8a39 0%, #fd3838 74%); */
}
.blog-slider__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  border-radius: 20px;
  transition: all 0.3s;
}


@media screen and (max-height: 500px) and (min-width: 992px) {
  .blog-slider__img {
    height: 270px;
  }
}
.blog-slider .swiper-container-horizontal > .swiper-pagination-bullets,
.blog-slider .swiper-pagination-custom,
.blog-slider .swiper-pagination-fraction {
  bottom: 10px;
  left: 0;
  width: 100%;
}
.blog-slider__pagination {
  position: absolute;
  z-index: 21;
  right: 15px;
  width: 11px !important;
  text-align: center;
  left: auto !important;
  top: 50%;
  bottom: auto !important;
  transform: translateY(-50%);
}
@media screen and (max-width: 768px) {
  .blog-slider__pagination {
    transform: translateX(-50%);
    left: 50% !important;
    top: 94%;
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
.blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 8px 0;
}
@media screen and (max-width: 768px) {
  .blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 5px;
  }
}
.blog-slider__pagination .swiper-pagination-bullet {
  width: 11px;
  height: 11px;
  display: block;
  border-radius: 10px;
  background: #ddd;
  opacity: 0.8;
  transition: all 0.3s;
}
.blog-slider__pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: #0f172a;
  height: 30px;
  box-shadow: 0px 0px 20px rgba(252, 56, 56, 0.3);
}
@media screen and (max-width: 768px) {
  .blog-slider__pagination .swiper-pagination-bullet-active {
    height: 11px;
    width: 30px;
  }
}
.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin-top: 8px !important;
}
/* TOGGLE BUTTON */
.toggle{
  position: relative;
  height: 50px;
  width: 120px;
  border-radius: 30px;
  background-color: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  margin: 0 auto;
}
.toggle::before{
  content:"";
  position: absolute;
  width: 30px;
  height: 30px; 
  background: #4070f4;
  rotate: 0deg;
  top: 0;
  left: 16px;
  border-radius: 3%;
  margin-top: 10px;
  transition: all .8s cubic-bezier(0.37, 0.31, 0.2, 0.85);
}
.toggle.active::before{
  left: calc(100% - 30px - 14px);
  width: 30px;
  height: 30px;
  margin-top: 10px;
  rotate: 90deg;
  transform-origin:center;
  border-radius: 50% 100% 50% 100% / 0 100% 0 100%;
  background: #222;
}
.sun{
    position: absolute;
    z-index: 2;
    width: 24px;
    height: 24px;
    /* background: url(../img/ICO-square-select.png); */
    top: 10px;
    left: 13px;
    background-repeat: no-repeat;
    transition: all .3s ease;
}
body.dark .sun{
    position: absolute;
    z-index: 2;
    width: 24px;
    height: 24px;
    /* background: url(../img/ICO-square-unselect.png); */
    top: 10px;
    left: 13px;
    background-repeat: no-repeat;
}
body.dark .moon{
  position: absolute;
  z-index: 2;
  width: 23px;
  height: 23px;
  /* background: url(../img/ICO-square-select.png); */
  top: 9px;
  right: 17px;
  rotate: 45deg;
  background-repeat: no-repeat;
}
.moon{
  position: absolute;
  z-index: 2;
  width: 23px;
  height: 23px;
  /* background: url(../img/ICO-square-unselect.png); */
  top: 9px;
  right: 17px;
  background-repeat: no-repeat;
  /* rotate: 45deg; */
  transition: all .3s ease;
}
@media only screen and (min-width:768.1px){
  .toggle{
    margin: 0;
  } 
}



