@font-face {
  font-family: "AvenirNextCyr-Demi";
  src: url("./fonts/avenir/AvenirNextCyr-Demi.otf");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: "AvenirNextCyr-Medium";
  src: url("./fonts/avenir/AvenirNextCyr-Medium.otf");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: "AvenirNextCyr-Bold";
  src: url("./fonts/avenir/AvenirNextCyr-Bold.otf");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: "AvenirNextCyr-Regular";
  src: url("./fonts/avenir/AvenirNextCyr-Regular.otf");
  font-style: normal;
  font-weight: normal;
}

* {
  box-sizing: border-box;
}

body,
html,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
ol,
blockquote {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: #000;
  text-decoration: none;
}

input:focus,
textarea:focus {
  outline: 0;
}

html,
body {
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  /*position: absolute;*/
  width: 100%;
  z-index: 5;
  top: 0;
}

.assistive-text {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
}

/* ONLINE CHAT BUTTON */

#online-button {
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: 60px;
  height: 60px;
}
.online-button {
  width: 100%;
  height: 100%;
  background-color: #39b28b;
  border-radius: 50%;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.online-button-on {
  display: block;
  width: 31px;
  height: 36px;
  transform: translateY(2px);
  transition: all 0.3s linear;
}
.online-button:hover .online-button-on,
.online-button:active .online-button-on {
  transform: translateY(2px) scale(1.1);
}
.online-button.active .online-button-on {
  display: none;
}
.online-button-off {
  display: none;
  width: 22px;
  height: 22px;
  transition: all 0.3s linear;
}
.online-button:hover .online-button-off,
.online-button:active .online-button-off {
  transform: scale(1.2);
}
.online-button.active .online-button-off {
  display: block;
}
.online-button-popup {
  position: absolute;
  right: 0;
  bottom: 76px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  -ms-align-items: center;
  align-items: center;
  width: 0;
  height: 0;
  overflow: hidden;
  padding: 0;
  background-color: #fff;
  z-index: -1;
}
.online-button-popup span {
  display: block;
  font-family: AvenirNextCyr-Bold;
  font-size: 18px;
  line-height: 160%;
  text-align: center;
}
.online-button-popup-link {
  margin-top: 20px;
  display: inline-flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  width: 320px;
  background-color: #39b28b;
  overflow: hidden;
}
.online-button-popup-link a {
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 100%;
  font-family: AvenirNextCyr-Bold;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  transition: all 0.3s linear;
}
.online-button-popup-link a:hover,
.online-button-popup-link a:active {
  font-size: 14px;
  line-height: 17px;
}
.online-button-popup.active {
  width: 416px;
  height: auto;
  padding: 40px 40px 46px;
  -webkit-animation: scale-in-br 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: scale-in-br 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
@-webkit-keyframes scale-in-br {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    opacity: 1;
  }
}
@keyframes scale-in-br {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    opacity: 1;
  }
}
@media (max-width: 1023px) {
  #online-button {
    position: fixed;
    right: 30px;
    bottom: 30px;
  }
}
@media (max-width: 767px) {
  #online-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
  }
  .online-button-on {
    width: 25px;
    height: 30px;
  }
  .online-button-off {
    width: 18px;
    height: 18px;
  }
  .online-button-popup {
    bottom: 62px;
  }
  .online-button-popup span {
    font-size: 14px;
  }
  .online-button-popup-link {
    margin-top: 15px;
    width: 250px;
  }
  .online-button-popup-link a {
    height: 40px;
    font-size: 12px;
    line-height: 15px;
  }
  .online-button-popup-link a:hover,
  .online-button-popup-link a:active {
    font-size: 12px;
    line-height: 15px;
  }
  .online-button-popup.active {
    width: 280px;
    padding: 20px 15px 25px;
  }
}

/* HOVERS */

.main-animations {
  transition: 0.33s ease-out all;
}

.main-animations-2 {
  transition: 0.5s ease-out all;
}

.header-top__menu-item a:hover,
.footer-main-menu a:hover,
.languages-wrap a:hover {
  color: rgba(50, 148, 116, 1);
}

.socials--facebook:hover .wrap-facebook-svg {
  fill: rgba(72, 98, 163, 1);
}

.socials--twitter:hover .wrap-twitter-svg {
  fill: rgba(85, 172, 238, 1);
}

.socials--youtube:hover .wrap-youtube-svg {
  fill: rgba(238, 44, 39, 1);
}

.socials--facebook:hover {
  color: rgba(72, 98, 163, 1);
}

.socials--twitter:hover {
  color: rgba(85, 172, 238, 1);
}

.socials--youtube:hover {
  color: rgba(238, 44, 39, 1);
}
.socials--telegram:hover {
  color: #0088cc;
}
.header-bottom__menu-item a:hover {
  background-color: rgba(242, 247, 247, 1);
}

.header-bottom__menu-item a:hover .wrap-menu-icon-1-svg,
.footer-sub-menu a:hover .wrap-menu-icon-1-svg-f {
  fill: rgba(89, 194, 222, 1);
}

.header-bottom__menu-item:nth-child(1) a:hover,
.footer-sub-menu li:nth-child(1) a:hover {
  color: rgba(89, 194, 222, 1);
}

.header-bottom__menu-item a:hover .wrap-menu-icon-2-svg,
.footer-sub-menu a:hover .wrap-menu-icon-2-svg-f {
  fill: rgba(255, 209, 92, 1);
}

.header-bottom__menu-item:nth-child(2) a:hover,
.footer-sub-menu li:nth-child(2) a:hover {
  color: rgba(255, 209, 92, 1);
}

.header-bottom__menu-item a:hover .wrap-menu-icon-3-svg,
.footer-sub-menu a:hover .wrap-menu-icon-3-svg-f {
  fill: rgba(57, 178, 139, 1);
}

.header-bottom__menu-item:nth-child(3) a:hover,
.footer-sub-menu li:nth-child(3) a:hover {
  color: rgba(57, 178, 139, 1);
}

.header-bottom__menu-item a:hover .wrap-menu-icon-4-svg,
.footer-sub-menu a:hover .wrap-menu-icon-4-svg-f {
  fill: #fcb556;
}

.header-bottom__menu-item:nth-child(4) a:hover,
.footer-sub-menu li:nth-child(4) a:hover {
  color: #fcb556;
}

.flex-control-nav a:hover,
.flex-control-nav a.flex-active:hover {
  background-color: rgba(57, 178, 139, 1);
  border-color: rgba(57, 178, 139, 1);
}

.flex-prev:hover,
.flex-next:hover {
  background-color: rgba(57, 178, 139, 1);
  border-color: rgba(57, 178, 139, 1);
}

.show-all-buttom:hover {
  color: rgba(57, 178, 139, 1);
}

.show-all-buttom:hover .wrap-arrow-svg {
  fill: rgba(57, 178, 139, 1);
  left: 15px;
}

.news-title-wrap a:hover {
  color: rgba(145, 145, 145, 1);
}

.event__link:hover h1,
.event__link:hover h3 {
  color: rgba(145, 145, 145, 1);
}

.event__link:hover .img-bg,
.event__link:hover img {
  transform: scale(1.2);
}

.wrap-two-blocks > *:hover .two-blocks-img {
  bottom: 20px;
}

.block-full-size__subject:hover {
  color: rgba(255, 255, 255, 1);
}

.block-full-size__title a:hover {
  color: #d0cfcf;
}

.block-full-size__buttom__wrap:hover .block-full-size__buttom {
  color: rgba(57, 178, 139, 1);
}

.block-full-size__buttom__wrap:hover {
  border-color: rgba(57, 178, 139, 1);
}

.search-form:hover .search-form input[type="text"]::placeholder {
  color: rgba(57, 178, 139, 1);
}

.header-support a:hover,
.home-slider__button:hover,
.two-blocks-buttom:hover,
.block-full-size__buttom:hover,
.footer-support:hover,
.inner-page__buttom a:hover {
  transform: scale(0.95);
}

/* SVG */

.wrap-close-icon-svg {
  width: 17px;
  height: 17px;
  fill: #d7d7d7;
}

.close-icon-svg {
  width: 17px;
  height: 17px;
}

.wrap-facebook-svg {
  width: 17px;
  height: 17px;
  fill-rule: evenodd;
  clip-rule: evenodd;
  fill: #ffffff;
}

.facebook-svg {
  width: 17px;
  height: 17px;
}
.telegram-svg {
  width: 17px;
  height: 17px;
}
.wrap-telegram-svg {
  width: 23px;
  height: 23px;
  fill-rule: evenodd;
  clip-rule: evenodd;
  fill: #ffffff;
}
.socials--telegram:hover .wrap-telegram-svg {
  fill: #0088cc;
}
.wrap-twitter-svg {
  width: 17.9px;
  height: 15.1px;
  fill-rule: evenodd;
  clip-rule: evenodd;
  fill: #ffffff;
}

.twitter-svg {
  width: 17.9px;
  height: 15.1px;
}

.wrap-youtube-svg {
  width: 21.6px;
  height: 15.2px;
  fill: #ffffff;
}

.youtube-svg {
  width: 21.6px;
  height: 15.2px;
}

.wrap-arrow-svg {
  fill: rgba(0, 0, 0, 0.3);
  width: 8px;
  height: 13.4px;
  position: relative;
  left: 0;
}

.arrow-svg {
  width: 8px;
  height: 13.4px;
}

.wrap-menu-icon-1-svg {
  width: 24.7px;
  height: 23.1px;
  fill: rgba(0, 0, 0, 1);
}

.wrap-menu-icon-1-svg-f {
  width: 24.7px;
  height: 23.1px;
  fill: rgba(255, 255, 255, 0.2);
}

.menu-icon-1-svg {
  width: 24.7px;
  height: 23.1px;
}

.wrap-menu-icon-2-svg {
  width: 24.7px;
  height: 23.8px;
  fill: rgba(0, 0, 0, 1);
}

.wrap-menu-icon-2-svg-f {
  width: 24.7px;
  height: 23.8px;
  fill: rgba(255, 255, 255, 0.2);
}

.menu-icon-2-svg {
  width: 23.8px;
  height: 23.8px;
}

.wrap-menu-icon-3-svg {
  width: 24.7px;
  height: 24.4px;
  fill: rgba(0, 0, 0, 1);
}

.wrap-menu-icon-3-svg-f {
  width: 24.7px;
  height: 24.4px;
  fill: rgba(255, 255, 255, 0.2);
}

.menu-icon-3-svg {
  width: 17.5px;
  height: 24.4px;
}

.wrap-menu-icon-4-svg {
  width: 31px;
  height: 27px;
  fill: rgba(0, 0, 0, 1);
}

.wrap-menu-icon-4-svg-f {
  width: 31px;
  height: 27px;
  fill: rgba(255, 255, 255, 0.2);
}

.menu-icon-4-svg {
  width: 17.5px;
  height: 24.4px;
}

.burger-menu {
  display: none;
}

main {
  flex: 1 0 auto;
  display: block;
}

.header-top {
  display: flex;
  flex-direction: row;
  background-color: #191a1a;
  font-size: 0;
  vertical-align: top;
  min-height: 45px;
  z-index: 2;
  position: relative;
}

