*{
    margin: 0;
    padding: 0;
    font-family:'PT Sans',sans-serif;
}
#top-panel{
display:none ;
}
input {
    font: 13px 'PT Sans',sans-serif !important;
}
.agency-page{
    width: 1024px;
    margin: 0 auto;
    background:#fff;
}
.agency-page-top{
    background-color: #f4f4ec;
    padding-top: 21px;
    padding-left: 21px;
    padding-bottom: 40px;
    position: relative;
}
.agency-page-top:before{
    position: absolute;
    content: '';
    display: inline-block;
    background: url("../i/agency-girls.png");
    width: 666px;
    height: 510px;
    right: 0;
    bottom: 0;
}
.agency-page-reg{
    float: right;
    margin-right: 67px;
    margin-top: 3px;
}
.agency-page-reg-text{
    font-weight: 700;
    font-size: 21px;
    margin-bottom: 15px;
    color: #0478b3;
}
.green-btn{
    color: white;
    padding: 14px 75px;
    background-color: #21b7a2;
    border-bottom: 3px solid #008876;
    border-radius: 4px;
    display: inline-block;
    font-size: 22px;
    text-decoration: none;
}
.agency-page-left{
    width: 419px;
}
.agency-page-left-1{
    font-size: 31px;
    line-height: 1.2;
    margin-bottom: 26px;
}
.agency-page-left-2{
    font-size: 22px;
    line-height: 1.3;
    color: #0478b3;
    margin-bottom: 16px;
}
.agency-page-left-3{
    font-size: 13px;
    line-height: 1.4;
    padding-right: 28px;
    margin-bottom: 22px;
}
.agency-page-left-4{
    font-weight: 600;
    color: #00ae99;
    margin-bottom: 20px;
}
.agency-page-left ul{
    margin-left: 15px;
    padding-right: 78px;
}
.agency-page-left ul li{
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 14px;
}
.agency-advantages{
    text-align: center;
}
.agency-advantages h1{
    color: #0478b3;
    font-size: 22px;
    margin-top: 22px;
    margin-bottom: 19px;
}
.agency-advantages-column{
    display: inline-block;
    width: 161px;
    vertical-align: top;
}
.agency-advantages-column img{}
.agency-advantages-column p{
    color: #0478b3;
    font-weight: 600;
    font-size: 15px;
}
.agency-advantages-column:last-child{}
.agency-form{
    background-color: #0478b3;
    margin: 22px 24px 0px 20px;
    padding-top: 20px;
    padding-left: 80px;
    padding-right: 80px;
}
.agency-form h2{
    text-align: center;
    color: white;
    font-size: 21px;
    margin-bottom: 24px;
}
.agency-form-column{
    width: 398px;
    display: inline-block;
    vertical-align: top;
}
.agency-form-column:last-child{}
.agency-form-line{
    margin-bottom: 21px;
}
.agency-form-line input[type="text"], .agency-form-line input[type="password"]{
    vertical-align: middle;
    width: 234px;
    height: 29px;
    padding-left: 10px;
    border: 1px solid #c6f7f5;
    background-color: #def4f1;
}
.agency-form-line input:focus{
    outline: none;
}
.agency-form-label{
    display: inline-block;
    width: 132px;
    text-align: right;
    margin-right: 13px;
    vertical-align: middle;
    color: white;
    font-size: 13px;
}
.agency-form-bot{
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
}
.agency-form-bot input[type="submit"]{
    color: white;
    padding: 14px 24px;
    background-color: #21b7a2;
    border: 0;
    border-bottom: 3px solid #008876;
    border-radius: 4px;
    font-size: 22px;
    display: inline-block;
    margin-top: 20px;
}
.agency-form-bot input{}
.agency-form-bot label{}
.agency-column-first{
    margin-right: 16px;
}
.agency-form-line.agency-form-radio{
    margin-left: 149px;
    display: block;
    padding-top: 14px;
    margin-bottom: 29px;
}

.agency-radio-custom{
    width: 17px;
    height: 17px;
    border-radius: 10px;
    background-color: white;
    border: 1px solid #c0edf0;
    display: inline-block;
    position: relative;
    vertical-align: middle;
}
.agency-radio-style label{
    display: inline-block;
    vertical-align: middle;
    color: white;
    font-size: 13px;
}
.agency-radio-custom-active:before{
    background-color: #0478b3;
    width: 9px;
    height: 9px;
    top: 4px;
    left: 4px;
    position: absolute;
    content: '';
    display: inline-block;
    border-radius: 10px;
}
.agency-radio-style{
    display: inline-block;
    margin-right: 5px;
}
.agency-radio-style input{
    display: none;
}
.agency-radio-style div:hover, .agency-radio-style label:hover{
    cursor: pointer;
}

