form {
    width: 80%;
    margin: 0 auto;
}

pre {
    background-color: none !important;
}

.hidden {
    display: none;
}

.repeater-group:not(:first-child) {
    margin: 20px 0;
}

.quiz-flex {
    display: flex;
}

.quiz-flex-row {
    flex-direction: row;
}

.quiz-flex-col {
    flex-direction: column;
}

.quiz-aic {
    align-items: center;
}

.quiz-jcc {
    justify-content: center;
}

.quiz-margin-top {
    margin-top: 10px;
}

.quiz-no-mt {
    margin-top: 0;
}

.quiz-no-mb {
    margin-bottom: 0;
}

.quiz-box {
    padding: 20px;
}

.quiz-box-v-padding {
    padding-top: 20px;
    padding-bottom: 20px;
}

.quiz-box-h-padding {
    padding-left: 20px;
    padding-right: 20px;
}

.quiz-rounded-borders {
    border-radius: 10px;
}

.light-grey-container {
    background-color: #eeeeee;
}

.grey-border-container {
    border: 1px solid #dbdbdb;
}

.dark-grey-border-container {
    border: 1px dashed #707070;
}

#quiz-form {
    padding: 2rem 0;
}

/* quiz grid styling */
.quiz-grid {
    display: grid;
    gap: 1rem;
}

.quiz-grid-two-col {
    grid-template-columns: 60% 40%;
}

.quiz-grid-right {
    height: 300px;
    padding-top: 1rem;
    position: sticky;
    top: 0;
}

.quiz-grid-left {
    padding-top: 1rem;
}

@media screen and (max-width: 600px) {
    .quiz-grid-two-col {
        grid-template-columns: 100%;
    }

    .quiz-grid-right {
        padding-top: 0;
    }
}

/* input related styling */
.quiz-input[type='text'],
textarea {
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.quiz-input:focus,
.quiz-textarea:focus {
    outline: none;
}

.quiz-input-group {
    margin: 10px 0;
}

.quiz-input-group input {
    margin-top: 5px;
}

.quiz-textarea {
    min-height: 50px;
    max-height: 100px;
    resize: vertical;
    font-family: inherit;
    font-size: small;
}

/* styling buttons used throughout the quiz form */
.quiz-button {
    padding: 7px 10px;
    border: none;
    border-radius: 7px;
    cursor: pointer;
}

.quiz-button:hover {
    opacity: 0.9;
}

/* answer box styling */
.answer-box {
    margin: 10px 0;
}

/* image preview styling */
.quiz-image-preview {
    width: 200px;
    border-radius: 10px;
}

/* styling individual buttons */
.quiz-button-add {
    font-size: 1.1rem;
    background: #f0a421;
}

.quiz-button-submit {
    font-size: 1.1rem;
    background: #b54f30;
    color: white;
}

.quiz-button-add-answer {
    background-color: #707070;
    color: #eeeeee;
}

.quiz-remove {
    /* position: absolute;
    right: 5px;
    top: -25px; */
    background-color: white;
    border-radius: 10px;
    border: 1px solid #707070;
    color: black;
    padding: 2px 5px;

}

.quiz-remove:hover {
    cursor: pointer;
    text-decoration: underline;
}


/* disclaimer styling */
.quiz-disclaimer {
    margin-top: 40px;
}

.quiz-disclaimer p {
    margin-top: 0;
    color: #b54f30;
}

/* accordion styling */
.quiz-accordion-content {
    display: none;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.quiz-accordion-header {
    padding: 0 20px;
    border-radius: 10px;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
}

.quiz-accordion-content {
    padding: 0 20px;
}

.quiz-accordion-active>.quiz-accordion-content {
    padding-bottom: 20px;
}

.quiz-accordion-active>.quiz-acc-default {
    background-color: #1d1d1d;
    color: #eeeeee !important;
}

.quiz-accordion-active>.quiz-acc-light {
    background-color: #dbdbdb;
    color: #707070 !important;
}

pre {
    background-color: inherit;
    padding-top: inherit;
}