/* Variables */
/* Mainpage map */
.mainmap {
  position: relative;
  padding-bottom: 26px; }

.mainmap__container {
  height: 470px; }

.mainmap__hover {
  background-color: rgba(73, 83, 90, 0.8);
  padding-top: 25px;
  position: absolute;
  width: 100%;
  padding-bottom: 25px;
  top: 0;
  left: 0;
  z-index: 10; }
  .mainmap__hover h1 {
    font-weight: 900;
    font-size: 32px;
    color: white;
    text-align: center;
    margin-bottom: 15px; }
  .mainmap__hover p {
    font-size: 19px;
    font-weight: 400;
    color: white;
    text-align: center; }
    .mainmap__hover p:before {
      content: '';
      display: inline-block;
      background: url(/i/app/info.svg);
      width: 19px;
      height: 19px;
      position: relative;
      top: 2px;
      margin-right: 12px; }

.mainmap__popup-btn {
  color: #9fdbf4;
  cursor: pointer;
  border-bottom: 1px dashed #9fdbf4;
  line-height: 30px;
  display: inline-block; }

/* Mainpage banner*/
.banner {
  padding: 30px 20px;
  background: transparent url("/i/app/banner-bg.jpg") center no-repeat;
  background-size: cover;
  border-radius: 4px;
  margin-bottom: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; }

.banner__rounded-btn {
  width: 62px;
  height: 62px;
  -webkit-box-flex: 1;
      -ms-flex: 1 .0001 62px;
          flex: 1 .0001 62px;
  display: block;
  border-radius: 100%;
  background: transparent url("/i/app/rounded-btn-white.svg") center no-repeat;
  margin-right: 20px; }
  .banner__rounded-btn:hover {
    background: transparent url("/i/app/rounded-btn-yellow.svg") center no-repeat; }

.banner__car-img {
  -webkit-box-flex: 1;
      -ms-flex: 1 .0001 165px;
          flex: 1 .0001 165px;
  margin-right: 30px; }
  .banner__car-img img {
    width: 165px;
    height: 63px; }

.banner__new-post-btn {
  width: 220px;
  -webkit-box-flex: 1;
      -ms-flex: 1 .0001 220px;
          flex: 1 .0001 220px;
  height: 46px;
  line-height: 46px;
  text-transform: uppercase; }

.banner__text {
  width: 100%; }
  .banner__text p {
    font-weight: 400;
    font-size: 14px;
    color: #beccd6;
    line-height: 23px; }
  .banner__text .banner__text-bold {
    font-weight: 700;
    font-size: 22px;
    line-height: 30px;
    color: white; }

.region-select {
  background-color: #49535a;
  padding-top: 30px; }
  .region-select h2 {
    color: white;
    font-size: 25px;
    font-weight: 900;
    text-align: center; }

.region-select__region-list {
  padding: 30px 0 37px; }
  .region-select__region-list:after {
    content: '';
    clear: both;
    display: block; }

.region-select__region-check {
  padding: 7px 0 7px 20px;
  width: 25%;
  float: left;
  border-right: 1px solid #545f67; }
  .region-select__region-check:nth-of-type(4n) {
    border-right: none; }

/* Popup window */
.popup {
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: rgba(54, 63, 69, 0.7);
  padding: 80px 10px 0;
  z-index: 30;
  top: 0;
  left: 0; }
  .popup.popup_hidden {
    display: none; }

.popup__window {
  max-width: 640px;
  height: 510px;
  margin: 0 auto;
  background-color: white;
  border-radius: 4px;
  padding: 28px 34px 50px 34px; }

.popup__title {
  font-size: 25px;
  color: #49535a;
  font-weight: 700;
  line-height: 30px;
  position: relative;
  margin-bottom: 28px; }

.popup__close-btn {
  position: absolute;
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 100%;
  border: 2px solid #bebebe;
  right: 0;
  top: 0;
  cursor: pointer; }
  .popup__close-btn:before, .popup__close-btn:after {
    display: block;
    content: '';
    background-color: #bebebe;
    width: 11px;
    height: 2px;
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
    position: absolute;
    top: 14px;
    left: 9px; }
  .popup__close-btn:before {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg); }
  .popup__close-btn:after {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg); }

