﻿.banner-full,
.banner-container {
    position: relative;
    overflow:hidden;
}

.banner-full {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
}

.banner-full-content-detail {
    position: relative;
    -webkit-box-shadow: 0 0 20px 0 rgb(0 0 0 / 20%);
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 20%);
    padding: 80px;
    overflow: hidden;
    z-index: 30;
    margin-top: -100px;
    margin-bottom: 20px;
    background: #ffffff;
    border-radius: 20px;
}

    .banner-full-content-detail p:nth-child(1) {
        font-size: 26px;
        font-weight: bold;
        line-height: 2rem;
    }

    .banner-full-content-detail p {
        font-size: 20px;
    }

@media screen and (max-width: 767px) {
    .banner-half:before {
        display: none;
    }

    .banner-half-left:before {
        display: none;
    }

    .banner-half-right:before {
        display: none;
    }

    .banner-half-content {
        position: relative;
        width: 100%;
        z-index: 5;
    }

    .banner-half-image img {
        opacity: .2;
    }

    .banner-half:after {
        display: none !important;
    }

    .banner-full-content-detail {
        padding: 40px;
        margin-top: -100px;
    }

        .banner-full-content-detail.banner-full-left,
        .banner-full-content-detail.banner-full-centre,
        .banner-full-content-detail.banner-full-right {
            margin-top: -200px;
        }
}

.banner {
    overflow: hidden;
    position: relative;
}

