:root {
    --global-blue-color: #172B44;
    --topheader-height: 60px;
    --nav-width: 240px;
}


/* * {
  outline: 1px solid red !important;
} */

body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    background-color: #F5F5F5;
    font-size: 16px;
    font-weight: 600;
    height: 100%;
    user-select: none;
    min-width: 330px;
}


/* :focus {
  text-decoration: underline;
} */

:focus {
    outline: thin dotted;
}

:focus {
    border-color: #000;
}

@media only screen and (max-width: 1500px) {
    .booklets-cards-container {
        grid-template: 'card-1 card-2 details-vew' 'card-3 card-4 details-vew' 'card-5 card-6 details-vew' 'card-7 card-8 details-vew' 'custom-card-1 custom-card-1 details-vew' 'custom-card-2 custom-card-2 details-vew' 'custom-card-3 custom-card-3 details-vew' auto / 190px 190px 422px !important;
    }
}

@media only screen and (min-width: 1200px) {
    .nav {
        visibility: visible !important;
    }
}

@media only screen and (max-width: 1200px) and (min-width: 550px) {
     :root {
        --nav-width: 65px;
    }
    .nav {
        visibility: visible !important;
    }
    .nav span {
        display: none;
    }
    .nav_link {
        padding: 10px !important;
    }
    .nav_link svg {
        margin: 7px !important;
        width: 25px !important;
        height: 25px !important;
    }
    .nav .copyright {
        left: 5px;
        font-size: 0.7rem;
    }
}

@media only screen and (max-width: 930px) {
    .select-tabs-buttons {
        display: none;
    }
    .select-tabs-options {
        display: flex !important;
        border: none;
        padding: 8px;
    }
    .booklets-cards-container {
        grid-template: 'card-1 card-2' 'card-3 card-4' 'card-5 card-6' 'card-7 card-8' 'custom-card-1 custom-card-1' 'custom-card-2 custom-card-2' 'custom-card-3 custom-card-3' 'details-vew details-vew'auto / 205px 205px !important;
    }
}


/* desktop-version */

@media only screen and (min-width: 730px) {
    .spa-container {
        margin: 5px;
        display: none;
    }
    .column-left>* {
        margin-right: 10px;
    }
    .column-right>* {
        margin-left: 10px;
    }
    .mobile-version {
        display: none !important;
    }
    #add_bank_view img {
        margin: 10px 20px 10px 0;
        height: 120px;
        width: 200px;
    }
    .statements-grid-view> :nth-child(1) {
        border-right: 1px solid #d8d8d8;
    }
    .statements-grid-view> :nth-child(2) {
        border-right: 1px solid #d8d8d8;
    }
    .statements-grid-view> :nth-child(3) {
        border-right: 1px solid #d8d8d8;
    }
  
}


/* mobile-version */

@media only screen and (max-width: 730px) {
    .spa-container {
        margin: 0px;
        display: none;
    }
    .data-option-button {
        display: block !important;
    }
    .desktop-version {
        display: none !important;
    }
    .nav .copyright {
        display: none !important;
    }
    .nav_link {
        padding-top: 5 !important;
        padding-bottom: 5 !important;
    }
    .body-header .right-header {
        display: none !important;
    }
    .white-tabs-buttons {
        display: flex;
        justify-content: space-evenly;
    }
    .white-tabs-buttons>* {
        width: 100%;
    }
    .tabs-buttons {
        display: flex;
        justify-content: space-evenly;
    }
    .tabs-buttons>* {
        width: 100%;
    }
    .row>* {
        display: block !important;
        width: 100% !important;
        margin-right: 0;
    }
    .row .flex-grow {
        margin-right: 0;
        margin-top: 20px;
    }
    .mobile-version-block {
        display: block !important;
        width: 100%;
    }
    .mobile-version-margin-top {
        margin-top: 10px !important;
    }
    #add_bank_view img {
        margin: 10px 20px 10px 0;
        height: 120px;
        width: 150px;
    }
    .statements-grid-view> :nth-child(1) {
        border-right: 1px solid #d8d8d8;
        border-bottom: 1px solid #d8d8d8;
    }
    .statements-grid-view> :nth-child(2) {
        border-bottom: 1px solid #d8d8d8;
    }
    .statements-grid-view> :nth-child(3) {
        border-right: 1px solid #d8d8d8;
    }
    .booklets-cards-container {
        grid-template: 'card-1 card-2' 'card-3 card-4' 'card-5 card-6' 'card-7 card-8' 'custom-card-1 custom-card-1' 'custom-card-2 custom-card-2' 'custom-card-3 custom-card-3' 'details-vew details-vew'auto / auto auto !important;
    }
    [data-alttext] > span {
        display: none;
    }

    [data-alttext]::before {
        content: attr(data-alttext);
    }
    .addButtonDiv {
        margin-bottom: 20px;
        float: right;
        margin-top: 10px;
    }

}

