@font-face {
    font-family: quicksand;
    src: url('../vendor/font/Quicksand/Quicksand.ttf');
    font-display: block;
}

:root {
    --h-header: 100px;
    --bg-hleft: #2351a5;
    --bg-title: #274f97;
    --bg-body: #f5f8fc;
    --w-hleft: 250px;
    --w-hleft-mini: 90px;
    --h-submenu: 70px;
    --success: #2dce89;
    --info: #931bb8;
    --warning: #fb6340;
    --danger: #f5365c;
    --secondary: #ebebeb;
    --dark: #212529;
    --primary: #6475d3;
    --font: quicksand;
}

.w-px-100 {
    width: 50px !important;
}
/* Chrome, Safari, Edge, Opera */
.nochange::-webkit-outer-spin-button,
.nochange::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.nochange[type=number] {
  -moz-appearance: textfield;
}

.theme-dark .breadcrumb a {
    color: var(--dark);
    opacity: 0.8;
}
.theme-dark .owl-theme .owl-dots .owl-dot.active span {
    background: var(--dark) !important;
}
.theme-dark header, .theme-dark #mobmenu, .theme-dark ._close, .theme-dark .single-page .section h2, .theme-dark .prd-aksi button, .theme-dark footer .sosmed ul li:hover, .theme-dark .floating-chat a, .theme-dark .testimoni .card-header {
    background-color: var(--dark);
}
.theme-dark header ._right .dot, .theme-dark #mobmenu li:nth-child(2) a, .theme-dark #mobmenu, .theme-dark #mobmenu li ._icon span, .theme-dark footer .sosmed ul li, .theme-dark header ._right .dot, .theme-dark .varian-prd input:checked ~ label, .theme-dark .testimoni .card {
    border-color: var(--dark);
}
.theme-dark .testimoni .card-header::before {
    border-left-color: var(--dark);
}
.theme-dark .varian-prd input:checked ~ label {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--dark);
}
.theme-dark .loading .animasi {
    border-top-color: var(--dark);
}
.theme-dark .sidebar .active a, .theme-dark #mobmenu li:nth-child(2) a, .theme-dark footer .sosmed ul li a, .theme-dark #backtop, .theme-dark .credit a, .theme-dark .owl-nav button span, .theme-dark .floating-chat span, .theme-dark .page .title h2 {
    color: var(--dark);
}
.theme-dark .webTitle-mob h2, .theme-dark .webTitle-mob a, .theme-dark .icon-group-mob a {
    color: #fff;
}
.theme-dark header ._right .dot {
    background-color: #fff;
}

.bg-warning {
    background-color: var(--warning) !important;
}

.loading {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 15;
    display: flex;
    justify-content: center;
    align-items: center;
}
.loading .animasi {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    border-top-color: var(--bs-primary);
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1000ms ease-in-out infinite;
}
  
@keyframes spin {
    to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    to { -webkit-transform: rotate(360deg); }
}

body {
    font-family: var(--font);
    font-size: 15px;
}

a {
    text-decoration: none;
}

button {
    border: 0;
    outline: none;
}

