﻿.dark-mode {
    color: var(--warning);
}
/*--------------------------------------------------------------
# Composite Icon
--------------------------------------------------------------*/
.composite-icon {
    position: relative;
}

.composite-icon .sub-icon {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.4em;
}
/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    right: 15px;
    bottom: 15px;
    background: #67b0d1;
    color: #fff;
    transition: display 0.5s ease-in-out;
    z-index: 99999;
}

#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

    #myImg:hover {
        opacity: 0.7;
    }

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 200px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

    .close:hover,
    .close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

.back-to-top i {
    font-size: 24px;
    position: absolute;
    top: 7px;
    left: 8px;
}

.back-to-top:hover {
    background: #86c0da;
    color: #fff;
    transition: background 0.2s ease-in-out;
}

.dark-mode .back-to-top {
    color: var(--warning);
    background: var(--dark);
    box-shadow: 0px 0px 20px 5px rgb(255 255 255 / 40%);
}

.dark-mode .back-to-top:hover {
    color: var(--warning);
    background: var(--gray-dark);
}

.hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .hover-effect:hover {
        transform: scale(1.05); /* Zoom */
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.6); /* White glow */
        z-index: 10;
        cursor: pointer;
    }

.view-album-btn {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    background-color: transparent;
    border: 2px solid #ffc107;
    border-radius: 20px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .view-album-btn:hover {
        background-color: #ffc107; /* Bootstrap warning color */
        color: #000;
        box-shadow: 0 0 12px rgba(255, 193, 7, 0.7);
        transform: scale(1.05);
    }

    .view-album-btn::after {
        content: " →";
        opacity: 0;
        transform: translateX(-5px);
        transition: all 0.3s ease;
    }

    .view-album-btn:hover::after {
        opacity: 1;
        transform: translateX(0);
    }



.gallery-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff; /* or #00bfff or #00ff99 */
    text-shadow: 1px 1px 6px rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    position: relative;
}

    .gallery-card-title::after {
        content: '';
        display: block;
        width: 40px;
        height: 3px;
        background: currentColor;
        margin-top: 6px;
        border-radius: 2px;
        transition: width 0.3s ease;
    }

.card:hover .gallery-card-title::after {
    width: 60px;
}

.open-gallery-btn {
    padding: 12px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #1e3c72, #2a5298); /* Deep blue gradient */
    border: none;
    border-radius: 40px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(30, 60, 114, 0.4);
}

    .open-gallery-btn:hover {
        background: linear-gradient(135deg, #2a5298, #1e3c72);
        transform: scale(1.05);
        box-shadow: 0 6px 15px rgba(30, 60, 114, 0.6);
    }
.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-modal-content {
    background: #fff;
    border-radius: 20px;
    padding: 30px 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.custom-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.custom-subtitle {
    color: #555;
    font-size: 14px;
    margin-bottom: 20px;
}

.custom-close {
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #888;
}

.year-btn {
    display: inline-block;
    margin: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    color: white;
}

.year-blue {
    background: #007bff;
}

.year-green {
    background: #28a745;
}

.year-red {
    background: #dc3545;
}

.year-purple {
    background: #6f42c1;
}

.year-orange {
    background: #fd7e14;
}

.year-btn:hover {
    opacity: 0.85;
    transform: scale(1.05);
}


/*--------------------------------------------------------------
# Quick Action
--------------------------------------------------------------*/
.quick-action {
    position: fixed;
    top: 50%;
    left: 100%;
    transform: translate(0, -50%);
    z-index: 99;
}

.quick-action .quick-action-item {
    background: #0298da;
    border-radius: 30px 0px 0px 30px;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    transform: translateX(-45px);
    transition: transform .2s;
}

.quick-action .quick-action-item:hover {
    transform: translate(-100%, 0%)
}

.quick-action .quick-action-item button {
    font-size: 28px;
    color: #fff;
    transition: transform .2s ease-in-out, color .2s ease-in-out;
}

.quick-action .quick-action-item button.increase-font-size:hover {
    transform: scale(1.3);
}

.quick-action .quick-action-item button.decrease-font-size:hover {
    transform: scale(0.7);
}

.quick-action .quick-action-item button.normal-theme:hover {
    color: #fff;
}

.quick-action .quick-action-item button.high-contrast-theme:hover {
    color: var(--orange);
}

.quick-action .quick-action-item a {
    font-size: 28px;
    color: #fff;
}

.dark-mode .quick-action .quick-action-item {
    background: var(--dark);
    box-shadow: 5px 5px 10px 0 rgb(255 255 255 / 40%);
}

.dark-mode .quick-action .quick-action-item button, .dark-mode .quick-action .quick-action-item a {
    color: var(--orange);
}

@media (max-width: 575px) {
    .quick-action .quick-action-item button, .quick-action .quick-action-item a {
        font-size: 18px;
    }

    .quick-action .quick-action-item {
        transform: translateX(-33px);
    }
}

#main {
    margin-top: 90px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    transition: all 0.5s;
    z-index: 997;
    transition: all 0.5s;
    padding: 15px 0;
    /* background: rgba(103, 176, 209, 0.8);*/
    background: rgb(232 234 235 / 80%);
}

#header.header-transparent {
    background: transparent;
}

    #header.header-scrolled {
        background: rgb(103 176 209 / 93%);
        /*background: rgb(232 234 235 / 80%);*/
        padding: 8px;
    }

