@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Faculty+Glyphic&display=swap');

:root {
    --navy: #03173e;
    --navy-scroll: #132240;
    --navy-border: #18295a;
    --sage: #9eb277;
    --text-light: #dbdbdb;
}

/* ===== SITEWIDE ===== */
#custom-site-header h1,
#custom-site-header h2,
#custom-site-footer h1,
#custom-site-footer h2 {
    font-variant: small-caps;
    line-height: 1.4;
    letter-spacing: 2.5px;
    font-family: 'Faculty Glyphic', serif;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #e8e7e7;
}

::-webkit-scrollbar-thumb {
    background: var(--sage);
    border-radius: 4px;
}

/* ===== BRAND HEADER (About / Classes / Rentals | Supplies / logo / Grants / Events / News) ===== */
#custom-site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;
    z-index: 3000;
    overflow: visible;
    font-family: 'Open Sans', sans-serif;
    transition: height 0.3s ease, background-color 0.3s ease;
    background-color: #061c466b !important;
    backdrop-filter: blur(2.5px) brightness(.8) contrast(1.1) saturate(0.8);
    box-shadow: 1px 2px 5px #172241;
}

#custom-site-header .header-inner {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 40px;
}

#custom-site-header .header-inner a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

#custom-site-header nav a:hover,
#custom-site-header nav a.active {
    color: var(--sage);
}

/* Spacer reserves real width in the flex row so nav links don't collide with the logo */
#custom-site-header .logo-spacer {
    position: relative;
    width: 160px;
    height: 100%;
    flex-shrink: 0;
}

/* Logo positioned relative to its spacer, so it overflows vertically without overlapping nav text horizontally */
#custom-site-header .header-logo {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

#custom-site-header .header-logo img {
    display: block;
    height: auto;
    transition: height 0.3s ease;
    max-width: 170px;
    margin-top: 25px;
}

/* Scrolled / condensed state — matches the live site's clean, solid, no-overhang look */
#custom-site-header.condensed {
    background-color: #132240 !important;
    backdrop-filter: blur(3px);
    box-shadow: 0px 3px 3px #000000 !important;
    border-bottom: 4px solid #18295a;
    border-top: 4px solid #18295a;
    height: 65px !important;
}

#custom-site-header.condensed .header-logo {
    top: 25%;
    transform: translate(-50%, -50%);
}

#custom-site-header.condensed .header-logo img {
    height: 42px;
    max-width: none;
}

/* ===== COPYRIGHT BAR ===== */
#custom-copyright-bar {
    background-color: var(--navy);
    padding: 20px 40px;
}

.copyright-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Open Sans', sans-serif;
}

.copyright-inner .copyright-text {
    color: var(--sage);
    font-size: 13px;
}

.copyright-inner .copyright-logo img {
    max-width: 150px;
    height: auto;
}

.copyright-social {
    display: flex;
    gap: 10px;
}

.copyright-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background-color: rgba(3, 23, 62, 0.55);
    color: var(--sage);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s ease;
}

.copyright-social a:hover {
    background-color: var(--sage);
    color: #ffffff;
}

/* ===== FOOTER (simplified — contact info only) ===== */
#custom-site-footer {
    background-image:
        linear-gradient(hsla(220, 90%, 10%, 0.95), hsla(220, 90%, 10%, 0.95)),
        url('https://cdn.bitrix24.com/b38303863/landing/f5a/f5a8ec010678e04faf02420c91ebd7b3/ems_helicopter_01_1x.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    padding: 60px 40px;
    font-family: 'Open Sans', sans-serif;
}

