@font-face {
  font-family: "Play";
  src: url(../fonts/Play-Regular.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Play";
  src: url(../fonts/Play-Bold.ttf) format("truetype");
  font-weight: 700;
  font-style: normal;
}

html {
  margin: 0px;
  padding: 0px;
  background-color: #fff;
  width: 100%;
  height: 100%;
  min-width: 320px;
}
body {
  position: relative;
  margin: 0px auto;
  padding: 0px 0px 0px 0px;
  width: 100%;
  min-height: 100%;
  max-width: 1920px;
  box-shadow: 0px 0px 150px -10px rgba(0, 0, 0, 0.5);
  font-size: 16px;
  line-height: 19px;
  font-weight: 400;
  overflow-y: scroll;
  font-family: "Play", sans-serif;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "lnum" 1;
  -o-font-feature-settings: "lnum" 1;
  -ms-font-feature-settings: "lnum" 1;
  -moz-font-feature-settings: "lnum" 1;
  -webkit-font-feature-settings: "lnum" 1;
  text-size-adjust: none;
  -o-text-size-adjust: none;
  -ms-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
}
* {
  box-sizing: border-box;
}
*:before,
*:after {
  box-sizing: border-box;
}
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
}
.row {
  margin: 0;
}
@media only screen and (min-width: 768px) {
  .container {
    max-width: 740px;
    padding-left: 0;
    padding-right: 0;
  }
}
@media only screen and (min-width: 992px) {
  .container {
    max-width: 965px;
  }
}
@media only screen and (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}
/*@media only screen and (min-width: 1700px) {
  .container {
    max-width: 1600px;
  }
}*/
.container {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  -webkit-flex-direction: column;
  flex-direction: column;
}
.row {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -moz-box-orient: horizontal;
  -moz-box-direction: normal;
  -ms-flex-direction: row;
  -webkit-flex-direction: row;
  flex-direction: row;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
}
.container > .row {
  width: 100%;
}
.title {
    font-weight: 700;
    font-size: 40px;
    line-height: 115%;
    color: #505050;
}

@media only screen and (max-width: 991px) {
  .title {
    font-size: 30px;
  }
}
@media only screen and (max-width: 480px) {
  .title {
    font-size: 26px;
  }
}
h1 {
  font-weight: bold;
  font-size: 64px;
  line-height: 72px;
  /* identical to box height, or 112% */

  color: #505050;
}
h2 {
  font-weight: bold;
  font-size: 36px;
  line-height: 46px;
  color: #505050;
}
h3 {
  font-weight: bold;
  font-size: 24px;
  line-height: 32px;
  color: #505050;
}
h4 {
  font-weight: bold;
  font-size: 18px;
  line-height: 26px;
  color: #505050;
}
h5 {
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  color: #505050;
}
h6 {
  font-weight: bold;
  font-size: 14px;
  line-height: 22px;
  color: #505050;
}
p {
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  color: #505050;
  margin: 0;
  margin-bottom: 15px;
}
ul {
  padding-left: 0;
  margin: 15px 0;
}
ul li {
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  color: #505050;
  padding-left: 12px;
  list-style: none;
  position: relative;
}
ul li:last-child {
  margin-bottom: 0;
}
ul li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  background-color: #505050;
  border-radius: 50%;
}
.btn {
    background-color: #E31E24;
    border-radius: 1px;
    padding: 15px 35px;
    box-sizing: border-box;
    outline: none;
    border: 1px solid #E31E24;
    width: max-content;
    font-weight: 700;
    font-size: 14px;
    line-height: 143%;
    text-transform: uppercase;
    color: #FFFFFF;
    cursor: pointer;
	text-decoration: none;
    transition: background 0.3s, color 0.3s;
}
.btn:hover {
    background-color: #fff;
    color: #E31E24;
}
@media (max-width: 991px) {
    p {
        font-size: 14px;
        line-height: 150%;
    }
    ul li, ol li {
        font-size: 14px;
        line-height: 150%;
    }
}
/*============= ALIGNES ===============*/
.alignwide {
  width: 100%;
}
.alignfull {
  margin-left: calc(-100vw / 2 + 100% / 2);
  margin-right: calc(-100vw / 2 + 100% / 2);
  max-width: 100vw !important;
}
@media only screen and (min-width: 1920px) {
  .alignfull {
    width: 1920px !important;
    margin-left: calc(-1 * (1920px - 1600px) / 2) !important;
    margin-right: calc(-1 * (1920px - 1600px) / 2) !important;
  }
}