#header .logo h1 {
    font-size: 24px;
    margin: 0;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
}

#header .logo h1 a, #header .logo h1 a:hover {
    color: #fff;
    text-decoration: none;
}

#header .logo img {
    padding: 0;
    margin: 0;
    max-height: 57px;
}

.dark-mode #header.header-scrolled {
    background: rgb(0 75 109 / 93%);
    padding: 8px;
}

@media (max-width: 768px) {
    #header.header-scrolled {
        padding: 15px 0;
    }
}

#header #SearchAllPanel {
    position: relative;
}

#header #SearchAllPanel .search-panel {
    /*opacity: 0;*/
    /*z-index: -1;*/
    /*position: absolute;*/
    width: 450px;
    right: 0;
    transition: opacity .2s ease-out;
}

#header #SearchAllPanel .search-panel .form-control-input-search {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

#header #SearchAllPanel .search-panel .btn-search-cancel {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

#header #SearchAllPanel .search-panel.search-clicked {
    opacity: 1;
    z-index: 0;
}

#header #SearchAllPanel .btn-search {
   /* border-radius: 100%;*/
    background: transparent;
    border: 2px solid;
    color: #fff;
}

#header #SearchAllPanel .btn-search.search-clicked {
    opacity: 0;
    z-index: -1;
}

.dark-mode #header {
    background: #057bb1cc;
}

.dark-mode #header #SearchAllPanel .btn-search, .dark-mode #header #SearchAllPanel .search-panel .btn-search-cancel {
    color: var(--warning);
}

@media (max-width: 991px) {
    #header #SearchAllPanel .search-panel {
        width: calc(100vw - 80.5px);
    }
}
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu, .nav-menu * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu.search-clicked {
    z-index: -1;
    opacity: 0;
}

.nav-menu > ul > li {
    position: relative;
    white-space: nowrap;
    float: left;
    margin-right: 5px;
}