.footer-contact {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-contact h2 {
    color: var(--sage);
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-contact p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-contact-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 14px;
}

.footer-contact-line i {
    color: var(--sage);
}

.footer-contact-line a {
    color: var(--text-light);
    text-decoration: none;
}

.footer-contact-line a:hover {
    color: var(--sage);
}

/* ===== HERO BANNER (replaces old EZRentOut header row) ===== */
#custom-hero-banner {
    position: relative;
    background-image: radial-gradient(rgba(3, 17, 45, 0.45), rgba(2, 18, 49, 0.75)),
        url('https://devhost01storage.blob.core.windows.net/prod/iremsc/IREMSC-rental-store.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: top center;
    padding: 180px 20px 80px 20px;
    text-align: center;
    z-index: 1;
    min-height: 40vh;
}

/* Un-float the moved native title element and force centering */
#custom-hero-banner #header_text,
#custom-hero-banner #header_text * {
    float: none !important;
    text-align: center !important;
    padding-right: 0px !important;
}

#custom-hero-banner #header_text {
    width: 100% !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
}

#custom-hero-banner #header_text p,
#custom-hero-banner #header_text span {
    color: #ffffff !important;
    font-family: 'Faculty Glyphic', serif;
    font-variant: small-caps;
    letter-spacing: 1.5px;
    font-size-adjust: .45;
    line-height: 1.3;
    white-space: normal;
    font-size: 45px !important;
}

#custom-hero-banner .search-field {
    display: inline-block;
    width: 100%;
    max-width: 100%;
}

#custom-hero-banner .search-bar {
    border-radius: 4px 0 0 4px;
    padding-left: 35px;
    max-width: 500px;
}

#custom-hero-banner form.form-inline {
    display: flex;
    justify-content: center;
    margin-left: -30px;
}

#search_form_trigger,
#search_mobile_form_trigger {
    right: -22px;
    margin-top: 9px;
    z-index: 3;
}

/* ===== ICON CLUSTER (Account / Sign In / Cart) ===== */
#custom-icon-cluster {
    position: fixed;
    top: 14px;
    right: 30px;
    z-index: 999999;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

#custom-icon-cluster .icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-color: rgba(3, 23, 62, 0.7);
    color: #9eb277;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

#custom-icon-cluster .icon-btn:hover {
    background-color: #9eb277;
    color: #ffffff;
}

#custom-icon-cluster #header_buttons .account-heading,
#custom-icon-cluster #header_buttons #account_sign_in,
#custom-icon-cluster #header_buttons .down-arrow {
    display: none !important;
}

#custom-icon-cluster #header_buttons .account {
    margin: 0 !important;
}

#custom-icon-cluster #header_buttons #user_svg {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-color: rgba(3, 23, 62, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}


#custom-icon-cluster #header_buttons #user_svg:hover {
    background-color: #9eb277;
}

/* ===== Native cart icon (moved into cluster, popover attributes stripped in JS in favor of a plain working link) ===== */
#custom-icon-cluster .cart-popover .cart-popover-label {
    display: none !important;
}

#custom-icon-cluster .cart-popover .cart-icon {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-color: rgba(3, 23, 62, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#custom-icon-cluster .cart-popover .cart-icon:hover {
    background-color: #9eb277;
}

#custom-icon-cluster .cart-popover .cart-icon:hover span.cart-svg-stroke-color {
    stroke: rgb(255, 255, 255) !important;
}

#custom-icon-cluster .cart-svg-stroke-color path,
#custom-icon-cluster .cart-svg-stroke-color circle {
    stroke: #9eb277 !important;
}

#custom-icon-cluster .cart-items-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 50%;
    background-color: #9eb277 !important;
    color: #ffffff;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Shift up 5px to match the header's condensed height */
#custom-icon-cluster.condensed {
    top: 8px;
    /* 14px default minus 5px */
}

/* Icon color controlled by CSS `color` via currentColor — no CORS-dependent
   external fetch, no baked-in SVG fill to fight with */
.icon-svg-inline {
    display: inline-block;
    width: 20px;
    height: 20px;
    color: var(--sage);
    transition: color 0.2s ease;
}

#custom-icon-cluster .icon-btn:hover .icon-svg-inline,
#custom-icon-cluster #header_buttons #user_svg:hover .icon-svg-inline,
#custom-icon-cluster .cart-popover .cart-icon:hover .icon-svg-inline {
    color: #ffffff !important;
}

