﻿
.assistance-table {
    border-collapse: collapse;
    width: 100%;
    max-width: 1200px;
    margin-left: .5rem; 
}

    .assistance-table caption {
        font-weight: bold;
        font-size: 1.2em;
        margin-bottom: 10px;
        text-align: left;
    }

    .assistance-table thead tr {
        background-color: #ffffff;
        text-align: center;
    }

    .assistance-table thead th.activity-column {
        width: 750px;
        text-align: left;
    }

    .assistance-table thead th:not(.activity-column) {
        width: 22px;
    }

    /*.assistance-table tbody td {
        padding: 5px 8px;
    }*/

    .assistance-table tbody td {
        padding: 5px 39px 1px 1px;
    }

        .assistance-table tbody td:nth-child(2) {
            text-align: left;
        }

        .assistance-table tbody td:not(:nth-child(2)) {
            text-align: left;
        }
.shadeit-withcolor {
    background-color: #eeefe1;
    font-weight: bold;
}

.shadeit-withoutcolor {
    background-color: #ffffff;
    font-weight: bold;
}

.form-check {
    min-height: 1.5rem;
    padding-left: 2.5rem;
}

.fs-6 {
    font-size: 1rem !important;
    font-weight: bold;
}
table {
    caption-side: bottom;
    border-collapse: collapse;
    margin-bottom: 1.5rem !important;
    padding-left: 2.5rem;
}

.fws-bold { 
    font-weight: 750 !important;
    text-align: center;
}
.progress-container {
    min-width: 245px;
    max-width: 300px;
    text-align: center;
    margin: 0 auto;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 5px;
    box-sizing: border-box;
    margin-bottom: 5px;
}

.progress {
    height: 10px;
    border-top: 2px solid #000;
    width: 100%;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 50%;
    background-image: url('/images/redbar.gif');
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 1px 1px rgba(0,0,0,0.5);
    border-radius: 5px 0 0 5px;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-weight: bold;
    margin-bottom: 8px;
}

.mt-4 {
    margin-top: 0rem !important;
}

.survey-page {
    display: none;
}

hr { 
    position: relative;
    top: 17px; 
}

.material-id-text {
    color: black !important;
    text-align: right;
    font-weight: 650 !important;
    font-size: 14px !important;
}

