html:root {
  --title-color: #2FA84F;
  --footer-color: #2FA84F;
  --base-color: #2FA84F;
  --hover-color: #d5eedc;
  --base-color30: rgba(9, 98, 187, 0.1);
  --text-color: #353b33;
  --grey-color: #79797A;
  --light-color: #F8F8F8;
  --header-color: #fff;
  --white-color: #fff;
  --before-shadow: 0 3px 5px 5px rgba(0,0,0,.02);
  --text-font: 0 3px 5px 5px rgba(0,0,0,.02);
  --after-shadow: none;
  --title-font: 'Montserrat', sans-serif;
  --text-font: 'Merriweather', arial, serif;
  --animate-duration: 800ms;
  --animate-delay: 0s;
}

html {
  scroll-behavior: smooth;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

::after,
::before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

ol[class],
ul[class] {
  padding: 0;
}

blockquote,
body,
dd,
dl,
figcaption,
figure,
h1,
h2,
h3,
h4,
li,
ol[class],
p,
ul[class] {
  margin: 0;
}

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  font-size: 14px;
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  font-family: var(--title-font);
  background: var(--light-color);
  color: var(--text-color);
}

.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus,
a.active.focus,
a.active:focus,
a.focus,
a:active.focus,
a:active:focus,
a:focus,
button.active.focus,
button.active:focus,
button.focus,
button:active.focus,
button:active:focus,
button:focus,
div:focus,
input:focus {
  outline: 0 !important;
  outline-color: transparent !important;
  outline-width: 0 !important;
  outline-style: none !important;
  -webkit-box-shadow: 0 0 0 0 rgba(0, 123, 255, 0) !important;
  box-shadow: 0 0 0 0 rgba(0, 123, 255, 0) !important;
  border: none;
}


.modal__bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
  transition: 150ms;
  background: rgba(0, 0, 0, 0.565);
  opacity: 0;
}
.modal__bg.show {
  display: block;
  opacity: 1;
}
.modal__dialog {
  display: flex;
  justify-content: center;
  padding: 1em;
}

.modal__block {
  max-width: 800px;
  background: #fff;
  border-radius: 0;
  border: none;
  position: relative;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  transition: 400ms;
  max-height: 0;
  overflow: hidden;
  z-index: 1051;
}
.modal__bg.show .modal__block {
  height: auto;
  max-height: 100%;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
}
.modal__close {
  align-self: flex-start;
}
.modal__close img {
  width: 18px;
  height: auto;
}
label {
  margin-bottom: 0;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6,
ul, ol {
  margin: 0;
  padding: 0;
  font-weight: 400;
  font-family: var(--title-font);
  line-height: 1.2;
}
ul, ol {
  list-style-position: inside;
}
.h1,
.h2,
.h3,
.h4,
.h5 {
  font-weight: bold;
}

.h1 {
  font-size: 3.2em;
}

.h2 {
  font-size: 2.5em;
}

.h3 {
  font-size: 1.7em;
}

.h4 {
  font-size: 1.3em;
}

.h5 {
  font-size: 1em;
}

.b {
  font-weight: 700;
}

.grid {
  display: -ms-grid;
  display: grid;
}

.up {
  text-transform: uppercase;
}

.grey {
  color: var(--grey-color);
}
.mail {
  color: #000;
}
.link__arrow {
  margin-left: .625em;
}

a {
  color: inherit;
  -webkit-transition: .3s;
  transition: .3s;
  text-decoration: none;
}
a:not([class]) {
  text-decoration-skip-ink: auto;
}
a:hover, 
a:focus {
  color: var(--base-color);
  text-decoration: none;
}

p {
  line-height: 1.5;
  margin-bottom: 0;
}
.nobreak {
  word-break: keep-all;
}
.btn__block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  margin: 1em 0;
}

