@import url('https://fonts.googleapis.com/css?family=PT+Sans:400,700&subset=cyrillic');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&subset=cyrillic');
/*font-family: 'Roboto', sans-serif;*/
/*font-family: 'PT Sans', sans-serif;*/

.img-responsive {
  max-width: 100%;
}

.content__form_block .input:focus,
.content__form_block .input:active {
  border: 1px solid rgb(56, 175, 90);
}
.content__form_block .input.error {
  border: 1px solid red;
}

body {
  min-width: 320px;
  height: 100vh;
  overflow: hidden;
  font-size: 15px;
  position: relative;
  background-color: #fdfdfd;
}
.bg-image {
  min-height: 100%;
  min-width: 100%;
  overflow: hidden;
}
.wrapper__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
.logo {
  display: block;
  max-width: 230px;
  margin-bottom: 30px;
  margin-top: 15px;
  position: relative;
  z-index: 2;
}
.content__title {
  font-size: 50px;
  line-height: 60px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  color: rgb(42, 40, 42);
  margin-bottom: 50px;
  position: relative;
  z-index: 4;
}
.content__title span {
  display: block;
  color: rgb(56, 175, 90);
}

.content__text {
  position: relative;
  z-index: 3;
  text-align: right;
  padding-bottom: 130px;
}
.content__img {
  position: absolute;
  top: 0;
  left: 0;
}
.content__img img {
  position: relative;
  z-index: 2;
}
.content__triangle {
  width: 100%;
  height: 100%;
  max-width: 650px;
  position: absolute;
  top: -50px;
  left: 50px;
  z-index: 1;
}
.content__form {
  max-width: 400px;
  padding: 0 15px;
  display: inline-block;
  position: relative;
  z-index: 3;
  font-family: 'PT Sans', sans-serif;
  font-size: 18px;
  text-align: justify;
}
.content__form_block {
  width: 100%;
  background-color: rgb(240, 229, 50);
  padding: 30px 30px 50px;
  box-sizing: border-box;
  margin-bottom: 10px;
}
.content__form_block h3 {
  text-align: center;
  font-size: 29px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgb(42, 40, 42);
  margin-top: 0;
}
.content__form_block .input {
  width: 100%;
  background: white url("../img/user-ico.png") no-repeat 95% center;
  border: 1px solid rgb(168, 169, 169);
  font-family: 'PT Sans', sans-serif;
  font-size: 17px;
  line-height: 50px;
  height: 50px;
  padding: 0 15px;
  margin-bottom: 10px;
  box-sizing: border-box;
  outline: none;
}
.content__form_block .input.mask {
  background: white url("../img/phone-ico.png") no-repeat 95% center;
}
.content__form_block input[type="submit"] {
  width: 100%;
  background-color: rgb(56, 175, 90);
  -webkit-border-radius: 5px;
  border-radius: 5px;
  border: 2px solid rgb(56, 175, 90);
  height: 50px;
  line-height: 40px;
  color: white;
  text-transform: uppercase;
  text-align: center;
  margin-top: 10px;
  outline: none;
  box-sizing: border-box;
  -webkit-transition: background-color .4s ease-in-out, color .4s ease-in-out;
  -o-transition: background-color .4s ease-in-out, color .4s ease-in-out;
  transition: background-color .4s ease-in-out, color .4s ease-in-out;
}
.content__form_block input[type="submit"]:hover {
  cursor: pointer;
  background-color: transparent;
  color: rgb(56, 175, 90);
}
.content__form small {
  font-size: 15px;
  line-height: 22px;
  font-family: "PT Sans", sans-serif;
  color: rgb(80, 79, 80);
  display: block;
  width: 90%;
  margin: 0 auto;
}
.content__form small span {
  color: rgb(56, 175, 90);
}
.content__bottom {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  min-height: 70px;
  background-color: #fdfdfd;
  z-index: 4;
  -webkit-box-shadow: 0 -35px 50px 0 rgba(253,253,253,1);
  -moz-box-shadow: 0 -35px 50px 0 rgba(253,253,253,1);
  box-shadow: 0 -35px 50px 0 rgba(253,253,253,1);
}
#overlay {
  position: fixed;
  height: 100%;
  width: 100%;
  background: #fff;
  opacity: 0.8;
  z-index: 900;
  display: none;
  margin: 0;
  left: 0;
  top: 0;
  margin-top: -15px;
}
#thanks-form-wrapper {
  display: none;
  position: fixed !important;
  z-index: 1000;
  width: calc(100% - 30px);
  max-width: 450px;
  top: 0;
  left: 50%;
  margin: 20px;
  background-color: rgb(240, 229, 50);
  padding: 45px 35px 30px 35px;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}
