body {
  position: relative; }

#popup {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  min-height: 730px;
  top: 0;
  z-index: 100;
  display:none;}
#popup .popup-content {
  position: absolute;
  max-width: 557px;
  min-height: 446px;
  margin: 0 auto;
  background: #56c21f url(/_lptemplates/wyplacarka/images/popup/popup-bg.png) left top;
  border-radius: 14px;
  top: 160px;
  left: 0;
  right: 0;
  text-align: center; }
#popup .popup-content h2, #popup .popup-content h3, #popup .popup-content p {
  margin: 0; }
#popup .popup-content h2 {
  padding: 35px 0 30px 0; }
#popup .popup-content h3 {
  font-size: 36px;
  line-height: 56px;
  font-weight: bold;
  color: white;
  padding-bottom: 19px; }
#popup .popup-content p {
  font-size: 21px;
  line-height: 29px;
  color: white;
  text-align: center; }
#popup .popup-content p.button {
  font-size: 22px;
  line-height: 26px;
  font-weight: bold;
  padding-top: 26px; }
#popup .popup-content p.button a {
  background: rgba(0, 0, 0, 0) url(/_lptemplates/wyplacarka/images/button-bg.png) repeat scroll 0 0 / 100% 100%;
  border: 0 none;
  border-radius: 0;
  color: #ffffff;
  display: block;
  float: right;
  font-size: 21px;
  font-weight: bold;
  height: 60px;
  line-height: 53px;
  margin: 14px auto 0;
  padding: 0;
  width: 200px;
  transition: all 0.3s linear; }
#popup .popup-content p.button a:hover {
  background-color: transparent;
  color: #ffffff;
  opacity: 0.8;
  text-decoration: none; }
#popup .popup-content p.image {
  position: absolute;
  left: 50%;
  margin-left: -150px;
  bottom: -183px; }
#popup .popup-content .close {
  position: absolute;
  top: 24px;
  right: 27px; }
#popup .popup-content .close a {
  display: block;
  width: 14px;
  height: 14px;
  background: url(/_lptemplates/wyplacarka/images/popup/popup-close.png); }
#popup .popup-content .close span {
  position: absolute;
  left: -99999px; }
#popup .close {
  opacity: 0.5;
}
#popup .close:hover {
  opacity: 1;
}
@media all and (max-width: 600px) {
  #popup .popup-content h3 {
    font-size: 24px;
    line-height: 1.5;
  }
  #popup .popup-content p {
    font-size: 18px;
    line-height: 1.5;
  }
  #popup .popup-content p.button {
    font-size: 18px;
  }
  #popup .popup-content p.button a {
    font-size: 18px;
    max-width: 300px;
  }
  #popup .popup-content p.image {
    bottom: 0;
    top: 320px;
  }
  #popup .popup-content p.image img {
    max-width: 100%;
    height: auto;
  }

}
#popupEmailPhone {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  min-height: 730px;
  top: 0;
  z-index: 100;
  display:none;}
#popupEmailPhone .popup-content {
  position: absolute;
  max-width: 557px;
  min-height: 446px;
  margin: 0 auto;
  background: #56c21f url(/_lptemplates/wyplacarka/images/popup/popup-bg.png) left top;
  border-radius: 14px;
  top: 160px;
  left: 0;
  right: 0;
  text-align: center; }
#popupEmailPhone .popup-content h2, #popupEmailPhone .popup-content h3, #popupEmailPhone .popup-content p {
  margin: 0; }
#popupEmailPhone .popup-content h2 {
  padding: 35px 0 30px 0; }
#popupEmailPhone .popup-content h3 {
  font-size: 36px;
  line-height: 56px;
  font-weight: bold;
  color: white;
  padding-bottom: 19px; }
#popupEmailPhone .popup-content p {
  font-size: 21px;
  line-height: 29px;
  color: white;
  text-align: center; }
#popupEmailPhone .popup-content p.button {
  font-size: 22px;
  line-height: 26px;
  font-weight: bold;
  padding-top: 26px; }
#popupEmailPhone .popup-content p.button a {
  background: rgba(0, 0, 0, 0) url(/_lptemplates/wyplacarka/images/button-bg.png) repeat scroll 0 0 / 100% 100%;
  border: 0 none;
  border-radius: 0;
  color: #ffffff;
  display: block;
  float: right;
  font-size: 21px;
  font-weight: bold;
  height: 60px;
  line-height: 53px;
  margin: 14px auto 0;
  padding: 0;
  width: 200px;
  transition: all 0.3s linear; }
#popupEmailPhone .popup-content p.button a:hover {
  background-color: transparent;
  color: #ffffff;
  opacity: 0.8;
  text-decoration: none; }
#popupEmailPhone .popup-content p.image {
  position: absolute;
  left: 50%;
  margin-left: -150px;
  bottom: -300px; }
#popupEmailPhone .popup-content .close {
  position: absolute;
  top: 24px;
  right: 27px; }
#popupEmailPhone .popup-content .close a {
  display: block;
  width: 14px;
  height: 14px;
  background: url(/_lptemplates/wyplacarka/images/popup/popup-close.png); }
#popupEmailPhone .popup-content .close span {
  position: absolute;
  left: -99999px; }
#popupEmailPhone .close {
  opacity: 0.5;
}
#popupEmailPhone .close:hover {
  opacity: 1;
}
@media all and (max-width: 600px) {
  #popupEmailPhone .popup-content h3 {
    font-size: 24px;
    line-height: 1.5;
  }
  #popupEmailPhone .popup-content p {
    font-size: 18px;
    line-height: 1.5;
  }
  #popupEmailPhone .popup-content p.button {
    font-size: 18px;
  }
  #popupEmailPhone .popup-content p.button a {
    font-size: 18px;
    max-width: 300px;
  }
  #popupEmailPhone .popup-content p.image {
    bottom: 0;
    top: 370px;
  }
  #popupEmailPhone .popup-content p.image img {
    max-width: 100%;
    height: auto;
    bottom: 0px !important;
  }

}

#popupEmailPhone .popup-content p.button{
 padding:0;
 top: -20px;
 position:relative;
}