/* #region FONT*/
@font-face {
  font-family: "Montserrat"; 
  src: url('../fonts/Montserrat/Montserrat-Light.otf');
  src: url('../fonts/Montserrat/Montserrat-Light.ttf');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat"; 
  src: url('../fonts/Montserrat/Montserrat-Regular.otf');
  src: url('../fonts/Montserrat/Montserrat-Regular.ttf');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat"; 
  src: url('../fonts/Montserrat/Montserrat-Medium.otf');
  src: url('../fonts/Montserrat/Montserrat-Medium.ttf');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat"; 
  src: url('../fonts/Montserrat/Montserrat-Bold.otf');
  src: url('../fonts/Montserrat/Montserrat-Bold.ttf');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url('../fonts/Montserrat/Montserrat-Black.otf');
  src: url('../fonts/Montserrat/Montserrat-Black.ttf');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
/*#endregion */

body {
	color: #333333;
  font-size: 16px;
  font-weight: 300;
  font-family: 'Montserrat', sans-serif;
  position: relative;

  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1366px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .logo_description {
    max-width: 280px!important;
    vertical-align: bottom;
  }
}

.container-fluid {
  padding: 0;
}

b {
  font-weight: 600;
}

h1 {
  font-weight: normal;
  font-size: 32px;
  line-height: 39px;
  color: #000000;
  text-transform: uppercase;
  margin: 35px 0 60px;
}

a, a:hover, a:visited, a:focus {
  text-decoration: none;
  color: #333333;
}

nav {
  z-index: 1;
}

button:active, button:focus {
  outline: none;
}
button::-moz-focus-inner {
  border: 0;
}

.btn_main {
  padding: 20px 26px;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  background: linear-gradient(92.37deg, #EEFDF0 1.53%, #85C58C 96.62%);
  border-radius: 30px;
  border: none;
  max-height: 60px;
  min-width: 235px;
  outline: none;
  text-align: center;
}

.btn_main.blue {
  background: linear-gradient(139.57deg, #FFFFFF -20.12%, #B1D3F1 77%);
  box-shadow: 0px 0px 20px rgba(79, 146, 246, 0.3);
}

.btn_main.white {
  background: #FFFFFF;
  box-shadow: 0px 0px 20px rgba(79, 146, 246, 0.3);
}

.btn_main:hover {
  background: linear-gradient(139.57deg, #FFFFFF -20.12%, #B1D3F1 77%);
}

.background_fly {
  position: absolute;
  top: 96px;
  right: 0;
  width: 570px;
  overflow: hidden;
  height: 330px;
}

.background_fly > img:first-child,
.bottom_background > img:first-child {
  width: inherit;
  mix-blend-mode: color-burn;
  position: absolute;
  max-width: 100vw;
}

.background_fly > img:last-child,
.bottom_background > img:last-child {
  width: inherit;
  position: absolute;
  max-width: 100vw;
}

.main_background {
  position: absolute;
  top: 500px;
  left: -40px;
  z-index: -1;
}

.main_background > img {
  max-width: 100vw;
}

.bottom_background {
  position: absolute;
  top: -35%;
  right: 80%;
}

.bottom_background > img:last-child {
  top: 190px;
  left: 20px;
}




@media (max-width: 768px) {
  .background_fly {
    top: 130px;
    width: 360px;
  }

  .background_fly > img {
    right: -55px;
  }
}

/* #region NAVBAR*/
.navbar.navbar_header {
  padding: 0;
  z-index: 109;
}

.navbar_logo {
  padding: 10px 0;
  color: #0173ed;
}

.navbar_logo > .navbar-brand {
  position: absolute;
  top: 0px;
  z-index: 1;
}

.logo_name {
  font-weight: bold;
  font-size: 34px;
  line-height: 38px;
  margin: 0 10px 0 120px;
  padding: 10px 0;
}

.logo_description {
  font-size: 13px;
  line-height: 16px;
  width: 28vw;
  max-width: 410px;
  text-transform: uppercase;
  font-weight: 400;
}

.navbar-right {
  align-self: center;
  color: #333333;
  position: relative;
}

.navbar-right li {
  text-align: center;
  cursor: pointer;
}

.navbar-right #search_form > li:hover,
.navbar-right button:hover,
.navbar-right a:hover,
.navbar-right .wrap_icon .dropdown:hover button,
.navbar-right .wrap_icon .dropdown:hover,
.navbar-right .wrap_icon .dropdown-menu .dropdown-item:hover {
  color: #63A7E2;
}

li.icon {
  font-size: 20px;
  margin-right: 48px;
}

li.icon > button {
  background: none;
  border: none;
  color: #333333;
}

li.icon.search {
  position: relative;
  z-index: 1;
  cursor: pointer;
  background: none;
  border: none;
  color: #333333;
  padding: 0;
}

.navbar-right #dropdownLang {
  outline: none;
  background: none;
  border: none;
  font-weight: 600;
  padding: 0;
  line-height: 1.7;
  font-size: 18px;
}

.navbar-right .dropdown-menu {
  min-width: auto;
  margin: 0;
}

.navbar-right .dropdown-menu .dropdown-item {
  padding: 0.25rem 1rem;
}

#search_form {
  position: relative;
  z-index: 1;
}

.navbar-right .form-control {
  border-radius: 30px;
  outline: none;
  flex-grow: 1;
  font-size: 13px;
  padding-right: 50px;
  margin: auto;
  height: 60px;
  background: white;
  display: flex;
  align-items: center;
  margin-top: 25px;
  position: absolute;
  top: -40px;
  left: -396px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s;
  width: 438px;
}

.navbar-right .form-control.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s;
}

.wrap_icon {
  display: flex;
} 

.navbar-right .bars_open {
  display: none;
  position: absolute;
  right: 15px;
  top: 5px;
  color: #fff;
  font-size: 20px;
  width: 20px;
}

.navbar.bg-blue .bars_close {
  display: none;
}

/*#endregion */

/* #region NAVBAR_HEADER*/
.bg-blue {
  background:#63A7E2;
  padding: 40px 0;
}

.navbar.w-100 {
  justify-content: center;
}

.navbar.w-100 .dropdown-menu.show {
  width: 100%;
  display: flex!important;
}
.navbar.w-100 .dropdown {
  position: relative;
  margin: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.navbar.bg-blue .dropdown-toggle,
.navbar.bg-blue .dropdown-link {
	margin: 0 30px;
	font-weight: 600;
  font-size: 16px;
  /* margin-bottom: 10px; */
  background-color: inherit;
  border: none;
  padding: 10px 20px;
  color: #FFFFFF;
  display: flex;
  align-items: center;

}

.navbar.bg-blue .dropdown-toggle.active,
.navbar.bg-blue .dropdown-link.active,
.navbar.bg-blue .dropdown-item.active {
  color: #0067B7!important;
  font-weight: 600!important;
  background: rgb(255 255 255);
  border-radius: 22px 22px 22px 22px;
}

.navbar.w-100 .dropdown-menu .dropdown-item {
  text-align: center;
  margin: 10px 0;
  white-space: normal;
  text-align: center;
  max-width: 350px;
  background-color: inherit;
  box-shadow: none;
  border-radius: 0px;
  font-size: 15px;
  width: 100%;
  font-weight: 300;
  color: #4F4F4F;
  padding: 0 20px;
}

button.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
button.dropdown-item::after {
  display: inline-block;
  margin-left: .255em;
  vertical-align: .255em;
  content: "";
  border-top: .3em solid;
  border-right: .3em solid transparent;
  border-bottom: 0;
  border-left: .3em solid transparent;
}
.navbar.w-100 .dropdown-menu button.dropdown-item.open {
  font-weight: 600;
  color: #4F4F4F;
}
button.dropdown-item.open::after,
button.dropdown-toggle.open::after {
  transform: rotate(180deg);
}
.nested-menu {
  display: none;
  background: rgb(249, 249, 249);
  padding: 10px 0 10px 20px;
}
.nested-menu .dropdown-item {
  text-align: left!important;
}
.nested-menu .dropdown-item::before {
  content: '–';
}

/* .navbar.bg-blue .dropdown-menu .dropdown-toggle {
  color: #4e4e4e;
} */

/* #endregion */

/* #region CAROUSEL*/
  .carousel-inner {
    height: 750px;
  }

  .carousel-item {
    height: 100%;
  }

  .carousel-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel-indicators li {
    border: 1px solid #333;
    border-radius: 2px;
    box-sizing: border-box;
    background-color: #333;
  }

  .carousel-indicators li.active {
    background: #85C58C;
    border: none;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: auto;
    height: max-content;
    margin: auto;
  }

  .carousel-control-prev {
    right: 970px;
    left: auto;
  }

  .carousel-control-next {
    right: 290px;
  }

  .carousel-caption {
    top: 150px;
    left: inherit;
    right: 340px;
    text-align: left;
    color: #000;
    font-size: 14px;
    line-height: 24px;
    width: 603px;
  }

  .carousel-caption > h4 {
    font-weight: 600;
    font-size: 29px;
    line-height: 35px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .carousel-caption > .btn_main {
    margin-top: 26px;
    display: inline-block;
  }

  .slide_mask {
    background: url(../img/slide_mask.png) no-repeat top right;
    /* background-size: 65% 100%; */
    height: 100%;
    width: 100%;
    position: absolute;
    right: 0;
    top: 0;

    /* -webkit-background-size: 65% 100%;
    -moz-background-size: 65% 100%;
    -o-background-size: 65% 100%; */
  }
    
/*#endregion */

/* #region NEWS_WIDGET*/
.news_widget {
  margin-top: 80px;
  z-index: 1;
  position: relative;
}

.news_widget .card {
  height: 275px;
  justify-content: flex-end;
  border: none;
  border-radius: 0px;
  overflow: hidden;
  cursor: pointer;
  background-size: 150%;		
}

.news_widget .card .card_background {
  height: 100%;
  width: 100%;
  transition: all 2s;
}

.news_widget .card:hover .card_background {
  transform: scale(1.2)
}

.news_widget .card:hover .card-body {
  background:rgba(243, 243, 243, 0.9);
}

.news_widget .col-card:first-child .card {
  border-radius: 20px 0px 0px 0px;
}

.news_widget .col-card:nth-child(2) .card {
  border-radius: 0px 20px 0px 0px;
}

.news_widget .col-card:nth-child(3) .card {
  border-radius: 0px 0px 0px 20px;
}

.news_widget .col-card:nth-child(5) .card {
  border-radius: 0px 0px 20px 0px;
}

@media (max-width: 767px) {
  .news_widget .col-card:first-child .card {
    border-radius: 20px 20px 0px 0px;
  }

  .news_widget .col-card:nth-child(2) .card {
    border-radius: 0px 0px 0px 0px;
  }

  .news_widget .col-card:nth-child(3) .card {
    border-radius: 0px 0px 0px 0px;
  }

  .news_widget .col-card:nth-child(5) .card {
    border-radius: 0px 0px 20px 20px;
  }
}

.news_widget .card .card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100px;
  width: 100%;
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background:rgba(243, 243, 243, 0.55);
  transition: all 1s;	
}

.news_widget .card .card-body_date {
  font-weight: 300;
}

.news_widget .card .card-body p {
  margin-bottom: 10px;
}

.news_widget .card .card-body p:last-child {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 600;
}

.news_widget .more {
  font-weight: 600;
  font-size: 14px;
  margin-top: 15px;
  text-align: right;
}

.news_widget .more:hover {
  text-decoration: underline;
}

.news_widget .more:hover i {
  margin-left: 10px;
}
/*#endregion */

/* #region INFO*/
.block_info {
  margin-top: 80px;
  /*min-height: 712px;*/
  padding-bottom: 70px;
  position: relative;
  margin-bottom: -80px;
}

.partners h1 {
  /* margin-left: 85px; */
  margin-top: 50px;
}

.resources,
.partners {
  z-index: 2;
}

.resources h1 {
  text-align: right;
  /* margin-right: 85px; */
  margin-top: 50px;
}

.block_info .card {
  flex: 0 0 100%;
  flex-basis: 158px;
  min-width: 158px;
  height: 120px;
  border-radius: 10px;
  box-shadow: 0px 10px 5px rgba(133, 197, 140, 0.2);
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
}

.block_info .partners .card {
  margin-right: 80px;
  margin-left: 0;
}

.block_info .card img {
  object-fit: contain;
  max-width: 103px;
  max-height: 103px;
  transition: all 0.5s;
}

.block_info .partners .card:hover {
  box-shadow: 0px 1px 4px rgba(133, 197, 140, 0.2), 0px 15px 0px #FFFFFF;
}

.block_info .resources .card:hover {
  box-shadow: none;
}

.block_info .card:hover img {
  filter: grayscale(100%);
  opacity: 0.5;
}

.block_info .resources .card-deck {
  justify-content: flex-end;
  z-index: 2;
}

.block_info .card-deck {
  margin-right: 0;
  margin-left: 0;
}
  

.block_info .resources .card {
  margin-left: 80px;
  margin-right: 0;
  
}

@media (min-width: 1200px) {
  .block_info .resources .card:nth-child(3n + 1) {
    margin-left: 0;
    margin-right: 0;
  }
  
  .block_info .resources .card:nth-child(3n) {
    margin-left: 120px;
    margin-right: 120px;
  }

  .block_info .partners .card:nth-child(5n + 3) {
  margin-left: 95px;
  }

  .block_info .partners .card:nth-child(5n + 7) {
    margin-right: 0;
  }
  	
}


.block_info .background {
  background: url(/bitrix/templates/.default/img/info_background.png) no-repeat top right / 55% 100%;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}

/*#endregion */

.pravo_doc {
  position: relative;
  z-index: 2;
}
/* #region MAPS*/
.maps {
  position: relative;
  /*margin-top: -40px;*/
}

.map {
  height: 526px;
}

.contacts {
  background: white;
  height: 100%;
  width: 395px;
  padding: 120px 33px 80px;
  position: absolute;
  top: 0;
  right: 15vw;
  box-shadow: 0px 8px 10px rgba(99, 167, 226, 0.5), 0px 15px 0px #FFFFFF;
}
/*#endregion */

/*#region FOOTER*/
.footer {
  position: relative;
}

.footer .bg-blue {
  padding-bottom: 40px;
  position: relative;
}

.subscription {
  padding-top: 40px;
  position: relative;
  z-index: 1;
}

.subscription form {
  max-width: 577px;
  margin: auto;
}

.subscription h2 {
  font-weight: 600;
  font-size: 29px;
  line-height: 35px;
  text-transform: uppercase;
}

.subscription .form-control {
  margin: auto;
  height: 60px;
  background: white;
  border-radius: 50px;
  display: flex;
  align-items: center;
  margin-top: 28px;
}

.subscription .form-group {
  margin-bottom: 0;
  position: relative;
}

.subscription .form-group .form-control {
  border-radius: 50px;
  border: none;
  outline: none;
  flex-grow: 1;
  font-size: 13px;
  padding: 22px 30px;
}

.subscription .form-group .form-control:focus {
  box-shadow: none;
}


.subscription .form-group .btn_main {
  position: absolute;
  bottom: 0;
  right: 0;
}

.question {
  margin-top: 80px;
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
}


.question img {
  margin-right: 15px;
}

.copyright {
  margin: 24px 0;
}

.copyright .navbar-text {
  font-size: 11px;
  line-height: 11px;
  padding-right: 0;
  padding-left: 0;
}
/*#endregion */

/*#region MAIN*/
.main {
  position: relative;
}

.main .section {
  margin-bottom: 80px;
}

.main .section > *,
.form-content-modal > * {
  position: relative;
  /*z-index: 110;*/
}

.main > .section img:not(.card_img) {
  margin: 10px;
  border-radius: 20px;
  max-width: 100%;
  height: auto;
}

.modal-backdrop {
	z-index: 80;
}

.gallery img {
  border-radius: 0!important;
}

.section ul.nav {
  margin-top: 35px;
  font-size: 14px;
  line-height: 17px;
  
}

.section ul.nav .nav-item {
  margin: 0 40px;
  
}

.section ul.nav .nav-item a {
  color: #4F4F4F;
}

.section ul.nav .nav-item a.active,
.section ul.nav .nav-item a:hover {
  color: #0067B7;
  font-weight: 600;
}

.breadcrumb {
  background: none;
  margin-bottom: 0;
  margin-top: 20px;
}

.breadcrumb-item a {
  color: #9F9E9E;
}

.breadcrumb-item.active {
  color: #7A9CC7;
}

.breadcrumb-item+.breadcrumb-item::before {
  background: url(/bitrix/templates/.default/img/arrows.svg) no-repeat center /contain;
  content: "";
  margin-right: 8px;
}

.director {
  margin-bottom: 80px;
}

.director .card,
.news_card .card {
  height: 236px; 
  border-radius: 20px;
  overflow: hidden;
  font-size: 14px;
  line-height: 20px;
  border: none;
  box-shadow: 0px 10px 5px rgba(133, 197, 140, 0.2);
}

.news_card .card {
	height: 150px;
}

.director .card img,
.news_card .card img {
  height: 100%;
  width: 233px;
  object-fit: cover;
  margin: 0;
  max-width: none;
  object-position: top;
}

.director .card-body,
.news_card .card-body {
  padding: 15px;
}

.director .card h4,
.news_card .card h4 {
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  margin-bottom: 12px;
}

.director .card span,
.news_card .card span {
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.director .card object,
.news_card .card a {
  align-self: flex-end;
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
}

.director .card object a {
  font-size: 14px;
  line-height: 17px;
  color: #0067B7;
  font-weight: 600;
}

.doska .card {
  border: none;
  max-width: 270px;
  background: #FFFFFF;
  box-shadow: 0px 4px 4px rgba(133, 197, 140, 0.2);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  font-weight: normal;
	font-size: 14px;
	line-height: 17px;
}

.doska .card h4 {
	font-weight: 600;
	font-size: 18px;
	line-height: 22px;
}

.doska .card-img-top {
  object-fit: cover;
  height: 350px;
  object-position: top;
}

.news_card .card > a {
	height: 100%;
	max-width: 233px;
}

.director .card .card-text.tel b {
  font-size: 16px;
}

.director .modal {
  background: rgba(11, 79, 164, 0.5);
}

.director .modal-dialog {
  max-width: 620px;
}

.director .modal-content {
  border-radius: 20px;
  border: none;
}

.director .modal-header {
  width: 100%;
  height: 50vh;
  /*min-height: 550px;*/
  padding: 100px 44px;
  flex-direction: column;
  justify-content: flex-end;
}

.director .modal-header .card-text {
  font-size: 16px;
  line-height: 20px;
  padding: 7px 24px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  margin-bottom: 5px;
}

.director .modal-header button {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0;
  background: #63A7E2;
  border-radius: 50px;
  width: 40px;
  height: 40px;
  opacity: 1;
  margin: 0;
  color: white;
}

.director .modal-body-background {
  overflow: hidden;
  padding-top: 40px;
  border-radius: 40px 40px 0px 0px;
  margin-top: -70px;
  background: white;
  position: relative;
}

/*.director .modal-body-background::after {
  content:"";
  display: block;
  height: 10px;
  width: 100px;
  background: rgba(51, 51, 51, 0.25);
  position: absolute;
  top: 6%;
  left: 40%;
  border-radius: 40px;
}*/

.director .modal-body {
  height: 100%;
  padding: 0 44px 1rem;
}

.pravo_doc a > span {
  color: #0067B7;
  font-weight: 600;
}

.pravo_doc .table th {
  width: 15px;
  background: url(/bitrix/templates/.default/img/scales.svg) no-repeat top 4px left / contain;
  padding: 0;
}

.pravo_doc .table td {
  padding-top: 0;
  padding-bottom: 30px;
}

.pravo_doc .table td,
.pravo_doc .table th {
  border-top: none;
}

.frame {
  height: 45vw;
}

/*#endregion*/

@media (max-width: 1199px) {
	.logo_description {
	  vertical-align: bottom;
	}
}


@media (max-width: 1199px) {
  .subscription .question {
    max-width: 326px;
    line-height: 25px;
  }

  .subscription .question .operating,
  .subscription .question .question_button {
    margin-bottom: 40px;
    
  }

  .subscription .question .number {
    margin-bottom: 60px;
  }

  .subscription .question .btn_main{
    margin-left: 0;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {

  .block_info .partners .card:nth-child(3n + 1) {
    margin-left: 0;
    margin-right: 0;
  }
  .block_info .partners .card:nth-child(3n + 2) {
    margin-left: 120px;
    margin-right: 0;
  }
  .block_info .partners .card:nth-child(3n) {
    margin-left: 140px;
    margin-right: 140px;
  }

  .block_info .resources .card:nth-child(2n) {
    margin-left: 0;
    margin-right: 120px;
  }
}

@media (min-width: 992px) {
	li.icon,
	li.icon.search,
	.wrap_icon .dropdown {
    background: #63a7e2;
    border-radius: 0 0 20px 20px;
    padding: 30px 5px 5px;
    margin-top: -30px;
    min-width: 44px;
    margin-right: 1.7vw;
    max-width: 65px;
    text-align: center; 
  }

  li.icon.search.active {
  	margin-top: 0px;
    padding: 2px;
    border-radius: 20px;
    min-width: 36px;
  }
  
  .navbar-right #search_form > li:hover,
  .navbar-right button:hover,
  .navbar-right a:hover,
  .navbar-right .wrap_icon .dropdown:hover button,
  .navbar-right .wrap_icon .dropdown:hover,
  .navbar-right .wrap_icon .dropdown-menu
  .dropdown-item:hover,
  .navbar-right a.dropdown-item {
    color: #0B4FA4;
	}
	.navbar-right #search_form > li,
  .navbar-right button,
  .navbar-right a,
  .navbar-right .wrap_icon .dropdown button,
  .navbar-right .wrap_icon .dropdown,
  li.icon > button {
    color: white;
	}

  .navbar.w-100 .dropdown:hover .dropdown-menu {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    justify-content: center;
    font-size: 13px;
    box-shadow: 2px 4px 12px -8px rgba(99, 167, 226, 0.5);
    width: 100%;
    min-width: 300px;
    left: auto;
    align-items: center;
  }
  .navbar.bg-blue .dropdown:hover .dropdown-toggle.top-level {
    color: #0067B7;
    font-weight: 600;
  }
  
  .navbar.bg-blue .dropdown:hover .dropdown-link {
    color: #0067B7;
  }
  
  .navbar.bg-blue .dropdown:hover .dropdown-toggle {
    background: rgb(255 255 255);
    border-radius: 22px 22px 0 0!important;
    white-space: inherit;
  }
  .navbar.bg-blue .dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }
  
  .navbar.bg-blue .dropdown:hover .dropdown-menu {
    background-color: #fff; 
    border: none;
    flex-wrap: wrap;
  }
  .navbar.w-100 .dropdown:hover .dropdown-menu .dropdown-item:hover {
    background: none;
    color: #0067B7;
    font-weight: 600;
  }

}
/*form*/
.tab {
  overflow: hidden;
  text-align: center;
  margin-top: -20px;
  display: flex;
  justify-content: center;
  padding: 20px;
  width: 100%;
  /*min-height: 70px;*/
}

.tab button {
	font-weight: 500;
	background: linear-gradient(0deg, #FFFFFF, #FFFFFF);
	border-radius: 35px;
	border: none;
	cursor: pointer;
	padding: 12px;
	margin: 0 10px;
	transition: 0.3s;
	font-size: 18px;
	min-width: 292px;
	max-width: 292px;
	height:70px;
	box-shadow: 0px 0px 20px rgba(79, 146, 246, 0.3);
}

.tab button:hover {
	background: linear-gradient(139.57deg, #FFFFFF -20.12%, #B1D3F1 77%);
}

.tab button.active_tab {
	background: linear-gradient(139.57deg, #FFFFFF -20.12%, #B1D3F1 77%);
	font-weight: 600;
}

.form-content-modal {
	top: 50%;
  margin-top: -36vh;
  left: 50%;
  margin-left: -35%;
  position: fixed!important;
	z-index: 199;
	display: none;
	width: 70%;
	/*margin: auto;*/
	background: #fff;
	padding: 0 30px 30px;
	box-shadow: 0 3px 35px rgba(0, 0, 0, .1);
	border-radius: 35px;
  max-height: 100vh;
  overflow: auto;
}

.form-content-modal>.tab {
	justify-content: center;
	height: auto;
}

.form-content-modal>.tab button {
	min-width: auto;
  height: 55px;
  width: 50%;
  max-width: 220px;
}

.contact-form {
	width: 100%;
}

.modal-wrapper {
	position: fixed;
	width: 100vw;
	height: 100vh;
	background: rgba(56, 56, 56, 0.822);
	z-index: 120;
	cursor: pointer;
	top: 0;
}


.form-content-modal.contact {
	position: unset;
	display: block;
	box-shadow: none;
}

.input-wrapper {
	display: flex;
	width: 100%;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.contact-form__title {
	padding: 20px 0 15px;
	line-height: 1.5;
	text-align: center;
	font-size: 20px;
	font-weight: 600;
	text-transform: uppercase;
	color: #000;

}

.contact-form__description {
	display: none;
	text-align: center;
	font-size: 18px;
	margin-bottom: 10px;
}

.contact-form__input-wrapper {
	margin: 0 10px 20px;
	width: 40%;
  display: flex;
  flex-direction: column;
}

.contact-form__error_director {
	margin-bottom: 20px;
}

.contact-form__input {
	font-family: 'Montserrat',
		sans-serif;
	width: 100%;
	height: 50px;
	padding: 0 15px;
	box-sizing: border-box;
	border: 1px solid #e2e2e2;
	background: #fbfbfb;
	border-radius: 15px;
	font-size: 12px;
}

.contact-form__text {
	padding-top: 15px;
	height: 250px;
}

.contact-form__error {
	font-size: .875rem;
	color: rgb(232, 74, 102);
}

.contact-form__button {
  background: linear-gradient(92.37deg, #EEFDF0 1.53%, #85C58C 96.62%);
  border-radius: 30px;
  display: block;
  margin: 20px auto;
  font-size: 16px;
  font-weight: 600;
  border: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
  /* transition: .3s; */
  padding: 20px;
  margin-top: auto;
  max-width: 260px;
  width: 100%;
}

.contact-form__button:hover {
	transition: .3s;
	background: linear-gradient(155.25deg, #dcffe1 8.4%, #85C58C 102.37%);
}

.checkbox {
	font-size: 14px;
  margin-top: 20px;
  flex-wrap: wrap;
	display: flex;
	justify-content: space-between;
}

.checkbox > span {
  margin-bottom: 10px;
}

.checkbox_item {
	display: flex;
  margin-left: auto;
  margin-bottom: 10px;
}

.input_check {
	margin: 0 20px;
	width: 20px;
  height: 20px;
}

.help {
	display: block;
	text-align: center;
	font-size: 16px;
}

.close_modal {
	position: absolute;
	right: 10px;
	top: 10px;
	cursor: pointer;
	border-radius: 50%;
	background: url(/bitrix/templates/.default/img/close.svg) 50% 50% / contain no-repeat, black;
	padding: 18px;
  z-index: 1;
}

.card-modal>.close_modal {
	padding: 15px;
}

input[type="file"] {
  display: none;
}

.contact-form__input-wrapper label {
  display: inline-block;
  position: relative;
  height: 20px;
  padding-left: 30px;
  background: url(/bitrix/templates/.default/img/attach.png) no-repeat left top / contain;
  cursor: pointer;
  font-size: 13px;
  line-height: 16px;
  color: #9F9E9E;
  margin-top: 20px;
}

.request-method {
  width: 80%;
  display: flex;
  flex-direction: column;
  margin: auto;
}
.method-item {
  display: flex;
  align-items: center;
}
.method-item::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #63A7E2;
  margin-right: 10px;
  flex-shrink: 0;
}
.method-item.phone a > i {
  color: #85C58C;
  font-size: 30px;
  margin-left: 10px;
}
.method-item.consultation > button {
  display: flex;
  align-items: center;
  max-height: none;
  padding: 10px;
  border-radius: 200px;
  
}
.method-item.consultation > button > i {
  color: #85C58C;
  font-size: 40px;
  font-weight: 100;
  margin-right: 10px;
}
/*//form*/

.question_buttonCircle {
	z-index: 100;
	opacity: 0.8;
	margin: 20px auto;
	position: fixed;
	right: 15px;
	bottom: 65px;
  display: block;
  width: 1em;
  height: 1em;
	font-size: 65px;
	background-color: #85C58C;
  border-radius: 0.5em;
  box-shadow: 0 0 0 0em rgba(52, 152, 219, 0), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
	transform: translate3d(0, 0, 0) scale(1);
	cursor: pointer;
}

.question_buttonCircle::before,
.question_buttonCircle:after {
  position: absolute;
  content: "";
}

.question_buttonCircle::before {
  top: 0;
  left: 0;
  width: 1em;
  height: 1em;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 100%;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(0);
}

.question_buttonCircle::after {
  width: 100%;
  height: 100%;
  background: url('/bitrix/templates/.default/img/question.png');
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  transform: translate3d(0, 0, 0);
}

.question_buttonCircle.is-animating {
  animation: pulse-outer 3000ms infinite;
}

.question_buttonCircle.is-animating::before {
  animation: pulse-inner 3000ms infinite;
}

@keyframes pulse-outer {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 0 0 0em rgba(133, 197, 140, 0), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
  }
  33.3333% {
    transform: translate3d(0, 0, 0) scale(1.1);
    box-shadow: 0 0 0 0em rgba(133, 197, 140, 0.5), 0em 0.05em 0.1em rgba(0, 0, 0, 0.5);
  }
  66.6666% {
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 0 0 0.5em rgba(133, 197, 140, 0), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 0 0 0em rgba(133, 197, 140, 0), 0em 0.05em 0.1em rgba(0, 0, 0, 0.2);
  }
}
@keyframes pulse-inner {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(0);
  }
  33.3333% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(0.9);
  }
  66.6666% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0);
  }
}
@keyframes pulse-icon {
  0% {
    transform: translate3d(0em, 0, 0);
  }
  2% {
    transform: translate3d(0.01em, 0, 0);
  }
  4% {
    transform: translate3d(-0.01em, 0, 0);
  }
  6% {
    transform: translate3d(0.01em, 0, 0);
  }
  8% {
    transform: translate3d(-0.01em, 0, 0);
  }
  10% {
    transform: translate3d(0.01em, 0, 0);
  }
  12% {
    transform: translate3d(-0.01em, 0, 0);
  }
  14% {
    transform: translate3d(0.01em, 0, 0);
  }
  16% {
    transform: translate3d(-0.01em, 0, 0);
  }
  18% {
    transform: translate3d(0.01em, 0, 0);
  }
  20% {
    transform: translate3d(-0.01em, 0, 0);
  }
  22% {
    transform: translate3d(0.01em, 0, 0);
  }
  24% {
    transform: translate3d(-0.01em, 0, 0);
  }
  26% {
    transform: translate3d(0.01em, 0, 0);
  }
  28% {
    transform: translate3d(-0.01em, 0, 0);
  }
  30% {
    transform: translate3d(0.01em, 0, 0);
  }
  32% {
    transform: translate3d(-0.01em, 0, 0);
  }
  34% {
    transform: translate3d(0.01em, 0, 0);
  }
  36% {
    transform: translate3d(-0.01em, 0, 0);
  }
  38% {
    transform: translate3d(0.01em, 0, 0);
  }
  40% {
    transform: translate3d(-0.01em, 0, 0);
  }
  42% {
    transform: translate3d(0.01em, 0, 0);
  }
  44% {
    transform: translate3d(-0.01em, 0, 0);
  }
  46% {
    transform: translate3d(0em, 0, 0);
  }
}

/*Snackbar*/
	#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -150px; /* Divide value of min-width by 2 */
    background-color: #fff;
    color: #000; 
    text-align: center; /* Centered text */
    border-radius: 40px; /* Rounded borders */
    padding: 25px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 999; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
    border: 2px solid #88c68f;
	}

	/* Show the snackbar when clicking on a button (class added with JavaScript) */
	#snackbar.show {
	    visibility: visible; /* Show the snackbar */

	/* Add animation: Take 0.5 seconds to fade in and out the snackbar.
	However, delay the fade out process for 2.5 seconds */
	    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
	    animation: fadein 0.5s, fadeout 0.5s 2.5s;
	}

	/* Animations to fade the snackbar in and out */
	@-webkit-keyframes fadein {
	    from {bottom: 0; opacity: 0;}
	    to {bottom: 30px; opacity: 1;}
	}

	@keyframes fadein {
	    from {bottom: 0; opacity: 0;}
	    to {bottom: 30px; opacity: 1;}
	}

	@-webkit-keyframes fadeout {
	    from {bottom: 30px; opacity: 1;}
	    to {bottom: 0; opacity: 0;}
	}

	@keyframes fadeout {
	    from {bottom: 30px; opacity: 1;}
	    to {bottom: 0; opacity: 0;}
	}
/*//Snackbar*/

@media (max-width: 991px) {
  .navbar > .container {
    max-width: 100%;
    padding: 0;
  }

  .navbar .navbar_logo {
    max-width: 690px;
    margin: 0 auto;
  }

  .navbar-right {
    background: #63a7e2;
  }

  #search_form {
    width: 100%;
    order: 1;
  }
  
  .navbar-right {
    width: 100%;
  }

  .navbar-right .form-control {
    visibility: visible;
    position: relative;
    opacity: 1;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    border-radius: 0;
    border: none;
  }

  li.icon.search {
    position: absolute;
    right: -23px;
    top: 10px;
  }

  .contain_icon {
    margin: auto;
  }

  .wrap_icon {
    display: flex;
    background: white;
    padding: 5px 20px;
    width: max-content;
  }

  li.icon {
    margin-right: 36px;
  }

  .navbar-right .form-control {
    height: 50px;
  }

  .navbar-right .bars_open {
    display: block;
  }

  .navbar.w-100 {
    flex-direction: column;
    justify-content: flex-start;
    flex-wrap: nowrap;
    /* height: 130%; */
  }

  .navbar.w-100 .dropdown {
    margin-bottom: 40px;
    width: auto;
    text-align: center;
    position: static;
    flex-shrink: 0;
  }
  .navbar.w-100 .dropdown .dropdown-menu.open {
    display: flex;
  	box-shadow: none;
    position: relative;
    top: auto;
    align-items: center;
    flex-direction: column;
    width: 100%;
  }
  .navbar.bg-blue .dropdown .dropdown-toggle.open.top-level {
    color: #4F4F4F;
    font-weight: 600;
    background: rgb(255 255 255);
    border-radius: 22px 22px 0 0!important;
    white-space: inherit;
    margin-bottom: -4px;
  }
  

  .navbar.bg-blue .dropdown.open .dropdown-menu.open {
    background-color: #fff; 
    border: none;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .navbar.bg-blue {
    overflow-y: auto;
    height: 100vh;
    z-index: 1;
    z-index: 120;
    width: 0;
    position: absolute;
    transition: all 0.1s;
    top: 0;
    left: 0;
  }

  .navbar.bg-blue.navbar_mobile_open {
    width: 100vw;
    padding: 15px 0;
    transition: all 0.1s;
    color: #fff;
    overflow-x: hidden;
  }

  .navbar.bg-blue .container {
    height: 100%;
    justify-content: flex-start;
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .navbar.bg-blue .navbar_logo {
    display: block!important;
    color: white;
  }

  .navbar.bg-blue.navbar_mobile_open .bars_close {
    display: inline-block;
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 20px;
    z-index: 99;
  }

  .navbar.bg-blue .dropdown-toggle,
  .navbar.bg-blue .dropdown-link {
    margin: 0 20px;
    margin-bottom: -2px;
  }

  .carousel-inner {
    height: 700px;
  }

  .carousel-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    right: 0;
    left: 0;
    margin: auto;
    width: 450px;
  }

  .carousel-control-prev {
    left: 3%;
    right: auto;
  }

  .carousel-control-next {
    right: 3%;
  }

  .slide_mask {
    background-size: 150% 100%;
    -webkit-background-size: 150% 100%;
    -moz-background-size: 150% 100%;
    -o-background-size: 150% 100%;
  }

  .partners h1,
  .resources h1 {
    text-align: center;
  }

  .block_info .card-deck,
  .block_info .resources .card-deck {
    justify-content: space-evenly;
  }

  .block_info .partners .card,
  .block_info .resources .card {
    margin: 0 30px;
    margin-bottom: 30px;
  }

  .block_info .background {
    background-position: 100% bottom;
    background-size: 112% 36%;
  }

  .maps {
    margin-top: 0;
  }

  .contacts {
    position: relative;
    margin: auto;
    right: 0;
    margin-top: -10px;
    padding: 20px;
    width: 94%;
  }

  .bottom_background {
    top: 5%;
    right: 100%;
  }

  .director .card {
    /*height: 394px;*/
    height: auto;
  }

  .director .card h4,
  .director .card span {
    margin-bottom: 5px;
  }

  .director .card img {
    width: 100%;
    height: 236px;
  }

  .frame {
    height: 60vw;
  }

  .input-wrapper {
    flex-direction: column;
  }

  .contact-form__input-wrapper {
    width: 100%;
    margin: 0 0 20px;
  }

  .form-content-modal {
    top: 0;
    margin-top: 0;
    left: 0;
    margin-left: 0;
    border-radius: 0;
    width: 100%;
    height: 100vh;
  }

  .close_modal {
    position: fixed;
    right: 0;
    top: 0;
  }

  .contact-form__text {
    height: 18vw;
}


}

@media (max-width: 767px) {
  .navbar .navbar_logo {
    max-width: 540px;
    padding: 10px 15px;
  }

  .logo_name {
    font-size: 17px;
    padding: 0;
    margin-left: 95px;
  }

  .logo_description {
    font-size: 9px;
    margin-left: 0;
    max-width: 236px;
    width: auto;
  }

  .navbar .navbar-text {
    padding: 0;
    line-height: 9px;
    margin-right: 10px;
  }

  /* .navbar.bg-blue {
    height: 100;
    top: 83px;
  } */

  .navbar-brand > img {
    width: 84px!important;
  }

  .navbar.w-100 .dropdown-menu a {
    max-width: 96%;
  }

  .news_card .card {
    height: auto;
  }

  .news_card .card img {
    width: 100%
  }

  .news_card .card > a {
    width: 100%;
    max-width: none;
    height: 163px;
  }

  .main > .section img:not(.card_img) {
    display: block;
    float: none;
    margin: 10px auto;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 20px;
    margin: 15px 0 30px;
  }

  /* P {
    font-size: 14px;
  } */

  .btn_main {
    padding: 12px 40px;
    font-size: 14px;
    min-width: 183px;
    outline: none;
  }

  .background_fly {
    top: 130px;
    width: 250px;
  }

  .main_background {
    left: -110px;
    top: 370px;
  }

  .partners h1, .resources h1 {
    margin-bottom: 35px;
  }

  .contain_icon {
    width: auto;
  }

  .carousel-inner img {
    display: none;
  }

  .carousel-inner {
    height: 432px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  .carousel-caption {
    top: 80px;
    left: 0;
    right: 0;
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
  }

  .carousel-caption > h4 {
    font-size: 16px;
    line-height: 20px;
  }

  .carousel-caption p  {
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .carousel-caption .btn_main {
    margin-top: 10px;
  }

  .slide_mask {
    background-size: 190% 100%;
    -webkit-background-size: 190% 100%;
    -moz-background-size: 190% 100%;
    -o-background-size: 190% 100%;
  }

  .block_info .card {
    max-width: 137px;
    min-width: 137px;
    flex-basis: 137px;
    height: 104px;
    margin: 0 8px 15px!important;
  }

  .block_info .card-deck,
  .block_info .resources .card-deck {
    display: flex;
    flex-wrap: wrap;
  }
  
  .subscription .form-group .btn_main {
    position: relative;
    margin: auto;
    margin-top: 10px;
    display: block;  
  }

  .subscription .form-control {
    height: 40px;
    margin-top: 12px;
  }

  .subscription h2 {
    font-size: 16px;
  }

  .map {
    height: 290px;
  }

  .contacts {
    font-size: 14px;
    padding: 30px 5px;
    text-align: center;
    width: 92%;
  }

  .contacts b {
    display: block;
  }

  .director .card {
    font-size: 12px;
    line-height: 15px;
    height: 312px;
  }

  .director .card img {
    height: 170px;
  }

  .director .card h4 {
    font-size: 14px;
    line-height: 17px;
  }

  .director .card .card-text.tel b {
    font-size: 14px;
  }


}

@media (max-width: 490px) {
  
  .logo_description {
    font-size: 9px;
    max-width: 236px;
    margin-left: 95px;
  }

  .block_info .card {
    margin: 0 4px 15px!important;
  }

  .block_info .card img {
    max-width: 90px;
    max-height: 90px;
  }

  .subscription .question .operating,
  .subscription .question .number {
    flex-direction: column;
    text-align: center;
  }

  .subscription .question .operating span {
  	display: block;
  }

  .question {
    font-size: 12px;
  }

  .question img {
    margin-right: 0;
    margin-bottom: 13px;
  }

  .copyright .navbar-text {
    font-size: 8px;
  }

  .form-content-modal>.tab {
    flex-direction: column;
    align-items: center;
  }

  .form-content-modal>.tab button {
    width: 100%;
    margin-bottom: 10px;
}
}

@media print {
  .no-print {
    display: none!important;
  }
}


.bx_vertical_menu_advanced {
  display: block!important;
}