
body {
  background-color: rgb(255, 255, 255);
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  margin: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  position: relative;
}
html, body {
  height: 100%;
}
body,div,img{
  margin: 0;
  padding: 0;
  -webkit-box-sizing:border-box;
  box-sizing:border-box;
  text-decoration: none;
}

/*Модальное окно*/
.modal-w_logo{
  position: absolute;
  top:29px;
  left:56px;
}
.modal-w_logo img{
  vertical-align: top;
}
.modal-w_cnt{
  padding: 29px 38px 37px 56px;
  position: relative;
}
.modal-w{
  width: 800px;
  height:600px;
  overflow: hidden;
  position: absolute;
  display: none;
  top: 0;
  left: 50%;
  z-index: 9999;
  top:50%;
  margin: -300px 0 0 -400px;
  background: url("../images/bg-modal.png") no-repeat;
  background-size: cover;
}
.modal-w .help-block,
.modal-w .popup-help-block {
  color: rgb(255, 255, 255);
  font-family: Panton;
  margin-top: 6px;
}
.modal-w_form{
  margin-top: 72px;
  margin-left: 153px;
}
.modal-w_t{
  font-family:'Panton-Bold';
  margin-left: 5px;
  font-size: 45px;
  text-transform: uppercase;
  color:#fffcfd;
  line-height: 62px;
}
.modal-w_caption{
  font-size: 28px;
  font-family:Panton;
  margin-left: 5px;
  line-height: 1;
  color:#fffcfd;
  margin-top: 36px;
}
.modal-w_flag{
  margin-top: 57px;
}
.modal-w_flag img{
  vertical-align: top;
}
.modal-w_btn{
  background: #ff087b;
  color:#fffcfd;
  font-family:Panton;
  display: block;
  margin-top: 48px;
  -webkit-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  cursor: pointer;
  border: medium none;
  font-size: 28px;
  height: 53px;
  margin-left: 5px;
  line-height: 1;
  position: relative;
  border-radius: 3px;
  padding: 0 55px;
  -webkit-box-shadow: 0px 0px 0px 2px #eaffff inset;
  box-shadow: 0px 0px 0px 2px #eaffff inset;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  -webkit-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: color, background-color;
  -o-transition-property: color, background-color;
  transition-property: color, background-color;
}
.modal-w_btn:hover{
  background: #A60350;
}
.modal-w_form_i input{
  background: none;
  width: 478px;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-transform: lowercase;
  padding: 0 6px 5px;
  font-family:Panton;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  outline: none;
  color: #fffcfd;
  border: none;
  height: 46px;
  line-height: 46px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 28px;
}
.modal-w_form_i input::-webkit-input-placeholder {
  color: #fffcfd;
  opacity:1;
}
.modal-w_form_i input:-moz-placeholder { /* Firefox 18- */
  color: #fffcfd;
  opacity:1;
}
.modal-w_form_i input::-moz-placeholder {  /* Firefox 19+ */
  color: #fffcfd;
  opacity:1;
}
.modal-w_form_i input:-ms-input-placeholder {
  color: #fffcfd;
  opacity:1;
}
.modal-w_form_cnt {
  padding-top: 18px;
}
.overlay {
  display: none;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2;
  background: rgba(72,72,72,0.8);
}
.modal-w_close {
  cursor: pointer;
  background: url('../images/close-popup.png') no-repeat;
  height: 32px;
  position: absolute;
  right: 17px;
  text-align: center;
  top: 19px;
  width: 32px;
}
.modal-w_close.hi-icon {
  -webkit-transition: -webkit-transform ease-out 0.1s, background 0.2s;
  -moz-transition: -moz-transform ease-out 0.1s, background 0.2s;
  transition: transform ease-out 0.1s, background 0.2s;
}

.modal-w_close.hi-icon:after {
  top: 0;
  left: 0;
  padding: 0;
  z-index: -1;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.1);
  opacity: 0;
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -ms-transform: scale(0.9);
  transform: scale(0.9);
}
.hi-icon::after {
  border-radius: 50%;
  -webkit-box-sizing:content-box;
  box-sizing:content-box;
  content: "";
  height: 100%;
  pointer-events: none;
  position: absolute;
  width: 100%;
}
.modal-w_close.hi-icon:hover {
  -webkit-transform: scale(0.93);
  -moz-transform: scale(0.93);
  -ms-transform: scale(0.93);
  transform: scale(0.93);
}

.modal-w_close.hi-icon:hover:after {
  -webkit-animation: sonarEffect 1.3s ease-out 75ms;
  -moz-animation: sonarEffect 1.3s ease-out 75ms;
  animation: sonarEffect 1.3s ease-out 75ms;
}

@-webkit-keyframes sonarEffect {
  0% {
    opacity: 0.3;
  }
  40% {
    opacity: 0.5;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #c5025a, 0 0 0 10px rgba(255,255,255,0.5);
  }
  100% {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #c5025a, 0 0 0 10px rgba(255,255,255,0.5);
    -webkit-transform: scale(1.5);
    opacity: 0;
  }
}
@-moz-keyframes sonarEffect {
  0% {
    opacity: 0.3;
  }
  40% {
    opacity: 0.5;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #c5025a, 0 0 0 10px rgba(255,255,255,0.5);
  }
  100% {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #c5025a, 0 0 0 10px rgba(255,255,255,0.5);
    -moz-transform: scale(1.5);
    opacity: 0;
  }
}
@keyframes sonarEffect {
  0% {
    opacity: 0.3;
  }
  40% {
    opacity: 0.5;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #c5025a, 0 0 0 10px rgba(255,255,255,0.5);
  }
  100% {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #c5025a, 0 0 0 10px rgba(255,255,255,0.5);
    transform: scale(1.5);
    opacity: 0;
  }
}