.languages-wrap {
  display: flex;
  max-width: 0;
  min-width: 240px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.languages-wrap ul {
  display: flex;
  padding-left: 50px;
  align-items: center;
}

.languages-wrap li {
}

.languages-wrap li:after {
  display: inline-block;
  content: "";
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  width: 32px;
  margin-right: 15px;
  margin-left: 15px;
  position: relative;
  bottom: 2px;
}

.languages-wrap li:last-child:after {
  display: none;
}

.languages-wrap a,
.languages-wrap span {
  font-size: 10px;
  font-family: "AvenirNextCyr-Medium";
  line-height: 2.4;
  letter-spacing: 0.5px;
}

.languages-wrap span {
  color: rgba(255, 255, 255, 0.1);
}

.languages-wrap a {
  color: #fff;
}

.languages-wrap li.active a {
  color: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.menu-wrap {
  display: flex;
}

.menu-wrap ul {
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
}

.header-top__menu-item {
  height: 45px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.header-top__menu-item a {
  font-family: "AvenirNextCyr-Medium";
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  height: 45px;
  display: flex;
  align-items: center;
  color: #ffffff;
  padding-bottom: 4px;
  padding-left: 27px;
  padding-right: 27px;
}

.header-form-social {
  display: flex;
  flex: 1;
  justify-content: space-between;
}

.search-form {
  height: 100%;
  flex: auto;
  position: relative;
  display: flex;
  vertical-align: top;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}

.search-form input[type="text"] {
  background-color: rgba(255, 255, 255, 0);
  border: 0;
  color: #fff;
  width: 100%;
  height: 100%;
  padding-right: 75px;
  padding-left: 35px;
}

.search-form input[type="text"]:focus {
  border: 0;
  outline: 0;
}

.search-form input[type="submit"] {
  background-color: rgba(255, 255, 255, 0);
  border: 0;
  position: absolute;
  width: 19px;
  height: 18px;
  right: 0;
  top: 50%;
  right: 50px;
  margin-top: -9px;
  background-image: url("./img/search-but.png");
  cursor: pointer;
}

.search-form input[type="text"]::placeholder {
  color: #fff;
  font-family: "AvenirNextCyr-Medium";
}

.search-form ::-webkit-input-placeholder {
  font-family: "AvenirNextCyr-Medium";
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}

.search-form ::-moz-placeholder {
  font-family: "AvenirNextCyr-Medium";
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}

.search-form:-moz-placeholder {
  font-family: "AvenirNextCyr-Medium";
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}

.search-form:-ms-input-placeholder {
  font-family: "AvenirNextCyr-Medium";
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}

.header-socials {
  display: flex;
  height: 100%;
  max-width: 132px;
  flex-direction: row;
  z-index: 1;
}

.socials__item {
  width: 44px;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  float: left;
  background-repeat: no-repeat;
  background-position: center center;
}

.header-support {
  display: flex;
  background-image: linear-gradient(to right, #39b28b, #39b2a5);
  z-index: 2;
}

.header-support a {
  display: flex;
  align-items: center;
  padding-left: 30px;
  padding-right: 30px;
  vertical-align: middle;
  font-family: "AvenirNextCyr-Medium";
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  padding-bottom: 4px;
}

.header-bottom {
  font-size: 0;
  min-height: 100px;
  display: flex;
  background-color: #fdfdfd;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 2;
  position: relative;
}

.logo-wrap {
  min-width: 240px;
  background-image: url("./img/logo.png");
  background-position: center;
  background-repeat: no-repeat;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.logo-wrap_uk {
  -webkit-background-size: 152px 50px;
  background-size: 152px 50px;
}

.logo-wrap_en {
  background-image: url("./img/logo-en.png");
  -webkit-background-size: 181px 50px;
  background-size: 181px 50px;
}

.header-bottom__menu-item {
  display: flex;
  align-items: center;
  min-height: 100px;
  background-repeat: no-repeat;
  background-position: 60px center;
}

.header-bottom__menu-item svg {
  margin-right: 10px;
}

.header-bottom__menu-item a {
  font-family: "AvenirNextCyr-Bold";
  display: flex;
  align-items: center;
  height: 100px;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.8px;
  color: #000000;
  padding-left: 60px;
  padding-right: 50px;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.header-bottom__menu-item:nth-child(1) {
  /*background-image: url("./img/header-bot-first.png");*/
}

.header-bottom__menu-item:nth-child(2) {
  /*background-image: url("./img/header-bot-second.png");*/
}

.header-bottom__menu-item:nth-child(3) {
  /*background-image: url("./img/header-bot-third.png");*/
}

.menu-wrap__sub {
  flex: 1;
}

.burger-button {
  display: none;
}

.home-slider {
  height: 100vh;
  min-height: 700px;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
}

.flex-control-nav {
  position: absolute;
  bottom: 94px;
  left: 700px;
}

.flex-control-nav li {
  display: inline-block;
  margin-right: 20px;
}

.flex-control-nav a {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 1);
  transition: 0.33s ease-out all;
}

.flex-control-nav a.flex-active {
  background: rgba(255, 255, 255, 0);
}

.flex-nav-prev {
  /*    display: none;*/
}

.flex-prev,
.flex-next {
  position: absolute;
  bottom: 70px;
  left: 900px;
  display: inline-block;
  width: 66px;
  height: 66px;
  background-image: url("./img/slide-next.png");
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: 0.33s ease-out all;
}

.flex-prev {
  background-image: url("./img/slide-prev.png");
  left: 550px;
}

.home-slider__item {
  width: 100%;
  position: relative;
  height: 100vh;
  min-height: 700px;
  background-repeat: no-repeat;
  background-size: cover;
  /*background-position-y: 145px;*/
  background-position-x: center;
}

.home-slider__overlay {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0)
  );
}

.home-slider__content {
  padding-left: 237px;
  padding-bottom: 70px;
}

.home-slider__title {
  font-family: "AvenirNextCyr-Bold";
  font-size: 66px;
  line-height: 1.18;
  color: #ffffff;
  padding-bottom: 30px;
  padding-right: 30%;
}

.home-slider__txt {
  font-family: "AvenirNextCyr-Medium";
  font-size: 23px;
  padding-left: 3px;
  color: #ffffff;
  padding-bottom: 60px;
  padding-right: 54%;
}

.home-slider__button {
  display: inline-block;
  padding: 22px 47px 23px;
  text-transform: uppercase;
  font-family: "AvenirNextCyr-Demi";
  font-size: 16px;
  letter-spacing: 1.2px;
  color: #ffffff;
  position: relative;
  right: 5px;
}

.home-slider__button__wrap {
  display: inline-block;
  background-image: linear-gradient(to right, #39b28b, #39b2a5);
  border-radius: 30px;
}

.events-and-news {
  display: flex;
  flex-direction: row;
}

.container-event {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-right: 80px;
  max-width: 1250px;
  margin: 0 auto;
}

.events {
  background: rgba(0, 92, 106, 0.05);
  padding-left: 129px;
  flex: 1;
}

.event__item {
  position: relative;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event__item--main {
  width: 336px;
  background-color: #fff;
  margin-bottom: 80px;
}

.event-img-wrap {
  width: 100%;
  height: 200px;
  text-align: center;
  overflow: hidden;
}

.event-img-wrap .img-bg,
.event-img-wrap img {
  display: inline-block;
  width: 100%;
  height: 100%;
}

.img-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.event-title {
  padding-left: 30px;
  padding-right: 30px;
}

.event-full-date,
.event-due-date {
  padding-left: 30px;
  text-transform: capitalize;
}

.event-full-date,
.event-due-date,
.event__link {
  display: block;
}

.library__item {
  width: 405px;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  background: #f2f7f7;
  margin-right: 26px;
  margin-bottom: 26px;
}

.library__item:nth-child(3n) {
  margin-right: 0;
}

.event-img-wrap.library__link-img {
  display: flex;
  flex: 0 0 143px;
  height: auto;
}

.article-title {
  font-family: "AvenirNextCyr-Bold";
  font-size: 20px;
  color: #191a1a;
}

.event-title {
  padding-top: 23px;
  padding-bottom: 25px;
  height: 168px;
  overflow: hidden;
}

.event-full-date {
  font-family: "AvenirNextCyr-Bold";
  font-size: 13px;
  color: rgba(25, 26, 26, 0.2);
  padding-bottom: 19px;
}

.event-due-date {
  font-family: "AvenirNextCyr-Bold";
  font-size: 18px;
  color: #b4b4b4;
  padding-top: 15px;
  padding-bottom: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.site-title {
  font-family: "AvenirNextCyr-Bold";
  font-size: 56px;
  line-height: 1.39;
}

.show-all-buttom {
  font-size: 20px;
  color: rgba(0, 0, 0, 0.3);
  font-family: "AvenirNextCyr-Medium";
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.show-all-buttom p {
  padding-right: 13px;
}

.event-wrap-title {
  margin-right: 42px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-wrap-title {
  margin-right: 0px;
}

.event-title__wrap {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  flex-wrap: wrap;
  padding-bottom: 44px;
  padding-top: 45px;
  margin-bottom: 55px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.event-title__wrap--news {
  justify-content: space-between;
}

.news {
  min-width: 606px;
  max-width: 606px;
  background: #fdfdfd;
  padding-left: 77px;
}

.news-item__wrap {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  align-content: flex-start;
  margin-right: 80px;
  padding-bottom: 34px;
  margin-bottom: 38px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.show-all-buttom--news {
  margin-right: 77px;
}

.news-date-wrap {
  margin-right: 22px;
  min-width: 60px;
}

.news-date {
  font-family: "AvenirNextCyr-Bold";
  font-size: 20px;
  color: rgba(25, 26, 26, 0.2);
}

.consultations {
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.consultations .events {
  background: #fff;
}

.wrap-two-blocks {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
}

.wrap-two-blocks > * {
  width: 50%;
  padding-top: 94px;
  padding-bottom: 116px;
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.wrap-two-blocks > *:first-child {
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.two-blocks-title {
  display: block;
  margin-bottom: 20px;
}

.two-blocks-img {
  position: relative;
  display: inline-block;
  margin-bottom: 33px;
  bottom: 0;
}

.two-blocks-txt {
  margin-bottom: 43px;
  padding-left: 210px;
  padding-right: 210px;
  font-family: "AvenirNextCyr-Medium";
  font-size: 20px;
  color: #000000;
  flex: 1 1 auto;
}

.two-blocks-buttom__wrap {
  display: inline-block;
  border-radius: 30px;
}

.two-blocks-buttom {
  display: block;
  width: 255px;
  margin: 0 auto;
  font-family: "AvenirNextCyr-Demi";
  font-size: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ffffff;
  padding-top: 20px;
  padding-bottom: 20px;
}

.wrap-two-blocks > *:nth-child(1) .two-blocks-buttom__wrap {
  background-image: linear-gradient(to right, #39b28b, #39b2a5);
}

.wrap-two-blocks > *:nth-child(2) .two-blocks-buttom__wrap {
  background-image: linear-gradient(to right, #ffd15c, #ffbc5c);
}

.block-full-size {
  width: 100%;
  height: 700px;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.block-full-size__overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.block-full-size__subject {
  font-family: "AvenirNextCyr-Bold";
  font-size: 22px;
  color: #39b28b;
}

.block-full-size__title {
  font-family: "AvenirNextCyr-Bold";
  text-align: center;
  font-size: 43px;
  padding: 23px 30% 63px;
}

.block-full-size__title a {
  color: #ffffff;
}

.block-full-size__buttom {
  display: inline-block;
  padding: 19px 50px 19px;
  font-family: "AvenirNextCyr-Demi";
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1.2px;
  color: #ffffff;
}

.block-full-size__buttom__wrap {
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.partners {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1920px;
  margin: 0 auto;
}

.partners__item {
  display: flex;
  width: 16.666666666667%;
  height: 320px;
  align-items: center;
  justify-content: center;
}

.partners__item:nth-child(1),
.partners__item:nth-child(3),
.partners__item:nth-child(5),
.partners__item:nth-child(8),
.partners__item:nth-child(10),
.partners__item:nth-child(12) {
  background-color: #fdfdfd;
}

/*.partners__item:first-child {*/
/*background-color: #d1ebfa;*/
/*}*/

footer {
  padding: 50px;
  padding-top: 45px;
  background-color: #191a1a;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-logo {
  margin-right: 64px;
}

.footer-logo__corp,
.footer-logo__develop,
.footer-logo__develop a {
  font-family: "AvenirNextCyr-Medium";
  font-size: 14px;
  line-height: 1.71;
  color: rgba(255, 255, 255, 0.2);
}

.footer-logo__img {
  display: block;
  margin-bottom: 49px;
  padding-top: 5px;
}

.footer-logo__corp {
  margin-bottom: 143px;
}

.footer-menu {
  display: flex;
}

.footer-sub-menu {
  margin-right: 128px;
  margin-top: -3px;
}

.footer-sub-menu a {
  display: flex;
  font-family: "AvenirNextCyr-Bold";
  font-size: 16px;
  line-height: 1.5;
  color: #ffffff;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-bottom: 16px;
}

.footer-sub-menu svg {
  margin-right: 10px;
}

.footer-sub-menu .wrap-menu-icon-3-svg-f {
  margin: 0 7px 0 3px;
}

.footer-main-menu {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  margin-right: 128px;
  margin-top: -3px;
}

.footer-main-menu > ul:first-child {
  margin-right: 128px;
}

.footer-main-menu a {
  display: inline-block;
  font-family: "AvenirNextCyr-Medium";
  font-size: 16px;
  line-height: 1.5;
  color: #ffffff;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-bottom: 3px;
}

.footer-social-support {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-social__description {
  font-family: "AvenirNextCyr-Medium";
  line-height: 1.5;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.2);
  padding-top: 5px;
  margin-bottom: 8px;
}

.footer-social__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-repeat: no-repeat;
  background-position: 0 center;
  font-family: "AvenirNextCyr-Medium";
  font-size: 16px;
  line-height: 1.5;
  color: #ffffff;
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: 2px;
  margin-bottom: 12px;
}

.footer-social__item:last-child {
  padding-left: 0;
}

.footer-social__item svg {
  margin-right: 10px;
}

.footer-support {
  padding: 20px 70px 20px 70px;
  font-family: "AvenirNextCyr-Demi";
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1.2px;
  color: #ffffff;
  display: inline-block;
}

.footer-support__wrap {
  border-radius: 30px;
  background-color: #39b28b;
}

/* comment-inner */

.container-fd {
  background-color: #fdfdfd;
}

.container {
  width: 1268px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

.container-inner {
  padding-top: 84px;
  padding-bottom: 84px;
}

.container-inner--content {
  /*margin-top: 145px;*/
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
}

.container-disqus {
  padding-bottom: 30px;
}

.inner-post,
.inner-page {
  flex: 1;
}

.inner-post {
  max-width: 851px;
}

.inner-content {
  padding-top: 52px;
}

.inner__title {
  line-height: 1.25;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.inner-content > *:first-child {
  padding-top: 0;
}

.inner-content h2 {
  font-family: "AvenirNextCyr-Bold";
  font-size: 43px;
  line-height: 1;
  padding-bottom: 26px;
  padding-top: 28px;
}

.inner-content h3 {
  font-family: "AvenirNextCyr-Bold";
  font-size: 27px;
  line-height: 1;
  padding-bottom: 26px;
  padding-top: 21px;
}

.inner-content h4 {
  font-family: "AvenirNextCyr-Bold";
  font-size: 22px;
  line-height: 1;
  padding-bottom: 20px;
  padding-top: 15px;
}

.inner-content p {
  font-family: "AvenirNextCyr-Regular";
  font-size: 19px;
  line-height: 1.58;
  padding-bottom: 18px;
}

.inner-content b,
.inner-content strong {
  font-family: "AvenirNextCyr-Bold";
}

.inner-content blockquote {
  font-family: "AvenirNextCyr-Regular";
  font-size: 27px;
  line-height: 1.41;
  background-color: #f2f7f7;
  border-radius: 4px;
  padding: 38px 38px 45px;
  margin-bottom: 18px;
}

.inner-content ul li {
  list-style: disc;
  /*list-style-position: inside;*/
}

.inner-content ol li {
  list-style: decimal;
  /*list-style-position: inside;*/
}

.inner-content li {
  font-family: "AvenirNextCyr-Regular";
  font-size: 19px;
  line-height: 1.58;
  padding-bottom: 18px;
  margin-left: 40px;
}

.inner-content img,
.inner-content figure {
  max-width: 100%;
  height: auto;
}

.inner-content figure {
  margin: 0;
  padding-bottom: 18px;
}

.inner-content a {
  color: rgba(50, 148, 116, 1);
  border-bottom: 1px solid rgba(50, 148, 116, 1);
  transition: all 0.333s;
}

.inner-content a:hover {
  color: #afafaf;
  border-bottom: 1px solid rgba(50, 148, 116, 0);
  transition: all 0.333s;
}

.inner-content .error_text {
  font-family: "AvenirNextCyr-Regular";
  font-size: 16px;
  padding-top: 30px;
}

.inner-aside {
  width: 352px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-left: 65px;
  margin-left: 65px;
  border-left: 1px solid rgba(0, 0, 0, 0.07);
}

.aside-title {
  font-family: "AvenirNextCyr-Bold";
  font-size: 20px;
  line-height: 3.9;
}

.event__item--inner {
  background-color: #f2f7f7;
  margin-bottom: 30px;
}

.event__wrap-tag {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 11px 30px;
}

.event__tag {
  font-size: 13px;
  font-family: "AvenirNextCyr-Bold";
  color: #b4b4b4;
  transition: 0.33s ease-out all;
}

.event__tag:hover {
  color: #39b28b;
}

.matter-aside-wrap {
}

.matter__item:first-child {
  margin-top: 0;
}

.matter__item {
  position: relative;
  margin-top: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ededed;
}

.matter__item:before {
  position: absolute;
  display: block;
  content: ".";
  top: -10px;
  left: 0;
  font-size: 25px;
  transition: 0.33s ease-out all;
}

.matter__link {
  font-size: 18px;
  font-family: "AvenirNextCyr-Regular";
  padding-left: 12px;
  display: block;
  transition: 0.33s ease-out all;
}

.matter__item:hover,
.matter__item:hover .matter__link {
  color: #38b18b;
}

.transparent-form {
  border: 1px solid #f2f2f2;
  border-radius: 40px;
  position: relative;
  display: flex;
}

.aside-form {
  height: 50px;
}

.transparent-form input[type="text"],
.transparent-form input[type="submit"] {
  outline: 0;
  border: 0;
  background: transparent;
}

.transparent-form input[type="text"] {
  font-size: 20px;
  font-family: "AvenirNextCyr-Regular";
  color: #000;
  padding-left: 25px;
  padding-right: 50px;
  width: 100%;
}

.transparent-form input[type="text"]::-webkit-input-placeholder {
  color: #000;
}

.transparent-form input[type="submit"] {
  width: 23px;
  height: 22px;
  background: url("./img/lupa-search.png") no-repeat center;
  position: absolute;
  top: 50%;
  margin-top: -11px;
  right: 15px;
  cursor: pointer;
}

.help-other__title {
  font-size: 43px;
  font-family: "AvenirNextCyr-Bold";
  text-align: center;
  line-height: 1.4;
  margin-bottom: 82px;
}

.help-other__wrap {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.help-other__item {
  width: 400px;
  border-radius: 4px;
  padding: 0 35px;
  display: flex;
  flex-direction: column;
  padding-top: 42px;
  padding-bottom: 45px;
  background: #fff;
}

.help-other__item__title {
  font-size: 20px;
  font-family: "AvenirNextCyr-Bold";
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.help-other__item__txt {
  font-size: 18px;
  font-family: "AvenirNextCyr-Regular";
  text-align: center;
  padding-bottom: 23px;
}

.green-buttom {
  border-radius: 40px;
  background-color: #39b28b;
  width: 300px;
  margin-left: auto;
  margin-right: auto;
  transition: 0.33s ease-out all;
}

.green-buttom:hover {
  background-color: #25c5a3;
}

.green-buttom:hover .green-buttom__link {
  transform: scale(0.95);
}

.green-buttom__link {
  transition: 0.33s ease-out all;
  letter-spacing: 1.2px;
  font-size: 16px;
  font-family: "AvenirNextCyr-Demi";
  color: #fff;
  display: block;
  text-align: center;
  text-transform: uppercase;
  padding-top: 13px;
  padding-bottom: 15px;
}

.help-other__wrap-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.help-other__wrap-links {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.help-other__links {
  padding-bottom: 2px;
  color: #c0c4c4;
  font-size: 12px;
  text-transform: uppercase;
  font-family: "AvenirNextCyr-Demi";
  border-bottom: 1px dashed #c0c4c4;
  margin: 0 15px;
  transition: 0.33s ease-out all;
}

.help-other__links:hover {
  color: #25c5a3;
  border-bottom: 1px dashed #25c5a3;
}

.advice {
  background-color: #39b28b;
}

.advice__item--two {
  width: 50%;
  height: 440px;
}

.advice__item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.advice__item > * {
  position: relative;
  z-index: 1;
}

.advice__item:hover .for-opacity {
  opacity: 1;
}

.for-opacity {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: 0.33s ease-out opacity;
  opacity: 0;
  z-index: 0;
}

.for-opacity__online {
  background-image: url("./img/hover-green2.jpg");
}

.for-opacity__office {
  background-image: url("./img/hover-green.jpg");
}

.for-order-training {
  background-image: url("./img/hover-green3.jpg");
}

.advice__title {
  text-align: center;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 90px;
  padding-bottom: 94px;
  padding-left: 20px;
  padding-right: 20px;
}

.advice-item__title {
  font-family: "AvenirNextCyr-Bold";
  color: #fff;
  text-align: center;
}

.advice-item__title--two {
  font-size: 43px;
  margin-bottom: 20px;
}

.advice-item__txt {
  font-family: "AvenirNextCyr-Regular";
  font-size: 20px;
  color: #fff;
  text-align: center;
}

.advice-item__txt--two {
  width: 500px;
  margin-bottom: 57px;
}

.advice__item--two:first-of-type {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.transparent-buttom {
  border-radius: 40px;
  border: 1px solid #fff;
  width: 375px;
  margin-left: auto;
  margin-right: auto;
}

.transparent-buttom:hover .transparent-buttom__link {
  transform: scale(0.95);
}

.transparent-buttom__link {
  transition: 0.33s ease-out all;
  letter-spacing: 1.2px;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-family: "AvenirNextCyr-Demi";
  display: block;
  text-transform: uppercase;
  padding-top: 19px;
  padding-bottom: 19px;
}

.advice-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.inner-page__buttoms {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 29px;
  border-bottom: 1px solid #ededed;
}

.inner-page__buttom {
  font-size: 16px;
  font-family: "AvenirNextCyr-Demi";
  margin-right: 15px;
  border-radius: 40px;
  margin-bottom: 29px;
}

.inner-page__buttom a {
  padding: 11px 29px 13px;
  display: block;
  transition: 0.33s all ease-out;
}

.inner-page__buttom--facebook {
  background: #4862a3;
}

.inner-page__buttom--facebook a {
  color: #fff;
}

.inner-page__buttom--statement {
  background: #ecf3f3;
}

.inner-page__buttom--statement a {
  color: #000;
}

.container-fb {
  background: #f2f7f7;
}

/* comment-rozv */

.container-tax {
  padding-top: 84px;
}

.container-tax--last {
  padding-bottom: 146px;
}

.container-grey {
  background-color: #f2f7f7;
}

.full-height {
  height: 100vh;
  display: flex;
  min-height: 500px;
}

.full-height__rozv {
  height: 75vh;
  /*background-image: url("./img/rozv-back.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;*/
}

.full-height__wrap--back-communities-development {
  background-image: url("./img/rozv-back.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  /*margin-top: 145px;*/
  width: 100%;
  display: flex;
}

.full-height__wrap {
  /*padding-top: 145px;*/
  width: 740px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.full-height__txt {
  font-family: "AvenirNextCyr-Medium";
  font-size: 20px;
  line-height: 1.35;
  color: #fff;
  text-align: center;
}

.full-height__title {
  font-size: 66px;
  font-family: "AvenirNextCyr-Bold";
  line-height: 1.18;
  color: #fff;
  text-align: center;
}

.full-height__title:after {
  display: block;
  content: "";
  width: 190px;
  margin: 47px auto 49px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.site-title__tax {
  margin-right: 190px;
}

.site-title__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.transparent-form--tax {
  height: 60px;
  flex: 1;
}

.archive-wrap {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 38px;
}

.event__item--archive {
  background: #f2f7f7;
  width: 286px;
  margin-right: 41px;
  margin-bottom: 45px;
}

.event__item--archive:nth-of-type(4n) {
  margin-right: 0;
}

.archive-more-buttom {
  display: flex;
  background-color: #fdfdfd;
  border-radius: 30px;
  flex: 1;
}

.show-all-buttom--archive {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  padding-top: 19px;
  padding-bottom: 21px;
  flex: 1;
}

.wrap-experts {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: wrap;
  flex-direction: row;
  margin-top: 60px;
}

.experts__item {
  width: 33.33333334%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-right: 1px solid #ededed;
  margin-bottom: 60px;
  padding: 0 40px;
}

.experts__item:nth-of-type(3n),
.experts__item:last-of-type {
  border-right: 1px solid rgba(255, 255, 255, 0);
}

.experts__item_team {
  width: 25%;
}

.experts__item_team:nth-of-type(3n) {
  border-right: 1px solid #ededed;
}

.experts__item_team:nth-of-type(4n) {
  border-right: 1px solid rgba(255, 255, 255, 0);
}

.team-title {
  width: 100%;
  font: 43px "AvenirNextCyr-Bold", sans-serif;
  text-align: center;
  padding-bottom: 46px;
  border-bottom: 1px solid #ededed;
}

.team__button__wrap {
  border-radius: 50px;
  border: 1px solid #f6f6f6;
}

.team__button {
  text-align: center;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 1.1px;
  padding-top: 15px;
  padding-bottom: 17px;
  display: block;
  color: #000;
  font-family: "AvenirNextCyr-Demi";
  transition: 0.33s ease-out all;
}

.team__button:hover {
  transform: scale(0.95);
}

.experts__wrap-ability-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.experts-info__wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.experts__ability-info {
  padding-bottom: 26px;
}

.experts__img-wrap {
  font-size: 0;
  width: 240px;
  height: 240px;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #f2f7f7;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border-radius: 50%;
  margin-bottom: 35px;
}

.experts__ability {
  text-align: center;
}

.experts__ability__link {
  font-size: 20px;
  line-height: 1.6;
  font-family: "AvenirNextCyr-Regular";
}

.experts__ability__link_small {
  font-size: 16px;
}
.experts__ability__link_bold {
  font-size: 27px;
  font-family: "AvenirNextCyr-Bold";
}

.gradient-buttom {
  width: 100%;
  line-height: 100%;
  background-image: linear-gradient(to right, #39b28b, #39b2a5);
  border-radius: 25px;
  margin-left: auto;
  margin-right: auto;
}

.gradient-buttom__link {
  text-align: center;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 1.1px;
  padding-top: 15px;
  padding-bottom: 17px;
  display: block;
  color: #fff;
  font-family: "AvenirNextCyr-Demi";
  transition: 0.33s ease-out all;
}

.gradient-buttom__link:hover {
  transform: scale(0.95);
}

.archive-events {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 36px;
}

.event__item--archive-a {
  width: 388px;
  margin-right: 52px;
  margin-bottom: 68px;
  background-color: #fff;
}

.event__item--archive-a:nth-of-type(3n) {
  margin-right: 0;
}

.event__item--archive-a .event-img-wrap,
.event-img-wrap--archive-a {
  height: 231px;
  overflow: hidden;
  border-top-radius: 4px;
}

.event__item--archive-a .event-img-wrap img,
.event-img-wrap--archive-a img {
  width: 100%;
  height: 100%;
}

.services-tax {
  padding-bottom: 96px;
}

.services-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 52px;
  border-left: 1px solid #e1e6e6;
}

.service-item {
  width: 25%;
  height: 245px;
  border-bottom: 1px solid #e1e6e6;
  border-right: 1px solid #e1e6e6;
  display: flex;
  flex-direction: column;
  /*flex-wrap: wrap;*/
  align-items: center;
}

.services-wrap__four .service-item:last-child {
  display: none;
}

.services-wrap__three .service-item {
  width: 33.333333%;
}

.service-img {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 auto;
}

.service-desc {
  height: 112px;
  width: 281px;
  font: 16px "AvenirNextCyr-Regular", sans-serif;
  text-align: center;
}

.service-btn {
  width: 375px;
  margin: 0;
}

/* documents */
.document-title {
  padding-top: 100px;
}

.wrap-documents {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /* align-items: stretch; */
  /* justify-content: flex-start; */
  margin: 60px -20px 0;
}

.document-item {
  position: relative;
  width: calc(25% - 40px);
  min-height: 200px;
  background: #f2f7f7;
  padding: 12px 27px 27px;
  border-radius: 5px;
  margin: 0 20px 40px;
}
/* 
.document-item:nth-child(4n) {
    margin-right: 0;
} */

.document-item:before {
  content: "";
  position: absolute;
  width: 36px;
  height: 36px;
  background: url("./img/documents-corner.jpg") no-repeat;
  top: 0;
  right: 0;
}

.document-item__type {
  font: 13px "AvenirNextCyr-Bold", sans-serif;
  text-transform: uppercase;
  color: #fff;
  padding: 4px 12px 5px;
  border-radius: 3px;
}

.document-item__type_absolute {
  position: absolute;
  right: 25px;
  bottom: 14px;
}

.document-item__type_pdf {
  background: #ff3e40;
}

.document-item__type_doc,
.document-item__type_docx {
  background: #2968a3;
}

.document-item__type_xlsx,
.document-item__type_xsl {
  background: #2ba37d;
}

.document-item__title {
  font: 20px "AvenirNextCyr-Bold", sans-serif;
  padding-top: 22px;
  overflow: hidden;
}

.document-item__title a {
  transition: 0.33s ease-out all;
}

.document-item__title a:hover {
  color: rgba(57, 178, 139, 1);
  transition: 0.33s ease-out all;
}

/*comment-maysternya*/

.full-height__wrap--back-citizens-workshop {
  background-image: url("./img/maysternya.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  /*margin-top: 145px;*/
  width: 100%;
  display: flex;
}

.advice-wrap--three {
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
}

.advice__item--three {
  width: 33.33333334%;
  height: 440px;
  display: flex;
  flex-direction: column;
}

.advice-item__title--three {
  font-size: 41px;
  margin-bottom: 15px;
}

.advice__item--three:nth-child(2) {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.advice-item__txt--three {
  margin-bottom: 57px;
  max-width: 515px;
  padding-left: 20px;
  padding-right: 20px;
}

/*comment-office*/

.offices {
  /*padding-top: 145px;*/
}

.archive-post-type {
  padding-bottom: 100px;
}

.office-title {
  text-align: center;
  margin-top: 75px;
  font-size: 66px;
  line-height: 1.18;
  padding-bottom: 70px;
}

.offices__form {
  width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
  top: 25px;
  z-index: 3;
}

.offices__form.offices__form--archive {
  justify-content: center;
}

/*.offices__form.offices__form--archive .office-form-input {*/
/*margin-left: 50px;*/
/*}*/

.container-materials {
  border-top: 1px solid #f2f2f2;
}

.offices__form > * {
  /*width: 360px;
    height: 50px;
    border-radius: 40px;
    font-size: 20px;
    font-family: "AvenirNextCyr-Regular";
    display: flex;
    border-radius: 40px;
    position: relative;
    border: 1px solid #f2f2f2;
    padding-left: 20px;
    padding-right: 20px;*/
}

.selectize-control {
  height: 50px;
  margin-left: 50px;
}

.selectize-control:first-of-type {
  margin-left: 0;
}

.offices__form .selectize-input {
  width: 360px;
  height: 50px;
  padding-left: 20px;
  padding-right: 50px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  box-shadow: none;
}

.offices__form .selectize-dropdown {
  box-shadow: none;
}

.office-form-input {
  width: 360px;
  height: 50px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  position: relative;
  border-radius: 40px;
  border: 1px solid #d0d0d0;
  z-index: 2;
  background: #fff;
}

.office-form-input input[type="text"],
.office-form-input input[type="search"] {
  width: 100%;
  outline: 0;
  border: 0;
  background: transparent;
  padding-left: 20px;
  font-size: 20px;
  font-family: "AvenirNextCyr-Regular";
}

.office-form-input input[type="submit"] {
  width: 23px;
  height: 22px;
  background: transparent;
  background: url("./img/lupa-search.png") no-repeat center;
  position: absolute;
  top: 50%;
  margin-top: -11px;
  right: 15px;
  cursor: pointer;
  border: 0;
  outline: 0;
  z-index: 10;
}

.offices__form .selectize-input > * {
  height: 21px;
  font-family: "AvenirNextCyr-Regular";
  font-size: 20px;
  vertical-align: middle;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.offices__form .selectize-dropdown [data-selectable],
.selectize-dropdown .optgroup-header {
  font-family: "AvenirNextCyr-Regular";
  font-size: 20px;
  vertical-align: middle;
  padding-left: 20px;
  padding-right: 50px;
}

.offices__form .selectize-control.single .selectize-input:after {
  border: 0;
  right: 30px;
  width: 13px;
  height: 8px;
  background: url("./img/arrow-office.png") no-repeat center;
}

.offices__form select {
  /*-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    background-color: transparent;
    border:0;
    outline: 0;
    font-size: 20px;
    font-family: "AvenirNextCyr-Regular";*/
}

.offices__form option {
  /*border:0;
    outline: 0;*/
}

.office__item {
  /*border: 1px solid rgba(237,237,237,1);*/
  border-radius: 4px;
  /*border-top: 1px solid rgb(237,237,237);*/
}

.office__adress {
  font-size: 13px;
  font-family: "AvenirNextCyr-Bold";
  color: #b4b4b4;
  padding-top: 10px;
  padding-bottom: 10px;
}

.office__wrap--adress {
}

.office__wrap--adress:after {
  display: block;
  content: "";
  border-bottom: 1px solid rgb(237, 237, 237);
  position: absolute;
  width: 100%;
  left: 0;
}

.office__wrap {
  padding-left: 28px;
  padding-right: 28px;
}

.office__item {
  width: 388px;
  /*min-height: 176px;*/
  margin-right: 52px;
  margin-top: 55px;
  position: relative;
  display: flex;
  flex-direction: column;
  /*border-left: 1px solid rgb(237,237,237);
    border-right: 1px solid rgb(237,237,237);*/
}

.office__wrap--help-boreder {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgb(237, 237, 237);
  border-bottom: 0;
  border-radius: 4px;
}

.office__item:nth-of-type(3n) {
  margin-right: 0;
}

.office__title {
  position: relative;
  min-height: 138px;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
}

.office__title:after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 4px;
  left: 0;
  top: 99%;
  width: 100%;
  border-bottom: 1px solid rgb(237, 237, 237);
}

.office__title-link {
  color: #000;
  font-size: 27px;
  font-family: "AvenirNextCyr-Bold";
  display: block;
  padding-top: 31px;
  padding-bottom: 41px;
  transition: 0.33s ease-out;
}

.container-office {
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  border-top: 1px solid rgb(237, 237, 237);
  padding-bottom: 134px;
}

.office__item--absolute-wrap {
  position: absolute;
  width: 100%;
  top: 100%;
  height: auto;
  overflow: hidden;
  display: none;
  flex-direction: column;
  background: #fff;
  border-radius: 4px;
  border: 1px solid rgb(237, 237, 237);
  transform: translateY(-2px);
}

.height--auto {
  height: auto;
}

.office__logo {
  position: relative;
  font-size: 0;
  text-align: left;
}

.office__logo img {
  display: inline-block;
  padding: 30px;
  max-width: 100%;
}

.office__logo:after {
  display: block;
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  border-top: 1px solid rgb(237, 237, 237);
}

.office-speciality {
  padding: 30px;
  position: relative;
}

.office-speciality:after {
  border-top: 1px solid rgb(237, 237, 237);
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  content: "";
  display: block;
}

.office-speciality p {
  font-size: 20px;
  font-family: "AvenirNextCyr-Medium";
  color: #000;
  padding-bottom: 15px;
}

.office-speciality__list li {
  font-size: 18px;
  font-family: "AvenirNextCyr-Regular";
  color: #000;
  padding-bottom: 7px;
  position: relative;
  padding-left: 10px;
}

.office-speciality__list li:before {
  position: absolute;
  display: block;
  content: ".";
  top: -10px;
  left: 0;
  font-size: 25px;
  transition: 0.33s ease-out all;
}

.office-info {
  padding: 30px;
}

.office-info__mode--title {
  font-family: "AvenirNextCyr-Medium";
  color: #000;
  font-size: 20px;
  padding-bottom: 5px;
}

.office-info__mode--title a {
  font-family: "AvenirNextCyr-Regular";
  font-size: 18px;
  color: #000;
}

.office-info__mode--txt {
  padding-bottom: 5px;
  color: #000;
  font-size: 18px;
  font-family: "AvenirNextCyr-Regular";
}

.office-info__mode {
  padding-bottom: 10px;
}

.office-button {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-direction: column;
  width: 320px;
  margin: 0 auto;
  text-align: center;
  background-image: -moz-linear-gradient(
    -1deg,
    rgb(57, 178, 139) 0%,
    rgb(57, 178, 165) 100%
  );
  background-image: -webkit-linear-gradient(
    -1deg,
    rgb(57, 178, 139) 0%,
    rgb(57, 178, 165) 100%
  );
  background-image: -ms-linear-gradient(
    -1deg,
    rgb(57, 178, 139) 0%,
    rgb(57, 178, 165) 100%
  );
  height: 50px;
  border-radius: 40px;
  margin-bottom: 50px;
}

.office-button a {
  font-family: "AvenirNextCyr-Demi";
  font-size: 16px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.1px;
}

.office__close {
  display: none;
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
}

.office__close:hover .wrap-close-icon-svg {
  fill: #38b18b;
}

.office__title:hover .office__title-link {
  color: #38b18b;
}

.advice-item__title--one {
  font-size: 56px;
  color: #fff;
  font-family: "AvenirNextCyr-Bold";
  text-align: center;
}

.advice__item--one {
  width: 545px;
  margin: 0 auto;
  padding-top: 130px;
  padding-bottom: 130px;
}

.advice-item__title--one {
  padding-bottom: 32px;
}

.advice-item__txt--one {
  padding-bottom: 40px;
}

#map {
  height: 600px;
  position: relative;
}

.map__container {
  height: 600px;
  position: relative;
}

.none-map__block {
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.8);
  height: 600px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.none-map__txt {
  font-size: 20px;
  font-family: "AvenirNextCyr-Bold";
  color: #000;
  text-align: center;
  max-width: 280px;
}

.z-index__10000 {
  z-index: 10000;
}

.back-office {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 9999;
  display: none;
  top: 0;
  left: 0;
}

/* comment-pagination */

.pagination--materials {
  margin-top: 75px;
}

.pagination {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 50px;
}

.pagination li {
  border-radius: 50%;
  overflow: hidden;
  margin: 0 5px;
}

.pagination li.prev,
.pagination li.next {
  border-radius: 40px;
}
.pagination li.disabled {
  pointer-events: none;
  opacity: 0.2;
}

.pagination li > * {
  position: relative;
  padding: 9px 15px;
  display: block;
  font-family: "AvenirNextCyr-Regular";
  font-size: 20px;
  transition: 0.33s all ease-out;
}

.pagination li > a:before,
.pagination li > span:before {
  position: absolute;
  content: "";
  width: 42px;
  height: 42px;
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.pagination li.prev > a:before,
.pagination li.next > a:before {
  display: none;
}

.pagination li:hover > a:before {
  background-color: #f2f7f7;
}

.pagination__white li.active > span:before,
.pagination__white li:hover > a:before {
  background-color: #fff;
}

.pagination li.active > span,
.pagination li.active > a {
  font-family: "AvenirNextCyr-Bold";
  pointer-events: none;
}

.pagination li.active > span:before,
.pagination li.active > a:before {
  background-color: #f2f7f7;
}

.pagination li.prev > *,
.pagination li.next > * {
  padding: 9px 0;
  background-repeat: no-repeat;
  background-color: #f2f7f7;
}

.pagination li.next > * {
  background-image: url(./img/arrow-pag-next.png);
  background-position: right 25px top 50%;
  padding-left: 25px;
  padding-right: 50px;
}

.pagination li.next > *:hover {
  background-position: right 15px top 50%;
}

.pagination li.prev > * {
  background-image: url(./img/arrow-pag-prev.png);
  background-position: left 25px top 50%;
  padding-left: 50px;
  padding-right: 25px;
}

.pagination li.prev > *:hover {
  background-position: left 15px top 50%;
}

.pagination li.disable {
  display: none;
}

.main__error-404 {
  height: 100vh;
  background: #191a1a;
  padding-top: 146px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.error-404__message {
  text-align: center;
  font-size: 27px;
  font-family: "AvenirNextCyr-Medium";
  color: #fff;
  padding-left: 20px;
  padding-right: 20px;
}

.none-posts__container {
  height: 285px;
  background: #f2f7f7;
  margin-bottom: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.none-posts__txt {
  text-align: center;
  max-width: 270px;
  font-size: 20px;
  font-family: "AvenirNextCyr-Bold";
}

.wrap-form-statement {
  transition: 0.5s opacity ease-out;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(57, 178, 139, 0.9);
  opacity: 0;
  display: flex;
  pointer-events: none;
  align-items: center;
}

.wrap-form-statement-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.wrap-form-statement-item {
  max-width: 700px;
  margin: 0 auto;
  max-height: 100vh;
  height: 822px;
  padding-bottom: 20px;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
  z-index: 2;
  position: relative;
  width: 100%;
}

.wrap-form-statement-for-back {
  background: #fff;
  border-radius: 4px;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow: hidden;
}

.form-statement-scroll::-webkit-scrollbar {
  width: 6px;
  background: transparent;
  margin-right: 2px;
}

.form-statement-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.form-statement-scroll::-webkit-scrollbar-thumb {
  width: 6px;
  background: #aaaaaa;
  border-radius: 10px;
}

.wrap-form-statement {
  /*background-color: rgba(57,178,139,0.9);*/
}

.form-statement--title {
  font-size: 43px;
  color: #000;
  font-family: "AvenirNextCyr-Bold";
  text-align: center;
  padding: 28px 85px 32px;
  border-bottom: 1px solid #f6f6f6;
}

.close-statement-form {
  position: absolute;
  display: flex;
  font-family: "Times New Roman";
  align-items: center;
  justify-content: center;
  top: 38px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #f2f2f2;
  color: #d1d1d1;
  font-size: 34px;
  transition: 0.33s ease-out;
}

.wrap-form-statement__person-info .close-statement-form {
  top: 24px;
}

.close-statement-form:hover {
  border: 0;
  background: rgba(57, 178, 139, 1);
  color: #fff;
}

.form-statement {
  padding: 55px 70px;
  transform: translateX(0);
  transition: 2s;
}

.form-statement.hide-form {
  transform: translateX(100%);
  transition: 0.666s;
}

.after-send {
  position: absolute;
  padding: 55px 70px;
  width: 100%;
  font-size: 20px;
  font-family: "AvenirNextCyr-Regular";
  transform: translateX(-100%);
  transition: 2s;
}

.after-send.alert-danger,
.after-send.alert-success {
  transform: translateX(0%);
  transition: 0.666s;
}

.after-send.alert-success {
  color: #3aa168;
}
.after-send.alert-danger {
  color: #ff7253;
}

.form-statement-scroll {
  flex: 1 0 auto;
  height: 200px;
  overflow-x: hidden;
}

.form-statement > input[type="email"],
.form-statement > input[type="tel"],
.form-statement > input[type="date"],
.form-statement > input[type="text"],
.form-statement > textarea {
  border: 1px solid #f2f2f2;
  border-radius: 40px;
  resize: none;
  width: 100%;
  font-size: 20px;
  font-family: "AvenirNextCyr-Regular";
  color: #000;
  display: block;
  margin-bottom: 20px;
  padding: 12px 30px;
  transition: border 0.666s;
}

.form-statement > input[type="text"].input_error,
.form-statement > .input_error {
  border: 1px solid #e46868;
  transition: border 0.666s;
}

.form-statement > input::-webkit-input-placeholder,
.form-statement > textarea::-webkit-input-placeholder {
  color: #000;
}
.form-statement > input::-moz-placeholder,
.form-statement > textarea::-moz-placeholder {
  color: #000;
} /* Firefox 19+ */
.form-statement > input:-moz-placeholder,
.form-statement > textarea:-moz-placeholder {
  color: #000;
} /* Firefox 18- */
.form-statement > input:-ms-input-placeholder,
.form-statement > textarea:-ms-input-placeholder {
  color: #000;
}

.form-statement > textarea {
  height: 120px;
  border-radius: 25px;
}

.form-statement > input[type="submit"] {
  display: block;
  border-radius: 40px;
  background-image: linear-gradient(to right, #39b28b, #39b2a5);
  border: 0;
  font-size: 15px;
  font-family: "AvenirNextCyr-Demi";
  color: #fff;
  max-width: 300px;
  width: 100%;
  height: 50px;
  text-transform: uppercase;
  cursor: pointer;
  margin: 0 auto;
  transition: 0.33s all ease-out;
}

.form-statement > input[type="submit"]:hover {
  transform: scale(0.95);
}

.selectedText {
  font-family: "AvenirNextCyr-Regular";
  background: #fef7cf;
  padding: 5px;
  margin-bottom: 20px;
}

.captcha {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 0 20px;
  margin: 35px auto 35px;
}

.error_msg {
  text-align: center;
  font-family: "AvenirNextCyr-Regular";
  font-size: 18px;
  color: #e05e5e;
  padding: 15px;
}

.help-other__item .likely-big .likely__widget {
  margin-left: 3px;
  margin-right: 3px;
}

.wrap-select-helpfull .offices__form {
  width: 100%;
  justify-content: flex-start;
}

.helpfull-block .selectize-control {
  margin-right: 20px;
  margin-left: 0;
}

.helpfull-block .offices__form .selectize-input {
  transition: 0.33s ease-in width;
}

.helpfull-block .offices__form.actf .selectize-input {
  width: 280px;
}

.helpfull-block .office-form-input {
  width: 50px;
  margin-left: 78px;
  transition: 0.33s ease-in;
}

.helpfull-block .offices__form--archive.actf .office-form-input {
  width: 400px;
  margin-left: 0;
}

.helpfull-block .office-form-input input[type="search"] {
  width: 0;
  transition: 0.33s ease-in;
}

.helpfull-block .offices__form--archive.actf input[type="search"] {
  width: 100%;
}

.helpfull-block .office-form-input input[type="submit"] {
  right: 12px;
}

.team-popup__header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  text-align: left;
  padding: 20px 40px;
  border-bottom: 1px solid #f6f6f6;
}

.team-popup__header li {
  text-align: left;
}

.popup__header-photo {
  flex: 104px 0 0;
  width: 104px;
  height: 104px;
  background-color: #ccc;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 50%;
  margin-right: 20px;
}

.team-popup__body {
  font: 19px "AvenirNextCyr-Regular", sans-serif;
  line-height: 158%;
  padding: 50px 40px;
}

.team-popup__body .gradient-buttom {
  max-width: 325px;
  margin-top: 20px;
}

.search .office-form-input {
  max-width: 640px;
  width: 100%;
}

.title-search {
  font-family: "AvenirNextCyr-Bold";
  font-size: 43px;
}

.search .event__item--archive-a {
  background: #f2f7f7;
}

.search .container-materials {
  padding: 0;
  border: 0;
}

.search .offices__form {
  /*padding-bottom: 50px;*/
}

.wrap-search {
  border-top: 1px solid #f2f2f2;
  padding-top: 100px;
  padding-bottom: 80px;
}

.pagination--search .pagination {
  display: inline-block;
  width: 100%;
  overflow: hidden;
  margin-bottom: 0;
  margin-top: 8px;
}

.pagination--search .prev {
  float: left;
}

.pagination--search .next {
  float: right;
}

.pagination--search {
  text-align: center;
  font-size: 0;
  height: 60px;
  overflow: hidden;
  margin-bottom: 50px;
  border-radius: 40px;
  border: 1px solid #dbe0e0;
}

.pagination--search li {
  display: inline-block;
}

.pagination--search .pagination li.prev > *,
.pagination--search .pagination li.next > * {
  background-color: transparent;
}

/* inner-page */
.inner-page {
  /*margin-top: 145px;*/
}

.page-title {
  background-color: #fdfdfd;
  padding: 60px 0 64px;
  border-bottom: 1px solid #f2f2f2;
}

.page-title__wrapper {
  font-family: "AvenirNextCyr-Bold", sans-serif;
  font-size: 56px;
  text-align: center;
  line-height: 1.05;
  padding: 0;
  border-bottom: none;
}

.page-title_desc {
  max-width: 847px;
  font-size: 19px;
  line-height: 30px;
  color: #000000;
  font-family: "AvenirNextCyr-Regular", sans-serif;
  padding-top: 56px;
}

.page-submenu {
  width: 100%;
  min-height: 49px;
  border-bottom: 1px solid #f2f2f2;
}

.page-submenu {
  text-align: center;
  margin: 0 auto;
}

.page-submenu__wrapper ul {
  height: 100%;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
}

.page-submenu__menu-item {
  position: relative;
  display: inline-block;
}

.page-submenu__menu-item a {
  font-size: 20px;
  font-family: "AvenirNextCyr-Regular";
  line-height: 49px;
  padding: 0 25px;
}

.page-submenu__menu-item.current-menu-item a {
  font-family: "AvenirNextCyr-Demi";
  pointer-events: none;
}

.page-submenu__menu-item.current-menu-item:after {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border: 14px solid transparent;
  border-top: 14px solid #ffffff;
  bottom: -27px;
  left: 50%;
  transform: translateX(-50%);
}
.page-submenu__menu-item.current-menu-item:before {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border: 15px solid transparent;
  border-top: 15px solid #f2f2f2;
  bottom: -29px;
  left: 50%;
  transform: translateX(-50%);
}

.page-submenu__menu-item a:hover {
  color: rgba(57, 178, 139, 1);
}

.page-content {
  max-width: 846px;
  padding: 70px 0 120px;
  margin: 0 auto;
}

.donate-form {
  display: none;
  background: #f2f7f7;
  padding: 20px 105px 45px 45px;
  border-radius: 3px;
  margin: 20px 0 30px;
}

.donate-form label {
  display: inline-block;
  width: 90px;
  font: 20px "AvenirNextCyr-Regular", sans-serif;
}

.donate-form input[type="text"],
.donate-form input[type="email"],
.donate-form input[type="number"] {
  height: 52px;
  width: 367px;
  background: #fff;
  font: 20px "AvenirNextCyr-Regular", sans-serif;
  color: #000;
  padding: 5px 25px;
  border: 1px solid #f2f2f2;
  border-radius: 50px;
  box-sizing: border-box;
  margin-bottom: 8px;
}

.donate-btn {
  background: transparent;
  cursor: pointer;
  color: #fff !important;
  right: 0;
  padding: 15px 61px 15px;
  border: 0 !important;
}

.donate-form .home-slider__button__wrap {
  margin-top: 32px;
}

/*legal-help*/

.vis_canvas_wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  padding-top: 146px;
  margin-top: -146px;
  box-sizing: border-box;
  overflow: hidden;
}

.zoom_wrapper {
  position: absolute;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  bottom: 30px;
  right: 30px;
  width: 85px;
}

.zoom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #39b28b;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.zoom:hover {
  background: #389c75;
}

/*mailchimp*/

#mc_embed_signup_scroll input[type="email"] {
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #fff;
  color: #fff;
  margin-top: 30px;
  font-family: "AvenirNextCyr-Demi";
  text-transform: uppercase;
  font-size: 16px;
  width: 100%;
  padding-bottom: 5px;
  padding-left: 10px;
}
#mc_embed_signup_scroll .mailchimp-btn {
  border-radius: 30px;
  background-color: #39b28b;
  margin-top: 15px;
  text-align: center;
}
#mc_embed_signup_scroll .mailchimp-btn input[type="submit"] {
  padding: 20px 70px 20px 70px;
  font-family: "AvenirNextCyr-Demi";
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1.2px;
  color: #ffffff;
  display: inline-block;
  border: none;
  cursor: pointer;
  background-color: transparent;
  transition: 0.33s ease-out all;
}
#mc_embed_signup_scroll input[type="submit"]:hover {
  transform: scale(0.95);
}
#mc_embed_signup #mc_embed_signup_scroll div.mce_inline_error {
  margin: 5px 0 1em 0;
  padding: 5px 10px;
  font-family: "AvenirNextCyr-Demi";
  background-color: transparent;
  font-weight: bold;
  z-index: 1;
  color: #f00;
}
#mce-responses * {
  color: #fff;
}

#mce-error-response,
#mce-success-response {
  height: 0;
  width: 0;
  opacity: 0;
}

#mce-error-response,
#my-mce-error-response,
#mce-success-response,
#my-mce-success-response {
  display: none;
  margin-top: 5px;
  padding-left: 10px;
}

/* feedback */

.feedback_wrapper {
  position: relative;
  max-height: 5000px;
  right: 0;
  overflow: hidden;
  transition: all 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) 0.8s,
    max-height 0.8s linear;
}

.feedback_wrapper.hide {
  right: 220%;
  max-height: 0;
  transition: right 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) 0.8s,
    max-height 0.8s linear;
}

.feedback_title {
  font-size: 66px;
}

.question_block {
  background-color: #f1f7f7;
  padding: 57px 50px;
  border-radius: 4px;
  margin-bottom: 30px;
}

.question_block.error {
  background-color: #f7a6b1;
}

.question_title {
  font-family: "AvenirNextCyr-Bold", sans-serif;
  font-size: 27px;
  padding-bottom: 15px;
}

.rating {
  display: flex;
  flex-direction: row;
}

.rating a,
.rating a:hover {
  border: 0;
}

.rating .rating_mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  font-family: "AvenirNextCyr-Regular", sans-serif;
  font-size: 20px;
  color: #000;
  border-radius: 100%;
  border: 0;
  background-color: #ffffff;
  margin-right: 18px;
}

.rating_mark:last-child {
  margin-right: 0;
}

.rating .rating_mark:first-child:hover,
.rating .rating_mark:nth-child(2):hover,
.rating .rating_mark.checked_mark:first-child,
.rating .rating_mark.checked_mark:nth-child(2),
.rating .rating_status:nth-child(2):hover,
.rating .rating_status.checked_mark:nth-child(2) {
  background-color: #ff8470;
  color: #fff;
}

.rating .rating_mark:nth-child(3):hover,
.rating .rating_mark.checked_mark:nth-child(3),
.rating .rating_status:last-child:hover,
.rating .rating_status.checked_mark:last-child {
  background-color: #ffd15b;
  color: #fff;
}

.rating .rating_mark:nth-child(4):hover,
.rating .rating_mark:last-child:hover,
.rating .rating_mark.checked_mark:nth-child(4),
.rating .rating_mark.checked_mark:last-child,
.rating .rating_status:first-child:hover,
.rating .rating_status.checked_mark:first-child {
  background-color: #39b18b;
  color: #fff;
}

.rating .rating_mark:after {
  content: "";
  display: block;
  position: absolute;
  transition: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) all;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  opacity: 0;
}

.rating .checked_mark:after {
  transition: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) all;
  width: 88px;
  height: 88px;
  opacity: 1;
}

.rating .rating_mark:first-child:after,
.rating .rating_mark:nth-child(2):after {
  border: 1px solid #ff836f40;
}

.rating .rating_mark:nth-child(3):after {
  border: 1px solid #d5a52d40;
}

.rating .rating_mark:nth-child(4):after,
.rating .rating_mark:last-child:after {
  border: 1px solid #39b18b40;
}

.rating .rating_status {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 72px;
  font-family: "AvenirNextCyr-Regular", sans-serif;
  font-size: 20px;
  color: #000;
  padding: 0 40px;
  border-radius: 35px;
  border: 0;
  background-color: #ffffff;
  margin-right: 18px;
}

.rating .rating_status:last-child {
  margin-right: 0;
}

.explanation_answer {
  padding-top: 0;
  height: 0;
  overflow: hidden;
  transition: 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) all;
}

.explanation_answer.show {
  padding-top: 20px;
  height: 200px;
  transition: 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) all;
}

.explanation_answer-desc {
  font-size: 20px;
  font-family: "AvenirNextCyr-Regular", sans-serif;
  padding-top: 10px;
  padding-bottom: 20px;
}

.explanation_answer-field {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  min-height: 122px;
  font-size: 20px;
  font-family: "AvenirNextCyr-Regular", sans-serif;
  padding: 22px 20px;
  border-radius: 3px;
  background-color: #ffffff;
  border: 1px solid #f1f1f1;
}

.explanation_answer-field::-webkit-input-placeholder {
  color: #f1f1f1;
}

.explanation_answer-field:-moz-placeholder {
  /* Firefox 18- */
  color: #f1f1f1;
}

.explanation_answer-field::-moz-placeholder {
  /* Firefox 19+ */
  color: #f1f1f1;
}

.explanation_answer-field:-ms-input-placeholder {
  color: #f1f1f1;
}

.office-select {
  padding-top: 30px;
}

.office-select_wrapper {
  display: flex;
  flex-direction: row;
}

.office-select_wrapper .selectize-input {
  width: 100%;
  height: 50px;
  padding-left: 20px;
  padding-right: 50px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  box-shadow: none;
  border: 1px solid #f1f1f1;
}

.office-select_wrapper .selectize-input > * {
  height: 21px;
  font-family: "AvenirNextCyr-Regular";
  font-size: 20px;
  vertical-align: middle;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.office-select_wrapper .selectize-control {
  width: 50%;
  margin-left: 0;
  margin-right: 18px;
}

.office-select_wrapper .selectize-control:last-child {
  margin-right: 0;
  margin-bottom: 0;
}

.office-select_wrapper .selectize-input.dropdown-active {
  -webkit-border-radius: 25px 25px 0 0;
  -moz-border-radius: 25px 25px 0 0;
  border-radius: 25px 25px 0 0;
}

.office-select_wrapper .selectize-dropdown {
  border: 1px solid #f1f1f1;
}

.office-select_wrapper .selectize-dropdown [data-selectable],
.office-select_wrapper .selectize-dropdown .optgroup-header {
  font-family: "AvenirNextCyr-Regular";
  font-size: 20px;
  vertical-align: middle;
  padding-left: 20px;
  padding-right: 50px;
}

.personal_field {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 550px;
  font-family: "AvenirNextCyr-Regular";
  font-size: 20px;
  padding-bottom: 10px;
}

.personal_field:last-child {
  padding-bottom: 0;
}

.personal_field input {
  width: 360px;
  /*height: 50px;*/
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-family: "AvenirNextCyr-Regular";
  font-size: 20px;
  background: #fff;
  padding: 9px 20px;
  border-radius: 40px;
  border: 1px solid #f1f1f1;
}

.personal_field input.error {
  background-color: #f7a6b1;
}

.question_block .question_title {
  padding-bottom: 40px;
}

.feedback_submit {
  width: 300px;
  border-radius: 45px;
}

.feedback_submit input {
  width: 100%;
  font-size: 16px;
  padding-top: 20px;
  padding-bottom: 21px;
  background: none;
  border: none;
  cursor: pointer;
}

.feedback_thanks_wrapper {
  height: 0;
  overflow: hidden;
  left: -220%;
  transition: 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) all;
}

.feedback_thanks_wrapper.show {
  height: 500px;
  left: 0;
  transition: 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) all;
}

.feedback_thanks {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 70px 0 90px;
  border-radius: 4px;
  border: 1px solid #f2f2f2;
}

.feedback_thanks-img {
  width: 116px;
  height: 116px;
}

.feedback_thanks-title {
  font-size: 27px;
  font-family: "AvenirNextCyr-Bold";
  padding-top: 29px;
}

.feedback_thanks-text a {
  color: #39b28b;
}

.feedback_thanks-text {
  max-width: 370px;
  text-align: center;
  font-size: 20px;
  line-height: 28px;
  font-family: "AvenirNextCyr-Regular";
  padding-top: 40px;
}

@media (max-width: 1919px) {
  .languages-wrap {
    min-width: 130px;
  }

  .languages-wrap ul {
    padding-left: 40px;
  }

  .languages-wrap li:after {
    width: 0;
  }

  .header-top__menu-item a {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14px;
    line-height: normal;
  }

  .search-form input[type="text"] {
    padding-left: 24px;
    padding-right: 48px;
    line-height: normal;
  }

  .search-form input[type="text"]::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    font-size: 14px;
  }
  .search-form input[type="text"]::-moz-placeholder {
    /* Firefox 19+ */
    font-size: 14px;
  }
  .search-form input[type="text"]:-ms-input-placeholder {
    /* IE 10+ */
    font-size: 14px;
  }
  .search-form input[type="text"]:-moz-placeholder {
    /* Firefox 18- */
    font-size: 14px;
  }

  .search-form input[type="submit"] {
    right: 24px;
  }

  .header-support a {
    font-size: 14px;
    padding-left: 25px;
    padding-right: 25px;
    line-height: normal;
  }

  .logo-wrap {
    min-width: 230px;
  }

  .home-slider__content {
    padding-bottom: 50px;
    padding-left: 40px;
  }

  .home-slider__title {
    font-size: 56px;
    line-height: 1.39;
    padding-bottom: 10px;
  }

  .home-slider__txt {
    font-size: 20px;
    padding-bottom: 49px;
  }

  .home-slider__button {
    font-size: 15px;
    letter-spacing: 1.1px;
    padding: 19px 32px 17px;
    right: 0;
  }

  .flex-control-nav {
    bottom: 68px;
    left: 475px;
  }

  .flex-next {
    bottom: 45px;
    left: 650px;
  }

  .flex-prev {
    bottom: 45px;
    left: 346px;
  }

  .home-slider {
    min-height: 525px;
  }

  .home-slider__item {
    min-height: 525px;
  }

  .container-event {
    padding-right: 40px;
    max-width: 890px;
    margin-left: auto;
    margin-right: auto;
  }

  .events {
    padding-left: 40px;
  }

  .event__item--main {
    width: 255px;
    margin-bottom: 30px;
  }

  .event-img-wrap {
    height: 152px;
  }

  .event-title {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 30px;
  }

  .event-full-date,
  .event-due-date {
    padding-left: 20px;
  }

  .news {
    padding-left: 40px;
    min-width: 462px;
    max-width: 462px;
  }

  .show-all-buttom--news {
    margin-right: 40px;
  }

  .wrap-two-blocks > * {
    padding-bottom: 100px;
  }

  .two-blocks-txt {
    padding-left: 70px;
    padding-right: 70px;
  }

  .block-full-size__title {
    padding-right: 23%;
    padding-left: 23%;
  }

  .partners__item {
    width: 25%;
    height: 340px;
  }

  .partners__item:nth-child(1),
  .partners__item:nth-child(3),
  .partners__item:nth-child(5),
  .partners__item:nth-child(8),
  .partners__item:nth-child(10),
  .partners__item:nth-child(12) {
    background-color: #fff;
  }

  .partners__item:nth-child(1),
  .partners__item:nth-child(3),
  .partners__item:nth-child(6),
  .partners__item:nth-child(8),
  .partners__item:nth-child(9),
  .partners__item:nth-child(11) {
    background-color: #fdfdfd;
  }

  /*.partners__item:first-child {*/
  /*background-color: #d1ebfa;*/
  /*}*/

  footer {
    justify-content: flex-start;
  }

  .footer-logo {
    margin-right: 24px;
  }

  .footer-sub-menu {
    margin-right: 65px;
  }

  .footer-main-menu > ul:first-child {
    margin-right: 65px;
  }

  .footer-main-menu {
    margin-right: 80px;
  }

  .footer-support {
    padding-left: 65px;
    padding-right: 65px;
  }

  .menu-wrap ul {
    flex-wrap: nowrap;
  }

  .header-bottom__menu-item a {
    padding-right: 40px;
    padding-left: 65.5px;
  }

  .event__wrap-tag {
    padding: 11px 20px;
  }
}

@media (max-width: 1365px) {
  .search .offices__form--archive {
    top: 25px;
  }

  .languages-wrap li:after {
    display: none;
  }

  .languages-wrap {
    min-width: 75px;
    justify-content: space-around;
  }

  .languages-wrap ul {
    padding-left: 0;
    align-content: center;
  }

  .languages-wrap li {
    padding-right: 16px;
  }

  .languages-wrap li:last-child {
    padding-right: 0;
  }

  .header-top__menu-item a {
    font-size: 12px;
    padding-left: 5px;
    padding-right: 5px;
  }

  .header-form-social {
    /*flex: 1 0 auto;*/
  }

  .header-support a {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 13px;
  }

  .socials__item {
    width: 42px;
  }

  .search-form {
    max-width: 42px;
    border-right: 0;
  }

  .search-form input[type="text"] {
    padding-right: 37px;
  }

  .search-form input[type="submit"] {
    right: 10px;
  }

  .header-form-social {
    justify-content: flex-end;
  }

  /*.logo-wrap {*/
  /*background-size: 152px 65px;*/
  /*}*/

  .header-bottom__menu-item a {
    padding-right: 25px;
    padding-left: 25px;
    font-size: 14px;
    line-height: 1.71;
    text-align: center;
  }

  .header-bottom__menu-item:last-child {
    flex: 1;
  }

  .menu-wrap ul {
    width: 100%;
  }

  .header-bottom__menu-item:nth-child(1),
  .header-bottom__menu-item:nth-child(2),
  .header-bottom__menu-item:nth-child(3) {
    background-image: none;
  }

  .home-slider {
    min-height: 667px;
  }

  .home-slider__item {
    min-height: 667px;
  }

  .home-slider__title {
    padding-right: 10%;
  }

  .home-slider__txt {
    padding-right: 15%;
  }

  .events-and-news {
    flex-direction: column;
  }

  .events {
    width: 100%;
    padding-right: 40px;
  }

  .news {
    max-width: 100%;
    min-width: auto;
    width: 100%;
  }

  .event__item--main {
    width: 290px;
    margin-bottom: 60px;
  }

  .event-img-wrap {
    height: 172px;
  }

  .container-event {
    max-width: 1000px;
    padding-right: 0;
  }

  .event-title__wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 15px;
  }

  .show-all-buttom {
    margin-bottom: 12px;
  }

  .container-news {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .news {
    padding-right: 40px;
    margin-bottom: 55px;
  }

  .news__item {
    width: 50%;
    display: flex;
  }

  .news__item:nth-child(2n + 1) {
    /*border-right: 1px solid rgba(0,0,0,0.05);*/
  }

  .news-item__wrap {
    padding-bottom: 0;
    margin-bottom: 0px;
    align-items: stretch;
  }

  .news__item:nth-child(1) {
    margin-bottom: 30px;
    padding-right: 30px;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
  }

  .news__item:nth-child(2) .news-item__wrap {
    margin-left: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .news__item:nth-child(3) .news-item__wrap {
    margin-right: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }

  .news__item:nth-child(3) {
    padding-bottom: 55px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .news__item:nth-child(4) {
    padding-top: 30px;
    padding-bottom: 55px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .news__item:nth-child(4) .news-item__wrap {
    padding-left: 30px;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
  }

  .news-item__wrap {
    margin-right: 0;
    border: 0;
  }

  .show-all-buttom--news {
    margin-top: 0;
    margin-right: 0;
  }

  .two-blocks-img {
    width: 150px;
    height: 150px;
    margin-bottom: 0;
  }

  .wrap-two-blocks > * {
    padding-top: 54px;
    padding-bottom: 67px;
  }

  .two-blocks-title {
    font-size: 43px;
    line-height: 1.81;
    margin-bottom: 5px;
  }

  .two-blocks-txt {
    margin-bottom: 51px;
  }

  .block-full-size {
    height: 550px;
  }

  .block-full-size__title {
    padding-left: 10%;
    padding-right: 10%;
  }

  .partners__item {
    height: 250px;
  }

  footer {
    flex-direction: column;
    padding-top: 35px;
    padding-bottom: 40px;
    padding-left: 0;
    padding-right: 0;
  }

  .footer-menu {
    order: 1;
    padding-top: 10px;
    padding-bottom: 46px;
  }

  .footer-social-support {
    order: 2;
    justify-content: flex-start;
    padding-top: 46px;
    padding-bottom: 30px;
  }

  .footer-social {
    margin-right: 116px;
  }

  /*.footer-sub-menu {*/
  /*margin-right: 86px;*/
  /*}*/

  .footer-sub-menu a {
    margin-bottom: 15px;
  }

  .footer-main-menu a {
    margin-bottom: 8px;
  }

  .footer-support__wrap {
    margin-top: 15px;
  }

  .footer-logo {
    order: 3;
    display: flex;
    align-items: flex-start;
    padding-top: 65px;
    padding-bottom: 18px;
  }

  .footer-logo__img {
    margin-bottom: 0;
    padding-top: 0;
    margin-right: 35px;
  }

  .footer-logo__corp {
    margin-bottom: 8px;
  }

  .footer-logo,
  .footer-menu,
  .footer-social-support {
    padding-left: 40px;
  }

  .footer-social-support,
  .footer-menu {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* comment-inner */
  .event__wrap-tag {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 11px 20px;
  }

  .inner-page {
    width: 100%;
    padding-right: 80px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 63px;
  }

  .inner-page__no-padding {
    padding-right: 0;
  }

  .container {
    width: 924px;
  }

  .archive-wrap_library {
    justify-content: space-between;
  }

  .container-inner--content {
    flex-direction: column;
  }

  .inner-aside {
    padding-left: 0;
    margin-left: 0;
    width: 100%;
    border-left: 0;
  }

  .aside__item {
    margin-top: 48px;
  }

  .other-event {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .event-aside-wrap {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .event__item--inner {
    width: 275px;
    margin-right: 49px;
    margin-bottom: 80px;
  }

  .event__item--inner:last-of-type,
  .event__item--inner:nth-of-type(3n) {
    margin-right: 0;
  }

  .library__item {
    width: 450px;
    margin-right: 0;
  }

  .aside-form {
    width: 580px;
  }

  .help-other__title {
    text-align: left;
    max-width: 800px;
  }

  .help-other__wrap {
    padding-top: 50px;
    flex-direction: column;
  }

  .help-other__item {
    width: 100%;
    margin-bottom: 25px;
  }

  .help-other__item__title--inner {
    text-align: left;
  }

  .help-other__wrap-links {
    justify-content: flex-start;
  }

  .help-other__links {
    margin-left: 0;
  }

  .help-other__item:first-of-type {
  }

  .help-other__title {
    margin-bottom: 11px;
  }

  .help-other__item__txt {
    text-align: left;
  }

  .green-buttom {
    margin-left: 0;
  }

  .advice-item__txt--two {
    width: 350px;
  }

  /*comment rozv*/
  .site-title__tax {
    margin-right: 80px;
  }

  .service-item {
    width: 33.33333%;
  }

  .services-wrap__four .service-item:last-child {
    display: block;
  }

  .service-desc {
    width: 245px;
  }

  .service-btn {
    width: 275px;
  }

  .event__item--archive {
    margin-right: 14px;
    width: 220px;
  }

  .show-all-buttom--archive {
    margin-bottom: 0;
  }

  .experts__item {
    padding: 0 30px;
  }

  .experts__item_team {
    width: 33.33333%;
  }

  .experts__item_team:nth-of-type(4n) {
    border-right: 1px solid #ededed;
  }

  .experts__item:nth-of-type(3n),
  .experts__item:last-of-type {
    border-right: 1px solid transparent;
  }

  .help-other__item__title {
    padding-left: 10px;
    padding-right: 10px;
    height: 50px;
  }

  .event__item--archive-a {
    width: 280px;
    margin-right: 42px;
  }

  .event-img-wrap--archive-a {
    height: 166px;
  }

  .advice__item--three .transparent-buttom {
    width: 280px;
  }

  .advice__item--three {
    height: auto;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .advice-item__txt--three {
    margin-bottom: 30px;
  }

  .advice-item__txt--three {
    /*flex: 1;*/
  }

  /*comment-office*/

  .office__item {
    width: 440px;
    margin-right: 0;
  }

  .container-office {
    justify-content: space-between;
  }

  .offices__form {
    width: 940px;
    flex-wrap: wrap;
  }

  .offices__form .selectize-input {
    width: 460px;
  }

  .selectize-control {
    margin-bottom: 25px;
  }

  .offices__form--archive .office-form-input,
  .offices__form.offices__form--archive .selectize-input {
    width: 430px;
  }

  .offices__form--archive {
    top: 50px;
  }

  .office-form-input {
    width: 100%;
  }

  .advice__item--one {
    padding-top: 85px;
    padding-bottom: 85px;
  }

  .helpfull-block .selectize-control {
    margin-right: 0;
  }

  .helpfull-block .offices__form--archive .office-form-input {
    margin-left: 0;
  }

  .helpfull-block .office-form-input input[type="submit"] {
    right: 15px;
  }

  .helpfull-block .office-form-input input[type="text"] {
    width: 100%;
  }

  .helpfull-block .offices__form {
    justify-content: space-between;
  }
  /* documents */
  .document-item {
    width: calc(33% - 40px);
  }
  /* 
    .document-item:nth-child(3n) {
        margin-right: 0;
    }

    .document-item:nth-child(4n) {
        margin-right: 33px;
    } */
}

@media (max-width: 1100px) {
  .header-bottom__menu-item:last-child a {
    border-right: 0;
    width: 100%;
  }
}

@media (max-width: 1023px) {
  .title-search {
    font-size: 34px;
  }

  .pagination--search .pagination li.prev,
  .pagination--search .pagination li.next {
    display: none;
  }

  /*comment-burger*/

  .helpfull-block .offices__form {
    justify-content: center;
  }

  .burger-menu {
    display: block;
    padding-top: 145px;
    background-color: #fdfdfd;
    transform: translateY(-100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: 1s ease-out transform;
    z-index: 0;
  }

  .header-bottom__menu-item {
    min-height: 70px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .header-bottom__menu-item a {
    height: 70px;
    border-right: 0;
    width: 100%;
    text-align: left;
  }

  .header-top__menu--burger {
    padding-top: 21px;
    padding-bottom: 23px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .header-top__menu-item a {
    font-size: 16px;
    padding-left: 60px;
    color: #000;
  }

  .burger-form {
    height: 70px;
    display: flex;
    position: relative;
  }

  .burger-form ::placeholder {
    color: #000;
  }

  .burger-form ::-webkit-input-placeholder {
    color: #000;
  }

  .burger-form ::-moz-placeholder {
    color: #000;
  }

  .burger-form:-moz-placeholder {
    color: #000;
  }

  .burger-form:-ms-input-placeholder {
    color: #000;
  }

  .burger-form input {
    border: 0;
    outline: 0;
    background-color: transparent;
  }

  .burger-form input[type="text"] {
    padding-left: 60px;
    font-size: 16px;
    font-family: "AvenirNextCyr-Regular";
    width: 100%;
    padding-right: 50px;
  }

  .burger-form input[type="submit"] {
    width: 19px;
    height: 18px;
    position: absolute;
    left: 25px;
    background-image: url("./img/lupa-burger.png");
    top: 50%;
    margin-top: -9px;
  }

  .menu-wrap {
    display: none;
  }

  .search-form {
    display: none;
  }

  .languages-wrap {
    min-width: 130px;
    border-right: 0;
    /*padding-left: 40px;*/
  }

  .socials__item {
    border-left: 0;
  }

  .header-socials {
    padding-right: 32px;
  }

  .header-support a {
    font-size: 16px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .header-bottom {
    justify-content: space-between;
  }

  .logo-wrap {
    border-right: 0;
  }

  .burger-button {
    width: 170px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
  }

  #nav-icon3 {
    display: block;
    width: 38px;
    height: 38px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    cursor: pointer;
  }

  #nav-icon3 span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #000;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
  }

  #nav-icon3 span:nth-child(1) {
    top: 9px;
  }

  #nav-icon3 span:nth-child(2),
  #nav-icon3 span:nth-child(3) {
    top: 18px;
  }

  #nav-icon3 span:nth-child(4) {
    top: 27px;
  }

  #nav-icon3.open span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
  }

  #nav-icon3.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  #nav-icon3.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  #nav-icon3.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
  }

  .flex-next {
    left: auto;
    right: calc(50% - 134px);
  }

  .flex-prev {
    left: auto;
    right: calc(50% + 70px);
  }

  .flex-control-nav {
    left: auto;
    right: calc(50% - 70px);
  }

  .site-title {
    font-size: 43px;
    line-height: 1.81;
  }

  .container-event {
    max-width: 690px;
  }

  .event__item--main {
    width: 330px;
  }

  .event-img-wrap {
    height: 200px;
  }

  .show-all-buttom {
    margin-bottom: 23px;
  }

  .container-news {
    flex-direction: column;
  }

  .news__item:nth-child(1) {
    margin-bottom: 0px;
    padding-right: 0px;
    border-right: 0;
  }

  .news__item:nth-child(2) .news-item__wrap {
    margin-left: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .news__item:nth-child(3) .news-item__wrap {
    margin-right: 0;
    padding-top: 0;
    border-top: 0;
  }

  .news__item:nth-child(3) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 30px;
  }

  .news__item:nth-child(4) {
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .news__item:nth-child(4) .news-item__wrap {
    padding-left: 0;
    border-left: 0;
  }

  .event-title__wrap--news {
    margin-bottom: 40px;
  }

  .news {
    margin-bottom: 0;
    padding-bottom: 40px;
  }

  .news__item {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .wrap-two-blocks {
    flex-direction: column;
  }

  .two-blocks {
    padding-left: 40px;
    padding-right: 40px;
  }

  .wrap-two-blocks > * {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .wrap-two-blocks > *:first-child {
    border-right: 0;
  }

  .two-blocks-img {
    width: 120px;
    height: 120px;
  }

  .block-full-size__title {
    font-size: 27px;
    letter-spacing: normal;
    padding-left: 26%;
    padding-right: 26%;
    padding-bottom: 45px;
  }

  .partners__item {
    height: 190px;
  }

  /* comment-inner */
  .container {
    width: 688px;
  }

  .inner-page {
    padding-right: 0;
  }

  .inner__title {
    font-size: 56px;
    line-height: 1.25;
  }

  .event-aside-wrap {
    flex-direction: column;
    padding-bottom: 39px;
  }

  .event__item--inner {
    width: 100%;
    margin-right: 0;
    margin-bottom: 25px;
  }

  .library__item {
    width: 48%;
  }

  .aside-form {
    width: 370px;
  }

  .aside__item {
    margin-top: 35px;
  }

  .advice__title {
    font-size: 56px;
    padding-top: 19px;
    padding-bottom: 23px;
  }

  .advice__item--two {
    width: 100%;
    height: auto;
    padding-bottom: 70px;
    padding-top: 48px;
  }

  .advice__item--two:first-of-type {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .advice-wrap--two {
    flex-direction: column;
  }

  .advice-item__txt--two {
    margin-bottom: 35px;
    width: 595px;
  }

  /*comment-rozv*/
  .site-title__tax {
    font-size: 56px;
    line-height: 1.39;
    margin-right: 0;
  }

  .services-wrap__three .service-item,
  .service-item {
    width: 50%;
  }

  .services-wrap__four .service-item:last-child {
    display: none;
  }

  .site-title__wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .transparent-form--tax {
    width: 100%;
    margin-top: 25px;
  }

  .archive-wrap {
    justify-content: space-between;
  }

  .event__item--archive {
    width: 326px;
    margin-right: 0;
  }

  .event__item--archive:nth-of-type(2n) {
    margin-right: 0;
  }

  .wrap-experts {
    flex-direction: column;
  }

  .experts__item {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid #ededed;
    padding-bottom: 50px;
    margin-bottom: 50px;
  }

  .experts__item_team:nth-of-type(4n) {
    border-right: 1px solid rgba(255, 255, 255, 0);
  }

  .experts-info__wrap {
    align-items: stretch;
  }

  .experts__ability {
    text-align: left;
  }

  .help-other__item__title {
    padding-left: 0;
    padding-right: 0;
    text-align: left;
  }

  .gradient-buttom {
    width: 280px;
  }

  .experts__item .gradient-buttom {
    margin-left: 0;
  }

  .experts__img-wrap {
    margin-right: 40px;
    margin-bottom: 0;
  }

  .show-all-buttom--archive {
    margin-bottom: 0;
  }

  .event__item--archive-a {
    width: 330px;
    margin-right: 0;
    margin-bottom: 50px;
  }

  .event-img-wrap--archive-a {
    height: 196px;
  }

  .archive-events {
    justify-content: space-between;
  }

  .archive-more-buttom {
    width: 100%;
    flex: auto;
  }

  .advice-wrap--three {
    flex-direction: column;
  }

  .advice__item--three {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .advice__item--three:nth-child(2) {
    border-left: 0;
    border-right: 0;
  }

  /*comment-office*/

  .office__item {
    width: 330px;
  }

  .office-button {
    width: 280px;
  }

  .offices__form .selectize-input {
    width: 343px;
  }

  .offices__form.offices__form--archive .office-form-input {
    margin-left: 0;
  }

  .offices__form--archive .selectize-control {
    margin-left: 0;
  }

  .offices__form {
    width: 710px;
  }

  .office-title {
    padding-bottom: 50px;
  }

  .container-materials {
    border-top: 0;
  }

  .page-submenu__menu-item.current-menu-item:after,
  .page-submenu__menu-item.current-menu-item:before {
    display: none;
  }

  .page-submenu__menu-item a {
    padding: 0 20px;
  }

  /* documents */
  /* .wrap-documents {
        margin: 40px -15px 0;
    } */

  .document-item {
    width: calc(50% - 40px);
  }

  /* .document-item,
    .document-item:nth-child(3n),
    .document-item:nth-child(4n) {
        margin-right: 0;
    } */

  /* feedback */

  .feedback_title {
    font-size: 56px;
  }
}

@media (max-width: 767px) {
  .form-statement--title,
  .form-statement {
    padding-left: 30px;
    padding-right: 30px;
  }

  .help-other__item {
    width: 420px;
    padding-left: 34px;
    padding-right: 34px;
  }

  .languages-wrap {
    min-width: 90px;
    padding-left: 30px;
  }

  .logo-wrap {
    background-position: 30px center;
  }

  .home-slider__txt {
    font-size: 23px;
    padding-right: 0;
  }

  .home-slider__content {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 70px;
  }

  .home-slider__title {
    padding-right: 0;
  }

  .home-slider__button {
    display: block;
    width: 420px;
    text-align: center;
  }

  .home-slider,
  .home-slider__item {
    min-height: 720px;
  }

  .flex-prev,
  .flex-next {
    display: none;
  }

  .flex-control-nav {
    left: calc(50% - 50px);
    right: auto;
    /*margin-left: -80px;*/
    bottom: 27px;
  }

  .flex-control-nav li:last-child {
    margin-right: 0;
  }

  .events {
    padding-left: 30px;
    padding-right: 30px;
  }

  .event__item--main {
    width: 420px;
  }

  .container-event {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .event-img-wrap {
    height: 250px;
  }

  .news,
  .two-blocks {
    padding-right: 30px;
    padding-left: 30px;
  }

  .two-blocks-txt {
    padding-right: 0;
    padding-left: 0;
  }

  .block-full-size__title {
    padding-left: 12%;
    padding-right: 12%;
  }

  .partners__item {
    width: 33.33333333334%;
    height: 160px;
  }

  .partners__item img {
    width: 70%;
    height: auto;
  }

  footer {
    padding-bottom: 15px;
  }

  .footer-menu {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    max-width: 420px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 22px;
  }

  .footer-sub-menu {
    padding-bottom: 29px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-sub-menu,
  .footer-main-menu {
    margin-right: 0;
  }

  .footer-main-menu {
    padding-top: 39px;
  }

  .footer-main-menu ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer-main-menu > ul:first-child {
    margin-right: 0;
  }

  .footer-main-menu li {
    width: 100%;
  }

  .footer-social-support {
    padding-left: 0;
    max-width: 420px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
  }

  .footer-social {
    margin-right: 0;
  }

  .footer-social {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
  }

  .footer-social__description {
    width: 100%;
  }

  .footer-social__item {
    width: 100%;
  }

  .footer-support {
    width: 420px;
    text-align: center;
  }

  .footer-logo {
    padding-left: 0px;
    max-width: 420px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
    padding-top: 39px;
  }

  .footer-logo__img {
    margin-right: 0;
  }

  /*comment-inner*/

  .container {
    width: 420px;
  }

  .inner__title {
    font-size: 38px;
  }

  .team-title,
  .inner-content h2 {
    font-size: 35px;
  }

  .inner-content blockquote {
    width: 480px;
    position: relative;
    left: -30px;
  }

  .aside-form {
    width: 100%;
  }

  .help-other__title {
    font-size: 28px;
    margin-bottom: 0;
  }

  .advice__title {
    font-size: 43px;
    padding-top: 40px;
    padding-bottom: 43px;
    line-height: 1.38;
  }

  .advice-item__txt--two {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  /*comment-rozv*/
  .full-height__title {
    font-size: 43px;
  }

  .full-height__wrap {
    width: 420px;
  }

  .full-height {
    min-height: 700px;
  }

  .site-title__tax {
    font-size: 43px;
  }

  .services-wrap__three .service-item,
  .service-item {
    width: 100%;
  }

  .services-wrap__four .service-item:nth-last-child(2),
  .services-wrap__three .service-item:last-child,
  .service-item:last-child {
    display: none;
  }

  .event__item--archive {
    margin-right: 0;
    width: 100%;
  }

  .library__item {
    width: 100%;
  }

  .experts__img-wrap {
    width: 110px;
    height: 110px;
    margin-right: 30px;
  }

  .experts__img-wrap img {
    width: 100%;
    height: 100%;
  }

  .help-other__item__title {
    padding-right: 20px;
  }

  .event__item--archive-a {
    width: 100%;
  }

  .event-img-wrap--archive-a {
    height: 250px;
  }

  .event__item--archive {
    margin-bottom: 25px;
  }

  /*comment-office*/

  .office__item {
    width: 100%;
  }

  .office-button {
    width: 360px;
  }

  .offices__form .selectize-input {
    width: 420px;
  }

  .offices__form {
    width: 420px;
  }

  .office-title {
    padding-bottom: 40px;
  }

  .advice-item__title--one {
    font-size: 43px;
  }

  .advice__item--one {
    width: 420px;
  }

  .donate-form {
    padding: 20px 45px 45px 45px;
  }

  .donate-form label {
    width: 100%;
    text-align: center;
  }

  .donate-form input[type="text"],
  .donate-form input[type="email"],
  .donate-form input[type="number"] {
    width: 100%;
    margin-top: 8px;
    margin-bottom: 18px;
  }

  .donate-form .home-slider__button__wrap,
  .donate-btn {
    width: 100%;
  }

  /* documents */
  .wrap-documents {
    margin: 30px 0 0;
  }

  .document-item {
    width: 100%;
    margin: 0 0 30px;
  }

  /* feedback */
  .question_block {
    padding: 37px 40px;
    margin-bottom: 20px;
  }

  .question_block .question_title {
    padding-bottom: 30px;
    font-size: 21px;
  }

  .rating .rating_mark {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }

  .rating .rating_status {
    height: 50px;
    font-size: 16px;
    padding: 0 24px;
  }

  .rating .checked_mark:after {
    width: 40px;
    height: 40px;
  }

  .personal_field,
  .personal_field input,
  .explanation_answer-desc,
  .office-select_wrapper .selectize-input > *,
  .explanation_answer-field,
  .office-select_wrapper .selectize-dropdown [data-selectable],
  .office-select_wrapper .selectize-dropdown .optgroup-header {
    font-size: 16px;
  }

  .office-select_wrapper .selectize-control {
    margin-bottom: 0;
  }
}

@media (max-width: 479px) {
  .home-slider__button__wrap {
    display: block;
    margin: 0 auto;
    width: 255px;
  }

  .title-search {
    font-size: 23px;
  }

  .form-statement--title {
    font-size: 24px;
    padding-left: 70px;
    padding-right: 70px;
  }

  .form-statement--title,
  .form-statement {
  }

  .help-other__item {
    width: 100%;
  }

  .header-form-social {
    display: none;
  }

  .header-top {
    justify-content: space-between;
  }

  .logo-wrap {
    min-width: 212px;
    background-position: 20px center;
  }

  .languages-wrap {
    padding-left: 20px;
  }

  .home-slider__title {
    font-size: 27px;
    line-height: normal;
    text-align: center;
    padding-bottom: 24px;
  }

  .home-slider__txt {
    font-size: 19px;
    line-height: normal;
    text-align: center;
  }

  .home-slider__content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .home-slider__button {
    width: 100%;
  }

  .home-slider__button__wrap {
    border-radius: 43px;
  }

  .events {
    padding-left: 20px;
    padding-right: 20px;
  }

  .container-event {
    max-width: 280px;
  }

  .event__item--main {
    width: 280px;
  }

  .event-img-wrap {
    height: 166.6666667px;
  }

  .event-img-wrap.library__link-img {
    flex: 0 0 71px;
    height: 105px;
    margin: 20px 0 0 20px;
  }

  .news,
  .two-blocks {
    padding-left: 20px;
    padding-right: 20px;
  }

  .two-blocks-title {
    font-size: 27px;
    line-height: 1.89;
  }

  .block-full-size__title {
    padding-right: 5%;
    padding-left: 5%;
  }

  .block-full-size__buttom {
    width: 280px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 30px;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
  }

  .partners__item {
    width: 50%;
    height: 160px;
  }

  .footer-menu,
  .footer-social-support,
  .footer-logo {
    max-width: 280px;
  }

  .footer-support {
    width: 280px;
  }

  .footer-logo {
    flex-direction: column;
  }

  .footer-logo__img {
    margin-bottom: 35px;
  }

  /*comment-inner*/
  .container {
    width: 280px;
  }

  .inner-content blockquote {
    width: 320px;
    left: -20px;
  }

  .help-other__item .green-buttom {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .green-buttom {
    width: 280px;
  }

  .advice__title {
    font-size: 28px;
  }

  .transparent-buttom {
    width: 280px;
  }

  .help-other__wrap-links {
    justify-content: space-between;
  }

  .help-other__links {
    font-size: 11px;
    margin-right: 0;
  }

  .inner__title {
    font-size: 28px;
  }

  .inner-content h2 {
    font-size: 25px;
  }

  .inner-content h3 {
    font-size: 23px;
  }

  .inner-content blockquote {
    font-size: 24px;
    padding: 25px 20px;
  }

  /*comment-rozv*/
  .full-height__wrap {
    width: 260px;
  }

  .full-height {
    min-height: 800px;
  }

  .experts__item {
    flex-direction: column;
  }

  .experts__img-wrap {
    width: 240px;
    height: 240px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 30px;
  }

  .help-other__item__title {
    padding-right: 20px;
    padding-left: 20px;
  }

  .popup__header-photo {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .team-popup__header {
    flex-direction: column;
    align-items: center;
  }

  .team-popup__header li {
    text-align: center;
  }

  .experts__ability__link {
    font-size: 17px;
  }

  .experts__ability__link_bold {
    font-size: 22px;
  }

  .team__info {
    padding-bottom: 0;
  }

  .help-other__item__title,
  .experts__ability {
    text-align: center;
  }

  .event-img-wrap--archive-a {
    height: 166px;
  }

  .container-tax--last {
    padding-bottom: 50px;
  }

  /*comment-office*/

  .office-button {
    width: 220px;
  }

  .offices__form .selectize-input {
    width: 280px;
  }

  .offices__form {
    width: 280px;
  }

  .office-title {
    padding-bottom: 40px;
    font-size: 35px;
  }

  .advice__item--one {
    width: 280px;
  }

  .offices__form--archive .office-form-input,
  .offices__form.offices__form--archive .selectize-input {
    width: 280px;
  }

  /* feedback */
  .question_block {
    padding: 37px 20px;
    margin-bottom: 20px;
  }

  .rating .rating_mark {
    width: 42px;
    height: 42px;
    font-size: 16px;
    margin-right: 8px;
  }

  .office-select_wrapper {
    display: flex;
    flex-direction: column;
  }

  .office-select_wrapper .selectize-control {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .rating_as_status {
    flex-wrap: wrap;
  }

  .rating .rating_status:last-child {
    margin-top: 10px;
  }

  .personal_field {
    display: flex;
    flex-direction: column;
  }

  .personal_field label {
    padding-bottom: 10px;
  }

  .personal_field input {
    width: 100%;
  }
}

/* Alex Demch.co popup subscribe */

#popmake-6893 .pum-theme-6841 .pum-title,
.pum-theme-hello-box .pum-title {
  color: #2d2d2d;
  text-shadow: 0px 0px 0px rgba(2, 2, 2, 0.23);
  font-family: Montserrat;
  font-size: 32px;
  line-height: 36px;
  font-weight: bold;
  justify-content: center;
  display: flex;
}

#popmake-6893 #mc_embed_signup_scroll .mailchimp-btn {
  border-radius: 30px;
  background-color: #39b28b;
  margin-top: 15px;
  width: 50%;
  text-align: center;
  margin: auto;
}

#popmake-6893 .pum-theme-6841 #mc_embed_signup_scroll .clear.mailchimp-btn {
  display: flex;
  justify-content: center;
}

#popmake-6893 #pum_popup_title_6882 {
  font-size: 30px;
  font-weight: bold;

  font-family: "AvenirNextCyr-Bold";
  /*font-size: 16px;*/
  line-height: 1.5;
  letter-spacing: 0.8px;
}

#popmake-6893 input#mce-EMAIL {
  text-align: center;
  color: #0000007d;
}

#popmake-6893 #mc_embed_signup_scroll p {
  border-bottom: 2px solid #80808057;
  margin-bottom: 20px;
}

div#popmake-6893 {
  padding: 70px;
}

#popmake-6893 #mce-EMAIL::placeholder {
  color: #80808057;
}

#popmake-6893 .pum-title.popmake-title {
  display: none;
}

#popmake-6893 .mc_embed_signup__title {
  text-align: center;
  transform: scale(1.1);
  font-size: 30px;
  font-weight: bold;
  font-family: "AvenirNextCyr-Bold";
  line-height: 1.5;
  letter-spacing: 0.8px;
  /*width: 520px;*/
}

#popmake-6893 #mc_embed_signup_scroll {
  width: 520px;
}

div#popmake-6893 {
  margin: auto;
  width: 680px;
  top: 0px;
  left: 0px;
  /* position: relative; */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#popmake-6893 .pum-close.popmake-close {
  color: white !important;
  width: 40px;
  height: 40px;
}
#popmake-6893 .pum-close.popmake-close:before {
  position: absolute;
  /*top: -22px;*/
  top: 7px;
  right: -61px;
  width: 90px;
  height: 90px;
  background-size: cover;
  content: "";
  background-image: url(https://ldn.org.ua/wp-content/themes/ldn-2017/img/cross.svg);
  background-repeat: no-repeat;
}
#popmake-6893 .pum-close.popmake-close:focus {
  outline: none;
}

#popmake-6893 a.footer-social__item {
  /*width: 280px;*/
  width: 30%;
  margin: auto;
  display: block;
  text-align: center;
  color: black;
  font-weight: bold;
}

#popmake-6893 .footer-social {
  display: flex;
  justify-content: center;
}

#popmake-6893 a.footer-social__item {
  display: flex;
  justify-content: center;
}

#popmake-6893 svg#facebook,
#popmake-6893 svg#youtube,
#popmake-6893 svg#twitter {
  width: 25px;
  height: 17px;
}
#popmake-6893 #mc_embed_signup_scroll .mailchimp-btn:hover {
  background-color: #39b28bcc;
}

#popmake-6893 #mc_embed_signup_scroll .mailchimp-btn:hover .button {
  color: #0000007d;
}
#popmake-6893 #mc_embed_signup_scroll input[type="submit"]:hover {
  /*transform: scale(0.95);*/
  transform: none;
}

#popmake-6893 #mc_embed_signup_scroll .mailchimp-btn input[type="submit"] {
  width: 100%;
}

#popmake-6893 .footer-social {
  margin-top: 30px;
}

#popmake-6893 .footer-social__item svg {
  margin-right: 3px;
}

#popmake-6893 .popup-social__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-repeat: no-repeat;
  background-position: 0 center;
  font-family: "AvenirNextCyr-Medium";
  font-size: 16px;
  line-height: 1.5;
  color: #080808;
  margin-bottom: 2px;
}

#popmake-6893 .popup-social__item .youtube,
#popmake-6893 .footer-social__item #youtube {
  transition: 0.33s ease-out all;
}
#popmake-6893 .popup-social__item .twitter,
#popmake-6893 .footer-social__item #twitter {
  transition: 0.33s ease-out all;
}
#popmake-6893 .popup-social__item .facebook,
#popmake-6893 .footer-social__item #facebook {
  transition: 0.33s ease-out all;
}

