/* 
    BG
*/

.bg-primary {
    background-color: #07addc !important; 
}

.s-backlog {
    background-color: #546e7a !important;
}
.s-waiting {
    background-color: #1e88e5  !important;
}
.s-progress {
    background-color: #0052CC !important;
}
.s-patching {
    background-color: #000c77 !important;
}
.s-done {
    background-color: #006644 !important;
}
.s-rejected {
    background-color: #7d1300 !important;
}

.status-card {
    color: #fff;
}

/* 
    Button
*/

.btn {
    position: relative; 
}

.btn-primary {
    box-shadow: 0 0 transparent;
    background-color: #07addc;
    border-color: #07addc; 
}

.btn-primary.disabled, 
.btn-primary:disabled {
    background-color: #002855;
    border-color: #002855; 
}

.btn-primary:focus, 
.btn-primary.disabled:focus {
    background-color: #002855 !important; 
}

.btn-primary:focus:active, 
.btn-primary.disabled:focus:active {
    background-color: #002855 !important; 
}

.btn-primary:active, 
.btn-primary:hover, 
.btn-primary.disabled:active {
    background-color: #0256a7 !important; 
}

.btn-primary:disabled:hover {
    background-color: #002855 !important; 
}

.btn-outline-primary {
    border-color: #07addc; 
    color: #07addc; 
}

.btn-outline-primary:hover {
    background-color: #0256a7!important; 
}

/* 
    Nav Tabs
*/

.nav-tabs {
    border-bottom: .25em solid #07addc;
}

.nav-tabs .nav-item a {
    padding-left: 2em;
    padding-right: 2em;

    background-color: #07addc !important; 
    border-color: #fff !important; 
    border-bottom: 1px solid #07addc!important;
    color: #fff!important;
}

.nav-tabs .nav-item a:hover {
    background-color: #0256a7 !important;
}

.nav-tabs .nav-item .nav-link.active {
    background-color: #002855 !important;
}

.nav-tabs .nav-item:first-child a {
    border-top-left-radius: 1em;
}

.nav-tabs .nav-item:last-child a {
    border-top-right-radius: 1em;
}

/* 
    Navbar
*/

.navbar-bg {
    background-color: #002855;
}

.navbar {
    position: fixed;
    top: 0;
    left: 280px;
    z-index: 880;
}

@media (max-width: 1024px) {
    .navbar {
        left: 5px;
        right: 0;
    }
}

.navbar .nav-link {
    color: #fff;
}

.navbar .nav-link:hover {
    color: #0256a7;
}

.navbar .nav-link.nav-link-user {
    color: #fff;
}

/* 
    Sidebar
*/

