body {
    background-color: ghostwhite;
}

.bg-light {
    background-color: #00336a !important;
}


#navbarSupportedContent {
    flex-flow: row-reverse;
}


.header {
    text-align: right;
}


#top {
    display: -ms-flexbox;
    display: flex;
    justify-content: space-around;
    background-color: #00336a;
}


#signinButton {
    display: -ms-flexbox;
    display: flex;
    justify-content: space-around;
}


#title-block {
    font-size: 1em;
    margin-top: 30px;
    margin-bottom: 0px;
}


#footer {
    text-align: center;
    position: absolute;
}


.article {
    text-align: center;
}


.nav-item {
    text-align: right;
    color: white !important;
}


.card {
    margin-bottom: 25px;
    width: 18rem;
}

.survey {
    width: 72rem;
}


select {
    width: 500px;
    overflow: hidden;
    white-space: pre;
    text-overflow: ellipsis;
    -webkit-appearance: none;
}


.container {
    max-width: 100%;
}


#columns {
    margin-left: 10px;
    margin-right: 10px;
}

.content {
    margin: 20px;
}

.product {
    width: 48rem;
}

.long-product {
    width: 96rem;
}

.short-product {
    width: 38rem;
}

#JSONCatalog {
    margin-top: 0;
}

.table {
    /*margin: 0 auto;*/
    width: 100%;
    clear: both;
    border-collapse: collapse;
    table-layout: fixed;
    word-wrap: break-word;
}

th input {
    width: -webkit-fill-available;
}


/* Dropdown Button */
.dropbtn {
    background-color: #00336a;
    color: white;
    padding: 8px;
    font-size: 16px;
    border: none;
}

/* 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: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}

.btn {
    margin: 5px;
}

.mobile-ds-frame {
    display: none;
}

/*16x9 aspect ratio) https://blog.redpillanalytics.com/responsive-google-data-studio-inline-frame-embed-code-37037b3f4a78*/

.button-holder {
    top: 60px;
}

.sr_col {
    padding-right: 15px;
    padding-left: 15px;
}

.li_serial,
.dd_serial,
.rd_serial,
.at_serial {
    min-width: 18px;
    margin-top: 7px;
}

.line-item {
    margin-bottom: -5px;
}

.first_row.line-item {
    margin-bottom: 3px;
}


.table {
    font-size: 0.9em;
}


.dataTables_length,
.dataTables_length>label,
.dataTables_info,
.dataTables_filter,
.dataTables_filter>label {
    display: inline-flex;
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 0px !important;
}

.dttop {

    display: flex;
    justify-content: space-between;
}


.required .control-label:after {
    color: #d00;
    content: "*";
    margin-left: 8px;
}

.demo-btn {
    background-color: #E81E7C;
    color: white;
    border-style: none;
}

.demo-btn>a {
    color: white;
    text-decoration: none;
}

.demo-btn-small {
    background-color: #9A1452;
    color: white;
    border: none;
    border-style: none;

}

.demo-btn:hover {
    background-color: #9A1452;

}


.features-section {
    margin-left: 200px;
    margin-right: 200px;
}

.feature-row {
    margin-top: 20px;
}

.text-success {
    color: #0FBC71 !important;
}

.slick-slide {
    margin-right: 10px;
    margin-left: 10px;
}

.users-slider {
    margin-left: 10%;
    margin-right: 10%;

}

.testimonials-slider {
    margin-left: 30%;
    margin-right: 30%;
    height: 250px;

}

.users-slider-section {
    background-color: #00336A;
}

.testimonials-slider-section {
    background-color: #94958D;
    height: 100%;

}

.slick-prev,
.slick-arrow {
    max-height: 30px;
    margin-top: 40px;
    background-color: transparent;
    border: none;
}

.testimonial {
    background-color: #2AD1BB;
}

.card.text-center.slick-slide.slick-current.slick-active {
    background-color: #2AD1BB;
}

.team-section,
.team-section>.text-center>.card-body {
    background-color: #FAFAFA;
}

.team-section>.card {
    border-style: none;
}

.message-form {
    margin-left: 20%;
    margin-right: 20%;
}

.custom-select {
    overflow:auto;
}

@media screen and (max-width: 720px) {

    .message-form {
        margin-left: 10%;
        margin-right: 10%;
    }

    .users-slider {
        margin-left: 20px;
        margin-right: 20px;

    }

    .testimonials-slider {
        margin-left: 50px;
        margin-right: 50px;
        height: 250px;

    }

    .card-text {
        font-size: small;
    }
}


@media screen and (max-width: 480px) {
    .fa-file-download {
        margin-right: 20px;

    }

    #main-logo {
        max-width: 200px;
    }

    .fa-folder-open {
        margin-right: -10px;
    }

    .users-slider {
        margin-left: 20px;
        margin-right: 20px;

    }

    .testimonials-slider {
        margin-left: 25px;
        margin-right: 25px;
        height: 250px;

    }

    .message-form {
        margin-left: 0%;
        margin-right: 0%;
    }

    .dropdown-content {
        position: relative;
    }

    .dropdown {
        text-align: right;
    }

    div.dataTables_wrapper {
        width: 800px;
        margin: 0 auto;

    }

    .container,
    .content {
        padding: 3px;
        margin: 3px;
    }

    .desktop-ds-frame {
        display: none;
    }

    .mobile-ds-frame {
        display: flex;
    }

}

/* for add_grant.html & edit_grant.html - by default selected-grant-members-list will be display:none, display:block will be done through JS */
.selected_grant_members_div{
    display: none;
}

/* for add_budget.html & edit_budget.html - by default selected-budget-members-list will be display:none, display:block will be done through JS */
.selected_budget_members_div{
    display: none;
}

/* for edit_user.html - specifically for the listing of all the user roles */
.edit-user-roles{
    justify-content: space-between;
}

/* styling for export_grants_home.html */
.selected_grants_div{
    display: none;
}
.dropdown-menu>.inner{
    max-height: 250px !important;
    /* overflow-y: auto; */
}

/* styling for export_budgets_home.html */
.selected_budgets_div{
    display: none;
}

/* index.html >> expenses menu styling */
.dropdown:hover>.dropdown-menu-expenses {
    display: block;
}

.dropdown>.dropdown-toggle-expenses:active {
    /*Without this, clicking will make it sticky*/
    pointer-events: none;
}

/* styling for overlaying while submitting of approving an Expense */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: 1000; /* Ensure the overlay appears on top of other content */
    cursor: not-allowed; /* Change cursor to "not-allowed" to indicate no interaction */
    align-items: center;
    justify-content: center;
}

.overlay h1{
    color: white;
    text-align: center;
}

/* styling of dashboards/donors_report.html */
.selected_donors_div {
    display: none;
}

/* spinner styling */
.loading-spinner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 9999;
  }
  
  .spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
  }
  
  .spinner-text {
    position: absolute;
    top: 55%;
    left: 46%;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

/* advance payments styling */
#advance_payments {
    display: none;
}

.advance-product {
    width: 75rem;
}
/* advance payments styling */

/* show dropdown arrow tip in dropdown options */
select.form-control { -webkit-appearance: menulist; }
/* show dropdown arrow tip in dropdown options */