@font-face {
  font-family: "geometria";
  font-weight: 400;
  font-style: normal;
  src: url("./fonts/Geometria.woff2");
}
@font-face {
  font-family: "geometria";
  font-weight: 700;
  font-style: normal;
  src: url("./fonts/Geometria-Bold.woff2");
}
@font-face {
  font-family: "geometria";
  font-weight: 900;
  font-style: normal;
  src: url("./fonts/Geometria-ExtraBold.woff2");
}
* {
  font-family: "geometria";
}
body {
  min-height: 100vh;
  margin: 0;
}
header {
  height: 70px;
  background: #eeeeee;
  box-shadow: 0 2px 12px 1px #d0d0d0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 15px;
}
.container {
  max-width: 1140px;
  margin: 0 auto;
}
header .container {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
}
.btn {
  width: 40px;
  min-width: 174px;
  display: block;
  line-height: 42px;
  outline: none;
  border: none;
  text-decoration: none;
  color: #fff;
  background: #0000d0;
  text-transform: uppercase;
  text-align: center;
}
.header_logo {
  height: 40px;
}
.header_logo > img {
  height: 100%;
  width: auto;
  min-height: 40px;
}
h1 {
  font-size: 48px;
  text-transform: uppercase;
  color: #0000d0;
  font-weight: 700;
  text-align: center;
  margin: 0 auto;
}
main {
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  min-height: calc(100vh - 70px);
  padding: 0 15px;
  background: url(./img/mainbg.png) center -50px no-repeat;
}
.main_companies {
  margin: 100px auto;

  display: flex;

  flex-flow: row wrap;

  justify-content: center;

  max-width: 1100px;

  width: 100%;
}
.main_companies > div {
  flex-grow: 1;
  height: 56px;
  max-width: 135px;
  box-shadow: 0 2px 12px 1px #d0d0d0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 10px;
  background: #fff;
  overflow:hidden;
}
.main_companies > div > img {
  width: 100%;
  height: auto;
}
.main_title {
  margin-top: 180px;
}
.companies-other {
  font-weight: 700;
}
.main_btn > a {
  min-width: 16em;
}
.main_btn > p {
  text-align: center;
  letter-spacing: 0.27em;
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 24px;
  }
  .main_title {
    margin-top: 5vh;
  }
  .main_companies {
    margin: 3vh auto;
  }
}
.main_form {
  background: rgba(255, 255, 255, 0.85);
  transition: 0.2s all;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 12px 1px #d0d0d0;
}
.hidden {
  display: none;
}
.main_form > form {
  max-width: 364px;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;

  background: #fff;
}
form > p {
  font-weight: 700;
  margin-bottom: 33px;
}
form > input {
  height: 42px;
  outline: none;
  padding-left: 10px;
  margin-bottom: 20px;
  width: 250px;
}
form > .btn {
  width: 250px;
  cursor: pointer;
}
.fancybox-button svg {
  color: #0000d0 !important;
}
.fancybox-bg {
  background: #fff !important;
}
#thanks {
  text-align: center;
}
#thanks > .btn {
  min-width: 250px;
  margin: 20px auto;
}