.nav-menu a {
    display: block;
    position: relative;
    /*color: #ffffff;*/
    color:#0c0c0c;
    padding: 8px 12px;
    transition: 0.3s;
    font-size: 0.7rem;
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

.nav-menu li:hover > a {
    color: cornflowerblue;
}

.nav-menu a:hover, .nav-menu .active > a, .nav-menu li:hover > a {
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.dark-mode .nav-menu a {
    color: var(--yellow);
}

.dark-mode .nav-menu li:hover > a {
    color: var(--orange);
}

.header-scrolled .nav-menu > ul > li {
    background: none;
}

.header-scrolled .nav-menu a {
    color: #fff;
}

.header-scrolled .nav-menu a:hover, .header-scrolled .nav-menu .active > a, .header-scrolled .nav-menu li:hover > a {
    background: rgba(255, 255, 255, 0.2);
}

.dark-mode .header-scrolled .nav-menu a {
    color: var(--warning);
}

.nav-menu .drop-down ul {
    display: block;
    position: absolute;
    right: 0;
    top: calc(100% + 30px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    padding: 10px 0;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: ease all 0.3s;
}

.nav-menu .drop-down:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.nav-menu .drop-down li {
    min-width: 180px;
    position: relative;
}

.nav-menu .drop-down ul a {
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: none;
    color: #25607a;
    word-break: break-word;
    width: 100%;
    height: auto;
    white-space: normal;
}

.nav-menu .drop-down ul a:hover, .nav-menu .drop-down ul .active > a, .nav-menu .drop-down ul li:hover > a {
    color: #67b0d1;
}

.nav-menu .drop-down > a:after {
    content: "\ea99";
    font-family: IcoFont;
    padding-left: 5px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-menu .drop-down .drop-down ul {
    top: 0;
    right: calc(100% - 30px);
}

.nav-menu .drop-down .drop-down:hover > ul {
    opacity: 1;
    top: 0;
    right: 100%;
}

.nav-menu .drop-down .drop-down > a {
    padding-right: 35px;
}

.nav-menu .drop-down .drop-down > a:after {
    content: "\ea9d";
    font-family: IcoFont;
    position: absolute;
    right: 15px;
}

.dark-mode .nav-menu .drop-down ul {
    background: var(--dark);
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: ease all 0.3s;
}

.dark-mode .nav-menu .drop-down ul a {
    color: var(--warning);
}

.dark-mode .nav-menu .drop-down ul a:hover, .dark-mode .nav-menu .drop-down ul .active > a, .dark-mode .nav-menu .drop-down ul li:hover > a {
    color: var(--orange);
}

@media (max-width: 1366px) {
    .nav-menu .drop-down .drop-down ul {
        left: -90%;
    }

    .nav-menu .drop-down .drop-down:hover > ul {
        left: -100%;
    }
}

/* Mobile Navigation */
.mobile-nav-toggle {
    z-index: 9998;
    border: 0;
    background: none;
    font-size: 24px;
    transition: all 0.4s;
    outline: none !important;
    line-height: 1;
    cursor: pointer;
    text-align: right;
}

.mobile-nav-toggle i {
    color: #fff;
}

.mobile-nav {
    position: fixed;
    top: 55px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    z-index: 9999;
    overflow-y: auto;
    background: #fff;
    transition: ease-in-out 0.2s;
    opacity: 0;
    visibility: hidden;
    border-radius: 10px;
    padding: 10px 0;
}

.mobile-nav * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-nav a {
    display: block;
    position: relative;
    color: #2f4d5a;
    padding: 10px 20px;
    font-weight: 500;
    outline: none;
}

.mobile-nav a:hover, .mobile-nav .active > a, .mobile-nav li:hover > a {
    color: #67b0d1;
    text-decoration: none;
}

.mobile-nav .drop-down > a:after {
    content: "\ea99";
    font-family: IcoFont;
    padding-left: 10px;
    position: absolute;
    right: 15px;
}

.mobile-nav .active.drop-down > a:after {
    content: "\eaa1";
}

.mobile-nav .drop-down > a {
    padding-right: 35px;
}

.mobile-nav .drop-down ul {
    display: none;
    overflow: hidden;
}

.mobile-nav .drop-down li {
    padding-left: 20px;
}

.mobile-nav-overly {
    width: 100%;
    height: 100%;
    z-index: 9997;
    top: 0;
    left: 0;
    position: fixed;
    background: rgba(30, 48, 56, 0.6);
    overflow: hidden;
    display: none;
    transition: ease-in-out 0.2s;
}

.mobile-nav-active {
    overflow: hidden;
}

.mobile-nav-active .mobile-nav {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-active .mobile-nav-toggle i {
    color: #fff;
}

.dark-mode .mobile-nav-toggle i, .dark-mode .mobile-nav-active .mobile-nav-toggle i {
    color: var(--orange);
}

.dark-mode .mobile-nav {
    background: var(--dark);
}

.dark-mode .mobile-nav a {
    color: var(--orange);
}

.dark-mode .mobile-nav a:hover, .dark-mode .mobile-nav .active > a, .dark-mode .mobile-nav li:hover > a {
    color: var(--yellow);
}

.dark-mode .mobile-nav-overly {
    background: rgba(30, 48, 56, 0.6);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
    width: 100%;
   /* height: calc(100vh - 90px);*/
    padding: 0;
    overflow: hidden;
    position: relative;
	margin-top: 90px;
}

#heroCarousel{
    padding: 0;
    /*height: 100%;*/
    height:367px;
}


#heroCarousel div.carousel-item {
    height: 367px;
    overflow: hidden;
}

#heroCarousel .carousel-item .card .card-img-overlay {
    display: none;
}

#heroCarousel .carousel-item .card:hover .card-img-overlay {
    display: block;
}

#heroCarousel .carousel-item .card .card-img-overlay .card-text {
        width: 100%;       
        text-align: justify;
        text-justify: inter-word;
}


#hero .carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

#hero h2 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 3rem;
    font-weight: 700;
}

#hero p {
    width: 80%;
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
    /*margin: 0 auto 30px auto;*/
    color: #fff;
}

#hero .img-container {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#hero .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*filter: brightness(50%);*/
}

#hero .hero-img, #hero .card {
    border-radius: 0.8rem;
}

#hero .carousel-control-prev, #hero .carousel-control-next {
    width: 10%;
}

#hero .carousel-control-next-icon, #hero .carousel-control-prev-icon {
    background: none;
    font-size: 3rem;
    line-height: 1;
    width: auto;
    height: auto;
}

#hero .carousel-indicators {
	position: relative;
    margin-bottom: 10px;
    color: white;
}

#hero .carousel-indicators::-webkit-scrollbar {
    height: 0.5rem;
}

#hero .carousel-indicators::-webkit-scrollbar-track {
    background: #f1f1f140;
}

#hero .carousel-indicators::-webkit-scrollbar-track:hover {
    background: #f1f1f170;
}

#hero .carousel-indicators::-webkit-scrollbar-thumb {
    background: #07a7d2;
}

#hero .carousel-indicators::-webkit-scrollbar-thumb:hover {
    background: #00617b;
}

#hero .carousel-indicators .hero-thumb-img-container {
    position: relative;
    z-index: 15;
    cursor: pointer;
    padding-top: 10px
}

#hero .carousel-indicators .active {
    z-index: 16;
}

#hero .carousel-indicators .hero-thumb-title {
    z-index: 15;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    text-align: center;
}

#hero .carousel-indicators .hero-thumb-img {
    max-width: 100%;
    z-index: 15;
    opacity: 0.9;
    margin-bottom: 10px;
    box-shadow: 0 0 5px 2px white;
    background-color: #0298da;
    filter: brightness(35%);
    transition: all .6s ease;
}

#hero .carousel-indicators .active .hero-thumb-img {
    opacity: 1;    
    filter: brightness(45%);
    transform: scale(1.1);
}