@media only screen and (max-width: 550px) {
     :root {
        --nav-width: 0;
    }
    .nav {
        visibility: hidden;
        width: 300px !important;
    }
    .nav-button {
        visibility: visible !important;
    }
}

@media only screen and (max-width: 445px) {
    .statements-grid-view> :nth-child(1) {
        border-right: none;
        border-bottom: 1px solid #d8d8d8;
    }
    .statements-grid-view> :nth-child(2) {
        border-bottom: 1px solid #d8d8d8;
    }
    .statements-grid-view> :nth-child(3) {
        border-right: none;
        border-bottom: 1px solid #d8d8d8;
    }
   
}

.body {
    margin: 0 auto;
}
.addButtonDiv {
    margin-bottom: 20px;
    float: right;
}
.login-container {
    margin: 0 auto;
    background-color: #FFFFFF;
    box-shadow: 0px 2px 8px rgba(128, 128, 128, 0.25);
    padding: 25px;
    text-align: left;
    min-width: 330px;
    border-radius: 3px;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
}

.recovery-container {
    margin: 0 auto;
    background-color: #FFFFFF;
    box-shadow: 0px 2px 8px rgba(128, 128, 128, 0.25);
    padding: 25px;
    text-align: left;
    width: 330px;
    height: 260px;
    border-radius: 3px;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
}

.input-border {
    -webkit-box-shadow: inset 0 0 1px grey;
    -moz-box-shadow: inset 0 0 1px grey;
    box-shadow: inset 0 0 1px grey;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}

input:not(.value-input) {
    -webkit-box-shadow: inset 0 0 1px grey;
    -moz-box-shadow: inset 0 0 1px grey;
    box-shadow: inset 0 0 1px grey;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    display: block;
    font-size: .875rem;
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
    width: 100%;
    padding: 0.6rem 0.7rem 0.5rem 0.7rem;
}



/* input::-webkit-calendar-picker-indicator {
  display: none;
} */

.drp-buttons {
    display: flex;
}

.drp-buttons button {
    margin: 5px;
    float: left;
    width: 30%;
}

.drp-buttons span {
    margin: 5px;
    display: block;
    width: 100%;
}

textarea {
    resize: none;
}

input[type="checkbox"] {
    color: #21344C;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    appearance: checkbox;
    display: inline-block;
    width: auto;
}

input[type="password"] {
    padding: 0.6rem 2.5rem 0.5rem 0.7rem;
}