.main-sidebar {
    width: 280px;

    background-color: #07addc;
    background-image: linear-gradient(225deg, #07addc 0%, #3c5daa 50%);
}

body.sidebar-mini .main-sidebar:after {
    background-color: #07addc;
    background-image: linear-gradient(225deg, #07addc 0%, #3c5daa 50%);
}

.main-sidebar .sidebar-menu li a {
    color: #fff;
    border-radius: 1em;
}

.main-sidebar .sidebar-menu li a:hover {
    background-color: rgba(0, 0, 0, .15); 
}

.main-sidebar .sidebar-menu li.active a {
    color: #fff;
}

.main-sidebar .sidebar-menu li ul.dropdown-menu {
    background-color: rgba(0, 0, 0, .15);
    border-radius: 1em;
}

.main-sidebar .sidebar-menu li ul.dropdown-menu li a {
    padding-top: 2em;
    padding-bottom: 2em;
    padding-left: 20px;
    color: #fff;
    line-height: 1.25em;
}

.main-sidebar .sidebar-menu li ul.dropdown-menu li a:hover {
    color: #fff;
    background-color: rgba(0, 0, 0, .15); 
}

.main-sidebar .sidebar-menu li ul.dropdown-menu li.active > a {
    color: #07addc;
}

.main-sidebar .sidebar-menu li.active ul.dropdown-menu {
    background-color: rgba(0, 0, 0, .15); 
}

body.sidebar-mini .main-sidebar .sidebar-menu > li.active > a {
    background-color: #07addc;
}

body.sidebar-mini .main-sidebar .sidebar-menu > li ul.dropdown-menu li > a {
    color: #6c757d!important;
}

body.sidebar-mini .main-sidebar .sidebar-menu > li ul.dropdown-menu li.active > a {
    background-color: #07addc!important;
}

body.sidebar-mini .main-sidebar .sidebar-menu > li ul.dropdown-menu li.active > a:hover {
    background-color: #0256a7!important;
}

body:not(.sidebar-mini) .sidebar-style-2 .sidebar-menu > li.active > a {
    background-color: #002855;
    border-radius: 1em;
}

body:not(.sidebar-mini) .sidebar-style-2 .sidebar-menu > li.active > a:before {
    background-color: transparent;
}

body:not(.sidebar-mini) .sidebar-style-2 .sidebar-menu li.active > ul.dropdown-menu {
    background-color: rgba(0, 0, 0, .15);
}

body:not(.sidebar-mini) .sidebar-style-2 .sidebar-menu li.active ul.dropdown-menu li a {
    background-color: transparent;
}

body:not(.sidebar-mini) .sidebar-style-2 .sidebar-menu li.active ul.dropdown-menu li.active a {
    background-color: rgba(0, 0, 0, .15);
}

body:not(.sidebar-mini) .sidebar-style-2 .sidebar-menu li.active ul.dropdown-menu li a:hover {
    background-color: rgba(0, 0, 0, .15);
}

body.sidebar-gone .main-sidebar {
    left: -280px;
}

.nav-pills .nav-item .nav-link.active {
    background-color: #07addc;
}

/* 
    Footer 
*/

.main-footer {
    margin-top: 1.95em;
    padding-left: 310px;
}

@media (max-width: 1024px) {
    .main-footer {
        margin-top: 0em;
        padding-left: 30px;
    }
}

/* 
    Content 
*/

.main-content {
    padding-top: 100px;
    padding-left: 310px;
}

@media (max-width: 1024px) {
    .main-content {
        padding-left: 30px;
    }
}

/* 
    Section 
*/

.section .section-title:before {
    background-color: #07addc;
}

/* 
    Card 
*/

.card {
    border-radius: 1em!important;
}

/* 
    Select2
*/

.select2-container--default .select2-selection--multiple .select2-selection__choice, .select2-container--default .select2-results__option[aria-selected=true], .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #07addc;
}

/* 
    Datetime Picker 
*/

.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: #07addc;
}

/* 
    Checkbox
*/

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #07addc !important; 
    border-color:  #07addc !important; 
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::before, .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #07addc !important; 
    border-color:  #07addc !important; 
}

.custom-switch-input:checked ~ .custom-switch-indicator {
    background-color: #07addc; 
}

/* 
    Text
*/

.text-primary, .text-primary-all *, .text-primary-all *:before, .text-primary-all *:after {
    color: #07addc !important; 
}

a {
    color: #07addc;
}

a:hover {
    color: #0256a7;
}

/* 
    Loading
*/

.loading-midtrans {
    display: inline-block;
    position: relative;

    width: 2.85em;
    height: 5.85em;

    margin-top: -6em;
    margin-left: -2em;
}

