/**
  * SimpleAdaptiveSlider by Itchief v2.0.0 (https://github.com/itchief/ui-components/tree/master/simple-adaptive-slider)
  * Copyright 2020 - 2021 Alexander Maltsev
  * Licensed under MIT (https://github.com/itchief/ui-components/blob/master/LICENSE)
  */

/* СЃС‚РёР»Рё РґР»СЏ РєРѕСЂРЅРµРІРѕРіРѕ СЌР»РµРјРµРЅС‚Р° СЃР»Р°Р№РґРµСЂР° */
.slider {
  position: relative;
  /*! overflow: hidden; */
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 35px;
}

/* СЃС‚РёР»Рё РґР»СЏ wrapper */
.slider__wrapper {
  position: relative;
  overflow: hidden;
  /* background-color: #eee; */
  box-shadow: 0px 0px 1px #ccc;
}

/* СЃС‚РёР»Рё РґР»СЏ СЌР»РµРјРµРЅС‚Р°, РІ РєРѕС‚РѕСЂРѕРј РЅРµРїРѕСЃСЂРµРґСЃС‚РІРµРЅРЅРѕ СЂР°СЃРїРѕР»РѕР¶РµРЅС‹ СЌР»РµРјРµРЅС‚С‹ (СЃР»Р°Р№РґС‹) */
.slider__items {
  display: flex;
  transition: transform 0.5s ease;
}

/* РєР»Р°СЃСЃ РґР»СЏ РѕС‚РєР»СЋС‡РµРЅРёСЏ transition */
.transition-none {
  transition: none;
}

/* СЃС‚РёР»Рё РґР»СЏ СЌР»РµРјРµРЅС‚РѕРІ */
.slider__item {
  flex: 0 0 100%;
  max-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* РєРЅРѕРїРєРё Prev Рё Next */
.slider__control {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 50px;
  transform: translateY(-50%);
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0.5;
  user-select: none;
}

.slider__control_show {
  display: flex;
}

.slider__control:hover,
.slider__control:focus {
  color: #fff;
  text-decoration: none;
  opacity: 0.7;
}

.slider__control_prev {
  left: 0;
}

.slider__control_next {
  right: 0;
}

.slider__control::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: transparent no-repeat center center;
  background-size: 100% 100%;
}

.slider__control_prev::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_next::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__indicators {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  padding-left: 0;
  /*! margin: 0 5%; */
  list-style: none;
  user-select: none;
  background-color: #A3B7D7;
  bottom: -45px;
  z-index: 100;
  width: 100%;
}

.slider__indicator {
  flex: 0 1 auto;
  width: 30px;
  height: 4px;
  margin-right: 3px;
  margin-left: 3px;
  background-color: rgba(255, 255, 255, 0.5);
  background-clip: padding-box;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  cursor: pointer;
}

.slider__indicator_active {
  background-color: #fff;
}

.slider_foto_info {
  /*! border: 1px solid #000; */
  position: absolute;
  bottom: 5px;
  left: 5px;
  /*! right: 50px; */
  background-color: #f4f9fdcc;
  border-radius: 5px;
  text-align: left;
  padding-left: 10px;
  padding: 1px 10px;
  color: #000;
  box-shadow: 0px 0px 5px #bbb;
  right: 5px;
  padding: 8px;
  font-size: 13px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  /* font-weight: 700; */
  color: #000;
  /* text-shadow: 0px 0px 5px #000, 1px 1px 1px #000; */
  border-radius: 0px;
  border-left: 5px solid #fff;
  line-height: 1;
  font-style: normal;
}

.slider_foto_wrap{
  text-align: center;
  position: relative;
  cursor: pointer;
}

.slider__item a{
  display: block;
}

.slider_foto_info_nazvanie{
  display: none;
  border-top: 1px solid #888;
  margin-top: 5px;
  padding-top: 5px;
  font-weight: 700;
}

.slider_foto_wrap:hover .slider_foto_info_nazvanie{
  display: block;
}