html, body {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: arial;
	background: url('../img/greenblue.gif') repeat-y 50% top;
}

a {
	font-family: arial;
	text-decoration: none;
	color: #0072bc;
	-moz-outline: none;
}

a:hover {
	text-decoration: underline;	
}

h1 {
	color: #0673ba;
	margin: 13px 0 22px 0;
	font-weight: normal;
	font-size: 20px;
}

img {
	border: 0;
}

form {
	margin: 0;
	padding: 0;
}

td {
	vertical-align: top;
}

.content {
	position: relative;
	left: 50%;
	width: 864px;
	margin-left: -432px;
	background-color: #ffffff;
}

.header {
	position: relative;
	height: 132px;
}

.logo {
	display: block;
	margin-top: 31px;
	text-align: center;
}

.header .agency {
	position: relative;
	top: 9px;
}

.header .lang {
	color: #8b8b8b;
	font-size: 11px;
	right: 218px;
	top: 20px;
	position: absolute;
	padding-left: 24px;
	background: no-repeat left top;
}

.header .lang_en {
	background-image: url('../img/lang_en.gif');
}

.header .lang_lv {
	background-image: url('../img/lang_lv.gif');
}

.header .search {
	position: absolute;
	right: 0;
	top: 8px;
}

.header .search input.text {
	border: 1px solid #a3a3a3;
	width: 148px;
	height: 15px;
	font-size: 12px;
	color: #000000;
	padding: 4px 6px;
}

.header .search input.s {
	position: relative;
	top: 6px;
}

.header .menu {
	height: 31px;
	margin: 0;
	padding: 0;
	position: absolute;
	left: 0;
	top: 77px;
}

.header .menu td {
	vertical-align: middle;
	border-left: 1px solid #c1c1c1;
	margin: 0;
	height: 39px;
	text-align: center;
	width: 100px;
	list-style-type: none;
}

.header .menu td a {
	color: #6a6a6a;
	font-size: 12px;
	font-weight: bold;
}

.header .menu td a.active {
	color: #0072bc;
}

body.index .b .h {
	background-color: #0673ba;
	padding: 20px 22px;
}

.b .h {
	background-color: #a6ce39;
	padding: 15px 20px 11px;
}


.b .h h1 {
	margin: 0;
	padding: 0;
	font-weight: normal;
	font-size: 23px;
	color: #ffffff;
}

.b .h h2 {
	margin: 28px 0 0 0;
	font-size: 18px;
	font-weight: normal;
	color: #ffffff;
}

.partners {
	list-style-type: none;
	margin: 0 0 13px 0;
	padding: 0;
}

.partners li {
	padding: 15px 0;
	border-top: 1px solid #cfcfcf;
}

.partners li.last {
	border-bottom: 1px solid #cfcfcf;
}

 .list {
 	margin: 0;
 	padding: 0;
 	list-style-type: none;
 }
 
 .list li {
 	margin-bottom: 30px;
 	overflow: hidden;
 	height: 67px;
 }
 
 .list li.last {
 	margin-bottom: 18px;
 }
 
 .list div.img {
 	width: 99px;
 	position: absolute;
 }
 
 .list div.info {
 	padding-left: 99px;
 }
 
 .list div.info a {
 	text-decoration: underline;
 	font-size: 12px;
 	color: #000000;
 }
 
 .list div.info a:hover {
 	text-decoration: none;
 }
 
 .list div.info span {
 	display: block;
 	color: #648900;
 	font-size: 11px;
 	margin-top: 10px;
 }
 
 a.more {
 	color: #0072bc;
 	background: url('../img/arrow-right.gif') no-repeat left 3px;
 	padding-left: 12px;
 	font-size: 11px;
 	text-decoration: underline;
 }
 
 a.more:hover {
 	text-decoration: none;
 }
 
 a.join {
 	color: #0673ba;
 	font-size: 13px;
 	font-weight: bold;
 	background: url('../img/plus.gif') no-repeat 2px 0px;
 	padding-left: 19px;
 	text-decoration: underline;
 }
 
 a.join:hover {
 	text-decoration: none;
 }
 
 .content_info {
 	font-size: 9px;
 	color: #858585;
 	display: block;
 	padding-top: 33px;
 	padding-bottom: 7px;
 	border-bottom: 1px solid #d1cfcb;
 }
 
 .footer td {
 	color: #858585;
 	font-size: 11px;
 }
 
 .footer ul.contacts {
 	overflow: hidden;
 	margin: 0;
 	padding: 0;
 	list-style-type: none;
 }
 
 .footer ul.contacts li {
 	width: 33%;
 	float: left;
 }
 
 .pages a {
 	color: #5e649a;
 	font-size: 11px;
 	padding: 2px 5px;
 }
 .pages a.active {
 	color: #ffffff;
 	background-color: #0072bc;
 }
 
 .page p {
 	margin: 0 0 28px 0;
 	font-size: 12px;
 }
 
 .page img {
 	padding: 0 13px 13px 0;
 }
 
 .page h2 {
 	margin: 0;
 	font-weight: bold;
 	font-size: 12px;
 }
 
 .align-left {
 	float: left;
 }
 
 .page a {
 	text-decoration: underline;
 }
 
 .page a:hover {
 	text-decoration: none;
 }
 
 .page ul {
 	font-size: 12px;
 	margin: 0 0 28px 0;
 	padding-left: 40px;
 	list-style: url('../img/square.gif');
 }
 
 .page ul li {
 	margin-bottom: 10px;
 }
 
 .page .listing {
 	clear: both;
 }
 
 .page .listing div.text {
 	padding-left: 99px;
 }
 
 .shade {
 	display: none;
 	background-color:#000000;
	height:100%;
	left:0;
	opacity:0.6;
	filter: alpha(opacity = 60);
	position:absolute;
	top:0;
	width:100%;
	z-index:7;
 }
 
 .gallery {
 	display: none;
 	width: 590px;
 	left: 50%;
 	position: absolute;
 	z-index: 10;
 	margin-left: -310px;
 	background-color: #ffffff;
 	top: 20px;
 	padding: 15px;
 }
 
 .gallery .gallery_in {
 	
 }
 
 .gallery .gallery_in .img{
 	clear: both;
 	text-align: center;
 	vertical-align: middle;
 	width: 583px;
 	padding: 13px 0;
 }
 
 .gallery .gallery_in .close {
 	float: right;
 	padding-right: 19px;
 	font-size: 11px;
 	background: url('../img/close.gif') no-repeat right top;
 }
 
 .gallery .gallery_in .prev {
 	float: left;
 	display: block;
 	background: url('../img/prev.gif') no-repeat left top;
 	overflow: hidden;
 	width: 15px;
 	height: 23px;
 	text-indent: -100000px;
 }
 
  .gallery .gallery_in .next {
 	float: right;
 	display: block;
 	background: url('../img/next.gif') no-repeat left top;
 	overflow: hidden;
 	width: 12px;
 	height: 23px;
 	text-indent: -100000px;
 }
 
 .header .menu td.sub {
	border-left: 1px solid #0673ba;
	background-color: #0673ba;
}