.banner-half, .banner-half-left, .banner-half-centre, .banner-half-right {
    position: relative;
    display: grid;
    grid-auto-rows: minmax(0, auto);
    grid-gap: 0;
    align-items: start;
    margin: 0px auto;
    padding: 0;
    color: #fff;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

    .overlayPadding {
        padding-bottom: 100px;
    }
@media screen and (max-width: 767px) {
    .banner-half-left.overlayPadding,
    .banner-half-centre.overlayPadding,
    .banner-half-right.overlayPadding {
        padding-bottom: 200px;
    }
}

    .banner-half {
        grid-template-columns: 1.2fr 1fr;
    }

    .banner-half-left {
        grid-template-columns: 1.2fr 1fr;
    }

    .banner-half-centre {
        grid-template-columns: 1fr;
    }


    .banner-half-right {
        grid-template-columns: 1fr 1.2fr;
    }

    .banner-overlay .banner-half, .banner-half-left, .banner-half-centre, .banner-half-right {
        min-height: 500px;
    }

.banner-half-content-detail.alignRight {
    grid-column: 2;
}

    .banner-half-bg {
        position: absolute;
        bottom: 0;
        right: 0;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        width: 50%;
        height: 100%;
        margin: 0;
        padding: 0;
        clip-path: polygon(10% 20%, 0 100%, 100% 100%, 100% 100%, 100% 25%, 60% 0%);
    }

    @media screen and (max-width: 767px) {
        .banner-half-bg {
            clip-path: polygon(59% 0, 100% 33%, 91% 83%, 41% 100%, 0 67%, 9% 18%);
        }
    }

    .banner-half-content-detail {
        align-self: center;
        padding: 10% 10% 5% 14%;
    }

    .banner-half-content-detail.right {
        align-self: center;
        padding: 10% 14% 5% 10%;
        grid-column: 2;
    }

    .banner-half-content-detail-centre {
        align-self: center;
        padding: 5% 14%;
    }

    .alignCentre {
        text-align: center !important;
    }

    .alignRight {
        text-align: right !important;
    }

    .banner-full-width .banner-half-content-detail {
        padding: 7% 10% 10% 14%;
    }

    .banner-half-content-detail h1, .banner-half-content-detail-centre h1 {
        color: #fff;
        font-size: 40px;
        line-height: 1.5;
    }

    .banner-half-content-detail p, .banner-half-content-detail p {
        color: #fff;
        font-size: 20px;
        line-height: 28px;
    }

    .banner-half-content-detail .btn-primary, .banner-half-content-detail-centre .btn-primary {
        background-color: var(--GC-White);
        border: 2px solid var(--GC-White);
        padding: 1rem 1.5rem;
        font-size: 1.2rem;
    }

        .banner-half-content-detail .btn-primary:hover, .banner-half-content-detail-centre .btn-primary:hover {
            color: var(--REP-Dark-Blue);
            background-color: var(--GC-White);
            border: 2px solid var(--GC-White);
        }

    @media screen and (max-width: 1200px) {
        .banner-half-content-detail {
            padding: 10%;
        }
    }

    @media screen and (max-width: 991px) {
        .banner-half, .banner-half-left, .banner-half-right {
            grid-template-columns: 1fr;
            grid-gap: 0;
        }

        .banner-half-content-detail {
            grid-row: 1;
        }

        .banner-half-bg {
            position: relative;
            width: 100%;
            height: 400px;
            margin-bottom: -100px;
            grid-row: 3;
        }

        .banner-full-content-detail p:nth-child(1) {
            font-size: 20px;
        }
    }

    @media screen and (max-width: 767px) {
        .banner-full-content h1, .banner-full-content h2, .banner-full-content h3 {
            font-size: 30px;
            margin-bottom: 5px;
        }

        .banner-half-content-detail h1, .banner-half-content-detail-centre h1 {
            font-size: 28px;
        }
    }

    .banner-container .progress {
        background-image: linear-gradient(to right, var(--bgh-light-blue), var(--bgh-light-blue));
    }

    .progressContainer {
        grid-row: 2;
        grid-column: 1/3;
        height: auto;
        padding: 0 0 5% 0;
    }

.slick-dots {
    position: relative;
    margin: 0 auto;
    bottom: unset;
}

    @media screen and (max-width: 767px) {

        .progressContainer {
            grid-row: 1;
            padding: 10% 10% 0 10%;
        }

        .banner-half-content-detail {
            grid-row: 2;
        }

        .slick-dots {
            margin: 0;
        }

        .banner-half-content-detail-centre {
            align-self: start;
        }

        .banner-half-content-detail, .banner-half-content-detail-centre, .banner-half-content-detail.right {
            padding: 8% 10%;
        }
    }

    @media screen and (max-width: 426px) {
        .banner-half-content-detail h1, .banner-half-content-detail-centre h1 {
            margin-top: 5%;
        }

        .alignRight, .alignCentre {
            text-align: left !important;
        }

    }

    .bannerSpacer {
        height: 150px;
    }

    .slick-dots li button:before {
        color: #38bbc9;
        font-size: 60px;
    }

    .slick-dots li.slick-active button:before {
        color: #38bbc9;
    }

    .slick-dotted.slick-slider {
        margin-bottom: 0;
    }

    .banner-full-content .banner-full-content-detail {
        margin-top: -200px;
    }

    .banner-content-navy .banner-full-content-detail {
        background: #001d45;
        color: #fff;
    }

        .banner-content-navy .banner-full-content-detail h1 {
            color: #00ccff;
        }


    .article-wrapper .banner-half {
        min-height: 300px;
    }

    .article-wrapper.event .banner-half {
        min-height: 200px;
    }

    .article-wrapper .banner-full-content .banner-full-content-detail {
        margin-top: -100px !important;
    }

    .article-wrapper .banner-bg-pink {
        background-color: var(--bgh-pink);
    }

    .article-wrapper .banner-bg-light-blue {
        background-color: var(--bgh-light-blue);
    }

    .article-wrapper .banner-bg-navy {
        background-color: var(--GC-Navy);
    }

    .article-wrapper .banner-bg-orange {
        background-color: var(--bgh-orange);
    }

    .article-wrapper .banner-bg-green {
        background-color: var(--bgh-green);
    }

    .article-wrapper .banner-bg-purple {
        background-color: var(--bgh-purple);
    }

    .article-wrapper .banner-bg-yellow {
        background-color: var(--bgh-yellow);
    }

    .article-wrapper .banner-full-content-detail {
        background-size: cover !important;
        background-position: top center !important;
        min-height: 350px !important;
    }

        .article-wrapper .banner-full-content-detail.tender-detail {
            min-height: unset !important;
            margin-top: -60px !important;
            padding: 40px;
        }

        .article-wrapper .banner-full-content-detail.event-detail {
            min-height: unset !important;
            margin-top: -100px !important;
            padding: 40px;
        }

    .article-wrapper .banner-half {
        grid-template-columns: 100% 0;
    }

    .article-wrapper .banner-half-content-detail {
        padding: 5%;
    }

    .article-wrapper.event .banner-half-content-detail {
        padding: 5%;
    }

    .map .banner-full-content-detail p:nth-child(1) {
        font-weight: unset;
    }

    .map .banner-full-content-detail a {
        text-decoration: underline;
        color: var(--GC-Navy);
    }

    .bannerPaddingTop {
        padding: 3% 0 1% 0;
    }

    .bannerCarousel-container .progress, .bannerCarousel-container .progressContainer {
        display: block !important;
    }

    /*Responsive styles*/

    @media screen and (max-width: 426px) {
        .article-wrapper .banner-full-content-detail {
            min-height: 185px !important;
        }
    }