.dropdown-menu {
    min-width: 300px;
}

.horizontal-separator {
    border-top: 1px solid #CCCCCC;
    margin: 1.5rem 2rem;
}

a#customer-sign-up-button {
    color: #ffffff !important;
    background: #9eb277;
    box-shadow: 0px 3px 9px -4px rgba(0, 0, 0, 0.75);
    padding: 5px 10px !important;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

a#customer-sign-up-button:hover {
    text-decoration: none !important;
}

.cart-icon {
    line-height: 0 !important;

}





/* Remove the old native nav bar (Items / old Cart) */
nav.nav-main {
    display: none !important;
}

/* Hide the now-empty original header bar */
#webstore-header {
    display: none !important;
}

.collapsed-sidebar,
#sidebar {
    border-right: 1px solid #d9d9d900;
    background: rgb(144, 162, 110);
    box-shadow: rgba(42, 45, 52, 0.51) 0px -1px 3px;
    padding-top: 25px !important;
}

#sidebar {
    min-width: 300px;
    max-width: 300px;
    color: #ffffff !important;
    letter-spacing: 1px !important;
}

.items-list-wrapper .row.col-xs-12, .col-12.w-100 .row.col-xs-12 {
	padding: 0px !important;
	max-width: calc(75%);
	margin-left: auto !important;
	margin-right: auto !important;
	background: #ffffff8a;
	box-shadow: 0px 1px 5px #2d37294d;
	float: none !important;
	height: 100%;
}

#cart-duration-messaging.container-fluid {
    min-height: 0px !important;
    max-height: 0px !important;
}

.footer {
    display: none !important;
}

div#webstore-layout-margin {
    overflow: hidden;
    background: url('https://devhost01storage.blob.core.windows.net/prod/iremsc/iremsc_background.jpg');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;

}

li.pull-right.cart-popover {
    .popover {
        width: 80px !important;
        padding: 0px !important;
        text-align: center !important;
        top: 50px !important;
        left: 50px !important;
        display: block !important;
    }

    .popover.right>.arrow {
        top: 0px !important;
        left: 70% !important;
        margin-top: -15px !important;
        border-right-color: #999 !important;
        border-right-color: rgba(0, 0, 0, .25) !important;
        border-left-width: 0 !important;
        transform: rotate(90deg) !important;
    }
}

.items-list-wrapper .items-label h1 {
    margin-left: 0px !important;
    color: #ffffff !important;
    font-family: 'Faculty Glyphic', serif;
    font-variant: small-caps;
    letter-spacing: 1.5px;
    font-size-adjust: .45;
    white-space: normal;
    font-size: 35px !important;
}

.items-list-wrapper .items-label .items-count {

    color: #e0ecc9;
    margin-left: 6px;
}

.item-container.has-add-to-cart-popup.grid {
    background: #ffffff;
    gap: 20px;
    margin: 20px;
    width: calc(50% - 40px);
    border-radius: 10px;
    /* outline: none !important; */
}

.item-container .item {
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0px 2px 8px -5px #303b2b;
    padding: 20px !important;
}

/* ===== ITEM CARD LAYOUT — image left (50%), details+pricing stacked right (50%) ===== */
.item {
    display: grid !important;
    grid-template-columns: 35% 65% !important;
    grid-template-rows: auto auto !important;
    align-items: stretch !important;
}

.item-container .item .details .description .grid-view-item-attribute-label {

    display: none !important;
}

.item-container .item .details .description {
    color: #646464;
}

.item .thumb-nail {
    grid-column: 1;
    grid-row: 1 / 3;
    width: auto !important;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    margin-left: 0px !important;
    margin-right: 20px !important;
}

.item .thumb-nail .center {
    height: 100%;
    overflow: hidden;
    border-radius: 12px 0px 0px 12px;
}

.item .thumb-nail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    max-height: 100% !important;
    top: 50% !important;
    border-radius: 10px 0px 0px 10px !important;
}