@media (max-width: 575px) {
    #hero .carousel-indicators {
        margin-left: 0;
        margin-right: 0;
        font-size: 0.8rem;
        justify-content: space-between;
    }

    #hero .carousel-indicators .hero-thumb-img {
        max-width: 170px;
        margin-right: 5px;
        margin-left: 5px;
    }
}

#hero .btn-skip-to-main-content {
    position: absolute;
    font-size: 2rem;
    display: inline-block;
    padding: 4px 0;
    border-radius: 50px;
    transition: 0.3s ease-in-out;
    margin: 10px;
    width: 64px;
    height: 64px;
    text-align: center;
    border: 8px solid #0298DA;
    color: #0298DA;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    box-shadow: 0 0 0 rgba(2,152,218, 0.4);
    animation: pulse 2s infinite;
}

#hero .btn-skip-to-main-content:hover {
    padding-top: 8px;
    background: rgba(255, 255, 255, 0.15);
    animation: none;
}

.dark-mode #hero h2 {
    color: #fd7e14;
}

.dark-mode #hero p {
    color: #fd7e14;
}

.dark-mode #hero img {
    filter: brightness(15%);
}

.dark-mode #hero .btn-skip-to-main-content {
    border: 2px solid var(--orange);
    color: var(--warning);
    box-shadow: 0 0 0 rgba(255,255,255, 0.4);
    animation: pulsedark 2s infinite;
}

.dark-mode #hero .btn-skip-to-main-content:hover {
    background: rgba(255, 255, 255, 0.15);
    animation: none;
}

.dark-mode #hero .carousel-indicators {
    color: var(--warning);
}

.dark-mode #hero .carousel-indicators .hero-thumb-img {
    background-color: var(--warning);
    box-shadow: 0 0 5px 2px var(--warning);
}

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(2,152,218, 0.4);
    }

    70% {
        -webkit-box-shadow: 0 0 0 40px rgba(103,176,209, 0);
    }

    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(2,152,218, 0);
    }
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(2,152,218, 0.4);
        box-shadow: 0 0 0 0 rgba(2,152,218, 0.4);
    }

    70% {
        -moz-box-shadow: 0 0 0 40px rgba(103,176,209, 0);
        box-shadow: 0 0 0 40px rgba(103,176,209, 0);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(2,152,218, 0);
        box-shadow: 0 0 0 0 rgba(2,152,218, 0);
    }
}

@-webkit-keyframes pulsedark {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgb(253 126 20);
    }

    70% {
        -webkit-box-shadow: 0 0 0 40px rgba(103,176,209, 0);
    }

    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(255,255,255, 0);
    }
}

@keyframes pulsedark {
    0% {
        -moz-box-shadow: 0 0 0 0 rgb(253 126 20);
        box-shadow: 0 0 0 0 rgb(253 126 20);
    }

    70% {
        -moz-box-shadow: 0 0 0 40px rgba(103,176,209, 0);
        box-shadow: 0 0 0 40px rgba(103,176,209, 0);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(255,255,255, 0);
        box-shadow: 0 0 0 0 rgba(255,255,255, 0);
    }
}

@media (min-width: 1024px) {
    #hero p {
        width: 60%;
    }

    #hero .carousel-control-prev, #hero .carousel-control-next {
        width: 5%;
    }
}

@media (max-width: 575px) {
    #hero h2 {
        font-size: 1.6rem;
    }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
.section {
    padding: 98px 0;
}

.section-bg {
    background-color: #f4f9fc;
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
}

.section-title h2 {
    font-weight: bold;
    position: relative;
    margin-bottom: 30px;
    color: #2f4d5a;
    z-index: 2;
    margin-top: 37px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 122px;
    height: 66px;
    background: url(../img/section-title-bg.png) no-repeat;
    z-index: -1;
}

.section-title p {
    margin-bottom: 0;
}

.dark-mode .section-bg {
    background-color: rgb(0 37 53);
}

.dark-mode .section-title h2 {
    color: var(--orange);
    letter-spacing: 5px;
    text-shadow: 8px 7px 7px rgb(168 137 32 / 80%);
}

.dark-mode .section-title h2::after {
    content: none;
}

/*--------------------------------------------------------------
# Tab Content
--------------------------------------------------------------*/
.tab-content::-webkit-scrollbar {
    width: 10px;
}
.tab-content::-webkit-scrollbar-track {
    background: #f1f1f140;
}
.tab-content::-webkit-scrollbar-track:hover {
    background: #f1f1f170;
}
.tab-content::-webkit-scrollbar-thumb {
    background: #07a7d2;
}
.tab-content::-webkit-scrollbar-thumb:hover {
    background: #00617b; 
}
/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
    padding: 15px 0;
    background-color: #f8fbfd;
    min-height: 40px;
}

.breadcrumbs h2 {
    font-size: 1.8rem;
    font-weight: 300;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
}

.breadcrumbs ol li + li {
    padding-left: 10px;
}

.breadcrumbs ol li + li::before {
    display: inline-block;
    padding-right: 10px;
    color: #6c757d;
    content: "/";
}

