.hidden {
    /*display: none;*/
}

.login-box-body {
    text-align: center;
}

.login-page h1 {
    text-align: center;
    margin: 0 10px 40px 10px;
}

.login-page input {
    margin: 10px 0;
}

.login-page button {
    margin: 10px auto 0 auto;
}

/* MENU */
.sidebar-menu > li:nth-of-type(3), .sidebar-menu > li:nth-of-type(5), .sidebar-menu > li:nth-of-type(9) {
    border-bottom: 2px solid #ddd;
}

.skin-black .sidebar-menu > li:hover > a, .skin-black .sidebar-menu > li.active > a {
    background: #38474e;
    border-left-color: #38474e;
}

.box {
    background-color: rgba(255, 255, 255, 0.65);
}

.box.box-primary {
    border-top: 0;
}

.list-subtitle {
    padding: 10px 20px 10px 20px;
    font-size: 1.4rem;
    color: #ffffff;
    background-color: #333;
    border: 1px solid;
    border-radius: 3px;
    text-transform: uppercase;
}

div.box.box-primary:nth-of-type(1) {
    margin-bottom: 15px !important;
}

.navbar-nav > .user-menu > .dropdown-menu > li.user-header {
    height: auto;
}

.sonata-filter-form .form-group {
    float: left;
    /*display: inline-block !important;*/
}

label[for=filter_active_value] {
    width: auto;
    padding-left: 18px;
}

#filter_workedDay_value > div {
    display: inline-block;
}

#filter_workedDay_value > div:nth-of-type(2) {
    padding-left: 30px;
}

.iCheck-helper {
    border: 1px solid #333 !important;
    opacity: 0.5;
}

.btn-success, .bg-green, .callout.callout-success, .modal-success .modal-body, .btn-primary {
    background-color: #222d32 !important;
    border-color: #333;
    color: #b8c7ce !important;
}

.label-success, .alert-success {
    background-color: #588459 !important;
    border-color: #333;
}

.btn-success:hover, .btn-success:focus, .btn-primary:focus, .btn-primary:hover {
    background-color: #4c5c63 !important;
    border-color: #333 !important;
    color: #fff !important;
}

.label-danger {
    background-color: #d9534f !important;
}

a {
    color: #6c4d31;
    font-weight: bold;
    font-style: italic;
}

a:hover {
    color: #2b1d14;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.5);
}

.table-hover > tbody > tr:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.sonata-ba-list a, .sonata-ba-list-field-header a, .sonata-ba-list-field-text a {
    color: #222d32;
}

.sonata-ba-list a:hover, .sonata-ba-list-field-header a:hover, .sonata-ba-list-field-text a:hover {
    /*color: #ffb343;*/
    background-color: #b8c7ce;
}

.btn-link {
    color: #222d32;
}

.media-img-a {
    padding: 0 5px;
}

.category-label {
    font-weight: bold;
}

.sonata-ba-list-field-number {
    text-align: right;
}

.sonata-ba-list-field-boolean {
    text-align: center;
}

.money-col {
    text-align: right;
}

/* Chantier : show */
.sonata-ba-view .box-header,
.sonata-ba-form .box-header {
    color: #fff;
    background-color: #222d32;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.sonata-ba-view .box-title,
.sonata-ba-form .box-title {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

.sonata-ba-view-container th {
    width: 40%;
}

.sonata-ba-view .col-md-6:nth-of-type(2) td,
.sonata-ba-view .col-md-6:nth-of-type(3) td {
    text-align: right;
    padding-right: 20px;
}

.sonata-ba-view .col-md-6:nth-of-type(1) ul {
    padding-left: 0;
}

/* Spécial help important pour type de trajet */
[id$="DriverCost"] .help-block {
    color: #000;
    background-color: #d9534f !important;
    padding: 5px;
    border-radius: 3px;
}

/* Timesheet list */
[id$="-workedDay"].form-group {
    width: 78%;
}

[id$="-validated"].form-group {
    width: 22%;
    padding-top: 24px;
    margin-left: -15px;
}

/**
    Accounting page
 */
#admin_accounting_list {
    background-color: #FFF;
    padding: 15px;
    margin: 0 15px 0;
}

#admin_accounting_list .header-calendar-week-per-year {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#admin_accounting_list .header-calendar-week-per-year > div {
    width: 33.33%;
    text-align: center;
}

#admin_accounting_list .header-calendar-week-per-year > div.choice-user {
    display: flex;
    flex-direction: column;
}

#admin_accounting_list .header-calendar-week-per-year > div.choice-user label {
    display: flex;
    flex-direction: column;
}

#admin_accounting_list .header-calendar-week-per-year > div.choice-user input {
    text-align: center;
    width: 15%;
    margin: 0 auto;
}

#admin_accounting_list .header-calendar-day-per-year {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#admin_accounting_list .header-calendar-day-per-year > div {
    width: 33.33%;
    text-align: center;
}

#admin_accounting_list .header-calendar-day-per-year > div.choice-user {
    display: flex;
    flex-direction: column;
}

#admin_accounting_list .header-calendar-day-per-year > div.choice-user label {
    display: flex;
    flex-direction: column;
}

#admin_accounting_list .header-calendar-day-per-year > div.choice-user input {
    text-align: center;
    width: 50%;
    margin: 0 auto;
}

#admin_accounting_list .current-date {
    text-align: center;
    font-size: 21px;
    font-weight: bold;
    margin: 30px 0;
    text-transform: uppercase;
}

#admin_accounting_list .resume-employee .table-resume-employee {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted;
}

#admin_accounting_list .resume-employee .header-table-resume-employee {
    border-bottom: 1px solid #000;
    margin-bottom: 15px;
}

#admin_accounting_list .resume-employee .table-resume-employee p {
    width: 10%;
    margin: 10px 0 !important;
}

#admin_accounting_list .resume-employee .table-resume-employee > p.name-employee {
    font-weight: bold;
}

#admin_accounting_list .resume-employee .table-resume-employee > div {
    width: 90%;
    display: flex;
    justify-content: space-between;
}

#admin_accounting_list .resume-employee .table-resume-employee > div.total-list-header p {
    font-weight: bold;
}

#admin_accounting_list .resume-employee .table-resume-employee > div > p {
    width: 11.25%;
    text-align: center;
}

#admin_accounting_list .btn-download {
    margin: 30px 0;
    text-align: right;
}

.home-content {
    margin-bottom: 250px;
}

/* Messages*/
.msg-container {
    width: 90%;
    margin: auto;
}

.messages {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    margin-bottom: 3rem;
}

.messages > div {
    min-height: 100%;
}

.messages > .img {
    display: flex;
}

.messages > div > img {
    max-height: 30rem;
    margin: auto;
}

@media (max-width: 767px) {
    .messages {
        flex-direction: column;
    }

    .messages > div > img {
        max-height: 15rem;
        text-align: center;
        margin: auto;
    }

    .messages h2 {
        text-align: center;
    }
}

.other-btn {
    text-align: center;
    margin-bottom: 2rem;
}

/* Analytics */
.gross-margin {
    padding: 1rem;
    display: block;
    margin: -8px;
}

.gross-margin.positive {
    background-color: purple;
    color: white;
}

.gross-margin.low {
    background-color: dodgerblue;
    color: white;
}

.gross-margin.very-low {
    background-color: yellow;
    color: black;
}

.gross-margin.extremely-low {
    background-color: orange;
    color: black;
}

.gross-margin.critically-low {
    background-color: red;
    color: white;
}