/*!
Trunking Recorder
Copyright (c) 2024 Jason Veenstra

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
to use or copy the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

:root {
    color-scheme: dark;
}

body {
    background-color: #000000;
    color: #ffffff;
    font: 90%/1.45em "Helvetica Neue",HelveticaNeue,Helvetica,Verdana,Arial,sans-serif;
    margin: 10px;
    padding: 0px;
}

h1 {
    font: 1.5em "Helvetica Neue",HelveticaNeue,Helvetica,Verdana,Arial,sans-serif;
    margin: 5px;
}

#table {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ShowButton {
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    padding: 0.5em;
    margin-left: 10px;
    margin-top: 0.5em;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    *cursor: hand;
    border: 1px solid transparent;
}

#header {
    position: fixed;
    margin: 0px;
    top: 0px;
    left: 0px;
    display: block;
    width: 100%;
    height: 60px;
    z-index: 999;
    background: #333333;
}

    #header:after {
        background-color: #484848;
        content: "";
        display: block;
        height: 10px;
        position: absolute;
        top: 60px;
        width: 100%;
        z-index: 999;
        clear: both;
    }

#headeroffset {
    padding-top: 70px;
}

.content {
    margin: 0px;
    top: 0px;
    display: block;
    z-index: 1;
    width: 100%;
    word-wrap: break-word;
    position: relative;
    font: 90%/1.45em "Helvetica Neue",HelveticaNeue,Helvetica,Verdana,Arial,sans-serif;
    padding-bottom: 10px;
}

#audioplayer {
    margin: 10px 10px 0px 10px;
}

#nowplaying {
    margin: 10px 10px 0px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#wrapper {
    overflow: hidden;
}

#leftwrapper {
    float: left;
    width: 100%;
    max-width: 400px;
    min-width: 250px;
}

#nowplayingwrapper {
    float: left;
    width: 100%;
    max-width: 500px;
    min-width: 250px;
}

.logo {
    float: left;
}

.headeritem {
    display: inline-block;
    margin: 10px 5px 10px 5px;
    white-space: nowrap;
}

#headingtitle {
    float: right;
    margin: 20px;
    width: 225px;
}

#headingtitleadmin {
    float: right;
    margin: 20px;
    width: 400px;
}

.playbackheader {
    display: inline;
}

@media screen and (max-width:1190px) {
    #headingtitle {
        display: none;
    }

    .searchlabel {
        display: none;
    }
}

@media screen and (max-width:920px) {
    select[name=Talkgroups] {
        max-width: 200px;
        white-space: nowrap;
    }

    .DTTT_container {
        display: none;
    }

    #header {
        height: 110px;
    }

    #headeroffset {
        padding-top: 120px;
    }

    #header:after {
        top: 110px;
    }

    .headeritem {
        display: block;
        margin: 10px 10px 10px 0px;
        white-space: normal;
    }
}

.DTbuttons .ui-button {
    margin: 0.5em;
}

div.DTTT_container {
    margin-top: 0.25em;
}

.DTLength {
    display: inline-block;
    margin: 10px 10px 10px 0px;
    white-space: nowrap;
}

.dataTables_wrapper .dataTables_processing {
    z-index: 999;
}

.dataTables_wrapper .dataTables_paginate .fg-button {
    min-width: 3.0em;
}

#datepicker {
    color: #aaa;
    background-color: #000;
    background-image: linear-gradient(#111 1%, #000 15%);
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: text;
    height: 32px;
    margin: 0;
    overflow: hidden;
    padding: 0 5px;
    position: relative;
    box-sizing: border-box;
    font-size: 13px;
    vertical-align: middle;
    width: 320px;
}

.ui-accordion .ui-accordion-content {
    padding: 1em;
}

.searchselect {
    min-width: 200px;
}

.searchlabel {
    display: none;
    margin-right: 0.5em;
}

#SelRadiousers, #SelTalkgroups {
    width: 300px;
    max-width: 400px;
    white-space: nowrap;
}

.select2-container {
    margin-right: 0.5em;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #007fff;
    color: white;
}

.select2-container .select2-selection--single {
    height: 32px;
}

#alldates {
    display: inline;
}

.searchcheckbox.ui-state-active, .searchcheckbox.ui-widget-content .searchcheckbox.ui-state-active, .searchcheckbox.ui-widget-header .searchcheckbox.ui-state-active {
    background: #0972a5 none repeat scroll 0 0;
    border: 1px solid #003eff;
    color: #fff;
    font-weight: normal;
}


.no-fouc {
    display: none;
}

.admindiv {
    margin-bottom: 25px;
}

.adminstreamdiv {
    margin: 10px;
}

.adminheading {
    font: 1.5em "Helvetica Neue",HelveticaNeue,Helvetica,Verdana,Arial,sans-serif;
    margin-bottom: 10px;
    border-bottom: 8px solid #484848;
}

.adminbutton {
    background: #007fff none repeat scroll 0 0;
    border: 1px solid #003eff;
    color: #fff;
    font-weight: normal;
    font-size: 0.9em;
}

.paginate_input, select[name="table_id_length"] {
    height: 27px;
    width: 50px;
    background-color: black;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: text;
    color: #999;
}

div.dt-button-collection.fixed {
    background-color: rgba(255, 255, 255, 0.3);
}

span.dt-down-arrow {
    display: none;
}

#datepicker:disabled {
    background-color: #313131;
    cursor: default;
    background-image: none;
}

.RowDetail {
    white-space: normal;
    padding-left: 50px;
}

table.dataTable td.dt-control {
    text-align: center;
    cursor: pointer;
}

    table.dataTable td.dt-control:before {
        height: 1em;
        width: 1em;
        margin-top: -9px;
        display: inline-block;
        color: white;
        border: 0.15em solid white;
        border-radius: 1em;
        box-shadow: 0 0 0.2em #444;
        box-sizing: content-box;
        text-align: center;
        text-indent: 0 !important;
        font-family: "Courier New", Courier, monospace;
        line-height: 1em;
        content: "+";
        background-color: #0972a5;
    }

table.dataTable tr.dt-hasChild td.dt-control:before {
    content: "-";
    background-color: #d33333;
}

table.dataTable td.CallText:before {
    background-color: #31b131;
}

.CallTextInput {
    width: 100%;
    min-width: 250px;
    min-height: 150px;
    font-weight: normal;
    font-size: 0.9em;
    margin: 10px 0 10px 0;
}

table.dataTable tbody tr.CallPlayed td.dt-control:before {
    border: none;
}