@media (max-width: 768px) {
    .breadcrumbs .d-flex {
        display: block !important;
    }

    .breadcrumbs ol {
        display: block;
    }

    .breadcrumbs ol li {
        display: inline-block;
    }
}
/*--------------------------------------------------------------
# CEO Message
--------------------------------------------------------------*/
.ceo-message {
    box-sizing: content-box;
    text-align: center;
    min-height: 320px;
}

.ceo-message .ceo-message-img {
    width: 90px;
    border-radius: 50%;
    margin: 0 auto;
}

.ceo-message .quote-icon-left, .ceo-message .quote-icon-right {
    color: #d5e9f2;
    font-size: 1.5rem;
}

.ceo-message .quote-icon-left {
    display: inline-block;
    left: -5px;
    position: relative;
}

.ceo-message .quote-icon-right {
    display: inline-block;
    right: -5px;
    position: relative;
    top: 10px;
}

.ceo-message p {
    font-style: italic;
    margin: 0 15px 15px 15px;
    padding: 20px;
    background: #fff;
    position: relative;
    margin-bottom: 35px;
    border-radius: 6px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.ceo-message p::after {
    content: "";
    width: 0;
    height: 0;
    border-top: 20px solid #fff;
    border-right: 20px solid transparent;
    border-left: 20px solid transparent;
    position: absolute;
    bottom: -20px;
    left: calc(50% - 20px);
}

.dark-mode .ceo-message .quote-icon-left, .dark-mode .ceo-message .quote-icon-right {
    color: var(--warning);
}

.dark-mode .ceo-message p {
    background: var(--dark);
}

.dark-mode .ceo-message p::after {
    border-top: 20px solid var(--dark);
}
/*--------------------------------------------------------------
# What's New
--------------------------------------------------------------*/
.whats-new {
    background: linear-gradient(rgba(103, 176, 209, 0.8), rgba(103, 176, 209, 0.8)), url("../img/cta-bg.jpg") fixed center center;
    background-size: cover;
}

#hero .whats-new {
	background: none;
}

.whats-new .news-container {
    width: 100%;
    font-size: 1.3rem;
}
.whats-new .news-container .news-title, .whats-new .news-container .news-body {
    padding: 8px 6px;
    border: 5px solid #0298da;
    white-space: nowrap;
}
.whats-new .news-container .news-title {
    background-color: #0298da;
    position: relative;
    border-radius: 8px 0 0 8px;
    font-weight: bold;
    border-right: 0;
    color: #fff;
    z-index: 2;
}
.whats-new .news-container .news-title > *{
    z-index: 2;
}
    .whats-new .news-container .news-body {
        border-left: 0;
        border-radius: 0 8px 8px 0;
        overflow: hidden;
        color: #000102;
        background-color: #EDF0F4;
    }
.whats-new .news-container .news-title:before, .news-container .news-title:after {
    z-index: 1;
}
.whats-new .news-container .news-title:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 30px;
    background-color: #0298da;
    -webkit-transform: skew( 25deg );
    -moz-transform: skew(25deg);
    -ms-transform: skew(25deg);
    -o-transform: skew(25deg);
    transform: skew(25deg );
}
.whats-new .news-container .news-title:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 30px;
    background-color: #0298da;
    -webkit-transform: skew( -25deg );
    -moz-transform: skew(-25deg);
    -ms-transform: skew(-25deg);
    -o-transform: skew(-25deg);
    transform: skew(-25deg );
}
.whats-new .news-container .news-title > i {
    padding-right: 3px;
}
.whats-new .news-container .news-body .news-body-items {
    position: relative;
}
.whats-new .news-container .news-body .news-body-items .news-body-items-container {
	padding-left: 100%;
	position: absolute;
    display: inline-flex;
    will-change: transform;
    animation: marquee 30s linear infinite;
}
.whats-new .news-container .news-body .news-body-items .news-body-items-container:hover {
    animation-play-state: paused;
}
.whats-new .news-container .news-body .news-body-items .news-body-item::after {
    content: "\2022";
    padding: 0 0.8rem 0 0.8rem;
    font-weight: bold;
    font-size: 1.4rem;
}

.dark-mode .whats-new {
    background: linear-gradient(rgb(0 38 56 / 87%), rgb(31 36 41 / 76%)), url(../img/cta-bg.jpg) fixed center center;
}

.dark-mode .whats-new .news-container .news-title, .dark-mode .whats-new .news-container .news-body {
    border: 5px solid var(--dark);
}
.dark-mode .whats-new .news-container .news-title {
    background-color: var(--dark);
    color: var(--orang);
}
.dark-mode .whats-new .news-container .news-body {
    color: var(--warning);
}
.dark-mode .whats-new .news-container .news-title:before {
    background-color: var(--dark);
}
.dark-mode .whats-new .news-container .news-title:after {
    background-color: var(--dark);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}
