html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,
del, dfn, font, img, ins, kbd, q, s, samp,small, strike, tt, var,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
	list-style:none;
}

html, body{
	width:100%;
	height:100%;
	background:#fff;
	font-family: georgia, Times New Roman, serif;
	font-size: 13px;
}
body{
	background:#fefefa url(../img/body-background.png) repeat-x;
}

#container{
	position:relative;
	width:1010px;
	margin:0 auto;
	min-height:100%;
	height:auto !important;
	height:100%;
}

#header{
	margin-bottom:60px;
	height:80px;
}
#rightcol{
	float:right;
	width:800px;
}
#leftcol{
	float:left;
	width:200px;
}

#footer{
	display:block;
	clear:both;
	float:left;
	background:url(../img/todtod.png) repeat-x;
	margin:50px 0 0 120px;
	width:70%;
	padding:20px 0 20px 0;
	color:#bfbebe;
	font-size:11px;
}


/* header elements */
#head{
	padding:45px 0 0 25px;
	float:left;
}
#head h1 a{
	display:block;
	width:379px;
	height:61px;
	background:url(../img/kriic-logo.gif) no-repeat;
	text-indent:-4500px
}
#main-thumbs {
	padding-top:40px;
	float:right;
}
#main-thumbs li{
	float:right;
	display:inline;
	width:98px;
	height:67px;
	background:url(../img/header-thumb.png) no-repeat;
	padding:6px 0 0 6px;
}
#main-thumbs li img{
	width:86px;
	height:55px;
}

#main-thumbs li.divide{
	width:1px;
	height:36px;
	background:url(../img/header-div.png) no-repeat;
	margin-top:14px;
	text-indent:-4500px
}

#header p{
	clear:both;
	text-align:right;
	font-size:11px;
	padding-right:15px;
	color:#377055;
}
#lang{
	display:block;
	position:absolute;
	width:190px;
	text-align:center;
}

#lang a{
	font-family:Arial,Helvetica,sans-serif;
	font-size:11px;
	text-decoration:none;
	color:#b9cdc4;
}
#lang a.active,#lang a:hover{
	color:#779e8c;
}
#lang a.latvian{
	background:url(../img/dot3.png) no-repeat right center;
	padding-right:5px;
}

#nav{
	margin:60px 0 20px 0;
}
#nav li a{
	display:block;
	height:30px;
	width:165px;
	line-height:30px;
	text-decoration:none;
	padding-right:20px;
	text-align:right;
}
#nav li a.active{
	color:#ff0033;
}
#nav li.b1 a{
	background:url(../img/bullet-1.png) no-repeat right center;
}
#nav li.b1 a:hover, #nav li.b1 a.active{
	background-color:#edf7fa;
}
#nav li.b2 a{
	background:url(../img/bullet-2.png) no-repeat right center;
}
#nav li.b2 a:hover, #nav li.b2 a.active{
	background-color:#f1f7e4;
}
#nav li.b3 a{
	background:url(../img/bullet-3.png) no-repeat right center;
}
#nav li.b3 a:hover, #nav li.b3 a.active{
	background-color:#fcf1db;
}
#nav li.b4 a{
	background:url(../img/bullet-4.png) no-repeat right center;
}
#nav li.b4 a:hover, #nav li.b4 a.active{
	background-color:#fdeaeb;
}
#nav li.b5 a{
	background:url(../img/bullet-5.png) no-repeat right center;
}
#nav li.b5 a:hover, #nav li.b5 a.active{
	background-color:#f2eef3;
}
#nav li.b6 a{
	background:url(../img/bullet-6.png) no-repeat right center;
}
#nav li.b6 a:hover, #nav li.b6 a.active{
	background-color:#e9ede0;
}

.navigation{
	clear:both;
	display:block;
	width:100%;
	height:20px;
	text-align:center;
	padding-top:20px;
}

#way{
	display:block;
	height:10px;
	margin:0 10px 40px 0;
	font-size:12px;
	line-height:14px;
	color:#ccc;
}

