/*
Theme Name: Grantplus
Author: Serg DEV.
Description: Grantplus
Version: 1.0.0
Tags: one-column, two-columns, left-sidebar, right-sidebar, custom-menu, featured-images, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, e-commerce, blog, portfolio
*/

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body, figure {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary,
iframe {
  display: block;
}

*:focus {
  outline: none;
}
body {
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #525252;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Geologica", sans-serif;
  color: #2E3F6A;
}

a {
  text-decoration: none;
}
a, button {
  transition: 0.3s ease;
}
a:active,
a:hover {
  outline: 0;
}

small {
  font-size: 80%;
}

img {
  border: 0;
}

address {
  font-style: normal;
}

button,
input,
optgroup,
textarea {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  margin: 0;
  -webkit-appearance: none;
}

textarea {
  overflow: auto;
  resize: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

ul, ol {
  margin: 0;
  padding-left: 0;
  list-style-type: none;
}

td, th {
  padding: 0;
}

p {
  margin-bottom: 15px;
}
.container {
  width: 1200px;
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
  position: relative;
}
.row {
  margin-left: -15px;
  margin-right: -15px;
}
header {
  position: absolute;
  top: 0;
  z-index: 9;
  left: 0;
  width: 100%;
}
button {
  cursor: pointer;
}
body.no-scroll {
  overflow: hidden;
  padding-right: 16px;
}
.wpcf7-spinner {
  display: none;
}
.btn {
  border-radius: 30px;
  width: 100%;
  height: 59px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
  border: 1px solid #fff;
  color: #122D72;
  font-size: 24px;
  font-weight: 600;
}
.btn:hover {
  background: #122D72;
  color: #fff;
  border: 1px solid #122D72;
}
.dark-theme-btn {
  border-radius: 30px;
  width: 100%;
  height: 48px;
  background: #122D72;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
  border: 1px solid #122D72;
  color: #fff;
}
.dark-theme-btn:hover {
  border: 1px solid #122D72;
  background: #fff;
  color: #122D72;
}
h2.section-header {
  font-weight: 500;
  font-size: 36px;
  text-align: center;
  color: #0D1746;
  margin: 0;
  margin-bottom: 60px;
}
h2.section-header span {
    border-bottom: 3px solid #FFCE23;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    position: relative;
    top: -5px;
}
.text-container {
  font-weight: 300;
  font-size: 22px;
  line-height: 160%;
  color: #525252;
  position: relative;
  max-height: 327px;
  overflow: hidden;
  transition: max-height 0.5s ease;
  margin-bottom: 15px;
}
.text-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, transparent, white);
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.text-container.open {
  margin-bottom: 0;
}
.text-container.open::after {
    opacity: 0;
}
.readmore img {
  display: inline-block;
  transition: transform 0.3s ease;
}
.readmore img.arrow.up {
  transform: rotate(180deg);
}
.btn.readmore {
  border: 1px solid #0d1746;
  border-radius: 30px;
  padding: 15px 45px;
  width: 306px;
  height: 54px;
  margin: 0 auto;
  font-size: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
}
.btn.readmore img {
  position: relative;
  top: 2px;
  transition: 0.3s ease;
  margin-left: 10px;
}
.btn.readmore:hover img {
  filter: grayscale(1) brightness(1000%);
}
header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  background-color: #122d72;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
header.sticky .row {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header.sticky  #menu-main-menu li a:hover {
    color: #122d72;
    border: 1px solid #fff;
    background: #fff;
}
.header-icon-menu {
  display: none;
}
#logo {
  text-align: center;
  margin: 10px 0;
}
#menu-main-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
}
#menu-main-menu li {
  margin: 0 15px;
}
#menu-main-menu li a {
    border: 1px solid #fff;
    border-radius: 30px;
    padding: 12px 64px;
    color: #fff;
    display: block;
    transition: 0.3s ease;
    font-size: 18px;
}
#menu-main-menu li a:hover {
  color: #fff;
  border: 1px solid #122D72;
  background: #122D72;
}
#main-banner {
    position: relative;
    min-height: 752px;
    background: #161616;
    z-index: 1;
}
#main-banner:before {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgb(17 17 17 / 50%);
  display: block;
  top: 0;
  left: 0;
  content: '';
  z-index: 1;
}
.main-intro-video {
    top: 0;
    left: 0;
    height: 100%;
    position: absolute;
    width: 100%;
}
#main-banner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#main-banner .container {
    position: relative;
    z-index: 2;
    padding-top: 280px;
}
.main-banner__text {
  font-weight: 800;
  font-size: 40px;
  color: #fff;
  margin-bottom: 30px;
  font-family: "Montserrat Alternates", sans-serif;
}
.main-banner__subtext {
  font-weight: 400;
  font-size: 30px;
  color: #fff;
  margin-bottom: 30px;
  font-family: "Montserrat Alternates", sans-serif;
}
.main-banner-content .btn {
  max-width: 218px;
  margin-top: 70px;
}
#about-us {
  margin-bottom: 70px;
  position: relative;
}
#about-us h2.section-header {
  color: #fff;
  background: url(./img/bg_header.jpg) no-repeat;
  background-size: cover;
  padding: 32px 0px;
}
#about-us h2.section-header span {
    border-bottom: 3px solid #FFCE23;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    position: relative;
    top: -5px;
}
.about-content__title {
  font-weight: 700;
  font-size: 32px;
  color: #2E3F6A;
  position: relative;
  margin-bottom: 50px;
}
.about-content__title:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100px;
  height: 3px;
  background: #FFCE23;
}
.about-content__row {
  display: flex;
}
.about-content-cell {
  flex: 0 0 50%;
}
.about-text h3 {
  margin-top: 0;
}
.about-profile-wrap {
/*  width: 375px;
  height: 443px;*/
}
.about-profile {
/*  background: linear-gradient(285deg, #253162 0%, #145182 100%);
  border-radius: 70px 30px 30px 30px;*/
  display: inline-block;
  position: relative;
  /*padding: 10px 14px 10px 14px;*/
  max-width: 500px;
}
.about-profile img {
  /*border-radius: 70px 30px 30px 30px;*/
  width: 100%;
  height: auto;
}
.about-profile .name {
  text-align: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 100%;
  background: #233359;
  width: 160px;
  height: 160px;
  justify-content: center;
  align-items: center;
  display: flex;
  line-height: 24px;
  padding: 10px;
  position: absolute;
  right: -56px;
  bottom: -50px;
}
.about-text-signature {
  font-weight: 400;
  font-size: 18px;
  line-height: 144%;
  color: #525252;
  padding-left: 30px;
  border-left: 2px solid #2E3F6A;
  margin-top: 30px;
  margin-bottom: 30px;
}
.about-text-name {
  font-weight: 700;
  font-size: 22px;
  line-height: 140%;
  color: #2e3f6a;
  margin-bottom: 5px;
}
.about-text-job {
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  color: #525252;
}

