/* Navbar */
.bg-transparent,
.navbar-marketing.navbar-dark.navbar-scrolled {
    background: #6dbd3d !important;
}

/* Util */
h2 {
    font-family: "Montserrat";
    font-style: normal;
    font-size: 2.5rem;
}

p {
    color: var(--black);
}

small {
    font-size: 0.875rem;
}

.color-primary {
    color: #6dbd3d;
}

.scroll-pdf {
    width:100%;
    height:100vh;
    overflow-y:scroll;
    border: 5px solid #a5dbe5;
    padding: 25px;
    background: #c4c4c4;
    border-radius: 15px;
}

.canvas-wrapper > canvas {
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-top: 3rem;
}


/* Aside */
aside nav {
    border-radius: 0.9375rem;
    border: 3px solid var(--green);
}

ul, #myUl {
    list-style-type: none;
}

aside .nav-link {
    color: var(--black);
    font-family: "Lato";
    font-style: normal;
    font-weight: 400;
    opacity: .5;
    transition: all 200ms linear;
}

aside .nav-link.active h5 {
    color: var(--white);
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: #28a745;
    border-radius: 15px;
    opacity: 1;
}

.nav-pills .nav-link.actived {
    background-color: #1e7c34;
    border-radius: 15px;
    opacity: 1;
    color: #fff;
}

.nav-pills .nav-link.actived:hover {
    color: #fff;
}

.nav-pills .nav-link.active p {
    color: #fff;
}

.nav-pills .nav-link:not(.active):hover h5,
.nav-pills .nav-link:not(.active):hover {
    color: #d60107;

}

.small-link {
    font-family: "Lato";
    font-size: 0.8125rem;
    text-align: left;
    color: var(--black);
}

.legal-tree-item,
.galeri-tree-item {
    text-align: left !important;
}

/* History */
.history-img {
    border: 3px solid #a5dbe5;
    border-radius: .9375rem;
    float: left;
    position: relative;
    width: 50%;
    height: 400px;
    object-fit: cover;
}

/* Vision Mission */
#v-pills-vision ol li {
    color: var(--black);
    font-family: "Lato";
    font-size: 16px;
    line-height: 150%;
}

/* Facility */
.carousel-image-wrapper {
    height: 325px;
    width: 100%;
}

.carousel-image-wrapper img {
    height: 325px;
    width: 325px;
    border: 3px solid var(--secondary);
    border-radius: 0.9375rem;
}

.carousel-icon-wrapper {
    align-items: center;
    display:flex;
    justify-content: center;
}

.carousel-icon-wrapper img {
    opacity: .25;
    cursor: pointer;
    transition: all 100ms linear;
}

/* 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 */


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

    .carousel-icon-wrapper img:hover {
        opacity: .75;
        transition: all 100ms linear;
    }

    .nav-link:hover {
        color: inherit;
        opacity: 1;
        transition: all 200ms linear;
    }
}

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

    /* Header */
    .page-header {
        padding-top: 8rem !important;
    }

    .carousel-image-wrapper {
        width: 100%;
        height: 17rem;
    }

    .carousel-image-wrapper img {
        width: 100%;
        height: 17rem;
    }

    h2 {
        font-size: 1.602rem;
    }

    .container {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    .canvas-wrapper > canvas {
        transform: scale(1.2) !important;
    }

    .history-img {
        float: none;
        width: 100%;
        height: 300px
    }

}

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

    .navbar-marketing.bg-transparent.navbar-dark {
        background-color: #6dbd3d !important;
    }

    .page-header {
        padding-top: 6rem;
    }

    .scroll-pdf {
        height: 60vh;
    }

    .canvas-wrapper > canvas {
        max-width: 100%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        display: block;
        margin-top: 0;
        transform: scale(1);
    }

}