.btn__block.center {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.btn__common {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 50px;
  width: 227px;
  padding: 0 30px;
  font-weight: bold;
  border: none;
  font-size: 1em;
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  border-radius: 10px;
  -webkit-box-shadow: var(--after-shadow);
  box-shadow: var(--before-shadow);
}

.btn__common:hover,
.content__inner .btn__common:hover,
.btn__common:focus,
.content__inner .btn__common:focus {
  transform: translateY(2px);
  -webkit-box-shadow: var(--after-shadow);
  box-shadow: var(--after-shadow);
  text-decoration: none;
}

.btn__base {
  background: var(--base-color);
  color: var(--header-color);
  -webkit-transition: .3s;
  transition: .3s;
  border: 1px solid var(--base-color);
}

.btn__base:active, .btn__base:focus, .btn__base:hover {
  color: var(--base-color);
  background: var(--header-color);
}

.btn__base:disabled {
  opacity: .5;
}

.btn__white {
  background: none;
  color: var(--white-color);
  border: 1px solid var(--white-color);
}

.btn__white:active, .btn__white:focus, .btn__white:hover {
  color: var(--base-color);
  background: var(--white-color);
  -webkit-box-shadow: 0px 10px 25px rgba(58, 64, 91, 0.15);
  box-shadow: 0px 10px 25px rgba(58, 64, 91, 0.15);
}

.btn__white:disabled {
  opacity: .5;
}
.form__search {
  position: relative;
}
.form__search .form-control {
  height: 30px;
  width: 30px;
  /* width: 200px; */
  position: relative;
  transition: .3s;
  background: none;
  padding: 0 1em;
}
.form__search .search__icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
/* .form__search .search__icon:hover +.form-control,
.form__search .search__icon:focus +.form-control,
.form__search .search__icon:focus-within +.form-control,
.form__search .search__icon:active +.form-control {
  width: 200px;
} */
.form__search .form-control:hover,
.form__search .form-control:focus,
.form__search .form-control:focus-within,
.form__search .form-control:active {
  width: 200px;
}
.form__search .form-control:hover,
.form__search .form-control:focus,
.form__search .form-control:focus-within,
.form__search .form-control:active {
  width: 200px;
}

.form__search .form-control:focus + .search__icon,
.form__search .form-control:focus-within + .search__icon,
.form__search .form-control:hover + .search__icon,
.form__search .form-control:visited + .search__icon,
.form__search .form-control:active + .search__icon {
  display: none;
}
.form__search .search__icon:focus,
.form__search .search__icon:focus-within,
.form__search .search__icon:hover,
.form__search .search__icon:visited,
.form__search .search__icon:active {
  display: none;
}

.form__search .form-control::-webkit-input-placeholder, 
.form__search .form-control::-moz-placeholder, 
.form__search .form-control:-ms-input-placeholder,
.form__search .form-control::placeholder  {
  color: inherit
}

.list__block {
  margin-bottom: 4em;
}
.section__title {
  color: inherit;
  text-align: center;
  margin-bottom: 3em;
}

.section__title .h2, .section__title .h4 {
  margin-bottom: 20px;
}

.section__title .h3 {
  font-weight: normal;
}

.section__title .date {
  display: inline-block;
  background: var(--light-color);
  padding: 21px 17px;
  border-radius: 8px;
}

.section__item {
  padding: 3em 0 0 0;
}

.main .section__item:last-child,
.main .section__item.section__news,
.main__content .section__item:last-child {
  padding-bottom: 4em;
}

.section__content {
  padding: 0 0 3em 0;
}
.breadcrumb__block {
  padding: 1.5em 0;
}

.breadcrumb__block .breadcrumb {
  margin: 0 1em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: flex-start;
  background: inherit;
  /* height: 3em; */
  color: var(--grey-color);
  line-height: 1.2;
}
.lum-lightbox {
  z-index: 10;
}
.breadcrumb__separator {
  margin: 0 1em;
}
.pagination__block {
  display: flex;
  justify-content: center;
  padding-bottom: 3em;
}
.pagination__list {
  display: flex;
  list-style-type: none;
}
.page__item .page__link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #DADADA;
}
.page__item .page__link:hover,
.page__item .page__link:focus,
.page__item.active .page__link {
  background: var(--base-color);
  color: #fff;
  border: 1px solid var(--base-color);
}
.page__item svg path {
  fill: var(--base-color);
}
.page__item .page__link:hover svg path,
.page__item .page__link:focus svg path,
.page__item.active .page__link svg path {
  fill: var(--header-color);
}
.page__item.next {
    transform: scale(-1);
}
.main__content {
  background: var(--light-color);
  /* padding-bottom: 72px; */
}
.main__block {
  -ms-grid-columns: 1fr 300px;
  grid-template-columns: 1fr 300px;
  grid-gap: 30px;
}

.content__block {
  position: relative;
  -ms-grid-columns: 300px 1fr;
      grid-template-columns: 300px 1fr;
  grid-gap: 3em;
}

.content__inner {
  width: 100% !important;
  word-break: break-word;
  background-color: var(--header-color);
  padding: 1.5em;
  border-radius: 5px;
  box-shadow: var(--before-shadow);
}

.content__inner .title__block {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 1.5em;
}
.content__inner .title__img {
  flex: 0 0 130px;
  margin-right: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
}
.content__inner .title__img img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.content__inner .title__text p {
  margin-bottom: 0;
}
.content__inner .title__text p,
.content__inner .content__title p,
.content__inner .content__desc p,
.content__inner .link {
  color: var(--base-color) !important;
  line-height: 1.2;
  transition: .25s;
}
.content__inner .link:hover {
  text-decoration: none;
}
.content__inner .title__text .h2,
.content__inner .content__title .h2, 
.content__inner .content__desc .h4,
  .content__inner .content__date .p { 
  font-family: var(--title-font) !important;
}

.content__inner a:visited {
  color: var(--text-color);
}
.content__inner a:hover,
.content__inner a:focus,
.content__inner a:active {
  text-decoration: underline;
}
.content__inner li {
  margin-bottom: 1em;
}



.content__inner .content__desc .h2, .content__inner .content__desc .h3, .content__inner .content__desc .h4 {
  font-weight: 200;
}

.content__inner img {
  margin: 1em;
  max-width: 100%;
  height: auto;
}
.content__inner video {
  max-width: 100%;
  height: auto;
}

.content__inner iframe {
  width: 100% !important;
}
/* .content__inner, */
.content__inner p {
  line-height: 1.5;
  font-family: var(--text-font);
  color: var(--text-color);
  margin-bottom: 1em;
}

.content__inner h1,
.content__inner h2,
.content__inner h3,
.content__inner h4, 
.content__inner h5 {
  margin: 1em 0;
  margin-top: 0;
  color: var(--base-color) !important;
}

.content__inner table {
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  table-layout: fixed;
  margin-bottom: 1.25em;
  width: 100% !important;
  max-width: 100% !important;
  border-spacing: 0;
  border: 1px;
}
.content__inner tbody {
  width: 100%;
}
.content__inner tr {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100% !important;
  height: auto !important;
}
.content__inner tr th,
.content__inner tr td {
  flex: 1 1;
  padding: .5em;
  vertical-align: baseline;
  height: auto !important;
  border: 1px;
}

