﻿body {
    font-family: "MyriadRegular",sans-serif !important;
}

.ck-editor {
    font-family: "Open Sans",sans-serif;
    color: black;
}

.table {
    color: #333 !important;
}

.nowrap {
    white-space: nowrap;
}

.card-header {
    overflow-y: hidden;
    overflow-x: auto;
}

.font-times {
    font-family: "Times New Roman";
    font-style: normal;
}

.page-header {
    padding-bottom: 10px !important;
    margin-bottom: 10px !important;
}

.btn-group > .btn-group:not(:last-child) > .btn, .btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important
}

#keyword {
    min-width: 150px;
}

.toast-success {
    background-color: #51a351 !important;
}

.toast-error {
    background-color: #bd362f !important;
}

.toast-info {
    background-color: #2f96b4 !important;
}

.toast-warning {
    background-color: #f89406 !important;
}

.dropdown-menu a {
    cursor: pointer !important;
}

.action .dropup button {
    border-top-right-radius: .25em !important;
    border-bottom-right-radius: .25em !important;
}

.badge {
    font-size: 0.875rem !important;
    font-weight: normal !important;
}

.table .white-space {
    white-space: pre-wrap
}

.table-column-pr-0 {
    width: 40px;
}

.tio-upload-image {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
}

.tio-upload-pdf {
    z-index: 10;
    position: absolute;
    right: 120px;
    top: 15px;
    cursor: pointer;
}

.custom-file-boxed-upload {
    padding: 10px 20px !important;
}

.ck-editor__editable {
    min-height: 200px;
}
/*Treeview----------------------------------------------*/
.treeview, .treeview ul {
    padding: 5px;
    margin: 0;
    list-style: none;
}

    .treeview .hitarea {
        background: url(/Content/img/treeview/treeview-default.gif) -66px -24px no-repeat;
        height: 16px;
        width: 16px;
        margin-left: -16px;
        float: left;
        cursor: pointer;
    }

    .treeview li {
        margin: 0;
        padding: 3px 0pt 3px 16px;
        background: url(/Content/img/treeview/treeview-default-line.gif) 0 -1px no-repeat;
    }

        .treeview li.collapsable, .treeview li.expandable {
            background-position: 0 -176px;
        }

        .treeview li.lastCollapsable, .treeview li.lastExpandable {
            background-image: url(/Content/img/treeview/treeview-default.gif);
        }

        .treeview li.lastCollapsable {
            background-position: 0 -111px;
        }

        .treeview li.lastExpandable {
            background-position: -32px -67px;
        }

        .treeview li.select {
            color: #007ebb;
        }

    .treeview > li span.folder:before {
        font-size: 20px;
        float: left;
        padding-right: 5px;
        position: relative;
        top: 0;
    }

.collapsable > span.folder:before {
    content: "\eaa6";
    font-size: 20px;
    float: left;
    padding-right: 5px;
    position: relative;
    top: 0px;
}

.treeview > li span.file:before {
    font-size: 20px;
    padding-right: 5px;
    float: left;
    top: 0;
}

.treeview > li.collapsable > span.file:before {
    font-size: 20px;
    padding-right: 5px;
    float: left;
    top: 0;
}

.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea {
    background-position: 0;
}

.treeview .hover {
    color: #007ebb;
    cursor: pointer;
}

.treeview .expandable-hitarea {
    background-position: -82px -2px;
}

.treeview .treeview li.last {
    background-position: 0 -1766px;
}

.treeview input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    margin-left: 4px;
    position: relative;
    top: 0;
    margin-top: 0;
}

#treecontrol {
    margin: 1em 0;
    display: none;
}

.filetree li {
    padding: 0px 0 0px 18px;
}

    .filetree li span {
        width: 100%;
    }

.filetree span.folder, .filetree span.file {
    padding: 0px 0 0px 0px;
    display: inline-block;
    clear: both;
}

li.select > span > div.quickTool {
    display: block;
    position: relative;
    top: 3px;
}

    li.select > span > div.quickTool i {
        font-size: 15px;
    }

li.select > span > a {
    background-color: #C6E8FF;
}

li.unselect > span > div.quickTool {
    display: none;
}

li span a {
    float: none;
}

.filetree li span a.tool, .filetree li span a:link, .filetree li span a:visited {
    padding-top: 5px;
    display: block;
    color: #004C80;
    font-family: Arial;
    font-size: 14px;
    display: block;
    float: left;
}

.filetree li span a {
    color: #0F69A4;
    font-family: Arial;
    text-decoration: none;
}

.filetree li span i {
    float: left;
    margin: 0px 5px;
}

.treeTool {
    display: inline-block !important;
    clear: both;
    padding: 5px;
    margin: 0px !important;
}

    .treeTool a, .treeTool a:link, .treeTool a:visited {
        display: block;
        float: left;
        padding: 5px 15px;
        color: #333;
        text-decoration: none;
    }

        .treeTool a:hover {
            color: Red;
        }

        .treeTool a.expand {
            background: url(/Content/img/treeview/minus.gif) 0px 12px no-repeat;
        }

        .treeTool a.collapse {
            background: url(/Content/img/treeview/plus.gif) 0px 12px no-repeat;
        }

li.select > span > div.quickTool {
    top: 1px;
}