input[type="submit"] {
    border: none;
    color: #EAEBEC;
    background-color: var(--global-blue-color);
    font-size: 1rem;
    padding: .5rem 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

input[type="submit"]:disabled {
    cursor: default;
}

input[type="submit"].loading {
    background: url(../graphics/spinner_loading.gif) no-repeat center center;
    color: rgba(255, 255, 255, 0);
}

input[type="submit"].success {
    background-color: green;
}

input[type="submit"].error {
    background-color: red;
}

input:disabled {
    background-color: #B0BEC5;
}

.forgot_password {
    float: right;
    font-size: .8rem;
}

.signup_link {
    color: #556376;
    text-align: center;
    font-size: .875rem;
}

.login-body label {
    color: #5A5A5A;
    font-size: .875rem;
}

label[for=rememberMe] {
    color: #556376;
}

.paragraph {
    display: inline-block;
    color: #5A5A5A;
    font-size: .8.5rem;
    margin-bottom: 1.5rem;
}

h4 {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

h5,
h3 {
    color: #3A3A3A;
    margin-top: 0.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    -ms-box-sizing: border-box !important;
    box-sizing: border-box !important;
}


/*  Dashboard CSS ***** */

.body-header {
    position: fixed;
    z-index: 3;
    top: 0;
    height: var(--topheader-height);
    width: 100%;
    padding: 5px 20px 5px 20px;
    box-sizing: border-box;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-header {
    width: 100%;
    padding: 0px 10px;
    margin: 10px 0px;
    box-sizing: border-box;
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.full-width {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.right-header {
    position: relative;
    float: right;
    display: flex;
    align-items: center;
    margin: 10px;
}

.left-header {
    position: relative;
    float: left;
    display: flex;
    align-items: center;
    margin: 10px;
}

.float-left {
    position: relative;
    float: left;
    align-items: center;
}

.nav {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    position: fixed;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
    padding-top: 15px;
    top: var(--topheader-height);
    left: 0;
    bottom: 0;
    width: var(--nav-width);
    background: var(--global-blue-color);
    z-index: 3;
}

.nav::-webkit-scrollbar {
    display: none;
}

.nav_link {
    font-size: 0.9rem;
    display: block;
    text-decoration: none;
    color: #eeeeee!important;
    font-weight: normal;
    padding: 10px;
    display: flex;
    align-items: center;
}

.nav_link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.nav_link.active {
    background: rgba(255, 255, 255, 0.10);
    color: #ECD2AE;
}

.nav_link.active svg path {
    fill: #ECD2AE;
}

.nav_link svg {
    margin: 10px 20px 10px 10px;
    color: white;
    width: 20px;
    height: 20px;
}

.nav_link svg path {
    fill: white;
}

.hover-pointer {
    cursor: pointer;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(128, 128, 128, 0.75);
    margin: 5px;
}

.main-view {
    margin: var(--topheader-height) 0 0 var(--nav-width);
    padding: 5px;
}

.container {
    display: none;
}

#helpicon,
#profile :hover {
    cursor: pointer;
}

#profile {
    display: flex;
    align-items: center;
    color: #21344C;
}

.icon {
    border-radius: 50%;
    width: 32px;
    display: inline-block;
}

.mini-icon {
    margin-right: 10px;
    font-size: 14px;
}

.medium-svg {
    font-size: 23px;
}

.fa-check-circle {
    color: black;
}

.clickable {
    cursor: pointer;
}

.fa option {
    font-weight: 900;
}

.big-icon {
    font-size: 20px;
}

.red-icon {
    color: #f85a5a;
}

.green-icon {
    color: green;
}

.grey-icon {
    color: grey;
}

table i:hover {
    cursor: pointer;
}

#profile_image {
    border-radius: 50%;
    width: 32px;
    display: inline-block;
    margin: 15px;
}

.pages-numbers {
    color: #828e9e;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.pages-numbers>*:hover:not(.disabled) {
    background: #d8d8d8;
    border-radius: 50%;
    cursor: pointer;
}

.pages-numbers>i {
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pages-numbers>* {
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pages-numbers .active {
    background: #EAD2AE;
    border-radius: 50%;
    cursor: default;
}


/* ***** */


/*  DropDown CSS ***** */

#profiledd .dropdown {
    left: 35%;
    top: 50px;
}

#helpdd .dropdown {
    left: -23%;
    top: 50px;
}

.wrapper-dropdown-3 .dropdown {
    /* Size & position */
    width: 140px;
    position: absolute;
    right: 0;
    padding-inline-start: 0;
    /* Styles */
    background: white;
    border-radius: inherit;
    border: 1px solid rgba(0, 0, 0, 0.17);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    font-weight: normal;
    list-style: none;
    z-index: 20;
    /* Hiding */
    display: none;
    pointer-events: none;
}

.wrapper-dropdown-3 .dropdown li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #8aa8bd;
    border-bottom: 1px solid #e6e8ea;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1);
}

.wrapper-dropdown-3 .dropdown li img {
    margin-right: 5px;
    float: left;
    color: inherit;
}

.wrapper-dropdown-3 .dropdown li:first-of-type a {
    border-radius: 7px 7px 0 0;
}

.wrapper-dropdown-3 .dropdown li:last-of-type a {
    border-radius: 0 0 7px 7px;
    border: none;
}


/* Hover state */

.wrapper-dropdown-3 .dropdown li:hover a {
    background: #f3f8f8;
}

.wrapper-dropdown-3 .dropdown:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 100%;
    left: 50%;
    border-width: 0 6px 6px 6px;
    border-style: solid;
    border-color: #fff transparent;
}