#header-3 {
  /*position: fixed;*/
  top: 0;
  left: 0;
  width: 100%;
  transition: all 0.3s ease-in;
  background-color: #505050;
  z-index: 999;
}
#header-3 .container {
  /*max-width: 1220px;*/
  margin: 0 auto;
  width: 100%;
  /*padding: 0 15px;*/
}
#header-3.painted {
  padding: 5px 0 0;
}
#header-3 .top__line .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
#header-3 .top__line .logo__holder {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  column-gap: 20px;
  width: auto;
  height: 37px;
  /*max-width: 445px;
  width: 100%;*/
}
#header-3 .top__line .logo__holder img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
#header-3 .top__line .logo__holder .logo__info {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
  font-size: 14px;
  color: #505050;
  font-weight: 600;
}
#header-3 .header-holder-title {
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  color: #505050;
  margin-bottom: 5px;
}

#header-3 .top__line .phones__holder,
#header-3 .top__line .emails__holder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 34px;
}
#header-3 .top__line .header-holder-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
}
#header-3 .top__line .phones__holder .phone__item {
 font-weight: 700;
font-size: 24px;
line-height: 28px;
color: #FFFFFF;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.3s;
}
#header-3 .top__line .phone__item:hover {
  color: #E31E24;
}
#header-3 .top__line {
  padding: 15px 0;
}
#header-3 .header-soc__holder {
  display: flex;
  align-items: center;
}
#header-3 .header-soc__holder .soc__item {
  width: 26px;
  height: 20px;
  margin-right: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#header-3 .header-soc__holder .soc__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 0.3s;
}
#header-3 .header-soc__holder .soc__item:hover img {
    filter: brightness(0) invert(1);
}
#header-3 .header-soc__holder .soc__item:last-child {
  margin-right: 0;
}
#header-3 .bot__line {
  width: 100%;
}
#header-3 .bot__line .nav-menu {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  list-style: none;
  margin: 0;
  border-top: 1px solid white;
}
#header-3 .bot__line .nav-menu li {
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}
#header-3 .bot__line .nav-menu li:before {
  display: none;
}
#header-3 .bot__line .nav-menu li a {
  font-weight: 400;
