/* Overwrite default browser styles */
ul {
    padding-left: 0px;
    list-style: none;
}

/* Overwrite Datatable default */
table.dataTable.compact thead th{
    padding: 4px 4px;
}
th.column_border_left,td.column_border_left {
    border-left: solid;
}
th input[type=text] {
    width: 98%;
    padding-left: 1%;
    padding-right: 1%;
}
#resize_wrapper {
    position: absolute;
    top: 5.2em;
    left: 0.3em;
    right: 0.3em;
    bottom: 0.2em;
}
input.searching {
    outline: solid dodgerblue 2px;
}
.dataTables_wrapper .dataTables_length {
    padding-left: 30px;
    height: 30px;
    line-height: 30px;
}

#searchNotice {
    float: left;
    padding-left: 30px;
    height: 30px;
    line-height: 30px;
    color: dodgerblue;
}

/* Buttons */
/* button.dt-button.buttons-columnVisibility:not(.active), */
button.dt-button.buttons-groupVisibility.active,
button.dt-button.buttons-schemaVisibility.active,
button.dt-button.buttons-allVisible.active {
    background: darkgray !important;
    color: gainsboro !important;
    box-shadow: inset 1px 1px 3px #666;
}
button.dt-button,
div.dt-button,
a.dt-button,
input.dt-button {
    padding: 0.2em 1em;
}

/* Checkbox slider */
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 22px;
}
/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 1px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}
input:checked + .slider {
    background-color: dodgerblue;
}
input:focus + .slider {
    box-shadow: 0 0 1px dodgerblue;
}
input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}
/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}
/* Adding text in the toggle button */
.switch .labels {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    font: initial;
    transition: all 0.4s ease-in-out;
}
.switch .labels::after {
    content: attr(data-off);
    position: absolute;
    right: 5px;
    color: gray;
    opacity: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease-in-out;
}
.switch .labels::before {
    content: attr(data-on);
    position: absolute;
    left: 5px;
    color: #ffffff;
    opacity: 0;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.4);
    transition: all 0.4s ease-in-out;
}
.switch input:checked~.labels::after {
    opacity: 0;
}
.switch input:checked~.labels::before {
    opacity: 1;
}
.switch hr {
    width: 14px;
    position: absolute;
    background-color: gray;
    color: gray;
    border-color: gray;
    border-width: 1px;
    border-style: solid;
    margin: 0;
    left: 27px;
    bottom: 50%;
    transform:rotate(-45deg);
    -ms-transform:rotate(-45deg);
    -moz-transform:rotate(-45deg);
    -webkit-transform:rotate(-45deg);
    -o-transform:rotate(-45deg);
    transition: all 0.4s ease-in-out;
}
.switch input:checked~hr {
    opacity: 0;
}

/* Tooltips */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
    color: rgb(255, 174, 0);
}
.tooltip .tooltiptext {
    visibility: hidden;
    width: 300px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 6px;
    top: -5px;
    position: absolute;
    z-index: 1;
}
.tooltip .tooltiptext.right {
    left: 105%;
}
.tooltip .tooltiptext.left {
    right: 105%;
}
.tooltip:hover .tooltiptext {
    visibility: visible;
}