.o-hidden {
    overflow: hidden !important;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 13;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(20px);
    /* background-color: #fff; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.loading .animasi {
    display: inline-block;
    width: 55px;
    height: 55px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--bs-primary);
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1000ms ease-in-out infinite;
}
  
@keyframes spin {
    to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    to { -webkit-transform: rotate(360deg); }
}

.cursor-pointer {
    cursor: pointer;
}
.dashed {
    border: 1px dashed #ddd !important;
}
.card, .card-header, .card-footer {
    background-color: #fff;
    border: 0;
}

.card-header, main .card-footer {
    background-color: transparent;
}
a.card:hover {
    text-decoration: none;
    color: unset;
}
.card-icon, .alert-icon {
    position: absolute;
    top: 0;
    right: 10px;
    justify-content: center;
    align-items: center;
    height: 100%;
    z-index: -1;
}
.card-icon {
    width: 70px;
}
.alert-icon i {
    width: 50px;
    height: 50px;
    line-height: 50px;
}
.card-icon i, .alert-icon i {
    opacity: 0.2;
    text-align: center;
    border-radius: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}
.card-icon i {
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 1.8rem;
}
.card, .card-header, .card-footer {
    border: 0;
}
.card-primary {
    box-shadow: none;
    background-color: #c8cfff !important;
    border: 0;
    color: #004085;
}
.card-info {
    background-color: #e0faff !important;
    border: 0;
    color: #1c7483;
    box-shadow: none;
}
.card-warning {
    box-shadow: none;
    background-color: #fff1c0 !important;
    border: 0;
    color: #856404;
}
.card-success {
    box-shadow: none;
    color: #155724;
    border: 0;
    background-color: #bcffe5 !important;
}
.card-danger {
    box-shadow: none;
    color: #721c24 !important;
    border: 0;
    background-color: #ffc8db;
}
.card-light {
    box-shadow: none;
    color: #818182 !important;
    background-color: #fefefe;
    border: 0;
}
.card-dark {
    color: #1b1e21;
    background-color: #d6d8d9 !important;
    border: 0;
    box-shadow: none;
}

.alert {
    color: #fff;
    font-size: 15px;
    z-index: 1;
}
.alert .close {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 14px;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 3px 7px 7px 15px;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 0 0 0 50px;
}
.alert-primary {
    background-color: #6475d3;
    border-color: #6475d3;
}
   
.alert-secondary {
    background-color: #ebebeb;
    border-color: #ebebeb;
    color: #45484b;
}

.alert-success {
    background-color: #4fd69c;
    border-color: #4fd69c;
}

.alert-info {
    background-color: #37d5f2;
    border-color: #37d5f2;
}

.alert-warning {
    background-color: #fc7c5f;
    border-color: #fc7c5f;
}

.alert-danger {
    background-color: #ff3b63;
    border-color: #ff3b63;
}

.alert-dark {
    background-color: #45484b;
    border-color: #45484b;
}

.alert-light {
    color: var(--dark);
}

.btn {
    font-size: 14px;
}
.btn:hover, button.badge:hover, a.badge:hover {
    opacity: 0.8;
}
.btn-sm {
    font-size: 13px;
}
.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:focus, .badge-primary, .badge-primary:hover {
    color: #fff;
    background-color: #5e72e4 !important;
    border-color: #5e72e4 !important;
}  

.btn-success, .btn-success:hover, .btn-success:active, .btn-success:focus, .badge-success, .badge-success:hover {
    color: #fff;
    background-color: #2dce89 !important;
    border-color: #2dce89 !important;
}  

.btn-danger, .btn-danger:hover, .badge-danger, .badge-danger:hover {
    color: #fff;
    background-color: #ff3b63 !important;
    border-color: #ff3b63 !important;
}

.btn-warning, .btn-warning:hover, .btn-warning:active, .btn-warning:focus, .badge-warning, .badge-warning:hover {
    color: #fff !important;
    background-color: #fb6340 !important;
    border-color: #fb6340 !important;
}

.btn-dark, .btn-dark:hover, .btn-dark:active, .btn-dark:focus, .badge-dark, .badge-dark:hover {
    color: #fff;
    background-color: #212529 !important;
    border-color: #212529 !important;
}

.btn-secondary, .btn-secondary:hover, .btn-secondary:active, .btn-secondary:focus, .badge-secondary, .badge-secondary:hover {
    color: #212529 !important;
    background-color: #dddddd !important;
    border-color: #f4f5f7 !important;
}

button.badge {
    border: 0;
}
.badge {
    font-weight: normal;
    padding: 5px 7px;
}

.modal {
    backdrop-filter: blur(1rem);
}
.modal-content {
    border: 0;
}

/* datatables */
.dataTables_info {
    font-size: 12px;
    color: rgba(0,0,0,0.7);
    margin-top: 20px;
}

.dataTables_paginate {
    padding-top: 20px;
}

.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

.page-link {
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
}

.page-link:hover {
    color: var(--primary);
} 

body.swal2-shown > [aria-hidden="true"] {
    filter: blur(20px);
}

.timeline {
    position: relative;
    padding: 0;
    margin: 0;
    list-style: none;
}
.timeline li {
    display: flex;
    flex-wrap: wrap;
    min-height: 50px;
    position: relative;
}
.timeline li:last-child {
    min-height: unset;
}
.timeline .time {
    position: relative;
    width: 100px;
    padding-right: 20px;
}
.timeline .actv {
    width: calc(100% - 100px);
    padding: 0 30px;
}
.timeline small {
    font-size: 11px;
    color: rgba(0,0,0,0.7);
}
.timeline .time h6 {
    font-size: 14px;
}
.timeline .time:before {
    content: '';
    width: 12px;
    height: 12px;
    border: 2px solid var(--bs-primary);
    border-radius: 100%;
    position: absolute;
    right: -6px;
    top: 4px;
}
.timeline .time:after {
    position: absolute;
    right: 0;
    top: 15px;
    content: '';
    border-right: 1px dotted var(--bs-primary);
    height: calc(100% - 10px);
}
.timeline li:last-child .time::after {
    border: 0;
}
.timeline li.start .time::before {
    background-color: #28a745;
    border-color: #28a745;
} 
.timeline li.finish .time::before {
    background-color: #eb0033;
    border-color: #eb0033;
} 
.timeline .actv p {
    font-size: 12px;
}

.text-warning {
    color: var(--warning) !important;
}

.table > :not(:first-child) {
    border-top: 0;
}

.truncate-2, .truncate-3, .truncate-4, .truncate-5 {
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}
.truncate-2 {
    -webkit-line-clamp: 2;
}
.truncate-3 {
    -webkit-line-clamp: 3;
}
.truncate-4 {
    -webkit-line-clamp: 4;
}
.truncate-5 {
    -webkit-line-clamp: 5;
}