#popmake-6893 .socials--youtube:hover #youtube {
  fill: rgba(238, 44, 39, 1);
}
#popmake-6893 .socials--twitter:hover #twitter {
  fill: rgba(85, 172, 238, 1);
}
#popmake-6893 .socials--facebook:hover #facebook {
  fill: rgba(72, 98, 163, 1);
}

#popmake-6893 .socials--youtube:hover .youtube {
  color: rgba(238, 44, 39, 1);
}
#popmake-6893 .socials--twitter:hover .twitter {
  color: rgba(85, 172, 238, 1);
}
#popmake-6893 .socials--facebook:hover .facebook {
  color: rgba(72, 98, 163, 1);
}

#popmake-6893 #mce-responses__popup * {
  color: black;
}

#popmake-6893 #mce-error-response__popup,
#popmake-6893 #mce-success-response__popup {
  height: 0;
  width: 0;
  opacity: 0;
}

#popmake-6893 #mce-error-response__popup,
#popmake-6893 #my-mce-error-response__popup,
#popmake-6893 #mce-success-response__popup,
#popmake-6893 #my-mce-success-response__popup {
  display: none;
  margin-top: 5px;
  padding-left: 10px;
}

#pum-6893 .response {
  color: black;
  text-align: center;
}

#footer-btn__mail-chimp-text {
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #fff;
  color: #fff;
  margin-top: 30px;
  font-family: "AvenirNextCyr-Demi";
  text-transform: uppercase;
  font-size: 16px;
  width: 100%;
  padding-bottom: 5px;
  padding-left: 10px;
}

