@media print {
    .noPrint, #savedItemsBar, #waffleMenu, #topNavLinks, #footerContainer {
        display: none !important;
    }

    .noPrint *, #savedItemsBar *, #waffleMenu *, #topNavLinks *, #footerContainer * {
        display: none !important;
    }
}

.printDivContainer .noPrint * {
    display: none;
}

body {
    font-family: Roboto;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0px;
    margin-top: 0px;
    padding: 22px 28px 0px 30px;
    border: none;
}

a {
    text-decoration: none !important;
}

    a:hover {
        text-decoration: underline !important;
    }

* {
    font-family: Roboto;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0px;
}

h6, .h6, h6 *, .h6 * {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0px;
}

h5, .h5, h5 *, .h5 * {
    font-family: Roboto;
    font-style: normal;
    font-weight: 500; /* medium */
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 0px;
}

h4, .h4, h4 *, .h4 * {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 300;
    font-size: 22px;
    line-height: 26px;
    letter-spacing: 0px;
}

h3, .h3, h3 *, .h3 * {
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: 0px;
    color: #002241;
}

h2, .h2, h2 *, .h2 * {
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 30px;
    line-height: 34px;
    letter-spacing: 0px;
    color: #002241;
}

h1, .h1, h1 *, .h1 * {
    text-align: left;
    font: normal normal 300 42px/50px Roboto;
    letter-spacing: 0px;
    color: #002241;
    opacity: 1;
    margin-bottom: 1rem;
}

button i.fa {
    margin-left: 8px;
    margin-right: 0px;
    padding-right: 0px;
    color: #FFFFFF;
}

.mutedText {
    color: #666666;
}

.lessBold {
    font-weight: 400;
}

.smallBodyText {
    font-size: 14px;
    line-height: 1.5;
}

.nobreak {
    white-space: nowrap;
}

.noLeftPadding {
    padding-left: 0px !important;
}

select, .form-select, .form-control {
    border: 1px solid #666666;
    border-radius: 10px;
    padding: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

select:focus,
.form-select:focus,
.form-control:focus {
    border-color: #0A73E6;
    box-shadow: 0 0 0 0.2rem rgba(10, 115, 230, 0.25);
    outline: none;
}

input.bottomLine {
    border: none !important;
    border-bottom: 1px solid #666666 !important;
    border-radius: 0 !important;
    border-color: #666666 !important;
    padding: 0.5rem 0.25rem;
}

input.bottomLine:focus {
    border-bottom-color: #0A73E6 !important;
    box-shadow: 0 1px 0 0 rgba(10, 115, 230, 0.5) !important;
}

/* Screen reader only class for accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to main content link for accessibility */
.skip-to-main {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1em;
    background-color: #002241;
    color: white;
    text-decoration: none;
}

.skip-to-main:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 1rem;
}


.inline-spacer-white {
    display: inline-block;
    background-color: #FFFFFF;
}

button, .btn {
    border-radius: 8px !important;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.25);
    text-transform: none !important;
    font-family: Roboto;
    font-size: 16px;
    padding: 0.5rem 1rem;
    opacity: 1;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

/* Focus visible for keyboard navigation */
button:focus-visible,
.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #0A73E6;
    outline-offset: 2px;
}

.btn-primary,
.btn-primary.active,
.btn-primary.focus,
.active.btn-primary,
.focus.btn-primary,
.btn-primary:active,
.btn-primary:focus,
open > .btn-primary.dropdown-toggle,
open > .dropdown-toggle.btn-primary,
.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus {
    background-color: #0A73E6;
    border: 2px solid #0A73E6;
    color: #FFFFFF;
    font-weight: 500;
}

    .btn-primary:hover {
        background-color: #0859b8;
        border: 2px solid #0859b8;
        color: #FFFFFF;
        font-weight: 500;
        transform: translateY(-1px);
        box-shadow: 0 0.625rem 1.25rem rgba(0,0,0,.3);
    }

    .btn-primary:not(:disabled):not(.disabled).active,
    .btn-primary:not(:disabled):not(.disabled):active,
    .show > .btn-primary.dropdown-toggle {
        background-color: #064a8f;
        border: 2px solid #064a8f;
        color: #FFFFFF;
        font-weight: 500;
    }

