body {
    margin-left: 0;
    /* color: #000000 !important; */
}

p {
    /* color: #000000 !important; */
}

#main-content a {
    font-weight: 600;
}

#main-content a strong,
#main-content a b {
    font-weight: 600;
}

a:hover {
    color: #606060;
}

@media (min-width: 981px) {
    body:has(#leftSideMenu) {
        margin-left: 260px !important;
    }
}

.cosmosLeftMenu ul,
.cosmosMobileMenu ul,
.cosmosHomeMenu ul {
    list-style: none !important;
    margin: 0 !important;
    /* margin-top: 40px !important; */
    padding: 0 !important;
}

.cosmosLeftMenu ul > li,
.cosmosMobileMenu ul > li,
.cosmosHomeMenu ul > li {
    margin: 0;
    padding: 0;
    display: block;
    margin-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #fff;
    position: relative;
}

.cosmosLeftMenu ul > li > a,
.cosmosMobileMenu ul > li > a,
.cosmosHomeMenu ul > li > a {
    display: block;
    margin: 0;
    padding: 0;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
}

.cosmosLeftMenu ul > li .submenu-toggle,
.cosmosMobileMenu ul > li .submenu-toggle,
.cosmosHomeMenu ul > li .submenu-toggle {
    position: absolute;
    top: 3px;
    right: -3px;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    color: #fff;
    fill: #ffffff;
    /* white color */
    font-size: 20px;
    font-weight: normal;
    font-family: monospace;
    cursor: pointer;
}

.cosmosLeftMenu ul > li .submenu-toggle .submenu-icon,
.cosmosMobileMenu ul > li .submenu-toggle .submenu-icon,
.cosmosHomeMenu ul > li .submenu-toggle .submenu-icon {
    display: inline-block;
    transition: transform 0.5s ease;
}

.cosmosLeftMenu ul > li .submenu-toggle .submenu-icon.submenu-open-icon,
.cosmosMobileMenu ul > li .submenu-toggle .submenu-icon.submenu-open-icon,
.cosmosHomeMenu ul > li .submenu-toggle .submenu-icon.submenu-open-icon {
    transform: rotate(135deg);
}

/* Show/hide submenu */
.cosmosLeftMenu ul > li .menu-item-has-children > .sub-menu,
.cosmosMobileMenu ul > li .menu-item-has-children > .sub-menu,
.cosmosHomeMenu ul > li .menu-item-has-children > .sub-menu {
    display: none;
}

.cosmosLeftMenu ul > li .menu-item-has-children.submenu-open > .sub-menu,
.cosmosMobileMenu ul > li .menu-item-has-children.submenu-open > .sub-menu,
.cosmosHomeMenu ul > li .menu-item-has-children.submenu-open > .sub-menu {
    display: block;
}

.cosmosLeftMenu ul > li > ul,
.cosmosMobileMenu ul > li > ul,
.cosmosHomeMenu ul > li > ul {
    display: block;
    overflow: hidden;
    height: auto;
    max-height: 0;
    transition: max-height 500ms ease;
}

.cosmosLeftMenu ul > li > ul li,
.cosmosMobileMenu ul > li > ul li,
.cosmosHomeMenu ul > li > ul li {
    border-bottom: none;
    padding-bottom: 0;
    margin-top: 0;
}

.cosmosLeftMenu ul > li > ul li a,
.cosmosMobileMenu ul > li > ul li a,
.cosmosHomeMenu ul > li > ul li a {
    text-transform: none;
    letter-spacing: 0px;
    font-weight: normal;
}

.cosmosLeftMenu ul > li.submenu-open > ul,
.cosmosMobileMenu ul > li.submenu-open > ul,
.cosmosHomeMenu ul > li.submenu-open > ul {
    display: block !important;
    max-height: 100px;
}

.cosmosLeftMenu,
.cosmosHomeMenu {
    padding-left: 15px;
    padding-right: 15px;
}

#homeMenuWrapper {
    left: -260px;
    transition: all 500ms ease-in-out;
}

#homeMenuWrapper.active {
    left: 0;
}