.header .menu td.sub a {
	color: #ffffff;
	vertical-align: middle;
}

.header .menu td.sub div.r1 {
	height: 39px;
	position: relative;
}

.header .menu td ul {
	display: none;
	list-style-type: none;
	position: absolute;
	margin: 0;
	padding: 23px 22px 20px 15px;
	background-color: #0673ba;
}

.header .menu td ul {
	text-align: left;
}

.header .menu td ul li {
	margin-bottom: 3px;
}

.header .menu td ul a {
	white-space: nowrap;
	font-weight: normal;
	text-decoration: underline;
}

.header .menu td ul a:hover {
	color: #bbff00;
}

.header .menu td ul a.active {
	font-weight: bold;
	text-decoration: none;
}

.header .menu td ul a.active:hover {
	color: #ffffff;
}
.devider-big {
	font-size: 1px;
	height: 1px;
	line-height: 1px;
	border-top: 2px solid #d1cfcb;
}
.devider-small {
	font-size: 1px;
	height: 1px;
	line-height: 1px;
	border-top: 1px solid #d1cfcb;
}
.form {
	padding-bottom: 20px;
}
.form input.text {
	width: 140px;
	height: 19px;
	border: 1px solid #727272;
}
.form textarea.textarea {
	width: 388px;
	height: 68px;
	border: 1px solid #727272;
}
.form div.caption {
	color: #808080;
	font-size: 10px;
	font-family: Arial;
	padding: 8px 0px 3px 0px; 
}
.form input.submit {
	padding: 8px;
	background: #0072bc;
	color: #fff;
	border: none;
	margin-top: 10px;
}
p {
		line-height: 18px;
}
.block {
	float: left;
	width: 190px;
}
.icon-doc {
	background: url("../img/icon-1.jpg") left 2px no-repeat;
	color: #0673ba;
	font-size: 12px;
	font-family: Arial;
	display: block;
	padding: 2px 20px;
}
.icon-pdf {
	background: url("../img/icon-2.jpg") left 2px no-repeat;
	color: #0673ba;
	font-size: 12px;
	font-family: Arial;
	display: block;
	padding: 2px 20px;
}
.icon-xls {
	background: url("../img/icon-3.jpg") left 2px no-repeat;
	color: #0673ba;
	font-size: 12px;
	font-family: Arial;
	display: block;
	padding: 2px 20px;
}
.comment {
	padding-top: 10px;
	padding-bottom: 10px;
}
.comment .name{
	float: left;
	font-size: 12px;
	font-family: Arial;
	font-weight: bold;
	color: #0072bc;
	padding-right: 10px;
}
.comment .date {
	color: #808080;
	font-size: 10px;
	font-family: Arial;
}
.comment .text {
	clear: both;
	font-family: Tahoma;
	font-size: 11px;
	color: #000;
	padding: 3px 0px 10px 0px;	
}

.new_comm_text{
	font-size: 11px;
	color: #a4a4a4;	
	margin-top: 0px;
	text-decoration: none;
}