.content__inner table p {
  margin-bottom: 0 !important;
}

.content__inner table caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}


.content__inner tr th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* .mainbtn__link:hover svg path {
  fill: var(--base-color);
} */
.aside__block {
  position: relative;
  height: 100%;
}
.aside__block #pdopagebase {
  position: sticky;
  display: block;
  width: 100%;
  /* height: auto; */
  top: 50px;
  left: 0;
} 
.aside__list {
  background: var(--header-color);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--before-shadow);
}
.aside__more {
  display: flex;
  justify-content: center;
  padding: 1em 0;
}
.aside__item {
  /* background: var(--header-color); */
  border-bottom: 1px solid var(--light-color);
  color: var(--text-color);
}

.aside__item.active {
  background: var(--base-color);
  color: var(--header-color);
  border-bottom: none;
}
.aside__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  height: 100%;
  padding: 1em 2em;
}

/* .infoline__block, .header__block, .navblock .menu__list .navbar-nav {
  background: var(--header-color);
  box-shadow: var(--before-shadow);
} */

.infoline {
  background: var(--header-color);
}
.infoline__block {
  padding: .5em 1em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.infoline__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.infoline__item:not(:last-child) {
  margin-right: 2.5em;
}

.infoline__item.social__block {
  margin-left: auto;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.infoline__item .social__link:not(:last-child) {
  margin-right: 10px;
}

.head__bookmark-icon {
  margin-right: 10px;
}
.infoline, header {
  background: var(--hover-color);
}
header {
  position: relative;
}

/* .header__bg {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
} */
.header__block {
  position: relative;
  -ms-grid-columns: 1fr;
      grid-template-columns: 1fr;
  grid-row-gap: 1em;
  padding: 1.5em 0;
  
  background: left 10%/ 9vw no-repeat url('../img/Union.png'), 
              20% 90% / 6vw no-repeat url('../img/Union.png'),
              40% 20% / 9vw no-repeat url('../img/Union.png'),
              60% 20% / 7vw no-repeat url('../img/Union.png'),
              80% 90% / 6vw no-repeat url('../img/Union.png'),
              right 10% / 9vw no-repeat url('../img/Union.png'),
              var(--hover-color);
}
.header__info {
  grid-template-columns: 1fr;
  /* grid-template-columns: repeat(auto-fill, minmax(225px, 1fr)); */
  grid-gap: .5em;
  justify-items: center;
}
.header__info .info__item {
  padding: 0 1em;
}
.header__item .info__title {
  font-size: 1em;
  font-weight: bold;
  color: var(--base-color);
}

.header__logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.header__logo .logo__img {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100px;
          flex: 0 0 100px;
}
.header__logo .logo__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.header__logo .logo__text {
  text-align: center;
}
.header__logo .logo__desc .p {
  font-size: 1.5em;
}
.header__logo .logo__title h1 {
  font-size: 2em;
  font-weight: bold;
}

.navblock {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 4;
  background: var(--hover-color);
}
.navblock .menu__list {
  display: flex;
  justify-content: center;
  width: 100%;
  border-radius: 0 0 5px 5px;
  padding: 0;
}
.navblock .menu__list .navbar-nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  border-radius: 0 0 5px 5px;
}


.navblock .container {
  position: relative;
}

.navblock .nav-item .nav-link {
  padding: 1em;
  font-size: 1.1em;
  color: var(--text-color);
  background: inherit;
}
.navblock .nav-item .nav-link:hover {
  background: var(--white-color);
} 

.dropdown > .dropdown-menu {
  position: absolute;
  font-size: 1em;
  max-height: 0px;
  overflow: hidden;
  transition: .3s ease-in-out;
  display: -ms-grid;
  background: none;
  display: grid;
  -ms-grid-rows: (auto)[8];
  grid-template-rows: repeat(8, auto);
  grid-auto-flow: column;
  border-radius: 0;
  border: none;
}

.dropdown:hover > .dropdown-menu {
  max-height: 100vh;
}

.dropdown > .dropdown-menu .nav-item {
  height: 100%;
  border-left: none;
  border-right: none;
  min-width: 15em;
  border-bottom: 1px solid var(--light-color);
  border-right: 1px solid var(--light-color);
}

.dropdown > .dropdown-menu .nav-link {
  background: var(--hover-color);
  height: 100%;
}
.dropdown > .dropdown-menu .nav-link:hover {
  background: #fff;
}


.dropdown:last-child:hover > .dropdown-menu {
  left: auto;
  right: 0;
}

.nav__toggler {
  display: none;
}
.navbar-toggler {
  padding: 0;
  width: 53px;
  height: 53px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.nav-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  position: relative;
  -webkit-transform: rotate(0);
          transform: rotate(0);
  -webkit-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

.nav-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--title-color);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0);
          transform: rotate(0);
  -webkit-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

.nav-icon span:nth-child(1) {
  top: 0;
}

.nav-icon span:nth-child(2) {
  top: 6px;
}

.nav-icon span:nth-child(3) {
  top: 12px;
}

.nav-icon.open {
  top: -10px;
}

.nav-icon.open span:nth-child(1) {
  top: 18px;
  -webkit-transform: rotate(135deg);
          transform: rotate(135deg);
}

.nav-icon.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.nav-icon.open span:nth-child(3) {
  top: 18px;
  -webkit-transform: rotate(-135deg);
          transform: rotate(-135deg);
}