#advantages {
  background: url(./img/perevagi.jpg) no-repeat;
  background-size: cover;
  padding: 70px 0;
  margin-bottom: 70px;
}
.advantages-container {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.advantages-item {
  text-align: center;
}
.advantages-item-icon {
  margin-bottom: 15px;
  width: 76px;
  height: 75px;
  object-fit: contain;
}
.advantages-item__title {
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  color: #ffce23;
}
@media(min-width: 1800px) {
  .advantages-item__title {
    font-size: 24px;
  }
  .about-text h3 {
    margin-top: 0;
    font-size: 28px;
  }
}
.advantages-item__text {
  font-weight: 400;
  font-size: 14px;
  text-align: center;
  color: #e2e2e2;
}
#services {
  margin-bottom: 70px;
}
.services-items {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
    gap: 20px;
}
.service-item {
  flex-basis: calc(33.33% - (20px * 0.6666));
  /*padding: 0 10px;*/
  /*margin-bottom: 20px;*/
  position: relative;

}
.service-item-0 {
   flex-basis: calc(33.33% - (20px * 0.6666));
}
.service-item-1 {
  flex-basis: calc(67% - (20px * 0.6666));
}
.service-item-2 {
   flex-basis: calc(33.33% - (20px * 0.6666));
}
.service-item-3 {
   flex-basis: calc(33.33% - (20px * 0.6666));
}
.service-item-4 {
   flex-basis: calc(33.33% - (20px * 0.6666));
}
.service-item-bg {
  width: 100%;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.service-item:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: rgb(13 23 70 / 68%);
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 12px; 
}
.service-item__title {
  border: 1px solid #fff;
  border-radius: 30px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: 63px;
  font-size: 24px;
  position: relative;
  z-index: 1;

}
.service-item-0 .service-item-bg {
  border-radius: 120px 40px 40px 40px;
  border-radius: 12px;
}
.service-item-1 .service-item-bg,
.service-item-2 .service-item-bg,
.service-item-3 .service-item-bg {
  border-radius: 12px; 
}
.service-item-4 .service-item-bg {
  border-radius: 40px 40px 120px 40px;  
  border-radius: 12px;
}
.service-item-0.service-item:after {
  border-radius: 120px 40px 40px 40px;
    border-radius: 12px;
}
.service-item-4.service-item:after {
  border-radius: 40px 40px 120px 40px;
  border-radius: 12px;
}
#grants {
  margin-bottom: 70px;
   -webkit-overflow-scrolling: touch;
}
.grants-content {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
}
.grants-cell {
  flex: 0 0 49%;
}
.grants-item h3 {
  font-weight: 400;
  font-size: 36px;
  color: #2E3F6A;
  position: relative;
}
.grants-item h3 span {
  position: relative;
}
.grants-item h3 span:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100px;
    height: 3px;
    background: #FFCE23;
}
/*.nocontainer-title:after {
  content: '';
  position: absolute;
  top: -19px;
  left: 0;
  width: 36%;
  height: 80px;
  z-index: -1;
  background: linear-gradient(90deg, #0d1746 0%, #286399 100%);
  border-radius: 0px 40px 40px 0px;
}*/
.grants-image img {
  max-width: 100%;
  transition: opacity 1s ease-in-out;
}
.grants-image {
  position: sticky;
  top: 70px; 
}
.grants-item {
  margin-bottom: 70px;
}
.grants-item-text h4 {
  font-weight: 600;
  font-size: 24px;
  line-height: 125%;
  color: #2e3f6a;
  margin-bottom: 15px;
}
.grants-item-text p {
  font-weight: 300;
  font-size: 18px;
  line-height: 156%;
  color: #525252;
}
#portfolio {
  margin-bottom: 70px;
}
.portfolio-items {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
.portfolio-item {
  flex-basis: calc(25.33% - (30px * 0.6666));  
}
.portfolio-item span {
	text-align: center;
	color: #444;
	display: block;
	margin-top: 10px;
}
.portfolio-item img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
	box-shadow: 0px 1px 10px #e4e4e4;
}
#production {
  margin-bottom: 70px;
}
.production-content {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  background: #f3f3f3;
  padding: 40px;
}
.production-cell {
  flex: 0 0 49%;
}
.production-lblock {
  padding: 50px 30px;
  background: #fff;
  border-radius: 12px;
  margin-top: 50px;
  margin-bottom: 50px;
}
.production-lblock--title {
  font-weight: 600;
  font-size: 46px;
  line-height: 120%;
  color: #0d1746;
}
.production-lblock--text1 {
  font-weight: 200;
  font-size: 22px;
  line-height: 159%;
  color: #525252;
}
.production-lblock--text2 {
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  color: #525252;
  margin-bottom: 30px;
}
.production-lblock--columns {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.production-lblock--columns div {
  flex: 0 0 49%;
  font-weight: 400;
  font-size: 14px;
  line-height: 139%;
  color: #525252;
}
.production-lblock--columns h4 {
  font-weight: 700;
  font-size: 17px;
  line-height: 136%;
  color: #2e3f6a;
  margin-top: 0;
  margin-bottom: 15px;
}
@media(min-width: 1800px) {
 .production-lblock--columns div {
  font-size: 18px;
 }
 .production-lblock--columns h4 {
  font-size: 22px;
 }
 .production-lblock--text2 {
  margin-bottom: 50px;
 }
 .production-lblock {
    padding: 80px 30px;
  }
}
.production-rblock .production-item {
  display: flex;
  background: #fff;
  border-radius: 12px;
}
.production-rblock .production-item:not(:last-child) {
    margin-bottom: 15px;
}
.production-rblock .production-item--text {
  padding: 15px;
}
.production-rblock .production-item img {
  width: 200px;
  height: 100%;
  object-fit: cover;
  border-radius: 12px 0px 0px 12px;
}
.production-rblock .production-item--text h4 {
  font-weight: 700;
  font-size: 18px;
  line-height: 140%;
  color: #2e3f6a;
  margin-top: 0;
  margin-bottom: 15px;
}
.production-rblock .production-item--text p {
  font-weight: 400;
  font-size: 14px;
  line-height: 144%;
  color: #525252;
  margin: 0;
}
.production-rblock .production-items {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.production-rblock {
  display: flex;
  align-items: center;
}

@media(min-width: 1800px) {
  .production-rblock .production-item--text h4 {
  font-weight: 700;
  font-size: 22px;
  line-height: 140%;
  color: #2e3f6a;
  margin-top: 0;
  margin-bottom: 15px;
}
.production-rblock .production-item--text p {
  font-weight: 400;
  font-size: 18px;
  line-height: 144%;
  color: #525252;
}
.production-rblock .production-item img {
  width: 237px;
  height: 100%;
  object-fit: cover;
}
}

footer {
  background: url(./img/footer_bg.jpg) no-repeat;
  padding: 70px 0;
  position: relative;
  background-size: 100%;
}
.footer .row {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.col-33 {
  width: 33%;
  padding: 0 15px;
}
/*.footer:before {
  background: url(./img/furgon.png) no-repeat;
  background-size: contain;
  width: 100%;
  content: '';
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}*/
.footer-form input {
  border-radius: 30px;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #e0e4f9;
  margin-bottom: 15px;
  padding: 15px;
}
.footer-form textarea {
  border-radius: 30px;
  width: 100%;
  height: 147px;
  background: #e0e4f9;
  padding: 15px;
  margin-bottom: 30px;
}
.footer-form .btn {
  border-radius: 30px;
  padding: 15px 45px;
  width: 218px;
  height: 59px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  cursor: pointer;
}
.footer-form .wpcf7-not-valid-tip {
    position: absolute;
    top: 62px;
    font-size: 10px;
    left: 23px;
}
.footer-form .wpcf7-form.invalid .wpcf7-response-output {
    text-align: center;
    color: #dc3232;
    position: absolute;
    top: -36px;
    margin: 0;
    /* bottom: -40px; */
    left: 0;
    right: 0;
    border: 0;
}
.footer-form .wpcf7-form.sent .wpcf7-response-output {
    text-align: center;
    color: #46b450;
    position: absolute;
    top: -36px;
    margin: 0;
    /* bottom: -40px; */
    left: 0;
    right: 0;
    border: 0;
}
.foote-logo {
  text-align: center;
  padding-bottom: 30px;
}
.footer-contacts-title {
  font-weight: 400;
  font-size: 32px;
  text-align: center;
  color: #fff;
  padding-bottom: 30px;
}
.footer-phones {
  padding-bottom: 30px;
  text-align: center;
}
.footer-email {
    text-align: center;
	padding-bottom: 30px;
    padding-top: 5px;
}
.footer-phones a {
  background: url(./img/tel_icon.svg) no-repeat;
  background-position: center left;
  background-size: 24px;
  padding: 3px 0;
  padding-left: 35px;
}
.footer-email a {
	display: inline-block;
	 background: url(./img/mail_icon.svg) no-repeat;
    background-position: center left;
	background-size: 24px;
	padding-left: 35px;
	
}
@media(min-width: 1800px){
.footer-phones {
  background-position: 120px 0px;
}
.footer-email {
  background-position: 105px 4px;
}
}
.footer-phones a {
	display: inline-block;
    color: #fff;
    margin-bottom: 10px;
    width: 180px;
}
.footer-email a {
  display: inline-block;
  color: #fff;
  margin-bottom: 10px;
}
.footer-contacts {
  padding-left: 45px;
}
.service-item {
  overflow: hidden;
}
.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 30%;
  height: 100%;
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0.2) 100%
  );
  transform: skewX(-25deg); /* Наклон блика */
  animation: shimmer 2s infinite; /* Анимация блика */
  animation-delay: var(--shimmer-delay);
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%; /* Завершаем анимацию */
  }
}
.service-item-0 { --shimmer-delay: 0s; }
.service-item-1 { --shimmer-delay: 0.4s; }
.service-item-2 { --shimmer-delay: 0.8s; }
.service-item-3 { --shimmer-delay: 1.2s; }
.service-item-4 { --shimmer-delay: 1.6s; }

