@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,700;0,900;1,400;1,500&display=swap");
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0-modified | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* make sure to set some focus styles for accessibility */
:focus {
  outline: 0;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

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

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  -moz-appearance: none;
}

input[type=search] {
  -webkit-appearance: none;
  -moz-appearance: none;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

textarea {
  overflow: auto;
  vertical-align: top;
  resize: vertical;
}

/**
 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */
audio,
canvas,
video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  max-width: 100%;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
 * Known issue: no IE 6 support.
 */
[hidden] {
  display: none;
}

/**
 * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
 *    `em` units.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  font-size: 100%;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -ms-text-size-adjust: 100%;
  /* 2 */
}

/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */
a:focus {
  outline: thin dotted;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
a:active,
a:hover {
  outline: 0;
}

/**
 * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
 * 2. Improve image quality when scaled in IE 7.
 */
img {
  border: 0;
  /* 1 */
  -ms-interpolation-mode: bicubic;
  /* 2 */
}

/**
 * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
 */
figure {
  margin: 0;
}

/**
 * Correct margin displayed oddly in IE 6/7.
 */
form {
  margin: 0;
}

/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct color not being inherited in IE 6/7/8/9.
 * 2. Correct text not wrapping in Firefox 3.
 * 3. Correct alignment displayed oddly in IE 6/7.
 */
legend {
  border: 0;
  /* 1 */
  padding: 0;
  white-space: normal;
  /* 2 */
  *margin-left: -7px;
  /* 3 */
}

/**
 * 1. Correct font size not being inherited in all browsers.
 * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
 *    and Chrome.
 * 3. Improve appearance and consistency in all browsers.
 */
button,
input,
select,
textarea {
  font-size: 100%;
  /* 1 */
  margin: 0;
  /* 2 */
  vertical-align: baseline;
  /* 3 */
  *vertical-align: middle;
  /* 3 */
}

/**
 * Address Firefox 3+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
button,
input {
  line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */
button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
 *    Known issue: inner spacing remains in IE 6.
 */
button,
html input[type=button],
input[type=reset],
input[type=submit] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */
  *overflow: visible;
  /* 4 */
}

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * 1. Address box sizing set to content-box in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 * 3. Remove excess padding in IE 7.
 *    Known issue: excess padding remains in IE 6.
 */
