/**
 *	Style for Form page
 *  Author: Diachuk R.M.
 * 
 */
 /*@font-face {
	font-family: 'adrenaline';
    src: url('../fonts/adrenalinregularwebfont.eot');
    src: url('../fonts/adrenalinregularwebfont?iefix') format('eot'),
    url('../fonts/adrenalinregularwebfont.woff') format('woff'),
    url('../fonts/adrenalinregularwebfont.ttf') format('truetype'),
    url('../fonts/adrenalinregularwebfont.svg#webfont') format('svg');
    font-weight: normal;
}*/

@font-face {
    font-family: 'Assistant';
    src: local('Assistant Regular'), local('Assistant-Regular'),
        url('../fonts/Assistant-Regular.woff2') format('woff2'),
        url('../fonts/Assistant-Regular.woff') format('woff'),
        url('../fonts/Assistant-Regular.ttf') format('truetype');
    font-weight: normal;
  }
html, body{
	font-family: "Assistant" !important;
	padding: 0;
	margin: 0;
}
button{
    font-family: "Assistant" !important;
}
body{
    height: 100vh;
    display: flex;
    align-items: center;
    /*overflow: hidden;*/
}
header{
	padding: 20px 10px;
}
section{
	padding: 0 15px;
}
.form-title{
    margin-bottom: 10px;
    font-size: 32px;
}
.form-sub-title{
    margin-bottom: 20px;
}
.form-title-in{
    margin-bottom: 10px;
    font-size: 24px;
    color: #8c8c8c;
}
.form-sub-title-in{
    margin-bottom: 35px;
}
.agree{
/*    text-align: center;
    margin-top: 35px;*/
}
.agree input{
    min-width: inherit;
}
.bsubmit {
    background-color: #4CAF50 !important;
}
.progressBar{
	padding: 20px 30px 40px;
}
.logo{
    text-align: left;
}
.logo img{
    max-width: 250px;
}
.borderPage{
	border: 10px solid #083962;
	height: 100%;
	width: 100%;
}
.tac{
	text-align: center;
}
.mar{
	margin: auto;
}
.prBarSteps, .prBarSteps span{
	display: flex;
    justify-content: center;
}
.prBarSteps span{
    width: 50px;
    height: 50px;
    align-items: center;
    border-radius: 100%;
    background-color: #ced4da;
    color: #fff;
    font-size: 30px;
    padding-top: 4px;
    position: relative;
    z-index: 10;
}
.prBarSteps:before{
	position: absolute;
    height: 4px;
    top: 50%;
    margin-top: -3px;
    left: 0;
    width: 50%;
    content: '';
    background: #dee2e6;
    z-index: 5;
    transition: all .2s;
}
.prBarSteps:after{
    position: absolute;
    height: 4px;
    top: 50%;
    margin-top: -3px;
    right: 0;
    width: 50%;
    content: '';
    background: #dee2e6;
    z-index: 5;
    transition: all .2s;
}
.prBarSteps.active span{
	background: #3f6ad8;
}
.prBarSteps.success span, .prBarSteps.success:before, .prBarSteps.success:after{
    background: #24b572;
}
.prBarSteps.success span:after{
    content: '';
    background: url("../img/check-circle-regular.svg");
    position: absolute;
    z-index: 50;
    width: 24px;
    height: 24px;
    color: #fff;
    background-color: #24b572;
    margin-top: -2px;
    left: 13px;
    top: 15px;
}
.prBarSteps.active:before{
	background: #3f6ad8;
}
.prBarSteps.active:after{
	background: #3f6ad8;
}
.blockInpIcon{
	display: flex;
    margin-top: 5px;
}
.icon span{
    display: flex;
    width: 54px;
    height: 45px;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
    border: 1px solid #aaa;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-left: 0;
}
.icon span{
	color: #ced4da;
}
input{
	border-radius: 5px;
    border: 1px solid #aaa;
    width: 100%;
    padding: 10px 15px;
    outline: none;
    min-height: 45px;
    font-size: 16px;
    margin-top: 0;
    min-width: 170px;
}
.blockInpIcon input{
	border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: 1px solid #aaa;
}
.control{
    margin-bottom: 10px;
}
.control label{
	font-size: 18px;
}
.noIcon input{
	margin-top: 5px;
}
.btnSteps{
	display: flex;
	justify-content: space-between;
	visibility: hidden;
    padding: 0 30px 30px;
    direction: ltr;
}
.btnSteps .show{
	visibility: visible;
}
.hrFormSub{
	padding: 0 30px 15px;
}
.hrFormSub hr{
    border: 0;
    border-bottom: 1px solid #ced4da;
}
.btnStep button{
    min-height: 44px;
    min-width: 120px;
    font-size: 18px;
    color: #fff;
    background-color: #3f6ad8;
    border: 0;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}