.decor-wavy-left {
  background: url("./img/dots_left.png") center/cover no-repeat;
   position: absolute;
  top: 40%;
  left: 0;
  width: 513px;
  height: 572px;
   z-index: -1;
}
.decor-wavy-right {
   position: absolute;
  background: url("./img/dots_right.png") center/cover no-repeat;
  bottom: -18%;
  right: 0;
  width: 460px;
  height: 494px;
  z-index: -1;
}
#callback {
    position: relative;
    height: 515px;
    z-index: 1;
}
#callback:before {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(17 17 17 / 50%);
    display: block;
    top: 0;
    left: 0;
    content: '';
    z-index: 1;
}
.callback-intro-video {
    top: 0;
    left: 0;
    height: 100%;
    position: absolute;
    width: 100%;
}
#callback video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#callback .container {
    position: relative;
    z-index: 2;
}
#callback .callback-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 470px;
    margin: 0 auto;
    height: 515px;
}
.callback-title {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
  text-align: center;
}
.callback-text {
  color: #D3CFFE;
  font-size: 18px;
  margin-bottom: 15px;
  text-align: center;
}
.callback-form input {
    border-radius: 30px;
    width: 100%;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    margin-bottom: 15px;
    padding: 15px;
}
#callback .callback-form .btn {
    border-radius: 30px;
    width: 175px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
    color: #fff;
    background: #677EC7;
    border: 1px solid #677EC7;
}
#callback .callback-form .btn:hover {
  color: #677EC7;
  background: #fff;
}
.callback-form .wpcf7-not-valid-tip {
    position: absolute;
    top: 56px;
    font-size: 10px;
    left: 15px;
    color: #fff;
}
.callback-form .wpcf7-form.invalid .wpcf7-response-output {
    text-align: center;
    color: #fff;
    margin-top: 15px;
    border: 0;
}
.footer-gallery .portfolio-items {
  gap: 15px;
}
.footer-gallery .portfolio-item {
    flex-basis: calc(33.33% - (15px * 0.6666));
}
.footer-gallery .portfolio-item img {
    width: 100%;
    height: 112px;
    object-fit: cover;
}
.footer-gallery .portfolio-items {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}



