/* 
    Created on : Nov 2, 2018, 7:49:00 AM
    Author     : rvandevoorde
*/
body {    
    /*background-image:   url("../images/background.png");*/
    /*background-repeat:  repeat-x;*/           
    font-size:          11px;
    font-family:        Sans-Serif, Helvetica;
    background-color: lightgrey;
}

.title {    
    font-size:          18px;
    color:              green;
    height:             50px;
    width:              1200px;
    margin-left:        auto;
    margin-right:       auto;
    overflow:           hidden;
    border-bottom:      0px black solid;
    border-top:         0px black solid;
    border-left:        0px black solid;
    border-right:       0px black solid;
}

.content {    
    min-height:         720px;
    width:              1800px; 
    margin-left:        auto;
    margin-right:       auto;
    margin-top:         5px;
    overflow:           auto;
    border-bottom:      0px black solid;
    border-top:         0px black solid;
    border-left:        0px black solid;
    border-right:       0px black solid;
}

.content_header {
    text-align:         center;
    font-size:          24px;
    font-weight:        bold;
    color:              green;
    margin-bottom:      10px;
    border-bottom:      0px black solid;
    border-top:         0px black solid;
    border-left:        0px black solid;
    border-right:       0px black solid;
}

TABLE.default {
    background:         transparent;
    background-color:   whitesmoke;
    border-top-left-radius: 5px;
    border-bottom:      1px lightgrey inset;
    border-top:         1px green inset;
    border-left:        1px lightgrey inset;
    border-right:       1px green inset;
}

TR.default {
    border-bottom:      0px black solid;
    border-top:         0px black solid;
    border-left:        0px black solid;
    border-right:       0px black solid;    
}

TR.disabled {
    border-bottom:      0px black solid;
    border-top:         0px black solid;
    border-left:        0px black solid;
    border-right:       0px black solid;   
    background-color:   lightcoral;
}

TR.disabled:hover {
    cursor:             pointer;
}

