﻿body, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: Arial,Helvetica,sans-serif;
}

.main-header .sidebar-toggle:before {
    content: none;
}

.navbar-nav > .tasks-menu > .dropdown-menu {
    width: auto;
}

    .navbar-nav > .tasks-menu > .dropdown-menu > li .menu {
        margin: 0px 2px;
    }

        .navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a {
            color: #2f3640;
        }

.treeview-menu > li > a {
    padding: 10px 5px 10px 15px;
    white-space: normal;
}

.dropdown-menu {
    padding: 5px;
}

    .dropdown-menu > li > a:hover {
        background: #f5f5f5;
        border-radius: 3px;
    }

.task-menu > li > a {
    padding: 6px 10px;
    font-size: 12px;
}

.dropdown-menu > li > a > .fa {
    margin-right: 0;
    white-space: normal;
}

.panel-per {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #eee;
}

.sidebar-menu > li > a > .fa, .sidebar-menu > li > a > .glyphicon, .sidebar-menu > li > a > .ion {
    font-size: 12px;
}

.box-title > i, .header i {
    font-size: 16px;
    margin-right: 5px;
}

li.root {
    position: relative;
    display: block;
    padding: 10px 15px;
    font-weight: bold;
}

.control-head {
    margin-bottom: 10px
}

.treeNode {
    white-space: inherit !important;
}

.login-box-body, .register-box-body {
    box-shadow: 0 8px 24px rgba(21,48,142,0.14);
    /*border-top: 3px solid #3c8dbc;
    border-radius: 3px;*/
}

.Description img {
    display: block;
    max-width: 100%;
    height: auto !important;
}

.form-horizontal .control-label {
    text-align: left;
}

.nav-tabs-custom > .nav-tabs > li.header {
    font-size: 18px;
}

table.portal {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    border: none;
}

    table.portal td {
        border: 1px solid #e2e0e0;
        padding: 8px;
        font-size: 13px;
    }

    table.portal th {
        border: 1px solid #e2e0e0;
        text-align: center;
        padding: 10px;
        background-color: #f5f6f8;
        color: #464646;
        font-weight: bold;
    }

    table.portal tr:nth-child(even) {
        background-color: #fafafa;
    }

    table.portal tr:hover {
        background-color: #f5f5f5;
    }

table.office {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

    table.office td {
        border: 1px solid #8AAFE1;
        padding: 8px;
        font-size: 13px;
    }

    table.office th {
        border: 1px solid #8AAFE1;
        text-align: center;
        padding: 10px;
        background-color: #D3ECFF;
        color: #0E4380;
        font-weight: bold;
    }

    table.office tr:nth-child(even) {
        background-color: #f0f9ff;
    }

    table.office tr:hover {
        background-color: #f5f5f5;
    }


label {
    font-weight: 500;
}

.panel-search label {
    font-weight: 700;
}

.text-require {
    color: #dd4b39
}

#toast-container > div {
    opacity: 1;
}

.content-header > h1 {
    margin-top: 5px;
}

ul.tab-control {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    margin-bottom: -3px;
}

    ul.tab-control li {
        background: none;
        border: none;
        font-weight: 600;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

        ul.tab-control li a {
            color: #495057;
            border-color: #dee2e6 #dee2e6 #fff;
            border: 1px solid transparent;
            padding: 10px 25px 10px 25px;
            display: block;
        }

        ul.tab-control li.active {
            background: #FFFFFF;
            z-index: 9;
            border-top: 2px solid #3c8dbc;
            border-left: 1px solid #3c8dbc;
            border-right: 1px solid #3c8dbc;
        }

        ul.tab-control li:first-child {
            border-left: none;
        }

.label-input-field {
    position: relative;
    margin-top: 8px;
    margin-bottom: 20px;
}

    .label-input-field label {
        position: absolute;
        left: 10px;
        top: -8px;
        padding: 0 8px;
        background-color: #fff;
        /*font-weight: 600;*/
        font-size: 12px;
        /*color: #3c8dbc;*/
    }

    .label-input-field input,
    .label-input-field textarea {
        width: 100%;
        padding: 10px 16px;
        border-radius: 4px;
        border: 1px solid #e4e4e4;
        outline: 0;
    }
        .label-input-field input[readonly],
        .label-input-field textarea[readonly] {
            background: rgb(236 240 245 / 50%);
        }
    .label-input-field.has-symbol input,
    .label-input-field.has-symbol textarea {
        padding-right: 50px;
    }

.has-symbol:after {
    content: '¥';
    position: absolute;
    right: 0px;
    width: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-left: 1.5px solid #eee;

}
.has-symbol.vnd:after {
    content: 'đ';
}
.has-symbol.percent:after {
    content: '%';
}

.customer-info .customer-id{
    padding: 2px;
    background: #ffff65;
    font-weight: bold;
    border-radius: 2px;
    font-size: 14px;
}