/*
==================
1. Hero Section
==================
 */
#home-hero-section,
.home-hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-size: 80%;
    background-position: bottom right;
    background-repeat: no-repeat;
}


#home-hero-section .container,
.home-hero-section .container {
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    height: 720px;
}

#home-hero-section .hero-text-wrapper,
.home-hero-section .hero-text-wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
}

.hero-text-wrapper p {
    font-size: 14px;
    line-height: 23px;
    margin-top: 5px;
}

/*
====================
HERO BANNER SECTION
====================
 */
#home-hero-banner-1 {
    border-bottom: 1px solid rgba(48, 79, 89, 1);
    
}

#home-hero-banner,
.home-hero-banner {
    padding: 25px 15px;
    background-color: #243e49;
}

#home-hero-banner .row,
.home-hero-banner .row {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

#home-hero-banner .hero-banner-image,
.home-hero-banner .hero-banner-image {
    width: 100px;
    flex-basis: 100px;
    max-width: 100%;
    padding: 0 15px;
    display: flex;
    justify-content: center;
}

.hero-banner-img-2 span {
    -webkit-mask: url('/wp-content/uploads/2024/05/safety.svg');
    width: 50px;
    height: 55px;
    -webkit-mask-position: center center;
    -webkit-mask-repeat: no-repeat;
    background-color: #F4C45A;
    display: inline-block;
}

.hero-banner-text {
    width: calc(100% - 260px);
    flex-basis: calc(100% - 260px);
    padding: 0;
}

#home-hero-banner p.title,
.home-hero-banner p.title {
    font-size: 22px;
    line-height: 26px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0;
}

#home-hero-banner p,
.home-hero-banner p {
    font-size: 18px;
    line-height: 24px;
    color: #ffffff;
    font-weight: 500;
    padding-right: 25px;
    margin-bottom: 0;
}

#home-hero-banner .hero-banner-button,
.home-hero-banner .hero-banner-button {
    width: 160px;
    flex-basis: 160px;
    padding: 0 15px;
}

#home-hero-banner .hero-banner-button .button,
.home-hero-banner .hero-banner-button .button {
    padding: 9px 14px;
}

/*
====================
NEWS SECTION
====================
 */
#news-section {
    padding: 80px 0;
    background-size: cover;
    background-position: center center;
    overflow-x: hidden;
}

#news-slider-wrapper {
    right: 0;
    margin-right: -500px;
    flex-basis: calc(80% + 500px);
    width: calc(80% + 500px);
    max-width: calc(80% + 500px);
}


#news-section #section-title-wrapper {
    position: relative;
}

#news-slider-wrapper .slick-list {
    padding-left: 0 !important;
}

#news-slider-wrapper .slick-track {
    margin-right: 0;
    display: flex !important;
    flex-wrap: wrap;
    align-content: stretch;
    align-items: stretch;
    justify-content: stretch;
}

.news-slide {
    margin: 0 10px;
    align-self: stretch;
    height: inherit !important;
}

.news-slide-inner {
    border-radius: 3px;
    filter: drop-shadow(1.939px 3.498px 2px rgba(36, 62, 73, 0.09));
    background: #FFF;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    -webkit-transition: .4s ease-out;
    -moz-transition: .4s ease-out;
    -o-transition: .4s ease-out;
    transition: .4s ease-out;

}

.post-header {
    padding: 30px 30px 15px 30px;
    flex-basis: 100%;
}

.slide-with-image .post-header {
    height: 170px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-end;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    flex-basis: 100%;
}

.post-header h5 {
    position: relative;
    display: block;
    margin-bottom: 0;
}

.post-text p {
    font-size: 12px;
    line-height: 22px;
    font-weight: 400;
    margin-bottom: 0;
    -webkit-transition: .4s ease-out;
    -moz-transition: .4s ease-out;
    -o-transition: .4s ease-out;
    transition: .4s ease-out;
}

.slide-with-image .post-header::before {
    background-image: linear-gradient(-2deg, #131313 0%, rgba(19, 19, 19, 0) 100%);
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    content: "";

}

.post-text {
    padding: 10px 30px 30px 30px;
    flex-basis: 100%;
}

.slide-with-image .post-text {
    padding: 20px 30px 30px 30px;
}

#news-slider-wrapper {

}