.section__banner {
  padding: 0 0 0 0;
}
.banner__block {
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}
.banner__block .swiper-container {
    width: 100%;
}
.banner__arrow {
  width: 40px;
  height: 40px;
}
.banner__arrow.prev {
  transform: scaleX(-1);
}
.banner__arrow .arrow__icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, .5);
}
.banner__slide {
  position: relative;
  width: 100%;
  height: calc(100vh - 266px);
  color: #fff;
}

.banner__slide .banner__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.banner__slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
      object-fit: cover;
}
.banner__slide .banner__bg {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear-gradient(0deg, rgba(43, 42, 41, 0.6), rgba(43, 42, 41, 0.6)));
  background: linear-gradient(0deg, rgba(43, 42, 41, 0.6), rgba(43, 42, 41, 0.6));
  z-index: 2;
}


.banner__content {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  width: 100%;
  height: 100%;
  padding: 2em;
  z-index: 3;
}

.banner__title {
  display: block;
  padding: 1.5em;
  max-width: 300px;
  text-align: left;
  padding: 1em;
  background: rgba(0,0,0,.6);
  border-radius: 8px;
  font-weight: bold;
  font-size: 1em;
}
.banner__btn {
  margin-top: 1em;
}
.panel {
  position: absolute;
  bottom: 3em;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  z-index: 1;
}

.panel__block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.panel__item .link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: var(--white-color);
  color: var(--title-color);
  font-weight: bold;
  width: 25vw;
  height: 80px;
  padding: 0 2em;
  text-align: center;
  line-height: 1.2;
  transition: 250ms;
  border: 2px solid var(--white-color);
}
.panel__item .link:hover {
  background: var(--base-color);
  color: var(--white-color);
}
.panel__item:first-child .link {
  border-radius: 30px 0 0 30px;
}
.panel__item:last-child .link {
  border-radius: 0 30px 30px 0;
  background: var(--base-color);
  color: var(--white-color);
  border: 2px solid var(--base-color);
}
.panel__item:last-child .link:hover {
  background: var(--hover-color);
  color: var(--base-color);
}
.panel__item .item__img {
  margin-right: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.panel__item .item__img img {
  max-width: 40px;
  height: auto;
}

.speech__block {
  display: flex;
  flex-direction: row;
  background: var(--header-color);
  box-shadow: var(--before-shadow);
}
.speech__content {
  padding: 2em;
}
.speech__content .content__inner {
  background-color: inherit;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
.speech__img {
  flex: 0 0 300px;
}
.speech__img .img__block {
  width: 100%;
  height: 100%; 
}
.speech__block .speech__img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  margin: 0 0;
}

.section__news {
  background: 20% 125% / 25vh no-repeat url('../img/Union.png'),
              80% -10% / 20vh no-repeat url('../img/Union.png'),
              var(--light-color);
}

.newsblock__title {
  display: flex;
  justify-content: space-between;
}
.newsblock__title .title__filter {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  height: 100%;
}
.newsblock__title .filter__item {
  margin: .5em 0;
  margin-left: 1em;
}
.newsblock__title .filter__item .item__title {
  font-weight: bold;
  font-size: .875em;
}
.newsblock__title .filter__item input {
  display: none;
}
.news__block {
  padding: 1em 0;
  -ms-grid-columns: (minmax(255px, 1fr))[auto-fill];
      grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  grid-auto-rows: auto;
  grid-gap: 1.5em;
}

.newsbtns__item:first-child {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.news__item {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background: var(--header-color);
  border-radius: 0 0 8px 8px;
  transition: .25s;
  box-shadow: var(--before-shadow);
}
.news__item:hover {
  transform: translateY(3px);
  box-shadow: var(--after-shadow);
}
.news__item .item__img {
  display: flex;
  flex-direction: column;
  height: 200px;
  width: 100%;
}
.news__item .item__img .img__link {
  display: block;
  width: 100%;
  height: 100%;
}
.news__item .item__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.news__item .item__theme {
  position: absolute;
  top: .5em;
  right: .5em;
  display: none;
  align-self: flex-end;
  background: var(--base-color);
  color: var(--light-color);
  padding: .2em .3em;
  border-radius: 5px;
  font-size: .9em;
}
.news__item .item__text {
  display: flex;
  flex-direction: column;
  padding: 1em;
  height: 100%;
}
.news__block .news__item img,
.news__block .news__item p {
  margin: 0 0;
}
.news__item .item__desc {
  margin-bottom: 1em;
}


.news__item .item__date {
  display: inline-block;
  align-self: flex-end;
  background: var(--base-color);
  color: var(--light-color);
  padding: .3em .5em;
  border-radius: 10px;
  margin-top: auto;
}

.news__item .item__btn {
  margin-top: auto;
  padding: 0 1em;
  padding-bottom: 1em;
}


.newsbtns__block {
  padding-top: 2em;
}

.section__category {
  background: var(--base-color);
  color: var(--white-color);
}
.main__content .section__category {
  background: inherit;
  color: var(--text-color);
}
.animals__block {
  padding: 1em 0;
}
.animals__block .swiper-slide {
  height: auto;
}
.animals__block.grid {
  grid-template-columns: repeat();
}
.animals__item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* border: 1px solid var(--white-color); */
  border-radius: 0 0 5px 5px;
  height: 100%;
}
.animals__item .item__img {
  width: 100%;
  height: 200px;
}
.animals__item .item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.animals__item .item__text {
  flex: 1 1 100%;
  background: var(--white-color);
}
.animals__item .item__title .link {
  color: var(--base-color);
  display: block;
  padding: 1em;
  height: 100%;
  font-weight: bold;
}
.category__block, .animals__block.grid {
  padding: 2em 0;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  grid-gap: 30px;
}
.category__btn {
  padding-top: 2em;
  display: flex;
  justify-content: center;
}
.category__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 5px;
  padding: 1.5em;
  transition: 250ms;
  border: 2px solid rgba(255, 255, 255, .3);
}
.category__item .item__img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5em;
  width: 125px;
  flex: 0 0 125px;
  /* border: 2px solid rgba(255,255,255,.5); */
  border-radius: 50%;
}
.category__item .item__title {
  width: 160px;
  text-align: center;
}
.category__item .item__img a {
  display: flex;
  justify-content: center;
  width: 100%;
  height: auto;
}
.category__item .item__img path {
  fill: var(--white-color);
  transition: 250ms;
}
.main__content .category__item .item__img path {
  fill: var(--base-color);
}
.category__item .item__img img {
  width: 112px;
  height: auto;
  object-fit: contain;
}