font-size: 20px;
line-height: 150%;
color: #FFFFFF;
  text-decoration: none;
  position: relative;
  padding: 15px 0;
  display: block;
  transition: opacity 0.3s;
}
#header-3 .bot__line .nav-menu li a:hover {
  opacity: 0.5;
}
/*================ MOBILE MNU =============*/
#header-3 .burger.open_menu {
  display: none;
  flex-shrink: 0;
  position: relative;
  width: 40px;
  height: 32px;
  background: none;
  border: none;
  appearance: none;
  cursor: pointer;
}
#header-3 .burger.open_menu span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #fff;
  border-radius: 4px;
}
#header-3 .burger.open_menu span:nth-of-type(1) {
  top: 0;
}
#header-3 .burger.open_menu span:nth-of-type(2) {
  top: 14px;
}
#header-3 .burger.open_menu span:nth-of-type(3) {
  bottom: 0;
}
#menu07 span:nth-of-type(1) {
  animation: menu07-bar01 0.75s forwards;
}
@keyframes menu07-bar01 {
  0% {
    transform: translateY(14px) rotate(45deg);
  }
  50% {
    transform: translateY(14px) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
#menu07 span:nth-of-type(2) {
  transition: all 0.25s 0.25s;
  opacity: 1;
}
#menu07 span:nth-of-type(3) {
  animation: menu07-bar03 0.75s forwards;
}
@keyframes menu07-bar03 {
  0% {
    transform: translateY(-14px) rotate(-45deg);
  }
  50% {
    transform: translateY(-14px) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
#menu07.clicked span:nth-of-type(1) {
  animation: active-menu07-bar01 0.75s forwards;
}
@keyframes active-menu07-bar01 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(14px) rotate(0);
  }
  100% {
    transform: translateY(14px) rotate(45deg);
  }
}
#menu07.clicked span:nth-of-type(2) {
  opacity: 0;
}
#menu07.clicked span:nth-of-type(3) {
  animation: active-menu07-bar03 0.75s forwards;
}
@keyframes active-menu07-bar03 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-14px) rotate(0);
  }
  100% {
    transform: translateY(-14px) rotate(-45deg);
  }
}
#header-3 #mobile-mnu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 260px;
  background-color: #505050;
  padding: 30px;
  transition: all 0.3s ease-in;
  transform: translateX(-350px);
  z-index: 9999;
  box-shadow: 0px 2px 25px #15151566;
}
#header-3 #mobile-mnu.opened {
  transform: translateX(0);
}
#header-3 #mobile-mnu a {
  font-weight: 400;
  font-size: 18px;
  line-height: 133%;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
}
#header-3 #mobile-mnu a:hover {
  color: #fb990d;
}
#header-3 #mobile-mnu .logo__holder {
  text-align: center;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#header-3 #mobile-mnu .logo__holder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#header-3 #mobile-mnu .menuTop {
  list-style-type: none;
  margin-bottom: 30px;
}
#header-3 #mobile-mnu .menuTop li {
  margin-bottom: 10px;
  padding: 0;
  list-style: none;
}
#header-3 #mobile-mnu .menuTop li:before {
    display: none;
}
#header-3 #mobile-mnu .menuTop li a {
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
}
#header-3 #mobile-mnu .menuTop li.active a,
#header-3 #mobile-mnu .menuTop li:hover a {
  opacity: 0.5;
}
#header-3 #mobile-mnu .menuTop ul.sub-menu {
  display: none;
}
#header-3 #mobile-mnu .email__holder,
#header-3 #mobile-mnu .phone__holder {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-bottom: 10px;
  width: 100%;
}
#header-3 #mobile-mnu .email__holder a,
#header-3 #mobile-mnu .phone__holder a {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}
#header-3 #mobile-mnu .email__holder a img,
#header-3 #mobile-mnu .phone__holder a img {
  margin-right: 10px;
}
#header-3 #mobile-mnu .email__holder a img {
    width: 20px;
    height: 20px;
}
#header-3 #mobile-mnu button.btn {
  margin: auto auto 0;
}
#header-3 #mobile-mnu .soc__holder {
  margin-top: 10px;
  display: none;
}
/*#header-3 #mobile-mnu .soc__holder .soc__item img {
  margin-right: 10px;
  width: 20px;
  height: 20px;
}*/
@media (max-width: 1199px) {
  #header-3 .header-holder-title {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 2px;
  }
  #header-3 .top__line .logo__holder {
    height: 32px;
  }
  #header-3 .top__line .phones__holder .phone__item {
    font-size: 22px;
    line-height: 26px;
  }
  #header-3 .bot__line .nav-menu li a {
    font-size: 18px;
  }
  #header-3 .top__line .header-holder-icon {
    width: 22px;
    height: 22px;
  }
  #header-3 .header-soc__holder .soc__item {
    margin-right: 15px;
  }
  #header-3 .btn {
    padding: 14px 15px;
    font-size: 14px;
    line-height: 22px;
  }
  #header-3 .top__line .phones__holder,
  #header-3 .top__line .emails__holder {
    padding-left: 30px;
  }
}
@media (max-width: 991px) {
  /*======== HEADER ========*/

  #header-3.painted {
    padding: 5px 0;
  }
  #header-3 .btn {
    display: none;
  }
	#header-3 a.btn {
		display: block;
	}
  #header-3 .header-soc__holder .soc__item {
    margin-right: 10px;
  }
}
@media (max-width: 767px) {
  #header-3 .top__line .emails__holder {
    display: none;
  }
  #header-3 .header-holder-title {
    display: none;
  }
  body {
    padding-top: 62px;
  }
  #header-3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
  #header-3 .top__line .logo__holder {
    height: 24px;
  }
  #header-3 .bot__line {
    display: none;
  }
	#header-3 a.btn {
		padding: 7px 15px;
	}
  #header-3 .burger.open_menu {
    display: flex;
  }
  #header-3.scroll {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }
  #header-3.scroll .top__line {
    padding: 10px 0;
    transition: 0.3s;
  }
}
@media (max-width: 600px) {
  #header-3 .header-soc__holder {
    display: none;
  }
}
@media (max-width: 430px) {
  /*========= HEADER =========*/
  #header-3 .top__line .header-holder-icon {
    display: none;
  }

  #header-3 .top__line .phones__holder .phone__item span {
    display: none;
  }

  #header-3 .top__line .phones__holder .phone__item {
    width: 32px;
    height: 32px;
    background-color: #e31e24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
  #header-3 .top__line .phones__holder .phone__item:before {
    content: "";
    display: block;
    position: relative;
    width: 18px;
    height: 18px;
    background-image: url(../images/phone.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0) invert(1);
  }
  #header-3 .top__line .phones__holder .phone__item:hover {
    background-color: #fff;
  }
  #header-3 .top__line .phones__holder .phone__item:hover:before {
    filter: none;
  }
  #header-3 .top__line .logo__holder {
    margin-right: auto;
  }
	#header-3 a.btn {
		display: none;
	}
  #header-3 .top__line .phones__holder {
    margin-right: 20px;
  }
}

