/* Single-question detail corrections. Existing font families and sizes are intentionally untouched. */

body.single-question .attavo-single-question-detail {
    background: #f6f7f9;
    padding: 28px 0 42px;
}

body.single-question .attavo-single-question-detail > .container > .row {
    align-items: flex-start;
}

body.single-question .attavo-single-question-detail .tm-questions-answer-option {
    background: transparent;
    padding: 0 0 0 18px;
}

body.single-question .attavo-single-question-card {
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(15, 42, 89, .05);
    margin: 0 !important;
    overflow: hidden;
    padding: 0 !important;
}

body.single-question .attavo-single-question-heading {
    align-items: flex-start;
    background: #fff !important;
    display: grid;
    gap: 12px;
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 18px 20px 8px !important;
}

body.single-question .attavo-single-question-heading a {
    color: #001f46 !important;
    justify-self: start;
    padding: 4px 0 !important;
    text-align: left !important;
    width: 100%;
}

body.single-question .attavo-single-question-number {
    align-items: center;
    background: #4285f4;
    border: 1px solid #4285f4;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

body.single-question .attavo-single-question-card .qus_wrappeer {
    padding: 2px 20px 14px 66px;
}

body.single-question .attavo-single-question-card .questions-list {
    margin: 0;
    padding: 0 !important;
}

body.single-question .attavo-single-question-card .answer-imfo {
    background: #f1f2f4;
    border-top: 1px solid #e2e6eb;
    padding: 10px 16px !important;
}

body.single-question .attavo-single-question-card .answer-imfo-list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

body.single-question .attavo-single-question-card .answer-imfo-list > li {
    border-radius: 5px;
    margin: 0;
    padding: 7px 9px;
}

body.single-question .attavo-single-question-card .answer-imfo-list > li:first-child {
    background: #001f46;
    border: 1px solid #001f46;
    transition: background-color .18s ease, border-color .18s ease;
}

body.single-question .attavo-single-question-card .answer-imfo-list > li:first-child a,
body.single-question .attavo-single-question-card .answer-imfo-list > li:first-child span,
body.single-question .attavo-single-question-card .answer-imfo-list > li:first-child i {
    color: #fff !important;
}

body.single-question .attavo-single-question-card .answer-imfo-list > li:first-child a {
    align-items: center;
    display: flex;
    gap: 5px;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
    width: 100%;
}

body.single-question .attavo-single-question-card .answer-imfo-list > li:first-child i,
body.single-question .attavo-single-question-card .answer-imfo-list > li:first-child span {
    margin: 0 !important;
    padding: 0 !important;
}

body.single-question .attavo-single-question-card .answer-imfo-list > li:first-child:hover,
body.single-question .attavo-single-question-card .answer-imfo-list > li:first-child.is-open {
    background: #f7bb00 !important;
    border-color: #f7bb00;
}

body.single-question .attavo-single-question-card .answer-imfo-list > li:first-child:hover a,
body.single-question .attavo-single-question-card .answer-imfo-list > li:first-child:hover span,
body.single-question .attavo-single-question-card .answer-imfo-list > li:first-child:hover i,
body.single-question .attavo-single-question-card .answer-imfo-list > li:first-child.is-open a,
body.single-question .attavo-single-question-card .answer-imfo-list > li:first-child.is-open span,
body.single-question .attavo-single-question-card .answer-imfo-list > li:first-child.is-open i {
    color: #001f46 !important;
}

body.single-question .attavo-single-question-card .attavo-comment-action a {
    align-items: center;
    display: inline-flex;
    gap: 6px;
}

body.single-question .attavo-single-question-card .attavo-comment-action:hover a,
body.single-question .attavo-single-question-card .attavo-comment-action:hover span,
body.single-question .attavo-single-question-card .attavo-comment-action:hover i,
body.single-question .attavo-single-question-card .attavo-comment-action.is-open a,
body.single-question .attavo-single-question-card .attavo-comment-action.is-open span,
body.single-question .attavo-single-question-card .attavo-comment-action.is-open i {
    color: #fff !important;
}

body.single-question .attavo-single-question-card .answer-details {
    background: #fffaf0;
    border-left: 4px solid #f7bb00;
    margin: 12px 0 0;
    padding: 14px 18px;
}

body.single-question .attavo-single-question-card .attavo-comment-panel {
    background: #f8fafc;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    margin: 10px 0 0;
    padding: 14px;
}

body.single-question .attavo-comment-panel .comment-respond,
body.single-question .attavo-comment-panel .comment-form,
body.single-question .attavo-comment-panel .comment-form > p {
    margin: 0;
    max-width: none;
    padding: 0 !important;
    width: 100%;
}

body.single-question .attavo-comment-panel .comment-form {
    display: grid;
    gap: 11px 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.single-question .attavo-comment-panel .comment-form-author,
body.single-question .attavo-comment-panel .comment-form-email {
    grid-column: auto;
    min-width: 0;
    width: 100%;
}

body.single-question .attavo-comment-panel .comment-notes,
body.single-question .attavo-comment-panel .logged-in-as {
    color: #64728a;
    font-size: 12px;
    grid-column: 1 / -1;
    line-height: 1.55;
    margin-bottom: 0 !important;
}

body.single-question .attavo-comment-panel .comment-form-comment,
body.single-question .attavo-comment-panel .comment-form-author,
body.single-question .attavo-comment-panel .comment-form-email,
body.single-question .attavo-comment-panel .comment-form-url {
    margin-bottom: 0 !important;
}

body.single-question .attavo-comment-panel .comment-form-comment {
    grid-column: 1 / -1;
}

body.single-question .attavo-comment-panel label {
    color: #001f46;
    display: block;
    margin: 0 0 7px;
}

body.single-question .attavo-comment-panel textarea,
body.single-question .attavo-comment-panel input[type="text"],
body.single-question .attavo-comment-panel input[type="email"],
body.single-question .attavo-comment-panel input[type="url"] {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-sizing: border-box;
    min-height: 42px;
    padding: 10px 12px;
    width: 100% !important;
}

body.single-question .attavo-comment-panel textarea {
    height: 92px !important;
    min-height: 92px;
    resize: vertical;
}

body.single-question .attavo-comment-panel textarea:focus,
body.single-question .attavo-comment-panel input:focus {
    border-color: #f7bb00;
    box-shadow: 0 0 0 3px rgba(247, 187, 0, .18);
    outline: none;
}

body.single-question .attavo-comment-panel .comment-form-cookies-consent {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-column: 1 / -1;
    grid-template-columns: 15px minmax(0, 1fr);
    margin: 2px 0 0 !important;
}

body.single-question .attavo-comment-panel .comment-form-cookies-consent input {
    appearance: auto;
    flex: 0 0 auto;
    height: 15px;
    margin: 0 !important;
    position: static !important;
    width: 15px !important;
}

body.single-question .attavo-comment-panel .comment-form-cookies-consent label {
    color: #52627c;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.45;
    margin: 0 !important;
}

body.single-question .attavo-comment-panel .form-submit {
    align-self: end;
    grid-column: 1 / -1;
    text-align: right;
}

body.single-question .attavo-comment-panel .submit {
    background: #001f46;
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    min-height: 38px;
    padding: 9px 18px;
}

body.single-question .attavo-comment-panel .attavo-comment-error {
    align-items: center;
    background: #fff1f2;
    border: 1px solid #f3a6ad;
    border-left: 4px solid #dc3545;
    border-radius: 6px;
    color: #9f1d2b;
    display: flex;
    font-size: 12px;
    font-weight: 600;
    gap: 9px;
    grid-column: 1 / -1;
    line-height: 1.45;
    min-height: 38px;
    padding: 9px 12px !important;
    width: 100%;
}

body.single-question .attavo-comment-panel .attavo-comment-error::before {
    align-items: center;
    background: #dc3545;
    border-radius: 50%;
    color: #fff;
    content: "!";
    display: inline-flex;
    flex: 0 0 20px;
    font-size: 12px;
    font-weight: 800;
    height: 20px;
    justify-content: center;
    width: 20px;
}

body.single-question .attavo-comment-panel .submit:hover,
body.single-question .attavo-comment-panel .submit:focus {
    background: #f7bb00;
    color: #001f46;
}

@media (max-width: 767px) {
    body.single-question .attavo-single-question-detail {
        padding: 18px 0 30px;
    }

    body.single-question .attavo-single-question-detail .tm-questions-answer-option {
        padding: 0;
    }

    body.single-question .attavo-single-question-detail .order-md-1 {
        margin-top: 18px;
    }

    body.single-question .attavo-single-question-heading {
        grid-template-columns: 32px minmax(0, 1fr);
        padding: 14px 12px 7px !important;
    }

    body.single-question .attavo-single-question-number {
        height: 32px;
        width: 32px;
    }

    body.single-question .attavo-single-question-card .qus_wrappeer {
        padding: 2px 12px 12px 56px;
    }

    body.single-question .attavo-single-question-card .answer-imfo {
        padding: 9px 10px !important;
    }

    body.single-question .attavo-comment-panel {
        padding: 14px !important;
    }

    body.single-question .attavo-comment-panel .comment-form {
        grid-template-columns: 1fr;
    }

    body.single-question .attavo-comment-panel .comment-form-comment,
    body.single-question .attavo-comment-panel .comment-notes,
    body.single-question .attavo-comment-panel .logged-in-as,
    body.single-question .attavo-comment-panel .comment-form-cookies-consent {
        grid-column: 1;
    }
}