.post-info {
    padding: 0 30px 30px 30px;
    flex-basis: 100%;
    margin-top: auto;
}

.post-info .date {
    font-size: 10px;
    color: #aeaeae;
    font-weight: 400;
    float: left;
    -webkit-transition: .4s ease-out;
    -moz-transition: .4s ease-out;
    -o-transition: .4s ease-out;
    transition: .4s ease-out;
}

.post-info .read-more {
    font-size: 10px;
    color: #76bbc2;
    font-weight: bold;
    /*font-family: "Gilroy";*/
    text-transform: uppercase;
    float: right;
    -webkit-transition: .4s ease-out;
    -moz-transition: .4s ease-out;
    -o-transition: .4s ease-out;
    transition: .4s ease-out;
}

.news-link:hover .news-slide-inner,
.news-link:focus .news-slide-inner {
    background-color: #77bac1;
}

.news-link:hover .post-text p,
.news-link:focus .post-text p {
    color: #3b5355;
}

.news-link:hover .post-info .date,
.news-link:focus .post-info .date,
.news-link:hover .post-info .read-more,
.news-link:focus .post-info .read-more {
    color: #457e84;
}

#news-slider-wrapper #previous,
#news-slider-wrapper #next {
    display: none !important;
}

.slider-button-wrapper {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
}

.sldier-button-wrapper {
    cursor: pointer;
    position: relative;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background-color: #15313c;
    color: #FFF;
    margin-right: 12px;
    display: flex;
    -webkit-transition: .4s ease-out;
    -moz-transition: .4s ease-out;
    -o-transition: .4s ease-out;
    transition: .4s ease-out;
}

.sldier-button-wrapper i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    -webkit-transition: .4s ease-out;
    -moz-transition: .4s ease-out;
    -o-transition: .4s ease-out;
    transition: .4s ease-out;
}

.sldier-button-wrapper:hover,
.sldier-button-wrapper:focus {
    background-color: #ffcb5b;
}

.sldier-button-wrapper:hover i,
.sldier-button-wrapper:focus i {
    color: #15313c;
}

.button-wrapper {
    display: flex;
    margin-top: auto;
    margin-bottom: 0;
    position: absolute;
    bottom: 0;
}

#news-section .button.blue-button:hover,
#news-section .button.blue-button:focus {
    color: #ffcb5b;
    border-color: #ffcb5b;
}

/*#news-section .button.blue-button:hover .text,*/
/*#news-section .button.blue-button:focus .text,*/
#news-section .button.blue-button:hover .icon,
#news-section .button.blue-button:focus .icon {
    color: #ffcb5b;
}

/*
====================
EVENTS SECTION
====================
 */
#events-section {
    background-color: #ebf1f2;
    padding-bottom: 25px;
}

#before-events {
    height: 530px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#events-container {
    position: relative;
    margin-top: -130px;
    display: block;
}

#events-container h2 {
    display: block;
    position: relative;
}

#events-container::before {
    content: "";
    display: block;
    position: absolute;
    top: -50px;
    left: -80px;
    height: 100%;
    width: calc(100% + 160px);
    background-color: #ebf1f2;
    border-top: 6px solid #77bac1;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.mec-calendar-header h2 {
    color: #15313c;
}

.mec-month-side {
    /*z-index: 99;*/
    position: relative;
}

.mec-event-footer {
    display: none;
}

#events-container .mec-calendar .mec-calendar-side .mec-next-month,
#events-container .mec-calendar .mec-calendar-side .mec-previous-month {
    background-color: inherit;
    padding: 0;
    border: none;
    box-shadow: none;
}

#events-container .mec-load-month-link {

    border-radius: 5px;
    background-color: #77bac1;
    display: block;
    position: relative;
    padding: 5px 10px;
    color: #FFF;
    font-weight: 600;
}

#events-container .mec-calendar .mec-calendar-side .mec-next-month a:hover,
#events-container .mec-calendar .mec-calendar-side .mec-previous-month a:hover,
#events-container .mec-calendar .mec-calendar-side .mec-next-month a:focus,
#events-container .mec-calendar .mec-calendar-side .mec-previous-month a:focus {
    text-decoration-line: none;
    font-weight: 600;
}

