﻿/*@import url('css/datepicker.css');*/
@font-face {
    font-family: 'digi';
    src: url('font/digi.ttf') format('truetype');
}

p {
    margin: unset;
}
/*Prototype for buttton*/
a.secondary {
    background-color: #fff;
    color: #212121;
}

.with-textbox {
    height: 2rem !important;
    line-height: 2rem !important;
    padding: 0 1.1rem !important;
    background-color: #fff !important;
    color: #212121 !important;
}

.btn-primary {
    background-color: #E21A22 !important;
}

.border-dotted-top {
    border-top: 1px dotted rgba(160,160,160,0.2);
}

.border-dotted-bottom {
    border-bottom: 1px dotted rgba(160,160,160,0.2);
}

.border-solid-bottom {
    border-bottom: 1px solid rgba(160,160,160,0.2);
}

.left-side {
    margin-bottom: 1em;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

    .left-side .title {
        text-transform: uppercase;
        border-bottom: 1px solid #E21A22;
        /* font-weight: 600; */
        text-align: left;
        background: black;
        color: white;
        padding: 6px 0;
        text-align: center;
        margin: 0;
    }

    .left-side .content {
        padding: 10px;
    }

.centerlink {
    text-align: center;
    display: inherit;
    font-size: large;
}

.lblname {
    color: #E21A22;
    font-size: large;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lblRankTitle {
    /*color: #0B8D35 !important;*/
    font-size: 14px;
    margin: 10px 0px 0px 0px;
    display: block;
    text-transform: uppercase;
    text-align: center;
}

.lblRankName {
    /*color: #0B8D35 !important;*/
    font-size: larger;
    margin: 4px 0 10px 0;
    display: block;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
}

.lblCode {
    color: #0B8D35 !important;
    font-size: large;
}

.infodetail {
    color: black;
}

    .infodetail .text {
        font-weight: bold;
    }

    .infodetail div {
        display: block;
        width: 100%;
    }

.infosystem {
    text-align: center;
}

    .infosystem .text {
        font-weight: bold;
        font-style: italic;
    }

    .infosystem div {
        border-top: 1px dotted #0AAA50;
    }

.warning {
    text-align: center;
}

    .warning .color1 {
        color: #FE3F00;
    }

    .warning .color2 {
        color: #0B8D35;
    }

a.dnnFormHelp {
    display: none;
}

.profileblock {
    border: 1px solid #0B8D35;
    width: 100%;
    /*margin-top: 10px;
    margin-bottom: 10px;*/
    display: inline-block;
}

.formgroup {
    width: 60%;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #F0F0F0;
    padding: 10px;
}

    .formgroup .submit {
        float: right;
        margin-top: 20px;
        margin-bottom: 10px;
        width: 130px;
    }

.error {
    color: #ff3547 !important;
    display: block;
    text-align: left;
    font-size: 12px;
}

.changeinfo .label {
    width: 20%;
    display: inline-block;
}

.changeinfo .textbox {
    width: 75%;
}

.block .dnnForm .dnnFormItem {
    margin: 0px;
}

.block .dnnFileUploadScope .dnnLeft {
    padding: 0 10px 0 0;
}

.avatar {
    width: 100%;
}


.doanhso {
    width: 100%;
    border: 1px solid #ffebee;
    margin: 2px 0 20px 0;
}

    .doanhso tr {
        border: 1px solid #ffebee;
    }

    .doanhso td {
        border-spacing: 0px;
        margin: 0;
        padding: 6px;
        /*border: 1px solid #4cff00;*/
    }

    .doanhso .col-first {
        width: 280px;
        /*border: solid 1px black;*/
        /*background-color: #286090;*/
        /*color: white;*/
    }

    .doanhso .col-nothing {
        background-color: none !important;
    }

    .doanhso .row-first {
        text-align: center;
        /*background-color: #286090;*/
        /*color: white;*/
    }

    .doanhso .content {
        font-weight: bold;
        text-align: right;
        /*background-color: #E6E6E6;*/
        color: red;
    }

.report {
    width: 100%;
    border-color: white !important;
    background-color: #E6E6E6;
}

    .report th {
        background-color: #2C2A29;
        padding: 5px;
        color: white;
    }

    .report td {
        padding: 5px;
        color: #666666;
    }

    .report .emptydata td {
        color: #FE3F00 !important;
        font-weight: bold;
        text-align: center;
    }

.DnnModule-vMLM-LBIBalance {
}

.block {
    background-color: #E6E6E6;
    border-radius: 5px;
    padding: 5px;
    margin-right: 4px;
    margin-bottom: 4px;
}

    .block .header {
        /*color: #3CA936;*/
        font-style: italic;
        /*font-size: 13px;*/
        vertical-align: middle;
        display: inline-block !important;
        width: 100px;
    }

    .block .group {
        display: inline-block;
    }

    .block .sub-header {
        /*color: #3CA936;*/
        vertical-align: middle;
        display: inline-block;
        width: 70px;
    }

    .block .center {
        text-align: center;
    }

    .block .combobox {
        padding: 4px !important;
        margin: 0px;
    }

.compare {
    width: 50px;
}

.block .textbox {
    padding: 0px !important;
    margin: 0px;
}

.block .button {
    float: right !important;
    min-width: 70px;
}

.rightalign {
    text-align: right;
}

.chart .form-control {
    display: inline-block;
}

.chart .header {
    float: left;
    display: block;
    margin-bottom: 5px;
}

.chart .zoom {
    float: right;
}

    .chart .zoom .in, .chart .zoom .out {
        cursor: pointer;
        -webkit-border-radius: 26px;
        -moz-border-radius: 26px;
        border-radius: 26px;
        text-decoration: none;
        color: #fff;
        background-color: #0000FF;
        margin: 1px;
        width: 26px;
        height: 26px;
        line-height: 26px;
        float: left;
        display: block;
        text-align: center;
    }

.chart .title, .month .title {
    font-size: larger;
    margin-right: 10px;
}

.chart input[type='text'], .month select {
    margin-right: 10px;
    font-size: large;
    width: inherit;
    text-align: center;
    padding: 0px;
}

.chart {
    overflow-x: auto;
    width: 100%;
}

.chart_div {
    margin: auto;
}

    .chart_div .google-visualization-orgchart-table * {
        padding: 0px;
    }

    .chart_div tr {
        border: none;
    }

    .chart_div .google-visualization-orgchart-node {
        background: none;
        border: none;
        -webkit-border-radius: none;
        -webkit-box-shadow: none;
        padding: 0px;
        font-weight: normal;
        font-size: 11px;
        color: #fe3f00;
    }

        .chart_div .google-visualization-orgchart-node span {
            white-space: nowrap;
            text-transform: uppercase;
            display:block;
        }

    .chart_div .google-visualization-orgchart-connrow-medium {
        border: 0;
    }

    .chart_div img {
        max-height: 26px;
/*        display: block;*/
        margin: auto;
    }
    .chart_div .expand {
        border: red 1px solid;
        height: 20px;
        width: 20px;
        display: block;
        border-radius: 50%;
        margin: 2px auto;
        font-size: 18px;
    }
    .chart_div .expand:hover {
        background: red;
        color: white;
    }

.hoahong {
    margin: 0 auto;
    border-color: white;
}

    .hoahong td {
        border-spacing: 0px;
        margin: 0;
        padding: 8px 15px 8px 15px;
        /*border: 1px solid #4cff00;*/
        min-width: 100px;
    }

.ghichu img {
    height: 20px;
}

.ghichu span {
    vertical-align: sub;
}

.month .btnexcel {
    float: right
}

.frmMessage .textbox {
    width: 97%;
    margin-bottom: 10px;
    font-family: 'OpenSans' !important;
}

.ui-datepicker {
    background-color: #E6E6E6;
}

.tkhoahong .warning {
    color: red;
    font-style: italic;
    max-width: 550px;
    display: block;
    margin: auto;
}

.timer span {
    text-align: center;
    display: block;
}

.day, .clock {
    font-family: digi;
    font-size: xx-large;
    line-height: 1em;
}

.bonus {
    margin-bottom: 1rem !important;
    border: 1px solid #4CAF50;
    box-shadow: 0 4px 5px 0 rgba(0,0,0,0.07), 0 1px 10px 0 rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.07);
    display: -ms-flexbox;
    display: block;
    -ms-flex-wrap: wrap;
    text-align: center;
}

    .bonus span.header {
        line-height: 2.8rem;
        font-size: 1.1rem;
        margin-right: 10px;
    }

    .bonus .value {
        font-size: 2rem;
        line-height: 2.8rem;
        color: #E21A22;
        vertical-align: sub;
        margin-left: 10px;
    }

.taikhoan {
    font-size: large;
    margin-top: 10px;
}

    .taikhoan .value {
        font-size: large;
        font-weight: bold;
        color: #E21A22;
    }
/**--------------------------------------------------------------*/
/*balance**/
.balance {
    color: white;
    line-height: 34px;
    margin-right: 1rem;
    padding-right: 1rem;
    border-right: green solid 1px;
    overflow: hidden;
    background: #383838;
    font-size: 12px;
    height: 34px;
}

    .balance .value {
        color: #E21A22;
        font-size: 1.4em;
        vertical-align: bottom;
    }
    .balance span{
        float: left
    }
/*Product Item-------------------------------------------------------*/
.product-item .card-content .card-title {
    min-height: 3.2rem;
    font-size: 1.4rem;
    line-height: 1.6rem !important;
}

#modalRecheck .checkbox {
    line-height: 3rem;
}

