

/*###########POPUP-FORM###########*/
.popup-form {
    display: none;
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    padding-bottom: 5px;
    background: #fff;
}
.mfp-container{
    overflow: auto;
}
.mfp-content .popup-form {
    display: block;
}

.popup-form .ppf-wrapper {
    display: block;
    position: relative;
    width: 100%;
    padding: 10px;
    background-image: url('/theme/img/header2.jpg?v=3');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.popup-form .ppf-form {
    position: relative;
    display: block;
    float: none;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.popup-form .ppf-logo {
    display: block;
    position: relative;
    margin: 5px auto;
    max-height:100px;

}

.popup-form .ppf-title {
    display: block;
    position: relative;
    margin: 40px auto !important;
    font-size: 26px;
    color: #fff;
    text-align: center;
}

.popup-form .mfp-close {
    color: #fff !important;
    font-size: 42px;
    opacity: 0.8 !important;
}

.popup-form .mfp-close:hover {
    opacity: 1 !important;
}

.popup-form ::-webkit-input-placeholder { /* Chrome */
    color: #ffffff;
    transition: opacity 250ms ease-in-out;
}

.popup-form :focus::-webkit-input-placeholder {
    opacity: 0.5;
}

.popup-form :-ms-input-placeholder { /* IE 10+ */
    color: #ffffff;
    transition: opacity 250ms ease-in-out;
}

.popup-form :focus:-ms-input-placeholder {
    opacity: 0.5;
}

.popup-form ::-moz-placeholder { /* Firefox 19+ */
    color: #ffffff;
    opacity: 1;
    transition: opacity 250ms ease-in-out;
}

.popup-form :focus::-moz-placeholder {
    opacity: 0.5;
}

.popup-form :-moz-placeholder { /* Firefox 4 - 18 */
    color: #ffffff;
    opacity: 1;
    transition: opacity 250ms ease-in-out;
}

.popup-form :focus:-moz-placeholder {
    opacity: 0.5;
}

.popup-form .ppf-submit {
    background: #fff;
    border: 0px;
    height: 43px;
    line-height: 43px;
    padding: 0px 15px;
    color: #333;
    font-size: 14px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 96%;
    margin: 14px 2%;
    border: 1px #276ed8 solid;
    font-family: 'regular', sans-serif;
    font-weight: 400;
    -webkit-appearance: none;
    border-radius: 6px;
}
.popup-form .ppf-submit:hover {
    background: #276ed8;
    color:#fff;
}
.popup-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    outline: 0;
    box-shadow: none;
    border: 0 !important;
    background: transparent;
    background-image: none;
}

.popup-form .select {
    position: relative;
    display: block;
    line-height: 3;
    background: transparent;
    overflow: hidden;
    border: 1px rgba(255, 255, 255, 0.7) solid;
    border-radius: 6px;
    padding: 0px 15px;
    color: #FFF;
    font-size: 14px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 96%;
    height: 43px;
    margin: 14px 2%;
    font-family: 'regular', sans-serif;
    font-weight: 400;
}

.popup-form select {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 0 0 .5em;
    color: #fff;
    cursor: pointer;
}

.popup-form select option {
    color: #000;
}

.popup-form select::-ms-expand {
    display: none;
}

.popup-form .select::after {
    content: '\25BC';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 0 1em;
    background: transparent;
    pointer-events: none;
}

.popup-form .select:hover::after {
    color: #9AB999;
}

.popup-form .select::after {
    -webkit-transition: .25s all ease;
    -o-transition: .25s all ease;
    transition: .25s all ease;
}

.popup-form select .select {
    /*background: transparent;
    border: 0px;
    height: 43px;
    line-height: 43px;
    padding: 0px 15px;
    color: #FFF;
    font-size: 14px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 96%;
    margin: 14px 2%;
    border: 1px rgba(255,255,255,0.7) solid;
    font-family: 'regular', sans-serif;
    font-weight: 400;
    -webkit-appearance: none;
    border-radius: 6px;*/
}

.popup-form input[type="text"], .popup-form input[type="email"], .popup-form textarea {
    background: transparent;
    border: 0px;
    height: 43px;
    line-height: 43px;
    padding: 0px 15px;
    color: #FFF;
    font-size: 14px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 96%;
    margin: 14px 2%;
    border: 1px rgba(255, 255, 255, 0.7) solid;
    font-family: 'regular', sans-serif;
    font-weight: 400;
    -webkit-appearance: none;
    border-radius: 6px;
}

.popup-form textarea {
    height: 100px;
}

.popup-form .user-agreement-check{
    position: relative;
    display: block;
    line-height: 3;
    background: transparent;
    overflow: hidden;
    padding: 0px 15px;
    color: #FFF;
    font-size: 14px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 96%;
    margin: 3px 2%;
    font-family: 'regular', sans-serif;
    font-weight: 400;
}


.popup-form .select.error, .popup-form input[type="text"].error, .popup-form input[type="email"].error, .popup-form textarea.error {
    box-shadow: 0 0 3px #ff8383;
    border-color: #ff8383;
}

@media (max-width:768px){
    .popup-form .select {
        margin: 4px 2%;
    }
    .popup-form input[type="text"], .popup-form input[type="email"], .popup-form textarea {
        margin: 4px 2%;
    }
    .popup-form .ppf-submit {
        margin: 4px 2%;
    }
}
.remsg-message.error{
    color: #f00;
    font-size: 12px;
    margin:0;
    text-shadow:0 0 2px #fff;
}

/*###########custom-checkboxes###########*/

label.custom-checkbox,
label.custom-radio{

}
label.custom-checkbox > input[type=checkbox],
label.custom-radio > input[type=radio]{
    display: none;
}

label.custom-checkbox .checkbox,
label.custom-radio .radio {
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 3px;
    position: relative;
}


label.custom-checkbox .checkbox,
label.custom-radio .radio{
    display: inline-block;
    vertical-align: middle;
    margin:0;
}

label.custom-checkbox .label,
label.custom-radio .label{
    display: inline-block;
    vertical-align: middle;
    line-height: 18px;
    padding: 0 0 0 15px;
    color: #FFF;
    font-size: 14px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'regular', sans-serif;
    font-weight: 400;
    white-space: normal;
    width: calc(100% - 40px);
    text-align: left;
}
label.custom-checkbox > input[type=checkbox] + .checkbox::after,
label.custom-radio > input[type=radio] + .radio::after {
    display:none;
}

label.custom-checkbox > input[type=checkbox]:checked + .checkbox::before,
label.custom-radio > input[type=radio]:checked + .radio::before {
    content: "";
    display: block;
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;
    background: #ffffff;
    border-radius: 2px;
}


label.custom-radio .radio,
label.custom-radio > input[type=radio]:checked + .radio::before {
    border-radius: 50%;
}



/*###########license-agreement###########*/
.ua-no-scroll{
    overflow: hidden;
}
.user-agreement{
    display: none;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:none;
    z-index:999999;
    pointer-events:none;
    overflow: auto;
}

.user-agreement .ua-bg{
    display: block;
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:#222;
    opacity:0.4;
    pointer-events:all;
}
.user-agreement .ua-content{
    display: block;
    position:absolute;
    left:50%;
    top:50%;
    width:90%;
    max-width:500px;
    padding: 20px;
    transform:translate(-50%,-50%);
    background:#fff;
    border-radius:2px;
    pointer-events:all;
}
.user-agreement .ua-title{
    display: block;
    position:relative;
    padding: 0 0 30px 0;
    font: normal 30px Arial,Helvetica,sans-serif;
    color: rgb(0, 0, 0);
    text-align:center;
}
.user-agreement .ua-info{
    display: block;
    position:relative;
    margin: 0 0 15px 0;
}
.user-agreement .ua-info .textarea{
    padding: 5px 10px;
    width: 100%;
    height: 230px;
    border: 1px solid rgb(153, 153, 153);
    background: rgb(255, 255, 255);
    outline: 0;
    overflow: auto;
    -moz-appearance: none;
    box-sizing: border-box;
}
.user-agreement .ua-buttons{
    display: block;
    position:relative;
    text-align:center;
}
.user-agreement .ua-buttons button{
    position: relative;
    display: inline-block;
    padding: 12px 18px;
    line-height: 27px;
    border: 0;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background: transparent;
    font: bold 12px "OpenSans",Helvetica,Arial,sans-serif;
    vertical-align: middle;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: none;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    outline: 0;
    cursor: pointer;
    opacity: 0.9;
    color: rgb(255, 255, 255);
    margin: 0 10px;
}
.user-agreement button.ua-btn-success{
    background: rgb(76, 166, 0);
}
.user-agreement button.ua-btn-cancel{
    background: rgb(186, 186, 186);
}
.ua-check{
    -webkit-appearance:checkbox;
}
.ua-check + label{
    display:inline;
}


.grecaptcha-badge{
    display:none;
}
.popup-form .file {
    color:#fff;
}