.catalog__block {
  padding: 2em 0;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  grid-auto-rows: auto;
  grid-gap: 30px;
}

.filter__row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  grid-auto-rows: auto;
  grid-gap: 30px;
  padding-bottom: 1.5em;
}
.filter__item .item__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid var(--base-color);
  border-radius: 5px;
  width: 100%;
  height: 100%;
  padding: 1em;
  transition: 250ms;
  text-align: center;
  color: var(--base-color);
}
.filter__item .item__title svg, .filter__item .item__title path {
  fill: var(--base-color);
}
.filter__item .item__title:hover {
  background: var(--base-color);
  color: var(--white-color);
}
.filter__item .item__title:hover svg, .filter__item .item__title:hover path {
  fill: var(--white-color);
}

.filter__item .hidden__input {
  display: none;
}

.product__item {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.product__item .item__img {
  width: 100%;
  flex: 0 0 220px;
  overflow: hidden;
}
.product__item .item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 250ms;
}
.product__item:hover .item__img img {
  transform: scale(1.05);
}
.product__item:hover .item__text .link {
  color: var(--base-color);
}
.product__item .item__text {
  padding: .5em 0;
}
.product__item .item__subtitle {
  font-size: .875em;
  color: var(--grey-color);
  margin-bottom: .5em;
}
.product__item .item__desc {
  margin-top: .5em;
  color: var(--grey-color);
}
.section__usefull {
  padding-bottom: 3em;
  background: var(--light-color);
}

.usefull__block {
  -ms-grid-columns: (minmax(250px, 1fr))[auto-fill];
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: auto;
  grid-gap: 30px;
}

.usefull__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 1em;
  background: var(--header-color);
  border-radius: 5px;
  transition: .25s;
  box-shadow: var(--before-shadow);
}
.usefull__item:hover {
  transform: translateY(3px);
  box-shadow: var(--after-shadow);
}