@media (max-width: 500px) {
    #homeMenuWrapper {
        width: 100vw;
        left: -100vw;
    }
    
    #homeMenuWrapper .et_pb_row {
        /* padding: 10px !important; */
        margin: 0 !important;
        padding: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        width: 100%;
        display: block;
    }
    
    #homeMenuWrapper .et_pb_row .et_pb_column {
        width: 100%;
    }
    
    #homeLogo {
        width: 150px;
    }
    
    #pageLogo {
        width: 150px;
    }
    
    #homeMenuTrigger {
        /* left: 45px; */
        left: 15px;
    }
    
    #homeMenuTrigger .et-pb-icon {
        font-size: 45px !important;
    }
}

#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 500ms ease;
}

#mobileMenu.active {
    max-height: 500px;
    /* must be bigger than content */
}

.cosmosMobileMenu ul li {}

@media (max-width: 500px) {
    #hamburgerPage {
        left: -20px;
    }
}

.et_pb_video_box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.background-video {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    overflow: hidden !important;
    z-index: -1 !important;
    /* behind page content */
}

.background-video video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: auto !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    transform: translate(-50%, -50%) !important;
}

.background-video-mobile {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    overflow: hidden !important;
    z-index: -1 !important;
    /* behind page content */
}

.background-video-mobile video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: auto !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    transform: translate(-50%, -50%) !important;
}

.background-video {
    display: block;
}

.background-video-mobile {
    display: none;
}

@media (max-width: 500px) {
    .background-video {
        display: none;
    }
    
    .background-video-mobile {
        display: block;
    }
}

/* BLURB 
*
*   Text bellow image in blurb 
*
*/

.et_pb_main_blurb_image {
    margin-bottom: 0px !important;
    display: block !important;
}

.et_pb_blurb_description p {
    font-style: italic;
    color: #909090 !important;
}

.single-post h2,
.single-post h3 {
    text-transform: uppercase !important;
}

.page h1,
.page h2,
.page h3 {
    text-transform: uppercase !important;
}

.page h2 {
    font-weight: 700;
}

.page h3 {
    font-weight: 400;
    font-size: 18px;
}

.page h1 {
    text-transform: uppercase;
    font-size: 30px !important;
    /* color: #3c3c3b !important; */
    font-weight: 600;
    line-height: 150%;
}

.single-post ol {
    padding-left: 20px;
    /* Remove default padding */
    margin-left: 20px;
}

.single-post ol li {
    list-style-position: outside;
    padding-left: 10px;
    /* Space for the number */
    /* text-indent: -1.5em; */
    /* Pulls text back to align */
}

/* Simple Float Solution - Image Left, Text Right */
.et_pb_post {
    overflow: hidden !important;
    background: #fff !important;
    margin-bottom: 50px !important;
    padding-bottom: 50px !important;
    border-bottom: 1px solid #d0d0d0;
}

.et_pb_post h2 {
    text-transform: uppercase !important;
    color: #6e8cb1;
    line-height: 130%;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    top: -20px;
}

/* Float image left */
.et_pb_post > a.entry-featured-image-url {
    float: left !important;
    width: 40% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.et_pb_post > a.entry-featured-image-url img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    transition: transform 0.5s ease !important;
}

