body {
    font-size: 14px;
    background: var(--legacy-page-bg);
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    display: flex;
    background-size: cover;
}

:root {
    touch-action: pan-x pan-y;
    height: 100%;
    --member-btn-disabled-text: rgb(158 153 139);
    --member-pay-box-accent: 159, 132, 59;
    --member-label-muted: rgba(99, 99, 99, 1);
    --member-dropdown-shadow: rgba(0, 0, 0, 0.2);
    --member-red-font: red;
    --member-green-font: green;
    --member-pay-box-shadow: rgba(0, 0, 0, 0.10);
}

a {
    text-decoration: none;

    &:hover {
        text-decoration: none;
        color: var(--accent);
    }
}

table {
    background-color: var(--white-fixed);
}


.line_break {
    white-space: normal;
}

.btn:hover {
    background-color: var(--gray-200);
}

.btn.dark_button:hover,
.btn.dark_button_not_hundred:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-on-accent);
}

.btn:disabled {
    background-color: var(--disabled);
    color: var(--member-btn-disabled-text);
    border-color: var(--member-btn-disabled-text);
}

/* over-ride the text decoration none */
.underline {
    text-decoration: underline;
}

.nowrap {
    white-space: nowrap;
}

.white_background {
    background: var(--white-fixed);
}

.brown_background {
    background-color: var(--accent);
    color: var(--text-on-accent);

    &:hover,
    &:focus {
        background-color: var(--accent);
        color: var(--text-on-accent);
    }
}

.brown_border {
    border: solid 1px var(--accent);
}

