html {
font-size:76%; /* set default font size */
font-family: Verdana, Arial, Helvetica, sans-serif; /* set default font */
}
@media screen {
html {
	height:100%; /* fix height to 100% for IE */
	max-height:100%; /* fix height for other browsers */
	padding:0; /*remove padding */
	margin:0; /* remove margins */
	border:0; /* remove borders */
	background:#fff; /*color background - only works in IE */
	/* hide overflow:hidden from IE5/Mac */ 
	/* \*/ 
	overflow:hidden; /*get rid of scroll bars in IE */
	/* */ 
	}
body {
	height:100%; /* fix height to 100% for IE */
	max-height:100%; /* fix height for other browsers */
	overflow:hidden; /*get rid of scroll bars in IE */
	padding:0; /*remove padding */
	margin:0; /* remove margins */
	border:0; /* remove borders */
	}
#content {
	overflow:auto; /* add scroll bars as necessary */
	position:absolute; /* position absolutely */
	z-index:3; /* If required to cover any other divs */
	top:100px; /* a value to miss the header */
	bottom:50px; /* a value to miss the footer */
	left:250px; /* a value to miss any navigation div */
	right:0; /* this will put the scroll bar at the right of the page */
	background:#fff; /* set the background color */
	 font-size:1.2em;
	 padding: 10px;
	}
* html #content {
	height:100%; /* full screen height */
	width:100%; /* full screen width 8/
	top:0; /* place the content at the top */
	left:0; /* and left of the body */
	border-top:100px solid #fff; /*add a top border to miss the header 
				(this is SUBTRACTED from the 100% height on quirks mode) */
	border-bottom:50px solid #fff; /*add a bottom border to miss the footer 
				(this is SUBTRACTED from the 100% height on quirks mode) */
	border-left:200px solid #fff; /*add a left border to miss any navigation div 
				(this is SUBTRACTED from the 100% width on quirks mode) */
	}
#header {position:absolute; margin:0; top:0; left:0; 
display:block; width:100%; height:100px; font-size:1.5em;
background: #a72c38; background-position:0 0; 
/* url(03.jpg) background-repeat:no-repeat; */
 z-index:5; 
overflow:hidden; color:#fff;}
#foot {position:absolute; margin:0; bottom:0; left:0; 
display:block; width:100%; height:50px; font-size:1em; 
z-index:5; overflow:hidden; background:#a72c38; color:#fff;}
#nav {position:absolute; left:0; top:100px; bottom:50px; 
width:250px; background: #a72c38; 
/* url(02.jpg) background-repeat:no-repeat; */
font-size:1.2em; z-index:4; overflow:auto; }

* html #nav {height:100%; top:0; bottom:0; border-top:100px solid #fff; 
 border-bottom:50px solid #fff; color:#fff;}
} /* end of media screen */
#content {text-align:justify; }
#content p {padding:10px;}
.bold {font-size:1.2em; font-weight:bold;}
.c {text-align:center;}
img {border:none; vertical-align:middle;}
h1,h2,h3,h3,b {color: #a72c38;}
a:link {color: #014d6d;}
a:visited {color:#014d6d; font-style: italic; }
a:hover {background:#014d6d; color:#fff; font-weight:bold;}
.muut {font-size:76%; border-top: 1px dotted #a72c38; clear:both; }
#foot {
  background: #a72c38;
  padding-left:250px;
  color: #fff; 
  font-size:0.8em; 
  text-align:left; 
}
#foot a:link, #foot a:visited {color:#fff; font-style: normal;}

table#org { width: 100%; }
table#org tr { text-align:center;  }

#nav ul {list-style-type: none; }
#nav p {text-align:center;  color:#fff; font-size:1.3em;}
a.nav, a.nav:visited, a#chosen {margin-left:-20px; display:block; width:200px; height:25px; 
background: #a72c38; color:#fff; border:1px solid #a72c38; text-decoration:none; 
font-style: normal;
text-align:left; line-height:25px; font-weight:bold;}
a#chosen {background:#fff; color:#a72c38;}
a.nav:hover {background:#fff; color:#014d6d;}

.logo {
 padding-top: 0.5em;
 padding-right: 0.5em;
 font-size: 1.5em; color: #ffffff;
   text-align: right; 
}
.logobottom { font-size: 1em; color: #ffffff;
  text-align: right;
 padding-right: 0.5em;
}
fieldset.info {background:#ffffaa; text-align: justify; }
.legend {color:#146088; float:right; 
font-weight:bold; font-variant:small-caps; padding: 0px 0px 10px 20px; } /* t r b l */
table.inv {
border-style: groove;
width:80%;
margin-left:10%;
page-break-inside: avoid;
}
.r {text-align: right;}
.l {text-align: left;}
.invhead {text-align:center; font-size: 1.5em;}
.inv b {font-size: 1.2em;}
table.prog {
/*  text-align:center; */
/*  border: 1px solid #146088; */
  width:90%;
  position:relative;
  left: 5%;
}
table.prog td {background:#fff; padding:10px;}
table qtab, table.prog2 {background: #ffff99;padding: 5px;}
table.prog2 td {padding:5px; vertical-align: top;}
table.prog2 td.time { width:10%;}
table.prog2 td.slot { background: #ffffff; }
table.prog2 td.slot a:link,
table.prog2 td.slot a:visited
 {color:#a72c38; font-style: normal; font-weight:bold; text-decoration:none;}
table.prog2 td.slot a:hover
 {background: #a72c38; color:#ffffff; font-style: normal; font-weight:bold; text-decoration:none;}
table.qtab td {
background-color: #ffffff;
padding: 5px;
border: none; /*thin solid #a72c38; */
text-align: left; 
}
#qtabc {
background-color: transparent;
}
img.eulogo {float:right; padding: 5px;}
.clear {clear:both; }

@media print {

#foot, #nav,.valid {display:none;} /* ei trüki menüüd ja footerit */
html, body, #header {background-color: #ffffff;}
#content {margin-left: 0; }
a {text-decoration:underline; color:#000000; background:#ffffff; }
.logo {color:#000000; font-size:1.2em;
  font-weight:bold; }
.logobottom {color:#000000; font-size:1em;
  font-weight:normal; border-bottom: 1px solid #000000;}
table.prog td {border: 1px dotted #000000;}
table.timetable td, table.prog2.td {border: 1px solid #000000;}
table.timetable td.empty {border:none;}
table.prog2, table.timetable {background: #cfcfcf; }
.slot {background: #ffffff; }
.pgbr {page-break-before: always; }
h1,h2,h3,h4 {color: #000000;}
}