.whats-new .news-summary {
    width: 100%;
}
.whats-new .news-summary .tab-content {
    backdrop-filter: blur(10px);
    background-color: rgb(0 0 0 / 10%);
    padding: 15px 10px;
    border-radius: 0px 0px 5px 5px;
    font-weight: bold;
    color: turquoise;
    max-height: 70vh;
    overflow-y: scroll;
}
.whats-new .news-summary .nav-pills .nav-link {
    color: paleturquoise;
    margin-bottom: -5px;
}
.whats-new .news-summary .nav-pills .nav-link:not(.active):hover {
    color: darkturquoise;
    border-bottom: 5px solid;
}
.whats-new .news-summary .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #ffffff;
    font-weight: bold;
    background-color: #0298da;
    border-bottom: 5px solid #0298da;
}

.dark-mode .whats-new .news-summary .tab-content {
    backdrop-filter: blur(10px);
    background-color: rgb(0 0 0 / 30%);
    padding: 15px 10px;
    border-radius: 0px 0px 5px 5px;
    font-weight: bold;
    color: var(--warning);
    max-height: 70vh;
    overflow-y: scroll;
}
.dark-mode .whats-new .news-summary .nav-pills .nav-link {
    color: var(--white);
    margin-bottom: -5px;
}
.dark-mode .whats-new .news-summary .nav-pills .nav-link:not(.active):hover {
    color: var(--warning);
    border-bottom: 5px solid var(--yellow);
}
.dark-mode .whats-new .news-summary .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: var(--warning);
    background-color: var(--dark);
    border-bottom: 5px solid var(--yellow);
}
/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
    padding: 6px;
    position: relative;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.services .icon-box::before {
    content: '';
    position: absolute;
    background: white;
    right: 0;
    left: 0;
    bottom: 0;
    top: 100%;
    transition: all 0.3s;
    z-index: -1;
}

.services .icon-box:hover::before {
    background: #67b0d1;
    top: 0;
    border-radius: 0px;
}

.services .icon {
    margin-bottom: 15px;
    height:53px;
    overflow:hidden;
}

.services .icon i {
    font-size: 3rem;
    line-height: 1;
    color: #67b0d1;
    transition: all 0.3s ease-in-out;
}

.services .icon img {
    max-height: 100px;
    object-fit: cover;
}

.services .title {
    font-weight: 700;
    margin-bottom: 68px;
    font-size: 0.9rem;
    text-align:center;
    height:0px;
    
}

.services .title a {
    color: #111;
}

.services .description {
    font-size: 1rem;
    line-height: 28px;
    margin-bottom: 0;
    text-align: center;
}

.services .icon-box:hover .title a, .services .icon-box:hover .description {
    color: #fff;
}

.services .icon-box:hover .icon i {
    color: #fff;
}

.dark-mode .services .icon-box {
    background: black;
    box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
}

.dark-mode .services .icon-box::before {
    background: #002535;
}

.dark-mode .services .icon-box:hover::before {
    background: #002535;
}

.dark-mode .services .icon i, .dark-mode .services .title a, .dark-mode .services .description {
    color: var(--white);
}

.dark-mode .services .icon-box:hover .icon i, .dark-mode .services .icon-box:hover .title a, .dark-mode .services .icon-box:hover .description {
    color: var(--warning);
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
    padding-bottom: 30px;
}

.counts .count-box {
    padding: 30px;
    width: 100%;
}

.counts .count-box i {
    display: block;
    font-size: 2.8rem;
    color: #67b0d1;
    float: left;
}

.counts .count-box span {
    font-size: 3rem;
    line-height: 40px;
    display: block;
    font-weight: 700;
    color: #2f4d5a;
    margin-left: 60px;
}

.counts .count-box p {
    padding: 15px 0 0 0;
    margin: 0 0 0 60px;
    font-family: "Raleway", sans-serif;
    font-size: 0.8rem;
    color: #49788c;
}

.counts .count-box a {
    font-weight: 600;
    display: block;
    margin-top: 20px;
    color: #49788c;
    font-size: 1rem;
    font-family: "Poppins", sans-serif;
    transition: ease-in-out 0.3s;
}

.counts .count-box a:hover {
    color: #6e9fb4;
}

.dark-mode .counts .count-box i {
    color: var(--orange);
}

.dark-mode .counts .count-box span {
    color: var(--warning);
}

.dark-mode .counts .count-box p {
    color: var(--yellow);
}

.dark-mode .counts .count-box a {
    color: #49788c;
}

.dark-mode .counts .count-box a:hover {
    color: #6e9fb4;
}
/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team {
    background: url("../img/about-bg.jpg") center center no-repeat;
    background-size: cover;
}

.team .team-item {
    margin-bottom: 30px;
}

.team #team-flters {
    padding: 0;
    margin: 0 auto 35px auto;
    list-style: none;
    text-align: center;
    background: #ecf5f9;
    border-radius: 50px;
    padding: 2px 15px;
}

.team #team-flters li {
    cursor: pointer;
    display: inline-block;
    padding: 10px 15px 8px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    color: #2f4d5a;
    margin-bottom: 5px;
    transition: all 0.3s ease-in-out;
}

.team #team-flters li:hover, .team #team-flters li.filter-active {
    color: #67b0d1;
}

.team #team-flters li:last-child {
    margin-right: 0;
}

