/*!
* chiefSlider
*   site: https://itchief.ru/javascript/slider
*   github: https://github.com/itchief/ui-components
*
* Copyright 2018-2021 Alexander Maltsev
* Licensed under MIT (https://github.com/itchief/ui-components/blob/master/LICENSE)
*/

.slider {
  position: relative;
  padding-bottom: 20px;
  padding-left: 10px;
  padding-right: 10px;
}

.slider__container {
  overflow: hidden;
}

.slider__wrapper {
  /*overflow: hidden;*/
}

.slider__items {
  display: flex;
  transition: transform 0.5s ease;
}

.slider_disable-transition {
  transition: none;
}

.slider__item {
  flex: 0 0 100%;
  max-width: 100%;
  user-select: none;
}

/* кнопки влево и вправо */

.slider__control {
  position: absolute;
  top: 46%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  text-align: center;
  height: 30px;
  width: 30px;  
  transform: translateY(-50%);
  /*
  -moz-border-radius: 25px;   -webkit-border-radius: 25px; border-radius: 25px; 
  background: rgba(0, 0, 0, 0.2);
  */
}

.slider__control_hide {
  display: none;
}

.slider__control[data-slide='prev'] {
  left: -10px;
}

.slider__control[data-slide='next'] {
  right: -10px;
}

.slider__control:hover,
.slider__control:focus {
  /*
  color: #fff;
  text-decoration: none;
  outline: 0;
  background: rgba(0, 0, 0, 0.3);
  */
}

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

.slider__control[data-slide='prev'] {
  width: 22px;
  height: 22px;    
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23B9B9B9' 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[data-slide='prev']:hover { 
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ED7F23' 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[data-slide='next'] {
  width: 22px;
  height: 22px;     
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23B9B9B9' 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__control[data-slide='next']:hover {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ED7F23' 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;
  right: 0;
  bottom: 50;
  left: 0;
  z-index: 15;
  display: flex;
  justify-content: center;
  padding-left: 0;
  margin-right: 15%;
  margin-left: 15%;
  list-style: none;
  margin-top: 0;
  margin-bottom: 0;
}

.slider__indicators li {
  box-sizing: content-box;
  flex: 0 1 auto;
  width: 30px;
  height: 5px;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: #F2D3B2;
  background-clip: padding-box;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}
*/



.slider__indicators {
  position: absolute;
  right: 0;
  bottom: 50;
  left: 0;
  z-index: 15;
  display: flex;
  justify-content: center;
  padding-left: 0;
  margin-right: 15%;
  margin-left: 15%;
  list-style: none;
  margin-top: 0;
  margin-bottom: 0;
}

.slider__indicators li {
  box-sizing: content-box;
  flex: 0 1 auto;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: #F2D3B2;
  background-clip: padding-box;
  width: 16px;
  height: 16px;
  margin-top: 10px;
  -moz-border-radius: 10px;   -webkit-border-radius: 10px; border-radius: 8px;   
}

.slider__indicators li.active {
  background-color: #ED7F23;
}



/*********** Стили для слайдера на главной... ***********/
.slider__item { flex: 0 0 25%;  max-width: 25%; }
.slider__item .m211 { margin: 0px; }
.slider__item  .m212 { padding:4px; 
    background-color: #fff;
    border: 1px solid #D3D3D3;
    -webkit-box-shadow: 0px 2px 4px 0px #ccc;
    -moz-box-shadow: 0px 2px 4px 0px #ccc;
    box-shadow: 0px 2px 4px 0px #ccc;
    cursor:pointer; cursor:hand;
}
.slider__item .m212:hover { 
    -webkit-box-shadow: 0px 2px 4px 0px #999;
    -moz-box-shadow: 0px 2px 4px 0px #999;
    box-shadow: 0px 2px 4px 0px #999;
}
.slider__item .m213 { min-height: 113px; background-color: #ED8A23; color: #fff; text-align: center; padding-top: 30px; font-size: 18px;  font-family: 'OpenSansSemiboldRegular', Arial; }
.slider__item .m213:hover { background-color: #ED7F23; }

@media only screen and (max-width : 1200px) { .slider__item { flex: 0 0 33.33%;  max-width: 33.33%; } }
@media only screen and (max-width : 992px) { .slider__item { flex: 0 0 50%;  max-width: 50%; }}    
@media only screen and (max-width : 767px) { .slider__item { flex: 0 0 100%;  max-width: 100%; } }  
/*********** Стили для слайдера на главной... ***********/