/* Content 1 */
.c1-img {
    position: absolute;
    top: 0;
    width: 55%;
}

/* Content 2 */
#content2 {
    background: url(../../front_assets/img/home/c2-bg.jpg) no-repeat center
        center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.c2-card {
    transition: .2s ease-in-out;
    border: 5px solid var(--secondary);
}

.c2-card-image {
    object-fit: cover;
}

/* Content 3 */
.c3-nav-link {
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
    font-size: 1.44rem;
    font-weight: 600;
    color: var(--primary);
}

.c3-nav-link.active {
    color: var(--white);
    background-color: var(--primary) !important;
}

.c3-product-image {
    width: 100%;
    height: 40vh;
    object-fit: cover;
}

.c3-card {
    border: 5px solid var(--primary);
}

.c3-pelatihan {
    position: relative;
    width: 100%;
}

.c3-pelatihan-img {
    width: 100%;
    object-fit: cover;
}

.c3-pelatihan-hover {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 18px;
    padding-left: 18px;
    padding-right: 18px;
    opacity: 0;
    transition: .5s ease;
    background-color: rgba(0, 88, 1, 0.8);
}

.c3-pelatihan:hover .c3-pelatihan-hover {
    opacity: 1;
}

.c3-hr {
    border: 1px solid var(--secondary);
}

/* bootstrap hack: fix content width inside hidden tabs */
.tab-content > .tab-pane, .pill-content > .pill-pane {
    display: block;    /* undo display:none          */
    height: 0;         /* height:0 is also invisible */
    overflow: hidden;  /* no-overflow                */
}
.tab-content > .active, .pill-content > .active {
    height: auto;      /* let the content decide it  */
} /* bootstrap hack end */

.c3-image-container {
    border: 5px solid var(--secondary);
    border-radius: 5px;
    padding: 2rem;
    background: url(../../front_assets/img/training/c1-bg.png) no-repeat center
        center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-color: var(--white);
}

.c3-jasa-container {
    position: relative;
    width: 100%;
}

.c3-jasa-image {
    width: 100%;
    height: 50vh;
    object-fit: cover;
}

.c3-jasa-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: auto;
    background-color: rgba(0, 88, 1, .8);
}

.c3-accent-left {
    position: absolute;
    object-fit: cover;
    object-position: top;
}

.c3-accent-right {
    position: absolute;
    object-fit: cover;
    object-position: top;
    right: 0%;
}


/* Content 4 */
.c4-accent {
    position: absolute;
    z-index: -1;
    top: 60%;
    width: 100%;
    height: 70%;
    object-fit: cover;
    object-position: top;
}

@media (hover:hover) and (pointer:fine) {

    /* Content 2*/
    .c2-card:hover {
        filter: drop-shadow(0px 0px 15px #7DAD3F);
        -webkit-transform: translateY(-0.3333333333rem);
        transform: translateY(-0.3333333333rem);
        transition: .2s ease-in-out;
    }

    /* Content 3 */
    .c3-nav-link:hover {
        color: var(--secondary);
        transition: all .3s ease;
    }

}

@media only screen and (max-width: 767.92px) {

    .c2-card-title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 44px;
    }

    .c2-card-image {
        height: 45vh;
        width: 100%;
    }

    /* Content 3 */
    .c3-overlay-image {
        height: 42vh;
        object-fit: cover;
        border: 3px solid var(--secondary);
        border-radius: 5px;
    }

    .c3-jasa-image {
        width: 100%;
        height: 70vh;
        object-fit: cover;
    }

    .c4-image-container {
        padding: 4px;
    }

    .c4-accent {
        top: unset;
        bottom: -25%;
    }

}

@media only screen and (min-width: 768px) and (max-width: 997.92px) {

    /* Content 4 */
    .c4-image-container {
        padding: 26px;
    }

}

@media only screen and (max-width: 997.92px) {

    /* Content 3 */
    .c3-mobile-card .card-header {
        background-color: var(--secondary);
    }

    .c3-mobile-card:not(:last-child) .card-header {
        border-bottom: 1px solid var(--white);
    }

    .c3-mobile-card h3 > button {
        color: var(--white) !important;
    }

    .c3-product-image {
        width: 100%;
        height: 30vh;
        object-fit: cover;
    }

}