/*================ FOOTER ===============*/

#footer {
  background-color: #505050;
}
.footer-main {
  display: flex;
  justify-content: space-between;
}
.top-footer {
  padding-bottom: 45px;
}
.footer-left {
  display: flex;
  width: 50%;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  max-width: 215px;
}
.footer-menu ul {
  margin: 0;
  padding: 0;
}
.footer-menu ul li {
  margin-bottom: 22px;
  list-style: none;
}
.footer-menu-title {
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  /* identical to box height */

  color: #ffffff;
  margin-bottom: 20px;
  opacity: 0.5;
}
.footer-menu a {
  font-weight: normal;
  font-size: 16px;
  line-height: 22px;
  color: #ffffff;
  margin-bottom: 22px;
  text-decoration: none;
}
.footer-menu a:hover {
  opacity: 0.7;
}
.footer-socials-row {
  display: flex;
  align-items: center;
}
.footer-left .soc-link {
  display: flex;
  align-items: center;
  margin-right: 40px;
  font-weight: normal;
  font-size: 16px;
  line-height: 22px;
  color: #ffffffbf;
  text-decoration: none;
}
.footer-left .soc-link:last-child {
  margin-right: 0;
}
.footer-left .soc-icon {
  width: 26px;
  height: 26px;
  margin-right: 10px;
}
.footer-left .soc-link:hover {
  opacity: 0.7;
}
.footer-left .soc-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.bottom-footer {
  padding: 25px 0;
}
#footer .policy-link {
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #bdbcc7;
    width: max-content;
    cursor: pointer;
    text-decoration: underline;
}
#footer .policy-link:hover {
  color: #fff;
  text-decoration: none;
}
.developer-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 300;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  letter-spacing: 0.02em;
  opacity: 0.7;
  color: #ffffff;
}
.developer-link:hover {
  opacity: 1;
}
.developer-link img {
  margin-left: 15px;
}
.bottom-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
}
@media screen and (max-width: 1699px) {
  .footer-left {
    width: 63%;
  }
}
@media only screen and (max-width: 1199px) {
  .footer-socials-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-left .soc-link {
    margin-right: 0;
    margin-bottom: 10px;
  }
}
@media only screen and (max-width: 991px) {
  .footer-left {
    flex-direction: column;
  }
  .footer-menu {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .footer-menu ul {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    padding-right: 20px;
  }
  .footer-menu ul li {
    margin-right: 20px;
  }
}
@media only screen and (max-width: 580px) {
  .footer-main {
    flex-direction: column-reverse;
  }
  .footer-left {
    width: 100%;
  }
  footer .logo-wrap {
    justify-content: flex-end;
    margin-bottom: 20px;
  }
  .bottom-footer .container {
    flex-direction: column;
  }
  #footer .policy-link {
    margin-bottom: 20px;
  }
}
/*================ 404 ===============*/