.wrapper-dropdown-3 .dropdown:before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 100%;
    left: 48%;
    border-width: 0 8px 8px 8px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.1) transparent;
}

.wrapper-dropdown-3.active .dropdown {
    display: block;
    pointer-events: auto;
}

.dropdown img {
    margin: 0;
    color: white;
    width: 16px;
    height: 16px;
}


/* .dropdown a{
  color: red;
  display: flex;
  align-items: center;
  justify-content: center;
} */


/* ***** */


/*  Dashboard Container CSS ***** */

.spa-container .top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
}

.flex {
    display: flex;
    align-items: center;
}

.column {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.tabs_views.column {
    overflow: auto;
    height: 500px;
}

.flex-grow {
    flex-grow: 100;
}

.no-margin {
    margin: 0 !important;
}

.padding {
    padding: 10px;
}

.padding-top-10 {
    padding-top: 10px;
}

.margin-10 {
    margin: 10px !important;
}

.margin {
    margin: 20px;
}

.margin-5 {
    margin: 5px !important;
}

.margin-left-10 {
    margin-left: 10px;
}

.margin-left-20 {
    margin-left: 20px;
}

.margin-right-20 {
    margin-right: 20px;
}

.margin-right-10 {
    margin-right: 10px;
}

.margin-top {
    margin-top: 20px !important;
}

.margin-bottom {
    margin-bottom: 20px !important;
}

.margin-bottom-10 {
    margin-bottom: 10px !important;
}

.inline-block {
    display: inline-block;
    align-items: center;
}

.space-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.space-evenly {
    display: flex;
    justify-content: space-evenly;
}

.block {
    display: block;
    align-items: center;
}

.add-grey-button {
    background-color: transparent;
    border: none;
    height: 40px;
    color: var(--global-blue-color);
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
}

.add-grey-button:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.add-blue-button {
    background-color: var(--global-blue-color);
    border: none;
    height: 40px;
    color: white!important;
    padding: 10px 18px;
    margin: 1px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    text-align: center;
    display: flex;
}

.white-button {
    background-color: white;
    border: none;
    height: 40px;
    color: black;
    padding: 10px 18px;
    margin: 1px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
}

.add-blue-button:hover {
    background-color: black;
}

.chart-grid-view {
    display: grid;
    box-sizing: border-box;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    grid-gap: 10px;
    align-content: center;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

#ColumnChartContainer {
    height: 300px;
}

#LineChartContainer {
    height: 300px;
}

