#modal {
    position: absolute;
    display: block;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
	display: none;
}
#modal .modal-wrap {
	position: fixed;
	width: 460px;
    top: 15%;
    left: 50%;
    background: white;
    padding: 15px 30px 30px;
    box-shadow: 1px 2px 10px #0000006b;
    z-index: 999;
    margin: 0 0 0 -230px;
}
#modal .close {
	position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    font-size: 30px;	
}
#modal h4 {
	margin: 30px auto 0;
    font-size: 30px;
    line-height: 30px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
}
#modal p {
	margin: 10px auto 0;
    color: #000;
	font-size: 21px;
    line-height: 22px;
}
#modal .modal-bg {
	position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 998;
}
#modal .form-block {
    width: 100%;
    min-height: 300px;
    margin-top: 15px;
}
#modal .modal-field {
    height: 60px;
    margin-top: 15px;
    padding-left: 20px;
}
#modal .modal-submit-button {
	margin-top: 15px;
    padding-top: 30px;
    padding-bottom: 30px;
	width: 100%;
    background-color: #ffc200;
    color: #000;
	display: block;
    font-size: 21px;
    line-height: 21px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
#modal .modal-small-text {
	color: #000;
	font-size: 13px;
    line-height: 15px;
    font-weight: 700;
    text-align: justify;
    text-transform: uppercase;
}
.form-status {
	z-index:999;
	display: none;
	transition: .2s all ease;
	position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}
.form-status.active {
	display: flex;
}
.form-status-bg {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.65);
	z-index: 0;
}
.error-message {
    background-color: #ee4d4d;
    font-family: Geometria, sans-serif;
    color: #fff;
    text-align: center;
    position: absolute;
    display: block;
    left: 50%;
    white-space: nowrap;
    transform: translate(-50%, 10px);
    opacity: 0;
    transition: .2s all ease;
	padding: 20px;
}
.thanks {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  max-width: 1200px;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  background-color: #1a1212;
  z-index: 1;
}

.thanksphoto {
  position: absolute;
  right: 40px;
  bottom: 0px;
  z-index: 0;
  display: block;
}

.thankstext {
  position: relative;
  z-index: 1;
  padding: 110px 45% 70px 10vw;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.thanks-ok-icon {
  position: absolute;
  left: 35px;
  top: 50px;
}

.thankstitle {
  font-family: Geometria, sans-serif;
  color: #fff;
  font-size: 30px;
  line-height: 34px;
  font-weight: 900;
  text-transform: uppercase;
}

.thanks-subtitle {
  padding-top: 40px;
  font-family: Geometria, sans-serif;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
}

.thanksfulltext {
  padding-top: 50px;
  font-family: Geometria, sans-serif;
  color: #fff;
  font-size: 16px;
  line-height: 18px;
  font-weight: 400;
}

.thanksinfo {
  position: relative;
  margin-top: 50px;
  padding-right: 45px;
  padding-left: 45px;
  border-style: solid;
  border-width: 3px;
  border-color: hsla(0, 0%, 100%, 0.15);
  border-radius: 12px;
  text-align: center;
}

.thanksinfotext {
  padding-top: 25px;
  padding-bottom: 25px;
  font-family: Geometria, sans-serif;
  color: #fff;
  font-size: 16px;
  line-height: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.thanksclose-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  cursor: pointer;
}

@media screen and (max-width: 991px) {
  .thanksphoto {
    right: -120px;
  }
  .thankstext {
    padding-right: 37%;
    padding-left: 5vw;
  }
  .thanksinfo {
    padding-right: 10%;
    padding-left: 10%;
  }
}

@media screen and (max-width: 767px) {
  .thanksphoto {
    display: none;
  }
  .thankstext {
    padding-right: 5vw;
    padding-bottom: 50px;
    text-align: center;
  }
  .thanks-ok-icon {
    left: 50%;
    top: 0px;
    margin-left: -108px;
    opacity: 0.49;
  }
  .thanks-subtitle {
    padding-top: 20px;
    font-size: 14px;
    line-height: 18px;
  }
  .thanksfulltext {
    padding-top: 20px;
    font-size: 14px;
    line-height: 16px;
  }
  .thanksinfo {
    margin-top: 20px;
  }
  .thanksinfotext {
    font-size: 14px;
    line-height: 16px;
  }
}

@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria-Heavy.woff') format('woff');
  font-weight: 900;
  font-style: normal;
}
#modal .modal-submit-button.arenda-kompressorov {
		color: #fff;
	    background-color: #cf1c25;
}
#modal .modal-submit-button.svaeboynoe-oborudovanie {
		color: #000;
	    background-color: #fc0;
}
@media (max-width: 479px) {
#modal .modal-wrap {
    width: 100%;
    margin-left: -50%;
	top: 5%;
}
}