.element-hider {
  position: relative;
  left: -10000px;
  top: -10000px; }

.wr-modal {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 999;
  display: block; }

.wr-modal.hide {
  display: none;
  top: -10000px;
  left: -10000px; }

.wr-modal .close-modal {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 10;
  cursor: pointer; }

.wr-modal .modal {
  padding-bottom: 30px;
  bottom: auto;
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 10;
  background: #fff;
  max-width: 630px;
  width: 100%;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  z-index: 20; }

.wr-modal .title span {
  display: block;
  padding: 0 20px;
  color: #ffffff;
  text-align: center;
  font-size: 22px;
  line-height: 44px;
  font-weight: 500; }

.title.form__title {
	background-image: none;
}

.wr-modal .title {
  background-color: #00c115;
  -webkit-box-shadow: 0px 0px 20px 0px rgba(185, 34, 39, 0.1);
  -moz-box-shadow: 0px 0px 20px 0px rgba(185, 34, 39, 0.1);
  box-shadow: 0px 0px 20px 0px rgba(185, 34, 39, 0.1); }

.form__title {
  padding: 10px 0 !important;
  margin: 0 0 30px !important; }

.form__all {
  position: relative;
  overflow: hidden; }

.wr-modal form {
  padding: 10px 50px 10px; 
  width: 100%;
}

.form__box {
  margin: 0 0 25px !important; }

.wr-modal .form-group input {
  display: block;
  width: 100%;
  border: 0;
  border: 1px solid #999;
  height: 30px;
  font-size: 24px;
  -o-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  background-color: transparent;
  margin: 0 0 17px; 
  outline: none;
  font-family: open-sans, sans-serif;
  border-radius: 3px;
  border-radius: 4px;
    color: #555;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
}

.wr-modal .form-group input:hover {
	font-style: normal;
	border-color: #4f4f4f;
	font-family: open-sans, sans-serif;
}

.wr-modal .form-group input:focus {
	font-style: normal;
	font-family: open-sans, sans-serif;
	border-color: #4f4f4f;
}

.form__last {
  max-height: 0;
  opacity: 0;
  -webkit-transition: all 200ms;
  -o-transition: all 200ms;
  -moz-transition: all 200ms;
  transition: all 200ms;
  pointer-events: none;
  height: 0; }

.form__buttons {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center; }

.form__back {
  position: relative;
  cursor: pointer;
  display: block;
  min-width: 41px;
  height: 41px;
  margin-right: 15px;
  display: none; 
  cursor: pointer;
  transition: all 200ms;
  height: 53px;
  border-radius: 3px;
  background-color: #00c115;
    border: 2px solid #00c115;
}
.form__back:hover {
	background-color: #00984D;
  border-color: #00984D;
}

.wr-modal input[type=submit] {
  outline: none;
  cursor: pointer;
  max-width: 372px;
  width: 100%;
  color: #fff;
  display: block;
  margin: 0 auto;
  -o-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  font-size: 16px;
  line-height: 21px; 
  font-weight: 500;
  padding: 10px 0px;
  font-family: open-sans, sans-serif;
  border-radius: 3px;
  text-transform: none;
  height: 53px;
  background-color: #00c115;
    border: 2px solid #00c115;

}

.wr-modal input[type=submit]:hover {
  background-color: #00e253;
  border-color: #00e253;
   }

.form__buttons input.form__submitter {
  margin: 0; }

.form__all {
  position: relative;
  overflow: hidden; }

.form__mail.active {
  display: none; }

.form__last.active {
  pointer-events: all;
  height: auto;
  opacity: 1;
  max-height: 800px;
  position: static; }

.form__last select {
  width: 100%;
  border: 1px solid #999;
  padding: 0 10px;
  margin-bottom: 10px;
  outline: none;
  border-radius: 3px;
  font-family: open-sans, sans-serif;
  font-weight: 400;
  border-radius: 4px;
    color: #555;
    height: 34px;
    padding: 6px 9px;
    font-size: 14px;
    background-color: #ffffff;
  }
  .form__back.active {display: block;}
  .form__back:before {
  height: 26px;
    width: 12px;
    /*background: url(../img/arrow-lw.png) center no-repeat;*/
    content: "<";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 4px;
    right: 0;
    color: #ffffff;
}

.form__select {
  position: relative; }
  .form__select:after {
  /*  position: absolute;
    top: 45%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 10px;
    content: '';
    display: block;
    border: 4px solid transparent;
    border-top: 4px solid #ac1f1f; */
  }

textarea.form__textarea {
  width: 100%;
  height: 110px;
  padding: 10px;
  border: 1px solid #999;
  resize: none;
  font-size: 14px;
  color: #555;
  margin-top: 15px; 
  outline: none;
  font-family: open-sans, sans-serif;
  border-radius: 3px;
  font-weight: 400;
}
.f-success.title {
	background-image: none;
	padding: 0;
}

.Container.wr-modal {
	padding: 20px 10px 20px !important;
	height: auto !important;
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    transform: translateX(-50%) translateY(-50%);
    bottom: auto;

}

/* modal button on pages */
.modal-button{
    text-transform: uppercase;
    font-weight: bold;
    padding: 7px 16px 5px 16px !important;
    margin-bottom: 10px;
    display: inline-block;
    margin-left: 2px;
}

@media screen and (max-height: 940px) {
	.form__last select {
		/*height: 43px;
		font-size: 20px;*/
	}
	textarea.form__textarea {
		/*font-size: 20px;
		height: 70px;*/
	}
}
@media screen and (max-height: 780px) {
	.wr-modal .form-group input {
		padding-top: 6px;
		margin-bottom: 7px;
	}
	.form__last select {
		/*height: 43px;
		font-size: 20px;*/
	}
	textarea.form__textarea {
		margin-top: 0;
	}
	.form__box {
		margin: 0 0 14px !important;
	}
}