.content-wrapper {
    padding: 0 15px;
    background-color: #fff;
    /*max-width: 1280px;*/
}
h1,h2,h3,h4,h5,h6, table tr th {
    font-family: 'Lato', sans-serif;
}
table.numbers tr td {
    font-family: 'PT Mono', monospace;
}
.number-font {
    font-family: "Source Sans Pro", Courier, monospace;
    font-weight: 400;
    letter-spacing: 2px;
}
/** UNIVERSAL */
.w-20 {
    width: 20%!important;
}
/**
* ADMIN LTE
*/
.nav-sidebar .nav-header:not(:first-of-type) {
    padding: .5rem;
}
ul.navbar-nav.ml-auto {
    display: table-row;
}
ul.navbar-nav.ml-auto li.nav-item, ul.navbar-nav.ml-auto li.nav-item a.nav-link {
    display: table-cell;
    vertical-align: middle;
}

.nav-link {
    padding: .25rem .5rem !important;
}
.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: rgba(255,255,255,.9);
    color: #343a40;
}
.content-header>h1 {
    display: inline-block;
}
.content-header>.btn.btn-success {
    float: right;
}
.notifications .media-body p.text-sm.text-muted {
    display: inline-block;
}
footer {
    width: 100%;
    padding: 5px 0 0;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 15px;
    border-top: 1px solid #fff;
}
footer .footer-full, .sidebar-mini.sidebar-collapse .main-sidebar:hover footer .footer-full {
    display: inline;
}
footer .footer-mini, .sidebar-mini.sidebar-collapse .main-sidebar:hover footer .footer-mini {
    display: none;
}
body.sidebar-collapse footer .footer-full {
    display: none;
}
body.sidebar-collapse footer .footer-mini {
    display: inline;
}
h1>span.subtitle {
    display: block;
    font-size: medium;
}
h1>span.subtitle>b {
    color: #54bad8;
}
.content-header {
    text-align: center;
}
/**
* CRUD PAGES
*/
.index-title {
    display: inline-block;
}
.clickable-row:hover {
    cursor: pointer;
    background-color: #e2e2e2;
}
table.crud {
    margin-bottom: 30px;
}
table.crud, table:not(.crud) {
    background-color: #efefef;
}
table.crud tr th {
    max-width: 120px;
}
table.crud tr.bg-black>td>h5 {
    letter-spacing: 4px;
    margin-bottom: 0;
    text-transform: uppercase;
}
/* Use the following CSS code if you want to have a class per icon */
table.indexes tr>td>ul { padding-left:20px; list-style:none; }
table.indexes tr>td>ul>li { margin-bottom:10px; }
table.indexes tr>td>ul>li:before {
    font-family: 'FontAwesome';
    content: '\f0db';
    margin:0 5px 0 -15px;
}

.crud-buttons {
    display: inline;
}
.crud-buttons.crud-index:after {
    clear: both;
    content: ' ';
    margin-bottom: 25px;
    display: block;
}
.crud-buttons .btn-group:not(.crud-index) {
    margin-right: 10px;
}
.crud-buttons .btn-group a:hover{
    color: #444;
}
.crud-buttons>#actions>a {
    border-radius: 4px;
}
.crud-buttons>#actions>.btn-forms {
    display: inline;
}
.crud-buttons .btn-group:not(.solo)#actions form button {
    /*margin-left: 10px;*/
}
.crud-buttons.crud-show #actions, .crud-buttons.crud-show #tools {
    float: right;
}
.crud-buttons .btn-group:last-child {
    margin-right: 0;
}
.crud-buttons a.btn:not(:last-child) {
    margin-right: 15px;
}

/**
* FORMS
*/
.col-form-label {
    font-weight: 700;
}
form #client_yearly>select,
    form #tableau_de_bord_date>select {
        margin: 0 5px;
}
form.crud {
    display: inline;
}
form.crud>div:not(.btn-group) {
    margin-top: 25px;
    clear: both;
}
form.password input {
     max-width: 240px;
}
form.crud>.btn-group, .btn-group.crud-index {
float: right;
}
form.crud #client_yearly>#client_yearly_year,
    form.crud #tableau_de_bord_date>#tableau_de_bord_date_day {
        display: none;
}
/*
* SELECT2 CUSTOMISATION
*/
form.crud .col-form-label {
    line-height: 38px;
    padding: 0;
}
form.crud .col-form-label,
    .select2-container .select2-selection--single,
    .select2-container--default .select2-selection--single .select2-selection__arrow {
    min-height: 38px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #00a65a;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #e2e2e2;
}

/*
* TACHES - SINGLE DISPLAY
*/
table.tache-details tbody tr:not(.bg-black) td:nth-child(odd) {
    text-align: right;
    font-weight: 700;
}