/* Style modal windows */

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}
#myModal {
  text-align: center;
  overflow: hidden;
}
.modal-title {
  color: #170F49;
  font-size: 30px;
  font-weight: 600;
}
.modal-subtitle {
  color: #6F6C8F;
  font-size: 16px;
  font-weight: 400;
}
.modal-content {
  background-color: #fefefe;
  padding: 20px;
  width: 600px;
  border: 1px solid #f1f2f9;
  border-radius: 24px;
  padding: 64px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 25px;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}
#myModal input[type="text"], #myModal input[type="tel"] {
  border: 1px solid #f1f2f9;
  border-radius: 16px;
  padding: 8px 16px;
  width: 100%;
  height: 56px;
  min-height: 56px;
  margin-bottom: 15px;
}
#myModal .dark-theme-btn {
  width: 175px;
  margin: 0 auto;
  cursor: pointer;
  margin-top: 30px;
  border: 1px solid #122D72;
}
#myModal .wpcf7-not-valid-tip {
    color: #dc3232;
    font-weight: normal;
    display: block;
    position: absolute;
    font-size: 10px;
    top: 39px;
    left: 17px;
}
#myModal .wpcf7 form.invalid .wpcf7-response-output {
  border: none;
  margin: 0;
  margin-top: 15px;
}
.portfolio-modal {
    /*display: none;*/
    position: fixed;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
}
.portfolio-modal.active {
  opacity: 1;
  visibility: visible;
}
#PortfolioModal .modal-content {
    padding: 0;
    width: auto;
    background: none;
}
#PortfolioModal .modal-content img {
  width: 100%;
}

