.dataTables_scrollBody {
    border-top: 1px solid #d8e3e9;
}

.fixedHeader-floating {
    display: none;
}

.tablesearch {
    padding-top: 0.25rem;
    padding-left: 0.25rem;
}
.tablesearch input {
    border: none;
    border: 1px solid lightgrey;
    font-weight: normal;
    color: #333;
    min-width: 60px;
    width: 80%;
    max-width: 80%;
    margin: 0;
    padding: 0.1rem;
    padding-left: 0.25rem;
    padding-right: 0;
    margin-bottom: 0.25rem;
}

.DTFC_LeftBodyWrapper,
.DTFC_LeftHeadWrapper {
    border-right: 1px solid #d8e3e9;
    background-color: #fff;
}

.sorting span:after {
    content: '▾';
    color: #fff !important;
}
.sorting_asc,
.sorting_desc {
    color: #000 !important;
}

.sorting_asc span:after {
    content: '▴';
}
.sorting_desc span:after {
    content: '▾';
}

.dataTables_scrollBody .dataTable {
    margin-top: -3px !important; /* fix overflowing borders */
}
.DTFC_LeftBodyWrapper .dataTable,
.DTFC_RightBodyWrapper .dataTable {
    margin-top: -2px !important; /* fix overflowing borders */
}

.dataTables_empty {
    padding: 1rem;
    vertical-align: middle;
}

.dataTables_empty p,
.dataTables_empty h2 {
    padding: 0;
    margin: 0;
}

.dataTable {
    table-layout: fixed !important;
}

.max-width-5,
.max-width-10,
.max-width-15,
.max-width-17,
.max-width-20,
.max-width-25,
.max-width-30,
.max-width-35,
.max-width-40,
.max-width-45,
.max-width-50,
.max-width-55,
.max-width-60,
.max-width-65,
.max-width-70,
.max-width-75,
.max-width-80,
.max-width-85,
.max-width-90 {
    display: table-cell !important;
    white-space: nowrap !important;
    width: 90% !important;
    max-width: 90% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.max-width-5 {
    width: 5% !important;
    max-width: 5% !important;
}
.max-width-10 {
    width: 10% !important;
    max-width: 10% !important;
}
.max-width-15 {
    width: 15% !important;
    max-width: 15% !important;
}
.max-width-17 {
    width: 17% !important;
    max-width: 17% !important;
}
.max-width-20 {
    width: 20% !important;
    max-width: 20% !important;
}
.max-width-25 {
    width: 25% !important;
    max-width: 25% !important;
}
.max-width-30 {
    width: 30% !important;
    max-width: 30% !important;
}
.max-width-35 {
    width: 35% !important;
    max-width: 35% !important;
}
.max-width-40 {
    width: 40% !important;
    max-width: 40% !important;
}
.max-width-45 {
    width: 45% !important;
    max-width: 45% !important;
}
.max-width-50 {
    width: 50% !important;
    max-width: 50% !important;
}
.max-width-55 {
    width: 55% !important;
    max-width: 55% !important;
}
.max-width-60 {
    width: 60% !important;
    max-width: 60% !important;
}
.max-width-65 {
    width: 65% !important;
    max-width: 65% !important;
}
.max-width-70 {
    width: 70% !important;
    max-width: 70% !important;
}
.max-width-75 {
    width: 75% !important;
    max-width: 75% !important;
}
.max-width-80 {
    width: 80% !important;
    max-width: 80% !important;
}
.max-width-85 {
    width: 85% !important;
    max-width: 85% !important;
}
.max-width-90 {
    width: 90% !important;
    max-width: 90% !important;
}

.clickable {
    cursor: pointer;
}

/* group and selected */
.dataTable tr.group {
    cursor: pointer;
    height: 40px;
    background-color: #fafafc;
}
.dataTable tr.group > td {
    font-size: 135%;
    padding: 1rem;
}
.dataTables_scrollBody tr.selected,
.DTFC_LeftBodyWrapper .dataTable tr.selected {
    background-color: #d8dce5 !important;
}

/* group open/close */
.dataTables_scrollBody tr:not(.hiddenContent),
.DTFC_LeftBodyWrapper .dataTable tr:not(.hiddenContent) {
    border-top: 1px solid #d8dce5 !important;
    border-bottom: 1px solid #d8dce5 !important;
}
.dataTables_scrollBody tr.group:after,
.DTFC_LeftBodyWrapper .dataTable tr.group:after {
    margin-left: -3rem;
    width: 30px;
    left: 90%;
    top: 0.5rem;
    font-size: 250%;
    font-weight: normal;
    position: relative;
    color: #769bd2;
    overflow: hidden;

    content: '\E5CE'; /* expand_less unicode */

    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}
.hidden .dataTables_scrollBody {
    overflow-y: hidden;
}

.tapahtumat-list .dataTables_scrollBody {
    overflow-x: hidden !important;
}
.dataTables_scrollBody tr.group:after:hover,
.DTFC_LeftBodyWrapper .dataTable tr.group:after:hover {
    color: #014c8c;
}
.dataTables_scrollBody tr.group-open:after,
.DTFC_LeftBodyWrapper .dataTable tr.group-open:after {
    content: '\E5CF'; /* expand_more unicode */
}
.dataTables_scrollBody tr.group-closed:after,
.DTFC_LeftBodyWrapper .dataTable tr.group-closed:after {
    content: '\E5CE'; /* expand_less unicode */
}

/* view spesific */
.tapahtumat-list .dataTables_scrollHead {
    padding-left: 0.5rem !important;
}

.hiddenContent {
    visibility: hidden;
    height: 0px !important;
}
.hiddenContent td,
.hiddenContent span {
    height: 0px !important;
    line-height: 0px !important;
}