.agency-form-line-2 input[type="text"]{
    width: 49px;
}
.agency-form-line-3 input[type="text"]{
    width: 49px;
}
.agency-form-bot p{
    display: inline-block;
    color: white;
    font-size: 13px;
    margin-left: 10px;
    vertical-align: top;
}
.agency-form-bot p a{
    color: white;
}
.agency-form-bot p a:hover{
    text-decoration: none;
}
.agency-form-bot input[type="submit"]:focus{
    outline: none;
}
.agency-form-bot input[type="submit"]:hover, .green-btn:hover{
    cursor: pointer;
    background-color: #1da491;
    border-bottom: 3px solid #007d6c;
}
.agency-form-line-list{
    display: inline-block;
    width: 244px;
}
.agency-form-line-list input[type="text"]{
    margin-bottom: 21px;
}
.agency-form-line-list p{
    color: white;
    font-size: 13px;
    border-bottom: 1px dashed;
    display: inline-block;
    padding-bottom: 1px;
}
.agency-form-line-list p:hover{
    cursor: pointer;
    border: 0;
    padding-bottom: 2px;
}
.agency-form-line.agency-form-line-align .agency-form-label{
    vertical-align: top;
    margin-top: 5px;
}
.phone-invisible{display: none}
.agency-form{
margin-bottom:22px;
}

#popup-container {
   overflow-y:hidden !important;
}
#popup-wrapper{
margin-top:6%;
}
.agree{
cursor:pointer;
text-decoration:underline;
}
.agree:hover{
cursor:pointer;
text-decoration:none;
}
#popup-container, #popup-shawl{
display:none;
}
.file-upload {
    position: relative;
    overflow: hidden;
    width: 43%;
    height: 20px;
    background-color: #21b7a2;
        border-bottom: 3px solid #008876;
    border-radius: 4px;
    padding: 8px 4px;
    color: #fff;
    display: inline-flex;
    text-align: center;
}
.file-upload:hover {
    cursor: pointer;
    background-color: #1da491;
    border-bottom: 3px solid #007d6c;
}
.file-upload input[type="file"]{
    display: none; /* Обязательно скрываем настоящий Input File */
}
.file-upload label {
     /* Растягиваем label на всю возможную площадь блока .file-upload */
     display: block;
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     cursor: pointer;
}
.file-upload span {
     line-height: 36px; /* Делаем вертикальное выравнивание текста, который написан на кнопке */
}
.green-btn:hover{
color:white !important;
}
.header .nav-menu {
    margin: 34px 0 0 105px;
}

.name_file{
    width: 326px;
    padding-left: 150px;
    color: whitesmoke;
    overflow: hidden;
}
.file-upload.n2, .file-upload.n3{
    margin-left: 150px;
    margin-top: 15px;
}
#message_support{
    position: fixed;
    display: block;
    width: 400px;
    height: 200px;
    background: white url(https://ru.victoriyaclub.com/i/logo_v.png?1422877560) no-repeat 121px 143px;
    z-index: 250;
    top: 35%;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    border-radius: 4px;
    border: 3px solid #c8d8df;
}
#text_message_support{    
    height: 100%;
    width: 100%;
    margin: 0 auto;
    display: block;
    text-align: center;
    padding-top: 15px;
    font: 14px 'PT Sans',sans-serif;
    line-height: 29px;
}
.closen{
    width: 8px;
    height: 8px;
    position: absolute;
    z-index: 300;
    background: url(/i/sprites.png?1433865774) -19px -16px;
    top: 8px;
    float: right;
    left: 96%;
    cursor: pointer;
}
.closen:hover{
background: url(/i/sprites.png?1433865774) -28px -16px;
}
#popup_pas{
    display: block;
    position: absolute;
    background: #FBFBFB;
    padding: 7px;
    border: 1px solid #9BAAA8;
    border-radius: 4px;
    font-size: 9pt;
    letter-spacing: 0.5px;
    -webkit-box-shadow: 0px 0px 2px 0px rgba(50, 50, 50, 0.21);
    -moz-box-shadow: 0px 0px 2px 0px rgba(50, 50, 50, 0.21);
    box-shadow: 0px 0px 2px 0px rgba(50, 50, 50, 0.21);
    margin-top: 6px;
    margin-left: 239px;
    display:none;
}
div#popup_pas:before {
    content: '';
    border: 6px solid transparent;
    border-bottom: 7px solid #FBFBFB;
    position: absolute;
    left: 50%;
    margin-left: -62px;
    top: -13px;
    width: 0;
}
#popup_file{
        position: absolute;
    background: #FBFBFB;
    padding: 8px;
    border: 1px solid #9BAAA8;
    border-radius: 4px;
    font-size: 9pt;
    letter-spacing: 0.5px;
    -webkit-box-shadow: 0px 0px 2px 0px rgba(50, 50, 50, 0.21);
    -moz-box-shadow: 0px 0px 2px 0px rgba(50, 50, 50, 0.21);
    box-shadow: 0px 0px 2px 0px rgba(50, 50, 50, 0.21);
    margin-top: -11px;
    margin-left: 232px;
    display: block;
    display:none;
}
div#popup_file:before {
    content: '';
    border: 6px solid transparent;
    border-bottom: 7px solid #FBFBFB;
    position: absolute;
    left: 50%;
    margin-left: -58px;
    top: -13px;
    width: 0;
}