﻿.k-input.k-textbox input {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}


.k-daterangepicker > span {
    display: none;
    visibility: hidden;
}

.k-grid.hdc-grid-browse .k-grid-container {
    height: calc(100vh - 330px);
}

.k-grid.hdc-grid-browse .k-column-title {
    white-space: normal;
}

.accordion-collapse.collapse {
    height: calc(100vh - 230px);
    overflow-y: auto;
    overflow-x: hidden;
}

/*Custom kendo*/
.k-table-row,
.k-table-row .k-header,
.k-table-row .k-header .k-cell-inner,
.k-table-row .k-header .k-cell-inner .k-link,
.k-table-row .k-header .k-cell-inner .k-link .k-column-title,
.k-table-row .k-table-td,
.k-grid,
.k-grid .k-pager,
.k-grid .k-pager .k-pager-numbers-wrap,
.k-grid .k-pager .k-pager-numbers-wrap .k-button,
.k-grid .k-pager .k-pager-info {
    color: inherit !important;
    font-family: inherit !important;
    line-height: inherit !important;
    font-size: 0.85rem !important;
}

    .k-grid .k-pager {
        padding: 0 !important;
    }

    .hdc-grid-browse.k-grid .k-table-th, .k-grid td, .k-grid .k-table-td {
        padding: 4px 8px;
    }

        .k-grid .k-table-th, .k-grid td, .k-grid .k-table-td .k-checkbox {
            margin-top: 2px;
        }

    .k-table-row .k-header .k-cell-inner .k-link,
    .k-table-row .k-header .k-cell-inner .k-grid-column-menu {
        padding: 3px 6px;
    }



.hdc-switch-box.k-switch {
    width: 30px;
    height: 16px;
}

    .hdc-switch-box.k-switch .k-switch-track {
        width: 30px;
        height: 16px;
    }

    .hdc-switch-box.k-switch .k-switch-thumb {
        width: 10px;
        height: 10px;
    }

    .hdc-switch-box.k-switch.k-switch-off .k-switch-thumb-wrap {
        left: calc( 5px + 3px);
    }

    .hdc-switch-box.k-switch.k-switch-on .k-switch-thumb-wrap {
        left: calc( 100% - 5px - 3px);
    }

.k-grid .k-loading-mask {
    display: none !important;
}

.main-container {
    min-height: calc(600px);
}

.tab-content.container-fluid {
    height: calc(100vh - 150px);
    box-sizing: border-box;
    padding: 10px;
}

.tab-pane {
    width: 100%;
    height: 100%;
}

.tabs-close {
    margin-left: 10px;
}

/** For search menu **/
/** Start Search menu **/

.search-wrapper {
    margin: 0 auto;
    background: #ffffff;
    position: absolute;
    z-index: 1000;
}

input.search-input {
    width: 100%;
    border: none;
    height: 40px;
    border-radius: 5px;
    padding: 0px 40px 0px 10px;
    font-family: var(--bs-body-font-family);
    font-size: var(--bs-body-font-size);
    font-weight: var(--bs-body-font-weight);
    line-height: var(--bs-body-line-height);
}

    input.search-input:focus {
        outline: none;
    }

button.button-search {
    position: absolute;
    border: none;
    background: none;
    top: 0;
    right: 0;
    height: 25px;
    font-family: var(--bs-body-font-family);
    font-size: var(--bs-body-font-size);
    font-weight: var(--bs-body-font-weight);
    line-height: var(--bs-body-line-height);
    padding: 0;
    width: 40px;
}

    button.button-search:focus {
        outline: none;
    }

    button.button-search i {
        width: 100%;
        color: #6d7b98;
        font-family: var(--bs-body-font-family);
        font-size: var(--bs-body-font-size);
        font-weight: var(--bs-body-font-weight);
        line-height: var(--bs-body-line-height);
    }

.results {
    padding: 0px;
    max-height: 30vh;
    overflow-y: auto;
    outline: none !important;
    scrollbar-width: thin;
    scrollbar-color: #cdcdcd #f0f0f0;
}

    .results ul {
        margin: 0;
        padding: 0;
    }

        .results ul li {
            list-style: none;
            border-radius: 3px;
            opacity: 0;
            display: none;
            padding: 8px 12px;
            transition: all .5s linear;
            font-family: var(--bs-body-font-family);
            font-size: var(--bs-body-font-size);
            font-weight: var(--bs-body-font-weight);
            line-height: var(--bs-body-line-height);
        }

            .results ul li a {
                color: #74788d;
            }

.show .results ul li {
    opacity: 1;
    display: block;
}

.show .results {
    padding: 10px;
}

.results ul li:hover {
    background: #ececec
}

a.search-item {
    text-decoration: none;
    display: block;
    width: 100%;
    color: #000000
}
/** End Search Menu **/

