body {padding-top: 0}

h3.subheader {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    margin-bottom: 1.2rem;
}

.form-number {
    width: 100%;
    padding: 0.8rem;
    
}

.form-control {
    border: 2px solid #1f355e;
    border-radius: 0;
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    margin-top: 4px;
    margin-left:3px;
    opacity: 0 !important;
    left: 0 ;

}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label
{
    position: relative;
    padding-left: 30px;
    padding-right: 20px;
    cursor: pointer;
    line-height: 28px;
    display: inline-block;
    color: #343a40;
    font-weight: 400;
}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border: 1px solid #1f355e;
    border-radius: 100%;
    background: #fff;
}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 14px;
    height: 14px;
    background: #9acde0;
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}


input[type="radio"][disabled] + label:after {
     background: #54ebc0 !important;
     opacity: 0.65;
     cursor: default;
 } 


[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}


.custom-control-label::before {
    width: 1.2rem;
    height: 1.2rem;
}

.custom-control-label::after {
     width: 1.2rem;
    height: 1.2rem;
}


.divider {
    width: 100%;
    padding: .2rem 0;
}

.hidden-field, .hidden-field-2 {
    display: none;
}



input.required:invalid + label:before,  input.required:invalid {

    border: 1px solid red;
}

.rating-col {
    margin-bottom: 10px;
}

.rating-col.col-border {
    border-bottom: 1px solid rgba(0,0,0,.1);
    padding-bottom: 1.5rem;
    margin-bottom: 1rem
}

.rating-container {
    display: inline-block;
    position: relative;
}

.poor, .excellent {
    position:absolute;
    left:0;
    font-size:.8rem;
    font-weight:600;
    display: none;
}


.rating-col hr {
    margin-top: 10px;
    border: 0;
    border-top: 1px solid #000
}



.checkbox-row .custom-checkbox label {
    font-size: .8rem;
    font-weight: 600;
    max-width: 95%;
    padding-top: .4rem;
    padding-left: .3rem;
}

.checkbox-row .custom-control-label::after {
    width: 1.2rem;
    height: 1.2rem;
    top: 0.35rem
}

.checkbox-row .custom-control-label::before {
  
    background-color: #fff;
    border: 2px solid #9acde0;
    margin-top: 2px;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 0px;
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #9acde0;
    border-color: #9acde0;
    margin-top: 2px;

   
}


.radio-group label {
    background: #e2e2e2;
    padding: .8rem;
    width: 100%;
    padding-left: 40px !important;
    line-height: 20px !important;
}

.radio-group [type="radio"]:checked + label:before, .radio-group [type="radio"]:not(:checked) + label:before {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.radio-group [type="radio"]:checked + label:after, .radio-group [type="radio"]:not(:checked) + label:after {
    left: 14px;
    top: 50%;
    transform: translateY(-50%);

}

.radio-group [type="radio"]:checked + label {
    background: #9acde0;
}

.checkbox-group > [class*="col-"] {
    margin-bottom: 1rem;
    display: flex;
}

.checkbox-group label {
    background: #e2e2e2;
    padding: .8rem;
    width: 100%;
    padding-left: 44px !important;
    line-height: 20px !important;
    margin-bottom: 0;
}

.checkbox-group [type="checkbox"]:checked,
.checkbox-group [type="checkbox"]:not(:checked) {
    position: absolute;
    opacity: 0 !important;
    left: 0;
}

.checkbox-group [type="checkbox"]:checked + label,
.checkbox-group [type="checkbox"]:not(:checked) + label {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #343a40;
    font-weight: 400;
}

.checkbox-group [type="checkbox"]:checked + label:before,
.checkbox-group [type="checkbox"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid #9acde0;
    border-radius: 0;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

.checkbox-group [type="checkbox"]:checked + label:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2 L4.8 9 L10 3' fill='none' stroke='%231f355e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.checkbox-group [type="checkbox"]:checked + label {
    background: #9acde0;
}