#footer-btn__mail-chimp-submit {
  padding: 20px 70px 20px 70px;
  font-family: "AvenirNextCyr-Demi";
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1.2px;
  color: #ffffff;
  display: inline-block;
  border: none;
  cursor: pointer;
  background-color: transparent;
  transition: 0.33s ease-out all;
}

.footer-mailchimp .mailchimp-btn {
  border-radius: 30px;
  background-color: #39b28b;
  margin-top: 15px;
  text-align: center;
}

.mc4wp-response {
  color: #fff;
  display: none;
}
.custom-response {
  color: #fff;
  text-align: center;
  margin-top: 5px;
}

#custom-response__succes-subscribe,
#custom-response__error-subscribe,
#custom-response__previous-subscribe {
  display: none;
}

.popup__never_close {
  cursor: pointer;
  text-align: center;
  margin-top: 35px;
  margin-bottom: -10px;
  color: #0000007d;
  font-size: 15px;
  font-family: "AvenirNextCyr-Medium";
  transition: 0.33s ease-out all;
}
.popup__never_close:hover {
  color: rgba(148, 50, 77, 0.85);
}

#print-content iframe {
  margin: auto;
  display: flex;
}

@media (max-width: 1023px) {
  #print-content iframe {
    min-height: 310px;
    width: 80%;
  }
}
@media (max-width: 767px) {
  #print-content iframe {
    height: 170px;
    min-height: 170px;
    width: 280px;
  }
}