/* Float text content right */
.et_pb_post > .entry-title,
.et_pb_post > .post-meta,
.et_pb_post > .post-content {
    float: left !important;
    width: 60% !important;
    padding: 20px 25px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Stack them vertically */
.et_pb_post > .entry-title {
    padding-bottom: 10px !important;
}

.et_pb_post > .post-meta {
    padding-top: 0 !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid #eee !important;
}

.et_pb_post > .post-content {
    padding-top: 20px !important;
    padding-bottom: 25px !important;
}

/* Ensure read more is below text */
.et_pb_post > .post-content .post-content-inner {
    margin-bottom: 20px !important;
    color: #666 !important;
    line-height: 120% !important;
}

.et_pb_post > .post-content .more-link {
    display: inline-block !important;
    /* background-color: #2ea3f2 !important; */
    color: #6e8cb1 !important;
    padding: 6px 30px !important;
    border: 2px solid #6e8cb1 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 2px !important;
    text-align: center !important;
    margin-top: 0px !important;
}

/* Clear the float */
.et_pb_post:after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

/* Responsive */
@media (max-width: 768px) {
    .et_pb_post > a.entry-featured-image-url,
    .et_pb_post > .entry-title,
    .et_pb_post > .post-meta,
    .et_pb_post > .post-content {
        float: none !important;
        width: 100% !important;
    }
    
    .et_pb_post > a.entry-featured-image-url {
        height: 200px !important;
    }
    
    .et_pb_post > a.entry-featured-image-url img {
        height: 200px !important;
        object-fit: cover !important;
    }
}

.et_pb_blurb .et_pb_image_wrap {
    aspect-ratio: 100 / 60;
    /* Directly sets the ratio */
    width: 100%;
    overflow: hidden;
    display: block;
}

.et_pb_blurb .et_pb_image_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* .n2-ss-slider {
    border: 5px solid #f00;
} */
.n2-ss-slider {
    max-height: 100vh;
}

.n2-ss-slider * {
    max-height: 100vh;
}

.n2-ss-slider .n2-ss-slide-background {
    max-height: 100vh;
}

.n2-ss-slider .n2-ss-slide-background-image img {
    max-height: 100vh;
    object-fit: contain;
    /* Scales image to fit without cropping */
}

.et_pb_video_box:has(iframe) {
    height: auto;
}

.et_pb_accordion h5 {
    text-transform: uppercase;
}

.et_pb_accordion .et_pb_toggle {
    margin-bottom: 5px !important;
}

body:not(.wp-admin) .et_pb_accordion.et_pb_module {
    /* display: none; */
}

/* LIGHTBOX ====================================== */
.litebox-text {
    font-weight: 200 !important;
    font-style: normal !important;
    color: #a0a0a0 !important;
}

.litebox-text b {
    color: inherit !important;
    font-weight: 200 !important;
}

.litebox-overlay {
    background: rgba(0, 0, 0, 0.9) !important;
}

/* LIGHTBOX ANIMATION ========================================================= */
.litebox-content {
    animation: fadeZoom 1s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

@keyframes fadeZoom {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    20% {
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Completely disable text animations in lightbox */
.litebox-text {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Remove the text animation classes from your JS */
.litebox-text.changing,
.litebox-text.fade-in,
.litebox-text.slide-in {
    animation: none !important;
    transition: none !important;
}

/* Also remove from text container */
.litebox-container .litebox-text {
    animation: none !important;
}

/* SEARCH FAQ ======================================== */
/* Search box styles */
.search-section {
    margin: 30px 0 40px 0;
    margin: 0 !important;
    position: relative;
    max-width: 600px;
}

#search-field {
    width: 100%;
    padding: 15px 45px 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 3px;
    font-size: 16px;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
}

#search-field:focus {
    border-color: #2ea3f2;
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.1);
}

#search-field::placeholder {
    color: #999;
    font-style: italic;
}

#clear-button {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-120%);
    font-size: 24px;
    color: #999;
    cursor: pointer;
    display: none;
    line-height: 1;
    padding: 0 5px;
}

#clear-button:hover {
    color: #333;
}

#result-display {
    margin-top: 10px;
    color: #2ea3f2;
    font-size: 14px;
    font-weight: 500;
    padding-left: 5px;
}

/* Accordion styling */
.et_pb_accordion {
    margin-bottom: 30px;
    transition: opacity 0.2s ease;
}

.et_pb_toggle {
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.et_pb_toggle_title {
    padding: 15px 20px;
    background: #f8f8f8;
    cursor: pointer;
    font-weight: 500;
}

.et_pb_toggle_content {
    padding: 20px;
    background: white;
}

/* Hide empty accordions */
.et_pb_accordion:not(:has(.et_pb_toggle:visible)) {
    display: none !important;
}

/* Animation for search results */
.et_pb_toggle {
    transition: all 0.2s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .search-section {
        max-width: 100%;
        padding: 0 15px;
    }
    
    #search-field {
        padding: 12px 40px 12px 15px;
        font-size: 15px;
    }
}
.bluebox {
    background-color: #6E8CB1 !important;
    padding: 20px !important;
    color: #fff !important;
}
.bluebox * {
    color: #fff !important;
    font-family: 'EB Garamond', serif !important;
}