/*
Theme Name: tsj
*/

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
*,
*::after,
*::before {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}
ul[class],
ol[class] {
  padding: 0;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}
ul {
  list-style: none;
  padding: 0;
}
img {
  max-width: 100%;
  display: block;
}
input,
button,
textarea,
select {
  font: inherit;
}
a[class] {
  text-decoration: none;
  color: inherit;
}
html,
body {
  height: 100%;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 22px;
  color: #181818;
}
.main {
  min-height: 900px;
}
.footer {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}
.container {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 15px;
}
.header {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.header__title {
  font-size: 50px;
  line-height: 55px;
  color: #000;
  font-weight: 700;
  margin-bottom: 30px;
  padding-top: 30px;
  text-align: center;
  padding-bottom: 30px;
}
.header__title p {
  font-size: 28px;
  line-height: 33px;
}
.header__links {
  margin-bottom: -32px;
}
.header__links .header__link {
  color: #fff;
  font-weight: 700;
  border: 1px solid transparent;
  background-color: #ab9b09;
  padding: 10px 20px;
  margin-right: 10px;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}
.header__link:hover {
  background-color: #786c00;
}
.header__link--active {
  background-color: #786c00;
}
.main {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#fff),
    color-stop(99.99%, #3c8c4d),
    to(rgba(255, 255, 255, 0))
  );
  background: -o-linear-gradient(top, #fff 0%, #3c8c4d 99.99%, rgba(255, 255, 255, 0) 100%);
  background: linear-gradient(180deg, #fff 0%, #3c8c4d 99.99%, rgba(255, 255, 255, 0) 100%);
}
.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  min-height: 700px;
  padding-top: 100px;
}
.news {
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
  -ms-flex-preferred-size: 400px;
  flex-basis: 400px;
  margin-bottom: 60px;
  border: 1px solid #000;
  -webkit-box-shadow: -5px 0px 4px rgba(0, 0, 0, 0.25);
  box-shadow: -5px 0px 4px rgba(0, 0, 0, 0.25);
  background-color: #fff;
}
.news__title {
  padding: 15px 0 15px 20px;
  font-weight: 700;
  font-size: 24px;
  line-height: 29px;
  border-bottom: 1px solid #000;
  margin-bottom: 20px;
}
.news__items ul {
  padding: 0 15px;
}
.news__items li {
  margin-bottom: 30px;
}
.block {
  display: none;
}
.block--active {
  display: block;
}
.about {
  -ms-flex-preferred-size: 800px;
  flex-basis: 800px;
  padding-bottom: 30px;
}
.about__title {
  padding-bottom: 30px;
  font-size: 24px;
  line-height: 29px;
  font-weight: 700;
}
.about__text {
  text-indent: 20px;
  -ms-flex-preferred-size: 272px;
  flex-basis: 272px;
  font-size: 18px;
  line-height: 22px;
  margin-bottom: 50px;
}
.about__item {
  margin-bottom: 30px;
}
.about__item p {
  margin-bottom: 20px;
  font-weight: 700;
}
.about__item li {
  margin-bottom: 5px;
}
.about__gallery {
  margin-top: 60px;
}

#gallery-1 .gallery-item img {
  border: none;
  display: block;
  min-width: 300px;
  min-height: 300px;
}
 
.documents {
  padding-bottom: 30px;
}
.documents__title {
  font-size: 24px;
  line-height: 29px;
  font-weight: 700;
  padding-bottom: 30px;
}
.documents__link {
  font-size: 14px;
  line-height: 17px;
  padding-bottom: 15px;
}
.ads {
  padding-bottom: 30px;
}
.ads__title {
  font-size: 24px;
  line-height: 29px;
  font-weight: 700;
  padding-bottom: 30px;
}
.ads__items li {
  margin-bottom: 80px;
}
.ads__items a {
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 20px;
}
.footer {
  background-color: #3c8c4d;
  padding: 50px 0;
}
.footer__title {
  font-weight: 700;
  color: #dcc603;
  font-size: 24px;
  line-height: 29px;
  margin-bottom: 40px;
}
.footer__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.footer__adress,
.footer__contact,
.footer__applianes {
  color: #dcc603;
  font-size: 14px;
  line-height: 17px;
}
.footer__adress {
  max-width: 330px;
}
.footer__applianes {
  max-width: 370px;
}
@media (max-width: 1060px) {
  .header__title {
    text-align: center;
  }
  .flex {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .footer__title {
    text-align: center;
  }
  .footer__content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
  }
  .footer__adress,
  .footer__contact {
    margin-bottom: 30px;
  }
}
@media (max-width: 880px) {
  .header__links {
    margin-bottom: 0;
  }
  .header__link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    margin-bottom: 10px;
  }
  .header__link:last-child {
    margin-bottom: 0;
  }
}
@media (max-width: 710px) {
  .about__content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .about__text {
    margin-bottom: 30px;
  }
  .about__info {
    text-align: center;
    padding-right: 0;
  }

  #gallery-1 .gallery-item img {
    min-width: 0;
    min-height: 0;
    height: auto;
  }
}
@media (max-width: 580px) {
  .header__title {
    font-size: 30px;
    line-height: 35px;
  }
  .header__title p {
    font-size: 18px;
    line-height: 22px;
  }
  .header__content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .header__phones {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
    margin-bottom: 20px;
  }
  .header__phone-text {
    font-size: 15px;
    line-height: 18px;
  }
}