#modalRecheck .quantity {
    font-size: 1.4rem;
    font-weight: 600;
}

.checkboxdathang {
    line-height: 48px;
}
/*For Admin-------------------------------------------------------*/
.admin-menu {
    float: unset !important;
}

    .admin-menu ul {
        float: unset !important;
    }

    .admin-menu li {
        list-style-type: none;
    }

        .admin-menu li a {
            color: #FFFFFF;
            line-height: 1.8rem;
            border-bottom: solid 1px #E21A22;
        }

            .admin-menu li a.level1 {
                background-color: #000000;
                padding-left: 1rem !important;
                padding-right: 1rem;
            }

            .admin-menu li a.level2 {
                padding-left: 2.5rem !important;
                background-color: #37474f;
                padding-right: 1rem;
            }

    .admin-menu ul li:first-child a {
        border-top: solid 1px #E21A22;
    }

    .admin-menu li a.selected {
        background-color: #E21A22;
    }

    .admin-menu li a.highlighted {
        background-color: #E21A22;
    }

.admin .table {
    font-size: 0.8rem;
}
/*Override Bootstrap-----------------------------------------------*/
@media (max-width: 767px) {
    .form-inline > .checkbox {
        margin-left: 5px;
        margin-right: 5px;
    }

    .form-inline .form-control {
        width: auto;
        display: inline-block;
        vertical-align: middle;
    }

    .form-inline label {
        margin-right: 5px;
    }

    .form-inline .form-group {
        display: inline-block;
        margin-bottom: 0;
        vertical-align: middle;
    }
}

