body {
  position: relative; }

#popup {
  position: fixed;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  top: 0;
  z-index: 100;
  display:none;
}
#popup * {
  box-sizing: border-box; }
#popup .popup-content {
  position: absolute;
  max-width: 1014px;
  margin: 0 auto;
  overflow: auto;
  height: 100%;
  border-radius: 14px;
  top: 210px;
  left: 0;
  right: 0;
  padding: 50px 30px 10px 30px;
  z-index: 1; }
#popup .popup-content h2, #popup .popup-content h3, #popup .popup-content p {
  margin: 0; }
#popup .popup-content h2 {
  padding-bottom: 40px; }
#popup .popup-content p {
  font-size: 30px;
  line-height: 50px;
  color: #ffffff; }
#popup .popup-content p strong {
  display: block; }
#popup .popup-content .close {
  position: absolute;
  top: 0px;
  opacity: 1;
  right: 20px; }
#popup .popup-content .close a {
  display: block;
  width: 40px;
  height: 40px;
  background: #008bc5 url(/_lptemplates/medpozyczka/images/popup/popup-close.png) no-repeat center 14px;
  border-radius: 40px; }
#popup .popup-content .close span {
  position: absolute;
  left: -99999px; }
#popup .popup-content .popup-form {
  width: 319px;
  padding-top: 44px;
  box-sizing: border-box; }
#popup .popup-content .popup-form form {
  width: 100%;
  padding-bottom: 10px; }
#popup .popup-content .popup-form form .input-line {
  padding-bottom: 19px; }
#popup .popup-content .popup-form form label {
  display: none; }
#popup .popup-content .popup-form form input {
  width: 100%;
  border: 0;
  border-radius: 4px;
  font-size: 20px;
  line-height: 24px;
  color: #7f7e7e;
  padding: 15px 14px 11px 14px;
  box-sizing: border-box; }
#popup .popup-content .popup-form p.button {
  color: #ffffff;
  width: auto;
  height:auto;
  float: none;
  margin: 0;
  padding-bottom: 10px; }
#popup .popup-content .popup-form p.button button {
  background-color: #12b4f7;
  border: 0 none;
  border-radius: 3px;
  color: #ffffff;
  font-size: 22px;
  font-weight: bold;
  height: 60px;
  line-height: 24px;
  padding: 18px 10px 17px 24px;
  position: relative;
  text-align: left;
  transition: all 0.3s linear 0s;
  width: 100%;
  text-align: center;
  padding-right: 40px;
}

#popup .popup-content .popup-form p.button button::before {
  background-image: linear-gradient(#008bc5, #006996);
  background-size: 100% auto;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  content: " ";
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
}
#popup .popup-content .popup-form p.button button::after {
  background: rgba(0, 0, 0, 0) url(/_lptemplates/medpozyczka/images/arrow-button.png) repeat scroll 0 0;
  content: " ";
  height: 6px;
  margin-top: -3px;
  position: absolute;
  right: 14px;
  top: 50%;
  width: 4px;
}
#popup .popup-content .popup-form p.button input:hover {
  background-color: #1cc5ff;
  text-decoration: none; }
#popup .popup-content .popup-form p {
  font-size: 16px;
  line-height: 26px;
  color: #ffffff; }
#popup .image {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  margin: -155px 0 0 10px;
  text-align: left; }
#popup .close {
  opacity: 0.5;
}
#popup .close:hover {
  opacity: 1;
}
@media all and (max-width: 600px) {
  #popup .popup-content {
    top: 0 !important;
    padding-left: 20px;
    padding-right: 20px;
  }
  #popup .popup-content p {
    font-size: 18px;
    line-height: 1.5;
  }
  #popup .popup-content .popup-form {
    width: 100%;
  }
  #popup .popup-content .close {
    position: fixed;
    top: 20px;
  }
}
@media all and (min-width: 1850px) {
  #popup .image {
    left: auto;
    right: 0;
    text-align: right;
    margin-left: 0;
  }
  #popup .popup-content .close {
    right: 0px;
  }
}

#popupEmailPhone {
  position: fixed;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  top: 0;
  z-index: 100;
  display:none;
}
#popupEmailPhone * {
  box-sizing: border-box; }