#way a{
	display:block;
	float:right;
	font-size:12px;
	text-decoration: none;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color:#8d8d8d;
}
#way a:hover{
	color:#ff0033;
}
#way span{
	margin:0 4px 0 4px;
	display:block;
	float:right;
}

#link-home{
	background:url(../img/ico-home.png) no-repeat;
	display:block;
	float:right;
	margin-top:3px;
	width:11px;
	height:9px;
	line-height:2px;
	text-indent:-3700px;
}
#link-home:hover{
	background:url(../img/ico-home.png) 0 -9px no-repeat;
}
/* styles */
a {
	color:#347a8e;
}
a:hover{
	color:#ff0033;
}

a.more-link{
	text-decoration:none;
}

h2{
	margin-bottom:10px;
	color:#347a8e;
}
h2.smallmargin{
	margin-bottom:0px;
}
h2, h2 a{
	font-size:18px;
	line-height:24px;
	font-weight:normal;
	text-decoration:none;
}
h2 a.important{
	color:#ff0033;
}

h3{
	font-size:16px;
	color:#347a8e;
	font-weight:normal;
	margin:10px 0 10px 0;
}

.dateline{
	font-size:10px;
	color:#ccc;
}

a.more-link{
	display:block;
	position:absolute;
	bottom:10px;
	font-size:11px;
	font-weight:bold;
	text-decoration:none;
}

/* tabula 

#rightcol th {
	font-size: 12px;
	color: #FFF;
	background-color: #06C;
	padding: 8px 4px;
	border-bottom: 1px solid #015ebc;
}

#rightcol table {
	border-spacing:1px;
	background-color:#E7E7E7;
	margin:10px 0 10px 0;
}

#rightcol td, th {
	padding: 4px;
}

#rightcol tbody tr		{
	background-color:#FFF; 
	text-align:left;
}
#rightcol tbody tr td { 
	height:50px;
	background: #FFF;
	border: 1px solid #FFF;
}
*/
/* bloki */

.block-thumb{
	height:100px;
}

.block{
	position:relative;
	font-family:Arial,Helvetica,sans-serif;
	font-size:11px;
	color:#343434;
}
.text-2column{
	background:url(../img/dotdot.png) top left repeat-y;
	width:45%;
	padding:0px 15px 15px 15px;
	float:left;
	margin-bottom:20px;
	height:180px;
}
.text-1column{
	background:url(../img/dotdot.png) top left repeat-y;
	width:97%;
	padding:0px 15px 25px 15px;
	float:left;
	margin-bottom:20px;
	min-height:120px;
	height:auto !important;
	height:120px;
}
.text-freecolumn{
	background:url(../img/dotdot.png) top left repeat-y;
	width:97%;
	padding:0px 15px 5px 15px;
	float:left;
	margin-bottom:20px;
	font-size:11px;
}
.text-fulltext{
	background:url(../img/dotdot.png) top left repeat-y;
	padding:0px 15px 15px 15px;
	float:left;
	font-size:12px;
}

.text-fulltext h2 a{
	font-size:24px;
	displaY:block;
	margin-bottom:40px;
}

.block li{
	margin:3px 0 8px 15px;
	padding-left:17px;
	background:url(../img/bullet.png) no-repeat left 5px;
}

.block img{
	border:3px solid #c6dae0;
	margin:2px 0px 8px 30px;
}

.block img.alignleft{
	float:left;
	margin: 0 15px 5px 0;
}

.block .gallery{
	margin:15px;
}


.slider{
	display:none;
	padding:4px 0 4px 10px;
	margin:10px 0 0 0;
	border-left:3px solid #eee;
}

.sliderbut {
	margin-top:10px;
	background:url(../img/read-more.png) no-repeat left 4px;
	padding-left:10px;
	font-size:11px;
	cursor:pointer;
	color:#347a8e;
	width:120px;
}
.hover{
	color:#ff0033;
}


/*calendar */

#calendar {
	width: 150px;
	font: normal 12px/20px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	color: #a5a5a5;
	text-align: center;
	margin-left:35px
}

