body {
    font-family: quicksand, sans-serif;
    color: #2e2e2e;
    background-color: #f6f6f6;
}

.masthead {
    background-color: rgba(33, 33, 33, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 35px;
    padding-bottom: 35px;
}
.masthead::after {
    content: "";
    background-image: url('../assets/img/Architecture.jpg');
    background-color: rgb(116, 116, 116);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: .65;
    z-index: -1;
}
.display-4 {
    z-index: 2;
    padding: 10px 0;
}
.header-title {
    width: 66%;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: #fff;
    font-weight: 300;
    padding: 30px 5px 30px 5px;
    font-family: quicksand, sans-serif;
}
/*.header-logo {
    content: "";
    background-image: url('../assets/img/IsuzuTruckSquareSmLogo.jpg');
    background-size: cover;
    width:300px;
    height: 300px;
}*/
.survey-form {
    margin: 10px auto 150px auto;
    width: 100%;
    max-width: 800px;
    /*padding: 20px 30px;*/
}

.survey-question {
    display: flex;
    flex-direction: column;
    margin: 20px auto;
    padding: 10px;
}

.question-wrapper {
    display: flex;
    align-items: flex-start;
    padding: 10px 0 12px 0;
}

.question-number {
    font-family: Arial, Helvetica, sans-serif;
    padding: 5px 8px 5px 0;
    font-weight: 600;
    font-size: 19px;
    line-height: 34px;
    text-align: left;
    width: 30px;
    height: 34px;
    min-width: 30px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    margin-right: 2px;
}

.question-text {
    color: #2e2e2e;
    width: 100%;
    font-weight: 600;
    font-size: 17px;
    display: block;
}

.rating-gradient {
    background: linear-gradient(to right, rgba(255,3,0,1) 0%,rgba(255,255,1,1) 76%,rgba(3,255,0,1) 100%);
    height: 10px;
    width: 100%;
    border-radius: 3px;
    margin-bottom: 5px;
}

.question-scale {
    margin: 0;
    flex-wrap: nowrap;
}

.scale-select {
    background-color: #cccccc;
    border-radius: 2px;
    flex: 1 0 calc(10% - 10px);
    margin: 2px;
    font-size: 11px;
    padding: 0;
}

.scale-select:after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.scale-select:hover {
    background-color: #666666;
    cursor: pointer;
}

.scale-select:last-child {
    margin-right: 0px;
}

.scale-select:first-child {
    margin-left: 0px;
}

.scale-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    cursor: pointer;
    font-size: 2.5vw;

    font-weight: 600;
    color: #ffffff;
}

@media screen and (min-width: 200px) {
    .scale-number {
        font-size: 13px;
    }
}
@media screen and (min-width: 300px) {
    .scale-number {
        font-size: 16px;
    }
}
@media screen and (min-width: 450px) {
    .scale-number {
        font-size: 22px;
    }
}

@media screen and (min-width: 550px) {
    .scale-number {
        font-size: 26px;
    }
}
@media screen and (min-width: 750px) {
    .scale-number {
        font-size: 30px;
    }
    .display-4 {
        font-size: 50px;
    }
}

.scale-legend {
    width: 100%;
    margin: 5px 0;
    padding-bottom: 3px;
    color: #232323;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    line-height: 12px;
}

#charNum {
    width: 100%;
    text-align: end;
    padding-top: 2px;
}

.scale-buttons {
    display: flex;
    justify-content: center;
    padding: 10px 0 5px 0;
    position: relative;
}

.scale-buttons > label:last-child {
    margin-left: 15px;
}

.scale-buttons > .btn-secondary {
    background-color: #cccccc;
    border-color: #cccccc;
}

.scale-buttons > .btn-secondary:hover {
    background-color: #666666;
    border-color: #666666;
}

.user-textarea {
    width: 100%;
    background-color: #fff;
    height: 125px;
}

.scale-buttons > .btn-outline-secondary:focus, .scale-buttons > .btn-outline-secondary:target {
    box-shadow: 0 0 0 0.1rem rgb(108 117 125 / 50%);
}
.scale-buttons > .btn-outline-secondary:focus-visible, .scale-buttons > .btn-outline-secondary:focus-visible {
    border: 2px solid black;
    box-shadow: none;
}
.user-textarea:focus, .user-textarea:target, .select-selected:focus, .select-selected:target, .contact:focus, .contact:target {
    background-color: #fff;
    border: 1px solid #ced4da;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(0 0 0 / 20%);
}

.contact-consent {
    background-color: #fff;
    line-height: 1.5;
    width: 100%;
    text-align: left;
    border: 1px solid #ced4da;
    border-radius: 4px;

}
.contact-consent::after {
    position: absolute;
    right: 2rem;
    transform: translateY(10px);
}
.contact-consent-dropdown {
    width: 100%;
}


.select-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}
.survey-contact {
    margin: 70px 0 20px 0;
    padding: 10px;
}
input:checked + .scale-select {
    background-color: #666666;
} 
.scale-select-btn {
    color: #232323;
    font-weight: 500;
}

input:checked + .scale-select-btn {
    background-color: #666666;
    color: #fff;
} 
.input-radio {
    position: absolute;
    left: -9999px;
}
.survey-submit {
    padding: 10px;
    margin: auto;
    width: 100%;
}
#submit {
    width: 100%;
}

.error {
    color:#ee1a30;
    font-weight: 500;
    padding-left: 20px;
}
.errorq {
    color:#ee1a30;
    font-weight: 500;
    margin: auto;
}
#completion-message {
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    margin-top: 75px;
    color: #008000;
}