﻿.form-group,
.group-spacer {
    margin-bottom: 26px;
}

label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    line-height: 15px;
}

    label a {
        text-decoration: underline;
    }

.form-text {
    font-size: 12px;
    line-height: 15px;
}

    .form-text ul {
        padding-left: 20px;
    }

.row > .form-text {
    margin-left: 10px;
    margin-right: 10px;
}

.form-group .form-text,
.form-group .error-text {
    font-weight: 300;
    font-size: 10px;
    line-height: 11px;
    margin-bottom: -16px;
    margin-top: 5px;
}


.form-group .error-text,
.form-group.has-error .form-text {
    display: none;
}

.has-error .error-text {
    display: block;
    color: #F76034;
    font-size: 12px;
    font-weight: normal;
}


.label-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 7px;
    font-size: 12px;
    line-height: 15px;
}

    .label-group label {
        margin-right: auto;
        margin-bottom: 0;
    }

    label .icon,
    .label-group .icon {
        color: #867979;
    }

    .label-group span,
    .label-group a {
        font-weight: 300;
    }


.form-control {
    display: block;
    width: 100%;
    height: 40px;
    padding: 7px 10px;
    font-size: 14px;
    line-height: 16px;
    color: #000000;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #C7CDD6;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    border-radius: 6px;
}

select.form-control {
    padding: 7px 6px;
}

.select2-container--default .select2-results__option[aria-disabled=true] {
    display: none;
}

.form-control::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #C7CDD6;
}

.form-control::-moz-placeholder { /* Firefox 19+ */
    color: #C7CDD6;
}

.form-control:-ms-input-placeholder { /* IE 10+ */
    color: #C7CDD6;
}

.form-control:-moz-placeholder { /* Firefox 18- */
    color: #C7CDD6;
}

.form-control:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(209, 212, 221, 0.4);
    border-color: #8C9193;
}

input[type="number"] {
    -moz-appearance: textfield;
}

    input[type="number"]::-webkit-inner-spin-button,
    input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

.form-control option:checked,
.form-control option:hover {
    background: #1E90FF repeat url("data:image/gif;base64,R0lGODlhAQABAIAAAB6Q/////yH5BAAHAP8ALAAAAAABAAEAAAICRAEAOw==");
    color: white;
}


.has-error .form-control {
    border: 1px solid #F76034;
}

textarea.form-control {
    height: auto;
    resize: none;
}

@media (min-width: 992px) {
    .has-error .form-control {
        box-shadow: 0px 10px 20px rgba(209, 212, 221, 0.4);
    }
}

.input-group {
    display: flex;
}

    .input-group .form-control {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-right: none;
    }

.password-switch {
    display: block;
    width: 27px;
    background: transparent url('/img/pass_view.png') 50% 50% no-repeat;
    cursor: pointer;
    height: 40px;
    background-color: #EDE8D4;
    background-clip: padding-box;
    border: 1px solid #C7CDD6;
    border-radius: 6px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.password-switched {
    background: #EDE8D4 url('/img/pass_view2.png') 50% 50% no-repeat;
}


/*.form-control.is-valid, .was-validated .form-control:valid {
    padding-right: calc(1.5em + .75rem);
    background-image: url("/img/input-ok.svg");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}*/

.form p {
    font-size: 16px;
    line-height: 19px;
}

    .form p.smaller {
        font-size: 14px;
        line-height: 16px;
    }

.prev-step-btn,
.form .btn {
    display: block;
    font-size: 12px;
    line-height: 40px;
    height: 40px;
    width: 100%;
}

.prev-step-btn {
    color: black;
    font-weight: normal;
}

.custom-control {
    position: relative;
    display: block;
    min-height: 18px;
    padding-left: 25px;
}

.custom-control-inline {
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-right: 1em;
}

.custom-control-input {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 20px;
    height: 20px;
    opacity: 0;
}

    .custom-control-input:checked ~ .custom-control-label::before {
        color: #fff;
        border-color: black;
        background-color: black;
    }

    .custom-control-input:focus ~ .custom-control-label::before {
        box-shadow: 0 0 0 0.2rem rgba(90,67,148, 0.25);
    }

    /*.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
        border-color: #80bdff;
    }*/

    .custom-control-input:not(:disabled):active ~ .custom-control-label::before {
        color: #fff;
        background-color: #233E70;
        border-color: #233E70;
    }

    .custom-control-input[disabled] ~ .custom-control-label, .custom-control-input:disabled ~ .custom-control-label {
        color: #6c757d;
    }

        .custom-control-input[disabled] ~ .custom-control-label::before, .custom-control-input:disabled ~ .custom-control-label::before {
            background-color: #e9ecef;
        }

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 0;
}

    .custom-control-label::before {
        position: absolute;
        top: 0;
        left: -25px;
        display: block;
        width: 18px;
        height: 18px;
        pointer-events: none;
        content: "";
        background-color: #fff;
        border: 1px solid #8C9193;
    }

    .custom-control-label::after {
        position: absolute;
        top: 0;
        left: -25px;
        display: block;
        width: 18px;
        height: 18px;
        content: "";
        background: no-repeat 50% / 50% 50%;
    }

