/* Common CSS */
    .container-fluid.container-xl {
        max-width: 1268px !important;
    }

    .container-fluid.container-xxl {
        max-width: 1440px !important;
    }

    .x-small {
        font-size: 11px;
    }

    a {
        text-decoration: none;
        color: var(--bs-dark);
    }

    a.text-white,
    a.text-white:hover {
        color: #fff !important;
    }

    nav a {
        color: #757575;
    }

    a:hover {
        color: var(--bs-primary) !important;
    }

    .ui-widget-header {
        --bs-bg-opacity: 1;
        --bs-text-opacity: 1;
        background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important;
        color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important;

    }

    h1 {
        font-size: clamp(1.4rem, 0.112rem + 3.354vw, 2.33rem);
    }

    h2 {
        font-size: clamp(1.27rem, 0.162rem + 2.885vw, 2.07rem);
    }

    h3 {
        font-size: clamp(1.13rem, 0.853rem + 0.721vw, 1.33rem);
    }

    h4 {
        font-size: clamp(1rem, 0.82rem + 0.469vw, 1.13rem);
    }

    h5 {
        font-size: clamp(0.87rem, 0.69rem + 0.469vw, 1rem);
    }

    h6 {
        font-size: clamp(0.7rem, 0.423rem + 0.721vw, 0.9rem);
    }

    .blue-bg-section:before {
        content: '';
        position: absolute !important;
        top: -31.6vh;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: var(--bs-primary);
        z-index: -21;
    }

    footer {
        background-color: #f3f3f3;
    }

    .footer-menu a.active {
        color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
        font-weight: 500;
    }

    .img-hover img[height="335"] {
        height: 335px;
    }

    .btn-outline-primary:hover {
        color: white !important;
    }
/* Common CSS */

/* Minify header on scroll */
    .region_header {
        transition: .7s;
        background-color: var(--bs-body-bg);
        width: 100%;
    }

    .collapsed.region_header {
        position: fixed;
        z-index: 1000;
        background-color: var(--bs-body-bg);
        width: 100%;
        border-bottom: 1px solid #00000029;
    }

    .region_header #navbarSupportedContent > div:nth-child(1) {
        transition-property: max-height, max-width, display, opacity;
        transition-duration: 0.4s;
        transition-timing-function: ease;
        transition-behavior: allow-discrete;
        max-height: 50px;
        opacity: 1;

        @starting-style {
            opacity: 0;
            max-height: 0;
            display: none;
        }
    }

    .collapsed.region_header #navbarSupportedContent > div:nth-child(1) {
        transition-property: max-height, max-width, display, opacity;
        transition-duration: 0.4s;
        transition-timing-function: ease;
        transition-behavior: allow-discrete;
        display: none !important;
        opacity: 0;
        max-height: 0;

        @starting-style {
            opacity: 1;
            max-height: 50px;
            display: flex;
        }
    }

    .collapsed.region_header > div {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .collapsed.region_header #navbarSupportedContent > div:nth-child(2) {
        border-top: 0 !important;
    }

    .region_header  #block-oceanmight-theme-site-branding img {
        transition-property: max-height, max-width, display, opacity;
        transition-duration: 0.4s;
        transition-timing-function: ease;
        transition-behavior: allow-discrete;
        max-width: 280px;

        @starting-style {
            max-width: 180px;
        }
    }

    .collapsed.region_header  #block-oceanmight-theme-site-branding img {
        transition-property: max-height, max-width, display, opacity;
        transition-duration: 0.4s;
        transition-timing-function: ease;
        transition-behavior: allow-discrete;
        max-width: 180px;

        @starting-style {
            max-width: 280px;
        }
    }

    .collapsed.region_header > div > div > div:nth-child(1) {
        margin-top: 0.75rem !important;
        margin-right: 0 !important;
        margin-bottom: 0.75rem !important;
    }

    .collapsed.region_header > div > div > div.col-12.col-lg.ms-lg-5 {
        margin-left: 0 !important;
    }

    .collapsed.region_header #navbarSupportedContent > div.border-top.col-12.d-lg-flex.d-none.justify-content-end.mt-3.pe-0.pt-3 {
        margin-top: 0 !important;
        padding-top: 0 !important;
        padding-right: 0 !important;
    }

    .collapsed.region_header .navbar-toggler {
        top: 1rem;
    }
