body{
    background-color: #f1f5f9;
}
ul.nav a{
    cursor: pointer;
}
#sidebar_menu .nav-sidebar > li > a {
    padding-right: 20px;
    padding-left: 20px;
}
#sidebar_menu .nav-sidebar > .active > a,
#sidebar_menu .nav-sidebar > .active > a:hover,
#sidebar_menu .nav-sidebar > .active > a:focus {
    color: #fff;
    background-color: #1d2028;
    border-radius: 0 8px 8px 0;
}
#sidebar_menu{
    padding: 0;
}
.sidebar{
    background-color: #2c313d;
    padding: 0;
}
.sidebar-header{
    background-color: #2c313d;
    border-radius: 0;
}
.breadcrumb{
    background-color: #e5ebf1;
}
.sidebar-brand{
    height: 50px;
    padding: 4px 15px;
    line-height: 50px;
    font-size: 20px;
}
.sidebar-brand a{
    color: #b9b9b9;
}
.sidebar-user-menu{
    padding: 2.2rem 0 6rem 0;
    background-color: #1d2028
}
.sidebar-user-menu .profil{
    text-align: center;
}
.sidebar-user-menu .avatar{
    position: absolute;
    top: 153px;
    border-radius: 50%;
    padding: 8px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    left: 50%;
}
.sidebar-user-menu .img-avatar{
    padding: 7px;
    background-color: #2c313d;
    border: none;
}
.main {
padding: 15px;
}
.main .page-header {
margin-top: 0;
}

input[type=text]+input[type=text],
input[type=text]+.row,
form .row + .row,
form .input-group + .input-group,
form .input-group + .row,
form .input-group + input,
input+textarea,
textarea + input{
    margin-top: 10px;
}

address{
    margin-bottom:0px;
}
.form-inline .form-group .input-group + .input-group{
    margin-top:0;
}

.vertical-center{
    display:inline-block;
    vertical-align: middle;
    float: none;
}
.v-middle{
    vertical-align: middle !important;
}
.table-borderless tbody tr td,
.table-borderless tbody tr th,
.table-borderless thead tr th {
    border:none;
}
.table-paddingless tbody tr td,
.table-paddingless tbody tr th,
.table-paddingless thead tr th {
    padding:0;
}
.cell-tools{
    width:105px;
    min-width:105px;
}
.cell-checkbox-only{
    width:30px;
    min-width:30px;
}
.cell-amount{
    width:8em;
    min-width:8em;
}
.cell-quantity{
    width:4rem;
    min-width:4rem;
}
.cell-description{
    min-width:16em;
}
.cell-date{
    width:6.5em;
    min-width:6.5em;
}
.cell-company{
    width:23%;
    min-width:23%;
}
.cell-tools.sorting,
.cell-tools.sorting_asc,
.cell-tools.sorting_desc,
.cell-tools.sorting_disabled{
    width:80px;
    min-width:80px;
}
.table-bordered .cell-tools{
    width:107px;
    min-width:107px;
}
.table-bordered .cell-checkbox-only{
    width:30px;
    min-width:30px;
}
.table-bordered .cell-tools.sorting,
.table-bordered .cell-tools.sorting_asc,
.table-bordered .cell-tools.sorting_desc,
.table-bordered .cell-tools.sorting_disabled{
    width:82px;
    min-width:82px;
}
.glyphicon{
    margin-right:5px;
}
.input-group-addon .glyphicon{
    margin-right: 0;
}
.ui-autocomplete{
    z-index: 1040;
    font-size:12px;
}
.ui-autocomplete .ui-state-focus{
    font-weight: normal;
}
.ui-autocomplete{
    max-height:200px;
    overflow-y: auto;
    overflow-x: hidden;
}
#ui-datepicker-div{
    z-index: 1060 !important;
}
html .ui-autocomplete{
    height: 200px;
    z-index:10000;
}
textarea{
    resize: none;
}
.loading{
    font-size:16px;
    margin-bottom:0;
}
table.dataTable{
    margin-top:0 !important;
    margin-bottom:0 !important;
}

table.dataTable.no-footer,table.dataTable thead th{
    border-bottom-color:#ddd;
}
table td[class*="sorting_"],
table th.sorting_desc,
table th.sorting_asc{
    background-color: rgba(177,197,212,0.15);
}
a.pull-right{
    cursor: pointer;
}
.text-striked{
    text-decoration: line-through;
}
td > table{
    margin-bottom: 0 !important;;
}
.nav-tabs{
    margin-bottom:15px;
}
.page-header{
    margin-bottom:15px;
}
.no-margin-top{
    margin-top:0;
}

.inline-block{
    display:inline-block;
}

.input-group-addon label{
    user-select: none;
    cursor: pointer;
    font-weight: normal;
    margin: 0;
}

.input-group-addon input[type="checkbox"]{
    position:relative;
    top: 2px;
}

