/*
    Copyright (C) 2013, 2015, 2016, 2017, 2018, 2023 Phil Wieland

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

    phil@philwieland.com

*/

/* Railcam version */

BODY { color:white; background-color:black;
       font-family: Arial, Geneva, Helvetica, sans-serif;
     }
	  
a:visited
{
color:#ffff00;
}
a:link
{
color:#ffff00;
}

.div-on  { }
.div-off { display:none; }
          
.table-link:hover
{
    background-color: #00ff00;
    color:black;
    cursor: pointer;
}

.mini-button
	{
	height:14px;
	font-size: xx-small;
        font-weight: bold;
        border: 0px;
        background-color: #FFCC33;
	}
.mini-button:hover
{
    color:black;
    background-color: #ffff00;
}
.mini-button-location
{
    height:14px;
    font-size: x-small;
    color: black;
    border: 0px;
    background-color: #FFFF66;
}
.mini-button-location:hover
{
        background-color: #ffff00;
}
.button
	{
        font-weight: bold;
        border: 1px solid #006;
	}

.small-table
{
font-size: x-small; 
background-color:#222222;
}

.small-table-head
{
font-size: x-small;
font-weight: bold; 
background-color:#333333;
}

.small-table-vstp
{
font-family: arial,sans-serif;
font-size: x-small; 
color:#000000;
background-color:#FFCC00; /* Blue */
}

.small-table-freight
{
font-size: x-small; 
background-color:#993300;
}

.small-table-other
{
font-size: x-small; 
background-color:#333300;
}

.small-table-valid
{
font-size: x-small; 
background-color:#FFCC00;
}

.small-table-act
{
font-family: arial,sans-serif;
font-size: x-small; 
background-color:#002800; /* Green */
}

.small-table-cape
{
font-size: x-small; 
background-color:#6A0000; /* Red */
color:#FFFFFF;
}

.summ-table
{
font-size: xx-small;
background-color:#000000;
}
.summ-table-head
{
font-weight: bold; 
background-color:#333333;
}

.summ-table-cape
{
background-color:#5B0000; /* Red */
color:#ffffff;
}

.summ-table-idle
{
background-color:#444444;
}

.summ-table-act
{
background-color:#222222; 
}

.summ-table-move
{
background-color:#002277; 
}

.summ-table-gone
{
background-color:#004422; 
}

.summ-table-good
{
background-color:#004422; /* Green */
}

.summ-table-minor
{
background-color:#777700; /* yellow*/
}

.summ-table-major
{
background-color:#993300; /* Orange */
}

.summ-table-crit
{
background-color:#ff0000; /* Red */
color:#000000;
}

.control-panel
{
    color: black;
    background-color: #FFFFCC;
} 

.control-panel-off
{
    color: black;
    background-color: #dddddd;
    vertical-align: top;
} 

.control-panel-row
{
    color: #CCCCCC;
    background-color: #222222;
    height: 26px;
} 

.cp-button
{
    font-weight: bold;
    background-color: #ffff99;
    border: 1px solid #006;
}
.cp-button:hover
{
    color:black;
    background-color: #ffff00;
}

.plaintext
{
font-family: "courier","monospace";
}

a.linkbutton
{
    height:14px;
    color: #ffff00;
    border: 0px;
    text-decoration: none;
}
a.linkbutton-summary
{
    color: #ffff00;
    border: 0px;
    text-decoration: none;
    display:block;
}
a.linkbutton:hover
{
    background-color: #ffff00;
    color: #000000;
}
a.linkbutton-summary:hover
{
    background-color: #ffff00;
    color: #000000;
}

/* An <a> looks like a control panel button. */
a.linkbutton-cp
{
    font-weight: bold;
    background-color: #ffff99;
    border: 1px solid #006;
    color: black;
    text-decoration: none;
    padding: 2px 6px 2px 6px;
}
a.linkbutton-cp:hover
{
    background-color: #ffff00;
}

.symbols
{
float: right;
font-weight: bold;
text-align:right;
}
.status0
{
color: black;
background-color: #ffff00;
}
.status1
{
color: black;
background-color: yellow;
}
.status2
{
color: #ffffff;
background-color: red;
}
.status3
{
color: #ffffff;
background-color: black;
}
.status-text
{
text-align:right;
}
.status-head
{
text-align:center;
}

/* Train info table on the train page. */
.train-table tr
{
background-color: #222222;
}

/* Association info table on the train page. */
.train-table-small tr
{
font-size: x-small;
background-color: #222222;
}

/* Schedule table on the train page. */
.sched-table tr
{
font-size: x-small; 
background-color:#222222;
}

table.result-table
{
    font-size: x-small; 
    border-spacing: 2px;
}
table.result-table td 
{
    background:#555511;
    padding: 1px 4px;
}
table.result-table th 
{
    font-size: x-small; 
    background:#222222;
    font-weight: bold;
}
/* Cells in even rows (2,4,6...) are one color */ 
tr.result-table:nth-child(even) td { background: #111111; }

/* Cells in odd rows (1,3,5...) are another (excludes header cells)  */ 
tr.result-table:nth-child(odd)  td { background: #222200; } 

.help-text-box
{
width:1200px;
background-color:#222222;
}

.licence
{
width: 1200px;
font-size: x-small;
background-color:#222222;
}


