﻿/*Scroll bar*/
#scr {
    border: none;
    padding: 5px;
    /*font: 24px/36px sans-serif;*/
    overflow: scroll;
}

::-webkit-scrollbar {
    width: 5px;
    height: 0px;
}

::-webkit-scrollbar-track {
    border: 1px solid #8760fb;
    border-radius: 10px;
}

/*::-webkit-scrollbar-thumb:hover {
    background: #8760fb;
}*/

.btn {
    border-radius: 5px !important;
    color: #fff !important;
    font-weight: bold !important;
}

.btn-group-justified {
    color: #405189 !important;
}

.btn-primary {
    background: #8760fb !important;
    color: #fff !important;
}

#TemplateId {
    padding: 0px !important;
    font-size: 20px !important;
    color: #5b0404 !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 5px !important;
    font-size: 20px !important;
    color: #5b0404 !important;
}
/*.select2-container--default .select2-selection--single {
    border: 1px solid #aaa;
    border-radius: 4px;
}*/
/*.custom-select-style {
    padding: 0px !important;
    font-size: 20px !important;
    color: #5b0404 !important;
}*/
.btn-info {
    background-color: #48a6ee !important
}

.btn-secondary {
    background-color: #405189 !important;
}

.btn-outline-secondary {
    color: #000 !important;
}

.btn-outline-dark {
    color: #000 !important;
}

.text-white {
    color: #fff !important;
}

.border-radius-10 {
    border-radius: 10px !important;
}

.btn-group-justified {
    display: table;
    width: 100%;
    border-collapse: separate;
    table-layout: fixed;
    color: #fff !important;
}

    .btn-group-justified .btn {
        display: table-cell;
        float: none;
        width: 1%;
    }

.btn-default {
    color: #333333;
    background-color: #ffffff;
    border-color: #cccccc;
}

.note-btn {
    color: #333333 !important;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
    color: #333333;
    background-color: #ebebeb;
    border-color: #adadad;
}

.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
    background-image: none;
}

.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
    background-color: #ffffff;
    border-color: #cccccc;
}
/* vietnamese */
@font-face {
    font-family: 'Crimson Pro';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/crimsonpro/v17/q5uUsoa5M_tv7IihmnkabC5XiXCAlXGks1WZzm1MMJs-ZNU.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
    font-family: 'Crimson Pro';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/crimsonpro/v17/q5uUsoa5M_tv7IihmnkabC5XiXCAlXGks1WZzm1MMZs-ZNU.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

body {
    font-size: 15px;
}

.setting a {
    color: white;
    font: bold 16px arial,verdana;
}

#tree ul {
    list-style: none;
}

#tree a {
    color: black;
}

.setting a {
    color: white;
    font: bold 16px arial,verdana;
}

/*Start Tree*/
/*Remove connectors before root*/
.tree > ul > li::before, .tree > ul > li::after {
    border: 0;
}
/*Remove connectors after last child*/
.tree li:last-child::before {
    height: 0;
}

.tree:before {
    border-right: 1px dotted black;
    display: block;
    content: "";
    bottom: 35px;
    right: 23px;
    top: 20px;
    position: absolute;
    width: 1px;
    z-index: 1;
}

.tree ul:after {
    border-top: 1px double black;
    content: "";
    display: block;
    height: 20px;
    left: 0px;
    right: 32px;
    top: 14px;
    position: absolute;
    width: 10px;
    z-index: 1;
}

li:before, li:after {
    box-sizing: border-box;
}

.tree li {
    list-style-type: none;
    position: relative;
}

    .tree li span:hover {
        background-color: #ccc;
    }

    .tree li::before {
        content: '';
        position: absolute;
        top: 20px;
        width: 1px;
        height: 100%;
        right: -17px;
        left: auto;
        border-right: 1px dotted black;
        bottom: -50px;
    }

    .tree li ul:after {
        top: 48px;
        right: 32px;
    }

    .tree li a {
        display: inline-block;
        padding: 5px 45px;
        text-decoration: dotted;
        color: #666 !important;
        font-family: Cairo,sans-serif;
        font-size: 10px;
        font-weight: 400;
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
    }

#Leave {
    margin-left: 10px;
    margin-right: -17px;
    font-size: 18px;
}

.fa-file {
    color: #ffb822 !important;
}

.tox-silver-sink {
    display: none !important;
}

.tree {
    overflow: auto;
    padding-right: 0px;
    position: relative;
    font-size: 18px;
    font-family: Cairo, Times, serif
}

li span {
    margin: 0px 10px 0px 10px;
}

