body {
	background: #dce9f6 url(../images/body-bg.png) repeat-x;
	color: #373737;
	text-align: center;
	font-family: Tahoma, Verdana, sans-serif;
}

img { border: 0; }

a {
	color: #228dd1;
	text-decoration: underline;
}

a:hover {
	color: #000;
}

#doc {
	text-align: left;
	margin: 0 auto;
	width: 1133px;
	padding: 10px;
	background: #fff;
	border: 1px solid #b3d4ee;
}

#header {
	background: #93ceee url(../images/header-bg.jpg) no-repeat;
	color: #fff;
	height: 156px;
	overflow: hidden;
	position: relative;
	margin-bottom: 5px;
}

#header h1 {
	margin: 0;
	font-size: 24px;
	position: relative;
	top: 12px;
	left: 243px;	
	font-family: "MS Trebuchet", sans-serif;
}

#header h1, #header h1 a {
	color: #fff;
	text-decoration: none;
}

#header .lang-en, #header .lang-lv {
	display: block;
	float: right;
	font-size: 12px;
	color: #fff;
	padding-left: 18px;
	position: relative;
	top: -4px;
	margin-right: 7px;
}

#header-logo {
	display: block;
	position: relative;
	width: 47px; height: 92px;
	background: url(../images/header-logo.png) no-repeat;
	overflow: hidden;
	top: 20px; left: 88px;
	text-indent: -2000px;
}

#header .lang-en { background: url(../images/lang-en.png) no-repeat 0 2px; }
#header .lang-lv { background: url(../images/lang-lv.png) no-repeat 0 2px; }

#sidebar-right {
	width: 215px;
	padding-left: 15px;
	text-align: center;
	float: left;
}

#sidebar-right div {
	margin-bottom: 20px;
}

#sidebar {
	width: 220px;
	margin: 0; padding: 0;
	float: left;
}

#sidebar ul{
	width: 210px;
	margin: 0;
	padding: 0;
	list-style-type: none;
	margin-right: 25px;
}

#sidebar div {
	overflow: hidden;
	font-size: 12px;
	margin: 10px 0 0 0;
}

#sidebar li {
	display: block;
	margin: 0; padding: 0;
	border-bottom: 1px solid #b3d6ec;
}

#sidebar li a {
	display: block;
	margin: 0;
	padding:3px;
	*padding: 0 3px 3px 3px;	
	background-color: #e5eef6;
	border-left: 3px solid #f3f6f9;
	border-right: 3px solid #f3f6f9;
	font-size: 13px;
	color: #30465a;
	text-decoration: none;
}

#sidebar li a:hover {
	background: #D0DFF1;
	border-color: #EAEFF5;
}

#sidebar li.sel a {
	background: #248fd3 url(../images/nav-sel.png) no-repeat 205px 7px;
	color: #fff;
	border-color: #4cafef !important;
}

#sidebar li.sel a:hover {
	background: #248fd3 url(../images/nav-sel.png) no-repeat 205px 7px;
}

#sidebar li.first a {
	_background-position: 205px 10px;
}

#sidebar li.first a {
	border-top: 3px solid #f3f6f9;
	padding-top: 0;
}

#sidebar li.last {
	border-bottom: 0;
}	

#sidebar li.last a {
	border-bottom: 3px solid #f3f6f9;
}

#main {
	float: left;
	width: 655px;
}

#main li {
	font-size: 11px;
}

#main p {
	font-size: 11px;
	margin: 6px 0 6px 0;
	clear: both;
}
 
#main h2 {
	font-size: 16px;
	color: #003462;
	font-family: "MS Trebuchet", sans-serif;	
	line-height: .4;
	margin: 10px 0 10px 0;	
}

#main h3 {
	font-size: 14px;
	color: #fff;
	background: #93ceee;	
	font-family: "MS Trebuchet", sans-serif;	
	line-height: .4;
	margin: 5px 0 3px 0;
	padding: 7px 5px 7px 5px;
}

#main h2.news {
	margin: 30px 0 0 0;
}

#main h2.first {
	margin-top: 10px;
}

#main .date {
	color: #888;
	font-size: 11px;
}

#main table {
	border: 0;
	border-collapse: collapse;
	clear: both;
}

#main th {
	text-align: left;
	color: #fff;
	background: #93ceee url(../images/th-bg.png) repeat-x bottom left;
	font-size: 12px;
	font-weight: bold;
	padding: 4px;
	border-bottom: 1px solid #2783c8;
}

#main td {
	font-size: 11px;
	padding: 3px 12px 3px 4px;
	vertical-align: top;	
	background: #f2f6fa;
	border-bottom: 1px solid #fff;
	color: #747b81;
}

#main table .with-stripe {
	border-top: 3px solid #93ceee;
}

#main .tbl .stripe td {
	background: #e9f0f7;
}

#main .tbl .hi td, #main .tbl .stripe.hi td {
	color: #373737;
}

#main .gallery {
	float: left;
	width: 200px;
	margin: 10px 15px 15px 0;
	font-size: 13px;
}

#main .gallery img {
	border: 1px solid #e9f0f7;
	padding: 1px;
	float: left;
	margin-right: 8px;
}

#main .gallery img:hover {
	border: 1px solid #b3d5ec;
}

#main .gallery-photo {
	float: left;
	margin: 10px 10px 0 0;
}

#main .gallery-photo img {
	border: 1px solid #e9f0f7;
	padding: 1px;
}

#main .gallery-photo img:hover {
	border: 1px solid #b3d5ec;
}


#footer {
	font-size: 11px;
	margin-top: 30px;
	padding-left: 245px;
	background: url(../images/footer-bg.png) no-repeat bottom left;
	padding-bottom: 3px;
	padding-right: 3px;
}

#footer a {
	text-decoration: underline !important; 
}

#copyright {
	float: left;
}

#made {
	float: right;
}

#tehnio {
	background: url(../images/teh-icon.png) 0 3px no-repeat;
	padding-left: 11px;
}

.c {
	clear: both;
	overflow: hidden;
	height: 1px;
	margin-top: -1px;
}

.disciplines_switch {
	margin: 0 0 15px 0;
	padding: 3px 0 0 0;
	margin-top: -8px;
}

.print-switch {
	float: right;
}

.disciplines_switch li {
	display: inline;
	margin-right: -6px;
	padding-right: 10px;
	font-size: 14px !important;
	font-weight: bold;
}

.disciplines_switch li.sel a {
	color: #999;
}