input[type="radio"] {
    margin-right: 0.5rem;
}

label {
    margin-bottom: 8px;
}

.container .container {
    width: auto;
}

.jxgbox {
    border-color: #bababa;
    margin-bottom: 2rem;
}

td .jxgbox {
    margin-bottom: 0;
}

.question {
    background: #0E8A16;
    color: #ffffff;
    margin-bottom: 15px;
    padding: 0.5rem 15px;
}

body > div {
    position: relative;
}

.container {
    border-left: 1px solid #bababa;
    border-right: 1px solid #bababa;
    margin-bottom: 1rem;
}

#banner { 
    padding: 0; 
    margin-bottom: 0; 
} 
#banner > .col-xs-12:first-child { 
    padding: 0; 
} 
#banner img { 
    width: 100%; 
} 
 
.float-right {
    float: right;
}

.results {
    position: absolute;
    top: 460px;
}

.vertical-align {
    display: flex;
    align-items: center;
}

#wait {
    z-index: 100;
    border: 1px solid black;
    background-color: #F5F5F5;
    position: fixed;
    width: 150px;
    left: calc(50% - 75px);
    top: 30%;
    padding: 10px;
    display: none;
}

#wait img {
    width: 100%;
    margin-bottom: 2rem;
}

.feedback {
    padding-left: 20px;
}

.result-wrapper {
    margin: 1rem 0 1rem 0;
    padding-bottom: 2rem;
    width: 95%;
}

.preamble {
    padding: 1rem 1rem 0 1rem;
}

.score-summary,
.answerQuote {
    align-items: center;
    padding: 0;
    font-size: 16px;
    margin: 0 2rem 0 2rem;
    padding: 1rem;
    border: 1px solid #000;
    border-left: 5px solid #0e8515;
}

.answerQuote {
    display: flex;
    flex-direction: row;
    background-color: #eceff0;
    font-family: Georgia, Times, "Times New Roman", serif;
}

.answerQuote .fa {
    margin-right: 1rem;
    font-size: 4rem;
}

.bg-total {
    background-color: #fff;
    border: 0;
    border-left: 5px solid #0A76A5;
    margin: 0 4.5rem;
}
.reminder {
    margin: 1.5rem 4.5rem;
}

@media screen and (max-width : 1199px) {
    .bg-total,
    .reminder {
        margin-left: 0;
        margin-right: 0;
    }
}

.bg-total .the-score {
    color: #0A76A5;
    font-weight: bold;
}

.bg-total p {
    margin-bottom: 10px;
}

.bg-success .answerQuote {
    border-color: #0e8515;
}

.bg-success .fa {
    color: #0e8515;
}

.bg-danger .answerQuote {
    border-color: #a62b4b;
}

.bg-danger .fa {
    color: #a62b4b;
}

.resultsScreen .actions {
    margin-top: 2rem;
}

.carousel-wrapper,
.showAllResultsBottom {
    border-bottom: 1px solid #bababa;
    padding-bottom: 1rem;
}

/* 768 or less - "col-xs" */
@media screen and (max-width : 768px) {
    .container {
        border: 0;
    }
    
    .graph-row {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid #bababa;
    }
    
    .btn {
        width: 90%;
        min-width: 480px;
    }
    
    .actions {
        text-align: center;
    }
    
    .actions .btn {
        margin-bottom: 1rem;
    }
    
    .carousel-wrapper .controls .btn,
    .btn.btn-link {
        width: auto;
        min-width: 0;
    }
    
    .carousel-wrapper .controls .text-left {
        padding-left: 0;
    }
    
    .carousel-wrapper .controls .text-right {
        padding-right: 0;
    }
    
    .carousel-wrapper .container,
    .carousel-wrapper .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .carousel-wrapper .container {
        padding-left: 0;
        padding-right: 0;
    }
}

/* "col-xs" and "col-sm" */
@media screen and (max-width : 991px) {
    .right-col {
        margin-top: 2rem;
    }
    
    .result-wrapper {
        width: 100%;
    }
    
    .resultsScreen .jxgbox {
        width: 200px;
        height: 200px;
    }
    
/* Blockquote font and image display for xs and sm breakpoints */
    .resultsScreen .answerQuote {
        margin-left: 1rem;
        margin-right: 1rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .resultsScreen .answerQuote > .fa {
        display: none;
    }
    .resultsScreen .answerQuote > span {
        padding-top: 1rem;
        padding-bottom: 1rem;
        font-size: small;
    }
    
    .matchingScreen .jxgbox {
        margin: 0 auto;
        width: 370px;
        height: 370px;
    }
    
    .matchingScreen .vertical-align {
        display: block;
    }
    
    fieldset {
        width: 80%;
        margin-left: 10%;
    }
}

/* "col-sm" and greater */
@media screen and (min-width : 769px) {
    .vertical-align {
        display: flex;
        align-items: center;
    }
    
    .actions button {
        width: 120px;
    }
    
    th {
        white-space: nowrap;
    }
}

/* "col-md" and greater */
@media screen and (min-width : 992px) {
    .matchingScreen .jxgbox {
        width: 313px; 
        height: 291px;
    }
}

/* "col-md" to "col-lg" */
@media screen and (min-width: 992px) and (max-width: 1179px) {
    .resultsScreen .jxgbox {
        width: 290px;
        height: 290px;
    }
}

/* "full size" ("col-lg") */
@media screen and (min-width: 1180px) {
    .jxgbox {
        float: right;
    }
    
    .resultsScreen .jxgbox {
        width: 313px;
        height: 291px;
    }
    legend {
        max-width: calc(100% - 45px);
    }
}

.summaryScreen .jxgbox {
    width: 313px;
    height: 291px;
}