.input-group-addon.primary {
    color: rgb(255, 255, 255);
    background-color: rgb(50, 118, 177);
    border-color: rgb(40, 94, 142);
}
.input-group-addon.success {
    color: rgb(255, 255, 255);
    background-color: rgb(92, 184, 92);
    border-color: rgb(76, 174, 76);
}
.input-group-addon.info {
    color: rgb(255, 255, 255);
    background-color: rgb(57, 179, 215);
    border-color: rgb(38, 154, 188);
}
.input-group-addon.warning {
    color: rgb(255, 255, 255);
    background-color: rgb(240, 173, 78);
    border-color: rgb(238, 162, 54);
}
.input-group-addon.danger {
    color: rgb(255, 255, 255);
    background-color: rgb(217, 83, 79);
    border-color: rgb(212, 63, 58);
}
.text-white{
    color: white;
}
.mb-0{
    margin-bottom: 0;
}
.mb-1{
    margin-bottom: 1rem;
}
.mb-2{
    margin-bottom: 2rem;
}
.mt-0{
    margin-top: 0;
}
.mt-1{
    margin-top: 1rem;
}
.mt-2{
    margin-top: 2rem;
}
.ml-0{
    margin-left: 0;
}
.ml-1{
    margin-left: 1rem;
}
.ml-2{
    margin-left: 2rem;
}
.mr-0{
    margin-right: 0;
}
.mr-1{
    margin-right: 1rem;
}
.mr-2{
    margin-right: 2rem;
}
.pr-0{
    padding-right: 0;
}
.pr-1{
    padding-right: 1rem;
}
.pr-2{
    padding-right: 2rem;
}
.pl-0{
    padding-left: 0;
}
.pt-0{
    padding-top: 0;
}
.pt-1{
    padding-top: 1rem;
}
.pt-2{
    padding-top: 2rem;
}
.pb-1{
    padding-bottom: 1rem;
}
.btn-panel{

}
.btn-panel:hover{
    text-decoration: none;
    /*box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);*/
}
.img-cover{
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}
.handler:hover{
    cursor: grab;
}
.equal {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
}

.clickable {
    cursor: pointer;
}
.dropdown-menu>li>a.text-danger{
    color:#a94442;
}
.dropdown-menu>li>a.text-success {
     color: #0e9f6e;
 }
.dropdown-menu>li>a.text-warning{
    color:#8a6d3b;
}

.panel-border-top-none{
    border-top:0;
    border-top-left-radius: 0;
    border-top-right-radius: 5px;
}

/* TODO : MMO
/*.panel .table-responsive{
    border: 1px solid #ddd;
}*/

.label{
    font-weight: normal;
    padding-top: .3em;
}

.label .fa{
    position:relative;
    top:.02em;
}

div.dataTables_wrapper div.dataTables_paginate{
    height: 30px;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination{
    margin-top:0;
    margin-bottom:0;
}
#filters-bill{
    background-color: rgb(249, 249, 249);
}
#filters-bill div.form-group{
    margin: 8px;
}
.panel-title-custom{
    font-size: 16px;
    line-height: 30px;

    padding: 8px 15px;
    border-bottom: 1px solid #ebedf2;
    font-weight: 700;
    color: #505050;
    margin-right: -15px;
    margin-left: -15px;
}

@media (max-width: 768px) {
    .sidebar{
        border-bottom: 1px solid #ddd;
    }
    .row.col-spacing > [class*="col-"]:not(:last-child) {
        margin-bottom: 1em;
    }
    .form-horizontal .control-label.col-xs-12 {
        text-align: left;
    }
    .form-group.form-group-divide>.input-group{
        width:49%;
        float: left;
    }
    .form-group.form-group-divide>.input-group:not(:last-child){
        margin-right: 2%;
    }
    .cell-description{
        min-width: 300px;
        max-width: 400px;
    }
    .cell-description > div.fix-content{
        white-space: normal;
    }
    .input-group-sm>.input-group-addon{
        padding-top: 3px;padding-bottom: 4px;
    }
    .sidebar-brand {
        float: left;
    }
    .sidebar-user-menu {
        padding: 1.5rem 0;
    }
    .sidebar-user-menu .avatar{
        position: relative;
        top: auto;
    }
    #sidebar_menu .nav-sidebar {
        padding-top: 5px;
    }
    .sidebar-user-menu .avatar{
        left: -30%;
    }
    .sidebar-user-menu .profil{
        text-align: left;
        padding-top: 14px;
    }
    #sidebar_menu .nav-sidebar > .active > a,#sidebar_menu .nav-sidebar > .active > a:hover,#sidebar_menu .nav-sidebar > .active > a:focus {
        border-radius: 0;
    }

}
@media (min-width: 768px) {
    .form-horizontal .control-label.col-xs-12 {
        text-align: left;
    }
    .main {
        padding-right: 20px;
        padding-left: 20px;
    }
    .sidebar>.collapse>ul{
        border:none;
        margin-right: 15px;
    }
    .sidebar {
        position: fixed;
        top:0;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        padding: 0;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        border-right: 1px solid #ddd;
    }
    .sidebar-brand{
        line-height: 45px;
    }
}
@media (min-width: 992px){
    .form-horizontal .control-label.col-xs-12 {
        text-align: right;
    }
}

.img-profil-container{
    display: inline-block;
    position: relative;
}

.img-profil-container:hover .overlay{
    opacity: .25;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #008CBA;
}

.overlay-text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}