#events-container .mec-calendar .mec-calendar-side .mec-next-month a {
    float: right;
}

#events-container .mec-load-month-link i {
    color: #FFF;
}

.mec-calendar-table {
    filter: drop-shadow(5.818px 10.495px 17.5px rgba(36, 62, 73, 0.14));
    border: 3px solid #77bac1;
    border-radius: 3px;
}

.mec-calendar.mec-event-container-simple dl dt.mec-calendar-day {
    font-size: 26px;
    line-height: 44px;
    color: #bdced1;
    font-weight: 700;
}

.events-button-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
}

/*
====================
STORIES SECTION
====================
 */
#stories-section {
    padding-top: 60px;
    background-size: inherit !important;
    background-repeat: no-repeat !important;
    background-position-x: 50px !important;
    background-position-y: 100px !important;
    position: relative;
}

#stories-section::before {
    content: "";
    display: block;
    position: absolute;
}

.story-image-wrapper {
    position: relative;
    height: 380px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin-left: 30px;
    max-width: 380px;
    width: 380px;
    flex-basis: 380px;
    margin-top: 50px;

}

.story-image-wrapper img {
    width: 378px;
    max-width: 100%;
    min-height: 100%;
}

.image-border {
    display: block;
    max-width: 410px;
    z-index: 9;
    height: 410px;
    position: absolute;
    width: 410px;

}

.story-text-wrapper {
    max-width: calc(100% - 500px);
    width: calc(100% - 500px);
    flex-basis: calc(100% - 500px);
    padding-left: 60px;
    margin-top: 30px;
    /*display: flex;*/
    /*flex-wrap: wrap;*/
    /*align-items: center;*/
}

.stories-title-wrapper {
    text-align: center;
}

.story-text-wrapper .hero-separator {
    display: block;
    width: 100%;
    margin-bottom: 12px;
}

.story-text-wrapper .hero-separator img {
    margin-left: 0;
}

#stories-section p.h2 {
    font-size: 50px;
    line-height: 44px;
    color: #243e49;
    font-weight: 700;
    margin-bottom: 25px;
}

#stories-section h5 {
    font-size: 26px;
    line-height: 30px;
    color: #243e49;
    font-weight: 600;
}

#stories-section h6 {
    font-size: 13px;
    line-height: 14px;
    color: #243e49;
    font-weight: 400;
    margin-bottom: 25px;
}

.story-text-wrapper p {
    font-size: 14px;
    line-height: 24px;
    color: #243e49;
    font-weight: 400;
}


/*.story-image-wrapper::before {*/
/*    content: "";*/
/*    display: block;*/
/*    position: absolute;*/
/*    top: -20px;*/
/*    left: -30px;*/
/*    width: calc(100% + 60px);*/
/*    height: calc(100% + 70px);*/
/*    background-image: url("/wp-content/uploads/2021/05/Group-132.png");*/
/*    background-repeat: no-repeat;*/
/*    background-position: center center;*/
/*    background-size: cover;*/
/*}*/
/*.story-image-border {*/
/*    background-image: url("/wp-content/uploads/2021/05/Group-132.png");*/
/*    background-repeat: no-repeat;*/
/*    background-position: center center;*/
/*    background-size: cover;*/
/*}*/
.image-border {
    position: absolute;
    bottom: 0;
    left: 0;
}

.story-text-wrapper h5,
.story-text-wrapper h6,
.story-text-wrapper p {
    flex-basis: 100%;
    width: 100%;
}

#stories-section #stori-previous {
    position: absolute;
    top: 60px;
    right: 40px;
    z-index: 2;
}

#stories-section #stori-next {
    position: absolute;
    top: 60px;
    right: 0;
    z-index: 2;
}

/* Christmas banner starts */

#christmas-banner {

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 90px 0 65px;
}

#christmas-banner p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.first-banner-text {
    font-size: 68px;
    line-height: calc(100% + 6px);
    width: 860px;
    max-width: 100%;
    margin: 0 auto 45px;
}

.first-banner-text span {
    font-weight: 700;
}

.second-banner-text {
    font-size: 38px;
    line-height: 45px;
}

.christmas-mobile-image {
    display: none;
}

