/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-green {
    background-color: #CD4747 !important;
    z-index: 1;
}

img.animated.pulse {
    animation-duration: 5s;
}

.gallery img:hover {
    transform: scale(1.1);
    cursor: pointer;
}

img {
    cursor: pointer;
}

.popup-image {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,.9);
    height: 100%;
    width: 100%;
    z-index: 99999999;
    display: none;
    overflow: auto;
}

.popup-image span {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 60px;
    font-weight: bolder;
    color: #fff;
    cursor: pointer;
    z-index: 100;
}

.centered-element {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, 0%);
}

.popup-image img {
    object-fit: cover;
    border: 5px solid #fff;
    border-radius: 5px;
    width: 750px;
    cursor: pointer;
}

.popup-image p {
    color: #fff;
    width: 750px;
}

@media (max-width: 768px){
    .popup-image img {
        width: 95%;

    }
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: var(--bs-white);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 11px 16px !important;
    height: 150px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 45px;
    padding: 0;
    color: var(--bs-dark);
    font-weight: 500;
    transition: .5s;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-white);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}


@media (max-width: 1191.98px) {
    .navbar .navbar-collapse {
        padding: 0 15px;
        background: #82CD47;
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
    
    .arrow::after {
        border: none;
        content: "\f107";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        right: 16px;
    }
}

@media (min-width: 1192px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .navbar-nav .dropend > .dropdown-menu{
        display: none;
    }

    .navbar .navbar-nav .dropend:hover > .dropdown-menu {
        display: block;
        position: absolute;
        top: 0;
        left: 100%;
    }

    .arrow::after {
        border: none;
        content: "\f105";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        right: 16px;
    }

    .navbar .nav-item:hover > .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Hero Header ***/
.hero-header {
    position: relative;
    margin-top: -150px;
    padding-top: 12rem;
    padding-bottom: 6rem;
    background-size: cover;
}

.hero-header::before {
    position: absolute;
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%238ed259' fill-opacity='1' d='M0,96L60,90.7C120,85,240,75,360,101.3C480,128,600,192,720,208C840,224,960,192,1080,154.7C1200,117,1320,75,1380,53.3L1440,32L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    width: 100%;
    bottom: -5px;
    left: 0;
    overflow: hidden;
}

.hero-header .container {
    position: relative;
    z-index: 1;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-light);
}


/*** Feature ***/
.header-card .border {
    position: relative;
    border-color: #fff !important;
    z-index: 1;
}

.header-card .blue-hovered-card:hover {
    background-color: #0d6efd;
}

.header-card .orange-hovered-card:hover {
    background-color: #fd7e14;
}

.header-card .purple-hovered-card:hover {
    background-color: #6f42c1;
}

.card-bg-color {
    background-color: #54B435;
}

/*** Deal ***/
.deal {
    position: relative;
    background-size: cover;
}

.deal::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .1);
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.deal .bg-white {
    position: relative;
    z-index: 1;
}

.deal .cdt span {
    display: block;
    font-size: 16px;
    font-style: italic;
    font-weight: 200;
    text-transform: capitalize;
}


/*** How To Use ***/
.how-to-use {
    position: relative;
    background-size: cover;
}

.how-to-use::before {
    position: absolute;
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%238ed259' fill-opacity='1' d='M0,96L60,90.7C120,85,240,75,360,101.3C480,128,600,192,720,208C840,224,960,192,1080,154.7C1200,117,1320,75,1380,53.3L1440,32L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    width: 100%;
    bottom: -5px;
    left: 0;
    overflow: hidden;
}

.how-to-use .container {
    position: relative;
    z-index: 1;
}

.how-to-use .border {
    border-color: rgba(255, 255, 255, .2) !important;
}


/*** Product ***/
.product-item {
    transition: .1s;
} 

 .product-item:hover {
    border-width: 0 !important;
    box-shadow: 0 0 35px rgba(144, 188, 121, .25);
} 

.product-item:hover a.btn {
    color: var(--bs-white);
    background: var(--bs-primary);
}

/*** Blog ***/
.blog-item {
    transition: .1s;
}

.blog-item:hover {
    border-width: 0 !important;
    box-shadow: 0 0 35px rgba(144, 188, 121, .25);
}

.blog-item a.btn:hover {
    color: var(--bs-white);
    background: var(--bs-success);
}


/*** Contact ***/
.contact-info-item::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .1);
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.contact-info-item .border {
    position: relative;
    border-color: rgba(255, 255, 255, .2) !important;
    z-index: 1;
}


/*** Newsletter ***/
.newsletter {
    position: relative;
    background-size: cover;
}

.newsletter::before {
    position: absolute;
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%238ed259' fill-opacity='1' d='M0,96L60,90.7C120,85,240,75,360,101.3C480,128,600,192,720,208C840,224,960,192,1080,154.7C1200,117,1320,75,1380,53.3L1440,32L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    width: 100%;
    bottom: -5px;
    left: 0;
    overflow: hidden;
}

.newsletter .container {
    position: relative;
    z-index: 1;
}

.newsletter .form-control {
    background: rgba(255, 255, 255, .3);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--bs-body);
    font-weight: normal;
    transition: .3s;
    text-decoration: none;
}

.footer .btn.btn-link:hover {
    color: #188754;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 3px solid var(--bs-light);
}

.footer .copyright a {
    color: var(--bs-body);
}

.footer .copyright a:hover {
    color: var(--bs-primary);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 3px solid var(--bs-light);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


/* Pagination */
.pagination {
    background-color: #eaeaea;
}

.pagination a {
    color: #198754;
}

.pagination .page-item.active .page-link {
    background-color: #198754;
    border-color: #198754;
    color: #fff;
}

.pagination .page-link {
    border-color: #ddd; 
}

.pagination .page-link:hover {
    color: #198754; 
}

/* -- Reponsive -- */

.profil-sekolah .carousel-item, .program-sekolah .carousel-item {
    height: 400px;
}

@media (min-width: 768px) {
    .width-carousel {
        width: 75%;
    }
}

@media (max-width: 768px) {
    .profil-sekolah .carousel-item, .program-sekolah .carousel-item {
        height: 300px;
    }

    .width-carousel {
        width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }

    .height-responsive img {
        height: 250px !important;
    }
}

@media (max-width: 576px) {
    .profil-sekolah .carousel-item, .program-sekolah .carousel-item {
        height: 250px;
    }

    .height-responsive img {
        height: 300px !important;
    }
}