input[type=checkbox],
input[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
  *height: 13px;
  /* 3 */
  *width: 13px;
  /* 3 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */
input[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 3+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * 1. Remove default vertical scrollbar in IE 6/7/8/9.
 * 2. Improve readability and alignment in all browsers.
 */
textarea {
  overflow: auto;
  /* 1 */
  vertical-align: top;
  /* 2 */
}

/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

html,
button,
input,
select,
textarea {
  color: #222;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

img {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.chromeframe {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

.p1 {
  font-size: 16px;
  line-height: 19px;
}

.p2 {
  font-size: 14px;
}

.p3 {
  font-size: 13px;
}

.p4 {
  font-size: 10px;
}

h1, .h1 {
  font-size: 48px;
  font-weight: 700;
}

h2, .h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 42px;
}

h3, .h3 {
  font-size: 32px;
  line-height: 38px;
}

h4, .h4 {
  font-size: 23.76px;
}

h5, .h5 {
  font-size: 20px;
}

.main_button {
  border: 2px solid #FFFFFF;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  user-select: none;
  white-space: nowrap;
  padding: 18px 30px;
  transition: all 0.2s ease-in-out;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  max-width: 100%;
  height: 54px;
}
.main_button span {
  color: inherit;
}
.main_button:disabled, .main_button[disabled] {
  pointer-events: none;
}
.main_button.white_theme {
  border: 2px solid #FFFFFF;
  color: #FFFFFF;
  background: transparent;
}
.main_button.white_theme:hover {
  opacity: 0.8;
}
.main_button.white_theme:active {
  color: #EEF2F4;
}
.main_button.dark_theme {
  border: 1px solid #012850;
  color: #FFFFFF;
  background: #012850;
}
.main_button.dark_theme:hover {
  opacity: 0.8;
}
.main_button.dark_theme:active {
  color: #EEF2F4;
}
.main_button.dark_border_theme {
  border: 2px solid #012850;
  color: #012850;
  background: transparent;
}
.main_button.dark_border_theme:hover {
  opacity: 0.8;
}

.main_title {
  position: relative;
  padding-top: 15px;
}
.main_title.black_color {
  color: #0D0D0D;
}
.main_title:before {
  content: "";
  position: absolute;
  background: #E10000;
  left: 0;
  top: 0;
  height: 6px;
  width: 45%;
  max-width: 160px;
}
.main_title.mini {
  padding-top: 11px;
}
.main_title.mini:before {
  height: 1px;
}
.main_title.dark_theme:before {
  background: #012850;
}

.flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.align-start {
  align-items: flex-start;
}

.align-end {
  align-items: flex-end;
}

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

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

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

.black_color {
  color: #0D0D0D;
}

.bold {
  font-weight: 700;
}

.main_link {
  text-decoration: underline;
  color: #012850;
}
.main_link:hover {
  text-decoration: none;
}

.main_input {
  background: #FFFFFF;
  border: 1px solid #A6A6A6;
  height: 53px;
  width: 100%;
  padding: 10px;
}

.checkbox {
  position: relative;
}
.checkbox input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
}
.checkbox label {
  background: #FFFFFF;
  border: 1px solid #A6A6A6;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  margin-right: 5px;
}
.checkbox label svg {
  display: none;
  width: 100%;
  height: 100%;
}
.checkbox input:checked + label svg {
  display: block;
}

.erconts {
  height: 1px;
  /*display: block !important;*/
  color: #0D0D0D;
  padding: 12px 0;
  font-weight: bold;
}

body {
  font-family: "Roboto", sans-serif;
  color: #FFFFFF;
  font-size: 16px;
  background: #FFFFFF;
}

a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  opacity: 0.8;
}

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

/* Blocks */
.head {
  background: url("../images/headBG.jpg") no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 610px;
  padding-top: 66px;
  padding-bottom: 75px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.head .container h2 {
  margin-bottom: 16px;
}
.head .container p {
  font-weight: 400;
  line-height: 23px;
}
.head .container h2,
.head .container p {
  max-width: 687px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header_logo {
  display: flex;
  color: #FFFFFF;
  font-weight: 900;
  align-items: center;
  line-height: 19px;
}
.header_logo img {
  margin-right: 15px;
}
.header_social {
  display: grid;
  grid-template-columns: 30px 30px 30px;
  grid-gap: 15px;
}
.header .phone {
  font-weight: 700;
  font-size: 28px;
  line-height: 33px;
  margin-bottom: 2px;
}
.header .email {
  font-weight: 400;
  font-size: 17px;
  line-height: 20px;
  text-decoration-line: underline;
}

.grid_icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 55px;
}
.grid_icons__item {
  display: flex;
  align-items: center;
}
.grid_icons__item img {
  margin-right: 20px;
}

.section_with_image {
  padding-top: 65px;
  padding-bottom: 75px;
  background: url("../images/Vector1.png") #012850 no-repeat right center;
  height: 506px;
}
.section_with_image h1, .section_with_image h2, .section_with_image h3 {
  max-width: 700px;
}

form {
  background: #F7F7F7;
  border-radius: 10px;
}
form .inputs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 21px;
  margin-bottom: 10px;
  align-items: end;
}
form .field label {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  color: #0D0D0D;
  margin-bottom: 9px;
}

.ungrid_form {
  padding-top: 45px;
  padding-left: 56px;
  padding-bottom: 36px;
  padding-right: 56px;
  width: calc(100% + 112px);
  position: relative;
  left: -56px;
}

.text_columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 20px;
  margin-bottom: 30px;
}
.text_columns__item {
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: #0D0D0D;
}
.text_columns__item span {
  font-weight: 700;
  color: #E10000;
}

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}
@media (max-width: 1040px) {
  .container {
    width: 95%;
  }
}