/* Minify header on scroll */

/* Head Navigation */
    .region_header nav {
        display: flex;
    }

    .navbar-toggler {
        position: absolute;
        top: 2.7rem;
        right: 1rem;
        width: 30px;
        height: 30px;
        box-shadow: none !important;
    }

    .navbar-toggler:not(.collapsed):before {
        content: url(data:image/svg+xml,%3Csvg%20width%3D%2230%22%20height%3D%2231%22%20viewBox%3D%220%200%2030%2031%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M21.2499%209.25L8.75%2021.7499%22%20stroke%3D%22%23EC1C24%22%20stroke-width%3D%224%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M8.75%209.25L21.2499%2021.7499%22%20stroke%3D%22%23EC1C24%22%20stroke-width%3D%224%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E);
    }

    .navbar-toggler.collapsed:before {
        content: url(data:image/svg+xml,%3Csvg%20width%3D%2223%22%20height%3D%2217%22%20viewBox%3D%220%200%2023%2017%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20x%3D%228%22%20width%3D%2215%22%20height%3D%223%22%20rx%3D%221.5%22%20fill%3D%22%23034EA1%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%227%22%20width%3D%2219%22%20height%3D%223%22%20rx%3D%221.5%22%20fill%3D%22%23034EA1%22%2F%3E%3Crect%20y%3D%2214%22%20width%3D%2223%22%20height%3D%223%22%20rx%3D%221.5%22%20fill%3D%22%23034EA1%22%2F%3E%3C%2Fsvg%3E);
    }

    .region_header nav ul:not(.dropdown-menu) {
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: end;
        padding: 0;
        margin: 0;
    }

    .region_header nav ul:not(.dropdown-menu) li {
        list-style-type: none;
        margin-right: 2em;
    }

    .region_header nav ul:not(.dropdown-menu) li a {
        transition: all .2s ease-in-out;
    }

    .region_header nav ul:not(.dropdown-menu) > li:hover > a {
        /* font-weight: bold; */
        color: var(--bs-primary);
        text-shadow: 1px 0px 0px var(--bs-primary);
    }

    #block-oceanmight-theme-main-menu > ul:not(.dropdown-menu) > li:last-child {
        margin-right: 0;
    }

    .dropdown-toggle::after {
        content: none;
    }

    .dropdown-toggle:hover path {
        fill: var(--bs-primary);
    }

    .region_header ul.navbar-nav ul.dropdown-menu {
        background-color: var(--bs-danger);
        left: 50%;
        transform: translateX(-50%);
    }

    .region_header ul.navbar-nav ul.dropdown-menu > li.nav-item {
        white-space: nowrap;
        margin: auto 2em;
    }

    .region_header ul.navbar-nav ul.dropdown-menu > li.nav-item .nav-link {
        color: white;
        transition: all .2s ease-in-out;
    }

    .region_header ul.navbar-nav ul.dropdown-menu > li.nav-item .nav-link.active {
        color: var(--bs-primary);
    }

    .region_header ul.navbar-nav ul.dropdown-menu > li.nav-item:hover .nav-link {
        color: var(--bs-primary) !important;
        /* text-shadow: 0px 0px 0.6px var(--bs-primary), 0px 0px 0.65px var(--bs-primary); */
    }

    .dropdown-menu:before {
    right: 50%;
    top: -16px;
    transform: translateX(50%);
    border: 8px solid #0000;
    border-bottom: 8px solid var(
    --bs-danger);
    }

    .dropdown-menu:before {
    content: "";
    left: auto;
    display: inline-block;
    position: absolute;
    }

    .navbar-collapse > .d-flex #block-oceanmight-theme-topnavigation {
        flex-direction: row !important;
        margin-top: 1rem;
    }
        
    .navbar-collapse > .d-flex #block-oceanmight-theme-topnavigation > ul.navbar-nav {
        flex-direction: row;
        justify-content: space-evenly !important;
        width: 100%;
    }

    .navbar-collapse > .d-flex #block-oceanmight-theme-main-menu > ul {
        width: 100%;
    }

    .navbar-collapse > .d-flex #block-oceanmight-theme-main-menu > ul > li {
        width: 100%;
        border-bottom: 1px solid #eee;
        padding: 0.6em 0;
        margin: 0;
    }

    .navbar-collapse .scroll-wrapper {
        height: 100vh;
        /* max-height: 80vh; */
        max-height: calc(100vh - 135px);
        overflow-y: scroll;
    }

    .collapsed.region_header .navbar-collapse .scroll-wrapper {
        /* max-height: 84vh; */
    }


    .navbar-collapse > .d-flex #block-oceanmight-theme-main-menu > ul {
        width: 100%;
    }

    .navbar-collapse > .d-flex #block-oceanmight-theme-main-menu > ul > li {
        width: 100%;
        border-bottom: 1px solid #eee;
        padding: 0.6em 0;
        margin: 0;
    }

    .navbar-collapse > .d-flex #block-oceanmight-theme-main-menu > ul > li.dropdown > a {
        display: flex;
        justify-content: space-between;
    }

    .navbar-collapse > .d-flex #block-oceanmight-theme-main-menu > ul > li.dropdown > a svg {
        margin: auto 2em;
    }

    .navbar-collapse > .d-flex #block-oceanmight-theme-main-menu > ul > li > ul.dropdown-menu {
        position: relative !important;
        transform: unset !important;
        left: unset !important;
        top: unset !important;
        background: inherit;
        color: inherit;
        border: none !important;
        margin: 0 auto;
        padding: 0;
    }

    .navbar-collapse > .d-flex #block-oceanmight-theme-main-menu > ul > li > ul.dropdown-menu > li {
        margin: 0 1rem;
    }

    .navbar-collapse > .d-flex #block-oceanmight-theme-main-menu > ul > li > ul.dropdown-menu > li a {
        color: inherit;
        font-weight: normal;
        text-shadow: none;
    }

    .navbar-collapse > .d-flex #block-oceanmight-theme-main-menu > ul > li > ul.dropdown-menu:before {
        content: none;
    }

    .navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
        color: var(--bs-link-color);
        font-weight: 600;
    }
