.fancybox-slide > * {
  overflow: initial;
}

.fancybox-slide .ss_left, .fancybox-slide .ss_right {
  display: none;
}

.fancybox-close-small {
  right: -45px;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  transition: .3s ease;
}

.fancybox-close-small:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.fancybox-close-small:after {
  color: #ffffff;
  background: transparent !important;
  border-radius: unset;
  outline: none !important;
}

.fancybox-close-small:hover:after {
  color: #ffffff;
  background: transparent;
  border-radius: unset;
}
.action_slider .success .ct_title {
  color: #ffffff;
  font-size: 28px;
}
.action_slider .success .ct_title_info {
  color: #ffffff;
  font-size: 14px;
  margin-top: 15px;
}
.gallery_img {
  /*  height: 100%;*/
  /*
  object-fit: cover;
  object-position: center;
*/
  width: 100%;
}

.gallery_a {
  /*  height: 100%;*/
  display: block;
}

.gs_img {
  width: 544px;
  /*  height: 100%;*/
}

.toggle-slick.active {
  color: #D72823;
}



.main_input_file {
  display: none;
}

.upload_form div {

  width: 100px;
  height: 32px;
  background: none;

  color: #D72823;

  text-align: center;

  line-height: 32px;

  font-family: arial;

  font-size: 14px;

  display: inline-block;

  vertical-align: top;

  border: 1px solid #C5CACD;

}

.upload_form div:hover {
  border-color: #EFA9A7;
  cursor: pointer;
}

#f_name {
  background: transparent;
  border: 0;
  display: inline-block;
  vertical-align: top;
  height: 30px;
  padding: 0 8px;
  width: 150px;
}


.toggle-slick:hover {
  text-decoration: underline;
}

.file-upload input[type="file"] {

  display: none;
  /* скрываем input file */

}

/* задаем стили кнопки выбора файла*/

.file-upload {

  position: relative;

  overflow: hidden;

  /*width: 250px;



background: #4169E1;

border-radius: 10px;

color: #fff;*/
  width: 250px;
  height: 40px;
  border-radius: 5px;
  text-align: center;
  background: none;
  border: 1px solid #C5CACD;
  color: #D72823;
}

.file-upload:hover {

  border-color: #EFA9A7;
  background: transparent;

}

/* Растягиваем label на всю область блока .file-upload */

.file-upload label {

  display: block;

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  cursor: pointer;

}

/* стиль текста на кнопке*/

.file-upload span {

  line-height: 40px;

  font-weight: 500;

}


.success {
  display: none;
}

.gallery_slider_th {
  right: 8px;
}

.pu_rgba2 {

  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 999;
  overflow: hidden;
  overflow-y: hidden;
  -ms-overflow-y: scroll;
  overflow-y: scroll;
  background:

    rgba(31, 31, 31, 0.75);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

}

.closeform2 {
  cursor: pointer;
  display: flex;
  position: absolute;
  text-decoration: none;
  width: 40px;
  height: 40px;
  -webkit-justify-content: center;
  justify-content: center;
  background: #FFF;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.2);
  right: -48px;
  top: 0;
  -webkit-align-items: center;
  align-items: center;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.closeform2:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.closeform2 svg {
  display: block;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.dfile {
  display: none;
}

.action .slick-slide {
  height: auto;
}

.gallery_slider_th .slider-nav {
  left: 0;
  padding: 0 8px;
  max-width: 30%;
}

.gs_info_bottom > li {
  height: auto;
  padding: 10px 0;
}

.gs_slide {
  background-color: #585858;
}

.gs_info_bottom {
  padding-left: 0;
}
.gs_list {
  padding-bottom: 15px;
}

.slider-nav .yl_name {
  text-decoration: none;
}

.slider-nav .yl_name:hover {
  text-decoration: underline;
}

.what_list {
   display: flex;
   flex-wrap: wrap;
   align-items: baseline;
}

.what_list > li {
   width: 50%;
   display: flex;
   flex-wrap: wrap;
}

.wl_info {
width: 100%;
margin: 5px 23px;
}

.what_list > li:nth-child(3) {
   margin-top:40px;
}

.what_list > li:nth-child(4) {
   margin-top:40px;
}

.what_list > li:nth-child(5) {
   margin-top:40px;
}

.what_list > li:nth-child(6) {
   margin-top:40px;
}

@media screen and (max-width: 740px){
.what_list {
    display: block;
}

.what_list > li {
    width: 100%;
    text-align: left;
    align-items: center;
    flex-wrap: nowrap;
    margin-bottom: 10px;
}



.what_list > li:nth-child(3) {
   margin-top:0px;
}

.what_list > li:nth-child(4) {
   margin-top:0px;
}


}




@media screen and (max-width: 991px) {
  .gs_content {
    flex-wrap: wrap;
  }

  .gs_info {
    width: 100%;
    border: 1px solid #E0E4E7;
    border-radius: 5px;
  }

  .gs_slide {
    /*    height: 400px;*/
    width: 100%;
    /*    order: 2;*/
  }

  .gs_img {
    width: 100%;
    height: auto;
  }

  .gs_img .slick-slide {
    height: auto;
  }

  .gallery_a {
    height: auto;
  }

  .gallery_img {
    height: auto;
  }

  .gs_slide {
    position: relative;
  }

  .gallery_slider_th .slider-nav {
    left: 0;
    padding: 0 8px;
    max-width: 30%;
  }

}

@media screen and (max-width: 1300px) {
  .sotrydniky .slick-slide {
    height: auto;
  }
}

@media screen and (max-width: 960px) {
  .gs_info {
    width: 100%;
  }

  .gs_img img {
    width: 100%;
    min-width: inherit;
    position: static;
    left: 0;
    margin-left: 0;
  }
}

@media screen and (max-width: 840px) {
  .closeform2 {
    right: 0;
    top: -48px;
  }

  .pu_rgba2 {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media screen and (max-width: 760px) {
  .gallery_slider_th {
    top: auto;
    margin-top: 0;
    bottom: 8px !important;
  }
}

@media screen and (max-width: 575px) {
  .gallery_slider_th .slider-nav {
    max-width: 70%;
  }
}

@media screen and (max-width: 520px) {
  .pu_rgba2 {
    padding-bottom: 20px;
  }
}