.btn-secondary,
.btn-secondary.active,
.btn-secondary.focus,
.active.btn-secondary,
.focus.btn-secondary,
.btn-secondary:active,
.btn-secondary:focus,
open > .btn-secondary.dropdown-toggle,
open > .dropdown-toggle.btn-secondary,
.btn-secondary:active:hover,
.btn-secondary.active:hover,
.open > .dropdown-toggle.btn-secondary:hover,
.btn-secondary:active:focus,
.btn-secondary.active:focus,
.open > .dropdown-toggle.btn-secondary:focus,
.btn-secondary:active.focus,
.btn-secondary.active.focus,
.open > .dropdown-toggle.btn-secondary.focus {
    background-color: transparent;
    border: 2px solid rgba(0, 0, 0, .25);
    color: #000000;
    font-weight: 500;
}

.btn-secondary:hover {
    background-color: #ededed;
    border: 2px solid rgba(0, 0, 0, .35);
    color: #000000;
    font-weight: 500;
    transform: translateY(-1px);
    box-shadow: 0 0.625rem 1.25rem rgba(0,0,0,.15);
}

.roundedBorder {
    border: 1px solid #000000;
    border-radius: 8px;
    padding: 5px 10px 5px 10px;
}

#navbar {
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}

#navbar .nav .active a {
    background: none !important;
}

#nav.navbar {
    margin-bottom: 15px;
}

#frbstl-logobar {
    padding: 0px 0px 0px 0px !important;
    margin: 0px 0px 0px 0px !important;
    border-top: 1px solid #C6DEEB;
    border-bottom: 1px solid #C6DEEB;
    height: 75px !important;
    vertical-align: middle;
    position: relative;
    display: block;
    width: 100%;
}

#frbstl-logobar.publicHome {
    border-top: none;
}

#frbstlLogo {
    background-color: #FFFFFF;
    margin-bottom: -1px;
}

#public-logo {
    margin-top: -15px;
}

#topNavLinks {
    padding-top: 10px;
    width: 100%;
    text-align: right;
}

#topNavLinks > ul {
    display: inline-block;
    float: right;
}

#topNavLinks > ul > li {
    display: inline-block;
    float: left;
    margin-left: 40px;
}

#topNavLinks a {
    text-decoration: none;
    font-weight: bold;
    color: #002241;
    text-transform: uppercase;
}

#topNavLinks a:hover {
    color: #0073E6;
}

#footerContainer {
    padding: 25px 30px 25px 30px !important;
    margin: 0px -28px 0px -30px;
    background-color: #002241 !important;
    color: #ffffff !important;
}

#footerContainer *, #footerContainer a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

#footerContainer .footerMenuItem {
    display: inline-block;
    margin-right: 30px;
}

#footerContainer .footerMenuItem a:hover {
    display: inline-block;
    text-decoration: underline !important;
}

#footerLinks {
    margin-bottom: 0px;
    color: #FFFFFF !important;
}

/* ---------- waffle menu styles ----------- */
#waffleMenu {
    position: absolute;
    top: 17px;
    right: 0px;
    z-index: 99999999;
}

#waffleMenuBtn {
    width: 25px !important;
    height: 25px !important;
    position: absolute;
    right: 0px;
    top: 3px;
    background-image: url("/images/wafflemenubtn-dark.svg");
    cursor: pointer;
    border: none;
    background-color: #ffffff;
    border-radius: 0px !important;
    padding-right: 10px;
    box-shadow: initial;
}

#waffleMenuBtn:hover {
    background-image: url("/images/wafflemenubtn-light.svg");
}

#waffleMenuArrow {
    position: absolute;
    right: 2px;
    margin-top: -11px;
    width: 20px;
    height: 20px;
    border-left: 1px solid;
    border-top: 1px solid;
    transform: rotate(45deg) skew(0deg, 0deg);
    border-color: #C6DEEB;
    background-color: #FFFFFF;
}

#waffleMenuBoxTitle {
    padding: 30px 0px 0px 10px;
}

