/*-- v5.1
1. Hero Image	 
2. What We Do
3. Various Content
4. Spotlight
5. Sponsor
 --*/

/* --  1. Hero Image -- 
______________________*/
.overlay-dark-fullwidth {
    position: relative;
    overflow: hidden;
    float: left;
    width: 100%
}

    .overlay-dark-fullwidth::after {
        content: "";
        height: 100%;
        position: absolute;
        right: -40px; /*0*/
        top: 0;
        transform: rotate(24.5deg) scale(2.1);
        transform-origin: 0 bottom 0;
        width: 64%;
        z-index: 2;
        background: rgba(12, 100, 123, 0.9) none repeat scroll 0 0;
    }

.background-image {
    min-height: 50rem;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    display: table;
    text-align: center;
    width: -webkit-calc(100% + 0.1rem);
    width: calc(100% + 0.1rem);
    background-repeat: no-repeat;
    background-position-y: 0;
    background-size: cover;
    height: 0;
}

.banner-content, .banner-content .container, .banner-content .row, .banner-content .col-md-12, .banner-content .text-content-wrapper, .banner-content .text-content {
    height: 100%;
    margin: auto;
}

    .banner-content.static-text {
        left: 0;
        position: absolute;
        right: 0;
        text-align: center;
        top: 0;
        z-index: 9;
    }

    .banner-content .text-content-wrapper {
        display: table;
        float: right;
        margin-right: 0;
        width: 50%;
    }

.background-area .text-content, .table-cell {
    display: table-cell;
    vertical-align: middle;
}

.banner-content h1 {
    color: #ffffff;
    line-height: 5.5rem;
    padding-bottom: 36px;
    position: relative;
    margin-top: 0;
}

    .banner-content h1:after {
        background: #ffffff none repeat scroll 0 0;
        bottom: 15px;
        content: "";
        height: 5px;
        left: 0;
        margin: 0 auto;
        position: absolute;
        text-align: center;
        width: 66%;
    }

.banner-content h1, .banner-content p {
    text-shadow: 0 1px 1px #000000;
}

.banner-content p {
    margin-bottom: 24px;
    color: #ffffff;
    position: relative;
}

@media (max-width: 1366px) {
    .overlay-dark-fullwidth::after {
        width: 76%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024) {
    .banner-content .text-content-wrapper {
        margin-right: 10px;
        width: 100%;
    }
}

@media (max-width: 812px) {
    .overlay-dark-fullwidth::after {
        transform: none;
        width: 100%;
    }

    .background-image {
        min-height: 25rem;
    }

    .background-area .banner-content .text-content-wrapper {
        width: 100%;
    }

        .background-area .banner-content .text-content-wrapper .text-content {
            padding-left: 25px;
        }

            .background-area .banner-content .text-content-wrapper .text-content h1 {
                line-height: 5rem;
                padding-bottom: 0;
            }

    .banner-content h1:after {
        display: none;
    }

    .banner-content p {
        display: none;
    }
}

@media (max-width: 736px) {
    .background-area .banner-content .text-content-wrapper .text-content h1 {
        font-size: 2rem;
        padding-bottom: 10px;
        line-height: 2.8rem;
    }

    .banner-content p {
        display: none;
    }
}

/*-- 2. What We Do -- 
______________________*/
.article-content {
    font-size: 2.1rem;
    line-height: 3.3rem;
}

.bg-img-cover {
    background-size: cover !important;
}

.bg-nacubo-dark {
    background-color: #0c647b;
}

.arrow-left::after {
    top: 30px;
    left: 0;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    margin-left: -24px;
    z-index: 9;
    border-top: 20px solid transparent;
    border-right: 24px solid #0c647b;
    border-bottom: 20px solid transparent;
}

.arrow-right::after {
    top: 30px;
    left: 100%;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    margin-left: 0;
    z-index: 9;
    border-top: 20px solid transparent;
    border-left: 24px solid #0c647b;
    border-bottom: 20px solid transparent;
}

.content-right, .content-left {
    padding: 30px 25px;
}

.section-title .sub-title {
    position: relative;
    display: inline-block;
}

.section-title .right-side-line::before {
    content: "";
    height: 3px;
    position: absolute;
    right: -36px;
    top: 50%;
    width: 30px;
    background: #ffffff;
}

.section-title .left-side-line::before {
    content: "";
    height: 3px;
    left: -35px;
    position: absolute;
    top: 45%;
    width: 30px;
    background: #ffffff;
}

.content-right h3, .content-left h3 {
    font-size: 2.9rem;
    margin-top: 5px;
    line-height: 3.4rem;
}

.content-right p, .content-left p {
    font-size: 2.1rem;
    line-height: 1.6;
}

@media (max-width: 1366px) and (min-width: 768px) {
    .section-title .right-side-line::before, .section-title .left-side-line::before {
        display: none;
    }
}

@media (max-width: 767px) {
    .section-title .right-side-line::before, .section-title .left-side-line::before {
        display: none;
    }
}

@media (min-width: 737px) and (max-width: 767px) {
    .arrow-right::after, .arrow-left::after {
        display: none;
    }
}

@media (max-width: 736px) {
    .arrow-left::after {
        top: -43px;
        margin-left: 40px;
        border-left: 24px solid transparent;
        border-right: 24px solid transparent;
        border-bottom: 24px solid #0c647b;
    }

    .arrow-right::after {
        top: 100%;
        left: 0;
        margin-left: 40px;
        border-left: 24px solid transparent;
        border-right: 24px solid transparent;
        border-top: 24px solid #0c647b;
    }
}

/* -- 3. Various Content -- 
_____________________________*/
.content-image-box {
    padding: 2rem;
    box-shadow: 1px 2px 3px 1px rgb(0, 0, 0, 0.1);
}

.content-image {
    max-width: 750px;
    overflow: hidden;
}

    .content-image img {
        width: 100%;
        max-height: 367px;
        object-fit: cover;
    }

.content-paragraph {
    font-size: 1.8rem;
    line-height: 2.6rem;
}

.container-articles ul {
    list-style: none;
    margin-left: -45px;
}

.list-articles li {
    font-size: 1.8rem;
    margin: 0 0 20px;
}

    .list-articles li i {
        width: 28px;
        line-height: 28px;
        margin: 0 8px 5px 0;
        text-align: center;
        display: block;
        float: left;
    }

    .list-articles li a {
        display: table;
        text-decoration: underline;
        border-bottom: none;
    }

/* -- 4. Spotlight -- 
_______________________*/
.bg-image-spotlight {
    background-position: top right;
    padding-top: 40px;
    padding-bottom: 45px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -ms-flex-pack: center;
}

.spotlight-text h2 {
    margin-top: 10px;
}

.spotlight-image {
    max-width: 245px;
}

    .spotlight-image .spotlight-image-bg {
        margin-top: 18px;
        position: relative;
        z-index: 1;
    }

        .spotlight-image .spotlight-image-bg::before {
            content: "";
            background-color: #0c647b;
            width: 100%;
            height: 100%;
            position: absolute;
            left: 18px;
            bottom: 18px;
            z-index: -1;
        }

    .spotlight-image img {
        width: 100%;
        max-height: 245px;
        object-fit: cover;
        z-index: 100;
    }

@media (max-width: 414px) {
    .bg-image-spotlight {
        background-position: center center;
    }

    .spotlight-image {
        margin: 0 auto;
    }
}

/* -- 5. Sponsors -- 
_______________________*/
.sponsor {
    -webkit-flex-basis: 25%;
    -ms-flex-preferred-size: 25%;
    flex-basis: 25%;
}
