.form-radio,
.form-group {
    position: relative;
    margin: 0;
}

.form-inline > .form-group,
.form-inline > .btn {
    display: inline-block;
    margin-bottom: 0;
}

.form-help {
    margin-top: 0.125rem;
    margin-left: 0.125rem;
    color: #b3b3b3;
    font-size: 0.8rem;
}
.checkbox .form-help,
.form-radio .form-help,
.form-group .form-help {
    position: absolute;
    width: 100%;
}
.checkbox .form-help {
    position: relative;
    margin-bottom: 1rem;
}
.form-radio .form-help {
    padding-top: 0.25rem;
    margin-top: -1rem;
}

.form-group input {
    height: 1.9rem;
}
.form-group textarea {
    resize: none;
}
.form-group select {
    width: 100%;
    font-size: 1rem;
    height: 1.6rem;
    padding: 0.125rem 0.125rem 0.0625rem;
    background: none;
    border: none;
    line-height: 1.6;
    box-shadow: none;
}
.form-group .control-label {
    position: absolute;
    pointer-events: none;
    top: 33%;
    margin-left: 30px !important;
    z-index: 1;
    margin: 0;
    color: #b3b3b3;
    font-size: 1rem;
    font-weight: normal;
    -webkit-transition: all 0.28s ease;
    transition: all 0.28s ease;
    padding: 0 5px;
}
.form-group .bar {
    position: relative;
    border-bottom: 0.0625rem solid #999;
    display: block;
}
.form-group .bar::before {
    content: "";
    height: 0.125rem;
    width: 0;
    left: 50%;
    bottom: -0.0625rem;
    position: absolute;
    background: #337ab7;
    -webkit-transition: left 0.28s ease, width 0.28s ease;
    transition: left 0.28s ease, width 0.28s ease;
    z-index: 2;
}
.form-group input,
.form-group textarea {
    display: block;
    background: none;
    padding: 0.125rem 0.125rem 0.0625rem;
    font-size: 1rem;
    border-width: 0;
    border-color: transparent;
    line-height: 1.9;
    width: 100%;
    color: transparent;
    -webkit-transition: all 0.28s ease;
    transition: all 0.28s ease;
    /* box-shadow: 0px 6px 29px 0px rgb(36 43 94 / 8%); */
}
.form-group input[type="file"] {
    line-height: 1;
}
.form-group input[type="file"] ~ .bar {
    display: none;
}
.form-group select,
.form-group input:focus,
.form-group input:valid,
.form-group input.form-file,
.form-group input.has-value,
.form-group textarea:focus,
.form-group textarea:valid,
.form-group textarea.form-file,
.form-group textarea.has-value {
    color: #333;
}
.form-group select ~ .control-label,
.form-group input:focus ~ .control-label,
.form-group input:valid ~ .control-label,
.form-group input.form-file ~ .control-label,
.form-group input.has-value ~ .control-label,
.form-group textarea:focus ~ .control-label,
.form-group textarea:valid ~ .control-label,
.form-group textarea.form-file ~ .control-label,
.form-group textarea.has-value ~ .control-label {
    font-size: 70%;
    top: -10px;
    left: 0;
    background: #fff;
}
.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border: 1px solid #000 !important;
}
.form-group select:focus ~ .control-label,
.form-group input:focus ~ .control-label,
.form-group textarea:focus ~ .control-label {
    color: #6e6e6e;
}
.form-group select:focus ~ .bar::before,
.form-group input:focus ~ .bar::before,
.form-group textarea:focus ~ .bar::before {
    width: 100%;
    left: 0;
}

.checkbox label,
.form-radio label {
    position: relative;
    cursor: pointer;
    padding-left: 2rem;
    text-align: left;
    color: #333;
    display: block;
}
.checkbox input,
.form-radio input {
    /* width: auto;
    opacity: 0.00000001;
    position: absolute;
    left: 0; */
}