#calendarbig {
	display:block;
	width:350px;
	font: normal 12px/20px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	color: #a5a5a5;
	text-align: center;
	margin:0 auto 50px auto;
}


#calendar caption, #calendarbig caption, #leftcol h2{
	color: #347a8e;	 
	text-align: right;
	font-family: georgia, Times New Roman, serif;
	padding-bottom:8px;
}
#calendarbig caption {
	color: #347a8e;	
	text-align: center;
	font-family: georgia, Times New Roman, serif;
	padding-bottom:8px;
}

#calendar caption a, #leftcol h2{
	text-decoration:none;
	background: url(../img/bullet-1.png) no-repeat right center;
	padding-right:20px;
	margin-right:1px;
}
#leftcol h2{
	background: url(../img/bullet-4.png) no-repeat right center;
	font-size:12px;
	margin:20px 17px 0 0;
}
#leftcol .banner{
	margin-top:10px;
	display:block;
	width:200px;
	text-align:center;
}

#calendarbig caption a{
	text-decoration:none;
}

#calendar th, #calendarbig th {
	font: bold 11px/20px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	color: #616B76;
}

#calendar td.today a, #calendarbig td.today a{
	color: #ff0033;
	font-weight: bold;
}

#calendar td{
	width: 20px;
	height: 20px;
	text-align: center;
}
#calendarbig td{
	width:25px;
	height:25px;
	text-align: center;
}

#calendar td a, #calendarbig td a{
	text-decoration: none;
	font-weight: bold;
	display: block;
}

#cal-prev{
	float:left;
}
#cal-next{
	float:right;
}


/* menu  */
#subMenusContainer{
	display:block;
	width:500px;

}

#subMenusContainer a{
	height:30px;
	line-height:30px;
	text-decoration:none;
	margin-left:5px;
	padding:6px 5px 6px 18px;
	background:#ecf1f2 url(../img/bullet-7.png) no-repeat 5px center;
}

#nav a{
	margin:0;
}

#subMenusContainer a, #nav li li a{
	text-align:left;
}

#subMenusContainer a:hover, #subMenusContainer a:focus, #subMenusContainer a.subMenuParentBtnFocused{
	background-color:#e1eaeb;

}

.smOW{ 
	display:none; 
	position: absolute; 
	overflow:hidden;
	padding:0 2px;
	margin:0 0 0 2px;
}

#subMenusContainer ul, #subMenusContainer ol { 
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1em;
	border:1px solid #cbdee2;
	background:#ecf1f2;
}

#subMenusContainer li{
	list-style: none;
}

#subMenusContainer{	display:block; 	position:absolute;	top:0;	left:0;	height:0;	overflow:visible;	z-index:100; }


#nav li li{	float:none; }

#nav li li a{ /* Just submenu links*/	
	position:relative;
	float:none;
}

#nav li ul {
	position: absolute;
	width: 10em;
	margin-left: -1000em;
}
#nav li ul ul { margin: -1em 0 0 -1000em; }
#nav li:hover ul ul {	margin-left: -1000em; }
#nav li:hover ul{	margin-left: 186px; margin-top:-2.5em;}
#nav li li:hover ul {	margin-left: 10em; }
#nav li a:focus + ul {  margin-left: 186px; margin-top:-2.5em; }
#nav li li a:focus + ul { left:186px; margin-left: 1010em; margin-top:-2.5em;}
#nav li li a:focus {left:186px;  margin-left:1000em; width:10em;  margin-top:-2.5em;}
#nav li li li a:focus {left:186px; margin-left: 2010em; width: 10em;  margin-top:-2.5em;}
#nav li:hover a:focus{ margin-left: 0; }
#nav li li:hover a:focus + ul { margin-left: 10em; }





/*
CSS Name: Hovereffect Styles
Description: Hover Stylesheet based on the idea of Hoverbox from http://host.sonspring.com/hoverbox/
Author: Alex Rabe - Orginal by Nathan Smith
Version: 0.60

This is a template stylesheet which doesn't support description below the thumbnails. It's a experimental version.

*/

