body {
    font-family: 'Roboto Condensed', sans-serif;
}

h2, .h2 {
    font-size: 2.5rem;
}

section [id] {
    scroll-margin-top: 100px;
}

nav.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
}

.navbar-brand {
    width: 300px;
    transition: width 0.3s;
}

.active .navbar-brand {
    width: 200px;
}

.navbar a.button {
    font-size: 1.5rem;
    transition: font-size 0.3s;
}

.navbar.active a.button {
    font-size: 1rem;
}


.navbar-nav .nav-item {
    font-size: 1.2rem;
}

.navbar-nav .nav-item .nav-link {
    color: black;
}

.navbar-nav .nav-item:not(:last-child) {
    margin-right: 5%;
}

@media all and (min-width: 992px) {
    .navbar .nav-item .dropdown-menu{ display: none; }
    .navbar .nav-item:hover .nav-link{   }
    .navbar .nav-item:hover .dropdown-menu{ display: block; }
    .navbar .nav-item .dropdown-menu{ margin-top:0; }
}  

a {
    color: #124673;
}

#hero {
    position: relative;
    color: white;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #000;
    opacity: 0.5;
    z-index: 0;
}

#hero img {
    min-height: 500px;
    max-height: 600px;
    width: 100%;
    object-fit: cover;
}

#hero h1 {
    position: absolute;
    bottom: 35%;
    left: 7vw;
    right: 7vw;
    font-weight: bold;
}

#hero #learn-more {
    position: absolute;
    bottom: 3rem;
    left: 7vw;
    right: 7vw;
    font-weight: bold;
    letter-spacing: 1px;
}

.x-margin {
    margin-left: 7vw;
    margin-right: 7vw;
}

.header-line {
    position: relative;
}
.header-line:after {
    content: '';
    position: absolute;
    left: calc(100% + 1rem);
    top: 50%;
    width: 12rem;
    height: 3px;
    background-color: var(--primary);
}

.slick-slide {
    width: 30rem;
    margin-right: 1rem;
}

.carousel .card-img-top {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}
.carousel .card {
    /*margin-top: 1rem;*/
    margin-bottom: 1.5rem;
}

.carousel .card-body {
    display: flex;
    align-items: center;
    justify-content: center;
}

h3.card-title {
    font-size: 1.5rem;
}

/* show a little bit on the right without center mode */
.slick-list {
    padding-top: 0 !important;
    padding-right: 20% !important;
    padding-left: 7vw !important;
    padding-bottom: 0 !important;
}

.slider-progress-bar {
    position: relative;
    height: 3px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}
.slider-progress-meter {
    position: absolute;
    height: 100%;
    width: 0;
    top: 0;
    left: 0;
    background-color: #397F47;
    transition: width 0.5s;
}

p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
}

.lead {
    font-size: 1.1rem;
    line-height: 2;
    font-weight: 300;
}

h4, .h4 {
    font-size: 1.25rem;
}

.faded {
    opacity: 0.75;
}

.gray-portion-top {
    position: absolute;
    top: 0;
    right: -7vw;
    left: 0;
    height: 12vh;
    background-color: #ecf0f5;
}

.gray-portion-bottom {
    position: absolute;
    bottom: 0;
    right: -7vw;
    left: -7vw;
    height: 12vh;
    background-color: #ecf0f5;
}

.extra-top-pad-for-deco {
    padding-top: 5rem;
    margin-top: 5rem;
}

.midway-design-1 {
    position: absolute;
    right: -7vw;
    top: 0;
    pointer-events: none;
    width: 25vw;
    height: auto;
}

.midway-design-2 {
    position: absolute;
    left: 0;
    top: 0;
    transform: translateY(-50%);
    pointer-events: none;
    height: 10rem;
    width: auto;
}

.midway-design-3 {
    position: absolute;
    top: 100%;
    right: calc(9vw + 7vw);
    transform: translateY(-50%);
    pointer-events: none;
    max-width: 25vw;
    height: auto;
}

#contact-details {
    font-size: 1.1rem;
}
#contact-details i {
    width: 2rem;
}
#contact-details a {
    font-weight: bold;
    color: var(--primary);
}
#contact-details div {
    margin-bottom: 0.5rem;
}

#mobile_menu {
    height: 100vh;
    background: var(--primary);
    display: flex;
    align-items: center;
    color: white;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    transition: all 0.5s ease-in;
}
#mobile_menu.active {
    width: 100%;
    position: fixed;
    transition: all 0.25s ease-in;
}
@media only screen and (max-width: 500px) {
    #mobile_menu.active {
        width: 100%;
        position: fixed;
        transition: all 0.25s ease-in;
    }
}
#mobile_menu.active a i {
    opacity: 0;
    transition: opacity 0.25s ease-in;
}
#mobile_menu .closenav {
    position: fixed;
    top: 2rem;
    right: 1rem;
    opacity: 0;
    display: none;
}
#mobile_menu.active h3, #mobile_menu.active .closenav  {
    opacity: 1;
    display: block;
    transition: opacity 1s ease-in;
}
#mobile_menu .nav-link {
    color: white;
    text-align: center;
    font-size: 1.5rem;
}
#mobile_menu nav {
    width: 100%;
}
#mobile_menu ul {
    list-style: none;
    padding-left: 0;
}

#hero h1 {
    font-size: 2rem;
}

#hero #learn-more {
    font-size: 1.2rem;
}

.header-line:after {
    max-width: 2rem;
}

#hero #learn-more a:hover {
    text-decoration: none !important;
}

@media (max-width: 500px) {
    .navbar-brand {
        width: 150px;
    }

    p.mission {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    p.mission {
        font-size: 1.75rem;
    }

    #hero video {
        height: 50vh;
    }

    #hero h1 {
        font-size: 5vw;
    }

    #hero #learn-more {
        font-size: 1rem;
    }

    .header-line:after {
        max-width: 30vw;
    }
}

@media (min-width: 992px) {
    p.mission {
        font-size: 2rem;
    }

    #hero video {
        height: 85vh;
    }

    #hero h1 {
        font-size: 4vw;
    }

    #hero #learn-more {
        font-size: 1rem;
        font-weight: 500;
        text-decoration: none !important;
    }

}

p.mission {
    font-weight: 300;
    font-style: italic;
    color: #616e7d;
}

.icon-invert {
      filter: brightness(0) invert(1);
}

.bg-light {
    background-color: #ecf0f5 !important;
}

#about-us {
    background: linear-gradient(to top, white 85%, #ecf0f5 0%);
}

.green-text {
    color: #397F47;
}

.careers-header {
    overflow-x: hidden !important;
}

.career-header-img {
    height: 80vh;
    min-height: 600px;
    width: 100%;
    object-fit: cover
}

@media (max-width: 992px) {
    .career-header-img {
        height: 600px;
        width: 100%;
        object-fit: cover;
    }

}

.gallery {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.main-image img {
    width: 100%;
    height: 300px;
    max-height: 300px;
    object-fit: contain;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: transform 0.2s;
}

.thumbnails img:hover {
    transform: scale(1.1);
    border-color: #333;
}