.team .member {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.team .member .pic {
    overflow: hidden;
    background-image: linear-gradient(#67b0d1, transparent);
    padding: 20px 0px;
}

.team .member .pic img {
    height: 50px;
}

.team .member .member-info {
    position: absolute;
    top: 85%;
    left: 20px;
    right: 20px;
    background: #fff;
    padding: 20px 0;
    color: #2f4d5a;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    max-height: 95px;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.team .member:hover .member-info {
    max-height: 300px;
}

.team .member h4 {
    font-weight: 700;
    margin-bottom: -15px;
    font-size: 1rem;
    color: #2f4d5a;
    position: relative;
    padding-bottom: 10px;
}

.team .member h4::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 1px;
    background: #b1cbd7;
    bottom: 0;
    left: calc(50% - 25px);
}

.team .member span {
    font-style: italic;
    display: block;
    font-size: 0.8rem;
}

.team .member .social {
    margin-top: 15px;
}

.team .member .social a {
    transition: color 0.3s;
    color: #52869d;
}

.team .member .social a:hover {
    color: #67b0d1;
}

.team .member .social i {
    font-size: 1rem;
    margin: 0 2px;
}

.dark-mode .team {
    background: linear-gradient(#000000db, #000000db), url("../img/about-bg.jpg") center center no-repeat;
    background-size: cover;
}

.dark-mode .team #team-flters {
    background: var(--dark);
}

.dark-mode .team #team-flters li {
    color: var(--yellow);
}

.dark-mode .team #team-flters li:hover, .dark-mode .team #team-flters li.filter-active {
    color: var(--orange);
}

.dark-mode .team .member .pic {
    background-image: linear-gradient(var(--warning), transparent);
}

.dark-mode .team .member .member-info {
    background: var(--dark);
    color: var(--yellow);
}

.dark-mode .team .member h4 {
    color: var(--orange);
}

.dark-mode .team .member h4::after {
    background: var(--warning);
}

.dark-mode .team .member .social a {
    color: var(--orange);
}

.dark-mode .team .member .social a:hover {
    color: var(--yellow);
}

@media (max-width: 992px) {
    .team .member {
        margin-bottom: 110px;
    }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
    padding-bottom: 80px;
}

.contact .info-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #444444;
    background: #fff;
    text-align: center;
    box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
    padding: 20px 0 30px 0;
    margin: 0;
    height: 100%;
}

.contact .info-box i {
    font-size: 2rem;
    color: #67b0d1;
    border-radius: 50%;
    padding: 8px;
    border: 2px dotted #f0f7fa;
}

.contact .info-box h3 {
    font-size: 1.4rem;
    color: #777777;
    font-weight: 700;
    margin: 10px 0;
}

.contact .info-box p {
    padding: 0;
    line-height: 24px;
    font-size: 0.8rem;
    margin-bottom: 0;
}

.contact .email-form {
    box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
    padding: 30px;
    background: #fff;
}

.contact .email-form .validate {
    display: none;
    color: red;
    margin: 0 0 15px 0;
    font-weight: 400;
    font-size: 0.8rem;
}

.contact .email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    font-weight: 600;
}

.contact .email-form .error-message br + br {
    margin-top: 25px;
}

.contact .email-form .sent-message {
    display: none;
    color: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    font-weight: 600;
}

.contact .email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
}

.contact .email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    -webkit-animation: animate-loading 1s linear infinite;
    animation: animate-loading 1s linear infinite;
}

.contact .email-form input, .contact .email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 0.8rem;
}

.contact .email-form input::focus, .contact .email-form textarea::focus {
    background-color: #67b0d1;
}

.contact .email-form input {
    padding: 20px 15px;
}

.contact .email-form textarea {
    padding: 12px 15px;
}

.contact .email-form button[type="submit"] {
    background: #67b0d1;
    border: 0;
    padding: 10px 24px;
    color: #fff;
    transition: 0.4s;
}

.contact .email-form button[type="submit"]:hover {
    background: #8ec4dd;
}

.dark-mode .contact .info-box {
    color: var(--yellow);
    background: var(--dark);
    box-shadow: none;
}

.dark-mode .contact .info-box i {
    color: var(--orange);
    border: 2px dotted var(--orange);
}

.dark-mode .contact .info-box h3 {
    color: var(--warning);
}

.dark-mode .contact .email-form {
    box-shadow: none;
    background: var(--dark);
}

.dark-mode .contact .email-form .validate {
    color: red;
}

.dark-mode .contact .email-form .error-message {
    color: #fff;
    background: #ed3c0d;
}

.dark-mode .contact .email-form .sent-message {
    color: #fff;
    background: #18d26e;
}

.dark-mode .contact .email-form .loading {
    background: #fff;
}

.dark-mode .contact .email-form .loading:before {
    border: 3px solid #18d26e;
    border-top-color: #eee;
    -webkit-animation: animate-loading 1s linear infinite;
    animation: animate-loading 1s linear infinite;
}

.dark-mode .contact .email-form input::focus, .contact .email-form textarea::focus {
    background-color: #67b0d1;
}

.dark-mode .contact .email-form button[type="submit"] {
    background: #002535;
    color: var(--yellow);
}

.dark-mode .contact .email-form button[type="submit"]:hover {
    background: #0073a9;
}

