
body {
    color: black;
}

/* YHTEISET */
select,input {
    /* outline: none; */
    background-color: inherit;
    font-size: 110%;
    font-weight: bold;
    font-family: inherit;
    border: none;
    margin: 1mm;
    padding: 1mm;
}

label {
    display: block;
    font-weight: bold;
    font-size: 110%;
    margin-top: 5mm;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #ddd;
}

table.search {
    width: 100%;
    margin-top: 1cm;
    margin-bottom: 1cm;
    margin-left: 1cm;
    margin-right: 1cm;
    border-collapse: collapse;
    border-spacing: 0px;
    border: none;
}

table.search em {
    color: #914413;
    font-style: inherit;
    font-weight: bold;
}

table.search tr {
    cursor: pointer;
}
table.search tr:nth-child(2n) {
    background-color: #eee;
}
table.search tr:hover {
    background-color: #dea200;
}

table.search td {
    text-align: left;
    vertical-align: middle;
    padding: 1mm;
    font-size: 120%;
    font-weight: bold;
}

table.search td.left {
    font-weight: bold;
    width: 2cm;
}

/* tulosteet */
table.print {
    width: 100%;
    background-color: #ececec;
    border-radius: 0px 25px 0px 0px;
    border-collapse: collapse;
    box-shadow: 3px 3px rgba(0, 0, 0, 0.3);
}

table.print .info {
    font-size: 1cm;
    font-weight: bold;
}

table.print th {
    text-align: left;
    padding: 2mm;
}
table.print tr {
    padding-left: 4mm;
    padding-right: 4mm;
}
table.print tr:nth-child(2n) {
    background-color: #fcfcfc;
}

table.print td {
    padding: 1mm;
}

table.print td.hour {
    font-weight: bold;
    text-align: right;
    vertical-align: middle;
}

/* linestops */
table.print td.stoptime {
    width: 4em;
}
table.print td.stopid {
    width: 4em;
    font-weight: bold;
    cursor: pointer;
}
table.print td.stopname a {
    width: auto;
    font-weight: bold;
    cursor: pointer;
}
table.print td a:hover { color: blue; }

/* lang */
#ibstrap_lang { float: right; }
#ibstrap_lang > img {
    border: solid black 1px;
    margin-right: 2mm;
    cursor: pointer;
}

#iprint_filtersdiv {
    font-weight: bold;
}
#iprint_filtersdiv span {
    margin-left: 2mm;
    cursor: pointer;
}
#iprint_filtersdiv span.hidden {
    font-weight: normal;
    text-decoration: line-through;
}

/* realtime */
#irealtime_map {
    width: 100%;
    height: 100%;
    border: solid black 1px;
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
}

#irealtime_pane table {
    border: none;
    border-collapse: separate;
    border-spacing: 2mm;
}
#irealtime_pane td {
    text-align: left;
    vertical-align: top;
}
#irealtime_pane input[type="text"] {
    width: 90%;
    font-size: inherit;
}

#irealtime_tail a {
    font-weight: bold;
    padding: 1mm 4mm;
}

#irealtime_list {
    margin: 4mm 4mm;
    font-weight: bold;
}

#irealtime_tail a:hover {
    background-color: #eee;
}

#irealtime_toggle {
    color: #666;
    float: right;
}

#irealtime_suggest {
    z-index: 100;
}
#irealtime_suggest > div {
    padding: 2px;
    cursor: pointer;
    z-index: inherit;
}
#irealtime_suggest > div:hover { background-color: #dea200; }
#irealtime_suggest > div.highlight { background-color: #dea200; }

#irealtime_extras {
    text-align: right;
}
#irealtime_extras > table {
    border-spacing: 1px;
    margin-top: 2mm;
    margin-bottom: 2mm;
}
#irealtime_extras * {
    margin: 0px 0px 0px 5mm;
    padding: 0px;
    font-size: inherit;
    font-weight: inherit;
}

#irealtime_livediv {
    font-size: 80%;
    text-align: right;
    vertical-align: middle;
}

#irealtime_pane > table {
    margin-bottom: 5mm;
}

/* FOLI */
body.foli {

    font-family: 'Open Sans';
    font-weight: normal;
    font-size: 16px;

    background-color: #dea200;
    background-image: url('background');

    margin-top: 2cm;
    margin-left: 5cm;
    margin-right: 5cm;
}

body.foli #ibox {

}

/* NANONA */
body.nano {
    background-color: grey;

    font-family: 'Open Sans';
    font-weight: normal;
    font-size: 14px;

    /* background-color: #dea200; */
    margin-left: 5mm;
    margin-right: 5mm;
    margin-top: 0cm;
    margin-bottom: 0cm;

    padding-left: 5mm;
    padding-right: 5mm;
}

body.nano #ibox {
    padding: 5mm 1cm;
    background-color: white;
}

body.nano #iheader {
    color: white;
    background-color: black;
    font-weight: bold;
    font-family: inherit;
    margin: 0px;
    padding: 2mm 4mm;
}

body.nano #iheader a {
    color: grey;
    padding: 4mm 2mm;
}
body.nano #iheader a.highlight {
    color: inherit;
}
body.nano #ibuffer {
    background-color: #dea200;
    background-image: url('/tc/background');
    height: 2cm;
    margin: 0px;
}

body.nano input[type="text"] {
    outline: none;
    font-size: 16pt;
    font-weight: bold;
    font-family: inherit;

    width: 100%;
    padding: 4mm;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: solid grey 1px;
}

@media print {

    input { display: none; }
    #iheader, #ibuffer, #iprint_filtersdiv { display: none; }

    * {
	background-color: white !important;
	border: none !important;
	box-shadow: none !important;
	border-radius: 0px !important;
    }
    
    body {
	font-size: 8pt !important;
	margin: 0px !important;
	padding: 0px !important;
    }

    td {
	border: solid black 1px !important;
    }
    
    #ibox {
	width: 100% !important;
	padding: 0px !important;
    }
    table.print .info {
	font-size: 12pt !important;
    }
}
/*
  Local variables: ***
  mode: css ***
  coding: utf-8 ***
  file-coding-system: utf-8 ***
  c-basic-offset: 4 ***
  End: ***
*/