/* Christmas banner ends */

@media (min-width: 991.8px) {
    #news-slider-wrapper.small-slider {
        right: 0;
        margin-right: -30px;
        flex-basis: 83.33333%;
        width: auto;
        max-width: 83.33333%;;
        margin-left: 30px;
    }
}

@media (min-width: 1199.9px) {
    #news-slider-wrapper.small-slider {
        right: auto;
        margin-right: 0;
        flex-basis: 83.33333%;
        width: auto;
        max-width: 83.33333%;;
        margin-left: 0;
    }


}

@media (max-width: 1400px) {
    #home-hero-section {
        background-size: cover;
        background-position-y: 65%;
        background-position-x: 200px;
    }

    #home-hero-section .container {
        height: 500px;
    }
}

@media (max-width: 1199.8px) {
    #events-container::before {
        width: 100%;
        left: 0;
    }

    #stories-section {
        background-position-y: 200px;
    }

    #news-slider-wrapper {
        margin-left: 30px;
    }


}

@media (max-width: 991.8px) {


    .hero-text-wrapper h1 {
        max-width: 450px;
    }

    /*.hero-banner-text {*/
    /*    padding: 0 15px;*/
    /*}*/
    #home-hero-banner p {
        /*margin-bottom: 15px;*/
        /*text-align: center;*/
        /*padding: 0;*/
    }


    #news-slider-wrapper {
        flex-basis: calc(75% + 500px);
        width: calc(75% + 500px);
        max-width: calc(75% + 500px);
        margin-left: 0;
    }

    #before-events {
        height: 350px;
    }

    #events-container {
        margin-top: -75px;
    }


    #stories-section h6 {
        margin-bottom: 15px;
    }

    #stories-section #stori-previous,
    #stories-section #stori-next {
        top: 0;
    }

    .story-image-wrapper {
        max-width: 200px;
        height: 200px;

    }

    .story-text-wrapper {
        max-width: calc(100% - 260px);
        width: calc(100% - 260px);
        flex-basis: calc(100% - 260px);
        padding-left: 40px;
        padding-bottom: 20px;
    }

    .story-slider .row {
        align-items: flex-end;
    }

    .image-border {
        display: block;
        max-width: 230px;
        height: 215px;

    }

    #stories-section .slick-track {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
    }

    .story-text-wrapper {
        margin-top: 15px;
    }

    #stories-section p.h2 {
        margin-bottom: 0;
    }

    #stories-section {
        padding-top: 40px;
    }

    #stories-section {
        background-position-x: 5px !important;
        background-position-y: 140px !important;
        background-size: 200px !important;
    }

    .first-banner-text {
        font-size: 55px;
    }

    .christmas-mobile-image {
        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 65%;
        margin: 0 auto 45px;
    }

    #christmas-banner {
        padding-top: 0;
    }
}