.nf-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url(../images/404bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.nf-page .error {
    background-image: url(../images/404.svg);
    width: 389px;
    height: 205px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 120px;
    margin-bottom: 20px;
    filter: brightness(1) grayscale(.9);
}
.nf-page .text {
    font-weight: 700;
    font-size: 48px;
    line-height: 56px;
    color: #505050;
    margin-bottom: 15px;
}
.nf-page .text-small {
  font-weight: 400;
font-size: 18px;
line-height: 133%;
color: #505050;
  margin-bottom: 60px;
}
.nf-page a {
  text-decoration: none;
  margin-bottom: 140px;
}
@media only screen and (max-width: 1199px) {
  .nf-page {
    min-height: calc(100vh - 100px - 57px);
  }
}
@media only screen and (max-width: 991px) {
  .nf-page .error {
    width: 341px;
    height: 175px;
  }
  .nf-page .text {
    font-size: 40px;
    line-height: 46px;
  }
}
@media only screen and (max-width: 767px) {
  .nf-page {
    background-image: none;
    background-color: #eef4fc;
  }
  .nf-page .container {
    align-items: center;
  }
}
@media only screen and (max-width: 580px) {
  .nf-page {
    min-height: calc(100vh - 100px - 93px);
  }
  .nf-page .error {
    width: 291px;
    height: 176px;
    margin-top: 60px;
  }
  .nf-page .text {
    font-size: 23px;
    line-height: 28px;
  }
  .nf-page .text-small {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 22px;
  }
  .nf-page a {
    padding: 10px 22px;
    font-size: 14px;
    line-height: 24px;
  }
}
@media only screen and (max-width: 380px) {
    .nf-page .error {
        width: 245px;
        height: 125px;
    }
}
/*================ TEXT ===============*/
.text-block h1,
#policy h1 {
  font-weight: 500;
  font-size: 24px;
  line-height: 33px;
  color: #0e0e10;
  margin-top: 0;
  margin-bottom: 26px;
}
.text-block h2,
#policy h2 {
  font-weight: 500;
  font-size: 20px;
  line-height: 33px;
  color: #0e0e10;
  margin-top: 0;
  margin-bottom: 26px;
}
.text-block h3,
#policy h3 {
  font-weight: 400;
  font-size: 16px;
  line-height: 33px;
  color: #0e0e10;
  margin-top: 0;
  margin-bottom: 26px;
}
.text-block p,
#policy p {
  font-weight: 300;
  font-size: 14px;
  line-height: 150%;
  color: #0e0e10;
  margin-top: 0;
  margin-bottom: 26px;
}
.text-block ul,
.text-block ol,
#policy ul,
#policy ol {
  margin-top: 0;
  margin-bottom: 20px;
}
.text-block li,
#policy li {
  font-weight: 300;
  font-size: 14px;
  line-height: 150%;
  color: #0e0e10;
  margin-bottom: 5px;
}

/*================ Модалка ===============*/
.popup-fade {
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 999999999;
  position: fixed;
  display: none;
}
.popup-fade:before {
  content: "";
  background: #505050;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  z-index: 9999;
}
.popup-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup {
  position: relative;
  padding: 50px 70px;
  width: 570px;
  background: #ffffff;
  border-radius: 1px;
  z-index: 99999;
  opacity: 1;
  max-height: 95vh;
  overflow-y: auto;
  overflow-x: hidden;
}
.popup-close {
  width: 14px;
  height: 14px;
  margin-left: auto;
  cursor: pointer;
  top: 20px;
  right: 20px;
  position: absolute;
}
.popup-close path {
  transition: fill 0.3s;
}
.popup-close:hover path {
  fill: #E31E24;
}
.popup-close:hover {
  filter: none;
}
.popup .form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.popup-title {
  font-weight: 700;
font-size: 48px;
line-height: 92%;
color: #505050;
  margin-bottom: 40px;
}

.popup .label-input {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  display: block;
  color: #505050;
  margin-bottom: 15px;
}
.popup .label-input span {
  margin-top: 5px;
  display: block;
}
#popup-thanks .popup-title,
#popup-thanks-review .popup-title {
  margin-bottom: 15px !important;
}
.popup input.wpcf7-text,
.popup textarea {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #505050;
    box-sizing: border-box;
    border-radius: 2px;
    padding: 15px 30px;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #505050;
    font-family: "Play", sans-serif;
    outline: none;
}
.popup input.wpcf7-tel {
    margin-top: 20px;
}
.popup textarea {
  width: 100%;
  height: 136px;
  resize: none;
}