.custom-checkbox .custom-control-label::before {
    border-radius: 6px;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
}

.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
    border-color: rgba(0, 123, 255, 0.5);
    background-color: rgba(0, 123, 255, 0.5);
}

.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e");
}

.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before {
    background-color: rgba(0, 123, 255, 0.5);
}

.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before {
    background-color: rgba(0, 123, 255, 0.5);
}

.custom-radio .custom-control-label::before {
    border-radius: 50%;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before {
    background-color: rgba(0, 123, 255, 0.5);
}

.has-error .custom-control-label,
.has-error .custom-control-label a {
    color: #F76034;
}

    .has-error .custom-control-label::before {
        border-color: #F76034;
    }


.photo-preview {
    background: #C7CDD6 url('/img/person_icon_.svg') 50% 50% no-repeat;
    padding-bottom: 133%;
    border-radius: 6px;
    width: 100%;
    background-size: contain;
    cursor: pointer;
}

.photo-loading {
    background-image: url('/img/ajax-loader.gif');
}

.photo-upload {
    font-weight: bold;
    color: inherit;
    cursor: pointer;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    padding-left: 10px;
    padding-right: 10px;
}

@media (max-width: 767px) {
    .photo-upload {
        cursor: pointer;
        max-width: 100%;
        white-space: normal;
        overflow: inherit;
        height: auto !important;
        line-height: 1.5 !important;
        padding: 9px 10px;
    }
}

.photo-progress {
    display: none;
    position: relative;
    height: 20px;
    margin-top: 5px;
    width: 0%;
    background: #153775;
    background: rgba(21, 55, 117, 0.8);
    text-align: center;
    line-height: 15px;
}

    .photo-progress span {
        color: white;
        font-size: 10px;
        line-height: 15px;
    }

.has-error .photo-upload {
    background-color: #F76034;
    border-color: #F76034;
    color: #FFFFFF;
}

input#fileupload {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.alert {
    font-size: 14px;
    line-height: 16px;
    font-weight: 600;
    color: #F76034;
    margin-top: 14px;
}



@media (max-width: 991px) {
    .alert {
        margin-top: 4px;
    }
}


@media (max-width: 768px) {
    .alert {
        margin-top: 0;
        margin-bottom: 13px;
        text-align: center;
    }

    .form-control {
        font-size: 16px;
    }

    .form-text,
    label {
        font-size: 14px;
        line-height: 16px;
    }

    .form-group .form-text,
    .form-group .error-text {
        font-size: 12px;
        line-height: 14px;
        margin-bottom: -16px;
        margin-top: 2px;
    }
}


@media (max-width: 575px) {
    .form-group {
        margin-bottom: 15px;
    }

    .group-spacer {
        margin-bottom: 12px;
    }

    .form-group .form-text {
        margin-bottom: -6px;
    }

    .form-group .error-text {
        margin-bottom: -6px;
    }
}


.form .t0,
.form .t1,
.form .t2,
.form .t3,
.form .t4,
.form .t5,
.form .t6,
.form .t7,
.form .t8,
.form .st1,
.form .st2,
.form .st3,
.form .st4,
.form .st5,
.form .st6,
.form .st7,
.form .st8,
.form .st9,
.form .st10,
.form .st11,
.form .st12,
.form .st13,
.form .st14,
.form .st15,
.form .st16,
.form .st17,
.form .st18,
.form .st19,
.form .st20,
.form .st21,
.form .st22,
.form .st23,
.form .st24,
.form .st25,
.form .st26,
.form .st27,
.form .st28,
.form .st29,
.form .st30,
.form .st31,
.form .st32 {
    display: none;
}

section.t1 .t1,
section.t2 .t2,
section.t3 .t3,
section.t4 .t4,
section.t5 .t5,
section.t6 .t6,
section.t7 .t7,
section.t8 .t8,
section.st1 .st1,
section.st2 .st2,
section.st3 .st3,
section.st4 .st4,
section.st5 .st5,
section.st6 .st6,
section.st7 .st7,
section.st8 .st8,
section.st9 .st9,
section.st10 .st10,
section.st11 .st11,
section.st12 .st12,
section.st13 .st13,
section.st14 .st14,
section.st15 .st15,
section.st16 .st16,
section.st17 .st17,
section.st18 .st18,
section.st19 .st19,
section.st20 .st20,
section.st21 .st21,
section.st22 .st22,
section.st23 .st23,
section.st24 .st24,
section.st25 .st25,
section.st26 .st26,
section.st27 .st27,
section.st28 .st28,
section.st29 .st29,
section.st30 .st30,
section.st31 .st31,
section.st32 .st32 {
    display: block;
}


.question-list .custom-control {
    margin: 10px 0 10px 10px;
}

#content .question-list h3 {
    margin-bottom: 12px;
}

#content .question-list .form-text {
    margin: 0 0 12px 10px;
    color: #505050;
    font-size: 14px;
}

#content .question-list .rbcustom + h3,
#content .question-list .cbcustom + h3 {
    margin-top: 40px;
}