.course-table-container {
    box-sizing: border-box;
    overflow: hidden;
    padding-top: 4px;
}

/*********** Generic course-table styles ************/
.course-table {
    height: 100%;
    box-sizing: border-box;
}
.course-table .theader {
    height: 27px;
    /*border: 1px solid blue;*/
    box-sizing: border-box;
}
.course-table .header-cell {
    display: inline-block;
    font-weight: bold;
}
.course-table .tsubheader {
    height: 20px;
    box-sizing: border-box;
    transition: height 0.5s ease-in-out;
}
.course-table .tcontents {
    width: 100%;
    overflow: auto;
}
.course-table .tcontents .trow {
    clear: both;
    border-top: 1px solid #dddddd;
}
.course-table .tcontents .trow .rcell {
    padding-top: 8px;
    line-height: 18px;
    float: left;
}
/********* End of Generic course-table styles *********/


/*************** Fixed Table Styles *****************/
.course-table.fixed {
    width: 476px;
    float: left;
}
.course-table.fixed .theader {
    overflow: hidden;
}
.course-table.fixed .header-cell {
    padding-left: 25px;
}
.course-table.fixed .tsubheader .header-cell {
    position: relative;
    vertical-align: top;
}
.course-table.fixed .tsubheader .header-cell div {
    position: absolute;
    top: -4px;
    left: 27px;
    font-size: 12px;
    color: #2fa7c8;
    white-space: nowrap;
}
.course-table.fixed .tcontents {
    overflow: hidden;
}
.course-table.fixed .tcontents .trow .rcell:nth-child(2) {
    width: 81px;
}
.course-table.fixed .tcontents .main-resource .rcell:nth-child(1) {
    width: 100%;
}
.course-table.fixed .tcontents .main-resource .rcell:nth-child(2) {
    display: none;
}
.course-table.fixed .resource-display {
    height: 100%;
    box-sizing: border-box;
}
.course-table.fixed .tcontents .resource-name-container {
    display: inline-block;
    position: relative;
    font-size: 16px;
    top: 3px;
}
.course-table.fixed .tcontents .ellipsis-container {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.course-table.fixed .tcontents .resource-name-container .ellipsis-container {
    /*  !!! This sets maximum width of fixed (left) side of the table  !!! */
    max-width: 300px;
}
.course-table.fixed .tcontents .main-resource .resource-name-container .ellipsis-container {
    width: auto;
}
.course-table.fixed .tcontents .filler {
    height: 17px; /* horizontal scrollbar height */
    width: 100%;
}
/* Resource name Edit Mode */
.course-table.fixed .resource-display.edit .resource-name-container {
    display: none;
}
.course-table.fixed .resource-display textarea {
    display: none;
}
.course-table.fixed .resource-display.edit textarea {
    display: inline-block;
    font-size: 16px;
}
/* End of Resource name Edit Mode */
/*********** End of Fixed Table Styles ***********/


/************* Scrollable Table Styles ************/
.course-table.scrollable {
    overflow: hidden;
    margin-left: 476px;
}
.course-table.scrollable .theader-container {
    overflow: hidden;    
}
.course-table.scrollable .theader,  .course-table.scrollable .tsubheader {
    white-space: nowrap;
}
.course-table.scrollable .theader .header-cell {
    /*border: 1px solid red;*/
    height: 100%;
    overflow: hidden;
}
.course-table.scrollable .tsubheader .header-cell {
    /*border: 1px solid red;*/
    height: 100%;
    overflow: hidden;
    vertical-align: top;
}
.course-table.scrollable .header-cell .override-container,
.course-table.scrollable .header-cell .input-container,
.course-table.scrollable .header-cell .select-all-container {
    width: 100%;
    height: 100%;
}
.course-table.scrollable .header-cell .input-feedback-level,
.course-table.scrollable .header-cell .input-logbook {
    text-align: center;
}
.course-table.scrollable .header-cell .input-feedback-level .modal-vretta,
.course-table.scrollable .header-cell .input-logbook .modal-vretta {
    text-align: left;
}
.course-table.scrollable .header-cell .select-all-toggle {
    width: 100%;
    height: auto;
}
.course-table.scrollable .select-all-value {
    margin-top: 5px;
}
.course-table.scrollable .select-all-value input[type=number] {
    width: 47px;
    padding-left: 4px;
    left: 46px;
    position: relative;
    margin-bottom: 0;
}
.course-table.scrollable .select-all-value .data-units {
    font-size: 17px; 
    color: #c1bbbb; 
    position: relative; 
    bottom: 3px; 
    left: 45px; 
    top: 1px;
}
.course-table .modify-course-editor .type-number {
    text-align: left;
}
.course-table .modify-course-editor .type-number .input-container,
.course-table .modify-course-editor .type-number .active-student-override input{
    margin-left: 47px;
}
.course-table .modify-course-editor .type-number input {
    width: 45px;
}
.course-table .modify-course-editor .type-number .data-units {
    font-size: 17px;
    color: #c1bbbb;
    position: relative;
    bottom: 3px;
}
.mod-course .course-table .select-all-toggle input[type=checkbox] {
    height: 0;
    width: 0;
    visibility: hidden;
    position: absolute;
}
.mod-course .course-table .select-all-toggle label {
    cursor: pointer;
    text-indent: -9999px;
    width: 34px;
    height: 16px;
    background: grey;
    display: block;
    border-radius: 100px;
    position: relative;
    margin: 0 0 0 58px;
}
.mod-course .course-table .select-all-toggle label:after{
    content: '';
    position: absolute;
    top: 2px;
    left: 4px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 29px;
    transition: 0.3s;
}
.mod-course .course-table .select-all-toggle input:checked + label {
    background: #00a7c8;
}
.mod-course .course-table .select-all-toggle input:checked + label:after {
    left: calc(100% - 5px);
    transform: translateX(-97%);
}
.course-table.scrollable .header-cell, .course-table.scrollable .rcell {
    width: 200px;
    font-size: 16px;
    line-height: 20px;
    box-sizing: border-box;
}
.course-table.scrollable .theader-container .filler {
    display: inline-block;
    width: 17px; 
    height: auto;
}
.course-table.scrollable .trow {
    white-space: nowrap;
}
.course-table.scrollable .trow .rcell {
    float: none;
    display: inline-block;
    vertical-align: top;
}
.course-table.scrollable .tcontents {
    overflow: auto;
}
.course-table.scrollable .tcontents input[type="text"] {
    top: 0;
}
/********* End of Scrollable Table Styles *********/

/*********************** Editor Styles  *************************/
.course-table .period_picker_input {
    visibility: hidden;
}
/******************* End of Editor Styles  **********************/

/************** Drag & Drop Styles  ***************/
.dndPlaceholder {
    position: relative;
    overflow: visible;
    height: 0;
}
.dndPlaceholder .marker-container {
    position: absolute;
    width: 383px;
    border-top: 3px;
    height: 2px;
    background-color: orange;
    top: -9px;
}
.dndPlaceholder .marker {
    width: 12px;
    height: 12px;
    background-color: orange;
    border-radius: 6px;
    position: relative;
    top: -5px;
}
.dndDraggingSource {
    background-color: #ffa5007d;
}

/*********** End of Drag & Drop Styles  ***********/
