.modal-popup {
  background: none repeat scroll 0 0 #ffffff;
  border-radius: 0px;
  display: none;
  position: relative;
  width: 400px;
  padding: 30px;
  font-family: H_Roman;
}

@media (max-width: 401px) {
  .modal-popup {
    width: 100%;
  }
}

.modal-popup#frmCalcPrice {
  width: 720px;
  padding: 40px 30px;
}

.calc-left {
  float: left;
}

.calc-right {
  float: right;
}

.modal-popup-close {
  background: url("../img/public/close.png");
  width: 32px;
  height: 32px;
  cursor: pointer;
  position: absolute;
  top: 7px;
  right: 10px;
}

.modal-popup .modal-head {
  margin-bottom: 14px;
}

.modal-popup .modal-head .title {
  font-size: 28px;
  text-align: center;
  text-transform: uppercase;
  font-family: pf_agora_slab_proregular;
  color: #f1288b;
  margin-bottom: 10px;
}

.modal-popup .modal-head .text {
  font-size: 20px;
  color: #303030;
}

.modal-info {
  width: 600px !important;
}

.modal-info .text {
  text-align: justify;
  line-height: 1.2;
  margin-top: 15px;
  height: 300px;
  overflow-y: scroll;
  padding-right: 20px;
  color: #555555 !important;
  font-family: H_Roman;
}

.economy {
  font-size: 24px;
  text-align: center;
  font-family: H_Roman;
  margin-top: 10px;
  position: relative;
}

.arrow-calc {
  background: url("../img/public/arrow-calc.png");
  width: 130px;
  height: 68px;
  position: absolute;
  left: 270px;
  top: 90px;
}

.economy span {
  font-size: 30px;
  color: #f1288b;
}

.modal-popup .close-popup {
  border-radius: 100%;
  background-color: gray;
  width: 23px;
  height: 23px;
  color: white;
  right: -10px;
  position: absolute;
  top: -12px;
  text-align: center;
  border: 3px solid white;
  box-shadow: 0 2px 6px #666666;
  font-size: 14px;
  cursor: pointer;
}

.modal-popup .close-popup:hover {
  color: gainsboro;
  border: 3px solid gainsboro;
}

.modal-popup .close-popup .fa {
  margin-top: 4px;
}

.modal-popup .service-name {
  text-align: center;
  font-size: 24px;
  margin-bottom: 12px;
  font-family: H_Bold;
}

.modal-popup .service-price {
  text-align: center;
  font-size: 28px;
  font-family: H_Roman;
  margin-bottom: 12px;
}

.calc-head {
  text-align: center;
  text-transform: uppercase;
  color: #f1288b;
  font-size: 24px;
  font-family: pf_agora_slab_proregular;
  margin-bottom: 4px;
}

.calc-head span {
  color: #353535;
}

.calc-title {
  text-align: center;
  font-family: pf_agora_slab_proregular;
  font-size: 18px;
  color: #292929;
}

.calc-title span {
  font-size: 30px;
  text-transform: uppercase;
}

.price {
  font-family: H_Bold;
  font-size: 34px;
  line-height: 50px;
  padding-top: 3px;
  text-align: center;
  color: #fff;
  margin-bottom: 6px;
  background: #f24194;
  margin-top: 13px;
}

.modal-popup#frmMoreInfo {
  width: 830px;
  box-sizing: border-box;
  padding: 0;
}

.modal-popup#frmMoreInfo .calc-head {
  font-size: 30px;
  margin-bottom: 12px;
}

.modal-popup#frmMoreInfo .info-potolok > div {
  display: inline-block;
  box-sizing: border-box;
  padding-left: 10px;
  width: 400px;
  font-size: 15px;
  text-align: justify;
  line-height: 22px;
  margin-left: 20px;
}

.modal-popup#frmMoreInfo .info-potolok img {
  float: left;
}

.modal-popup#frmMoreInfo .inputs-order {
  display: inline-block;
}

.modal-popup#frmMoreInfo .modal-body .input-data-order {
  width: 320px;
  height: 44px;
  border: 1px solid #d3d3d3;
  border-radius: 5px;
  margin: 0 8px;
}

.modal-popup#frmMoreInfo .calc-title span {
  font-size: 24px;
}

.modal-order-block {
  background: #f3f3f3;
  margin-top: 20px;
  box-sizing: border-box;
  padding: 12px 0 24px 0;
}

@media (max-width: 721px) {
  .modal-popup#frmCalcPrice,
  .modal-popup#frmMoreInfo {
    width: 98%;
  }
  .info-potolok {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .info-potolok img {
    display: block;
    margin: 0 auto;
    width: 350px;
  }
  .modal-popup#frmMoreInfo .info-potolok > div {
    padding-left: 0px;
    padding-right: 0px;
    margin: 0px;
    width: auto;
    margin-top: 10px;
  }

  .modal-body {
    display: flex;
    flex-direction: column;
  }

  .arrow-calc {
    display: none;
  }

  #frmCalcPrice {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #frmCalcPrice .calc-left {
    float: none;
  }

  #frmCalcPrice .calc-right {
    float: none;
    margin-top: 30px;
  }
}

@media (max-width: 352px) {
  .info-potolok img {
    width: 100%;
  }
}