.rcbItem.language-item.icon-id,
.rcbHovered.language-item.icon-id {
    background-image: url('assets/images/flags/id.jpg');
    height: 30px;
    padding: 5px 5px 5px 50px;
    background-repeat: no-repeat;
    background-origin: inherit;
    background-position: 5px center;
    background-size: 30px 16px;
}

    .rcbItem.language-item.icon-id:after,
    .rcbHovered.language-item.icon-id:after {
        content: 'Bahasa';
    }

.rcbItem.language-item.icon-en,
.rcbHovered.language-item.icon-en {
    background-image: url('assets/images/flags/us.jpg');
    height: 30px;
    padding: 5px 5px 5px 50px;
    background-repeat: no-repeat;
    background-origin: inherit;
    background-position: 5px center;
    background-size: 30px 16px;
}

    .rcbItem.language-item.icon-en:after,
    .rcbHovered.language-item.icon-en:after {
        content: 'English';
    }

.rcbItem.language-item.icon-zh,
.rcbHovered.language-item.icon-zh {
    background-image: url('assets/images/flags/zh.jpg');
    height: 30px;
    padding: 5px 5px 5px 50px;
    background-repeat: no-repeat;
    background-origin: inherit;
    background-position: 5px center;
    background-size: 30px 16px;
}

    .rcbItem.language-item.icon-zh:after,
    .rcbHovered.language-item.icon-zh:after {
        content: '话语';
    }

.select-language > .rcbInner {
    height: 100%;
}

    .select-language > .rcbInner > .rcbActionButton {
        display: none;
    }

    .select-language,
    .select-language > .rcbInner.rcbReadOnly,
    .select-language > .rcbInner.rcbReadOnly.rcbHovered,
    .select-language > .rcbInner.rcbReadOnly.rcbExpanded,
    .select-language > .rcbInner.rcbReadOnly.rcbFocused {
        height: 100%;
        border: none;
        border-radius: 0;
        box-shadow: unset;
        background-color: transparent;
    }

        .select-language.icon-id > .rcbInner.rcbReadOnly,
        .select-language.icon-id > .rcbInner.rcbReadOnly.rcbHovered,
        .select-language.icon-id > .rcbInner.rcbReadOnly.rcbExpanded,
        .select-language.icon-id > .rcbInner.rcbReadOnly.rcbExpanded.rcbFocused {
            background-image: url(assets/images/flags/id.jpg);
            background-repeat: no-repeat;
            background-position: center;
            background-origin: border-box;
            background-size: 30px 16px;
        }

        .select-language.icon-en > .rcbInner.rcbReadOnly,
        .select-language.icon-en > .rcbInner.rcbReadOnly.rcbHovered,
        .select-language.icon-en > .rcbInner.rcbReadOnly.rcbExpanded,
        .select-language.icon-en > .rcbInner.rcbReadOnly.rcbExpanded.rcbFocused {
            background-image: url(assets/images/flags/us.jpg);
            background-repeat: no-repeat;
            background-position: center;
            background-origin: border-box;
            background-size: 30px 16px;
        }

        .select-language.icon-zh > .rcbInner.rcbReadOnly,
        .select-language.icon-zh > .rcbInner.rcbReadOnly.rcbHovered,
        .select-language.icon-zh > .rcbInner.rcbReadOnly.rcbExpanded,
        .select-language.icon-zh > .rcbInner.rcbReadOnly.rcbExpanded.rcbFocused {
            background-image: url(assets/images/flags/zh.jpg);
            background-repeat: no-repeat;
            background-position: center;
            background-origin: border-box;
            background-size: 30px 16px;
        }