.form-group {
    margin-bottom: 8px;
}

    .form-group .form-control {
        box-sizing: content-box;
    }

hr {
    margin: 4px 0 !important;
}

[type="checkbox"] + label {
    padding-left: 20px !important;
    font-weight: normal;
}

.center-block {
    display: block !important;
    float: inherit !important;
}

.input-field .form-control, .input-field-addon, .input-field-btn {
    display: table-cell !important;
}
/*Register---------------------------------------------------------------------*/
.registerWrapper {
    width: 400px;
    box-shadow: 0 5px 5px 5px rgba(0,0,0,0.1), 0 5px 5px 5px rgba(0,0,0,0.1), 0 5px 5px 5px rgba(0,0,0,0) !important;
    max-width: 90%;
    /*position: absolute;
    top: 0;
    transform: translate3d(-50%,-50%,0);
    left: 50%;*/
    margin: auto;
}

    .registerWrapper .input-field {
        margin-top: 0;
    }

    .registerWrapper input[type=text]:not(.browser-default), .registerWrapper input[type=password]:not(.browser-default) {
        margin: 0 0 5px 0;
    }

@media (max-width: 767px) {
    .registerWrapper {
        width: 400px;
    }

    .toolbar {
        flex-direction: column;
    }
}

.registerWrapper .card-header {
    border-bottom: 4px solid red;
    padding: 0.1rem;
}

.wrapFormRegister {
    padding: 1rem 2rem;
}

.card-content {
    padding: 1.6rem;
}

.registerWrapper .logo {
    display: block;
    text-align: center;
    width: 40%;
    max-width: 136px;
    margin: auto;
    padding: 8px;
}

.register-form {
    margin: auto !important;
    padding: 1rem;
}

    .register-form .btn {
        display: block;
        margin: auto;
    }

.registerWrapper h4 {
    margin: 0;
}

.checkbox-inline, .radio-inline {
    padding-left: 0 !important;
}