/*
*
*/
@media (max-width: 1365px) {
  /*   #popmake-6893 #mc_embed_signup_scroll 
    {
        width: 400px;
    }*/
  #popmake-6893 #mc_embed_signup_scroll .mailchimp-btn {
    width: 100%;
  }
}
@media (max-width: 1023px) {
  #popmake-6893 .footer-social {
    margin-right: 0px;
  }
}
#popmake-6893 .footer-social {
  margin-right: 0px;
}
@media (max-width: 767px) {
  div#popmake-6893 {
    width: auto;
  }
}

.canvas-legend {
  position: absolute;
  bottom: 30px;
  left: 30px;
  width: 120px;
  height: 66px;
}

@media (max-width: 320px) {
  .canvas-legend {
    width: 80px;
    height: 44px;
  }

  div#popmake-6893 {
    width: auto;
    padding: 0;
  }
  #popmake-6893 #mc_embed_signup_scroll {
    width: 220px;
    margin: auto;
    padding-top: 40px;
  }
  #popmake-6893 .mc_embed_signup__title {
    font-size: 20px;
  }
  #popmake-6893 a.footer-social__item {
    width: 100%;
    margin-bottom: -15px;
  }
  #mc_embed_signup_scroll input[type="email"] {
    margin-top: 15px;
  }
  #popmake-6893 .footer-social {
    margin-top: 15px;
  }
  #popmake-6893 .mc_embed_signup__title {
    font-size: 20px;
    width: 80%;
    margin: auto;
    text-align: center;
  }
  #mc_embed_signup_scroll .mailchimp-btn input[type="submit"] {
    padding: 20px 0px 20px 50px;
  }
  .popup__never_close {
    margin-top: 25px;
    margin-bottom: 2px;
  }
}