/* ----------- Album Styles Extend -------------*/

.ngg-albumoverview {
	margin-top: 10px;
	width: 100%;
	clear:both; 
	display:block !important;
}

.ngg-album {
	width:150px;
	height:200px;
	float:left;
	overflow: hidden;
	padding: 5px;
	margin-bottom: 5px;
	text-align:left;
}

.ngg-albumtitle {
	text-align: center;
 	font-weight: bold;
	margin:5px 0 0 0;
	font-size: 14px;
	text-align:center;
	width:150px;
}
.ngg-albumtitle a{
	text-decoration:none;
}

.ngg-thumbnail {
	display:block;
	margin:0 0 0 10px;
}
.ngg-thumbnail img{
	margin:0px;
	padding:0px;
}

.ngg-thumbnail a{
	filter: alpha(opacity=100);
	-moz-opacity: .99;
	opacity: .99;
}
.ngg-thumbnail a img{
	background:#fff none repeat scroll 0%;
	border:1px dotted #ccc;
	padding:3px;
}

.ngg-thumbnail a:hover {
	filter: alpha(opacity=90);
	-moz-opacity: .9;
    opacity: .9;
}

.ngg-description {
	text-align: center;
	font-size:11px;
}
.ngg-description span{
	color:#ccc;
}

/* MILKBOX */

#mbOverlay {
	position: absolute;
	left: 0;
	width:100%;
	background-color: #000; /* set the Milkbox overlay color // opacity: see the js options */
	z-index:100;
	cursor: pointer;
}

#mbCenter {
	/* for default width and height, see the js options */
	position: absolute;
	z-index:101;
	overflow:hidden;
	left: 50%;
	top:10%;/* overwritten in the js options to properly position the milkbox when activated in a scrolled window */
	background-color: #fff;/* set the Milkbox background color */
	border: 5px solid #fff;/* set the Milkbox border */
	margin:0; padding:5px;/* set the Milkbox padding */
}

.mbLoading{ background: #fff url(../img/loading.gif) no-repeat center; }/* IMAGE: loading gif */

#mbImage{ margin:0; padding:0; height:0; border:none; font-size:0; overflow:hidden; }

.clear{ clear:both; height:0; margin:0; padding:0; font-size:0; overflow:hidden; }


/* *** BOTTOM *** */

#mbBottom { 
	/* set text options */
	font-family: Verdana, Arial, Geneva, Helvetica, sans-serif;
	font-size: 10px;
	color: #666;
	line-height: 1.4em;
	text-align: left;
	padding-top:8px;
	margin:0;
}

/* navigation */
/* be careful if you change buttons dimensions */

#mbNavigation{
	float:right;
	width:27px;
	padding-top:3px;
	border-left:1px solid #9c9c9c;/* set nav border */
}


#mbCount{ 
	width:55px; 
	overflow:hidden;
	padding-top:1px;
	float:right;
	text-align:right;
	font-size:9px; /* count font size */
}

#mbCloseLink, #mbPrevLink, #mbNextLink{
	outline:none;
	display:block;
	float:right;
	height:20px;
	cursor: pointer;
}


#mbPrevLink, #mbNextLink{ width:17px; }
#mbPrevLink{ background: transparent url(../img/prev.gif) no-repeat; }/* IMAGE: prev */
#mbNextLink{ background: transparent url(../img/next.gif) no-repeat; }/* IMAGE: next */

/* NOTE: doesn't work in ie6, so, just see the js options :) */
a#mbPrevLink:hover,a#mbNextLink:hover,a#mbCloseLink:hover { background-position: 0 -23px; }

#mbCloseLink {
	width:20px;
	background: transparent url(../img/close.gif) no-repeat;/* IMAGE: close */
}

/* description */

#mbDescription{
	margin-right:27px;
	padding:0px 10px 0 0;
	font-weight: normal;
	text-align:justify;
}