.radio {
    margin-bottom: 1rem;
}
.radio .helper {
    position: absolute;
    top: -0.25rem;
    left: -0.25rem;
    cursor: pointer;
    display: block;
    font-size: 1rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #999;
}
.radio .helper::before,
.radio .helper::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    margin: 0.25rem;
    width: 1rem;
    height: 1rem;
    -webkit-transition: -webkit-transform 0.28s ease;
    transition: -webkit-transform 0.28s ease;
    transition: transform 0.28s ease;
    transition: transform 0.28s ease, -webkit-transform 0.28s ease;
    border-radius: 50%;
    border: 0.125rem solid currentColor;
}
.radio .helper::after {
    -webkit-transform: scale(0);
    transform: scale(0);
    background-color: #337ab7;
    border-color: #337ab7;
}
.radio label:hover .helper {
    color: #337ab7;
}
.radio input:checked ~ .helper::after {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
}
.radio input:checked ~ .helper::before {
    color: #337ab7;
}

/* .checkbox {
    margin-top: 3rem;
    margin-bottom: 1rem;
} */
.checkbox .helper {
    color: #999;
    position: absolute;
    top: 0;
    left: 0;
    width: 1rem;
    height: 1rem;
    z-index: 0;
    border: 0.125rem solid currentColor;
    border-radius: 0.0625rem;
    -webkit-transition: border-color 0.28s ease;
    transition: border-color 0.28s ease;
}
.checkbox .helper::before,
.checkbox .helper::after {
    position: absolute;
    height: 0;
    width: 0.2rem;
    background-color: #337ab7;
    display: block;
    -webkit-transform-origin: left top;
    transform-origin: left top;
    border-radius: 0.25rem;
    content: "";
    -webkit-transition: opacity 0.28s ease, height 0s linear 0.28s;
    transition: opacity 0.28s ease, height 0s linear 0.28s;
    opacity: 0;
}
.checkbox .helper::before {
    top: 0.65rem;
    left: 0.38rem;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    box-shadow: 0 0 0 0.0625rem #fff;
}
.checkbox .helper::after {
    top: 0.3rem;
    left: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.checkbox label:hover .helper {
    color: #337ab7;
}
.checkbox input:checked ~ .helper {
    color: #337ab7;
}
.checkbox input:checked ~ .helper::after,
.checkbox input:checked ~ .helper::before {
    opacity: 1;
    -webkit-transition: height 0.28s ease;
    transition: height 0.28s ease;
}
.checkbox input:checked ~ .helper::after {
    height: 0.5rem;
}
.checkbox input:checked ~ .helper::before {
    height: 1.2rem;
    -webkit-transition-delay: 0.28s;
    transition-delay: 0.28s;
}

.radio + .radio,
.checkbox + .checkbox {
    margin-top: 1rem;
}

.has-error .legend.legend,
.has-error.form-group .control-label.control-label {
    color: #d9534f;
}
.has-error.form-group .form-help,
.has-error.form-group .helper,
.has-error.checkbox .form-help,
.has-error.checkbox .helper,
.has-error.radio .form-help,
.has-error.radio .helper,
.has-error.form-radio .form-help,
.has-error.form-radio .helper {
    color: #d9534f;
}
.has-error .bar::before {
    background: #d9534f;
    left: 0;
    width: 100%;
}

.button {
    position: relative;
    background: currentColor;
    border: 1px solid currentColor;
    font-size: 1.1rem;
    color: #4f93ce;
    margin: 3rem 0;
    padding: 0.75rem 3rem;
    cursor: pointer;
    -webkit-transition: background-color 0.28s ease, color 0.28s ease, box-shadow 0.28s ease;
    transition: background-color 0.28s ease, color 0.28s ease, box-shadow 0.28s ease;
    overflow: hidden;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
.button span {
    color: #fff;
    position: relative;
    z-index: 1;
}
.button::before {
    content: "";
    position: absolute;
    background: #071017;
    border: 50vh solid #1d4567;
    width: 30vh;
    height: 30vh;
    border-radius: 50%;
    display: block;
    top: 50%;
    left: 50%;
    z-index: 0;
    opacity: 1;
    -webkit-transform: translate(-50%, -50%) scale(0);
    transform: translate(-50%, -50%) scale(0);
}
.button:hover {
    color: #337ab7;
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.2);
}
.button:active::before,
.button:focus::before {
    -webkit-transition: opacity 0.28s ease 0.364s, -webkit-transform 1.12s ease;
    transition: opacity 0.28s ease 0.364s, -webkit-transform 1.12s ease;
    transition: transform 1.12s ease, opacity 0.28s ease 0.364s;
    transition: transform 1.12s ease, opacity 0.28s ease 0.364s, -webkit-transform 1.12s ease;
    -webkit-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
}
.button:focus {
    outline: none;
}

.select {
    position: relative;
    width: 100%;
    background-color: #fff;
    margin-bottom: 30px;
}

.select-text {
    position: relative;
    font-family: inherit;
    background-color: transparent;
    width: 100%;
    padding: 9px 33px 9px 32px;
    font-size: 16px;
    border: 1px solid #beeeff;
    height: 70px;
    box-shadow: 0px 6px 29px 0px rgb(36 43 94 / 8%);
}

/* Remove focus */
.select-text:focus {
    outline: none;
    border: 1px solid #000 !important;
}

/* Use custom arrow */
.select .select-text {
    appearance: none;
    -webkit-appearance: none;
}

.select:after {
    position: absolute;
    right: 20px;
    width: 0;
    top: 45%;
    height: 0;
    padding: 0;
    content: "";
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgb(0 0 0 / 22%);
    pointer-events: none;
}

/* LABEL ======================================= */
.select-label {
    left: 0;
    position: absolute;
    pointer-events: none;
    top: 33%;
    margin-left: 30px !important;
    z-index: 1;
    margin: 0;
    color: #b3b3b3;
    font-size: 1rem;
    font-weight: normal;
    -webkit-transition: all 0.28s ease;
    transition: all 0.28s ease;
    padding: 0 5px;
}

/* active state */
.select-text:focus ~ .select-label,
.select-text:valid ~ .select-label {
    transition: 0.2s ease all;
    font-size: 70%;
    top: -10px;
    left: 0;
    background: #fff;
}

.question-select .form-group {
    margin-bottom: 30px !important;
    max-width: 450px;
    margin: auto;
}
.question-select .form-control {
    position: relative;
    font-family: inherit;
    background-color: transparent;
    width: 100%;
    padding: 9px 33px 9px 32px;
    font-size: 16px;
    border: 1px solid #beeeff;
    height: 70px;
    box-shadow: 0px 6px 29px 0px rgb(36 43 94 / 8%);
}
.question-select select.form-control {
    appearance: none;
    -webkit-appearance: none;
}
.question-select .select-form-group::after {
    position: absolute;
    right: 20px;
    width: 0;
    top: 45%;
    height: 0;
    padding: 0;
    content: "";
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgb(0 0 0 / 22%);
    pointer-events: none;
}
.question-select {
    text-align: center;
    padding: 15px;
}

.question-select h4 {
    font-size: 22px;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 40px;
}
.agree p {
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}
.two-btn a {
    background: #01008a;
    display: inline-flex;
    padding: 10px 15px;
    width: 100%;
    max-width: 150px;
    height: 70px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    border-radius: 3px;
    align-items: center;
    justify-content: center;
}

.two-btn {
    max-width: 150px;
    margin: auto;
    padding-bottom: 20px;
} 
.two-btn-11 {
    color: #000 !important;
    background: #eee !important;
}
.modal-checkbox .checkbox {
    display: inline-flex;
    background: #eee;
    border: 1px solid #ccc;
    max-width: 170px;
    width: 100%;
    height: 70px;
    align-items: center;
    padding: 10px;
    border-radius: 3px;
    margin-bottom: 30px;
}

.modal-checkbox .checkbox p {
    width: calc(100% - 20px);
    text-align: left;
    padding-left: 10px;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
    font-weight: 600;
    color: #000;
}

.modal-checkbox {
    display: inline-block;
    width: 100%;
}
@media (max-width: 767px) {
    .form-group .control-label {
        top: 27%;
        margin-left: 20px !important;
    }
    .listing-search.search-box .input-form,
    .listing-search.search-box .select-form {
        width: 100%;
        position: relative;
        margin-right: 0;
    }
    .question-select { 
        padding: 0px;
    }
    .question-select h4 {
        font-size: 18px;
        margin-bottom: 20px;
    
    }
    .question-select .form-control { 
        height: 55px;
    }
}
