/*-----------------------------
Author         : hadtv
Created time   : Oct.2019
Basic style for this project
-------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,600&display=swap&subset=vietnamese');

.page-wrapper > .container-fluid {
    padding: 15px;
}

.offline{
color: lightgrey !important;

}

/*------------ select2 multiselect --------*/
#add.add-business .select2-selection.select2-selection--multiple,
#a-business.filter .select2-selection.select2-selection--multiple, #reg-business.filter .select2-selection.select2-selection--multiple {
    height: auto;
    max-height: 85px;
    overflow-y: scroll;
}


/*
.left-sidebar {
    position: absolute;
    z-index: 11 ;
}
*/

/*
-------------------------------- placeholder
::-webkit-input-placeholder {
    color: #b1ace2 !important;
}
::-moz-placeholder {
    color: #b1ace2 !important;
}
:-ms-input-placeholder {
    color: #b1ace2 !important;
}
:-moz-placeholder {     
    color: #b1ace2 !important;
}
 ------*/


/*------------------------------------- navigation --------*/

#main-wrapper[data-layout="vertical"][data-sidebartype="full"] .logo-icon,
.topbar .top-navbar .navbar-header.expand-logo .navbar-brand .logo-icon {
    display: none;
}

#main-wrapper[data-layout="vertical"][data-sidebartype="full"] .logo-text,
.topbar .top-navbar .navbar-header.expand-logo .navbar-brand .logo-text {
    margin-left: 40px;
}

.img-circle {
    border-radius: 100%;
}

.user-dd h4 {
    color: #8dc63f;
}

.navbar-collapse {
    display: none;
}


/*------------------------------------- background color --------*/

.bg-primary {
    background: #4c439b !important;
}


/*------------------------------------- button style --------*/

.btn-info {
    background-color: #6e93f9;
    border-color: #6e93f9;
}

.btn-success {
    background-color: #87d886;
    border-color: #87d886;
}

.btn-success:hover {
    background-color: #61B968;
    border-color: #61B968;
}

.btn-success:not(:disabled):not(.disabled).active,
.btn-success:not(:disabled):not(.disabled):active,
.show > .btn-success.dropdown-toggle {
    background-color: #439B51;
    border-color: #439B51;
}

.btn-danger {
    background-color: #ff6b88;
    border-color: #ff6b88;
}

.btn-danger:hover {
    background-color: #DB4E77;
    border-color: #DB4E77;
}

.btn-danger:not(:disabled):not(.disabled).active,
.btn-danger:not(:disabled):not(.disabled):active,
.show > .btn-danger.dropdown-toggle {
    background-color: #B73567;
    border-color: #B73567;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
    background-color: #4c439b;
    border-color: #4c439b;
}

.btn-group-lg > .btn,
.btn-lg {
    font-size: 0.98em
}

.btn-group-md > .btn,
.btn-md {
    font-size: 1.05em
}


/*------------------------------------- table --------*/

table th {
    text-align: center;
    white-space: nowrap;
    font-weight: 600;
}

.table-hover.table-striped tbody tr:nth-of-type(odd):hover,
.table-hover tbody tr:hover {
    background: #D9DDF3;
}

.table .thead-light th {
    background: #d9ddf3;
    color: #4c439b;
    font-weight: 600;
}

.textCenter {
    text-align: center;
}

.table-striped tbody tr:nth-of-type(odd) {
    background: #EBEEFB;
}

.m-report table td input[type="checkbox"]:checked:before {
    top: -14px;
}

.table-center td {
    text-align: center;
}

table td:last-child {
    text-align: center;
}

/*----------------------------------- modal --------*/

.modal-content {
    border-radius: 8px;
}

.modal-header,
.modal-content,
.modal-footer {
    border: none;
}

.modal-header {
    color: #4c439b;
}

.form-control:focus {
    color: #4F5467;
    background-color: #f2f2ff;
    border-color: #f2f2ff;
}

option:hover {
    font-weight: normal;
    min-height: 1.2em;
    padding: 0px 2px 1px;
    background: #fff;
}

/*------------------------------------- M-REPORT --------*/

.m-report .table td {
    padding: 5px 0.5rem;
    text-align: center;
    line-height: 40px;
}

.table .name {
    min-width: 210px;
}

.table .date {
    min-width: 70px;
}

.name span {
    font-weight: 600;
}

.name a {
    color: #4c439b;
}

.name img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.table .task {
    min-width: 350px;
    line-height: 25px !important;
}

.table .est {
    width: 30px;
}

.table .target,
.table .result,
.table .block,
.table .team,
.table .job-type {
    min-width: 140px;
}

.table td.project {
    min-width: 230px;
    text-align: left;
}

.table td.name,
.table td.task {
    text-align: left !important;
}

.table .task .collapsible {
    cursor: pointer;
    border: none;
    text-align: left;
    outline: none;
}

.table .task .more {
    display: none;
    overflow: hidden;
}

.table .task .collapsible i {
    margin-left: 5px;
    color: #6d61da;
}

.table .css-bar {
    width: 48px;
    height: 48px;
    font-size: 14px;
    z-index: 0;
}

.table .css-bar:after {
    width: 40px;
    height: 40px;
    margin-left: 4px;
    margin-top: 4px;
    line-height: 42px;
}


