/* 
    Created on : 25.12.2019, 21:31:47
    Author     : TB
*/

@charset 'UTF-8';

.table-opening-hours {
    width: 100%;
    
    
}

.OH-active-heading {
    cursor: pointer;
}

.OH-active-heading > i.fas {
    font-size: 0.8em;
    margin-right: 0.5rem;
    
    width: 1.2em;
}

.table-opening-hours td {
    width: 14.28%;
    
    padding: .25rem .5rem;
}

.table-roster {
    /*width: 100%;*/
    
    /*margin-left: auto;
    margin-right: auto;*/
}

.table-roster tr td {
    height: 2.2rem;
    line-height: 2.2rem;
    
    padding: 0px;
}

.table-roster tr td:first-child {
    /*width: 3rem;*/
    width: 120px;
    min-width: 120px;
}
    
.table-roster tr td:first-child:not(.OH-placement-header) {
    position: sticky;
    left: 0;
    background: #fff;
}

.table-roster tr td.table-roster-control {
    /*width: 8rem;
    width: 14rem;*/
    width: 12rem;
    min-width: 12rem;
}

.table-roster .TRC-control {
    
    background: rgba(0, 0, 0, 0.6);
    
    cursor: pointer;
    color: #fff;
    font-weight: 400;
    height: calc(100% + .5rem);
    height: 2.2rem;
    line-height: 2.2rem;
    
    margin-top: -.25rem;
    margin-bottom: -.25rem;
}

.table-roster .TRC-control.open {
    background: #2e7d32;
}

.table-roster .TRC-control.closed {
    background: #dd2c00;
}

.table-roster, 
.table-roster-container {
    
}

.table-roster-headers-container {
    width: calc(100% - 120px);
    margin-left: 120px;
    overflow: hidden;
}

.table-roster-headers-container > div {
    display: inline-block;
    width: auto;
    height: auto;
    position: relative;
    padding: 0;
}

.table-roster-container {
    width: 100%;
    height: calc(100vh - 31.0rem);
    overflow: auto;
}

@media (max-width: 1199px) {
    
    .table-roster-container {
        height: calc(100vh - 34.0rem);
    }
    
}

@media (max-width: 575px) {
    
    .table-roster-container {
        height: calc(100vh - 35.0rem);
    }
    
}

.btn.btn-roster-active {
    width: 10rem;
}

.OH-placement-header {
    height: 5rem;
    line-height: 5rem;
}

.roster-placement-heading {
    /*width: calc(100% - 4.5rem);*/
    width: calc(100% - 0);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}







@media (max-width: 767px) {
    
    /*
    .table-roster-headers-container {
        width: calc(100% - 60px);
        margin-left: 60px;
    }
    
    .table-roster tr td.table-roster-control {
        width: 6rem;
        min-width: 6rem;
    }
    
    .table-roster tr td:first-child {
        width: 60px;
        min-width: 60px;
    }
    */
    
    .table-roster tr td, 
    .table-roster .TRC-control {
        height: 1.8rem;
        line-height: 1.8rem;
    }
    
    .table-roster .TRC-control {
        margin: 1px !important;
    }
    
}