.item-container .item:hover {
    -moz-box-shadow: 0px 4px 7px #84897882;
    -webkit-box-shadow: 0px 4px 7px #84897882;
    box-shadow: 0px 4px 7px #84897882;
}

.item .details {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-height: auto !important;
    padding-right: 0px !important;
}

.item .highlight.rental-items-pricing {
	grid-column: 2 !important;
	grid-row: 2 !important;
	min-height: 90px !important;
	max-height: 90px !important;
	display: flex;
	flex-direction: row;
	min-width: 100%;
	justify-content: center;
	align-content: center;
	align-items: center;
	margin-bottom: 0px !important;
	margin-top: 0px !important;
	border-radius: 0px 0px 10px 0px;
	border: none !important;
}

.item-container .item .details .item-name h3 {
    margin-top: 0;
    font-size: 16px;
    color: #222223;
    padding-top: 0px;
}

.item-container .item .highlight .pricing {
    display: table;
    width: 45%;
}

.availability-chip {
    margin: 5px;
}

.item-container .item .details .item-name {
    width: 100%;
    margin-bottom: 0px;
}

.text-center.item-actions {
    width: 55%;
}

.listing-rate-font,
.pricing {
    font-size: 16px !important;
}
.ez-rent-out .cart-nav span.badge, .ez-rent-out .btn.btn-primary, .ez-rent-out input[type=range]::-webkit-slider-thumb, .featured-items .featured-item .css-ribbon-wrapper.left .css-ribbon, .featured-items .featured-item .css-ribbon-wrapper.left .css-ribbon span, .webstore-btn {
	background-color: #253c7b;
}
body .item-calendar .check-availability {
	font-size: 14px !important;
	padding-bottom: 3px;
	cursor: pointer;
	color: #676767 !important;
}
.web_store-blue-svg .primary-stroke-svg {
	stroke: #969696;
}
.web_store-blue-svg .st0 {
	fill: #4a4a4a;
}
.item-container .item .highlight .item-actions a {
	min-width: 80%;
	border-radius: 25px;
	margin-top: -10px;
	margin-bottom: 7px;
	font-size: 14px;
	padding: 5px;
}
a.item-calendar-popover {
	padding-top: 0px !important;
}

.item-container .item .highlight .pricing-inner {
    margin-top: 0px !important;
}

.item-container .item .highlight ul {
    height: auto !important;
}

.action-buttons {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	align-items: center;
	padding-bottom: 0px;
	margin-bottom: 0px;
	margin-top: 0px !important;
}

.rate-type-font {
    font-weight: 400;
    font-size: 16px;
    color: #7C7C7C;
}

.item-container .item .details a.item-name-link {
    color: #3a3a3a;
}

.row {

    margin-left: 0px !important;
    margin-right: 0px !important;
}

.bubble,
.view-stock-locations-bubble {
    position: absolute;
    z-index: 100;
    padding: 20px;
    background: #e5e9d2;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    border-radius: 10px;
    -moz-box-shadow: 3px 3px 4px 0px rgba(0, 0, 0, 0.6);
    -webkit-box-shadow: 3px 3px 4px 0px rgba(0, 0, 0, 0.6);
    box-shadow: 5px 3px 6px -3px rgba(0, 0, 0, 0.6);
    border: #7f7f7f59 solid 2px;
}

.bubble.container.collapse input {
    border: 2px solid #ebeedc;
}

.bubble:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 0 15px 15px;
    border-color: #e5e9d2 transparent;
    display: block;
    width: 0;
    z-index: 100;
    margin-left: -15px;
    top: -15px;
    right: 50px;
}

.cart-checkout {
    background: #ffffffb5;
    box-shadow: 0px 5px 6px #808080a3;
    padding: 30px;
}

.cartflow-breadcrumbs .active .breadcrumb-container {
    background-color: #e9eeda;
    margin: 3px;
    padding: 1.8rem 0rem;
}

