/* global.css */

.modal-dialog {
    max-height: calc(100% - 3.5rem);
    min-height: calc(100% - 25rem);
    height: auto;
}

.modal-dialog-scrollable {
    display: flex;
}

.modal-body {
    /*min-height: 500px;*/
}

.table > :not(:first-child) {
    border-top: inherit !important;
}

.modal-dialog-scrollable .modal-content > form, .modal-dialog-scrollable .tab-pane > form {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient:vertical;
    -webkit-box-direction:normal;
    -ms-flex-direction:column;
    flex-direction:column;
    height: 100%;
}

.modal-dialog-scrollable .tab-pane {
    height: 100%;
}

.modal-dialog-scrollable .tab-content {
    overflow-y: auto;
    overflow-x: hidden;
}

table.dataTable {
    width: 100% !important;
}

table.dataTable .action {
    text-align: center;
}

/* PLM Appareil */
.vert_fonce {background-color:#00A654; width:20px; height:20px; display:inline-block;}
.vert {background-color:#C0D731; width:20px; height:20px; display:inline-block;}
.jaune {background-color:#FEF200; width:20px; height:20px; display:inline-block;}
.orange {background-color:#FCB913; width:20px; height:20px; display:inline-block;}
.rouge {background-color:#FF0000; width:20px; height:20px; display:inline-block;}

#header {background:#f0eeee; margin-bottom: 20px;}

.navbar-brand {text-transform: uppercase; color: #5b5460;}
.navbar-brand:hover {color: #000000;}

.nav-link {color: #5b5460;}
.nav-link:hover {color: #000000;}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.flex .form-control-label {width: 100%; display: flex;}
.flex .selectize-control {
    width: calc(100% - 50px);
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.5rem;
}