/**
* TACHES - LISTE DE TACHES
*/
.tablewrapper {
    background-color: #f7f7f7;
    border: 1px solid #a3a3a3;
    margin-bottom: 30px;
}
table.tache-liste {
    margin-bottom: 0;
}
table.tache-liste tr:not(:last-child) th,
table.tache-liste tr:not(:last-child) td {
    border-bottom: 1px solid #a3a3a3;
}
table.tache-liste tr th {
    padding: .4rem;
    width: 160px;
    text-align: center;
    vertical-align: middle;
    border-right: 1px solid #a3a3a3;
}
table.tache-liste tr td {
    padding: 0;
}
table.tache-liste tr td:nth-child(odd) {
    background-color: #efefef;
}
table.tache-liste tr td:nth-child(even) {
    background-color: #dfdfdf;
}
table.tache-liste .todo-items .todo-item {
    border: 1px solid transparent;
}
table.tache-liste .todo-items .todo-item:not(:last-child) {
    border-bottom: 1px solid #a3a3a3;
}
table.tache-liste .todo-items .todo-item:hover {
    background-color: #a3a3a3 !important;
}
table.tache-liste .todo-items .todo-item.bg-yellow { background-color: #FFE495; }
table.tache-liste .todo-items .todo-item.bg-orange { background-color: #FF9233; }
table.tache-liste .todo-items .todo-item.bg-red { background-color: #f93e3e; }
table.tache-liste .todo-items .todo-item.bg-blue { background-color: #00c0ef; }

table.tache-liste .todo-items .todo-item .wq-item-title,
table.tache-liste .todo-items .todo-item .wq-item-title h3,
table.tache-liste .todo-items .todo-item .wq-item-period,
table.tache-liste .todo-items .todo-item .wq-item-ref {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
}
table.tache-liste .todo-items .todo-item .wq-item-ref {
    width: 160px;
    padding-left: 10px;
}
table.tache-liste .todo-items .todo-item .wq-item-title {
    width: 240px;
}
table.tache-liste .todo-items .todo-item .wq-item-period {}

table.old-tache-liste tbody tr td:hover { background-color: #c0c0c0; }
table.old-tache-liste tbody tr td:nth-child(1) { width: 30px; }
table.old-tache-liste tbody tr td:nth-child(2) { width: 180px; }
table.old-tache-liste tbody tr td:nth-child(3) { width: 200px; }
table.old-tache-liste tbody tr td:nth-child(4) { width: 150px; }
table.old-tache-liste tbody tr td:nth-child(5) { width: auto; }
table.old-tache-liste tbody tr td:nth-child(6) { width: 30px; }
table.old-tache-liste tbody tr td:nth-child(7) { width: 60px; text-align: center; }

table.saisie-ecarts {
    background-color: transparent;
    margin-left: auto;
    margin-right: auto;
}
table.saisie-ecarts th, table.saisie-ecarts td, table.saisie-ecarts td input {
    width: 120px;
}
/**
* TABLE WORKQUEUE
*/
table#workqueue-list {
    background-color: #fff;
    border: 1px solid #333;
    margin-bottom: 30px;
}
table#workqueue-list tr:not(:last-child) {
    border-bottom: 1px solid #333;
}
table#workqueue-list th, table#workqueue-list td {
    padding: 0;
}
table#workqueue-list th {
    background-color: #a3a3a3;
    border-color: #a3a3a3;
    color: #0c0c0c;
    text-align: center;
}
table#workqueue-list td:not(.days) {
    vertical-align: top;
    padding: 0;
    background-color: #ebf2fa;
}
table#workqueue-list th.days {
    text-align: center;
    width: 140px;
    min-width: 140px;
}
table#workqueue-list td .card {
    width: 240px;
    display: inline-block;
    margin: 10px 10px !important;
}
table#workqueue-list.all-staff td .card {
    display: block;
}
table#workqueue-list td .card .card-header{
    /*background-color: rgba(0,0,0,.05);*/
}
table#workqueue-list td .card .card-header,
  table#workqueue-list td .card .card-body {
    padding: .5rem .75rem;
}
table#workqueue-list td .card .card-footer {
    padding: .25rem .35rem;
}
table#workqueue-list td .card .card-title {
    font-size: 16px;
}
table#workqueue-list td .card .card-footer span.wq-item-ref{
    float: right;
    font-size: 11px;
}
table#workqueue-list td .card .card-body span {
    font-size: 14px;
}
/**
* TABLE INBOX
*/
.mailbox-messages table th, .mailbox-messages table td {
    padding: 0.1rem;
    font-size: .85rem;
}
.card-body.p-0 .table tbody>tr>td:first-of-type, .card-body.p-0 .table tbody>tr>th:first-of-type, .card-body.p-0 .table thead>tr>td:first-of-type, .card-body.p-0 .table thead>tr>th:first-of-type, .pl-4, .px-4, .card-body.p-0 .table tbody>tr>td:last-of-type, .card-body.p-0 .table tbody>tr>th:last-of-type, .card-body.p-0 .table thead>tr>td:last-of-type, .card-body.p-0 .table thead>tr>th:last-of-type, .pr-4, .px-4 {
    padding: 3px 5px !important;
}
table.tableauDeBord.annual {
    width: auto;
}
table.tableauDeBord.annual thead tr th:first-child {
    min-width: 190px;
    width: auto;
}
table.tableauDeBord.annual thead tr th:not(:first-child) {
    width: 78px;
    text-transform: capitalize;
}table.tableauDeBord.annual {
     width: auto;
 }
