/*===================================
* text-link
*===================================*/
.text-link {
    text-decoration: underline;
}

.text-link:hover {
    color: var(--primary);
}

/*===================================
* btn-icon
*===================================*/
.btn.btn-icon {
    width: 35px;
    height: 35px;
    padding: 0;
    border-radius: 50%;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn.btn-icon.btn-sm {
    width: 20px;
    height: 20px;
}

.btn.btn-icon.btn-sm i {
    font-size: 12px;
}

/*===================================
* btn-hov
*===================================*/
.btn-hov {
    background-color: transparent;
    border-color: transparent;
    color: #64748b;
}

.btn-hov-round {
    border-radius: 50%;
    padding: 0;
    border-radius: 50%;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
}

.btn-hov-round:hover {
    background-color: rgba(99, 115, 129, 0.08);
}

/*===================================
* btn-shadow
*===================================*/
.btn-shadow {
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}

/*===================================
* btn-check
*===================================*/
.btn-check {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}

.btn-group>.btn-check:checked+.btn,
.btn-group>.btn-check:focus+.btn,
.btn-group-vertical>.btn-check:checked+.btn,
.btn-group-vertical>.btn-check:focus+.btn {
    z-index: 1;
}

.btn-check:active+.btn-outline-primary,
.btn-check:checked+.btn-outline-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-check:checked+.btn-outline-secondary,
.btn-check:active+.btn-outline-secondary {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}

.btn-check:active+.btn-outline-success,
.btn-check:checked+.btn-outline-success {
    background: var(--success);
    color: #fff;
    border-color: var(--success);
}

.btn-check:active+.btn-outline-info,
.btn-check:checked+.btn-outline-info {
    background: var(--info);
    color: #000;
    border-color: var(--info);
}

.btn-check:active+.btn-outline-warning,
.btn-check:checked+.btn-outline-warning {
    background: var(--warning);
    color: #000;
    border-color: var(--warning);
}

.btn-check:active+.btn-outline-danger,
.btn-check:checked+.btn-outline-danger {
    background: var(--danger);
    color: #fff;
    border-color: var(--danger);
}

.btn-check:active+.btn-outline-light,
.btn-check:checked+.btn-outline-light {
    background: var(--light);
    color: #000;
    border-color: var(--light);
}

.btn-check:active+.btn-outline-dark,
.btn-check:checked+.btn-outline-dark {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}

/* -------------------------
 * Flex
 * ------------------------- */
.flex-col {
    display: flex !important;
    flex-direction: column !important;
}

.left-top {
    display: flex !important;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
}

.left-middle {
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

.left-bottom {
    display: flex !important;
    justify-content: flex-start;
    align-items: flex-end;
    align-content: flex-end;
    flex-wrap: wrap;
}

.left-base {
    display: flex !important;
    justify-content: flex-start;
    align-items: baseline;
    align-content: baseline;
    flex-wrap: wrap;
}

.left-stretch {
    display: flex !important;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
    flex-wrap: wrap;
}

.center-top {
    display: flex !important;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
}

.center-middle {
    display: flex !important;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

.center-bottom {
    display: flex !important;
    justify-content: center;
    align-items: flex-end;
    align-content: flex-end;
    flex-wrap: wrap;
}

.center-base {
    display: flex !important;
    justify-content: center;
    align-items: baseline;
    align-content: baseline;
    flex-wrap: wrap;
}

.center-stretch {
    display: flex !important;
    justify-content: center;
    align-items: stretch;
    align-content: stretch;
    flex-wrap: wrap;
}

.between-top {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
}

.between-middle {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

.between-bottom {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-end;
    align-content: flex-end;
    flex-wrap: wrap;
}

.between-base {
    display: flex !important;
    justify-content: space-between;
    align-items: baseline;
    align-content: baseline;
    flex-wrap: wrap;
}

.between-stretch {
    display: flex !important;
    justify-content: space-between;
    align-items: stretch;
    align-content: stretch;
    flex-wrap: wrap;
}

.around-top {
    display: flex !important;
    justify-content: space-around;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
}

.around-middle {
    display: flex !important;
    justify-content: space-around;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

.around-bottom {
    display: flex !important;
    justify-content: space-around;
    align-items: flex-end;
    align-content: flex-end;
    flex-wrap: wrap;
}

.around-base {
    display: flex !important;
    justify-content: space-around;
    align-items: baseline;
    align-content: baseline;
    flex-wrap: wrap;
}

.around-stretch {
    display: flex !important;
    justify-content: space-around;
    align-items: stretch;
    align-content: stretch;
    flex-wrap: wrap;
}

.right-top {
    display: flex !important;
    justify-content: flex-end;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
}

.right-middle {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

.right-bottom {
    display: flex !important;
    justify-content: flex-end;
    align-items: flex-end;
    align-content: flex-end;
    flex-wrap: wrap;
}

.right-base {
    display: flex !important;
    justify-content: flex-end;
    align-items: baseline;
    align-content: baseline;
    flex-wrap: wrap;
}

.right-stretch {
    display: flex !important;
    justify-content: flex-end;
    align-items: stretch;
    align-content: stretch;
    flex-wrap: wrap;
}

.top-left {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
}

.top-center {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

.top-right {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    align-content: flex-end;
    flex-wrap: wrap;
}

.top-base {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: baseline;
    align-content: baseline;
    flex-wrap: wrap;
}

.top-stretch {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
    flex-wrap: wrap;
}

.middle-left {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
}

.middle-center {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

.middle-right {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    align-content: flex-end;
    flex-wrap: wrap;
}

.middle-base {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    align-content: baseline;
}

.middle-stretch {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    align-content: stretch;
}

.bottom-left {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    align-content: flex-start;
}

.bottom-center {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    align-content: center;
}

.bottom-right {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    align-content: flex-end;
}

.bottom-base {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-end;
    align-items: baseline;
    align-content: baseline;
}

.bottom-stretch {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    align-content: stretch;
}

.between-left {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    align-content: flex-start;
}

.between-center {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}

.between-right {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    align-content: flex-end;
}

.between-colbase {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    align-items: baseline;
    align-content: baseline;
}

.between-colstretch {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    align-content: stretch;
}

.around-left {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    align-content: flex-start;
}

.around-center {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    align-content: center;
}

.around-right {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-end;
    align-content: flex-end;
}

.around-colbase {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-around;
    align-items: baseline;
    align-content: baseline;
}

.around-colstretch {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-around;
    align-items: stretch;
    align-content: stretch;
}

.flex-0 {
    flex-shrink: 0;
    flex-grow: 0;
}

.flex-1 {
    flex-shrink: 1;
    flex-grow: 1;
}

.noshrink {
    flex-shrink: 0 !important;
}

.nowrap {
    flex-wrap: nowrap;
}

.grow {
    -ms-flex: 1;
    flex: 1;
}

.flex-auto {
    flex: 1 1 auto !important;
}

/* -------------------------
 * Spacing
 * ------------------------- */
.p-button-sm {
    padding: 0.25rem 0.125rem;
}

.p-button {
    padding: 0.375rem 0.75rem;
}

.p-button-lg {
    padding: 0.5rem 1rem;
}

.p-list {
    padding: 0.75rem 1.25rem;
}

.p-card {
    padding: 1.25rem;
}

.p-jumbo {
    padding: 4rem 2rem;
}

/* -------------------------
 * icon
 * ------------------------- */
.ico-fw {
    width: 1.5em;
    line-height: normal;
    text-align: center;
}

.input-ico {
    position: relative;
}

.input-ico i,
.input-ico .ico {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.input-ico>i,
.input-ico .ico {
    right: 1rem;
}

.input-ico input,
.input-ico .input {
    padding-right: 2.5rem;
}

.input-ico.left>i,
.input-ico.left .ico {
    left: 1rem;
    right: auto;
}

.input-ico.left input,
.input-ico.left .input {
    padding-left: 2.5rem;
    padding-right: inherit;
}


.input-ico.left input+i,
.input-ico.left input+.ico {
    right: 1rem;
    left: auto;
}

/* -------------------------
 * table-sticky
 * ------------------------- */
.table-sticky {
    overflow: initial;
}

.table-sticky thead th {
    position: sticky;
    position: -webkit-sticky;
    top: var(--header-height);
    background-color: #f8fafc;
    z-index: 3;
}

/* -------------------------
 * Rotate
 * ------------------------- */
.rotate-270 {
    transform: rotate(270deg) !important;
}

.rotate-180 {
    transform: rotate(180deg) !important;
}

.rotate-90 {
    transform: rotate(90deg) !important;
}

.rotate-0 {
    transform: rotate(0deg) !important;
}

.flip-vertical {
    transform: scale(1, -1);
}

.flip-horizontal {
    transform: scale(-1, 1);
}

i.i-rotate-270::before {
    transform: rotate(270deg) !important;
}

i.i-rotate-180::before {
    transform: rotate(180deg) !important;
}

i.i-rotate-90::before {
    transform: rotate(90deg) !important;
}

i.i-rotate-0::before {
    transform: rotate(0deg) !important;
}

i.i-flip-vertical::before {
    transform: scale(1, -1);
}

i.i-flip-horizontal::before {
    transform: scale(-1, 1);
}

/* -------------------------
 * List Group
 * ------------------------- */
.list-group-numbered {
    list-style-type: none;
    counter-reset: section;
}

.list-group-numbered>li::before {
    content: counters(section, ".") ". ";
    counter-increment: section;
}

/* -------------------------
 * Step
 * ------------------------- */
ol.step {
    display: block;
    padding: 0 0 0 2em;
    list-style: none;
    overflow: hidden;
    counter-reset: numList;
}

ol.step>li {
    position: relative;
    min-height: 2rem;
    padding-top: 4px;
}

ol.step>li:before {
    counter-increment: numList;
    content: counter(numList);

    float: left;
    position: absolute;
    text-align: center;
    -moz-border-radius: 999px;
    border-radius: 999px;
    left: -2em;
    width: 1.5em;
    height: 1.5em;
    top: 0.25em;

    color: #fff;
    background: #ccc;
}

.step-primary>li:before {
    background-color: var(--primary) !important;
    color: #fff;
}

.step-info>li:before {
    background-color: var(--info) !important;
    color: #fff;
}

.step-success>li:before {
    background-color: var(--success) !important;
    color: #fff;
}

.step-warning>li:before {
    background-color: var(--warning) !important;
    color: #fff;
}

.step-danger>li:before {
    background-color: var(--danger) !important;
    color: #fff;
}

/* -------------------------
 * list-link
 * ------------------------- */

.list-link {
    margin: 0;
    margin-bottom: 1rem;
    padding: 0;
}

.list-link>a {
    color: #141414;
    display: block;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-size: .875rem;
    position: relative;
    padding-left: 2rem;
    text-decoration: none !important;
    background-color: transparent;
    transition: color .25s;
}

.list-link>a:before {
    position: absolute;
    left: 0;
    top: 4px;
    font-family: "FontAwesome";
    content: "\f061";
    color: #777;
    font-size: 14px;
    margin-right: 1rem;
    display: inline-block;
    transition: .25s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.list-link>a:hover {
    color: #000;
}

.list-link>a:hover:before {
    color: #fff;
    background: #000;
    transition: .25s;
}

ul.bullet,
ul.bullet ul {
    padding-inline-start: 1.2em;
    list-style: disc;
}

/*===================================
* border
*===================================*/
.b-0 {
    border: 0 !important;
}

.bt-0 {
    border-top: 0 !important;
}

.br-0 {
    border-right: 0 !important;
}

.bb-0 {
    border-bottom: 0 !important;
}

.bl-0 {
    border-left: 0 !important;
}

.bx-0 {
    border-left: 0 !important;
    border-right: 0 !important;
}

.by-0 {
    border-top: 0 !important;
    border-bottom: 0 !important;
}

.pill {
    border-radius: 9999px;
}

/* -------------------------
 * ToDo
 * ------------------------- */
.todo label {
    margin: 0;
}

.todo .done+label,
.todo input:checked+label,
.todo input:checked+div label {
    text-decoration: line-through;
}

/*===================================
* BETA
*===================================*/
/* -------------------------
 * btn-proses
 * ------------------------- */

.btn-proses {
    position: relative;
    overflow: hidden;
}

.btn-proses span {
    display: flex;
    align-items: center;
    justify-content: center;

}

.btn-proses span.loading {
    position: absolute;
    top: 100%;
    height: 100%;
    left: 0;
    right: 0;
}

.btn-proses span.normal {
    opacity: 1;
    transition: opacity 3s linear;
}

.btn-proses:disabled span.normal {
    opacity: 0;
}

.btn-proses:disabled span.loading {
    top: 0;
}

.btn-proses:disabled span.loading {
    animation: loading 500ms linear infinite;
}

@keyframes loading {
    100% {
        transform: rotate(360deg);
    }
}

/* -------------------------
 * modal-fit-heigh
 * ------------------------- */

.modal-fit-height {
    margin: 0 auto;
}

.modal-fit-height .modal-content {
    border-top: none;
    border-bottom: 0;
}

.modal-fit-height .form-modal {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.modal-fit-height .modal-body {
    overflow-y: auto;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .modal-xl {
        max-width: 750px;
    }
}

/* -------------------------
 * widget
 * ------------------------- */
.widget {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}