.tree a i {
    margin-right: -35px;
    color: black;
    font-size: 18px;
}

.tree #folderOpen {
    margin-right: 0px;
    color: cornflowerblue !important;
}

.tree ul li ul #folderOpen {
    color: forestgreen !important;
}

.tree li a span {
    font-size: 12px;
    font-family: Cairo;
    margin-right: -8px;
}
/*End Tree*/
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 800px !important;
        margin: 1.75rem auto;
    }
}

.bd-dashed {
    padding: 15px;
    border-width: 2px;
    border-color: #405189;
    margin: 5px;
}

.display_image {
    width: 100%;
    height: 177px;
    border: 1px solid black;
    background-position: center;
    background-size: cover;
}


/*Nav button style tarik */

.nav-tabs .nav-link {
    /*background-color: #0080FF !important;*/
    /*color: #000 !important;
    font-weight: bold;
    font-size: 16px;*/
    width: 16%;
    margin-left: 3px;
    background: transparent linear-gradient(180deg, #E4E4E4 0%, #FFFFFF 100%) 0% 0% no-repeat padding-box;
    box-shadow: 0px -5px 6px #00000029;
    border-radius: 23px 23px 0px 0px;
    text-align: center;
}

    /*.nav-tabs .nav-link.active {*/
    /*background: #03c895 !important;*/
    /*color: #806FD5 !important;
        font-weight: bold;
        border-bottom: 2px solid #fa9116;
    }*/
    .nav-tabs .nav-link.active {
        color: #806FD5 !important;
        font-weight: bold;
        position: relative; /* Needed for positioning the border-padding element */
    }

        .nav-tabs .nav-link.active .border-padding {
            position: absolute;
            bottom: -2px; /* Adjust this value to control the border thickness */
            left: 20px; /* Adjust this value for left padding */
            right: 20px; /* Adjust this value for right padding */
            height: 2px; /* Adjust this value to match the border thickness */
            background-color: #fa9116;
        }

::-webkit-scrollbar-thumb {
    background: #707070;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #707070;
        opacity: .6;
    }

.nav-tabs2 .nav-link {
    /*background-color: #0080FF !important;*/
    color: #000 !important;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

    .nav-tabs2 .nav-link.active {
        background: #03c895 !important;
        color: #fff !important;
        font-weight: bold;
    }

.modal-content-custom {
    height: 90vh !important;
    overflow-y: scroll;
}

.modal-content-custom2 {
    height: 90vh !important;
    overflow-y: scroll;
    width: 90%
}

.modal-content-custom-test {
    width: 1000px !important;
}

.table-responsive-custom {
    height: 53vh !important;
}

.table-responsive-custom2 {
    height: 48vh !important;
}

.table-responsive-custom3 {
    height: 45vh !important;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}
/*Nav button style tarik */
.note-icon-caret {
    color: #333333 !important;
}

.note-btn {
    padding: 15px !important;
    margin: 5px;
}

.note-popover {
    display: none;
}

textarea {
    width: 100%;
}

.note-toolbar-wrapper {
    height: auto !important;
}

.side-menu .nav-sub {
    overflow: scroll;
    height: 200px;
}

li a:hover {
    cursor: pointer;
}


/*image preview*/
.containers .imageWrapper {
    border: 3px solid #888;
    width: 70%;
    padding-bottom: 70%;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

    .containers .imageWrapper img {
        height: 105%;
        width: initial;
        max-height: 100%;
        max-width: initial;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.file-upload, .file-upload2 {
    position: relative;
    overflow: hidden;
    margin: 10px;
}

.file-upload, .file-upload2 {
    position: relative;
    overflow: hidden;
    margin: 10px;
    width: 100%;
    max-width: 150px;
    text-align: center;
    color: #fff;
    font-size: 1.2em;
    background: #19b394;
    border: 2px solid #888;
    padding: 0.85em 1em;
    display: inline;
    -ms-transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    border-radius: 10px;
}

    .file-upload:hover, .file-upload2:hover {
        background: #999;
        -webkit-box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.75);
        -moz-box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.75);
        box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.75);
    }

    .file-upload input.file-input {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
        padding: 0;
        font-size: 20px;
        cursor: pointer;
        opacity: 0;
        filter: alpha(opacity=0);
        height: 100%;
    }
/*image preview*/
.cazary {
    border-radius: 5px !important;
}

.cazary-commands-wrapper {
    padding: 5px 10px 20px 10px !important;
    border: 1px solid #BFBFBF !important;
    background-color: #ede9fe !important;
    box-shadow: 10px 10px 5px #e7e2fe !important;
}