.header-grid-view {
    display: grid;
    box-sizing: border-box;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-auto-columns: fit-content(1em);
    grid-gap: 10px;
    align-content: center;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.statements-grid-view {
    display: grid;
    box-sizing: border-box;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    align-content: center;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.grid-view {
    display: grid;
    box-sizing: border-box;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 10px;
    align-content: center;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.align-right {
    text-align: right;
    justify-content: flex-end;
    align-items: flex-end;
    right: 0;
}

.data-card {
    width: 100%;
    display: flex;
    align-items: center;
    background-color: white;
}

.white-background {
    background-color: white;
}

.text-card {
    padding: 20px;
    background-color: white;
}

progress {
    /* Reset the default appearance */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Get rid of default border in Firefox. */
    border: none;
    border-radius: 7px;
    height: 4px;
    width: 80%;
}

progress::-webkit-progress-bar {
    background-color: #e4e4e4b3;
    border-radius: 7px;
}


/* For firefox */

progress.red::-moz-progress-bar {
    background-color: #E53935;
    border-radius: 5px;
}

progress.yellow::-moz-progress-bar {
    background-color: #FDD835;
    border-radius: 5px;
}

progress.green::-moz-progress-bar {
    background-color: #00C853;
    border-radius: 5px;
}


/* *** */

progress.red::-webkit-progress-value {
    background-color: #E53935;
    border-radius: 5px;
}

progress.yellow::-webkit-progress-value {
    background-color: #FDD835;
    border-radius: 5px;
}

progress.green::-webkit-progress-value {
    background-color: #00C853;
    border-radius: 5px;
}

.grey-text {
    color: grey;
    font-weight: normal;
}

.red-text {
    color: red;
}

.bold-text {
    font-weight: bold;
}

.bolder-text {
    font-weight: bolder;
}

.small-text {
    font-size: 12px;
}

.medium-text {
    font-size: 14px;
}

.big-text {
    font-size: 16px;
}

.grey-blue-text {
    color: #49586C;
    font-weight: normal;
}

.grey-background {
    background-color: #F5F5F5;
}

.blue-text {
    color: var(--global-blue-color) !important;
    font-weight: normal;
}

.little-grey-text {
    color: #424242;
    font-weight: bold;
}

.vertical {
    float: left;
    clear: left;
    margin: 0.2rem;
}

.center {
    align-content: center;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.data-card>svg {
    margin: 0.5rem;
}

.box-shadow {
    box-shadow: rgba(0, 0, 0, 0.1) -4px 9px 25px -6px;
    border-radius: 3px;
}

.box-margin {
    margin: 10px;
}

.padding-20 {
    padding: 20px !important;
}

.white-box-padding {
    padding: 20px;
    background-color: white;
}


/*  Search Box CSS ***** */


/* ***** */

.search-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-container .search {
    z-index: 1;
    position: relative;
    display: inline-block;
    height: 50px;
    width: 50px;
    vertical-align: middle;
    right: -55px;
}

.search-container .search:hover {
    cursor: pointer;
}

.search-container .search::before {
    content: "";
    position: absolute;
    top: 36px;
    right: 0;
    bottom: 0;
    left: 28px;
    width: 12px;
    height: 2px;
    background: grey;
    transform: rotate(45deg);
}

.search-container .search::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 0;
    bottom: 0;
    left: 8px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid grey;
}

.search-container input {
    position: relative;
    right: 20px;
    width: 50px;
    height: 35px;
    outline: none;
    color: grey;
    padding: 0;
    margin: 0;
    opacity: 0;
    z-index: 2;
    font-weight: bolder;
    letter-spacing: 0.1em;
    box-sizing: border-box;
}

.search-container input:hover {
    cursor: pointer;
}

.search-container.active input {
    min-width: 150px;
    width: 100%;
    opacity: 1;
    cursor: text;
    padding: 0 35px 0 10px;
}

.search-container .close {
    z-index: 2;
    position: relative;
    height: 50px;
    width: 50px;
    vertical-align: middle;
    right: 65px;
    visibility: hidden;
}

.search-container .close:hover {
    cursor: pointer;
}

.search-container.active input~.close {
    right: 65px;
    z-index: 6;
    visibility: visible;
}

.search-container.active input~.close::before {
    content: "";
    top: 25px;
    left: 15px;
    width: 20px;
    position: absolute;
    height: 2px;
    background: grey;
    transform: rotate(45deg);
}

.search-container.active input~.close::after {
    content: "";
    top: 25px;
    left: 15px;
    width: 20px;
    height: 2px;
    background: grey;
    transform: rotate(-45deg);
    position: absolute;
}

.search-container .input-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-container input::placeholder {
    color: grey;
    opacity: 0.5;
    font-weight: bold;
}

.search-container .search-icon {
    margin-left: 20px;
}


/* ***** */


/*  Table CSS ***** */

table {
    width: 100%;
    border-collapse: collapse;
}

.no-border th,
.no-border td {
    height: 20px;
    padding: 5px 5px 5px 0px;
    border: none;
    cursor: pointer;
}

th,
td {
    height: 35px;
    padding: 5px 5px 5px 20px;
    font-size: 0.8rem;
    font-weight: normal;
    border-bottom: 3px solid #F4F4F4;
}

th {
    height: 30px;
    font-weight: bold;
    text-align: left;
    background-color: #FFF8ED;
}

.recent-grants-mobile-cell {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    font-size: 0.9rem;
}


/* ***** */


/*  ContactUs CSS ***** */

.center-popup {
    position: absolute;
    background-color: white;
    padding: 0 20px 0 20px;
    margin: auto;
    max-height: 100%;
    max-width: 100%;
    overflow: auto;
}

.popup-view {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    position: fixed;
    background-color: rgb(113, 125, 144, .95);
    overflow: auto;
    z-index: 10;
}

.popup-close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 30px;
}

.popup-view form {
    min-width: 250px;
}

.popup-view textarea {
    height: 95px;
    resize: none;
    -webkit-box-shadow: inset 0 0 1px grey;
    -moz-box-shadow: inset 0 0 1px grey;
    box-shadow: inset 0 0 1px grey;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    display: block;
    font-size: .875rem;
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
    width: 100%;
    padding: 0.6rem 0.7rem 0.5rem 0.7rem;
}

.popup-view label,
.popup-view span {
    color: #5A5A5A;
    font-size: .875rem;
}

.popup-view #submit {
    text-decoration: none;
    width: 100%;
    text-align: center;
    display: block;
    background-color: #FFBC00;
    color: #fff;
    border: 1px solid #FFCB00;
    padding: 10px 0;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
}

button {
    width: 100%;
    height: 35px;
    border: none;
    color: #EAEBEC;
    background-color: var(--global-blue-color);
    font-size: 1rem;
    padding: .5rem 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.transparent-button {
    width: 100%;
    height: 35px;
    border: none;
    color: black;
    background-color: transparent;
    font-size: 1rem;
    padding: .5rem 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

button:focus {
    outline: none;
}

.red-button {
    width: 100%;
    height: 35px;
    border: none;
    color: red;
    background-color: transparent;
    font-size: 1rem;
    padding: .5rem 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
}


/* ***** */


/*  Tabs CSS ***** */

.tabs-buttons {
    width: 100%;
    background-color: #F5F5F5;
}

.tab-button {
    display: inline-flex;
    justify-content: center;
    background-color: transparent;
    border: none;
    font-size: 0.93rem;
    color: grey;
    padding: 15px;
    font-weight: bold;
    text-align: center;
    align-items: center;
}

.tab-button.active {
    background-color: white;
    color: black;
    box-shadow: rgba(0, 0, 0, 0.1) -5px -5px 25px -6px;
}

.white-tabs-buttons {
    width: 100%;
    background-color: white;
    white-space: nowrap;
}

.white-tab-button {
    display: inline-flex;
    justify-content: center;
    background-color: transparent;
    border: none;
    font-size: 0.93rem;
    color: grey;
    padding: 13px;
    font-weight: bold;
    text-align: center;
    align-items: center;
    z-index: 1;
    margin-bottom: -1px;
}

.white-tab-button.active {
    border: 2px solid #c0c0c0;
    color: black;
    border-bottom: 5px solid white;
    border-radius: 3px;
    position: relative;
}

.select-tabs-buttons {
    -webkit-box-shadow: inset 0px 0px 0px 1px #c0c0c0;
    -moz-box-shadow: inset 0px 0px 0px 1px #c0c0c0;
    box-shadow: inset 0px 0px 0px 1px #c0c0c0;
    border-radius: 3px;
}

.select-tab-button {
    display: inline-flex;
    font-size: 14px;
    color: grey;
    padding: 13px;
    font-weight: normal;
    text-align: center;
    align-items: center;
    height: 5px;
}

.select-tab-button.active {
    background-color: var(--global-blue-color);
    color: white;
}

.hr-line {
    border: 0;
    width: 100%;
    height: 1px;
    margin: 0;
    background: #d8d8d8;
}

.tabs-line {
    height: 1;
    position: relative;
    z-index: 0;
    top: -10px;
    background-color: #c0c0c0;
    color: #c0c0c0;
    background: #c0c0c0;
}

.column-left {
    float: left;
    width: 50%;
}

.column-right {
    float: right;
    width: 50%;
}

.half-width {
    width: 50%;
}


/* Clear floats after the columns */

.row:after {
    content: "";
    display: table;
    clear: both;
}

.nowrap {
    white-space: nowrap;
}

input[type=text] {
    margin: 10px 0 10px 0;
}

input[type=number] {
    margin: 10px 0 10px 0;
}

input[type=date] {
    margin: 10px 0 10px 0;
    padding-top: 6px;
    padding-bottom: 5.5px;
    font-size: 16px;
}

.input-box {
    align-content: center;
    align-items: center;
}

.input-box input:not(.padding-left) {
    padding-right: 35px;
}

.input-box input.input-month {
    padding-right: 60px;
}

.padding-left {
    padding-left: 35px !important;
}

.input-box .mini-icon {
    position: relative;
    left: -30px;
    width: 0;
    margin: 0;
}

.input-box .left-icon {
    position: relative;
    right: -10px;
    width: 0;
}

.input-box .right-text {
    position: relative;
    font-size: 14px;
    left: -55px;
    width: 0;
    color: #6E7A8A;
}

.float-right {
    position: relative;
    float: right;
    overflow: hidden;
}


/* ***** */


/*  Contributions CSS ***** */

.grey-text {
    color: grey;
}


/* ***** */


/*  Add Organization Popup CSS here ***** */

#add_organization_view form {
    max-width: 600px;
}

#choose_add_organization_popup {
    min-width: 300px;
    padding: 0;
    padding-top: 40px;
    white-space: nowrap;
    font-size: 1rem;
}


/* ***** */


/*  Add banking Popup CSS here ***** */

#add_bank_view form {
    max-width: 550px;
    white-space: nowrap;
}

