:root {
    --primary-color: #B42C40;
    --divider-color: #79797A;
}

html, body {
    height: 100%;
    overflow: scroll !important;
}

main {
    flex: 1;
}

button {
    display: block !important;
    margin: 15px auto 15px auto !important;
    width: 30% !important;
    background-color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
}

p {
    font-family: inherit;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    text-rendering: optimizeLegibility;
}

h1 {
    font-size: 2.5rem;
}

h4 {
    font-size: 1.25rem !important;
    font-weight: bold;
}

select {
    appearance: auto !important;
}

ul li::marker {
    color: var(--primary-color); /* Changes the color of the bullet */
}

label {
    display: inline-block;
    font-size: 1rem !important;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    text-align: left;
    width: 150px;
    width: auto;
    padding: 0px;
    vertical-align: center;
}

legend {
    font-size: 1rem !important;
}

hr:not([size]) {
    height: var(--divider-icon-height);
    background-color: transparent;
    margin-bottom: 8px;
}

.container {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.info-box {
    padding: 8px 12px 8px 12px;
    border-radius: 5px;
    font-size: 1.3rem;
    border: 1px dashed #707271;
}

.footer {
    flex-shrink: 0;
}

.gls-divider-icon {
    filter: brightness(0.3);
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.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;
}

input[type="file"] {
    color: rgba(0, 0, 0, 0);
}

input[type="checkbox"] {
    accent-color: var(--primary-color) !important;
}

input[type="submit"] {
    margin: auto !important;
    width: 55% !important;
}

textarea {
    width: 100%;
    min-height: 325px !important;
}

A:link {
    text-decoration: underline;
    /*font-size: 12px;*/
}

A:visited {
    text-decoration: none;
}

A:active {
    text-decoration: none
}

A:hover {
    text-decoration: underline;
    color: red;
}

#memIdStatus {
    font-weight: bold;
    color: rgb(255, 0, 0);
    position: absolute;
    margin: 6px 0px 6px 0px;
    z-index: 100;
    left: 92%;
}

.form-control {
    border: 1px solid #707271 !important;
}

.cancel-button {
    margin: 15px auto 15px auto !important;
    width: 12.5% !important;
    float: left;
    background-color: gray !important;
    border: 1px solid gray !important;
}

.ui-dialog {
    z-index: 1100 !important;
}

.ui-dialog-buttonset > button {
    width: 75px;
    min-width: 65px !important;
    text-align: center;
    color: white;
    border: none !important;
    border-radius: 0.375rem !important;
}

.ui-dialog-titlebar > button {
    margin: 0px !important;
    float: right;
    width: 25px !important;
    padding: 0px !important;
    color: black;
    background-color: transparent !important;
    border: none !important;
}

.bi-x::before {
    font-size: 1.5rem;
}

.fullWidth {
    width: 100% !important;
    padding: .3em;
}

.deleteButtonClass {
    float: right;
}

.longDialogButton {
    width: 45% !important;
    padding: 10px;
}

.leftButton {
    float: left;
}

.rightButton {
    float: right;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: lightgray;
}

fieldset {
    margin: 0px;
}

.subtext {
    margin-top: 0px !important;
    margin-bottom: 4px !important;
    font-style: italic;
}

.prov-network-checkbox {
    display: block;
    width: 30px;
    height: 30px;
    vertical-align: middle;
    flex-basis: auto;
    flex-grow: 0;
    flex-shrink: 0;
    align-self: flex-start;
}


.required-asterisk::after {
    content: " *";
    font-weight: bold;
    color: red;
}

.section-header {
    color: var(--primary-color) !important;
    margin-top: 8px;
}

.row {
    padding-top: 7px;
    margin-top: 12px;
    margin-bottom: 5px;
}

.vertical-bar {
    height: 16px;
    border-left: 2px solid #dedede;
    margin-left: 12px;
    margin-top: -7px;
    z-index: -1;
}

.question-set {
    border-bottom: 2px #E9EAEA solid;
    padding: 5px 15px 25px 15px;
    margin-bottom: 20px;
}

.inner-questions {
    border: 2px dashed #dedede;
    border-radius: 0px 5px 5px 5px;
    margin: 0px 5px 0px 5px;
    padding: 12px;
}

.inner-questions-flex {
    display: flex;
    border: 2px dashed #dedede;
    border-radius: 0px 5px 5px 5px;
    margin: 0px 5px 0px 5px;
    padding: 12px;
}

.file-chooser {
    position: relative;
    margin-bottom: 12px;
}

    .file-chooser > i {
        position: absolute;
        left: -16px;
        top: 24px;
        font-size: 1.5rem;
        color: #B42C40;
        cursor: pointer;
    }

.file-lister {
    border-left: solid 1px #BE0000;
}

.sucess-message {
    display: block;
    border: 1px solid #bbeebb;
    border-radius: 10px;
    margin: auto;
    background-color: #bbffbb;
    font-size: 1.2rem;
    color: #555;
    padding: 20px 10px 20px 10px;
    margin-top: 12px;
}

.error-message {
    display: block;
    background-color: rgba(180, 44, 64, .05);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    height: max-content;
    font-size: 1.15rem;
    padding: 15px;
}

.witness {
    border: 1px solid #9F9FA0;
    border-radius: 5px;
    margin: 0px 0px 16px 0px !important;
}

    .witness > i {
        float: right;
        position: relative;
        right: 16px;
        top: 24px;
        font-size: 1.25rem;
        line-height: 0px;
        color: #BE0000;
    }

        .witness > i:hover {
            cursor: pointer;
            color: #D86666;
        }

    .witness > .inner-questions {
        border: none !important;
    }

.delete-attachment {
    font-size: 1.25rem;
    line-height: 0px;
    color: #BE0000;
}

.delete-attachment:hover {
    cursor: pointer;
    color: #D86666;
}

.action-button {
    display: block !important;
    width: 55% !important;
    margin: 15px auto !important;
    border-width: 1px !important;
}

.btn-primary {
    background-color: #BE0000;
    border-color: #BE0000;
    color: #FFFFFF;
}

    .btn-primary:hover {
        background-color: #D86666;
        border-color: #D86666;
    }

.btn-secondary {
    background-color: #487C84;
    border-color: #487C84;
    color: #FFFFFF;
    width: 55%;
    margin: auto;
}

    .btn-secondary:hover {
        background-color: #91B0B5;
        border-color: #91B0B5;
    }
/*
    Glass Pane over Form on Submit
*/
#submit-glass {
    height: 100%;
    min-width: max-content;
    width: 100%;
    background-color: rgba(240, 240, 240, 0.5);
    z-index: 10;
    position: absolute;
}

/*
    Custom Spinner for Form Submit
*/
.submit-spinner {
    display: inline-block;
    position: relative;
    margin: auto;
    width: 100px;
    height: 100px;
}

    .submit-spinner div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 84px;
        height: 84px;
        margin: 8px;
        border: 8px solid var(--primary-color);
        border-radius: 50%;
        animation: submit-spinner 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: var(--primary-color) transparent transparent transparent;
    }

        .submit-spinner div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .submit-spinner div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .submit-spinner div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes submit-spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media print {
    body * {
        visibility: hidden;
    }

    #appealForm, #appealForm * {
        visibility: visible;
    }

    #appealForm {
        position: absolute; /* avoid layout shifts */
        left: 0;
        top: 0;
        width: 100%;
    }

    .new-section {
        page-break-after: always;
    }
}