#popupEmailPhone .popup-content {
  position: absolute;
  max-width: 1014px;
  margin: 0 auto;
  overflow: auto;
  height: 100%;
  border-radius: 14px;
  top: 210px;
  left: 0;
  right: 0;
  padding: 50px 30px 10px 30px;
  z-index: 1; }
#popupEmailPhone .popup-content h2, #popupEmailPhone .popup-content h3, #popupEmailPhone .popup-content p {
  margin: 0; }
#popupEmailPhone .popup-content h2 {
  padding-bottom: 40px; }
#popupEmailPhone .popup-content p {
  font-size: 30px;
  line-height: 50px;
  color: #ffffff; }
#popupEmailPhone .popup-content p strong {
  display: block; }
#popupEmailPhone .popup-content .close {
  position: absolute;
  top: 0px;
  opacity: 1;
  right: 20px; }
#popupEmailPhone .popup-content .close a {
  display: block;
  width: 40px;
  height: 40px;
  background: #008bc5 url(/_lptemplates/medpozyczka/images/popup/popup-close.png) no-repeat center 14px;
  border-radius: 40px; }
#popupEmailPhone .popup-content .close span {
  position: absolute;
  left: -99999px; }
#popupEmailPhone .popup-content .popup-form {
  width: 319px;
  padding-top: 44px;
  box-sizing: border-box; }
#popupEmailPhone .popup-content .popup-form form {
  width: 100%;
  padding-bottom: 10px; }
#popupEmailPhone .popup-content .popup-form form .input-line {
  padding-bottom: 19px; }
#popupEmailPhone .popup-content .popup-form form label {
  display: none; }
#popupEmailPhone .popup-content .popup-form form input {
  width: 100%;
  border: 0;
  border-radius: 4px;
  font-size: 20px;
  line-height: 24px;
  color: #7f7e7e;
  padding: 15px 14px 11px 14px;
  box-sizing: border-box; }
#popupEmailPhone .popup-content .popup-form p.button {
  color: #ffffff;
  width: auto;
  height:auto;
  float: none;
  margin: 0;
  padding-bottom: 10px; }
#popupEmailPhone .popup-content .popup-form p.button button {
  background-color: #12b4f7;
  border: 0 none;
  border-radius: 3px;
  color: #ffffff;
  font-size: 22px;
  font-weight: bold;
  height: 60px;
  line-height: 24px;
  padding: 18px 10px 17px 24px;
  position: relative;
  text-align: left;
  transition: all 0.3s linear 0s;
  width: 100%;
  text-align: center;
  padding-right: 40px;
  }
  
#popupEmailPhone .popup-content .popup-form p.button button::before {
    background-image: linear-gradient(#008bc5, #006996);
    background-size: 100% auto;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    content: " ";
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 30px;
}
#popupEmailPhone .popup-content .popup-form p.button button::after {
    background: rgba(0, 0, 0, 0) url(/_lptemplates/medpozyczka/images/arrow-button.png) repeat scroll 0 0;
    content: " ";
    height: 6px;
    margin-top: -3px;
    position: absolute;
    right: 14px;
    top: 50%;
    width: 4px;
}
#popupEmailPhone .popup-content .popup-form p.button input:hover {
  background-color: #1cc5ff;
  text-decoration: none; }
#popupEmailPhone .popup-content .popup-form p {
  font-size: 16px;
  line-height: 26px;
  color: #ffffff; }
#popupEmailPhone .image {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  margin: -155px 0 0 10px;
  text-align: left; }
#popupEmailPhone .close {
  opacity: 0.5;
}
#popupEmailPhone .close:hover {
  opacity: 1;
}
@media all and (max-width: 600px) {
  #popupEmailPhone .popup-content {
    top: 0 !important;
    padding-left: 20px;
    padding-right: 20px;
  }
  #popupEmailPhone .popup-content p {
    font-size: 18px;
    line-height: 1.5;
  }
  #popupEmailPhone .popup-content .popup-form {
    width: 100%;
  }
  #popupEmailPhone .popup-content .close {
    position: fixed;
    top: 20px;
  }
}
@media all and (min-width: 1850px) {
  #popupEmailPhone .image {
    left: auto;
    right: 0;
    text-align: right;
    margin-left: 0;
  }
  #popupEmailPhone .popup-content .close {
    right: 0px;
  }
}

#popupEmailPhone .pdmInput input[type="text"], .pdmInput select{
  width:100%;
}