@media (max-width: 767.8px) {
    #home-hero-section {
        background-image: none !important;
        background-color: #FFF;
    }

    #home-hero-section .container {
        height: auto;
    }

    #home-hero-section .hero-text-wrapper {
        position: relative;
        padding-top: 100px;
        padding-bottom: 20px;
        transform: none;
        top: auto;
        left: auto;
        text-align: center;
    }

    #home-hero-banner .hero-banner-image,
    .home-hero-banner .hero-banner-image {
        width: 100%;
        flex-basis: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
        margin-bottom: 15px;
    }

    .hero-banner-text {
        width: 100%;
        flex-basis: 100%;
        padding: 0 15px;
        margin-bottom: 15px;
    }

    #home-hero-banner p,
    .home-hero-banner p {

        text-align: center;
        padding: 0;

    }

    #home-hero-banner p.title,
    .home-hero-banner p.title {
        margin-bottom: 8px;
    }

    #home-hero-banner .hero-banner-button,
    .home-hero-banner .hero-banner-button {
        width: 100%;
        flex-basis: 100%;
        padding: 0 15px;
        text-align: center;
        justify-content: center;
    }

    #home-hero-banner .hero-banner-button .button,
    .home-hero-banner .hero-banner-button .button {
        margin: 0 auto;
    }

    #news-section h2 br {
        display: none;
    }

    .post-header {
        padding: 15px;
    }

    .slide-with-image .post-header {
        height: 150px;
    }

    .slide-with-image .post-text,
    .post-text {
        padding: 15px 15px;
    }

    .post-info {
        padding: 0 15px 15px 15px;
    }

    .news-slide {
        margin: 5px
    }

    .button-wrapper {
        position: relative;
        margin-top: 20px;
        margin-bottom: 20px;

    }

    .slider-button-wrapper {
        position: absolute;
        right: 0;
        bottom: 20px;
        z-index: 3;
    }

    .story-image-border {
        width: 100%;
        flex-basis: 100%;
    }

    .story-text-wrapper {
        max-width: 100%;
        width: 100%;
        flex-basis: 100%;
        padding-bottom: 20px;
        padding-left: 25px;
        padding-right: 25px;
    }

    .story-image-border {
        position: relative;
        width: 200px;
        flex-basis: 200px;
        margin: 40px auto 0 auto;
    }

    .story-text-inner {
        text-align: center;
    }

    .story-text-inner .button {
        margin: 0 auto;
        float: none;
    }

    #stories-section #stori-previous {
        left: calc(50% - 40px);
    }

    #stories-section #stori-next {
        right: calc(50% - 40px);
    }

    .stories-slider {
        margin-top: 15px;
    }

    .story-image-wrapper {
        background: none !important;
    }

    .story-slider .row {
        justify-content: flex-start;
        align-content: flex-start;
        align-items: flex-start;
    }

    .story-image-wrapper::before {
        content: "";
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        background-image: url("/wp-content/uploads/2021/07/Rectangle-1-copy.svg");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        top: 0;
        left: 0;
        z-index: -1;
    }

    .story-image-wrapper {
        margin: 0;
    }

    .story-image-wrapper img {
        padding: 25px;
        flex-shrink: 0;
        min-width: 180px;
        max-width: 180px;
        min-height: auto;
        border-radius: 5px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .story-text-wrapper p {
        line-height: 20px;
    }

    .story-text-wrapper {
        margin-top: 30px;
    }

    .image-border {
        left: 15px;
    }

    .mec-calendar .mec-event-article:hover {
        background-color: inherit;
    }

    .mec-box-calendar.mec-calendar .mec-calendar-header {
        margin-top: -15px;
    }

    #news-section {
        padding: 40px 0;
    }

    .mec-event-footer {
        display: block;
    }

    .events-button-wrapper {
        display: none;
    }

    .story-image-border .image-border {
        display: none;
    }

    .mec-calendar .mec-calendar-side {
        padding: 35px 0 0 0;
    }

    .mec-box-calendar.mec-calendar .mec-calendar-side .mec-previous-month {
        left: 0;
        top: 15px;
    }

    .mec-box-calendar.mec-calendar .mec-calendar-side .mec-next-month {
        right: 0;
        top: 15px;
    }

    /*.mec-calendar .mec-event-article {*/
    /*    padding-top: 0;*/
    /*}*/
    .mec-calendar .mec-event-article {
        background-color: #77bac1;
        padding: 30px;
    }

    .mec-calendar .mec-event-article:hover {
        background-color: #ffcb5b;
    }

    .mec-calendar .mec-calendar-topsec {
        background: none;

    }

    .mec-event-time {
        text-align: center;
    }

    .mec-calendar .mec-event-article .mec-event-title {
        text-align: center;
    }

    .mec-event-footer {
        display: none;
    }

    .mec-calendar {
        border: none;
        box-shadow: none;
    }

}

@media (max-width: 575.8px) {
    .hero-text-wrapper p {
        line-height: 18px;
    }

    /*#home-hero-banner p {*/
    /*    font-size: 22px;*/
    /*    line-height: 26px;*/
    /*}*/
    .hero-text-wrapper p br {
        display: none;
    }

    #home-hero-section .hero-text-wrapper {
        padding-top: 165px;
        padding-bottom: 85px;
    }

    #christmas-banner {
        padding-bottom: 15px;
    }

    .first-banner-text {
        font-size: 32px;
        margin-bottom: 25px;
        line-height: 100%;
    }

    .second-banner-text {
        font-size: 28px;
    }

    #christmas-banner .container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    #news-slider-wrapper {
        flex-basis: 100%;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }


}