@media (min-width: 300px) and (max-width: 480px) {
    body {
        padding: 1rem;
    }
    .form-control {
        border: 3px solid #000;
    }

    .container { 
        width: 94%;
    }

    .container {
        max-width: 95%; 
        border-radius: 0.75rem !important;
    }

    input[type="radio" i] {
        margin: 5px 3px 0px 5px;
    }

    .btn-group,
    .btn-group-desktop {
        display: none !important;
    }

    .btn-group-mobile {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: left;
        gap: 30px;
        padding: 2px;
        row-gap: 10px;
    }

        .btn-group-mobile > button {
            flex: 1 1 calc(50% - 22px);
            max-width: calc(50% - 22px);
        }

    body .btnFormat {
        width: 60px;
        height: 25px;
    }

    Mobile Error page
    .btn-login {
        width: 167px;
        height: 46px;
        border: 2px solid black;
    }

    .custom-popup-box {
        max-width: 300px;
    }

    .align-items-center {
        align-items: center !important;
        margin-bottom: 8px !important;
    }

    Stay Button
    .stay-btn {
        background-color: #6c757d;
        color: white;
        font-family: Arial, sans-serif;
        font-size: 13px;
        padding: 8px 15px;
        border: none;
        border-radius: 5px;
        margin-right: 82px;
    }

    Continue Button
    .continue-btn {
        background-color: #007bff;
        color: white;
        font-family: Arial, sans-serif;
        font-size: 13px;
        padding: 6px 15px;
        border: none;
        border-radius: 5px;
        margin-left: 210px;
        margin-top: -59px;
    }

    .stay-btn:hover {
        background-color: #6c757d;
        color: white;
        cursor: default;
    }

    .continue-btn:hover {
        background-color: #007bff;
        color: white;
        cursor: pointer;
    }

    .modal-static .modal-dialog {
        animation: none !important;
        transform: none !important;
    }
    /* matrix question */
    .assistance-table {
        display: block;
        border: none;
        background: transparent;
        width: 100%;
        border-collapse: collapse;
        max-width: 1200px;
        margin-left: -2rem;
    }

        .assistance-table thead {
            display: none;
        }

        .assistance-table tbody,
        .assistance-table tr {
            display: block;
            width: 100%;
        }

        .assistance-table tr {
            margin-bottom: 1.5rem;
            padding: 1.25rem;
            background: #ffffff; 
            border-radius: 1rem;
            border: 1px solid #d0d0d0;
            position: relative;
            width: 108%; 
        }

        .assistance-table td:first-child {
            background-color: #ffffff;
            color: #000;
            font-weight: bold;
            font-size: 1rem;
            padding: 1.2rem 2rem;
            border-radius: 2rem;
            border: 2px solid #426ca8;
            box-shadow: 2px 2px 5px rgb(71, 75, 98);
            display: inline-flex;
            align-items: center;
            justify-content: flex-start;
            width: 279px !important; 
            margin-bottom: 0;
            margin-top: -1.8rem;
            position: relative;
            left: -24px;
            right: 0;
        }

            .assistance-table td:first-child::after {
                content: "\FE3E";
                font-size: 1.1rem;
                color: #333;
                position: absolute;
                right: 1rem;
                top: 35%;
                transform: scaleX(0.6);
                pointer-events: none;
                width: 12px;
            }
        /* Radio Options */
        .assistance-table td:not(:first-child) {
            display: flex;
            align-items: center;
            padding-left: 2rem;
            margin: 0.5rem 0;
            min-height: 1.2rem;
            font-size: 0.95rem;
            position: relative;
            word-break: break-word;
            color: #000;
        }

        .assistance-table tbody tr:nth-child(odd),
        .assistance-table tbody tr:nth-child(even) {
            background-color: #ffffff;
            font-weight: bold;
        }
        /* Radio Circle */
        .assistance-table input[type="radio"] {
            position: absolute;
            left: -7px;
            top: 50%;
            transform: translateY(-50%);
            width: 0.8rem;
            height: 1.2rem;
            margin: 0;
            cursor: pointer;
        }
        /* Label Text from Data Attribute */
        .assistance-table td:not(:first-child)::after {
            content: attr(data-label);
            display: inline-block;
            font-weight: 350 !important;
            text-align: left;
            margin-left: -13px;
        }
    /* Accessibility Helper */
    .visually-hidden {
        position: absolute !important;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        height: 1px;
        width: 1px;
        overflow: hidden;
        white-space: nowrap;
    }
    /* Remove Blue Background on Selected */
    .assistance-table tr.selected {
        background: #ffffff !important;
    }

    .mbl-btn-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        padding: 10px;
    }
    /*Mobile button styles*/
    .mblbtnFormat {
        background-color: #006fa1 !important;
        color: #ffffff !important;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 8pt;
        font-weight: bold;
        border: 2px solid black; 
        width: 100%;
        cursor: pointer;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 49px;
    }

        .mblbtnFormat:hover,
        .mblbtnFormat:focus {
            background-color: #3086e3 !important;
            box-shadow: 0 0 0 0.2rem rgba(0, 111, 161, 0.3);
            outline: none;
        }

        .mblbtnFormat:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            pointer-events: none;
            display: none !important;
        }

    .fws-bold {
        font-weight: 650 !important;
        text-align: left;
    }
}

@media (min-width: 384px) and (max-width: 390px) {
    .assistance-table td:first-child {
        width: 319px !important;
    }
}

@media (min-width: 390px) and (max-width: 412px) {
    .assistance-table td:first-child {
        width: 314px !important;
    }
}
/* 412px devices */
@media (min-width: 410px) and (max-width: 414px) {

    .assistance-table td:first-child {
        width: 334px !important;
    }
}
/* 414px devices */
@media (min-width: 414px) and (max-width: 416px) {
    .assistance-table td:first-child {
        width: 337px !important;
    }
}
/* 320px devices */
@media (min-width: 318px) and (max-width: 322px) {
    .assistance-table td:first-child {
        width: 236px !important;
    }
}
/* 375px devices */
@media (min-width: 373px) and (max-width: 377px) {
    .assistance-table td:first-child {
        width: 295px !important;
    }
}
/* 428px devices */
@media (min-width: 426px) and (max-width: 430px) {
    .assistance-table td:first-child {
        width: 350px !important;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .btnFormat {
        width: 150px; 
    }
}


