@charset "UTF-8";
/*
* Лёгкийи и отзывчивый аккордеон
* минимум кода, максимум функционала
* без javascript, на чистом CSS
* работает на скрытых checkbox.
* автор: @dobrovoi dbmast.ru
*/ 
*,
::after,
::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

hr {
    height: 1px;
    width: 90%;
    margin: 50px auto;
    border: 0;
    box-shadow: rgba(241, 241, 241, 0.05) 3px 2px 3px;
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
    background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
    background-image: -ms-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
    background-image: linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
}
.info {
    margin: 25px auto;
    text-align: center;
    color: #b9b9b9
}
.info a {
    color: burlywood;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
}
.info a:hover {
    color: #e07e00
}

/* 
* Формируем базовый контейнер аккордеона 
*/
.accordion {
    width: 100%;
    display: block;
    position: relative;
    margin: 0 auto;
    padding-top: 40px;
    /* padding: 40px 0; */
    background-color: transparent;
    overflow: hidden;
}
/* заголовки панелей аккордеона */
.accordion h4 {
  font-weight: 600;
  font-size: 17px;
  line-height: 160%;
  text-transform: uppercase;
  color: #038E43;
  margin: 0;
  background-color: transparent;
}
/* заголовки панелей аккордеона при наведении
* в данном варианте не срабатывает
*/
/* .accordion h2:hover {
    display: block;
    background-color: #005049;
}
*/

/* Формируем блоки с содерханием */
.msg {
  position: relative;
  overflow: hidden;
  /* max-height: 800px; */
  opacity: 1;
  transform: translate(0, 0);
  margin-bottom: 40px;
}

/* оформляем параграфы */
.msg p {
  font-weight: 400;
   font-size: 17px;
   line-height: 159.8%;
   color: #636363;
   margin-top: 27px;
}

.msg p:last-child {
  margin-bottom: 30px;
}

/* Позаботимся о небольших экранах */
@media (max-width: 550px) {
  .accordion {
    box-sizing: border-box;
    transform: translate(0, 0);
    max-width: 100%;
    min-height: 100%;
    margin: 0;
    left: 0;
  }
} 

/* Формируем неупорядоченный список */
.accordion .ul {
  list-style: none;
  perspective: 900;
  padding: 0;
  margin: 0;
}

/* Определяем и формируем отдельный элемент списка 
 * в который поместим скрытый флажек,
 * заголовок панелей и блок с содержанием
*/
.accordion .ul .li {
  position: relative;
  padding: 0;
  margin: 0;
  margin-bottom: 50px;
}

.accordion .ul .li:last-child {
  border-bottom: 1px solid transparent;
}

/* устанавливаем время ожидания перед воспроизведением анимации 
 * на основе нумерации в дереве элементов
*/
.accordion .ul .li:nth-of-type(1) {
  animation-delay: 0.5s;
}
.accordion .ul .li:nth-of-type(2) {
  animation-delay: 0.75s;
}
.accordion .ul .li:nth-of-type(3) {
  animation-delay: 1s;
}
.accordion .ul .li:last-of-type {
  padding-bottom: 0;
}

/* Сформируем  указатель переключения состояния аккордеона */
.accordion .ul .li i {
  position: absolute;
    transform: translateY(-50%);
    right: 0;
    top: 122px;
    width: 35px;
height: 35px;
border: 1px solid #038E43;
border-radius: 100px;
pointer-events: none;
}

/* "Рисуем " сам указатель */
.accordion .ul .li i:before {
  content: "";
  position: absolute;
  background-color: #038E43;
  width: 15px;
  height: 1px;
  transform: rotate(-135deg);
}

.accordion .ul .li i:after {
  content: "";
  position: absolute;
  background-color: #038E43;
  width: 15px;
  height: 1px;
  transform: rotate(135deg);
}
/* Делаем чекбокс скрытым*/
.accordion .ul .li input[type=checkbox] {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
}
/* Когда у флажка установлен checked  
 * блок с содержанием скрыт
*/
.accordion .ul .li input[type=checkbox]:checked ~ div.msg {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  transform: translate(0, 50%);
}
/* А указатель показывает вниз */
.accordion .ul .li input[type=checkbox]:checked ~ i:before {
  transform: translate(0, 0) rotate(0);
  top: 16px;
  left: 9px;
}
.accordion .ul .li input[type=checkbox]:checked ~ i:after {
  transform: translate(0, 0) rotate(90deg);
}

/*  Устанавливаем эффект перехода
 * между двумя состояниями указателя 
*/
div.msg, ul li i:before, ul li i:after {
    transition: all 0.5s ease-in-out;
    top: 16px;
      left: 9px;
}
/**
 * Изображения внутри аккордеона
 * ...сделаем их отзывчивыми
 */

/* Встраеваемое видео */
.video-responsive {
    margin: 20px;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    -moz-box-shadow: 0 8px 17px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-box-shadow: 0 8px 17px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    box-shadow: 0 8px 17px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}
/* Предусмотри использование кода встраиваемого видео
 *через iframe, object или embed */
.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}