.navbar-brand .show-max {
    display: unset;
}

.navbar-brand .show-min {
    display: none;
}

body.mini-sidebar .navbar-brand .show-min {
    display: unset;
}

body.mini-sidebar .navbar-brand .show-max {
    display: none;
}

a[data-sort]::after {
    font: normal normal normal 24px/1 "Material Design Icons";
    float: right;
    font-size: 1em;
    position: absolute;
}

a.desc[data-sort]::after {
    content: "\F13c";
}

a.asc[data-sort]::after {
    content: "\F13f";
}

.form-control-static {
    background-color: #a7a7a717;
}

.input-group .form-control-static {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
}

.form-control-static {
    padding-left: 4px;
    margin-bottom: unset;
    color: #131532;
    font-weight: 400;
    overflow-x: auto;
    text-overflow: ellipsis;
}

.bootstrap-dialog-message {
    min-height: 50px;
}

.modal-full {
    min-width: 90%;
}

.modal-full .modal-content {
    /*min-height: 90vh;*/
}

.text-muted-2 {
    color: #dcdede !important;
}

div.small table,
.jsgrid.small {
    font-size: 95%;
}

div.ellipsis table td,
div.ellipsis table tr,
.jsgrid.small .jsgrid-cell,
.jsgrid.small .jsgrid-header-cell {
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

table.table-sm td.text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    max-width: 0;
}

body {
    font-size: 0.9em;
}

.input-group-text {
    height: unset;
    font-size: 1em;
    padding: .25rem .75rem;
}

.form-control {
    height: unset;
    font-size: 0.8em;
}

#loginform .form-control {
    padding: 2px 5px;
    font-size: 1.2em;
}

.form-control.is-invalid,
.was-validated .form-control:invalid,
.form-control.is-valid,
.was-validated .form-control:valid {
    background: none;
    padding-right: .375rem;
}

.input-group .custom-control {
    min-height: 0.8rem;
}

.input-group .checkbox label::after,
.input-group .checkbox label::before {
    top: 1px;
}

div.small.jsgrid {
    max-height: 480px;
}

div.small.jsgrid .jsgrid-grid-body {
    max-height: 450px;
}

.overflow-td {
    overflow-x: auto;
}

.table-fixed>table {
    table-layout: fixed;
}

li.text-info.select2-results__option--highlighted {
    color: white !important;
}

input[rel=currency],
input[rel=percent],
input[type=number] {
    text-align: right;
}


/* Custom file input */

.custom-file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.custom-file+label {
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    padding: 0.625rem 1.25rem;
    -webkit-transition: all .15s;
    -o-transition: all .15s;
    transition: all .15s;
}

.custom-file+label * {
    pointer-events: none;
    /* in case of FastClick lib use */
}

.custom-file+label {
    color: #54667a;
    border: 1px solid #ced4da;
    background-color: transparent;
    padding: 0;
}

.custom-file+label.active {
    border-color: #55ce63;
    width: calc(100% - 28px);
}

.custom-file+label.active+.remove {
    display: inline;
    font-size: 1.2em;
    position: absolute;
    margin: 7px 8px;
    cursor: pointer;
}

.custom-file+label+.remove {
    display: none;
}

.custom-file+label.active strong {
    background-color: #55ce63;
}

.custom-file+label span,
.custom-file+label strong {
    padding: 0.250rem 10px;
    /* 10px 20px */
}

.custom-file+label span {
    width: calc(100% - 35px);
    min-height: 2em;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: top;
}

.custom-file+label strong {
    height: 100%;
    color: #fff;
    background-color: #868e96;
    display: inline-block;
    font-weight: normal;
}

@media screen and (max-width: 50em) {
    .custom-file+label strong {
        display: block;
    }
}

.select2-container--default .select2-selection--multiple {
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

.loading-overlay-content {
    letter-spacing: unset;
}

::-webkit-input-placeholder,
::placeholder {
    color: #999;
    font-weight: lighter;
}


/* COLORS */

.dark {
    color: #333 !important
}

.white {
    color: #FFF !important
}

.red {
    color: #DD5A43 !important
}

.red2 {
    color: #E08374 !important
}

.light-red {
    color: #F77 !important
}

.blue {
    color: #478FCA !important
}

.light-blue {
    color: #93CBF9 !important
}

.green {
    color: #69AA46 !important
}

.light-green {
    color: #B0D877 !important
}

.orange {
    color: #FF892A !important
}

.orange2 {
    color: #FEB902 !important
}

.light-orange {
    color: #FCAC6F !important
}

.purple {
    color: #A069C3 !important
}

.pink {
    color: #C6699F !important
}

.pink2 {
    color: #D6487E !important
}

.brown {
    color: brown !important
}

.grey {
    color: #777 !important
}

.light-grey {
    color: #BBB !important
}

.real-muted {
    color: #ddd !important;
}

.select2-dropdown {
    z-index: 9999 !important;
}

.loading-overlay.loading-theme-light {
    border: 1px solid #C6699F;
}

.fc-event {
    margin-left: 1px;
    margin-right: 1px;
}

.scroll-area {
    max-height: 800px;
    overflow: auto;
}

.btn-dash:hover {
    cursor: pointer;
}

.btn-dash[class*="bg-light-"] .text-white {
    color: #AAA !important;
}

.btn-dash.bg-light-info:hover .text-white,
.btn-dash.bg-light-success:hover .text-white,
.btn-dash.bg-light-danger:hover .text-white,
.btn-dash.bg-light-warning:hover .text-white {
    color: #333 !important;
}

.select2-result-label,
.select2-results__option {
    white-space: nowrap;
}

.row-datas-contrato > [class*="col"] {
    min-width: 0;
}

.row-datas-contrato input[type="date"],
.row-datas-contrato input[type="text"] {
    min-width: 0;
    padding-left: .5rem;
    padding-right: .5rem;
}

.row-datas-contrato label {
    white-space: nowrap;
}