.office__item--absolute-wrap {
  position: inherit;
  display: block;
}

.office__title-link,
.office__wrap {
  cursor: default;
}

/* Alexey Demch.co 26.06.2020:; container extension on single page */
/*.single .container-inner--content {
    flex-direction: column;
}
.single .container {
     width: 1024px; 
}
.single .inner-post {
    max-width: 1024px;
}
.single .inner-aside {
    padding-left: 0;
    margin-left: 0;
    width: 100%;
    border-left: 0;
}
.single #print-content iframe {
    height: 85vh;
}
*/
iframe[src^="https://drive.google.com"]
{
  padding-left: 0;
  margin-left: 0;
  width: 100%;
  border: unset;
  height: 85vh;
}

@media (max-width: 320px) {
  iframe[src^="https://drive.google.com"]
  {
    height: 40vh;
  }
}

.full-height__rozv.doc-builder {
  margin-bottom: 20px;
}

.offices__form.doc-builder {
  justify-content: center;
}

.offices__form.doc-builder .selectize-input {
  width: 450px;
}
@media (max-width: 767px) {
  .offices__form.doc-builder .selectize-input {
    width: 280px;
  }
}

/* =======================  */
/* Alex Demchco 16.02.2021  */
.pop-up-office__open-btn .office__title-link:hover,
.pop-up-office__open-btn .office__wrap:hover {
  cursor: pointer;
}