.quickTool a {
    display: block;
    float: left;
    padding: 0px;
    margin-left: 5px;
}

    .quickTool a.btn-success {
        background-color: transparent;
        border: none;
    }

        .quickTool a.btn-success i {
            color: orange;
        }

    .quickTool a.btn-danger {
        background-color: transparent;
        border: none;
    }

        .quickTool a.btn-danger i {
            color: red;
        }
/*modal*/
.modal {
    z-index: 1021 !important
}

.modal-dialog {
    margin-top: 5px !important;
}

.modal-backdrop:first-child {
    z-index: 110;
}

.modal-backdrop:last-child {
    z-index: 130;
}

.sticky-top {
    z-index: 100 !important;
}
/*image*/
.product-image {
    background-size: 100% !important;
    width: 60px;
    height: 60px;
}

.daterangepicker td.active.start-date.end-date {
    border-top-right-radius: 6.1875rem !important;
    border-bottom-right-radius: 6.1875rem !important;
    border-top-left-radius: 6.1875rem !important;
    border-bottom-left-radius: 6.1875rem !important;
}

.daterangepicker .yearselect, .daterangepicker .monthselect {
    border: 1px solid #ddd;
    margin-right: 5px;
    color: #677788;
    padding: 5px !important;
}

.daterangepicker {
    z-index: 9999 !important;
}

.action .btn-xs {
    padding: .3rem 0.3rem !important;
    margin-top: 3px;
}

.col-form-label.input-label {
    font-weight: 600
}

.form-group {
    margin-bottom: 0.8rem !important;
}

.progress-uploading {
    background: #d6d6d6;
    display: block;
    height: calc(1.6em + 1.21875rem);
    text-align: center;
    transition: width .3s;
    width: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 98;
    border-radius: .3125rem;
    opacity: 0.5;
}

.card table td, .card table th {
    padding: 10px 5px 10px 5px !important;
    vertical-align: inherit;
}

.card table th {
    font-weight: 600 !important;
}

.page-header .nav-tabs .nav-link {
    padding: 0px 1rem !important;
}

.page-header .nav-link.active {
    margin-bottom: 22px !important;
}

.container-fluid .nav-tabs .nav-link {
    padding: 5px 8px !important;
}

.select2-container, form .align-items-center button {
    /*padding-right: 5px;*/
    white-space: nowrap
}

.ck-editor__main {
    max-height: 500px !important;
    overflow: auto !important;
    border-bottom: 1px solid var(--ck-color-base-border) !important;
}

.customlib {
    padding-top: 12px;
}
/*custom table scroll*/
.scrollable-wrapper {
    overflow-x: auto;
    position: relative;
}

.scrollable-tbody {
    overflow-x: auto;
    white-space: nowrap;
}

.scrollable-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    z-index: 1;
    pointer-events: none;
}

.scrollable-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    z-index: 1;
    pointer-events: none;
}

.navbar-brand-wrapper {
    overflow-y: hidden;
}

.background-header {
    background-color: #E7EAF3 !important;
}

.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    margin-bottom: 0rem;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 2.2px;
        bottom: 2.4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #377dff;
}

input:focus + .slider {
    box-shadow: 0 0 1px #377dff;
}

input:checked + .slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
}

.slider.round {
    border-radius: 20px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.input-group-custom {
    width: calc(100% - 20px);
    margin: 0 10px;
}

    .input-group-custom .form-control {
        flex: 2;
    }

    .input-group-custom .btn {
        flex: 1;
    }

.non-max-width {
    max-width: none !important;
}

.btn-green {
    color: #fff;
    background-color: #3AA047;
    border-color: #3AA047
}

    .btn-green.focus,
    .btn-green:focus {
        color: #fff;
        background-color: #006600;
        border-color: #006600
    }

    .btn-green:hover {
        color: #fff;
        background-color: #006600;
        border-color: #006600
    }

    .btn-green.active,
    .btn-green:active,
    .open > .dropdown-toggle.btn-green {
        color: #fff;
        background-color: #006600;
        border-color: #006600
    }

        .btn-green.active.focus,
        .btn-green.active:focus,
        .btn-green.active:hover,
        .btn-green:active.focus,
        .btn-green:active:focus,
        .btn-green:active:hover,
        .open > .dropdown-toggle.btn-green.focus,
        .open > .dropdown-toggle.btn-green:focus,
        .open > .dropdown-toggle.btn-green:hover {
            color: #fff;
            background-color: #006600;
            border-color: #006600
        }

    .btn-green.active,
    .btn-green:active,
    .open > .dropdown-toggle.btn-green {
        background-image: none
    }

    .btn-green.disabled.focus,
    .btn-green.disabled:focus,
    .btn-green.disabled:hover,
    .btn-green[disabled].focus,
    .btn-green[disabled]:focus,
    .btn-green[disabled]:hover,
    fieldset[disabled] .btn-green.focus,
    fieldset[disabled] .btn-green:focus,
    fieldset[disabled] .btn-green:hover {
        background-color: #006600;
        border-color: #006600
    }

    .btn-green .badge {
        color: #006600;
        background-color: #fff
    }

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 70, 22, 0.5);
    z-index: 2;
}

.white-color {
    color: white !important;
}