/* End Style modal windows */

#scrollToTopBtn {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 99;
    border-radius: 50px;
    background: #122d72;
    width: 50px;
    height: 50px;
}
#scrollToTopBtn span {
    display: flex;
    color: #fff;
    justify-content: center;
    /* align-items: center; */
    width: 100%;
    height: 100%;
    font-size: 32px;
}

@media(min-width: 1800px) {
  .container {
    width: 1620px;
  }
  .about-content-cell {
    flex: 0 0 40%;
  }
  .about-content-cell.text-wrapper {
    flex: 0 0 60%;
  }
  .advantages-iteme__title {
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 24px;
    text-align: center;
    color: #32d3ff;
  }
  .advantages-iteme__text {
    font-weight: 400;
    font-size: 20px;
    text-align: center;
    color: #e2e2e2;
  }
}
@media(min-width: 991px) and (max-width: 1199px) {
  .container {
    width: 100%;
  }
  .row {
    margin: 0;
  }
}
@media(max-width: 991px) {
  body.no-scroll {
    padding-right: 0;
  }
  .container {
    width: 100%;
  }
  .row {
    margin: 0;
  }
  header {
    background: #122d72;
    height: 60px;
    display: flex;
    align-items: center;
    position: fixed;
    z-index: 999;
  }
  header .row {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
  }
  header #logo {
    margin: 0px;
  }
  header #logo img {
    max-width: 185px;
  }
  .header-icon-menu {
      display: block;
      padding: 0;
  }
  .header-icon-menu span {
      background: #fff;
      width: 32px;
      height: 1px;
      margin: 6px;
      display: block;
  }
  .header-nav {
    display: none;
  }
  header.active {
    height: 100%;
  }
  header.active #logo {
    margin-bottom: 30px;
  }
  header.active .header-nav {
    display: block;
  }
  header.active .row {
    display: block;
  }
  header.active #menu-main-menu {
    display: block;
  }
  header.active .container {
    position: initial;
  }
  header.active .header-icon-menu {
    position: absolute;
    top: 23px;
    right: 16px;
  }
  header.active .header-icon-menu span:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
  }
  header.active .header-icon-menu span:nth-child(2) {
    display: none;
  }
  header.active .header-icon-menu span:nth-child(3) {
    transform: rotate(-45deg);
  }
  #menu-main-menu li {
    margin-bottom: 30px;
  }
  #menu-main-menu li a {
    border: 1px solid #fff;
    border-radius: 30px;
    padding: 15px;
    color: #fff;
    display: block;
    transition: 0.3s ease;
    text-align: center;
    font-size: 24px;
}
  #main-banner .container {
    padding-top: 50px;
  }
  #main-banner {
    min-height: 500px;
    display: flex;
    align-items: center;
  }
  .main-intro-video {
    height: 500px;
  }
  .main-banner__text {
    font-size: 32px;
  }
  .main-banner__subtext {
    font-size: 26px;
  }
  .main-banner-content .btn {
    margin-top: 30px;
  }
  .about-content__row {
    display: block;
  }
  .about-profile-wrap {
    width: 100%;
    height: auto;
    text-align: center;
  }
  .about-profile {
    margin-bottom: 15px;
  }
  .about-profile img {
      border-radius: 12px;
      width: 100%;
      height: auto;
  }
  .about-profile .name {
    text-align: center;
    color: #FFF;
    font-size: 10px;
    font-weight: 700;
    border-radius: 100%;
    background: #233359;
    width: 80px;
    height: 80px;
    justify-content: center;
    align-items: center;
    display: flex;
    line-height: 13px;
    padding: 10px;
    position: absolute;
    right: 15px;
    bottom: -17px;
  }
  .about-text-signature {
    font-size: 16px;
  }
  .modal-content {
    width: 95%;
    padding: 30px;
  }
  .modal-title {
    color: #170F49;
    font-size: 24px;
    font-weight: 600;
  }
  #myModal .dark-theme-btn {
    margin-top: 15px;
  }
  .decor-wavy-right, .decor-wavy-left {
    display: none;
  }
  #advantages {
    padding: 30px 0;
  }
  .advantages-container {
    display: block;
  }
  .advantages-item {
    margin-bottom: 30px;
  }
  .services-items {
    display: block;
  }
  .service-item {
    margin-bottom: 30px;
  }
  .service-item-0 .service-item-bg, .service-item-4 .service-item-bg {
    border-radius: 40px 40px 40px 40px;
  }
  .service-item-0.service-item:after, .service-item-4.service-item:after {
    border-radius: 40px 40px 40px 40px;
  }
  .nocontainer-title:after {
    width: 95%;
    top: -20px;
  }
  .grants-item h3 {
    font-size: 30px;
  }
  .text-container {
    font-size: 16px;
  }
  .portfolio-items {
    display: flex;
  }
  .portfolio-item {
    flex-basis: calc(50.33% - (30px * 0.6666));
    margin-bottom: 30px;
	  text-align: center;
  }
  .portfolio-item img {
		width: 300px;
		height: 200px;
		object-fit: cover;
		/* border: 1px solid #cecece; */
		box-shadow: 0px 1px 10px #e4e4e4;
  }
  #PortfolioModal .modal-content {
    padding: 0;
    width: 95%;
    background: none;
  }
  .grants-content {
    display: block;
  }
  .grants-image {
    display: none;
  }
  .production-content {
    display: block;
    padding: 15px;
    border-radius: 12px;
  }
  .production-rblock .production-items {
    display: block;
  }
  .production-rblock .production-item {
    display: block;
  }
  .production-rblock .production-item img {
    width: 237px;
    border-radius: 15px;
  }
  .production-item--image {
    padding-top: 15px;
    text-align: center;
  }
  .production-lblock {
    margin: 0;
    margin-bottom: 15px;
    padding: 15px;
  }
  footer {
    background-size: cover;
    padding-bottom: 0;
  }
  .footer .row {
    display: block;
  }
  .footer .row .col-33:first-child {
    display: none;
  }
  .col-33 {
    width: 100%;
    margin-bottom: 30px;
  }
  .footer-email {
    background-position: 30px 4px;
  }
  .footer-phones {
    background-position: 30px 0px;
  }
}
@media(max-width: 560px) {
  .portfolio-items {
    display: block;
    text-align: center;
  }
  .production-lblock--columns {
    display: block;
  }
  h2.section-header span {
    padding: 0;
  }
}