section.modal9 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
}
section.modalWindow {
    display: none;
    position: fixed;
    top: 100px;
    left: 30%;
    z-index: 99999 !important;
    width: 40%;
    max-height: 700px;
    background: #FFF;
    cursor: default;
    border-radius:10px;
}
section.modal9.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    background: url('../popup/overlay.png') repeat 0 0;opacity: 0.8;
    z-index: 99997;
    cursor: pointer;
}
section.modalWindow section.modalWrapper {
    margin: 10px;
    border: 0px solid #DADADA;
    padding: 20px;
    text-align: left;
    line-height: 28px !important;
   color:#555;
}
.closeBtn {
    position: absolute;
    right: -10px;
    top: -10px;
    cursor: pointer;
    width: 40px;
    background: #ff0000;
    height: 40px;
    border-radius: 100%; color:#fff; font-weight:bold; line-height:40px;box-shadow: 0px 6px 15px 0px rgb(0 0 0 / 30%);
}
[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label
{
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    line-height: 24px;
    display: inline-block;
    color: #666;
}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 23px;
    height: 23px;
    border: 1px solid #ddd;
    border-radius: 100%;
    background: #fff;
}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 15px;
    height: 15px;
    background: #F87DA9;
    position: absolute;
    top: 9px;
    left: 4px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
p.form_sl{ font-size:16px; margin-bottom:15px; border-bottom: dashed 1px #d2d2d2; padding-bottom:15px;}
.title_f {background-color:#687ad4; text-align:center; width:100%; border-radius:6px; padding-top:10px; padding-bottom:10px;padding-left:15px; padding-right:15px; }
.title_f h2{ text-transform:uppercase; font-size:18px; font-weight:bold; color:#fff; margin-bottom:0;}
.tieptuc { border:none; background-color:#e4573d; border-radius:6px; margin:0 auto; padding:8px 45px; color:#fff; font-weight:bold; font-size:18px; float:right; clear:both; }
#loading  {position: fixed; top:0; left:0; width:100%; height:100%; background-color:#000; opacity:0.6; z-index:1000; } 
#loading .loader {
  border: 5px solid #f3f3f3;
  border-radius: 50%;
  border-top: 5px solid #d87375;
  border-bottom: 5px solid #d87375;
  width: 80px;
  height: 80px; text-align:center; margin:0 auto;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite; position:relative; top:20%;
}#loading p{ position:relative; z-index:101; top:21%; font-weight:bold; color:#fff; text-align:center;} 
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media only screen and (min-width:768px) and (max-width:1200px){
	section.modalWindow {
    display: none;
    position: fixed;
    top: 60px;
    left: 10%;
    z-index: 99999 !important;
    width: 80%;
    max-height: 700px;
    background: #FFF;
    cursor: default;
    border-radius:10px;
}
}

@media (max-width:598px){ 
section.modalWindow {
    display: none;
    position: absolute;
    top: 5%;
    left: 5%;
    z-index: 99999 !important;
    width: 90%;
    max-height: max-content;
    background: #FFF;
    cursor: default;
    border-radius:10px;
}
section.modalWindow section.modalWrapper {
    padding: 10px;
}
p.form_sl{ font-size:15px;}
.title_f h2{ font-size:16px;}
}

@media only screen and (max-width:320px){ 
section.modalWindow {
    display: none;
    position: absolute;
    top: 5%;
    left: 5%;
    z-index: 99999 !important;
    width: 90%;
    max-height: max-content;
    background: #FFF;
    cursor: default;
    border-radius:10px;
}
section.modalWindow section.modalWrapper {
    padding: 10px;
}
p.form_sl{ font-size:15px;}
.title_f h2{ font-size:16px;}
}