@-webkit-keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    background: #263f49;
    padding: 0 0 30px 0;
    color: #fff;
    font-size: 0.8rem;
}

#footer .footer-top {
    padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
    margin-top: -90px;
    margin-bottom: 15px;
    background: white;
    color: #2f4d5a;
    border-top: 4px solid #67b0d1;
    text-align: center;
    padding: 30px 20px;
}

#footer .footer-top .footer-info h3 {
    font-size: 1.5rem;
    margin: 0 0 20px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    font-weight: 700;
}

#footer .footer-top .footer-info p {
    font-size: 0.8rem;
    line-height: 24px;
    margin-bottom: 0;
    font-family: "Raleway", sans-serif;
}

#footer .footer-top .social-links a {
    font-size: 1.1rem;
    display: inline-block;
    background: #2f4d5a;
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
    background: #67b0d1;
    color: #fff;
    text-decoration: none;
}

#footer .footer-top h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
}

#footer .footer-top .footer-links {
    margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer .footer-top .footer-links ul i {
    padding-right: 2px;
    color: #b5d9e9;
    font-size: 1.1rem;
    line-height: 1;
}

#footer .footer-top .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
}

#footer .footer-top .footer-links ul a {
    color: #fff;
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
    color: #a2cfe3;
}

#footer .footer-top .footer-newsletter form {
    margin-top: 30px;
    background: #fff;
    padding: 6px 10px;
    position: relative;
    border-radius: 4px;
}

#footer .footer-top .footer-newsletter form input[type="email"] {
    border: 0;
    padding: 4px;
    width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type="submit"] {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    border: 0;
    background: none;
    font-size: 1rem;
    padding: 0 20px;
    background: #67b0d1;
    color: #fff;
    transition: 0.3s;
    border-radius: 4px;
}

#footer .footer-top .footer-newsletter form input[type="submit"]:hover {
    background: #409cc5;
}

#footer .copyright {
    border-top: 1px solid #385b6b;
    text-align: center;
    padding-top: 30px;
}

#footer .credits {
    padding-top: 10px;
    text-align: center;
    font-size: 0.8rem;
    color: #fff;
}

.dark-mode #footer {
    background: #263f49;
    color: var(--warning);
}

.dark-mode #footer .footer-top .footer-info {
    background: var(--dark);
    color: var(--warning);
    border-top: 4px solid #67b0d1;
}

.dark-mode #footer .footer-top .social-links a {
    background: var(--orange);
    color: #fff;
}

.dark-mode #footer .footer-top .social-links a:hover {
    background: var(--yellow);
    color: #fff;
}

.dark-mode #footer .footer-top h4 {
    color: var(--orange);
}

.dark-mode #footer .footer-top .footer-links ul i {
    color: var(--orange);
}

.dark-mode #footer .footer-top .footer-links ul a {
    color: var(--yellow);
}

.dark-mode #footer .footer-top .footer-links ul a:hover {
    color: var(--orange);
}

.dark-mode #footer .footer-top .footer-newsletter form {
    background: #fff;
}

.dark-mode #footer .footer-top .footer-newsletter form input[type="submit"] {
    background: #002535;
    color: var(--yellow);
}

.dark-mode #footer .footer-top .footer-newsletter form input[type="submit"]:hover {
    background: #0073a9;
}


/*@media (max-width: 575px) {
    #footer .footer-top .footer-info {
        margin: -20px 0 30px 0;
    }*/

    /* The Overlay (background) */
    .overlay {
        /* Height & width depends on how you want to reveal the overlay (see JS below) */
        height: 100%;
        width: 0;
        position: fixed; /* Stay in place */
        z-index: 1; /* Sit on top */
        left: 0;
        top: 0;
        background-color: rgb(0,0,0); /* Black fallback color */
        background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
        overflow-x: hidden; /* Disable horizontal scroll */
        transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
    }

.overlayYear {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 20%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 230px;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

    /* Position the content inside the overlay */
    .overlay-content {
        position: relative;
        top: 25%; /* 25% from the top */
        width: 100%; /* 100% width */
        text-align: center; /* Centered text/links */
        margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
    }

.overlayYear-content {
    position: relative;
    top: 25%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

    /* The navigation links inside the overlay */
    .overlay a {
        padding: 8px;
        text-decoration: none;
        font-size: 36px;
        color: #818181;
        display: block; /* Display block instead of inline */
        transition: 0.3s; /* Transition effects on hover (color) */
    }

.overlayYear a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
}

        /* When you mouse over the navigation links, change their color */
    .overlay a:hover, .overlay a:focus {
            color: #f1f1f1;
        }


.overlayYear a:hover, .overlayYear a:focus {
    color: #f1f1f1;
}

    /* Position the close button (top right corner) */
    .overlay .closebtn {
        position: absolute;
        top: 20px;
        right: 45px;
        font-size: 60px;
    }

/* Position the close year (top right corner) */

.overlayYear .closeyr {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}






    /* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) and (max-width: 575px) {
    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }



    #footer .footer-top .footer-info {
        margin: -20px 0 30px 0;
    }
}
