.table-striped>tbody>tr:nth-child(odd)>td,
.table-striped>tbody>tr:nth-child(odd)>th {
    background: #fdebd1;
    border-color: #fbd7a3;
}

.collection th:not(:last-child) {
    /* th last child may be actions column, which needs to be as small as
    possible, so dont set the width for that here */
    min-width: 100px;
}

/* fix for fixed right column. when scrolling, you would see the upcoming columns
   in a small gap next to the header (wich has the width of the browsers scrollbar */
/* though most browsers use 15px as scrollbar width, using 20px here to allways close the gap.
   (5px extra is hardly noticable) */
.DTFC_RightHeadWrapper table {
    width: calc(100% + 20px) !important;
}

/* when background of div in which table is places, is a different color */
/* it will shine throug the table header. table header should always be white */
table {
    background-color: white;
}

.table-foot td {
    background-color: #33bdbd !important;
    border-color: #00a3a3 !important;
}
.table-foot {
    border-top: 2px solid #1f5688;
}

/* when scrolling is collapsed, show a thin border at the bottom of the table */
/*.dataTables_scroll .dataTables_scrollBody {*/
    /*border-bottom: 1px solid #777;*/
/*}*/


/* styling, in case we want to have a list within a table-cell (like accommodation requests)*/
.accommodation-requests {
    padding: 0;
    list-style-type: none;
    margin:0;
}

.accommodation-requests > li:nth-child(odd) {
    background-color: white;
    height:40px;
    padding:0px;
    position: relative;
    border-bottom: 1px solid #333;
}
.accommodation-requests > li:nth-child(even) {
    background-color: #ccc;
    height:40px;
    padding:0px;
    position: relative;
    border-bottom: 1px solid #333;
}

.accommodation-requests > li:last-child {
    border: none;
}

.accommodation-period {
    display: inline-block;
    padding: 5px;
    padding-top: 12px;
}

.main-period-status {
    width: 40px;
    height: 39px;
    display:inline-block;
    position: absolute;
    right:0;
}

.accommodation-requests > li:last-child .main-period-status {
    height:40px;
}

.accommodation-requests:hover {
    opacity: 0.8;
    cursor: pointer;
}
/* end of styling for list within table-cell */

/* additional styling for full-height table pages */
.page-content-full-height .content {
    bottom:0;
}

.DTFC_LeftWrapper > div {
    border-right:3px solid #aaa;
}

.DTFC_RightWrapper > div {
    border-left:3px solid #aaa;
}

div.toolbar {
    display:inline-block;
}

table.dataTable {
    margin-top:0px !important;
}

.dt-buttons {
    margin-left:10px;
}

.dt-button-collection.dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.dt-button-collection.dropdown-menu > li {
    border-bottom: 1px solid #aaa;
}

.dt-button-collection.dropdown-menu > li:hover {
    cursor:pointer;
}

.dropdown-menu > .active > a {
    background: #aaa;
}
.dropdown-menu > .active:hover, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    background-color: lightseagreen;
}

.DTFC_LeftBodyWrapper {
    -moz-box-shadow:    6px 2px 27px 0 rgba(0,0,0,0.3);
    -webkit-box-shadow: 6px 2px 27px 0 rgba(0,0,0,0.3);
    box-shadow:         6px 2px 27px 0 rgba(0,0,0,0.3);
}

.DTFC_RightBodyWrapper {
    -moz-box-shadow:    -6px 2px 27px 0 rgba(0,0,0,0.3);
    -webkit-box-shadow: -6px 2px 27px 0 rgba(0,0,0,0.3);
    box-shadow:         -6px 2px 27px 0 rgba(0,0,0,0.3);
}

.DTFC_LeftBodyWrapper, .DTFC_RightBodyWrapper {
    z-index: 2;
}

.DTFC_LeftBodyLiner, .DTFC_RightBodyLiner {
    overflow: hidden;
}

.table-foot td {
    background-color: #999 !important;
    border-color: grey !important;

}
.table-foot {
    border-top: 2px solid #333;
}

.dt-buttons.btn-group {
    float:none !important;
}

.dataTables_wrapper table.dataTable {
    margin: 0!important;
}

td {
    -webkit-user-select: text !important;
    -khtml-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

td:hover {
    cursor: text !important;
}