.no_left_rounding {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.no_right_rounding {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* top bar CSS */
.topMemberBar {
    justify-content: center;
    align-items: center;
    background: var(--color-light);
    height: 80px;
    display: flex;
    border-radius: 0 0 var(--control-bar-radius) var(--control-bar-radius);
}

.button_flip_mgr_mbr {
    background-color: var(--accent);
    color: var(--text-on-accent);
    opacity: 1;
    border: double 10px transparent;
    height: 60px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 12px;
}

/* END top bar css */

/* font color css */
.black_font {
    color: var(--color-dark);
}

.white_font {
    color: var(--white-fixed);
}

.faded_white_font {
    color: var(--faded-white);

    &:hover {
        color: var(--faded-white);
    }
}

.red_font {
    color: var(--member-red-font);
}

.green_font {
    color: var(--member-green-font);
}

.sixteen_font {
    font-size: 16px;
}

.twenty_font {
    font-size: 22px;
}

/* this is the main (brownish) color that is used as the motif in this application */
.brown_color {
    color: var(--accent);
}

.bold_font {
    font-weight: 600;
}

/* END font colors */

.header_look {
    font-family: var(--font-sans);
    font-weight: 950;
    font-size: 26px;
    color: var(--white-fixed);
}

/* checkboxes for mobile pages and regular tables */
.big-checkbox {
    width: 1rem;
    height: 1rem;
}

.bigger-checkbox {
    width: 1.5rem;
    height: 1.5rem;
}

.checkbox_color {
    accent-color: var(--accent);
    border-color: var(--accent);
}

/* END checkboxes for mobile pages and regular tables */

/* css to size the boxes around manual-card-entry and the logo box on the button to enter card details manually */
.pay_box {
    text-align: center;
    outline: 2px solid var(--accent);
    border-radius: 6px;
    cursor: pointer;
    background: var(--white-fixed);
    transition: box-shadow 150ms ease, transform 150ms ease, background-color 150ms ease;

    &:hover {
        box-shadow: 0 0 0 2px rgba(var(--member-pay-box-accent), 0.25), 0 6px 16px var(--member-pay-box-shadow);
        transform: translateY(-1px);
    }

    /* selected payment option box (credit / donors fund / pledger) */
    &.mgr-active-daf {
        background: rgba(var(--member-pay-box-accent), 0.2);
        box-shadow: 0 0 0 2px rgba(var(--member-pay-box-accent), 0.35), 0 8px 20px var(--shadow-stronger);
    }
}

/* START css used in the modals for login, registration and forgot pin pages */
.dark_button {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    background: var(--accent);
    border: 1px solid var(--accent);
    color: var(--text-on-accent);
    padding: 8px 32px;
    opacity: 1;
    border-radius: 6px;
    box-shadow: 0 4px 20px var(--shadow-card);
    white-space: nowrap;
    width: 100%;

    &:focus {
        background: var(--accent);
        border: 1px solid var(--accent);
        color: var(--text-on-accent);
        box-shadow: 0 4px 20px var(--shadow-card);
    }
}

.dark_button_not_hundred {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    background: var(--accent);
    border: 1px solid var(--accent);
    color: var(--text-on-accent);
    padding: 8px 32px;
    opacity: 1;
    border-radius: 6px;
    box-shadow: 0 4px 20px var(--shadow-card);
    white-space: nowrap;

    &:focus {
        background: var(--accent);
        border: 1px solid var(--accent);
        color: var(--text-on-accent);
    }

    &:disabled {
        opacity: .5;
        background: var(--accent);
    }
}

.white_button_not_hundred {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    background: var(--white-fixed);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 8px 32px;
    opacity: 1;
    border-radius: 6px;
    box-shadow: 0 4px 20px var(--shadow-card);
    white-space: nowrap;

    &:focus {
        background: var(--white-fixed);
        border: 1px solid var(--accent);
        color: var(--accent);
    }
}

.label_font {
    color: var(--member-label-muted);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 14px;
    opacity: 1;
    text-align: left;
}

.modal_title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 24px;
}

.log_reg_lost_form {
    background: var(--white-fixed);
    border-radius: 6px;
    box-shadow: 0 4px 20px var(--shadow-card);
    position: relative;
    min-height: 50vh;
    max-height: 60vh;
}

.member_confirm {
    background: var(--white-fixed);
    border-radius: 6px;
    box-shadow: 0 4px 20px var(--shadow-card);
    position: relative;
    height: 60vh;
}

.pin_sent_form {
    background: var(--white-fixed);
    border-radius: 6px;
    box-shadow: 0 4px 20px var(--shadow-card);
    position: relative;
    min-height: 35vh;
    max-height: 45vh;
}

/* END css for modals for login, registration, forgot pin */

.center_modal_title {
    text-align: center;
    width: 100%
}

.text_right {
    text-align: right;
}

/* START css for the member information view/edit and payment methods */

.link_font {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 14px;
}

.subheader_font {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 22px;
}

/* END css for the member information view/edit and payment methods */

.section_header {
    color: var(--heading-dark);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 26px;
    opacity: 1;
}

/* START how to show icon in a textbox on the left side */
.input-icon {
    position: relative;
}

.input-icon > i {
    position: absolute;
    display: block;
    transform: translate(0, -50%);
    top: 50%;
    pointer-events: none;
    width: 25px;
    text-align: center;
    font-style: normal;
}

.input-icon > input {
    padding-left: 25px;
    padding-right: 0;
}
/* END how to show icon in a textbox on the left side */

/* START - THIS IS FOR THE DROPDOWNS that appear on a page from an ellipsis */
/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white-fixed);
    border-radius: 6px;
    box-shadow: 0 8px 16px 0 var(--member-dropdown-shadow);
    z-index: 99;
    white-space: nowrap;
    text-align: left;
    right: 0;

    a {
        color: var(--color-dark);
        padding: 12px 16px;
        text-decoration: none;
        display: block;

        &:hover {
            background-color: var(--gray-400);
        }
    }
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.showdrop {
    display: inline-block;
}

/* END - THIS IS FOR THE DROPDOWNS that appear on a page from an ellipsis */

.main_start {
    position: fixed;
    top: 143px;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    overflow-y: auto;
    bottom: 60px;
}

.index_page {
    top: 143px;
    bottom: 60px;
    height: 90vh;
}

/* END bar and page height */

/* START Back link color */

.back_link_white {
    color: var(--white-fixed);

    &:hover {
        color: var(--white-fixed);
    }
}

/* END Back link color */

@media (max-width: 767px) {
    /* when the charity bar is removed, it removes the space it occupies, so need to bring down the bar to the right area for the main page buttons */
    .small_top_room {
        top: 100px;
    }

    /* button changes for small screen */
    .button_flip_mgr_mbr {
        height: 40px;
        width: 20px;
    }

    .dark_button_not_hundred {
        width: 100%;
    }

    .white_button_not_hundred {
        width: 100%;
    }

    /* END button changes for small screen */
    .header_look {
        font-weight: 700;
        font-size: 20px;
    }

    .topMemberBar {
        height: 60px;
        /*
        padding-left: 6px;
         */
    }

    .welcome_div {
        display: none;
    }

    .banquest_logo_hgt {
        height: 15px;
    }

    .main_start {
        top: 80px;
        overflow-y: auto;
        bottom: 60px;
    }

    .bottomMemberBar {
        font-size: 12px;
        position: fixed;
    }

    .dropdown-content {
        left: -90px;
    }

    /* end small screen changes */
}