.date-time-container {

    .col-lg-1,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-md-1,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-sm-1,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-xs-1,
    .col-xs-10,
    .col-xs-11,
    .col-xs-12,
    .col-xs-2,
    .col-xs-3,
    .col-xs-4,
    .col-xs-5,
    .col-xs-6,
    .col-xs-7,
    .col-xs-8,
    .col-xs-9 {
        position: relative;
        min-height: 1px;
        padding-right: 15px;
        padding-left: 0px;
    }
}

.duration.end,
.duration.start,
.col-md-6.col-xs-12.pl-0 {
    width: 33%;
}

.ez-rent-out nav.navbar-default,
.ez-rent-out .btn.btn-bold,
.ez-rent-out .sidebar-customer-pages,
.btn-customer,
.cart-header {
    background-color: #18295a;
}

.items-header-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #9eb277;
	padding: 25px 35px;
	min-width: calc(100% + 14px) !important;
	margin-left: -7px;
	border-radius: 5px;
	margin-bottom: 0px;
	color: #ffffff !important;
	font-family: 'Faculty Glyphic', serif;
	letter-spacing: 1px;
	box-shadow: 0px 3px 4px -3px #7b7b7bf7;
}

.item-list.items {
    padding: 15px;
}

.items-list-wrapper .items-sort-by-filter {
    margin-top: 0% !important;
    color: #5e5e5e;
}

.item-list .row .clearfix {
    display: none;
}

.item-list .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.item-container {
    display: flex;
}

.item {
    width: 100%;
    height: 100%;
}

/* ===== LOADING TRANSITION OVERLAY ===== */
#custom-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0d1420;
    z-index: 999999999;
    opacity: 1;
    transition: opacity 2s ease;
    pointer-events: none;
}

#custom-loading-overlay.fade-out {
    opacity: 0;
}

a.active {
    color: #b1c884 !important;
}

.filter-icon-inline {
    display: inline-block;
    width: 36px;
    height: 36px;
    color: #ffffff;
}

.filter-icon-inline svg {
    width: 100%;
    height: 100%;
}

.open-navigation {
    padding-left: 10px;
    font-size: 30px;
    background: transparent;
    border: none;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;

    letter-spacing: 1px !important;
}

#sidebar:not([class*="active-sidebar"]) .open-navigation {
    width: 65%;
}

.clear-filters.display-inline-block.pull-right {
    background: #ffffff29;
    padding: 3px 7px;
    margin: 7px 12px 5px 0;
    color: white !important;
    border-radius: 3px;
}

.paginate a,
.clear-filters a {
    font-weight: normal;
    color: #ffffffd1;
}

.paginate a:hover,
.clear-filters a:hover {
    text-decoration: none !important;
}

.filter .filter-heading .filters-detail-div path {
    fill: #ffffff7a;
    stroke: #ffffff69;
}

.filter .filter-heading h5 {
    font-weight: bold;
    font-family: 'Faculty Glyphic';
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600 !important;
    color: #ffffff;
}

#sidebar p {
    color: #ffffff88 !important;
}

.horizontal-divider {
    background-color: #e9ffbd00;
    height: 2px;
    padding: 1.5px;
    margin-bottom: 20px !important;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 30px !important;
    border-radius: 5px;
    border-bottom: #ecffc617 solid 2px;
    box-shadow: inset 0px 1px 1.5px -1px #6b7c48;
}

.filter .filter-heading {
    margin-left: 6%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.container-fluid.item-show.zero-padding {
	max-width: calc(100% - 400px);
	background: #ffffff78;
	padding: 60px;
	box-shadow: 0px 0px 3px #80808096;
}
.item-dialog-box {
	border: 1px solid #d9d9d900;
	border-radius: 4px;
	background: #ffffff;
	box-shadow: 1px 2px 7px -4px #000000d1;
}
span.item-calendar.d-flex.p-l-43 {
	padding-left: 0px !important;
}
a.fc-event:hover {
	background-color: #dfe4cc;
	border: 2px solid #f8fbf2;
	padding: 2px 0px;
}