.cancel_button {
    color: var(--global-blue-color);
    background-color: white;
    border: 1px solid var(--global-blue-color);
    border-radius: 3px;
    text-align: center;
    font-size: 1rem;
    padding: .5rem 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.yellow-info {
    display: none;
    padding: 7px;
    background-color: #FFF8ED;
    border: 1px solid #FFF8ED;
    font-size: 12px;
    font-weight: bold;
}

.yellow-info.active {
    display: block;
}

.yellow-info>span {
    padding: 3px;
}


/* ***** */


/*  Add Credit Card Popup CSS here ***** */

#add_creditcard_view form {
    max-width: 300px;
    min-width: 300px;
}

.date-option-select {
    padding: 8px;
    font-size: 14px;
}

.date-picker-button {
    white-space: nowrap;
}

.option-select {
    padding: 8px;
    font-size: 14px;
    width: 100%;
}


/* ***** */


/*  Add Credit Card Popup CSS here ***** */

#recent_grants_filter_view form {
    max-width: 300px;
    min-width: 300px;
}


/* ***** */


/*  Edit profile Popup CSS here ***** */

#edit_profile_view form {
    max-width: 300px;
    min-width: 300px;
}


/* ***** */


/*  Change Password Popup CSS here ***** */

#change_password_view form {
    max-width: 300px;
    min-width: 300px;
}