.lblhhcbwarning {
    color: #E21A22;
    font-weight: 500;
    font-weight: 500;
    font-size: 1.1rem;
}

.registerform {
    z-index: 10;
    position: absolute !important;
    top: 50%;
    transform: translate(-50%,-50%);
    left: 50%;
    box-shadow: 0 5px 5px 5px rgba(0,0,0,0.1), 0 5px 5px 5px rgba(0,0,0,0.1), 0 5px 5px 5px rgba(0,0,0,0) !important;
    margin: auto;
    padding: 0 !important;
    max-width: 544px !important;
}

.navbar .brand {
    margin-left: 71.315px;
}

.select-form {
    height: 55px;
}

.cmb-tuan span {
    vertical-align: text-top;
}

.cmb-tuan .input-field {
    min-width: 230px;
    display: inline-block;
}

.btn-green {
    background: #4CAF50 !important;
}

.lbWarning {
    color: red;
    font-size: 10px;
}

#tree {
    width: 100%;
    height: calc(100vh - 190px);
}
    

.lh50px {
    line-height: 50px !important;
}

.canhan .header {
    font-style: italic;
}

.canhan .value {
    font-weight: 500;
    font-size: 1.4rem;
}

.canhan span {
    vertical-align: text-top;
}


div[data-quantity] {
    position: relative;
    width: 100%;
    max-width: 11rem;
    padding: 0;
    border: 0;
    display: flex;
    align-items: center;
}

    div[data-quantity] button {
        position: absolute;
        width: 2.8rem;
        height: 2.8rem;
        top: 0.6rem;
        display: block;
        padding: 0;
        margin: 0;
        border: 0;
        background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="50"><path d="M17 25h16M67 25h16M75 17v16" fill="none" stroke="rgb(59,69,66)" stroke-width="1.5px" stroke-linecap="round" stroke-linejoin="round" /></svg>') no-repeat 0 0;
        background-size: 5.6rem 2.8rem;
        overflow: hidden;
        white-space: nowrap;
        text-indent: 100%;
        border-radius: 1.4rem;
        cursor: pointer;
        transition: opacity 0.15s;
        opacity: 0.5;
    }

        div[data-quantity] button:hover {
            opacity: 1;
        }

        div[data-quantity] button:focus {
            outline: none;
        }

        div[data-quantity] button:active {
            background-position-y: 1px;
            box-shadow: inset 0 2px 12px -4px #c5d1d9;
        }

        div [data-quantity] button.sub {
            left: 0.6rem;
        }

        div[data-quantity] button.add {
            right: 0.6rem;
            background-position-x: -2.8rem;
        }

    div[data-quantity] input[type=number] {
        font-size: 18px;
        height: 4rem;
        padding: 0 3.4rem;
        border: 0;
        background: #fff;
        color: #222;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

        div[data-quantity] input[type=number]:focus {
            outline: none;
            box-shadow: 0 5px 55px -10px rgba(0,0,0,.2), 0 0 4px #3fb0ff;
            outline-offset: 0px !important;
            clip-path: unset !important;
        }

.ListItem {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
}




/*.tableRequestOrder {
    border-collapse: collapse;
}

    .tableRequestOrder td, tr {
        border: 1px solid #ddd;
    }*/



















@media (max-width: 600px) {
    .registerform {
        top: 0;
        left: 0;
        transform: unset;
        border-radius: 0 !important;
        max-width: 100% !important;
    }

    .wrapFilterDoanhSo {
        display: flex;
        flex-direction: column;
    }

    .canhan {
        margin: auto;
        width: fit-content;
    }

        .canhan .phatsinh, .canhan .tichluy {
            margin: auto;
            width: fit-content;
            height: 2rem;
        }

        .canhan .header1 {
            display: none;
        }
}

@media (min-width: 601px) and (max-width: 991px) {

    .canhan {
        margin: auto;
        width: fit-content;
    }

        .canhan .phatsinh, .canhan .tichluy {
            margin: auto;
            width: fit-content;
            height: 2rem;
        }

        .canhan .header1 {
            display: none;
        }

    .wrapFilterDoanhSo {
        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {

    .canhan {
        margin: auto;
        width: fit-content;
        height: 2rem;
    }

        .canhan .phatsinh, .canhan .tichluy {
            display: inline-block;
        }
}

@media (min-width: 1201px) {
    .filter-doanhso {
        float: left;
        width: 200px !important;
    }

    .canhan {
        float: right;
    }

        .canhan .phatsinh, .canhan .tichluy {
            display: inline-block;
            line-height: initial;
        }

        .canhan span {
            height: 71px;
            line-height: 71px;
        }
}


@media (max-height: 415px) {
    .registerform {
        top: 0;
        left: 0;
        transform: unset;
        border-radius: 0 !important;
        max-width: 100% !important;
    }
}

.lblBalance {
    margin: 0 !important;
    padding: 0 !important;
}

.lbTotal {
    padding-right: 50px;
    font-size: 15px;
    font-weight: bold;
}

.table-summary {
    padding: 10px;
}

    .table-summary .value {
        font-size: 1.2em;
    }

.lookup {
    position: relative;
}

    .lookup .btn {
        position: absolute;
        right: 10px;
        top: 28px;
    }

.lookup-inline {
    position: relative;
}

    .lookup-inline .input-field {
        width: 148px;
        float: left;
    }

    .lookup-inline .btn {
        position: absolute;
        left: 110px;
        top: 28px;
    }

    .lookup-inline span {
        position: absolute;
        bottom: 12px;
        left: 84px;
        right: 0;
    }


.input-field .input {
    height: 3rem;
    margin-bottom: 9px;
    line-height: 3rem;
    float: left;
}

.tree {
    box-shadow: 0 4px 5px 0 rgba(0,0,0,0.07), 0 1px 10px 0 rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.07);
    padding: 1rem;
    margin: 1rem;
}

.tyle {
    margin: 10px 0;
}

.lci-firstbalance, .lci-lastbalance {
    font-weight: bold;
    font-size: 1.1rem;
    color: blue;
    margin: 8px 6px;
    display: block;
    height: 40px;
    line-height: 40px;
}

.lci-sumvalue {
    font-weight: bold;
    color: #636464;
    margin: 6px;
    display: block;
}

    .lci-sumvalue .up {
        color: green;
    }

    .lci-sumvalue .down {
        color: chocolate;
    }

.wrapTreeStyle {
    margin-right: 0px !important;
    margin-left: 0px !important;
    height: calc(100vh - 150px);
}

#d3Tree {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    cursor: move;
    padding: 0;
    background: #ffff;
    overflow: hidden;
}

    #d3Tree .node {
        cursor: pointer;
    }

        #d3Tree .node circle {
            fill: #fff;
            stroke: steelblue;
            stroke-width: 3px;
        }

        #d3Tree .node text {
            font: 12px sans-serif;
        }

    #d3Tree .link {
        fill: none;
        stroke: #ccc;
        stroke-width: 2px;
    }