.popup__form {
  padding: 2px;
  height: 48px;
  position: relative;
  box-sizing: border-box;
  /*Border*/
  border-radius: 4px;
  border-top: 2px solid #28b2ea;
  border-bottom: 2px solid #0e9bd5;
  background-position: 0 0, 100% 0;
  background-repeat: no-repeat;
  background-size: 2px 100%;
  background-image: -webkit-linear-gradient(90deg, #0e9bd5, #28b2ea), -webkit-linear-gradient(90deg, #0e9bd5, #28b2ea);
  background-image: linear-gradient(0deg, #0e9bd5, #28b2ea), linear-gradient(0deg, #0e9bd5, #28b2ea); }

.popup__input {
  width: 100%;
  box-sizing: border-box;
  height: 40px;
  border: none;
  padding: 0 40px 0 20px;
  font-size: 14px;
  font-weight: 400;
  color: #737373;
  outline: none; }

.popup__submit {
  position: absolute;
  right: 2px;
  top: 2px;
  height: 40px;
  width: 40px;
  border: none;
  background: transparent url("/i/app/search.png") center no-repeat;
  cursor: pointer; }

.popup__cities-list {
  margin-top: 24px;
  background-color: #f6f6f6;
  padding: 10px 0 10px 20px;
  overflow-y: scroll;
  max-height: 300px;
  border-radius: 4px; }

.popup__city {
  line-height: 30px;
  font-size: 16px;
  color: #49535a;
  text-decoration: none; }
  .popup__city:hover {
    color: #1da8e1; }

/* Auth Page */
.auth {
  padding-top: 40px;
  padding-bottom: 95px; }

.auth__title {
  text-align: center;
  color: #49535a;
  margin-bottom: 48px; }

.auth__form {
  padding-left: 70px; }

.auth__form-item {
  height: 48px;
  margin-bottom: 22px;
  padding-left: 1px; }

.auth__form-label {
  width: 285px;
  color: #737373;
  font-size: 16px;
  padding-right: 55px;
  text-align: right;
  display: inline-block;
  position: relative; }

.auth__form-input {
  height: 48px;
  line-height: 46px;
  padding: 0;
  padding-left: 50px;
  border: 1px solid #d7d7d7;
  background-color: #fff;
  width: 320px;
  border-radius: 4px;
  font-size: 18px;
  outline: none; }

.auth__form-submit {
  margin-left: 285px;
  height: 48px;
  line-height: 48px;
  font-size: 13px;
  width: 220px;
  border: none;
  cursor: pointer;
  padding: 0;
  text-transform: uppercase; }

.auth__pass-restore {
  margin-top: 55px;
  text-align: center; }

.auth__pass-restore-link {
  color: #5499b6;
  font-size: 14px; }

.auth__form-login label:before, .auth__form-pass label:before {
  content: '';
  display: inline-block;
  position: absolute;
  width: 16px;
  height: 17px;
  background: transparent url("/i/app/phone.png") center no-repeat;
  right: -35px; }

.auth__form-pass label:before {
  background: transparent url("/i/app/key.png") center no-repeat; }

.text-page {
  background-color: #fff;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.1);
  color: #49535a;
  margin: 40px 0 20px; }
  .text-page span.number {
    display: inline-block;
    width: 35px; }
  .text-page a {
    color: #0e9bd5; }
  .text-page p {
    overflow: hidden;
    text-overflow: ellipsis; }

.text-page__title {
  text-align: center;
  color: #49535a;
  padding: 10px 0 30px; }

/*Presale Page*/
.presale-banner {
    background: #49535a url(/i/app/presale-bg.jpg) center no-repeat;
    background-size: cover;
    padding-bottom: 160px;
}

.presale-banner__title {
  color: #fff;
  line-height: 45px;
  text-align: center;
  margin: 30px auto 40px;
  max-width: 680px; }
  .presale-banner__title strong {
    color: #f3ca31; }

.presale-banner__info {
  max-width: 500px;
  margin: 40px auto;
  padding: 0 20px;
  color: white;
  font-size: 19px;
  line-height: 30px;
  text-align: center; }

.site-principles {
  background-color: #fff;
  box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  /*top: -60px; */
  top: -150px;
  border-radius: 4px;
  padding: 30px 38px 35px; }

.site-principles__title {
  text-align: center;
  color: #49535a;
  font-weight: 700; }

.principle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin-top: 35px; }

.principle__title {
    color: #49535a;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: initial;
}

.principle__img-container {
  background-color: #f3ca31;
  border-radius: 4px;
  height: 85px;
  width: 85px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0.0001 85px;
          flex: 0 0.0001 85px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-right: 38px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around; }
  .principle__img-container img {
    margin: auto; }

.principle__text {
  font-size: 14px;
  line-height: 21px;
  color: #737373; }

.presale-create-post {
  width: 400px;
  display: block;
  height: 66px;
  margin: 0 auto 40px;
  font-size: 20px;
  position: relative;
  top: -50px;
  line-height: 66px; }

@media screen and (max-width: 1024px) {
  .mainmap__container {
    height: 350px; } }

@media screen and (max-width: 850px) {
  .auth__form {
    padding-left: 0; }
  .mainmap__container {
    display: none; }
  .mainmap {
    padding: 0; }
  .mainmap__hover {
    position: static;
    background: transparent;
    padding: 30px 0;
    height: auto; }
    .mainmap__hover h1 {
      color: #49535a;
      margin-bottom: 0; }
    .mainmap__hover p {
      display: none; }
  .mainmap__popup-btn {
    color: #00aae4;
    border-bottom-color: #00aae4; }
  .banner__car-img {
    display: none; } }

@media screen and (max-width: 768px) {
  .auth__form-item {
    height: auto; }
  .auth__form-label {
    display: block;
    margin: 10px auto;
    padding-right: 0;
    width: 320px;
    text-align: left; }
    .auth__form-label:before {
      left: 15px;
      top: 42px; }
  .auth__form-input {
    margin: 0 auto 20px;
    display: block; }
  .auth__form-submit {
    width: 320px;
    margin: 30px auto 0;
    display: block; }
  .auth__pass-restore {
    margin-top: 30px; }
  .principle__img-container {
    margin-right: 20px; }
  }

@media screen and (max-width: 600px) {
  .banner__rounded-btn {
    display: none; }
  .banner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center; }
  .banner__new-post-btn {
    -ms-flex-preferred-size: 46px;
        flex-basis: 46px;
    height: 46px;
    width: 220px;
    margin-top: 20px; }
  .region-select__region-check {
    width: 50%; }
    .region-select__region-check:nth-of-type(2n) {
      border-right: none; } }

@media screen and (max-width: 480px) {
  .auth__form-label, .auth__form-input, .auth__form-submit {
    width: 280px; }
  .presale-create-post {
    width: 280px; }
  .principle__img-container {
    display: none; }
  .presale-banner__title {
    font-size: 25px;
    line-height: 30px; }
  .site-principles {
    padding: 30px 20px; }
  .popup {
    padding-top: 40px; }
  .popup__window {
    height: 400px; }
  .popup__cities-list {
    max-height: 210px; } }
