/* ==========================================================================
   Preloader
   ========================================================================== */

.ket-site-preloader-area {
    background: $white none repeat scroll 0 0;
    height: 100%;
    position: fixed;
    width: 100%;
    z-index: 9999;
}

.sk-cube-grid {
    height: 40px;
    left: 50%;
    margin: -20px 0 0 -20px;
    position: absolute;
    top: 50%;
    width: 40px;
    -webkit-transition: .5s;
    transition: .5s;
}

.sk-cube-grid .sk-cube {
    width: 33%;
    height: 33%;
    background-color: $dark;
    float: left;
    -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
    animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
}

.sk-cube-grid .sk-cube1 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.sk-cube-grid .sk-cube2 {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.sk-cube-grid .sk-cube3 {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.sk-cube-grid .sk-cube4 {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.sk-cube-grid .sk-cube5 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.sk-cube-grid .sk-cube6 {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.sk-cube-grid .sk-cube7 {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

.sk-cube-grid .sk-cube8 {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.sk-cube-grid .sk-cube9 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

@keyframes sk-cubeGridScaleDelay {
    0%,
    70%,
    100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    }
    35% {
        -webkit-transform: scale3D(0, 0, 1);
        transform: scale3D(0, 0, 1);
    }
}

// @-webkit-keyframes sk-cubeGridScaleDelay {
//     0%, 70%, 100% {
//         -webkit-transform: scale3D(1, 1, 1);
//         transform: scale3D(1, 1, 1);
//     }
//     35% {
//         -webkit-transform: scale3D(0, 0, 1);
//         transform: scale3D(0, 0, 1);
//     }
// }

/* ==========================================================================
   Nav Menu
   ========================================================================== */

.navbar-nav {
    text-transform: uppercase;
    font-size: 15px;
}

.navbar {
    padding: 0rem 1rem;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1.1rem;
    padding-left: 1.1rem;
}

.navbar-light .navbar-nav .nav-link {
    color: $dark;
    transition: 0.3s;
    font-weight: 600;
    &:hover {
        color: $primary-color;
    }
}

.navbar-light .navbar-nav .nav-link.active {
    color: $primary-color;
}

// Navabar Toggler
.navbar-toggler {
    padding: 0.45rem .75rem;
    cursor: pointer;
}

.navbar-light .navbar-toggler {
    color: rgb(78, 171, 4);
    border-color: rgb(78, 171, 4);
} // Dropdown Menu
.dropdown-menu {
    border-radius: 0;
    padding: 0;
}

.dropdown-item {
    transition: all 0.3s ease;
}

.dropdown-item:focus,
.dropdown-item:hover,
.dropdown-item:active {
    background: $primary-color;
    color: $white;
}




/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-success {
    border-radius: 0;
    padding: 0.9rem 1.65rem;
    background: $primary-color;
    border: none;
    transition: all 0.5s ease;
    &:hover,
    &:focus {
        background: #449404;
        box-shadow: none;
    }
}




/* ==========================================================================
   Fixed to Top Styles
   ========================================================================== */

.affix {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.affix {
    background-color: $white;
    border-bottom: 1px solid #e2e2e2;
    box-shadow: 0px 3px 12px -5px rgba(204, 204, 204, 1);
}




/* ==========================================================================
   Back to Top
   ========================================================================== */

#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 30px;
    background: $primary-color;
    color: $white;
    cursor: pointer;
    border: 0;
    border-radius: 0;
    text-decoration: none;
    transition: opacity 0.2s ease-out;
    opacity: 0;
    transition: 0.3s;
}

#back-to-top:hover {
    background: #e9ebec;
    color: $dark;
}

#back-to-top.show {
    opacity: 1;
}

#content {
    height: 2000px;
}