/* ***** */


/*  Change Password Popup CSS here ***** */

#grant_successfully_popup {
    max-width: 500px;
    min-width: 500px;
}


/* ***** */


/*  Custom Select DropDown CSS here ***** */

.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #b6b6b6;
}

.custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px 0 15px;
    font-size: 14px;
    font-weight: 500;
    color: #3b3b3b;
    height: 33px;
    line-height: 33px;
    background: #ffffff;
    cursor: pointer;
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: -1px;
    right: -1px;
    border: 1px solid #b6b6b6;
    border-top: 0;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 2;
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.custom-option {
    position: relative;
    display: block;
    padding: 0 10px 0 15px;
    border-top: 1px solid #b6b6b6;
    font-size: 14px;
    font-weight: 500;
    color: #3b3b3b;
    line-height: 33px;
    cursor: pointer;
}

.custom-option:hover {
    cursor: pointer;
    background-color: #b2b2b2;
}

.custom-option.selected {
    color: #ffffff;
    background-color: var(--global-blue-color);
}

.custom-option.custom-option-button {
    background-color: #F5F5F5;
    font-weight: bold;
    color: var(--global-blue-color);
    border-top: 1px solid #b6b6b6;
}

.arrow {
    position: relative;
    height: 7px;
    width: 7px;
}