#thanks-form-wrapper .line-form{
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgb(42, 40, 42);
  margin: 0 0 20px 0;
}
#thanks-form-wrapper .text-form {
  font-size: 20px;
}
#thanks-form-wrapper .thanks-form-close {
  position: absolute;
  right: 5px;
  top: 5px;
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  border: 0;
  width: 17px;
  height: 17px;
  display: block;
  cursor: pointer;
  background: url(/img/close-modal.png) 0 0 no-repeat;
  z-index: 1001;
}
#thanks-form-wrapper .form-close {
  margin-top: 25px;
}
#thanks-form-wrapper .form-close span {
  display: inline-block;
  background-color: rgb(56, 175, 90);
  -webkit-border-radius: 5px;
  border-radius: 5px;
  border: 2px solid rgb(56, 175, 90);
  width: 95px;
  line-height: 40px;
  color: white;
  text-transform: uppercase;
  text-align: center;
  outline: none;
  box-sizing: border-box;
  -webkit-transition: background-color .4s ease-in-out, color .4s ease-in-out;
  -o-transition: background-color .4s ease-in-out, color .4s ease-in-out;
  transition: background-color .4s ease-in-out, color .4s ease-in-out;
}
#thanks-form-wrapper .form-close span:hover {
  cursor: pointer;
  background-color: transparent;
  color: rgb(56, 175, 90);
}


@media screen and (max-width: 1700px) {
  .logo {
    max-width: 200px;
    margin-bottom: 10px;
  }
  .content__title {
    font-size: 40px;
    line-height: 44px;
    margin-top: 10px;
    margin-bottom: 20px;
  }
  .content__text {
    padding-bottom: 50px;
  }
  .content__img {
    max-width: 1000px;
  }
}
@media screen and (max-width: 1400px) {
  .logo {
    max-width: 150px;
  }
  .content__title {
    font-size: 30px;
    line-height: 34px;
    margin-top: 0;
    margin-bottom: 10px;
  }
  .content__text {
    padding-bottom: 30px;
  }
  .content__img {
    max-width: 700px;
    top: auto;
    bottom: -200px;
    left: 100px;
  }
  .content__triangle {
    max-width: 450px;
    top: -10px;
    left: 150px;
  }
  .content__form {
    font-size: 17px;
  }
  .content__form p {
    margin: 0 0 10px;
  }
  .content__form_block {
    padding: 20px 30px 30px;
    margin-bottom: 0;
    margin-top: 20px;
  }
  .content__form_block h3 {
    font-size: 22px;
    line-height: 26px;
    margin-bottom: 15px;
  }
  .content__form_block .input {
    height: 45px;
    line-height: 45px;
  }
  .content__form_block input[type="submit"] {
    height: 45px;
  }
  .content__bottom {
    display: none;
  }
}

@media screen and (max-width: 1200px) {
  body {
    overflow-y: auto;
  }
}
@media screen and (max-width: 950px) {
  .content__title {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 30px;
  }
  .content__form {
    font-size: 20px;
  }
}
@media screen and (max-width: 767px) {
  .logo {
    margin: 15px auto;
    position: relative;
    z-index: 3;
  }
  .content__title {
    font-size: 24px;
    line-height: 28px;
  }
  .content__text {
    text-align: center;
    padding-bottom: 30px;
  }
  .content__form {
    padding: 0;
  }
  .content__img{
    display: none;
    visibility: hidden;
  }

  .content__form_block h3 {
    font-size: 20px;
  }
  .content__form_block input[type="submit"] {
    font-size: 17px;
  }
  .content__triangle {
    max-width: 280px;
    height: 324px;
    top: -150px;
    left: 50%;
    margin-left: -140px;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
  }
}
@media screen and (max-width: 480px) {
  .logo {
    max-width: 180px;
  }
  .content__title {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 10px;
  }
  .content__form {
    font-size: 16px;
  }
  .content__form_block {
    padding: 20px 15px;
  }
  .content__text {
    overflow: visible;
  }
  #thanks-form-wrapper {
    padding: 30px 15px;
    margin-left: 0 !important;
    margin-right: 15px !important;
    box-sizing: border-box;
  }
}


