* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.none {
  display: none;
}

.clear {
  clear: both;
}

a {
  color: #004058;
}
a:hover {
  color: #066083;
}

img {
  max-width: 100%;
}

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

h1, h2, h3, h4, p, ol, ul {
  margin-bottom: 8px;
}

h1 {
  font-size: 32px;
  font-family: "Raleway", sans-serif;
}
@media (min-width: 576px) {
  h1 {
    font-size: 48px;
  }
}

h2 {
  font-size: 32px;
  font-family: "Raleway", sans-serif;
}

h3 {
  font-size: 24px;
  font-family: "Raleway", sans-serif;
}

h4 {
  font-size: 19.2px;
}

p {
  line-height: 150%;
}

ol, ul {
  padding-left: 1.3em;
}
ol li, ul li {
  padding: 0.1em 0;
}

ul {
  list-style: square;
}

ul ul,
ul ol,
ol ul,
ol ol {
  margin-bottom: 0;
}

.admlink {
  position: fixed;
  left: 0;
  top: 0px;
  color: rgba(0, 0, 0, 0.3);
  font-size: 14px;
  z-index: 1000;
}

.delimiter {
  margin-top: 32px;
  margin-bottom: 32px;
  border: 1px solid #ccc;
}

.lefted,
.lefted p {
  text-align: left;
}

.centered,
.centered p {
  text-align: center;
}

.righted,
.righted p {
  text-align: right;
}

.space {
  margin-top: 32px;
  margin-bottom: 32px;
}

.space-top {
  margin-top: 32px;
}

.space-bottom {
  margin-bottom: 32px;
}

.container {
  margin: 0 auto;
  max-width: 1400px;
  padding: 0 16px;
}

.fgrid {
  position: relative;
  margin: 0 auto;
  max-width: 1400px;
  width: 100%;
  padding: 0 16px;
}
.fullwide .fgrid {
  max-width: 100%;
  padding: 0;
}

.frow {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-flow: column;
}
@media (min-width: 768px) {
  .frow {
    flex-flow: row;
  }
  .frow.vcenter {
    align-items: center;
  }
}

.fcol {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
}
@media (min-width: 768px) {
  .fcol {
    width: 1px;
  }
}

.fc-1 {
  flex: 1 1 auto;
}

.fc-2 {
  flex: 2 1 auto;
}

.fc-3 {
  flex: 3 1 auto;
}

.fc-4 {
  flex: 4 1 auto;
}

.fc-5 {
  flex: 5 1 auto;
}

.fc-6 {
  flex: 6 1 auto;
}

