﻿html, body {
    font-family: Roboto, Helvetica, Arial, sans-serif;
    background-color: #f1f8fd;
}

.bg-st-picked {
    --vz-bg-opacity: 0.5;
    background-color: #80008066 !important;
    color: white;
}

.bg-st-orange {
    --vz-bg-opacity: 0.5;
    background-color: #dd8600 !important;
    color: white;
}

.bg-st-darkblue {
    --vz-bg-opacity: 1;
    background-color: #3c5de9 !important;
    color: white;
}

.bg-st-darkred {
    --vz-bg-opacity: 1;
    background-color: #990022 !important;
    color: white;
}


/*---- Loading spinner -----------------------------------------------------------------------*/
.lds-ring {
    /* change color here */
    color: #ffffff;
}

    .lds-ring,
    .lds-ring div {
        box-sizing: border-box;
    }

.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ring div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 64px;
        height: 64px;
        margin: 8px;
        border: 8px solid currentColor;
        border-radius: 50%;
        animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: currentColor transparent transparent transparent;
    }

        .lds-ring div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .lds-ring div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .lds-ring div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
.tks-loading {
    position: fixed;
    left: 0px;
    top: 0px;
    height: 100vh;
    width: 100%;
    margin-top: 0px;

    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(10, 10, 10, .68);

    z-index: 99999;
}