.btnStep button:hover{
	background-color: #083962;
}

/* =============== Radio button =============== */
input[type="radio"]:checked,
input[type="radio"]:not(:checked) {
    display: none;
}
input[type="radio"]:checked + label,
input[type="radio"]:not(:checked) + label
{
    position: relative;
    padding: 14px 0 14px 22px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #555;
    margin-left: 0px;
    margin-right: 30px;
}
input[type="radio"]:checked + label:before,
input[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    right: -24px;
    top: 14px;
    width: 18px;
    height: 18px;
    border: 1px solid #ababab;
    border-radius: 100%;
    background: #fff;
}
input[type="radio"]:checked + label:after,
input[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 10px;
    height: 10px;
    background: #3f6ad8;
    position: absolute;
    top: 18px;
    right: -20px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
input[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
input[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
input[type="radio"]{
	width: 20px;
}
.singleSect{
	display: none;
}
.singleSect.select{
	display: block;
}
.othRadio{
	width: auto;
    min-width: 250px;
    display: none;
}
.othRadio.active{
	display: inline-block;
}
.error{
    color: #f00;
    font-size: 14px;
    padding: 3px;
}
.three input[type="checkbox"]{
    margin: 0;
    min-height: 20px;
    margin-right: 8px;
}
input[type=checkbox] {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    cursor: pointer;
    font-size: 17px;
    visibility: hidden;
}
input[type=checkbox]:after {
    content: " ";
    display: flex;
    color: #3f6ad8;
    width: 20px;
    height: 20px;
    visibility: visible;
    border: 1px solid #3f6ad8;
    border-radius: 5px;
}
input[type=checkbox]:checked:after {
    font-family: 'Font Awesome\ 5 Free';
    content: "\f00c";
    padding: 3px;
    font-weight: 600;
    font-size: 12px;
}
.blockCheck label{
    margin-right: 38px;
    margin-top: -22px;
    display: block;
}
.othCheckbox{
    width: auto;
    min-width: 250px;
    display: none;
}
.othCheckbox.active{
    display: inline-block;
}
.companyTerm{
    padding: 0 8px;
}
#clear{
    background: #ce0000;
    color: #fff;
    padding: 6px 12px;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
}
#signature canvas{
    margin-bottom: -10px;
    /*width: 350px;*/
    border: 1px solid #d6d5d5;
    max-height: 125px;
}
.erTerm{
    display: block;
}
.myOtheDflex{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: center;
    margin-top: 10px;
}
.myDflex {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: center;
}

/* ==== Popup ==== */
.r-popup{
    position: fixed;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.75);
    width: 100%;
    height: 100vh;
    top: 0;
    z-index: 100;
}
.r-popup.active{
    display: flex;
}
.window-pop{
    background-color: #fff;
    width: 100%;
    height: 100%;
    max-width: 520px;
    max-height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: calc(50% - 160px);
    right: calc(50% - 260px);
}
.close-pop{
    width: 30px;
    position: absolute;
    right: -36px;
    top: -34px;
    cursor: pointer;
}
.dn{
    display: none;
}

@media screen and (max-width: 768px) {
    body{
        height: 100%;
    }
    .form-title, .form-sub-title{
        margin-right: 0px;
    }
    #signature canvas{
        width: 100%;
    }
    #clear{
        margin-right: 0px;
        margin-top: 22px;
        display: inline-block;
    }
    .myOtheDflex {
        display: block;
    }
    .myDflex{
        margin-top: 7px;
    }
    .mobFlR input{
    	margin-top: 0px !important;
    }
    .mobFlRBl{
		height: 90px;
		margin-bottom: -34px;
		width: 100%;
    }
    .mobFlRBl label{
        position: absolute;
        top: 105px;
        margin-right: 30px;
    }
    .agree {
        text-align: inherit; 
    }
    .agree input{
        margin: 0px -12px 0 0 !important;
    }
    .three input[type="checkbox"]{
	    position: absolute;
        margin-top: -10px;
    	margin-left: -16px;
	}
	.blockCheck label {
        margin-right: 18px;
        margin-top: -10px;
	}
    .window-pop{
        right: inherit;
    }
    input[type="radio"]:checked + label, input[type="radio"]:not(:checked) + label{
        margin-right: 14px;
    }
    input[type="date"]{
        text-align: right;
    }
}