.grid2 {
  display: grid;
  grid-gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid3 {
  display: grid;
  grid-gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid4 {
  display: grid;
  grid-gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.grid6 {
  display: grid;
  grid-gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid6 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid6 {
    grid-template-columns: repeat(6, 1fr);
  }
}

.gapLarge {
  gap: 64px;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  text-decoration: none;
}
.btn.primary {
  background: #004058;
  color: #fff;
}
.btn.secondary {
  background: #E59535;
  color: #fff;
}

.spacer {
  height: 64px;
  width: 100%;
}

.pictpoint {
  text-align: center;
  display: flex;
  flex-flow: column;
}
.pictpoint .img {
  max-width: 80px;
  max-height: 80px;
  margin: 0 auto 8px;
}
.pictpoint .hl {
  display: block;
}
.pictpoint .hl::after {
  content: "";
  display: block;
  height: 2px;
  width: 80px;
  margin: 16px auto 24px;
  background-color: #066083;
  opacity: 0.5;
}
.pictpoint p {
  font-size: 14px;
}
.horizontal .pictpoint {
  text-align: left;
  flex-flow: row;
  align-items: center;
}
.horizontal .pictpoint .img {
  margin: 0 16px auto 0;
}

.bignum {
  text-align: center;
  padding: 16px;
}
.bignum .num {
  font-family: "Raleway", sans-serif;
  font-size: 5em;
  font-weight: 700;
  color: #066083;
  display: block;
  line-height: 100%;
  margin-bottom: 8px;
}
.bignum .hl {
  display: block;
}
.bignum p {
  font-size: 14px;
}

input, select, textarea {
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  border: 0;
  border-bottom: 1px solid #ccc;
  padding: 8px;
  border-radius: 0;
  background: transparent;
}

select {
  position: relative;
  padding-right: 20px;
  background: #fff url(../layout/selarr.svg) calc(100% - 7px) 50% no-repeat;
  background-size: 15px auto;
}

label {
  display: flex;
  flex-flow: column;
  margin-bottom: 8px;
}
label span {
  min-width: 150px;
  margin-top: 8px;
  margin-bottom: 4px;
  font-size: 14px;
  color: #666;
}
label input + span {
  margin-left: 8px;
  min-width: auto;
}

input[type=radio],
input[type=checkbox] {
  position: relative;
  margin-top: 8px;
  width: 16px;
  height: 16px;
  border: 1px solid #ccc;
}

input[type=radio]:checked:after,
input[type=checkbox]:checked:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  margin-top: -4px;
  margin-left: -4px;
  width: 8px;
  height: 8px;
  background: #066083;
}

input[type=radio],
input[type=radio]:checked:after {
  border-radius: 50%;
}

input[type=submit] {
  background: #004058;
  border: 1px solid #004058;
  color: #fff;
  font-weight: 700;
  padding: 16px 24px;
  text-transform: uppercase;
  cursor: pointer;
}
input[type=submit]:hover {
  background: #066083;
  border-color: #066083;
}

.form__spec {
  visibility: hidden;
  height: 1px;
  overflow: hidden;
}

.req {
  font-weight: 700;
}
.req span::after {
  content: "*";
}

.form__quote {
  color: #fff;
  padding: 16px;
  margin: 8px 0;
}

.form__quote_success {
  background: #00A676;
}

.form__quote_err {
  background: #C93C3C;
}

.contact {
  margin-bottom: 24px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 16px;
}

.contact__message {
  height: 8em;
}

.contact__submit {
  margin-bottom: 8px;
}
@media (min-width: 768px) {
  .contact__submit {
    margin-bottom: 0;
    margin-right: 24px;
  }
}

.contact__mandatory {
  font-size: 14px;
}

.contact__sendrow {
  margin-top: 16px;
}

.header__wrapper {
  background-color: #F5F5F5;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
}

.header__logo {
  margin-right: 24px;
}
@media (min-width: 1024px) {
  .header__logo {
    margin-right: auto;
  }
}

.header__opener {
  display: inline;
  margin-left: 16px;
  font-size: 25px;
  text-decoration: none;
}
@media (min-width: 1024px) {
  .header__opener {
    display: none;
  }
}

.header__menu {
  display: none;
  position: absolute;
  right: 0;
  top: 75px;
  background: #fff;
  z-index: 2;
}
@media (min-width: 1024px) {
  .header__menu {
    margin: 0 32px 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    right: auto;
    top: auto;
    position: relative;
  }
}
.header__menu ul {
  list-style: none;
  display: flex;
  text-align: right;
  flex-flow: column;
  margin: 0;
  padding: 16px;
  min-width: 200px;
}
@media (min-width: 1024px) {
  .header__menu ul {
    flex-flow: row;
    margin-right: 64px;
    padding: 0;
    min-width: auto;
    text-align: left;
  }
}
.header__menu ul li {
  padding: 0;
  margin: 4px 0;
}
@media (min-width: 768px) {
  .header__menu ul li {
    margin: 0 8px;
  }
}
.header__menu ul a {
  color: #066083;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  font-weight: 500;
}
.header__menu ul a:hover {
  color: #066083;
}

.header__langs {
  padding: 0.3em 16px;
  border-right: 1px solid #ccc;
  margin-left: 16px;
}
@media (min-width: 768px) {
  .header__langs {
    border-left: 1px solid #ccc;
    border-right: 0;
  }
}

.header__lang {
  color: #666;
  text-decoration: none;
  text-transform: uppercase;
}
.header__lang:hover {
  color: #066083;
}
.header__lang-active {
  font-weight: 700;
}

.headerContacts {
  display: flex;
  flex-flow: column;
  align-items: flex-end;
  margin: 16px 16px 16px auto;
}
.headerContacts a {
  text-decoration: none;
  color: #E59535;
}
.headerContacts .phone {
  font-size: 16px;
}
.headerContacts .email {
  font-size: 14px;
}
@media (min-width: 1400px) {
  .headerContacts {
    margin-right: 32px;
  }
}

.headerSocials {
  display: flex;
  gap: 4px;
  margin-left: 0;
}
@media (min-width: 1400px) {
  .headerSocials {
    margin-right: 32px;
  }
}

.footerWrapper {
  background: #F5F5F5;
}

.footerGrid {
  padding-top: 64px;
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  text-align: center;
}
@media (min-width: 768px) {
  .footerGrid {
    text-align: left;
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .footerGrid {
    grid-template-columns: 280px 1fr 1fr 2fr;
  }
}

.footerAbout {
  display: flex;
  flex-flow: column;
  gap: 24px;
  order: 4;
  grid-column: 1/2;
  text-align: center;
  margin-top: 24px;
}
@media (min-width: 1024px) {
  .footerAbout {
    grid-column: 1/4;
    margin-top: 0;
  }
}
@media (min-width: 1024px) {
  .footerAbout {
    grid-column: 1/2;
    order: unset;
    text-align: left;
  }
}

.footLogo {
  width: 200px;
  margin: -20px 0 0 -10px;
}

.footerSocials {
  display: flex;
  gap: 8px;
  margin: auto;
}
@media (min-width: 1024px) {
  .footerSocials {
    margin: unset;
  }
}

.footerContacts {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .footerContacts {
    grid-template-columns: 1fr 1fr;
  }
}

.footer {
  color: #004058;
  font-size: 14px;
}
.footer a {
  color: #066083;
  text-decoration: none;
}
.footer ul {
  list-style: none;
  padding: 0;
}
.footer ul li {
  padding: 8px 0;
}
.footer .hl {
  font-size: 19.2px;
  display: block;
  margin-bottom: 24px;
}

h1, h2 {
  color: #004058;
  margin-bottom: 24px;
}

.lgraybg {
  background: #FAFAFA;
  padding: 64px 0;
}

.whitebg {
  background: #fff;
  padding: 64px 0;
}

.guysbg {
  background: url(../layout/guys.png) 50% 0% no-repeat;
  color: #fff;
  padding: 64px 0;
}
.guysbg > .container {
  min-height: 400px;
  margin-top: 60px;
  display: flex;
  flex-flow: column;
  justify-content: center;
}
.guysbg > .container p {
  max-width: 450px;
}

.narrow {
  max-width: 1100px;
}

.contactBg {
  background: #F5F5F5;
  padding: 32px;
}

.arow {
  display: flex;
  gap: 24px;
  margin: 16px 0;
}
.arow .lab {
  flex-basis: 30%;
}

.soc {
  width: 29px;
  height: 29px;
  background: #004058;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.soc.soc_fb {
  background: url(../layout/soc_fb.svg) 0% 0% no-repeat;
}
.soc.soc_ig {
  background: url(../layout/soc_ig.svg) 0% 0% no-repeat;
}
.soc.soc_tw {
  background: url(../layout/soc_tw.svg) 0% 0% no-repeat;
}
.soc.soc_yt {
  content: "yt";
}
.soc.soc_li {
  content: "li";
}

.big {
  font-size: 19.2px;
  color: #004058;
}

p strong {
  color: #004058;
}

.imagetext {
  display: flex;
  align-items: center;
}
.imagetext .text {
  padding: 32px;
  flex-basis: 50%;
  flex-shrink: 0;
}
.imagetext .img {
  flex-basis: 50%;
  width: 50%;
  border-radius: 29px;
}
.imagetext.left .text {
  margin-left: 32px;
}
.imagetext.right .img {
  order: 2;
}
.imagetext.right .text {
  margin-right: 32px;
}
@media (max-width: 1024px) {
  .imagetext {
    align-items: center;
    flex-flow: column;
  }
  .imagetext .img {
    max-width: 100%;
  }
  .imagetext.left .text {
    margin-left: 0;
  }
  .imagetext.right .img {
    order: 0;
  }
  .imagetext.right .text {
    margin-right: 0;
  }
}
.imagetext + .imagetext {
  margin-top: 64px;
}

.pageheader {
  position: relative;
}
.pageheader .bgimg img {
  width: 100%;
}
.pageheader .inner {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
}
.pageheader h1, .pageheader p {
  color: #004058;
  margin-bottom: 24px;
}
.pageheader h1 {
  font-weight: 900;
}
.pageheader h1::after {
  display: none;
}
.pageheader p {
  font-size: 19.2px;
}