.popup input.wpcf7-text::placeholder,
.popup textarea::placeholder {
  color: #505050;
}

.popup p {
  margin: 0;
}
#popup br {
  display: none;
}
.popup .form-row .wpcf7-form-control-wrap {
  margin-bottom: 15px;
  display: block;
  width: 49%;
}
.popup .modal-link {
  position: relative;
  font-size: 16px;
  line-height: 19px;
  display: block;
  color: #3a3a3a;
  text-align: center;
  margin-top: 10px;
}
.popup .modal-link .policy {
  text-decoration: underline;
  cursor: pointer;
}
.popup .modal-link .policy:hover {
  text-decoration: none;
}
.popup .policy-form {
    width: 100%;
    max-width: 100%;
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    color: #505050;
    margin-top: 15px;
}
.wpcf7-spinner {
    display: none;
}
.popup input[type="submit"] {
    width: 100%;
    margin-top: 30px;
}
.wpcf7-list-item-label {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #505050;
  margin-top: 15px;
}
.wpcf7-list-item-label .policy {
  cursor: pointer;
  border-bottom: 1px solid #333;
}
.wpcf7-list-item-label .policy:hover {
  border-color: #ffffff00;
}

.popup .wpcf7-list-item input:checked + .wpcf7-list-item-label::after {
  opacity: 1;
}
.wpcf7 .wpcf7-submit:disabled {
  opacity: 0.5;
}

.popup .wpcf7-list-item {
  margin-left: 0;
}
.popup .wpcf7-list-item input {
  display: none;
}
.popup-thank-subtitle {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #505050;
}
#popup-thanks .popup {
  background-image: url(../images/bg-thanks.png);
  background-position: right bottom;
  background-repeat: no-repeat;
  max-width: 400px;
}
#policy .popup {
  max-width: 1000px;
  width: 95vw;
  max-height: 94vh;
}
#policy .popup-content {
  overflow-y: auto;
  height: 70vh;
}
input.wpcf7-not-valid,
textarea.wpcf7-not-valid {
  border-color: rgb(192, 0, 0) !important;
}
.wpcf7-not-valid-tip {
  display: none !important;
}
@media only screen and (max-width: 610px) {
    .popup {
        padding: 35px 40px;
        width: 400px;
    }
    .popup-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    #popup-thanks .popup {
        max-width: 286px;
    }
    .popup input.wpcf7-tel {
        margin-top: 10px;
    }
    .popup input[type="submit"] {
        margin-top: 20px;
    }
    .popup .policy-form {
        margin-top: 10px;
    }
}
@media only screen and (max-width: 496px) {
    #header-3 .top__line .phones__holder .phone__item {
        font-size: 16px;
    }
    #header-3 .top__line .header-holder-icon {
        display: none;
    }
}
@media only screen and (max-width: 410px) {
    .popup input.wpcf7-text, .popup textarea {
        padding: 10px 20px;
    }
  .popup-title {
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 20px;
  }
  .popup .form-row {
    flex-direction: column;
  }
  .popup .form-row .wpcf7-form-control-wrap {
    width: 100%;
  }
  #popup-thanks .popup-title {
    margin-bottom: 5px!important;
  }
  .popup-thank-small {
    margin-top: 20px;
    font-size: 14px;
    line-height: 18px;
  }
  .popup {
    width: 300px;
    padding: 20px;
  }
  .popup input,
  .popup textarea {
    padding: 11px 13px;
    font-size: 14px;
    line-height: 18px;
  }
  .popup textarea {
    height: 114px;
  }
  .popup .modal-link {
    font-size: 13px;
    line-height: 18px;

    margin-top: 22px;
  }
  .popup .wpcf7-submit {
    padding: 12px 30px;
    margin-top: 10px;
  }
  .popup .form-row br {
    display: none;
  }
}
/*================ CF7 ===============*/
.wpcf7-response-output,
.wpcf7-not-valid-tip,
.wpcf7-spinner {
  display: none;
}