/* Head Navigation */

/* Banner */
    .region_banner,
    .slick-banner-item {
        position: relative;
        max-height: calc(100vh - 180px);
        overflow: hidden;
    }

    .home-about-slick .slick-track
    {
        display: flex !important;
    }

    .home-about-slick .slick-slide
    {
        height: inherit !important;
    }

    .region_banner .slick-track
    {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 180px); /* Set the tracks height to 70% of the view port height */
    }

    .slick-slide
    {
    display: flex!important;
    height: inherit !important;
    position: relative;
    }

    .slick-slide > div {
        display: flex;
        width: 100%;
    }

    .slick-slide img {
    object-fit: cover; /* be aware that this doesn't work on IE */
    height: 100%;
    }

    .slick-banner-item {
        flex: 1;
        max-width: 100%;
        max-height: 100%;
    }

    .slick-banner-caption {
        position: absolute;
        top: 50%;
        left: 10%;
        transform: translateY(-50%);
        max-width: 60%;
        color: white;
        /* text-shadow: 0px 0px 3px black; */
    }

    .slick-banner-caption h1{
        font-size: clamp(2.13rem, -0.086rem + 5.77vw, 3.73rem);
        font-weight: 700;
    }

    .slick-banner-caption-bottom {
        position: absolute;
        bottom: 0;
        width: 100%;
        text-align: right;
        padding: 2em 5em;
        background-color: #00000088;
        color: white;
    }

    @media (max-width: 576px) {
        .page-news-content .slick-banner-caption-bottom {
            position: relative;
        }
    }

    .slick-arrow {
        top: 80%;
    }

    button.slick-arrow {
        transition: all .3s ease-in-out;
        z-index: 1;
        right: 10%;
    }

    button.slick-prev.slick-arrow {
        transform: rotateZ(180deg) translate(0, 50%);
        left: auto;
        right: calc(10% + clamp(45px, 10vw, 65px));
    }

    .region_banner button.slick-arrow {
        top: auto !important;
        bottom: 50px !important;
        transform: unset !important;
    }

    .region_banner button.slick-arrow.with-bottom-caption {
        bottom: 130px !important;
    }

    .region_banner button.slick-prev.slick-arrow {
        transform: rotateZ(180deg) !important;
    }

    button.slick-arrow svg {
        width: clamp(38px, 8vw, 47px) !important;
        height: clamp(38px, 8vw, 48px) !important;
    }

    button.slick-arrow rect,
    button.slick-arrow path {
        transition: all .3s ease-in-out;
    }

    button.slick-arrow:hover rect {
        stroke: var(--bs-primary) !important;
    }

    button.slick-arrow:hover path {
        fill: var(--bs-primary) !important;
    }

    .banner-overlay {
        background-color: rgba(var(--bs-dark-rgb), 0.7);
        color: white;
        padding: 1rem 2em;
        display: flex;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .banner-overlay-title {
        flex: 1;
        display: flex;
        justify-content: start;
    }

    .banner-overlay-title > * {
        margin: auto 0 !important;
    }

    .banner-overlay-buttons {
        display: flex;
        white-space: nowrap;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.3em;
    }

    .banner-overlay-buttons .slick-arrow {
        position: unset;
        display: block;
        width: clamp(40px, 8vw, 50px) !important;
        height: clamp(40px, 8vw, 50px) !important;
    }

    .banner-overlay-caption {
        background-color: rgba(var(--bs-dark-rgb), 0.7);
        padding: 1rem 2rem;
        position: absolute;
        /* top: -1rem; */
        bottom: 0;
        right: 0;
        /* transform: translateY(-100%); */
        transform: translateY(-90px);
    }

    .banner-overlay-caption {
        max-width: 90vw;
    }

    @media (min-width: 680px) {
        .banner-overlay-caption {
            max-width: 65vw;
        }   
    }

    @media (min-width: 992px) {
        .banner-overlay-caption {
            max-width: 40vw;
        }   
    }
/* Banner */

/* Messages alert */
    .messages__wrapper {
        margin-top: 1.5em;
    }

    .messages .placeholder {
        background-color: transparent !important;
        opacity: 1;
        vertical-align: baseline;
    }

    .messages .placeholder a {
        font-weight: 600;
    }

    .messages .placeholder::before {
        content: ' - "';
    }

    .messages .placeholder::after {
        content: '"';
    }
/* Messages alert */

/* Featured Projects */
    .featured-projects,
    .featured-project {
        position: relative;
    }

    .featured-project img {
        filter: brightness(0.75);
    }

    .featured-project-caption {
        position: absolute;
        top: 50%;
        /* bottom: 30%; */
        right: calc(7% + 60px);
        left: calc(7% + 60px);
        color: white;
        text-shadow: 0px 0px 3px black;
        transform: translateY(-50%);
    }

    .featured-project-caption {
        font-size: clamp(1rem, 0.018rem + 2.558vw, 17px);
    }

    .featured-project-caption a {
        color: white;
    }

    .featured-project-caption a.fw-medium:hover {
        color: white !important;
        font-weight: bold !important;
    }

    .featured-projects .slick-arrow {
        top: 50%;
        /* top: 13rem; */
        /* bottom: 30%; */
    }

    .featured-projects .slick-prev.slick-arrow {
        right: auto;
        left: 7%;
    }

    .featured-projects .slick-next.slick-arrow {
        right: 7%;
        left: auto;
    }

    .featured-projects-slider .slick-list,
    .featured-projects-slider .slick-list .slick-track,
    .featured-projects-slider .slick-slide {
        display: flex;
        height: auto !important;
    }
/* Featured Projects */

/* img grid */
    .img-grid-caption {
        position: absolute;
        bottom: 10%;
        left: 10%;
        right: 10%;
        color: white;
        font-size: 20px;
        font-weight: 700;
        text-shadow: 0px 0px 3px black;
    }

    .img-grid-item {
        min-width: 340px;
        overflow: hidden;
    }

    .img-grid-item a img {
        transition: all .3s ease-in-out;
    }

    .img-grid-item a:hover img {
        transform: scale(110%);
    }

    .card-img-top[data-mh] {
        width: auto !important;
        object-fit: cover;
    }

    .img-hover img {
        height: 100%;
        /* width: auto; */
        object-fit: cover;
        transition: all .3s ease-in-out;
    }

    .img-hover:hover img {
        transform: scale(1.1);
    }

    .img-hover:hover .img-grid-overlay {
        content: "";
        position: absolute;
        top: 0;
        left: calc(var(--bs-gutter-x) * 0.5);
        width: calc(100% - (2 * var(--bs-gutter-x) * 0.5));
        height: 100%;
        background: rgba(3, 78, 161, .7);
        transition: all .3s ease-in-out;
    }

    .img-hover .img-grid-overlay {
        background: rgba(3, 78, 161, 0);
        transition: all .3s ease-in-out;
        transition-behavior: allow-discrete;
        @starting-style {
            opacity: 0;
        }
    }
/* img grid */

/* lightbox */
    .img-lightbox {
        cursor: zoom-in;
        transition: transform 0.3s ease;
    }

    .img-lightbox:hover {
        transform: scale(110%);
    }
/* lightbox */

/* Year Filter*/
    .views-exposed-form {
        display: none;
    }

    /* select[name=year_filter] {
        position: absolute;
        top: 0em;
        right: 2em;
        max-width: 150px;
        padding: 0.7em 1em;
    } */
/* Year Filter*/

/* Pagination */
    .page-item a {
        background-color: var(--bs-body-bg);
        color: var(--bs-body-color);
        border: 0;
        font-weight: 700;
        font-size: 1.3em;
    }

    .page-item.is-active a {
        background-color: var(--bs-primary);
        color: white;
        font-weight: 700;
        font-size: 1.3em;
    }


    .page-item:not(:last-child) {
        margin-right: 2em;
    }
/* Pagination */

/* lightbox video */
    .lightbox-video {
    display: block;
    position: relative;
    }

    .lightbox-video .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
    }

    .lightbox-video:hover .overlay {
    opacity: 1;
    background-color: rgb(0 0 0 / 30%);
    }

    .lightbox-video .overlay .overlay-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    font-size: 2rem;
    white-space: nowrap;
    }

    .lightbox-video .overlay .overlay-button .overlay-icon {
    width: 2em;
    height: 2em;
    }

    .lightbox-video .overlay .overlay-button svg.overlay-icon path {
    fill: var(--yellow-color-1);
    transition: all .3s ease-in-out;
    }

    .lightbox-video:hover .overlay .overlay-button svg.overlay-icon path {
    fill: var(--red-color-1);
    }

    .lightbox-video .overlay .overlay-button .overlay-caption {
    display: inline;
    white-space: nowrap;
    color: white;
    text-shadow: -1px -1px 0px var(--yellow-color-1), 1px -1px 0px var(--yellow-color-1), -1px 1px 0px var(--yellow-color-1), 1px 1px 0px var(--yellow-color-1);
    transition: all 0.2s ease-in-out;
    }

    .lightbox-video:hover .overlay .overlay-button .overlay-caption {
    text-shadow: -1px -1px 0px var(--red-color-1), 1px -1px 0px var(--red-color-1), -1px 1px 0px var(--red-color-1), 1px 1px 0px var(--red-color-1);
    }

    .lightbox-video .overlay .overlay-text {
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 1.1rem;
    color: white;
    background-color: rgb(0 0 0 / 30%);
    transition: all 0.5s ease-in-out;
    }

    .lightbox-video:hover .overlay .overlay-text {
    background-color: unset;
    }
/* lightbox video */