.usefull__item .item__img {
  margin-right: 1em;
  flex: 0 0 70px;
  height: 70px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.usefull__item .item__img img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.usefull__item .item__title {
  text-align: center;
  font-size: .85em;
}



.checkbox-custom, .radio-custom {
  opacity: 0;
  position: absolute;   
}

.checkbox-custom, .checkbox-custom-label, .radio-custom, .radio-custom-label {
  display: inline-block;
  vertical-align: middle;
  margin: 5px;
  cursor: pointer;
}
.checkbox-custom-label, .radio-custom-label {
  position: relative;
}

.checkbox-custom + .checkbox-custom-label:before, .radio-custom + .radio-custom-label:before {
  content: '';
  background: #fff;
  border: 2px solid #ddd;
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  padding: 2px;
  margin-right: 10px;
  text-align: center;
}

.checkbox-custom:checked + .checkbox-custom-label:before {
  content: " ";
  background: var(--base-color);
  color: var(--header-color);
}

.radio-custom + .radio-custom-label:before {
  border-radius: 50%;
}

.radio-custom:checked + .radio-custom-label:before {
  content: "";
  background: var(--base-color);

}

.checkbox-custom:focus + .checkbox-custom-label, .radio-custom:focus + .radio-custom-label {
  outline: 1px solid #ddd; /* focus style */
}


.docs__item {
  margin-bottom: 20px;
}
.docs__btn .btn {
  background: var(--base-color);
  width: 100%;
  padding: 1em;
  text-align: left;
  color: #fff;
  font-size: 1.1em;
  border-radius: 10px 10px 0 0;
  text-decoration: none;
}
.docs__btn .dropdown-toggle::after {
  display: inline-block;
  margin-left: .255em;
  vertical-align: middle;
  content: "";
  border-top: .3em solid;
  border-right: .3em solid transparent;
  border-bottom: 0;
  border-left: .3em solid transparent;
}
.docs__btn .btn[aria-expanded=true].dropdown-toggle::after{
  border-top: 0;
  border-right: .3em solid transparent;
  border-bottom: .3em solid;
  border-left: .3em solid transparent;
}
.docs__list, .files__list {
  padding: 0;
  padding-left: 50px;
  list-style: none;
  margin-bottom: 0;
}
.docs__list a {
  line-height: 1.5;
  color: var(--base-color);
  display: block;
  padding: .5em 0;
}
.docs__subtitle {
  padding-top: 1em;
  text-align: center;
  color: var(--base-color);
  font-size: 1.1em;
  font-weight: 700;
}
.files__block .files__item {
  display: flex;
  position: relative;
}
.files__block .docs__link {
  position: relative;
  display: flex;
  align-items: center;
  height: 1.5em;
  padding-left: 2em;
  font-weight: bold;
  font-family: var(--text-font);
  transition: .3s;
}
.files__block .docs__link:hover {
  text-decoration: none;
}
.files__block .docs__link::before {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1.5em;
  height: 1.55em;
  content: "";
  background-size: contain;
}
.files__block .docs__icon {
  margin-left: .8em;
}

.files__block .docs__icon svg {
  width: 1.5em !important;
}
.files__block .docs__icon svg path {
  fill: var(--base-color);
}

.files__block .docs__icon.see {
  display: none;
}
.files__block .docs__icon.see[href$=".pdf"] {
  display: inline-block;
}
.files__block .docs__link[href$=".pdf"]:before {
  background-image: url('../img/icons/pdf.svg');
}

.files__block .docs__link[href$=".docx"]:before,
.files__block .docs__link[href$=".txt"]:before,
.files__block .docs__link[href$=".doc"]:before,
.files__block .docs__link[href$=".rtf"]:before {
  background-image: url('../img/icons/docs.svg');
}

.files__block .docs__link[href$=".xls"]:before,
.files__block .docs__link[href$=".xlsx"]:before,
.files__block .docs__link[href$=".xlsm"]:before,
.files__block .docs__link[href$=".ods"]:before {
  background-image: url('../img/icons/spreadsheet.svg');
}

.files__block .docs__link[href$=".zip"]:before,
.files__block .docs__link[href$=".rar"]:before,
.files__block .docs__link[href$=".tar"]:before,
.files__block .docs__link[href$=".zipx.sit"]:before,
.files__block .docs__link[href$=".sitx"]:before {
  background-image: url('../img/icons/file.svg');
}

.files__block .docs__link[href$=".jpg"]:before,
.files__block .docs__link[href$=".jpeg"]:before,
.files__block .docs__link[href$=".png"]:before,
.files__block .docs__link[href$=".svg"]:before,
.files__block .docs__link[href$=".tif"]:before,
.files__block .docs__link[href$=".gif"]:before {
  background-image: url('../img/icons/image.svg');
}

.files__block .download svg {
  fill: var(--text-color);
}
.contacts__item:not(:last-child) {
  margin-bottom: 2em;
}
.location__map  {
  margin-top: 1em;
}

/* карта сайта */

.sitemap__block {
  margin-bottom: 2em;
  padding: 0 2em;
}
.sitemap__list {
  padding: 0;
}
.sitemap__link {
  transition: .3s;
}
.sitemap__link:hover,
.sitemap__link:focus,
.sitemap__link.active {
  color: var(--base-color);
}
.sitemap__block .sitemap__branch a {
  color: var(--base-color);
}
.sitemap__block .branch__list {
  margin: 1.5em;
}
/* о клинике */

.responsive-table tr:last-child{
   border-bottom: 1px solid #dee2e6;
}
.responsive-table td:first-child {
  max-width: 300px;
  font-weight: bold;
}
.about {
  margin-bottom: 1.5em;
}

/* наши специалисты */

.workers__block .responsive-table tr td:nth-child(1) {
  width: 20%;
}
.workers__block .responsive-table tr td:nth-child(2) {
  width: 20%;
}
.workers__block .responsive-table tr td:nth-child(3) {
  width: 40%;
}
.workers__block .responsive-table tr td:nth-child(4) {
  width: 20%;
}
.workers__block .responsive-table td:first-child {
  font-weight: normal;
}

/* вакансии */
.joboffer {
  margin-bottom: 2em;
}
.joboffer__block {
  padding: 0 1em;
}
.joboffer__item {
  background: rgba(0, 97, 142, 0.06);
  padding: 1em;
  border-radius: 10px;
  margin-bottom: 1em;
}
.joboffer__btn {
  display: flex;
  justify-content: center;
  margin-top: .5em;
}
.joboffer__item .item__title p {
  font-weight: bold;
}
.joboffer__block .modal-header {
  padding: 0;
  border-bottom: 0;
}
.joboffer__block .form-actions {
  display: flex;
  justify-content: center;
  margin-top: 1em;
}

/* отзывы */
.message__form .form__input {
  margin-top: 1em;
}
.feedback__block .comment-list {
  list-style-type: none;
  padding: 0;
}
.feedback__block .ticket-comment:not(:last-child) {
  margin-bottom: 1.5em;
}
.feedback__block .ticket-comment__body {
  padding: 1em;
  border: 1px solid rgba(0, 97, 138, 0.3);
  border-radius: 5px;
  background: rgba(0, 97, 138, 0.1);
}
.feedback__block .ticket-comment__header {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 1em;
}
.feedback__block .ticket-comment__author {
  font-weight: bold;
  font-size: 1.2em;
}
.feedback__block .ticket-comment__createdon {
  margin-left: 2em;
}

.feedback__block #ticketForm .form-actions, 
.feedback__block #comment-form .form-actions {
  border-top: none;
}
.feedback__block #comment-editor {
  width: 100%;
}
.feedback__block .comment-form__block {
  margin: 1.5em 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feedback__block .comment-form__title {
  margin-bottom: .5em;
  color: var(--base-color);
}
.feedback__block .modal-content {
  position: relative;
}
.feedback__block .block__btn {
  margin-top: 1em;
}

.faq__block .modal-content {
  padding: 1em;
}
.faq__block .message-title {
  margin-bottom: 1em;
}
.faq__block .ec-message__reply {
  margin-bottom: 1em;
  margin-left: auto;
  padding: 0;
  padding: 19px;
  width: 80%;
  background: rgba(144, 238, 144, 0.397);
  border: 1px solid #e3e3e3;
  border-radius: 4px;
}
.faq__block .ec-message {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
}
.ec-antispam {
  display: none;
}
.checkin__form .form-group {
  margin-bottom: 1em;
}
.checkin__form .btn__block {
  margin-top: 2em;
}
.checkin__form label, .checkin__form input {
  margin-bottom: .5em;
}


.album__item .item__desc {
  padding: .5em;  
}
.album__item .item__img {
  overflow: hidden;
  display: flex;
  flex-direction: column;

}
.album__item .item__img img {
  margin: 0 0;
  transition: .25s;
}
.album__item:hover .item__img img {
  transform: scale(1.05);  
}

.gallery__item {
  overflow: hidden;
  width: 100%;
}
.gallery__item .gallery__link {
  transition: .3s;
}
.gallery__item .gallery__desc {
  padding: .5em;
}
.gallery__item img {
  margin: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: .3s;
}
.gallery__item:hover .gallery__link {
  text-decoration: none;
  color: var(--base-color);
}
.gallery__item:hover img {
  transform: scale(1.01);
}

footer {
  margin-top: auto;
  background: var(--footer-color);
  color: var(--header-color);
}
.footer a:hover,
.footer a:focus {
  color: var(--social-color);
}
.footer__block {
  grid-template-columns: repeat(12, minmax(30px, 1fr));
  grid-gap: 15px;
  padding: 46px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
  grid-column: 4 span;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.footer__logo .logo__img {
  margin-right: 1.5em;
  flex: 0 0 100px;
}
.footer__logo .logo__img img {
  max-width: 100%;
}


.footer__social {
  grid-column: 2 span;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.footer__solial .social__link {
  display: inline-block;
}

.footer__social .social__link:not(:last-child) {
  margin-right: 1em;
}
.footer__social img {
  object-fit: contain;
  width: 24px;
  height: auto;
}

.footer__info {
  grid-column: 3 span;
  line-height: 1.5;
}

.footer__info .info__title {
  opacity: .5;
}

.footer__info .info__item {
  margin-bottom: 1em;
}

.footer__info .phone__block {
  text-align: right;
}

.footer__bottom {
  padding: 2em 0;
  -ms-grid-columns: (1fr)[2];
      grid-template-columns: repeat(2, 1fr);
  grid-gap: 30px;
}

.footer__bottom .bottom__text {
  font-size: 13px;
  opacity: .5;
}
@media (min-width: 1330px) {
  .container {
    max-width: 1300px;
  }
}

@media (max-width: 1199px) {
  .container {
    max-width: 100%;
    padding-right: 30px;
    padding-left: 30px;
  }
  .main__block {
    -ms-grid-columns: 1fr 255px;
      grid-template-columns: 1fr 255px;
    grid-gap: 30px;
  }
  .info__list li {
    font-size: 1em;
  }
  .content__block {
    -ms-grid-columns: 255px 1fr;
      grid-template-columns: 255px 1fr;
    grid-gap: 30px;
  }
  .header__item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 180px;
            flex: 0 0 180px;
  }

  .navblock .nav-link {
    font-size: 1em;
  }

  .banner__slide {
    height: 480px;
  }

  .section__social .social__block {
    -ms-grid-columns: 1fr 400px;
        grid-template-columns: 1fr 400px;
    grid-gap: 30px;
  }
  .section__social .social__title {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 1.5em;
  }
  .section__social .social__title p {
    line-height: 1.2;
  }
  .category__block {
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    grid-gap: 20px;
  }
  
}

@media (max-width: 992px) {
  .container {
    max-width: 100%;
  }
  .h1 {
    font-size: 3em;
  }
  .h2 {
    font-size: 2.5em;
  }
  .h3 {
    font-size: 1.5em;
  }
  .h4 {
    font-size: 1.2em;
  }
  .h5 {
    font-size: 1em;
  }

  .main .section__item:last-child,
  .main .section__item.section__news,
  .main__content .section__item:last-child {
    padding-bottom: 2em;
  }
  .main__block {
    grid-gap: 0;
  }
  
  .header__item {
    margin: 0 0 5px 0;
  }
  .header__item:not(.header__logo) {
    border-right: none;
  }
  .header__logo {
    grid-column: span 2;
    grid-row: span 3;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .header__logo .logo__title h1 {
    font-size: 28px;
    font-weight: 700;
    
  }

  .navblock {
    background: var(--light-color);
  }
  .navblock .nav-item {
    border-left: none;
    border-right: none;
  }
  .navblock .menu__list {
    position: absolute;
    top: -1000px;
    left: 0;
    flex-direction: column;
    padding: 0;
  }
  .navblock .menu__list.open {
    top: auto;
    background: var(--light-color);
  }
  .navblock .menu__list .navbar-nav {
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
  }
  .navblock .dropdown-menu {
    position: static;
    font-size: 1em;
    border: none;
  }
  .dropdown:hover > .dropdown-menu .nav-item,
  .dropdown:focus > .dropdown-menu .nav-item {
    border-bottom: none;
    border-right: none;
  }
  .dropdown:hover > .dropdown-menu .nav-link,
  .dropdown:focus > .dropdown-menu .nav-link {
    padding: .5em 1em;
  }
  .navbar-collapse {
    position: absolute;
    top: 100%;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--light-color);
    z-index: 2;
  }

  .nav__toggler {
    display: block;
  }

  .banner__slide {
    height: 360px;
  }
  .banner__block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .banner__title {
    display: block;
    padding: 1em;
    max-width: 250px;
    padding: .7em;
    background: rgba(0,0,0,.6);
    border-radius: 5px;
    font-size: 1em;
  }
  .banner__title .btn__common {
    height: 40px;
    width: 100%;
    padding: 1em;
    font-weight: bold;
    border: none;
    font-size: 1em;
  }

  .panel {
    position: static;
    background: var(--light-color);
  }
  .panel__block {
    padding: 1em 0;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr)[2];
        grid-template-columns: repeat(2, 1fr);
    grid-gap: .5em;
  }
  .panel__item .link {
    background: #fff;
    padding: 1.5em 2em;
    border-radius: 100px;
    width: 100%;
  }
  .panel__item:first-child .link {
    border-radius: 100px 100px 100px 100px;
  }
  .panel__item:last-child .link {
    border-radius: 100px 100px 100px 100px;
  }
  
  .main__block {
    grid-template-columns: 1fr;
  }

  .section__social .social__block {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
  }
  .section__social .social__list img {
    width: 36px;
  }
  .section__social .social__list p {
    display: none;
  }
  .section__social .social__item:not(:last-child) {
    margin-right: 1em;
  }
  /* .social__img {
    display: none;
  } */
  .content__block {
    grid-template-columns: 1fr;
    grid-row-gap: 1.5em;
  }
  .content__inner {
    order: 1;
  }
  .aside__block {
    order: 2;
  }

  .speech__content {
    padding: 1em;
  }
  .speech__img {
    flex: 0 0 320px;
  }
  
  .sitemap__block {
    margin-bottom: 1em;
    padding: 0 1em;
  }
  .mainbtn__block {
    display: grid;
    /* grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); */
    grid-template-columns: 1fr;
    grid-gap: 1em;
  }
  .footer__block {
    grid-template-columns: 1fr 1fr;
  }
  .footer__logo,
  .footer__social,
  .footer__info {
    grid-column: span 1;
  }
  .footer__social {
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 12px;
  }
  .container {
    max-width: 100%;
  }
  .header__block {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    grid-gap: 1em;
  }
  .header__logo {
    border-right: none;
  }
  .navblock .btn__container,
  .navblock .navbar-nav {
    width: 540px;
  }
  
  .dropdown:hover > .dropdown-menu,
  .dropdown:focus > .dropdown-menu {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    -ms-grid-rows: auto;
        grid-template-rows: auto;
    grid-auto-flow: row;
    margin-bottom: 1em;
  }
  .banner__slide {
    height: 300px;
  }
  .speech__block {
    display: flex;
    flex-direction: column;
  }
  .speech__content {
    padding: 1em;
  }
  .speech__img {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    padding-top: 1.5em;
  }
  .speech__img .img__block {
    width: 255px;
    height: 255px;
  }
  .speech__img img {
    object-position: top center; 
  }


  .footer__bottom {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
  }

  .footer__logo {
    margin-bottom: 3em;
  }
  .footer__social {
    margin-bottom: 3em;
  }
  .content__inner tr {
    flex-direction: column;
    justify-content: flex-start;
    width: 100% !important;
    height: auto !important;
  }
  .content__inner tr th,
  .content__inner tr td {
    flex: 1 1;
    width: 100% !important;
    padding: .5em;
    vertical-align: baseline;
  }
}

@media (max-width: 576px) {
  .container {
    max-width: 100%;
    padding-left: 1em;
    padding-right: 1em;
  }
  .h1 {
    font-size: 2em;
  }
  .h2 {
    font-size: 1.8em;
  }
  .h3 {
    font-size: 1.6em;
  }
  .h4 {
    font-size: 1.4em;
  }
  .h5 {
    font-size: 1.2em;
  }
  .header__logo {
    flex-direction: column;
    align-items: center;
  }
  
  .header__logo .logo__img {
    margin-bottom: 1em;
  }
  .header__logo .logo__title h1 {
    font-size: 20px;
  }
  .header__logo .logo__title h1, .header__logo .logo__title p {
    text-align: center;
  }
  .header__info {
    justify-items: flex-start;
  }
  .banner__slide {
    height: 240px;
  }
 
  .infoline__block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  .infoline__item {
    margin: .5em 0;
  }
  .panel__block {
    padding: 1.5em 0;
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
  }
  .navblock .btn__container,
  .navblock .navbar-nav {
    width: 100%;
    padding: 0 15px;
  }
  .header__item:not(:last-child) {
    margin-right: 0;
    padding-right: 0;
  }
  .header__logo {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .footer__logo .logo__img {
    display: none;
  }
  .newsblock__title {
    flex-direction: column;
  }
  .newsblock__title .title__filter {
    justify-content: flex-start;
  }
  .newsblock__title .filter__item {
    margin-right: 0;
  }
}

@media (max-width: 400px) {
  .banner__slide {
    height: 160px;
  }
  .content__inner .title__block {
    flex-direction: column;
  }
  .content__inner .title__img {
    margin-right: 0;
  }
  .footer__block {
    grid-template-columns: 1fr;
  }
  .footer__info .phone__block {
    text-align: left;
  }
}
/*# sourceMappingURL=main.css.map */