.crops-image-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-content: center;
    z-index: 10000;
}

    .crops-image-popup.show {
        display: unset;
    }

    .crops-image-popup .ci-content {
        width: 450px;
        margin: 0px auto;
        background-color: #fff;
        border-radius: 0.5rem;
    }

        .crops-image-popup .ci-content hr {
            margin: 0;
        }

        .crops-image-popup .ci-content .ci-ctn-header {
            position: relative;
            padding: 0.75rem;
        }

            .crops-image-popup .ci-content .ci-ctn-header h4 {
                margin: 0;
            }

            .crops-image-popup .ci-content .ci-ctn-header p {
                margin: 0;
            }

            .crops-image-popup .ci-content .ci-ctn-header .ci-close {
                position: absolute;
                top: calc((100% - 10.8px)/2);
                right: 20px;
                cursor: pointer;
            }

        .crops-image-popup .ci-content .ci-ctn-wrapper {
            width: 100%;
            height: 250px;
            padding: 0.75rem;
            overflow: hidden;
        }

        .crops-image-popup .ci-content .ci-ctn-footer {
            padding: 0.75rem;
        }

            .crops-image-popup .ci-content .ci-ctn-footer .space-between {
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

                .crops-image-popup .ci-content .ci-ctn-footer .space-between .right {
                    display: flex;
                    gap: 10px;
                    margin-left: 10px;
                }

                    .crops-image-popup .ci-content .ci-ctn-footer .space-between .right button {
                        width: 100px;
                    }

            .crops-image-popup .ci-content .ci-ctn-footer .ci-ctn-ftr-right {
                display: flex;
                justify-content: right;
                align-items: end;
            }

                .crops-image-popup .ci-content .ci-ctn-footer .ci-ctn-ftr-right button {
                    margin-left: 4px;
                }

.hsa-popup-mesage {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-content: center;
    z-index: 10000;
}

    .hsa-popup-mesage.show {
        display: unset;
    }

    .hsa-popup-mesage .hsa-popup-content {
        width: 450px;
        margin: 0px auto;
        background-color: #fff;
        border-radius: 0.5rem;
    }

        .hsa-popup-mesage .hsa-popup-content.info {
            border-top: 5px solid #50a5f1;
        }

        .hsa-popup-mesage .hsa-popup-content.warning {
            border-top: 5px solid #f1b44c;
        }

        .hsa-popup-mesage .hsa-popup-content hr {
            margin: 0;
        }

        .hsa-popup-mesage .hsa-popup-content .hsa-popup-content-header {
            position: relative;
            padding: 0.75rem;
        }

            .hsa-popup-mesage .hsa-popup-content .hsa-popup-content-header h4 {
                margin: 0;
            }

        .hsa-popup-mesage .hsa-popup-content.info .hsa-popup-content-header h4.title {
            color: #50a5f1;
        }

        .hsa-popup-mesage .hsa-popup-content.warning .hsa-popup-content-header h4.title {
            color: #f1b44c;
        }

        .hsa-popup-mesage .hsa-popup-content .hsa-popup-content-header .popup-close {
            position: absolute;
            top: calc((100% - 10.8px)/2);
            right: 20px;
            cursor: pointer;
        }

        .hsa-popup-mesage .hsa-popup-content .hsa-popup-content-wrapper {
            width: 100%;
            height: 250px;
            padding: 0.75rem;
            overflow: hidden;
        }


.password-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: calc(50% - 7px);
    right: 10px;
    cursor: pointer;
    z-index: 10;
}

.image-preview {
    width: 250px;
    height: 250px;
}

    .image-preview.center {
        margin: 0 auto;
    }

    .image-preview .content-upload {
        display: flex;
        flex-direction: column; /* Stack items vertically */
        justify-content: center; /* Center vertically */
        align-items: center; /* Center horizontally */
        width: 100%; /* Adjust as needed */
        height: 100%; /* Adjust as needed */
        border-style: dashed;
        border-color: #9AA6B2;
        background-color: #E8F9FF;
        text-align: center;
        padding: 20px;
    }


    .image-preview .content-image {
        width: 100%;
        height: 100%;
        background-color: #E8F9FF;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        position: relative;
        overflow: hidden;
    }

        .image-preview .content-upload.circle,
        .image-preview .content-image.circle {
            border-radius: 50%;
        }

        .image-preview .content-upload.square,
        .image-preview .content-image.square {
            border-radius: 5%;
        }

.content-image .clear-image {
    width: 100%;
    height: 25%;
    background-color: rgb(47, 54, 69, 0.5);
    position: absolute;
    text-align: center;
    padding-top: 20px;
    color: #FFFFFF;
    font-weight: bold;
    bottom: -25%;
    transition: bottom 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 0;
}

.content-image:hover .clear-image {
    bottom: 0; /* Move up */
    opacity: 1;
}

.content-upload .icon {
    font-size: 5.5rem;
    color: #9AA6B2;
}

.content-upload .text {
    color: #9AA6B2;
}

.grid-header {
    background-color: #F5F7F8;
}

    .grid-header .row {
        padding: 8px 0;
        border-top: 1px solid #B7B7B7;
        border-bottom: 1px solid #B7B7B7;
    }

.grid-body {
    height: 500px;
    overflow-y: auto;
}

    .grid-body .row {
        padding: 8px 0;
        border-bottom: 1px solid #B7B7B7;
    }

.hdc-kendo-lable {
    display: flex;
    padding: 0px 8px 0px 0px;
    margin: 0;
}

    .hdc-kendo-lable.top {
        justify-content: left;
        align-items: start;
    }

    .hdc-kendo-lable.midle {
        justify-content: left;
        align-items: center;
    }

.hdc-kendo-switchbox.k-switch {
    margin-top: -0.25rem;
    width: 30px;
    height: 16px;
}

    .hdc-kendo-switchbox.k-switch .k-switch-track {
        width: 30px;
        height: 16px;
    }

    .hdc-kendo-switchbox.k-switch .k-switch-thumb {
        width: 10px;
        height: 10px;
    }

    .hdc-kendo-switchbox.k-switch.k-switch-off .k-switch-thumb-wrap {
        left: calc( 5px + 3px);
    }

.hdc-kendo-switchbox.k-switch-on .k-switch-thumb-wrap {
    left: calc( 100% - 5px - 3px);
}

.hdc-kendo-textbox,
.hdc-kendo-textarea,
.hdc-kendo-numericbox,
.hdc-kendo-combobox,
.hdc-kendo-datepicker {
    font-family: var(--bs-body-font-family);
    font-size: 0.85rem;
    font-weight: normal;
}

