
@font-face {
    font-family: "Montserrat", sans-serif;
    src: url('fonts/Montserrat-Regular.ttf');
    font-weight: 400;
    font-style: normal;
}


.montserrat-regular {
    font-family: "Montserrat", sans-serif;
}

html, body {
    font-family: 'Montserrat',sans-serif;
    height: 100%
}

body {
    display: flex;
    flex-direction: column;
}

/*.header + .page {
    padding-top: 95.55px;
}*/

@media (max-width: 575.98px) {
    /*.header img {
        width: 160px;
    }*/

    /*.header .text-truncate {
        max-width: 150px;
    }*/

    /*.header .bi-person-circle {
        display: none;
    }*/
}


a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #243a8e;
    border-color: #1d2e71;
}

    .btn-primary:hover, .btn-primary:active, btn-primary:focus-visible {
        background-color: #152255 !important;
        border-color: #0e1738 !important;
    }

.text-primary {
    color: #152255 !important;
}

.page-item:not(.active) .page-link:hover {
    color: #0e1738;
}

.pagination {
    --bs-pagination-color: #152255;
    --bs-pagination-active-bg: #152255;
    --bs-pagination-active-border-color: #0e1738;
}


.bg-primary {
    background-color: #243a8e !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h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DQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}


.adapt-left-background {
    background: url(images/banner.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
}

.bg-grey-img {
    background: url(images/bg-grey-img.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
}

/*.toast {
    display: block !important;
}*/

#otp input {
    width: 45px;
    height: 40px;
}

@media (max-width: 991.98px) {
    .verify-email .card-body {
        box-shadow: unset !important;
        background: url(images/bg-grey-img.jpg) no-repeat;
        background-size: cover;
        background-position: center center;
    }

    .verify-email #otp input {
        width: 30px;
        height: 30px;
        padding: .375rem 0rem
    }

    .status-code .error {
        font-size: 125px;
    }

    .match-list .table-responsive + div {
        flex-direction: column;
        justify-content: center !important
    }
}

.status-code .error {
    font-size: 150px;
    color: #008B62;
    text-shadow: 1px 1px 1px #881d27, 2px 2px 1px #881d27, 3px 3px 1px #881d27, 4px 4px 1px #881d27, 5px 5px 1px #881d27, 6px 6px 1px #881d27, 7px 7px 1px #881d27, 8px 8px 1px #881d27, 25px 25px 8px rgba(0,0,0, 0.2);
}

header {
    padding-top: 95.55px;
}
nav.header {
    height: 95.55px;
}


.hiddenRow {
    padding: 0 !important;
}


.sidebar-matchlist h2 button {
    background: #f2f2f2 !important;
}

    .sidebar-matchlist h2 button:focus {
        box-shadow: 0 0 0 0.25rem rgba(194, 194, 194, 1)
    }

.adapt-match .custom-radio input[type="radio"] {
    visibility: hidden; /* 1 */
    height: 0; /* 2 */
    width: 0; /* 2 */
}

.adapt-match .custom-radio label {
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    background-color: transparent;
    font-size: 0.75rem;
    color: #243a8e;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    user-select: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    border: 1px solid #1d2e71;
}

    .adapt-match .custom-radio label span {
        font-size: 0.625rem;
    }

.adapt-match .custom-radio input[type="radio"]:checked + label {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.adapt-match .custom-radio input[type="radio"]:checked + label {
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    background-color: #243a8e;
    font-size: 0.75rem;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    user-select: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.match-list table th {
    background-color: #F4F4FB;
}

.welcome-adaptAbilities .modal-title {
    padding-right: 1rem;
}

@media (min-width: 1025px) {
    .match-list table th {
        padding: 19px 8px;
    }

    .match-list {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

.match-list tbody tr:nth-of-type(even) {
    background: #FAFAFC;
}

.match-list .table-light {
    --bs-table-bg: none;
}

@media (max-width: 1024.98px) {
    /* Force table to not be like tables anymore */
    .match-list table, .match-list table thead, .match-list table tbody, .match-list table th, .match-list table td, .match-list table tr {
        display: block;
    }

    .match-list .table > :not(caption) > * > * {
        padding: 0.25rem 0.5rem
    }

    .match-list .table-pagination {
        padding: 0px 0.75rem
    }

    .match-list .table-header {
        background: #243a8e;
        color: #fff;
        margin: 0;
        width:100%;
        /* border-top-left-radius: 1.25rem;
        border-top-right-radius: 1.25rem;*/
        padding: 1rem;
    }

    .match-list .table-header {
        position: fixed;
        top: 95.55px;
        z-index: 999;
        right: 0;
        left: 0;
    }

        .match-list .table-header .d-grid > button {
            background: #f8f9fa;
            color: #000;
        }

    .match-list .table-body {
        padding-left: 0;
        padding-right: 0;
    }

    .match-list .table-header .d-grid > button:hover {
        background-color: #f8f9fa !important;
    }

    .match-list .table-header .d-grid > button:hover {
        background-color: #f8f9fa !important;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .match-list table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .match-list table tr {
        margin: 0 0 1rem 0;
    }


    .match-list table td {
        /* Behave  like a "row" */
        position: relative;
        padding-left: 70%;
        text-align: right;
    }

        .match-list table td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */

            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }

    .match-list .custom-checkbox {
        display: flex !important;
    }
    /*
		Label the data
        You could also use a data-* attribute and content for this. That way "bloats" the HTML, this way means you need to keep HTML and CSS in sync. Lea Verou has a clever way to handle with text-shadow.
		*/
    .match-list table td:nth-of-type(1):before {
        content: "Checkbox";
        font-weight: 800;
        text-align: left !important;
    }

    .match-list table td:nth-of-type(3):before {
        content: "Family ID #";
        font-weight: 800;
        text-align: left !important;
    }

    .match-list table td:nth-of-type(4):before {
        content: "Distance";
        font-weight: 800;
        text-align: left !important;
    }

    .match-list table td:nth-of-type(5):before {
        content: "Hours/week";
        font-weight: 800;
        text-align: left !important;
    }

    .match-list table td:nth-of-type(6):before {
        content: "Age";
        font-weight: 800;
        text-align: left !important;
    }

    .match-list table td:nth-of-type(7):before {
        content: "Gender";
        font-weight: 800;
        text-align: left !important;
    }

   /* .match-list table td:nth-of-type(8):before {
        content: "Requires Driving";
        font-weight: 800;
        text-align: left !important;
    }*/

    .match-list table td:nth-of-type(8):before {
        content: "High Support Needs";
        font-weight: 800;
        text-align: left !important;
    }

    /*.match-list table td:nth-of-type(8):before {
        content: "More Detail";
        font-weight: 800;
        width: 100%;
        text-align:center;
    }*/

    .match-list table td:nth-of-type(9) {
        padding-left: 7px;
    }

        .match-list table td:nth-of-type(9) .d-grid {
            /*margin-top: 40px;*/
            width: 100%;
        }

            .match-list table td:nth-of-type(9) .d-grid button {
                width: 100%;
            }
}

@media (max-width: 575.98px) {
    /* .match-list table td:before {
        text-overflow: ellipsis;
        overflow: hidden;
        width: 130px;
        direction: ltr;
        white-space: nowrap;
    }*/

    .match-list nav .pagination-sm {
        --bs-pagination-padding-y: 0.25rem;
        --bs-pagination-padding-x: 0.375rem;
        --bs-pagination-font-size: 0.75rem;
    }
}

.match-list table thead tr th:nth-of-type(2){
    display:none;
}

/*.match-list table thead tr th:nth-of-type(3) i {
    display: none;
}*/

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}