.pop-up-office {
  display: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.03);
  background-color: rgba(0, 0, 0, 0.75);
}

.pop-up-office.active {
  display: flex;
}
.pop-up-office .pop-up-office__wrap {
  margin: auto;
  width: 680px;
  background: white;
  position: relative;
  padding-top: 0;
}

@media (max-width: 767px) {
  .pop-up-office .pop-up-office__wrap {
    width: 80%;
    min-height: 340px;
    padding-top: 60px;
    background: white;
    position: relative;
    /* z-index: 99999999999999999999999; */
    overflow: scroll;
    max-height: 80%;
  }
}

.pop-up-office button.pop-up-office__close {
  display: flex;
  padding: 6px;
  border: none;
  background: unset;
  cursor: pointer;
  position: absolute;
  top: 12px;
  right: 12px;
  outline: none;

  border: 1px solid white;
  border-radius: 25%;
}
.pop-up-office button.pop-up-office__close svg {
  width: 18px;
  height: 18px;
}
.pop-up-office button.pop-up-office__close svg path {
  stroke: #0000008f;
  transition: all 0.1s;
}
.pop-up-office button.pop-up-office__close:hover {
  border: 1px solid #00000021;
  transition: border 0.2s;
}
.pop-up-office button.pop-up-office__close:hover svg path {
  stroke: #0000008f;
}
.pop-up-office__office-adress {
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 30px;
}
.pop-up-office__office-adress p {
  padding-bottom: 15px;
  padding-top: 20px;
}

/* ================  */

/* Alexey Demch.co 26.06.2020:; container extension on single page */
@media (max-width: 1024px) {
  .library__item .article-title {
    font-size: 17px;
  }
  .library__item .event-title {
    padding-right: 20px;
  }
}
@media (max-width: 767px) {
  .pagination--search {
    height: auto;
    min-height: 60px;
  }
  .library__item .event-title {
    padding-left: 12px;
    padding-right: 12px;
  }
  .pagination li {
    margin: 0 2px;
  }
  .pagination li > * {
    font-size: 17px;
  }
}

/* ================  */
