.required > label:after {
    content: ' *';
    color: #C3232D;
}

body {
    font-family: 'poppinsregular', serif;
    font-size: 22px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'poppinssemibold', serif;
}

header {
    background: #183251;
    padding: 10px 0 60px 0;
    margin: 0 0 30px 0;
}

h1 {
    font-size: 2.5rem;
    border-bottom: 3px solid #C3232D;
    margin: 0 0 25px 0;
    font-family: 'avenir-roman', serif;
    color: #0d0e0f;
}

h2 {
    font-size: 1.6rem;
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.4rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

#assessment-index-page .card {
    margin-bottom: 30px;
}

.card-header {
    background: #c4161c;
    color: #ffffff;
}

.card-footer {
    background: #183251;
    color: #ffffff;
}

.flight-button {
    font-weight: bold;
    background: #000000;
    color: #ffffff;
}

.flight-assessment-logo-holder {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin: 0 0 20px 0;
}

#main-assessment-area .card {
    margin-bottom: 30px;
}

.invalid-feedback {
    display: block;
}

.flight-assessment-pilot-logo-label {
    color: #ed1e24;
}

.flight-assessment-flight-attendant-logo-label {
    color: #128bfc;
}

.flight-assessment-grounds-crew-logo-label {
    color: #f57926;
}

.flight-assessment-air-traffic-control-logo-label {
    color: #07bba6;
}

.complete-assessment {
    background-color: #128bfc;
    color: #ffffff;
    font-weight: normal;
    padding: 9px 60px;
    border-radius: .5rem;
    text-transform: uppercase;
}

.complete-assessment:hover {
    background-color: #ed1e24;
    color: #ffffff;
}

.instruction {
    color: #f57926;
    font-weight: bolder;
    text-transform: uppercase;
}

.form-control {
    background-color: #f6f5f5;
    border: 2px solid transparent;
}

.form-control:hover {
    border: 2px solid #07bba6;
}


.form-check {
    display: inline-block;
    position: relative;
    font-size: 17px;
}

.form-check input[type='radio'] {
    display: none;
}

.form-check label {
    color: #000000;
    font-weight: normal;
}

.form-check label:before {
    content: " ";
    display: inline-block;
    position: absolute;
    top: -20px;
    right: calc(50% - 7.5px);
    width: 15px;
    height: 15px;
    border-radius: 11px;
    border: 2px solid #07bba6;
    background-color: transparent;
}

.form-check input[type=radio]:checked + label:after {
    border-radius: 11px;
    width: 7px;
    height: 7px;
    position: absolute;
    top: -16px;
    right: calc(50% - 3.5px);
    content: " ";
    display: block;
    background: #07bba6;
}

.form-group.radio.required > label {
    margin-bottom: 2rem;
}

header {
    background-image: url(../img/banner-3.jpg);
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover;
    height: 214px;
}

@media only screen and (max-width: 760px) {
    .form-check label:before {
        display: inline-block;
        position: static;
        margin-right: 5px;
    }
    .form-check input[type=radio]:checked + label:after{
        display: inline-block;
        position: absolute;
        top: 6px;
        left: 4px;
    }

    .form-check {
        display: block;
        margin-top: 30px;
        margin-left: 25px;
    }

}

@media only screen and (min-width: 760px) and (max-width: 820px) {

    .form-check {
        display: inline-flex;
        margin-top: 30px;
    }

}


@media only screen and (min-width: 820px) and (max-width: 912px) {

    .form-check {
        display: inline-flex;
        margin-top: 30px;
    }

}

@media only screen and (min-width: 912px) and (max-width: 1200px) {

    .form-check {
        display: inline-flex;
        margin-top: 30px;
    }

}