.arrow::before,
.arrow::after {
    content: "";
    position: absolute;
    bottom: 0px;
    width: 0.07rem;
    height: 100%;
}

.arrow::before {
    left: -2.3px;
    transform: rotate(-45deg);
    background-color: #394a6d;
}

.arrow::after {
    left: 2.3px;
    transform: rotate(45deg);
    background-color: #394a6d;
}

.open .arrow::before {
    left: -2.3px;
    transform: rotate(45deg);
}

.open .arrow::after {
    left: 2.3px;
    transform: rotate(-45deg);
}


/* ***** */


/*  Booklets buy input CSS ***** */

.booklets-cards-container {
    display: grid;
    grid-gap: 10px;
    white-space: nowrap;
    grid-template: 'card-1 card-2 card-3 card-4 details-vew' 'card-5 card-6 card-7 card-8 details-vew' 'custom-card-1 custom-card-1 custom-card-2 custom-card-2 details-vew' 'custom-card-3 custom-card-3 auto auto details-vew' auto / 190px 190px 190px 190px 422px;
}

.card-1 {
    grid-area: card-1;
}

.card-2 {
    grid-area: card-2;
}

.card-3 {
    grid-area: card-3;
}

.card-4 {
    grid-area: card-4;
}

.card-5 {
    grid-area: card-5;
}

.card-6 {
    grid-area: card-6;
}

.card-7 {
    grid-area: card-7;
}

.card-8 {
    grid-area: card-8;
}

.custom-card-1 {
    grid-area: custom-card-1;
}

.custom-card-2 {
    grid-area: custom-card-2;
}
.custom-card-3 {
    grid-area: custom-card-3;
}

.order-details-view {
    grid-area: details-vew;
}

.value-button {
    display: inline-block;
    width: 0px;
    height: 40px;
    text-align: center;
    vertical-align: middle;
    padding: 12px 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: var(--global-blue-color);
}

.value-button:hover {
    cursor: pointer;
}

.decrease {
    position: relative;
    left: 25px;
}

.increase {
    position: relative;
    right: 30px;
}

input.value-input {
    text-align: center;
    border: none;
    border: 1px solid #ddd;
    padding-right: 40px;
    padding-left: 40px;
    width: 140px;
    height: 40px;
}

input.value-input::-webkit-inner-spin-button,
input.value-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.order-details-view table tr td {
    padding: 5px 5px 5px 5px;
}

/* ***** */

/*  Profile info minimum height ***** */
.span-hight span:empty::before {
    content: "\200b"; /* unicode zero width space character */
}
/* ***** */

/* Restricted account banner*/
.restricted-account {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px 20px;
    justify-content: space-between;
    align-items: center;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: center;
}
/* ***** */
