/*!
     * chiefSlider (https://itchief.ru/lessons/php/feedback-form-for-website)
     * Copyright 2018 Alexander Maltsev
     * Licensed under MIT (https://github.com/itchief/feedback-form/blob/master/LICENSE)
     */

     .slider2 {
      position: relative;
      overflow: hidden;
      margin-left: -2vw;
    }

    .slider__wrapper2 {
      display: flex;
      transition: transform 0.6s ease;
    }

    .slider__item2 {
      flex: 0 0 100%;
      max-width: 100%;
    }

    .slider__control2 {
      position: absolute;
      top: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      color: #fff;
      text-align: center;
      opacity: 0.5;
      height: 50px;
      transform: translateY(-50%);
      background: rgba(0, 0, 0, .5);
    }

    .slider__control2:hover,
    .slider__control2:focus {
      color: #fff;
      text-decoration: none;
      outline: 0;
      opacity: .9;
    }

    .slider__control_left2 {
      left: 0;
    }

    .slider__control_right2 {
      right: 0;
    }

    .slider__control2::before {
      content: '';
      display: inline-block;
      width: 20px;
      height: 20px;
      background: transparent no-repeat center center;
      background-size: 100% 100%;
    }

    .slider__control_left2::before {
      background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
    }

    .slider__control_right2::before {
      background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
    }

    .slider__item2>div {
 
    }







    /* User styles */
@media screen and (min-width: 911px) {
  .ant-carousel {
    max-width: 69.3vw;
  }
}

@media screen and (min-width: 641px) and (max-width: 910px) {
  .ant-carousel {
    max-width: 540px;
  }
}

@media screen and (max-width: 640px) {
  .ant-carousel {
    max-width: 30%;
  }
}

.ant-carousel {
  margin: auto auto;
  
/*  border: 1px solid #ccd;
  background-color: white;*/
}

.ant-carousel-element {
  width: 22.6vw;
  /*text-align: center;*/
}

/* General styles */
.ant-carousel {
  width: auto;
  position: relative;
}

.ant-carousel-hider {
overflow: hidden;
    padding: 12vh 1.3vw 12vh 1.3vw;
}

.ant-carousel-list {
  width: auto;
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  justify-content: flex-start;

}

.ant-carousel-element {
  display: block;
  flex: 0 0 auto;
}

/* Navigation item styles */
div.ant-carousel-arrow-left,
div.ant-carousel-arrow-right {
  width: 22px;
  height: 40px;
  position: absolute;
  cursor: pointer;
  opacity: 0.6;
  z-index: 32;
}

div.ant-carousel-arrow-left {
  left: -10vh;
    top: 40%;
    display: block;
    background: url(../img/move-to-leftt.png) no-repeat center center / contain;
    height: 17vh;
    width: 7vw;
}

div.ant-carousel-arrow-right {
  right: -12vh;
    top: 40%;
  display: block;
  background: url("../img/move-to-right.png") no-repeat center center / contain;
  height: 17vh;
    width: 7vw;
}

div.ant-carousel-arrow-left:hover {
  opacity: 1.0;
}

div.ant-carousel-arrow-right:hover {
  opacity: 1.0;
}


@media all and (orientation: portrait) {


    .ant-carousel {
  width: 80%;
  }

  .ant-carousel-element {
  width: 65vw;
  /*text-align: center;*/
  margin: 0 2vw;
}

div.ant-carousel-arrow-right {
  right: -5vh;
}

div.ant-carousel-arrow-left {
  left: -5vh;
}
}