/*---------------------------------------------------------------------------*/
.tks-login {
    background-image: url(../FileManagement/Config/bg_login.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

/*    animation: change_bg 120s ease-in 0.5s infinite;*/
}

@keyframes change_bg {
    0% {
        background-image: url(../FileManagement/Config/bg_login_4.webp);
    }

    30% {
        background-image: url(../FileManagement/Config/bg_login_5.webp);
    }

    60% {
        background-image: url(../FileManagement/Config/bg_login_2.webp);
    }

    90% {
        background-image: url(../FileManagement/Config/bg_login_3.webp);
    }

    100% {
        background-image: url(../FileManagement/Config/bg_login_4.webp);
    }
}

.tks-login .icon-login {
    position: absolute;
    z-index: 9;
    left: 10px;
}

    .tks-login input {
        border: var(--bs-border-width) solid var(--bs-border-color) !important;
        padding-left: 35px;
        border-top-left-radius: var(--bs-border-radius) !important;
        border-bottom-left-radius: var(--bs-border-radius) !important;
        font-size: 0.8em;
    }

.tks-login input::placeholder {
    opacity: 0.2;
    color: black;
}

.tks-login .card {
    box-shadow: 0px 3px 23px 5px rgb(240 240 240 / 68%);
    border: unset;
}

/*---------------------------------------------------------------------------*/
.tks-bg {
    position: fixed;
    left: 0px;
    top: 0px;
    height: 100vh;
    width: 100%;
    margin-top: 0px;
/*    background-image: linear-gradient(to top, rgb(255 255 255 / 50%), rgb(241 248 253)), url(../FileManagement/Config/bg_login_4.webp);*/
    background-repeat: no-repeat;
    background-position: 50% -50px;
    background-size: cover;
    z-index: 0;
}
.tks-bg-1 {
    position: fixed;
    top: -45px;
    left: -86px;
    width: 140vw;
    height: 175px;
    background-color: var(--tks-bg-color-1);
    color: #ffffff;
    border-radius: 50%;
/*    z-index: 1;*/
    box-shadow: 0px 3px 10px 0px rgb(208 210 212 / 39%);
}
.tks-body {
    padding-bottom: 80px;
    position: relative;
    /*    z-index: 2;*/
}

/*---------------------------------------------------------------------------*/
.tks-button-login {
    background-color: var(--tks-bg-btn-color-1);
    color: white;
    box-shadow: 0px 3px 23px 0px rgba(0, 71, 240, 0.139);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
    .tks-button-login:hover {
        background-color: var(--tks-bg-color-1);
        color: white;
        box-shadow: 0px 3px 23px 0px rgba(0, 71, 240, 0.339);
        border-radius: 8px;
    }
/*---------------------*/
.tks-button-scan,
.tks-button-normal {
    font-size: 0.8em;
    background-color: var(--tks-bg-btn-color-1);
    color: white;
    box-shadow: 0px 3px 23px 0px rgba(0, 71, 240, 0.139);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
.tks-button-scan:hover,
.tks-button-normal:hover {
    background-color: var(--tks-bg-color-1);
    color: white;
    box-shadow: 0px 3px 23px 0px rgba(0, 71, 240, 0.339);
    border-radius: 8px;
}

/*---------------------*/
.tks-button {
    /*    background-color: var(--tks-bg-color-1);*/
    color: var(--tks-bg-btn-color-2);
    /*    box-shadow: 0px 3px 23px 0px rgba(0, 71, 240, 0.139);*/
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    padding: 10px 3px 8px 3px;
    margin: 0 10px;
    position: relative;
    text-align: center;
}
    .tks-button .title{
        font-size: 0.48em;
        margin-top: 2px;
    }

    .tks-button:hover {
/*        box-shadow: 0px 3px 23px 0px rgba(0, 71, 240, 0.339);*/
        color: var(--tks-bg-btn-color-1);
        cursor: pointer;
/*        background-color: #1b348e;*/
        border-radius: 0px;
    }

    .tks-button.active {
        opacity: 1;
        color: var(--tks-bg-btn-color-1);
    }

    .tks-button.disable {
        color: #dedede !important;
        cursor: not-allowed;
    }

    .noti-red {
        background-color: #ff0000;
        width: 8px;
        height: 8px;
        position: absolute;
        top: 10px;
        right: 8px;
        border-radius: 10px;
        box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 68%);
    }

        .noti-red.has-number {
            width: auto;
            min-width: 15px;
            height: 15px;
            font-size: 0.5em;
            color: white;
            font-weight: bold;
            padding: 0 2px;
        }

        input[type="file"].tks-button-normal::-webkit-file-upload-button {
            visibility: hidden;
        }

/*---------------------------------------------------------------------------*/
.tks-header {
    background-color: var(--tks-bg-color-1);
    color: #ffffff;
    font-size: 1.2em;
    padding: 10px;
    position: fixed;
    top: 0;
    z-index: 9999;
    width: 100%;
}
.tks-header-blank {
    padding-top: 50px;
    height: 0px;
}

.do {
    font-size: 0.9em;
    box-shadow: 0px 3px 10px 0px rgb(208 210 212 / 39%);
}

.tks-box, .do {
    background-color: #ffffff;
    margin: 5px;
    padding: 10px 10px;
    border-radius: 5px;
}
    .tks-box.style-1 {
        display: flex;
        flex-direction: column;
    }
    .tks-box.style-2 {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .tks-box.style-3 {
        padding: 1px;
        font-size: 0.8em;
        margin-bottom: 75px;
    }
    .tks-box.style-4 {
        display: flex;        
        background-color: unset;
    }
    .tks-box.style-5 {
/*        flex-grow: 1;
        background-color: #daeeff;
        box-shadow: 0px 3px 10px 0px rgb(208 210 212 / 39%);
        padding-bottom: 5px;*/

        background-color: #daeeff;
        box-shadow: 0px 3px 10px 0px rgb(208 210 212 / 39%);
        padding-bottom: 5px;
        flex: 0 1 calc(33.33% - 10px);
        margin: 5px;
    }
    .tks-box.style-6 {
        display: flex;
        flex-direction: column;
        background-color: #fff;
        margin: 0px;
        box-shadow: 0px 3px 10px 0px rgb(208 210 212 / 39%);
    }
    .tks-box.style-7 {
        display: flex;
        flex-direction: column;
        background-color: #fff;
        margin: 20px 35px;
        padding: 5px 20px;
        box-shadow: 0px 3px 10px 0px rgb(208 210 212 / 39%);
    }

    .tks-box .notice {
        color: #ffffff;
        background-color: #e89438;
        padding: 2px 5px;
        border-radius: 5px;
    }
    .tks-box .btn.btn-primary {
        font-size: 0.68em;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        background-color: var(--tks-bg-color-1);
        width: 100%;
        height: 100%;        
    }
    .tks-box .btn i,
    .tks-box .btn svg {
        width: 33px;
        height: 39px;
        margin-top: 5px;
        margin-bottom: 5px;
        font-size: 3em;
    }

    .tks-box .btn.btn-primary:hover {
        box-shadow: 0px 3px 23px 0px rgba(0, 71, 240, 0.339);
    }

    .tks-box .btn.btn-primary.btn-1 {
        font-size: 1em;
        width: auto;
        min-height: auto;
    }

.notice-wrapper {
    font-size: 0.9em;
}

.title-hp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.86em;
}
    .title-hp i {
        color: var(--tks-color-1);
    }

.des-hp {
    display: flex;
    align-items: baseline;
    font-size: 1.2em;
    color: var(--tks-color-1);
}
.des-hp-1 {
    display: flex;
    align-items: baseline;
    font-size: 0.86em;
}

.tab-hp {
    width: 80px;
    text-align: right;
}

.tks-footer {
    position: fixed;
    bottom: 0px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

    .tks-footer .tks-main-menu {
        box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 20%);
        background-color: #ffffff;
        color: var(--tks-bg-color-1);
        font-size: 20px;
        display: flex;
        flex-grow: 1;
        justify-content: space-evenly;
        padding: 0 0px;
    }

.tks-body-list{
    margin-bottom: 75px;
}

.do-row {
    display: flex;
    line-height: 1em;
    margin: 5px 0px;
}
    .do-row .title {
        width: 100px;
        flex-shrink: 0;
    }
    .do-row .des {
        flex-grow: 1;
    }
    .do-row .des-long {
        font-size: 0.9em;
        line-height: 1.39em;
    }
.separate,
.do .separate {
    border-bottom: #e5e5e5 1px dashed;
}


.mdo .do-row {
    margin: 6px 0px;
}

.badge {
    font-weight: bold !important;
    font-size: 10px !important;
}

.bg-success {
    background-color: #439b38 !important;
}

.do .do-color-1 {
    color: var(--tks-do-color-1);
}
.do .do-color-2 {
    color: var(--tks-do-color-2);
}
.do .do-color-3 {
    color: var(--tks-do-color-3);
}
/*---------------------*/
.tks-scan-icon {
    width: 20px !important;
    height: 20px !important;
    font-size: 1.5em !important;
    margin: 0px !important;
}
    .tks-scan-icon::before {
        vertical-align: initial;
    }

.tks-video-scan {
    height: 150px;
    width: auto;
    max-width: 150px;
    border: 1px solid red;
}
/*---------------------*/
.tks-button-mm {
    background-color: unset !important;    
    font-size: 0.6em !important;
    border: none;
}
    .tks-button-mm i,
    .tks-button-mm svg {
        font-size: 2.5em !important;
        height: 33px !important;
        color: var(--tks-bg-btn-color-1);
    }
    .tks-button-mm .title {
        margin-bottom: 5px;
        color: #000000;
    }

    .tks-button-mm:hover {
        box-shadow: none !important;
    }
    /*---------------------------------------------------------------------------*/
    /* custom checkbox show/hide map */
    .check-container {
        position: absolute;
        right: 14px;
        top: 10px;
        cursor: pointer;
        /* font-size: 22px; */
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        margin-bottom: 0px;
        z-index: 99;
    }

    /* Hide the browser's default checkbox */
    .check-container input {
        position: relative;
        opacity: 1;
        cursor: pointer;
        height: 25px;
        width: 25px;
    }

.check-container-1 {    
    cursor: pointer;
    /* font-size: 22px; */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-bottom: 0px;
    margin-right: 10px;
    z-index: 99;
}

    /* Hide the browser's default checkbox */
    .check-container-1 input {
        position: relative;
        opacity: 1;
        cursor: pointer;
        height: 25px;
        width: 25px;
    }
/*---------------------------------------------------------------------------*/
.tks-table{
    border-collapse: separate;
    border-spacing: 0;
    width:100%;
}
.tks-table td {
    padding: 5px 8px;
}
    .tks-table tr:first-child td {
        border-top: solid 2px #000;
        border-bottom: solid 2px #000;
        font-weight: bold;
    }
    .tks-table tr:first-child td:first-child {
        border-left: solid 2px #000;
        border-top-left-radius: 6px;
        border-bottom-left-radius: 6px;
    }
    .tks-table tr:first-child td:last-child {
        border-right: solid 2px #000;
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
    }
    .tks-table tr:not(:first-child):not(:last-child) td {
        border-bottom: dashed 1px #e5e5e5;
    }
/*---------------------------------------------------------------------------*/
.tks-icon-delete {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 35px;
    height: 35px;
    background-color: #ffffffd4;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    box-shadow: 0px 3px 23px 0px rgba(0, 71, 240, 0.239);
}
.tks-icon-delete:hover {
    cursor: pointer;
}
.tks-prj-name {
    font-size: 25px;
    font-weight: bold;
    color: var(--tks-bg-btn-color-1);
}
.tks-version {
    font-size: 12px;
    color: #797979;
}
.tks-avatar-1,
.tks-avatar {
    background-image: url('../FileManagement/Config/avatar/bg_avatar.png');
    /* make a square container */
    width: 45px;
    height: 45px;
    /* fill the container, preserving aspect ratio, and cropping to fit */
    background-size: cover;
    /* center the image vertically and horizontally */
    background-position: top center;
    /* round the edges to a circle with border radius 1/2 container size */
    border-radius: 50%;
    border: #fff 2px solid;
    box-shadow: 0px 3px 23px 0px rgba(0, 71, 240, 0.139);
}
.tks-avatar-1 {    
    width: 90px;
    height: 90px;
    position:relative;
}
.tks-avatar-1-edit {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 30px;
    height: 30px;
    background-color: #f2f8fd;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 3px 23px 0px rgba(0, 71, 240, 0.139);
    cursor: pointer;
    font-size: 0.8em;
    border: #ffffff 1px solid;
}
.tks-avatar-item {        
    flex: 0 1 calc(25% - 10px);
    box-sizing: border-box;
}
    .tks-avatar-item.active {
        border: #5a89ff 4px solid;
    }
    .tks-avatar-item img {
        object-fit: cover;
        width: 100%;
        height: auto;
    }

.tks-user-name {
    margin-left: 10px;
    color: #ffffff;
}
/*---------------------------------------------------------------------------*/
.dot-start {
    border: 2px solid #f5c012;
    width: 12px;
    height: 12px;
    border-radius: 12px;
    background-color: #ff9700;
    margin-right: 5px;
}
.dot-line {
    border: 1px solid #e2e2e2;
    height: 10px;
    margin-left: 5px;
    margin-top: 3px;
    margin-bottom: 4px;
}
.dot-end {
    border: 2px solid #c3c3c3;
    width: 12px;
    height: 12px;
    border-radius: 12px;
    margin-right: 5px;
    margin-top: 0px;
}
.dot-content {
    flex: 1;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100px;
    line-height: 1rem;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    font-size: 0.9em;
}

.scrollable {
    overflow: scroll;
    -ms-overflow-style: none; /* IE và Edge */
    scrollbar-width: none; /* Firefox */
}

    .scrollable::-webkit-scrollbar {
        display: none; /* Chrome, Safari và các trình duyệt dùng WebKit */
    }

/*---------------------------------------------------------------------------*/
.tks-tab ul {
    padding-bottom: 0px !important;
    border: unset;
}

.tks-tab .nav-tabs li {
    margin-right: 5px;
}

.tks-tab .nav-tabs .nav-link,
.tks-tab .nav-tabs .nav-link:hover {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: 2px;
    border-color: #d8d8d8;
}

    .tks-tab .nav-tabs .nav-link:hover {
        background-color: #eaeaea;
    }

    .tks-tab .nav-tabs .nav-link.active {
        border: unset;
        height: 100%;
        background-color: var(--tks-bg-btn-color-1);
        color: #ffffff;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        margin-bottom: 0px;
    }

.tks-tab ul.nav-tabs li a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 20px;
}

    .tks-tab ul.nav-tabs li a span {
        margin-left: .25rem !important;
    }

input.ph-custom::placeholder {
    font-size: 0.8em;
    color: #bbbbbb;
}

.tks-scan-qrcode {
    position: absolute;
    right: 7px;
    top: 2px;
}

.tks-modal {
    z-index: 99999;
    display: block;
    padding-left: 0px;
    background-color: rgba(10, 10, 10, .8);
}

.ellipsis-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Số dòng tối đa */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*------ Telerik Custom -----------------------------------------------------*/
.k-pager-wrap {
    padding: 1px 1px !important;
}

.k-input:focus, .k-input.k-focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.k-input {
    height: 35px;
}
/*---------------------------------------------------------------------------*/
.carousel-indicators button.thumbnail {
    width: 100px;
}
    .carousel-indicators button.thumbnail:not(.active) {
        opacity: 0.7;
    }
.carousel-indicators {
    position: static;
    height: 60px;
    overflow: hidden;
}

@media screen and (min-width: 992px) {
    .carousel {
        max-width: 70%;
        margin: 0 auto;
    }
}

.bg-trip {
    box-shadow: 0px 3px 10px 0px rgb(0 89 187 / 17%);
}

/* Chỉ áp dụng nếu trình duyệt hỗ trợ safe-area (chủ yếu là iPhone có tai thỏ) */
@supports (padding: env(safe-area-inset-top)) {
    .safe-area-container {
        padding-top: calc(env(safe-area-inset-top));
    }

    .tks-header {
        padding-top: calc(10px + env(safe-area-inset-top));
    }
}

/*---------------------------------------------------------------------------*/
:root {
    --tks-bg-color-1: #0059bb;
    --tks-bg-btn-color-1: #4388ff;
    --tks-bg-btn-color-2: #909090;
    --tks-color-1: #0055ff;
    --tks-do-color-1: #868686;
    --tks-do-color-2: #0049ff;
    --tks-do-color-3: #f19614;
}