/*
Theme Name: SLCIM Quiz Portal
Theme URI: https://www.mileee.com/
Author: Nishantha Atapattu
Author URI: https://www.mileee.com/
Description: Sri Lanka College of Internal Medicine
Version: 1.0
Text Domain: slcimquiz
*/

body {
    font-family: "Poppins", sans-serif;
}

.wrapper {
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: #3da3e1;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
}

.front h3 {
	display: inline-block;
	color: #fff;
	font-size: 36px;
	font-weight: bold;
	margin: 1rem 0 2rem;
}

.front a {
    color: #024582;
    font-weight: 700;
    display: inline-block;
    padding: 1rem 5rem; padding: 0.75rem 2rem;
    background: #fff;
    border-radius: 3.75rem;
    transition: all 0.5s ease;

    margin: 0 5px;
}

.front a.contributors {

}

.front a:hover {
    color: #fff;
    background: #024582;
	transition: all 0.5s ease;
}

.correct {
    color: green;
    font-weight: bold;
}

.incorrect {
    color: red;
    font-weight: bold;
}

#quiz-container,
.results-container {
    width: 600px;
    position: relative;
    background: #fff;
    padding: 2rem;
    border-radius: 0.375rem;
}

.results-container h1 {
    color: #3da3e1;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
}

.results-container h4 {
    color: #e3cd09; color: #17b0e3;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1.5px;
}

.question {

}

.question h2 {
    font-size: 1.25rem;
    font-weight: bold;
    line-height: inherit;
    margin-bottom: 1.25rem;
}

.question img {
    border-radius: 0.375rem;
    margin-bottom: 1.25rem;
}

ul.list-unstyled.list-questions li h3 {
    font-size: 1rem;
    font-weight: bold;
}

ul.list-unstyled.list-questions {
    margin-bottom: 2rem;
}

ul.list-unstyled.list-questions li:not(:last-child) {
    margin-bottom: 2rem;
}

ul.list-unstyled.list-answers li:not(:last-child) {
    margin-bottom: 0.75rem;
}

button#prev-question,
button#next-question,
button#see-results {
    color: #fff;
    border: none;
    background: #1f386e;
    padding: 0.375rem 3rem;
    transition: all 0.5s;
}

button#prev-question {
    display: none;
}

button#prev-question:hover,
button#next-question:hover,
button#see-results:hover {
    background-color: #46a5e5;
    transition: all 0.5s;
}

button:disabled {
    opacity: 0.2;
}

.quiz-results {

}

.quiz-results li img {
    border-radius: 0.375rem;
    margin-bottom: 1.25rem;
}

.post-content h3 {
    font-size: 1rem;
    font-weight: bold;
}

.acf-question {
    margin-bottom: 1rem;
}

.acf-question h4 {
    font-size: 1rem;
    font-weight: bold;
}

ul.list-unstyled ul {
    margin-bottom: 2rem;
}

.list-unstyled.summary-list > li {
    padding-bottom: 3rem;
    border-bottom: 1px solid #bfbfbf;
    margin-bottom: 3rem;
}

.list-unstyled.summary-list > li:nth-of-type(odd) {
    padding: 1rem;
    padding-bottom: 3rem;
    color: #fff;
    background: #3da3e1; background: #004387;
    border-radius: 0.375rem;
}

.list-unstyled.summary-list > li:nth-of-type(even) {
    padding: 1rem;
    padding-bottom: 3rem;
    background: #f6f6f6;
    border-radius: 0.375rem;
}

.list-unstyled.summary-list strong {
    text-decoration: underline;
}

p.total-score {
    font-weight: bold;
    margin: 20px 0 30px;
}

li input[type="checkbox"] {
    /* Hide the default checkbox */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #3da3e1;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
    top: -2px;
}

li input[type="checkbox"]:checked::before {
    content: '';
    width: 10px; /* Inner circle size */
    height: 10px; /* Inner circle size */
    border-radius: 50%;
    background-color: #3da3e1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centering */
}

.contributors-wrap {

}

.contributors-wrap h1 {
    color: #e6e6e6;
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: 2px solid;
    display: inline-block;
}

.editor-wrap {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    text-align: center;
    height: 100%;
}

.editor-wrap img {
    margin: 0 auto 15px;
    border-radius: 3px;
}

.contributors-wrap h2,
.contributors-wrap h4 {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.contributors-wrap img {
    max-width: 225px;
    margin-bottom: 30px;
}

.s-contributor {
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 6px rgb(0 0 0 / 30%);
    height: 100%;
}

.s-contributor h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 0;
}

.s-contributor span {
    color: #333;
    font-size: 15px;
    margin-bottom: 5px;
}

.s-contributor p {
    font-size: 14px;
}

.coordinator-wrap {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 30px;
    border-radius: 11px;
    background: #f5f5f5;
}

@media (max-width: 575.98px) {
    #quiz-container, .results-container {
        width: 100%;
        max-width: 600px;
    }

    .front h3 {
        text-align: center;
        margin-bottom: 1rem;
    }

    .front a {
        text-align: center;
        width: 250px;
        margin: 8px 0;
    }


}