#popup {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 0 5000px  rgba(0, 0, 0, 0.8);
  min-height: 730px;
  z-index: 300;
  top: 0;
  display:none; }
#popup .popup-content {
  position: absolute;
  border: 6px solid #112a4c;
  max-width: 620px;
  min-height: 650px;
  margin: 0 auto;
  background: url(/_lptemplates/kasazklasa/images/popup/popup-bg.jpg) left top;
  border-radius: 14px;
  top: 160px;
  left: 0;
  right: 0; }
#popup .popup-content .image1 {
  position: absolute;
  left: -244px;
  bottom: -27px; }
#popup .popup-content .image2 {
  position: absolute;
  right: -161px;
  bottom: -33px; }
#popup .popup-content h2 {
  padding: 63px 0 34px 0;
  text-align: center;
  margin: 0; }
#popup .popup-content p {
  font-size: 26px;
  line-height: 41px;
  color: #112a4c;
  text-align: center;
  margin: 0; }
#popup .popup-content p strong {
  display: block; }
#popup .popup-content .close {
  position: absolute;
  top: 20px;
  right: 19px; }
#popup .popup-content .close a {
  display: block;
  width: 13px;
  height: 13px;
  background: url(/_lptemplates/kasazklasa/images/popup/popup-close.png); }
#popup .popup-content .close span {
  position: absolute;
  left: -99999px; }
#popup .popup-content .popup-form {
  width: 319px;
  margin: 0 auto;
  padding-top: 50px;
  box-sizing: border-box; }
#popup .popup-content .popup-form p.button {
  color: #ffffff;
  padding: 0 0 10px 0; }
#popup .popup-content .popup-form p.button input {

  display: block;
  width: 100%;
  color: #ffffff;
  box-sizing: border-box;
  border: 0;
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
  cursor: pointer; }
#popup .popup-content .popup-form p.button input:hover {
  text-decoration: none; }
#popup .popup-content .popup-form p {
  padding-top: 5px;
  font-size: 16px;
  line-height: 26px;
  color: #112a4c; }
#popup .popup-content form {
  width: 100%;
  padding-bottom: 10px; }
#popup .popup-content form .input-line {
  padding-bottom: 10px; }
#popup .popup-content form label {
  display: none; }
#popup .popup-content form .input-line input {
  width: 100%;
  border: 2px solid #b3b3b3;
  border-radius: 4px;
  font-size: 20px;
  line-height: 24px;
  color: #7f7e7e;
  padding: 11px 14px 9px 14px;
  box-sizing: border-box; }

@media all and (max-width: 600px) {
  #popup .popup-content .image1 {
    display: none;
  }
  #popup .popup-content .image2 {
    display: none;
  }
}
@media all and (max-width: 500px) {
  #popup .popup-content h2 {
    padding-left: 20px;
    padding-right: 20px;
  }
  #popup .popup-content h2 img {
    max-width: 100%;
    height: auto;
  }
  #popup .popup-content p {
    font-size: 17px;
    line-height: 1.5;
  }
  #popup .popup-content .popup-form {
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
  }
  #popup .popup-content .popup-form p.button input {
    font-size: 18px;
  }
}

#popupEmailPhone {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 0 5000px  rgba(0, 0, 0, 0.8);
  min-height: 730px;
  z-index: 300;
  top: 0;
  display:none;}
#popupEmailPhone .popup-content {
  position: absolute;
  border: 6px solid #112a4c;
  max-width: 620px;
  min-height: 650px;
  margin: 0 auto;
  background: url(/_lptemplates/kasazklasa/images/popup/popup-bg.jpg) left top;
  border-radius: 14px;
  top: 160px;
  left: 0;
  right: 0; }
#popupEmailPhone .popup-content .image1 {
  position: absolute;
  left: -244px;
  bottom: -27px; }
#popupEmailPhone .popup-content .image2 {
  position: absolute;
  right: -161px;
  bottom: -33px; }
#popupEmailPhone .popup-content h2 {
  padding: 63px 0 34px 0;
  text-align: center;
  margin: 0; }
#popupEmailPhone .popup-content p {
  font-size: 26px;
  line-height: 41px;
  color: #112a4c;
  text-align: center;
  margin: 0; }
#popupEmailPhone .popup-content p strong {
  display: block; }
#popupEmailPhone .popup-content .close {
  position: absolute;
  top: 20px;
  right: 19px; }
#popupEmailPhone .popup-content .close a {
  display: block;
  width: 13px;
  height: 13px;
  background: url(/_lptemplates/kasazklasa/images/popup/popup-close.png); }
#popupEmailPhone .popup-content .close span {
  position: absolute;
  left: -99999px; }
#popupEmailPhone .popup-content .popup-form {
  width: 319px;
  margin: 0 auto;
  padding-top: 50px;
  box-sizing: border-box; }
#popupEmailPhone .popup-content .popup-form p.button {
  color: #ffffff;
  padding: 0 0 10px 0; }
#popupEmailPhone .popup-content .popup-form p.button input {
  
  display: block;
  width: 100%;
  color: #ffffff;
  box-sizing: border-box;
  border: 0;
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
  cursor: pointer; }
#popupEmailPhone .popup-content .popup-form p.button input:hover {
  text-decoration: none; }
#popupEmailPhone .popup-content .popup-form p {
  padding-top: 5px;
  font-size: 16px;
  line-height: 26px;
  color: #112a4c; }
#popupEmailPhone .popup-content form {
  width: 100%;
  padding-bottom: 10px; }
#popupEmailPhone .popup-content form .input-line {
  padding-bottom: 10px; }
#popupEmailPhone .popup-content form label {
  display: none; }
#popupEmailPhone .popup-content form .input-line input {
  width: 100%;
  border: 2px solid #b3b3b3;
  border-radius: 4px;
  font-size: 20px;
  line-height: 24px;
  color: #7f7e7e;
  padding: 11px 14px 9px 14px;
  box-sizing: border-box; }

@media all and (max-width: 600px) {
  #popupEmailPhone .popup-content .image1 {
    display: none;
  }
  #popupEmailPhone .popup-content .image2 {
    display: none;
  }
}
@media all and (max-width: 500px) {
  #popupEmailPhone .popup-content h2 {
    padding-left: 20px;
    padding-right: 20px;
  }
  #popupEmailPhone .popup-content h2 img {
    max-width: 100%;
    height: auto;
  }
  #popupEmailPhone .popup-content p {
    font-size: 17px;
    line-height: 1.5;
  }
  #popupEmailPhone .popup-content .popup-form {
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
  }
  #popupEmailPhone .popup-content .popup-form p.button input {
    font-size: 18px;
  }
}

#popupEmailPhone .pdmInput input[type="text"], #popupEmailPhone .pdmInput .pdmMessage{
  margin-left:20%;
  width:60%;
}