
/*
    These are the index specific classes and ids
*/

/*  IDs first no matter where they appear   */

    #no-further-options {
        opacity: 0;
        z-index: 15;
    }

    .default-margin-value {
        margin-left: 1rem;
        width: 80%;
    }

    .multi-question-option {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        row-gap: 1.15rem;
    }

    .index-question-block {

        display: flex;
        flex-direction: column;
        align-items: flex-start !important;
        flex-grow: 0.3;     /*  This may save having a border at the bottom by having the flex-grow run to 50% of available space   */
        gap: 2rem;
    }

    .question-header-text {
        font-size: var( --header-two );
        color: #555;
        line-height: 2rem;
        text-decoration: underline;
        text-underline-offset: 0.4em;
        text-decoration-color: rgba( 117, 106, 106, 0.5 );
        text-decoration-thickness: 0.2em;
    }

/*  This will default to row    */

    .question-header-text + .standard-flex-row {
        margin-top: 2rem;
    }

    .standard-flex-row {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .question-flex {
        position: relative;
        width: 100%;
    }

    .answer-block {
        margin-left: var( --padding-two-unit );
        flex-grow: 1;
    }

    .answer-flex {
        display: flex;
        margin-bottom: var( --padding-one-unit );
        font-size: var( --fs-default );
        align-items: center;
        justify-content: flex-start;
    }

    .answer-item {
        font-weight: 600;
        margin-left: var( --padding-two-unit );
    }

    .make-grid {
        display: grid;
        position: relative;
        grid-template-rows: 1fr;
        grid-template-columns: 1fr;
        height: 2rem;
    }

    .make-grid > input {
        grid-row: 1/1;
        grid-column: 1/1;
        line-height: 1.6rem;
        font-size: 1.2rem;
        border: 0;
        outline: none;
    }

    .overlap-input {
        position: absolute;
        bottom: 0;
        border: 1px solid #183FB0;
        background-color: #183FB0;
        height: 0.2rem;
        animation-name: expandUnderline;
        animation-duration: 0.3s;
        animation-timing-function: ease-out;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
    }

/*  Animation relates to the underlining of the service number  */

    @keyframes expandUnderline {
        0% {
            width: 0;
        }
        100% {
            width: 90%;
        }
    }

    @media only screen and ( min-width: 900px ) {

        .question-flex {
            margin-bottom: 0;
        }

/*
        .question-header-text {
            line-height: normal;
        }
*/

        .answer-block {
            margin: 0;
        }

        .default-margin-value {
            margin-left: 3rem;
        }

        .index-question-block {
            flex-direction: row;
        }

    }