#waffleMenuLinks {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 3px 3px 6px #00000029;
    border: 1px solid #C6DEEB;
    border-radius: 6px;
    opacity: 1;
    max-width: 350px;
    height: 450px;
    margin-top: 50px;
    margin-right: -23px;
    padding: 0px 17px 0px 18px;
    box-sizing: border-box;
}

#waffleMenuLinks .waffleMenuItem {
    width: 310px;
    padding: 10px 2px 10px 74px;
    margin-top: 16px;
    margin-bottom: 0px;
    background-repeat: no-repeat;
    background-position-x: 10px;
    background-position-y: 12px;
    box-sizing: border-box;
    border-radius: 6px;
}

#waffleMenuLinks a.waffleMenuLink:hover div.waffleMenuItem {
    background-color: #edf5fa !important;
}

#waffleMenuLinks a.waffleMenuLink:hover div.waffleMenuItem .waffleItemTitle {
    text-decoration: underline;
}

#waffleMenuLinks a.waffleMenuLink:hover .waffleItemDesc {
    text-decoration: none !important;
}

.waffleItemTitle {
    text-align: left;
    text-transform: uppercase;
    font: normal normal bold 16px/20px Roboto;
    letter-spacing: 0px;
    color: #0066CC;
    opacity: 1;
}

.waffleItemDesc {
    text-align: left;
    font: normal normal normal 14px/16px Roboto;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
}

#waffleMenuLinks #waffleFred {
    background-image: url("/images/fred-logo.png");
}

#waffleMenuLinks #waffleFraser {
    background-image: url("/images/fraser-logo.png");
}

#waffleMenuLinks #waffleAlfred {
    background-image: url("/images/alfred-logo.png");
}

#waffleMenuLinks #waffleCassidi {
    background-image: url("/images/cassidi-waffle-logo.png");
}

#savedItemsBar {
    display: inline-block;
    float: right;
    margin: 5px 70px 0px 0px;    
}

#savedItemsBar button {
    color: #FFFFFF;
    position: relative;
    border-width: 0px;
    padding: 5px 6px 5px 12px;
}

#savedItemsBar button .saveCount {
    display: inline-block;
    font-weight: bold;
    font-size: 13px;
    line-height: 26px;
    background-color: #DC3545;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    position: absolute;
    right: -10px;
    top: -10px;
}

#savedItemsBar button .fa {
    color: #FFFFFF;
}

#btnShowSavedMkts {
    background-color: #D16500;
}

#btnShowSavedOrgs {
    background-color: #617F58;
    margin-right: 15px;
}

.sessionSavedBody table {
    width: 100%;
}

#savedOrgsListBody h2 {
    font-size: 15px;
    font-weight: bold;
    border-bottom: 1px solid #000000;
    margin-bottom: 12px;
}

#savedOrgsListBody #savedOrgBuyer {
    width: 300px;
    display: inline-block;
    margin-right: 12px;
}

#savedOrgsListBody #savedOrgsTargets {
    width: 450px;
    display: inline-block;
}

/*Override bootstrap popup header background color*/
.popover {
    --bs-popover-header-bg: #F5F5F5 !important;
}

/*Override bootstrap table stripe color*/
.table-striped tbody tr {
    --bs-table-striped-bg: #EDF5FA;
}

    /*Override bootstrap table row hover color*/
    .table-striped tbody tr:hover {
        --bs-table-hover-bg: #FFFFE3 !important;
    }

.btn-close {
    box-shadow: none;
    font-size: 12px;
}

.clearFloat {
    clear: both;
}

#loadingSpinner {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%,-50%);
    z-index: 9999;
    display: none;
}
/* Ensure welcome text has high z-index */
#welcomeText {
    z-index: 10000 !important;
}

    /* Ensure the dropdown within welcomeText appears above saved buttons */
    #welcomeText .dropdown {
        position: relative;
    }

/* Make the dropdown menu render with maximum z-index */
.database-dropdown-menu {
    position: absolute !important;
    z-index: 10001 !important;
}

/* Keep saved items buttons below */
#frbstl-logobar {
    z-index: 1 !important;
}

#savedItemsBar {
    z-index: 1 !important;
}

    #savedItemsBar button {
        position: relative;
        z-index: 1 !important;
    }