th.default {    
    text-transform:     uppercase;
    background:         #bbbbbb; 
    background:         linear-gradient(top, #C1C5D2 0%, #D1DAF6 100%);  
    background:         -moz-linear-gradient(top, #C1C5D2 0%, #D1DAF6 100%); 
    background:         -webkit-linear-gradient(top, #C1C5D2 0%,#D1DAF6 100%); 
    box-shadow:         0px 0px 9px rgba(0,0,0,0.15);
    font-size:          14px;
    text-align:         center;    
    border-bottom:      1px black inset;
    border-top:         0px black solid;
    border-left:        0px black solid;
    border-right:       0px black solid; 
    cursor:             default;
    z-index:            -1;
}

TR.default:hover {
    background-color:   lightgreen;
    cursor:             pointer;
}

TR.EVEN {
    background-color:   #bbb;    
}

TR.ODD {
    background-color:   #ccc;
}

TR.EVEN:hover {
    background-color:   lightgreen;
    cursor:             pointer;
}

TR.ODD:hover {
    background-color:   lightgreen;
    cursor:             pointer;
}

TD.header {
    text-transform      :uppercase;
    background:         #bbbbbb; 
    background:         linear-gradient(top, #bbbbbb 0%, #dddddd 100%);  
    background:         -moz-linear-gradient(top, #bbbbbb 0%, #dddddd 100%); 
    background:         -webkit-linear-gradient(top, #bbbbbb 0%,#dddddd 100%); 
    box-shadow:         0px 0px 9px rgba(0,0,0,0.15);
    font-size:          14px;
    text-align:         center;    
    border-bottom:      1px black inset;
    border-top:         0px black solid;
    border-left:        0px black solid;
    border-right:       0px black solid; 
    cursor:             default;
}

TD.default {
    border-bottom:      activeborder solid 1px;
    border-color:       lightblue;
}

TD.default_disabled {
    border-bottom:      activeborder solid 1px;
    border-color:       lightblue;
    color: red;
}

TD.default_label {
    font-weight:        bold;
    font-size:          12px;
    border-color:       lightblue;
    vertical-align:     top;
}

TD.default_buttons {
    margin-top:         5px;    
    border-top:         1px #bbb solid;    
}

.debug {
    /*margin-top:         50px;*/
    background-color:   lightgrey;
    text-align:         justify;    
}

INPUT, TEXTAREA, INPUT[type="text"], INPUT[type="password"] {
    font-size:          12px;
}

INPUT:focus, TEXTAREA:focus, [type="text"]:focus, INPUT[type="password"]:focus {
    background-color:   #CCEDCC;
}

#box_table {        
    border-radius: 5px;        
    border: 1px black outset;
    background-color: white;           
}

h2.box_table {        
    margin-top: 0px;
    border: 0px black outset;
    background: lightgrey;     
    border-top-left-radius: 5px;        
    border-top-right-radius: 5px;
    text-align: center;        
    padding-top: 5px;  
    min-height: 25px;
}

th.box_table {                
    font-size: 12px;
    background: transparent;
    border: 0px black outset; 
    text-align: left;
}

tr.box_table {
    background: transparent;
    border: 0px black outset;    
}


.box_dashboard {
    min-height: 700px;
    border-radius: 5px;        
    border: 1px black outset;
    background-color: white;        
}

h2.dash_top {        
    margin-top: 0px;
    /*background: lightgrey;*/
    background: #bbbbbb;         
    background: linear-gradient(top, #c8def4 0%, #D1DAF6 100%);  
    background: -moz-linear-gradient(top, #c8def4 0%, #D1DAF6 100%); 
    background: -webkit-linear-gradient(top, #c8def4 0%,#D1DAF6 100%); 
    height: 25px;
    border-top-left-radius: 5px;        
    border-top-right-radius: 5px;        
    text-indent: 10px;         
    padding-top: 5px;
}

.box_top {
    width: 1175px;
    min-height: 240px;
    border-bottom: 1px lightblue inset;
    margin-left: 10px;
}

#pagination {
    float: right;
    display: inline;
    margin-top: 10px;    
}

.highlight {
    background-color: #a8cb17;
    color: black;
    cursor: pointer;
}

/* Dark mode config from here */


@media (prefers-color-scheme: dark) {
    body {    
        font-size:          11px;
        font-family:        Sans-Serif, Helvetica;
        background-color:   #333333;
        color:              #dddddd;
    }
    
    h2.box_table {        
        margin-top: 0px;
        border: 0px black outset;
        background: grey;     
        border-top-left-radius: 5px;        
        border-top-right-radius: 5px;
        text-align: center;        
        padding-top: 5px;    
    }    
    
    #box_table {        
        border-radius: 5px;        
        border: 1px black outset;
        background-color:  #444444;       
    }
    
    .box_dashboard {
        height: 625px;
        border-radius: 5px;        
        border: 1px black outset;
        background-color: #333333;
    }
        
    h2.dash_top {        
        margin-top: 0px;
        background: grey; 
        height: 25px;
        border-top-left-radius: 5px;        
        border-top-right-radius: 5px;        
        text-indent: 10px;         
        padding-top: 5px;
    }    

    TR.default:hover {
        background-color:   green;
        cursor:             pointer;        
    }

    TR.EVEN {
        background-color:   #bbb;    
    }

    TR.ODD {
        background-color:   #ccc;
    }

    TR.EVEN:hover {
        background-color:   green;
        cursor:             pointer;
    }

    TR.ODD:hover {
        background-color:   green;
        cursor:             pointer;
    }
   
    .debug {
        /*margin-top:         50px;*/
        background-color:   #444444;
        text-align:         justify;    
    }
    
    #syslog_error {
        color: red;
        font-weight: bold;
    }
    
    #syslog_reboot {
        color: purple;        
    }
    
    #syslog_login {
        color: #819FF7;        
    }
    
    #syslog_auto-update {
        color: navy;        
    }
    
    #syslog_debug {
        color: green;        
    }
    
    #error {
        color: red;
        border-bottom:      activeborder solid 1px;
        border-color:       lightblue;
    }
    
    #default_message {
        border-bottom:      activeborder solid 1px;
        border-color:       lightblue;
    }
    
    .box_dashboard {
        min-height: 700px;
        border-radius: 5px;        
        border: 1px black outset;
        background-color: #333333;        
    }
        
    h2.dash_top {        
        margin-top: 0px;
        background: #333333;
        /*background: #bbbbbb;         */
        background: linear-gradient(top, #c8def4 0%, #333333 100%);  
        background: -moz-linear-gradient(top, #c8def4 0%, #333333 100%); 
        background: -webkit-linear-gradient(top, #c8def4 0%,#333333 100%); 
        height: 25px;
        border-top-left-radius: 5px;        
        border-top-right-radius: 5px;        
        text-indent: 10px;         
        padding-top: 5px;
    }
    
    .highlight {
        background-color: #0086b3;
        color: black;
        cursor: pointer;            
    }
        
}