.loading-midtrans div {
    display: inline-block;
    position: absolute;
    left: 8px;
    width: 16px;
    background: #fff;
    border-radius: 50rem;
}
.loading-midtrans div:nth-child(1) {
    left: 0;
    animation-delay: 0;
    animation: anim-midtrans-pendek 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
.loading-midtrans div:nth-child(2) {
    top: -1.5em;
    left: 3em;
    animation-delay: -0.12s;
    animation: anim-midtrans-panjang 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
.loading-midtrans div:nth-child(3) {
    left: 6em;
    animation-delay: -.18s;
    animation: anim-midtrans-pendek 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.lazy-loading-midtrans {
    display: inline-block;
    position: relative;

    width: 3em;
    height: 4em;

    margin-top: initial;
    margin-left: initial;
}

.lazy-loading-midtrans div {
    left: 0em;
    width: .75em;
}

.lazy-loading-midtrans div:nth-child(1) {
    left: 0;
    top: 1em;
    animation-delay: 0;
    animation: anim-lazy-midtrans-pendek 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
.lazy-loading-midtrans div:nth-child(2) {
    left: 1.5em;
    top: 0em;
    animation-delay: -0.12s;
    animation: anim-lazy-midtrans-panjang 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
.lazy-loading-midtrans div:nth-child(3) {
    left: 3em;
    top: 1em;
    animation-delay: -.18s;
    animation: anim-lazy-midtrans-pendek 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.loading-midtrans-blue div {
    background: #07addc!important;
}

@keyframes anim-midtrans-pendek {
    0%, 100% {
        height: 4em;
    }
    50% {
        height: 6em;
    }
}

@keyframes anim-midtrans-panjang {
    0%, 100% {
        height: 7em;
    }
    50% {
        height: 9em;
    }
}

@keyframes anim-lazy-midtrans-pendek {
    0%, 100% {
        height: 1em;
    }
    50% {
        height: 2em;
    }
}

@keyframes anim-lazy-midtrans-panjang {
    0%, 100% {
        height: 3em;
    }
    50% {
        height: 4em;
    }
}

/* 
    Sweet Alert
*/


.swal-button:hover {
    background-color: #0256a7;
    color: #fff;
}

.swal-button.swal-button--confirm {
    box-shadow: 0 0 transparent;
    background-color: #07addc;
}

.swal-button.swal-button--confirm:hover {
    background-color: #0256a7;
}

/* 
    Request Service
*/

.service-icon {
    border: .075em solid #07addc;
}

/*
    General
*/

.kagura-user-avatar {
    display: inline-block;
    
    height: 2em;
    width: 2em;
}

.kagura-logo-big {
    width: 600px;
    max-width: 100%;
    margin-top: 10em;
}

.activities .activity:before {
    background-color: #0256a7;
}

/* 
    Login
*/

#login-container {
    display: grid;
    grid-template-columns: 60% 40%;
    height: 100vh;
    width: 100vw;

    gap: 0;
}

#login-left {
    position: relative;
    height: 100vh;
    
    overflow: hidden;
}

#login-logo {
    position: absolute;
    top: 38vh;
    left: 5vw;
    width: 30vw;

    z-index: 10;
}

#login-description {
    position: absolute;
    top: 43vh;
    left: 5vw;
    width: 40vw;

    color: #fff;

    z-index: 10;
}

#login-description a {
    color: #ddf;
    font-weight: bold;
}

#login-description a:hover {
    color: #99f;
}

#login-wave {
    position: absolute;
    top: -10vh;
    left: -25vw;
    width: 75vw;
    height: 130vh; 
    
    background-image: linear-gradient(225deg, #07addc 0%, #3c5daa 50%);
    border-top-right-radius: 30%;
    border-bottom-right-radius: 30%;
    box-shadow: 0 10.25em 10.25em rgb(0 0 0 / 50%);

    transform: rotate(10deg);

    z-index: 2;
}

#login-wave-2 {
    position: absolute;
    top: -15vh;
    left: -22vw;
    width: 75vw;
    height: 130vh; 
    
    background-color: #07addc;
    border-top-right-radius: 20%;
    border-bottom-right-radius: 40%;
    box-shadow: 0 10.25em 2.5em rgb(0 0 0 / 50%);

    transform: rotate(15deg);

    z-index: 0;
}

#login-wave-3 {
    position: absolute;
    top: 25vh;
    left: -20vw;
    width: 75vw;
    height: 130vh; 
    
    background: #028FCD;
    border-top-right-radius: 40%;
    border-bottom-right-radius: 40%;
    box-shadow: 0 10.25em 5.25em rgb(0 0 0 / 50%);

    transform: rotate(-5deg);

    z-index: 1;
}

#login-right {
    position: relative;
    height: 100vh;
    padding: 42vh 5em;

    text-align: center;
    
    overflow: hidden;
}

#button-login {
    font-size: 1.5em;
    box-shadow: 0 0.25em 0.25em rgb(0 0 0 / 5%);
}

@media (max-width: 768px) {
    #login-container {
        display: grid;
        grid-template-columns: 100%;
        height: 100vh;
        width: 100vw;
    
        gap: 0;
    }

    #login-left {
        height: 40vh;
    
        text-align: center;
        background-image: linear-gradient(225deg, #07addc 0%, #3c5daa 50%);
        
        overflow: initial;
    }
    
    #login-logo {
        position: initial;
        margin-top: 10vh;
        margin-left: auto;
        margin-right: auto;
        width: 80%;
    
        z-index: 10;
    }
    
    #login-description {
        position: initial;
        margin-top: 5vh;
        margin-left: auto;
        margin-right: auto;
        width: 80%;
    
        color: #fff;
        font-size: .95em;
        text-align: center;
    
        z-index: 10;
    }
    
    #login-wave {
        display: none;
    }
    
    #login-wave-2 {
        display: none;
    }
    
    #login-wave-3 {
        display: none;
    }
    
    #login-right {
        position: relative;
        height: 40vh;
        padding: 5em 5em;
    
        text-align: center;
        
        overflow: hidden;
    }
    
    #button-login {
        font-size: 1.5em;
        box-shadow: 0 0.25em 0.25em rgb(0 0 0 / 5%);
    }
}