table.tableauDeBord.annual thead tr th:first-child {
    min-width: 190px;
    width: auto;
}
table.tableauDeBord.annual thead tr th:not(:first-child) {
    width: 78px;
    text-transform: capitalize;
}
table.tableauDeBord thead tr th {
    font-size: 12px;
    padding: 0px 2px !important;
    margin: 0;
    line-height: 12px;
    height: 22px;
    text-align: center;
    vertical-align: middle;
}
table.tableauDeBord tbody tr td {
    font-size: 13px;
    padding: 0px 2px !important;
    text-align: right;
    vertical-align: middle;
}
table.tableauDeBord tr th, table.tableauDeBord tr td {
    border-right: 1px solid #cccccc;
    font-size: 12px;
    font-weight: 300;
}
table.tableauDeBord tbody tr:nth-child(1),
table.tableauDeBord tbody tr:nth-child(3),
table.tableauDeBord tbody tr:nth-child(5),
table.tableauDeBord tbody tr:nth-child(8),
table.tableauDeBord tbody tr:nth-child(10),
table.tableauDeBord tbody tr:nth-child(12),
table.tableauDeBord tbody tr:nth-child(15) {
    background-color: #2196f3;
    color: #fff;
}
.timeline-body {
    border-bottom: 1px solid #ddd;
}
.timeline-footer span.right.badge {
    font-weight: 300!important;
    font-size: 12px;
}
.timeline-footer {
    font-size: 12px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 25px;
    margin-bottom: 0;
}
@media screen and (max-width:950px) {
    .resp-btn-txt {
        display: none;
    }
}

/**
* PRINT JOURNAL FOR STAFF
*/
table.staff-journal {
    font-size: .7rem;
}
table.staff-journal tr.new-day {
    text-align: center;
    color: #333;
    border-top: 4px solid #3b3b1f;
    background-color: #a1aec7;
    font-size: 1.3rem;
}
table.staff-journal tr {
}
table.staff-journal tr.new-category {
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .1rem;
}
table.staff-journal tr.new-category td {
    padding-top: 1rem;
    border-top: 1px solid #3b3b1f;
}
table.staff-journal tr.new-task {
    text-align: left;
    border-top: 1px solid #3b3b1f;
    font-size: .8rem;
    font-weight: 500;
}
table.staff-journal tr.action {
    font-family: 'Anonymous Pro', monospace;
}
table.staff-journal tr.action:nth-child(even) {
    background-color: #d0d0d0;
}
table.staff-journal tr.action td:first-child {
    text-align: right;
    width: 5rem;
}
table.staff-journal tr.action td:last-child {
    padding-left: 1rem;
}
table.staff-journal tr.action:last-child {
    border-bottom: 1px solid #3b3b1f;
}
.bilan-headlight {
    width: 70px;
}
table.remise-cheque {
    width: 100%;
    margin-bottom: 15px;
    border: 1px solid #1F2D3D;
}
table.remise-cheque caption {
    caption-side: top;
    text-align: center;
    font-weight: 700;
    text-transform: capitalize;
    font-variant: small-caps;
    background-color: #1F2D3D;
    color: #ccc;
}
table.remise-cheque td, table.remise-cheque th{
    padding: 0 2px;
    width: auto;
}
table.remise-cheque th:nth-child(1) {
    width: 90px;
}
table.remise-cheque th:nth-child(3) {
    width: 100px;
}
table.remise-cheque th {
    border-bottom-color: #1F2D3D;
}
table.remise-cheque td {
    border-right: 1px solid #a0a0a0;
}
table.remise-cheque td:last-child {
    border-right: none;
    text-align: right ;
}
#tdb-annuel {
    font-size: small;
    margin-left: auto;
    margin-right: auto;
}
#tdb-annuel th, #tdb-annuel td {
    padding: 3px 5px;
}
#tdb-annuel thead th:not(:first-child) {
    text-align: center;
}
#tdb-annuel thead th:not(:first-child), #tdb-annuel tbody td {
    width: 85px;
    min-width: 85px;
    border-left: 1px solid #aaa;
}
#tdb-annuel tbody td {
    text-align: right;
}

/**
* Bootstrap Toggle Buttons
*/
.toggle label {
    font-weight: normal!important;
}

#z2caisse th, #z2caisse td {
}
#z2caisse tr {
    border-bottom: 1px solid #ccc;
}
#z2caisse th {
    text-align: center;
    border-bottom: 2px solid #000;
}

#z2caisse tr td {
    text-align: right;
    padding: 2px 5px 2px 0;
}

#z2caisse td:not(:last-child), #z2caisse th:not(:last-child) {
    border-right: 1px solid rgba(0,0,0,.65);
}

.basic-task-text {
    background-color: #efefef;
    border-top: 1px solid #aaaa;
    padding: 1.5em 2em;
}