.m-report .table-fixed {
    max-height: 650px;
    overflow: scroll;
}

.m-report .table-fixed .table-body {
    max-height: calc(100vh - 260px);
}

.table-fixed table {
    margin-bottom: 0;
}

.table-fixed .table-header,
.table-fixed .table-body {
    display: flex;
}

.table-fixed .table-body {
    margin-top: -57px;
}

.table-fixed .table-header {
    z-index: 1;
    top: 0;
}

.comment-modal .modal-header,
.comment-modal .modal-body {
    padding: 25px 25px 0;
}

.filter .select2 {
    max-width: 240px;
}

.form-group .select2 {
    display: flex;
    width: 100%;
}

/*------------------------------------- A-REPORT --------*/
.statistic .card-body {
    height: 180px;
}

.a-report .card-title {
    text-transform: uppercase;
    color: #7460ee;
}

.a-report .card-title span {
    color: #888;
    text-transform: none;
    font-weight: 400;
    font-size: 12px;
    font-family: 'Open Sans', sans-serif;
}

.statistic ul {
    margin-bottom: 0;
    margin-top: 10px;
}

.statistic ul li {
    list-style: none;
}

.statistic ul li:first-child {
    font-weight: 600;
    font-size: 1rem;
    color: #888;
}

.statistic .icon {
    font-size: 1.2rem;
    position: relative;
    bottom: 3px;
}

.statistic .icon i:first-child {
    position: absolute;
    top: -10px;
    right: 10px;
}

.statistic .decrease i:last-child {
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.statistic .decrease i:first-child {
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
    right: -5px;
}

.statistic .number {
    font-size: 1.5rem;
    line-height: 1.5;
    padding-right: 22px;
    position: relative;
    font-family: 'Open Sans', sans-serif;
}

.statistic .row li {
    height: 55px;
}

.statistic .number:after {
    content: '%';
    font-size: 1rem;
    position: absolute;
    top: 8px;
}

.statistic .increase {
    color: #7460ee;
}

.statistic .decrease {
    color: #ffa700;
}

.a-report .btn-table .btn {
    height: 28px;
}

.a-report .btn-table .btn-outline-secondary:hover,
.a-report .btn-table .btn-outline-secondary:not(:disabled):not(.disabled).active,
.a-report .btn-table .btn-outline-secondary:not(:disabled):not(.disabled):active {
    background: #7460ee;
    border-color: #7460ee;
}

.a-report .card-title {
    text-transform: uppercase;
    font-weight: 700;
    color: #7460ee;
}

.c3 line,
.c3 path {
    stroke: #ded8ff;
}

#stacked-bar .c3-axis.c3-axis-x,
#stacked-bar .c3-axis.c3-axis-y,
#stacked-bar-chart .c3-axis.c3-axis-x,
#stacked-bar-chart .c3-axis.c3-axis-y {
    display: none;
}

#stacked-bar .c3 svg {
    position: absolute;
}

.a-report .form-control:focus {
    background-color: #fff;
}

.a-report .select2-container--default .select2-selection--single {
    min-width: 180px;
}

.a-report .input-group > .form-control {
    min-width: 190px;
}

.a-report #container .highcharts-background {
    height: 100px;
}

.a-report #container .highcharts-plot-background {
    height: 20px;
}

.a-report #container2 {
    padding-top: 30px;
}

/*------------------------------------- REPORT --------*/
.report .table .no3 a {
    font-size: 22px;
    color: #dce0e4;
}

.report .table .no3 a.active {
    color: #ffbc34;
}

.report .table td,
.report .table th {
    padding: .75rem .5rem;
    white-space: nowrap;
}

.report .table textarea {
    min-width: 300px;
    max-width: 510px;
}

.report .table-footer {
    background: #d9ddf3;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    padding-right: 40px;
}

.report .table-footer .btn {
    text-transform: uppercase;
}

.report .form-control {
    padding: 0.4rem;
}

/*
.report #cardReport .slick-slide.slick-current.slick-active{
   min-width: 368px;
}
*/
.report .table td.block {
    max-width: 270px;
    min-width: 200px
}

.report .table td.project {
    max-width: 250px;
    min-width: 200px;
}

.report .table td.job {
    min-width: 200px;
    max-width: 250px;
    align-items: center;
}

.report .table .no4 input {
    min-width: 80px;
    max-width: 200px;
    text-align: center;
}

.table .no1,
.table .no2,
.table .no3 {
    min-width: 38px;
}


.report .table-footer .btn-outline-secondary:hover,
.report .table-footer .btn-outline-secondary:not(:disabled):not(.disabled).active,
.report .table-footer .btn-outline-secondary:not(:disabled):not(.disabled):active {
    color: #fff;
    background: #a39ada;
}

.select2-container--default .select2-results__group {
    /*---- fix select 2 level---*/
    font-weight: 600;
}

.report .table .toggle.btn {
    min-width: 50px;
}

.report .table .toggle-handle {
    top: -1px;
}

.report .table .toggle-on {
    right: 65%;
}

.report .table .toggle-off {
    left: 65%;
}

.report .time:after {
    content: '8h';
    color: red;
    padding-left: 5px;
}