#sim-eclairage-profil.read-only .editable,
#sim-eclairage-zones.read-only .editable,
#sim-eclairage-actions.read-only .editable {
    display: none;
}

#sim-eclairage-profil.editable .read-only,
#sim-eclairage-zones.editable .read-only,
#sim-eclairage-actions.editable .read-only {
    display: none;
}

.lieu-travaux-item div.checkbox {
    margin-bottom: 0;
}

/* Tableau installation */
div.sim-eclairage-action-edit td label, div.sim-eclairage-action-edit table .font-smaller {
    font-size: 13px;
}

div.sim-eclairage-actions .panel-body table td {
    padding: 4px;
}

div.sim-eclairage-actions .panel-body table h5 {
    margin: 4px;
}


div.sim-eclairage-actions .panel-body {
    padding: 8px;
}

div.sim-eclairage-actions .panel-body .panel {
    margin: 15px;
}

table.input-heures {
    table-layout: fixed;
}

tr.vcenter td, td.vcenter {
    vertical-align: middle !important;
}

div.vcenter {
    display: flex;
    align-items: center;
}

.edit-hours td, .edit-hours label, .edit-hours div.checkbox {
    width: 100%;
    height: 100%;
}

.edit-hours div.checkbox {
    display: block;
    overflow: hidden;
}

.edit-hours label {
    padding-top: 3px;
    display: block;
    min-height: 100%; /* for the latest browsers which support min-height */
    height: auto !important; /* for newer IE versions */
    height: 100%; /* the only height-related attribute that IE6 does not ignore  */
}

.edit-hours div.checkbox {
    margin: auto !important;
    padding: 0 !important;
}

.edit-hours td {
    margin: 0 !important;
    padding: 0 !important;
}


.fake-readonly {
    background-color: #eeeeee;
    overflow-y: auto;
}

.tooltip {
    position: fixed;
}

div.sim-eclairage-zone div.sim-eclairage-zone-data table .progress-bar {
    width: auto;
    float: none;
}

.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
    border: none;
}

div.sim-eclairage-zone div.sim-eclairage-zone-data {
    margin-bottom: 1ex;
}

div.sim-eclairage-zone div.sim-eclairage-zone-data table label,
div.sim-eclairage-zone div.sim-eclairage-zone-data table div.checkbox,
div.sim-eclairage-zone div.sim-eclairage-zone-data table div.progress,
div#sim-eclairage-actions table div.checkbox,
div#sim-eclairage-actions table .input-group {
    margin: 0;
    padding: 0;
}

div.sim-eclairage-zone div.sim-eclairage-zone-data table div.checkbox input {
    visibility: hidden;
    margin: 0;
    padding: 0;
    width: 0%;
    height: 0%;
}

div.sim-eclairage-zone div.sim-eclairage-zone-data table div.checkbox label {
    display: block;
}

.inline-widget {
    display: inline-block;
    width: auto;
}

table.sim-eclairage-horaires label.progress-bar:hover,
table.input-heures td.editable-hours:hover,
table.input-heures td.editable-hours:hover label,
td.editable-hours:hover div.checkbox {
    color: white;
    background-color: #39a9dc;
    background-image: none;
}

dl.flat dt, dl.flat dd {
    display: inline-block;
}

table.input-heures td.editable-hours label {
    font-size: 11px !important;
}

.manual-margin-bottom {
    margin-bottom: 3px !important;
}

.manual-margin-bottom .form-group {
    margin: 0;
    padding: 0;
}

#advanced-cost .form-group, #advanced-cost .input-group, #advanced-cost legend {
    margin-bottom: 8px;
}

/* Pour ne pas passer au-dessus des bootstrap-confirmation */
div.tooltip, div.popover {
    z-index: -1;
}

div.tooltip.in {
    z-index: 900 !important;
}

div.popover.in {
    z-index: 1010 !important;
}

/* Installations simplifiées */
div.installations-simplifiees table th, div.installations-simplifiees table td {
    width: 50%;
}