#jsTree {
    overflow: auto;
    height: inherit;
}


/* Important styles */
#toggle {
    display: block;
    width: 28px;
    height: 30px;
    margin: 10px;
}

    #toggle span:after,
    #toggle span:before {
        content: "";
        position: absolute;
        left: 0;
        top: -9px;
    }

    #toggle span:after {
        top: 9px;
    }

    #toggle span {
        position: relative;
        display: block;
    }

        #toggle span,
        #toggle span:after,
        #toggle span:before {
            width: 100%;
            height: 5px;
            background-color: #888;
            transition: all 0.3s;
            backface-visibility: hidden;
            border-radius: 2px;
        }

    /* on activation */
    #toggle.on span {
        background-color: transparent;
    }

        #toggle.on span:before {
            transform: rotate(45deg) translate(5px, 5px);
        }

        #toggle.on span:after {
            transform: rotate(-45deg) translate(7px, -8px);
        }

    #toggle.on + #menu {
        opacity: 1;
        visibility: visible;
    }

/* menu appearance*/
#menu {
    position: absolute;
    padding-left: 5px;
    border-radius: 4px;
    background: white;
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
    /* just for this demo */
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s;
    margin-top: 2rem;
    z-index: 10;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}


.text-error {
    color: #ff3547 !important;
    display: block !important;
    text-align: left;
    font-size: 12px;
}



.hidden {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.selectDoanhSo {
    max-width: 200px;
    min-width: 200px;
    width: 200px !important;
}
.bg-toolbar-container{
    top: 0;
    right: 0 !important;
    bottom: unset !important;
}
    .bg-toolbar-container div{
        float: left;
    }
[data-id="search-icon"], [data-id="search"] {
    left: 0 !important;
    top: 0 !important;
}