.footer {
  background: #012850;
  padding-top: 32px;
  padding-bottom: 17px;
}
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer_logo {
  display: flex;
  color: #FFFFFF;
  font-weight: 900;
  align-items: center;
  line-height: 19px;
}
.footer_logo img {
  margin-right: 15px;
}
.footer_social {
  display: grid;
  grid-template-columns: 30px 30px 30px;
  grid-gap: 15px;
}
.footer .phone {
  font-weight: 700;
  font-size: 28px;
  line-height: 33px;
  margin-bottom: 2px;
}
.footer .email {
  font-weight: 400;
  font-size: 17px;
  line-height: 20px;
  text-decoration-line: underline;
}

.footer_gray_p {
  font-weight: 400;
  font-size: 10px;
  line-height: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.footer_links {
  color: #8DB6E1;
  font-weight: 400;
  font-size: 10px;
  line-height: 12px;
  width: 100%;
  text-align: center;
  margin-top: 20px;
}
.footer_links a {
  text-decoration: underline;
}
.footer_links a:hover {
  text-decoration: none;
}

/*modal styles*/
.window_overlay {
  overflow-y: hidden;
  padding-right: 18px;
}

.modal {
  background: #ffffff;
  visibility: hidden;
  margin: -9999px 0 0 -9999px;
  -webkit-animation-duration: 0.2s;
  animation-duration: 0.2s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  z-index: 11;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  height: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  padding: 0 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.modal.modal_has-animation_yes {
  -webkit-animation-name: modal_theme_normal;
  animation-name: modal_theme_normal;
}

.modal.modal_visible_yes {
  -webkit-animation-name: modal_theme_normal_visible;
  animation-name: modal_theme_normal_visible;
}

@-webkit-keyframes modal_theme_normal_visible {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes modal_theme_normal_visible {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes modal_theme_normal {
  0% {
    visibility: visible;
    margin: 0;
    opacity: 1;
  }
  99% {
    margin: 0;
  }
  100% {
    visibility: hidden;
    margin: -9999px 0 0 -9999px;
    opacity: 0;
  }
}
@keyframes modal_theme_normal {
  0% {
    visibility: visible;
    margin: 0;
    opacity: 1;
  }
  99% {
    margin: 0;
  }
  100% {
    visibility: hidden;
    margin: -9999px 0 0 -9999px;
    opacity: 0;
  }
}
.modal__content {
  -webkit-animation-duration: 0.2s;
  animation-duration: 0.2s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-name: modal_theme_normal__content;
  animation-name: modal_theme_normal__content;
  margin: auto;
  width: 100%;
  position: relative;
  background: #F7F7F7;
  border-radius: 10px;
  padding: 64px 56px;
  max-width: 450px;
}

.modal.modal_visible_yes {
  visibility: visible;
  margin: 0;
}

@-webkit-keyframes modal_theme_normal__content {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  100% {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
  }
}
@keyframes modal_theme_normal__content {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  100% {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
  }
}
.modal.modal_visible_yes .modal__content {
  -webkit-animation-name: modal_theme_normal_visible__content;
  animation-name: modal_theme_normal_visible__content;
}

@-webkit-keyframes modal_theme_normal_visible__content {
  0% {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@keyframes modal_theme_normal_visible__content {
  0% {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
.modal_close {
  position: absolute;
  right: -55px;
  top: -55px;
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
  cursor: pointer;
}

.modal_close svg {
  pointer-events: none;
}

.modal_close svg {
  fill: #3A3A3C;
}

.modal_close:hover svg {
  opacity: 0.8;
}

.modal_wrap.hidden {
  opacity: 0;
}

.modal form .field {
  margin-bottom: 16px;
}
.modal form button {
  width: 100%;
  margin-top: 30px;
}

@media (max-width 480px) {
  .modal__content {
    padding: 60px 30px;
  }

  .modal {
    padding: 0;
  }
}
@media (max-width: 1155px) {
  .ungrid_form {
    width: auto;
    left: unset;
  }
}
@media (max-width: 1040px) {
  .section1 {
    padding: 50px 0px !important;
  }
  .section1 .container > div:first-child {
    grid-template-columns: auto !important;
    grid-gap: 50px;
  }

  form .inputs {
    grid-template-columns: 1fr;
  }

  .head {
    height: auto;
    padding: 30px 0;
    display: grid;
    grid-gap: 50px;
    justify-content: unset;
    flex-direction: unset;
  }

  .header {
    display: grid;
    grid-template-columns: 70px auto 220px;
    grid-gap: 20px;
    justify-content: space-between;
    justify-items: center;
    align-items: start;
  }
  .header_logo {
    grid-column: 1/2;
    grid-row: 1/3;
  }
  .header_logo p {
    display: none;
  }
  .header_contacts {
    grid-column: 2/3;
    grid-row: 1/2;
    text-align: center;
  }
  .header_social {
    grid-column: 2/3;
    grid-row: 2/3;
  }

  .footer > .container:first-child {
    display: grid;
    grid-template-columns: 70px auto 220px;
    grid-gap: 20px;
    justify-content: space-between;
    justify-items: center;
    align-items: start;
  }
  .footer_logo {
    grid-column: 1/2;
    grid-row: 1/3;
  }
  .footer_logo p {
    display: none;
  }
  .footer_contacts {
    grid-column: 2/3;
    grid-row: 1/2;
  }
  .footer_social {
    grid-column: 2/3;
    grid-row: 2/3;
  }

  .text_columns {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .section1 .flex.justify-space-between {
    display: grid;
    justify-content: center;
    grid-gap: 20px;
  }

  h1, .h1 {
    font-size: 33.6px;
    line-height: 110%;
  }

  h2, .h2 {
    font-size: 25.2px;
    line-height: 110%;
  }

  h3, .h3 {
    font-size: 22.4px;
    line-height: 110%;
  }

  h4, .h4 {
    font-size: 16.632px;
    line-height: 100%;
  }

  h5, .h5 {
    font-size: 14px;
    line-height: 100%;
  }

  .p1 {
    font-size: 14px;
  }

  .p2 {
    font-size: 12px;
  }

  .section_with_image {
    height: auto;
  }
  .section_with_image + section {
    padding: 50px 0 !important;
  }

  .modal {
    padding: 0;
  }
  .modal .modal__content {
    padding: 40px 20px;
  }
  .modal .modal_close {
    right: 10px;
    top: 10px;
  }
  .modal .modal_close svg {
    width: 20px;
  }

  .ungrid_form {
    padding: 20px 10px;
  }

  .grid_icons {
    grid-template-columns: auto;
  }

  .section_with_image {
    background-image: unset;
  }

  .header {
    grid-template-columns: auto auto;
    justify-content: center;
    grid-row-gap: 10px;
    /* &_contacts{
       grid-column: unset;
       grid-row: unset;
       text-align: center;
     }
     &_social{
       grid-column: unset;
       grid-row: unset;
     }*/
  }
  .header .phone {
    font-size: 20px;
    line-height: 110%;
  }
  .header .email {
    font-size: 14px;
    line-height: 100%;
  }
  .header .main_button {
    display: none;
  }
  .header_logo {
    /* grid-column: unset;
     grid-row: unset;*/
  }

  .footer > .container:first-child {
    grid-template-columns: 1fr;
  }
  .footer_logo {
    grid-column: unset;
    grid-row: unset;
  }
  .footer_logo p {
    display: block;
  }
  .footer_contacts {
    grid-column: unset;
    grid-row: 2/3;
    text-align: center;
  }
  .footer_social {
    grid-column: unset;
    grid-row: 3/4;
  }
}