html,body {
	height:100%;
}

body {
	font-family:Tahoma;
	font-size:11px;
	color:#1a171b;
	line-height:19px;
	height:100%;
}

/*------------------------ OVERALL SETTINGS ----------------- overflow:auto;-----------------*/
a:link, a:visited {
	color:#1a171b;
	text-decoration:underline;
}

a:hover, a:active, a:focus, a.active {
	text-decoration:none;
}

strong{
	font-weight:bold;
}

div.clear {
	font-size:0px;
	height:0px;
	clear:both;
}

div.text{
	text-align:justify;
}

h1{
	font-family:Arial;
	font-size:23px;
	font-weight:bold;
	line-height:26px;
	text-transform:uppercase;
}

h2{
	font-family:Arial;
	font-size:23px;
	font-weight:bold;
	line-height:26px;
	text-transform:uppercase;
}

h3{
	font-family:Arial;
	font-size:19px;
	font-weight:bold;
	text-transform:uppercase;
}


/* LOYOUT */
#layout{
	margin:0 auto;
	padding:0;
	display:block;
	text-align:left;
	width:100%;
	min-height:100%;
	height:100%;
	position:relative;
	z-index:10;
}

#layout[id]{
	height:			auto;
}

div.corner-left{
	width:61px;
	height:208px;
	position:fixed;
	top:0;
	left:0;
	background:url(../img/corner-left.png) no-repeat left top;
}

div.corner-right{
	width:135px;
	height:350px;
	position:fixed;
	right:0;
	bottom:0;
 }
 
div#corner-1{
	background:url(../img/corner-right/1.png) no-repeat right bottom;
 }
 
div#corner-2{
	background:url(../img/corner-right/2.png) no-repeat right bottom;
 }
 
div#corner-3{
	background:url(../img/corner-right/3.png) no-repeat right bottom;
 }
 
div#corner-4{
	background:url(../img/corner-right/4.png) no-repeat right bottom;
 }
 
div#corner-5{
	background:url(../img/corner-right/5.png) no-repeat right bottom;
 }
 
 div#corner-6{
	background:url(../img/corner-right/6.png) no-repeat right bottom;
 }
 
 /* LANGUAGE SWITCH */
div#language-switch{
	width:250px;
	position:fixed;
	top:39px;
	right:99px;
	z-index:40;
}
div#language-switch li {
	float:left;
	padding-right:18px;
}

div#language-switch  a:link, div#language-switch  a:visited {
	height:19px;
	display:block;
	padding:0;
	background-repeat:no-repeat;
	background-position:top center;
}

div#language-switch a.lv{
	width:53px;
	background-image:url(../img/lang/lv.png);	
}

div#language-switch a.en{
	width:53px;
	background-image:url(../img/lang/en.png);	
}

div#language-switch a.ru{
	width:67px;
	background-image:url(../img/lang/ru.png);	
}

div#language-switch a:hover, div#language-switch a:active, div#language-switch a#active{
	background-position:bottom;
}

/* MENU */
div#menu{
	width:250px;
	text-align:left;
	position:fixed;
	top:256px;
	right:94px;
	z-index:40;
}

div#menu ul li a:link, div#menu ul li a:visited {
	position:relative;
	display:block;
	height:30px;
	background-position:top left;
	background-repeat:no-repeat;
}

div#menu ul li a:hover, div#menu ul li a:active, div#menu ul li a#active{
	background-position:bottom;
}

div.sharing{
	position:fixed;
	bottom:30px;
	right:187px;
	z-index:40;
}

div.sharing a:link, div.sharing a:visited {
	margin-right:15px;
}

 /* CONTNET AREA*/
div#content-area{
	width:900px;
	margin:0 auto;
	text-align:left;
}

div#logo{
	padding-top:25px;
	padding-bottom:40px;
}


/* CONTENT */
div.content{
	width:600px;

}

div.top-nav{
	padding-top:4px;
	text-align:right;
	float:right;
}

div.top-nav a:link, div.top-nav a:visited {
	margin-left:5px;
}

/* PORTFOLIO */
div#projects div.entry{
	padding-bottom:30px;
}

div.portfolio{
	position:relative;
}

div#projects div.entry div.pics{
	display:none;
}

div#projects div.entry div.first{
	display:block;
}

div#projects div.entry a.nav:link, div#projects div.entry a.nav:visited {
	color:#fff;
	display:block;
	width:200px;
	height:100%;
	position:absolute;
	z-index:30;
	background:url(../img/blank.gif) no-repeat left top;
}

div#projects div.entry a.next:link, div#projects div.entry a.next:visited {
	right:0;
}

div#projects div.entry a.prev:link, div#projects div.entry a.prev:visited {
	left:0;
}

div#projects div.entry a.next:hover, div#projects div.entry a.next:active{
	background:url(../img/next.png) no-repeat right center;
}

div#projects div.entry a.prev:hover, div#projects div.entry a.prev:active{
	background:url(../img/prev.png) no-repeat left center;
}

div#projects div.entry div.info{
	width:100%;
	position:absolute;
	top:0;
	z-index:50;
	display:none;
	color:#fff;
	background-color:#000;
	height:100%;
}

div#projects div.entry div.info a:link, div#projects div.entry div.info a:visited {
	color:#fff;
}

div#projects div.entry div.info div.text{
	padding:19px 23px 0 23px;
}

div#projects div.entry div.info div.description{
	width:554px;
	position:absolute;
	bottom:0;
	left:50%;
	margin-left:-277px;
	text-align:right;
	line-height:23px;
	padding:7px 0 13px 0;
	border-top:1px solid #fff;
}
div#projects div.entry div.info div.description span{
	float:left;
}

/* NEWS */
div#news div.entry{
	padding-bottom:30px;
}

/* CONTACTS */
div#add-message div.input{
	padding-bottom:20px;
}

div#add-message div.text{
	float:left;
	padding-right:22px;
}

div#add-message  div.input input {
	width:244px;
	border: 1px solid #1a171b;
	background-color:#1a171b;
	font-family: Tahoma;
	color: #fff;
	font-weight: normal;
	font-size: 11px;
	padding:5px 8px 0px 8px;
	height:18px;
}

div#add-message  div.input textarea {
	width:528px;
	height:126px;
	background-color:#1a171b;
	font-family: Tahoma;
	color: #fff;
	font-weight: normal;
	font-size: 11px;
	padding:5px 8px 0px 8px;

	border:1px solid #1a171b;
	overflow:hidden;
}

div#add-message div.captcha img{
	border:1px solid #1a171b;
}

div#add-message div.captcha input{
	width:65px;
	height:23px;
	padding:8px 8px 0px 8px;
	margin-right:10px;
	float:left;
}

div#add-message div.submit {
	text-align:right;
	padding-top:7px;
	padding-right:54px;
}

div#add-message div.submit  input{
	margin: 0px;
	padding: 0px;
	border: none;
	cursor: pointer;
	width:68px;
	height: 18px;
}

div#add-message div.error-message {
	display:none;
}

div#add-message div.error input, div#add-message div.error select, div#add-message div.error textarea {
	border:1px solid #f00;
}

div#add-message div.error img {
	border:1px solid #f00;
}


/* jqTransform Select */
.jqTransformSelectWrapper {
	width:262px;
	position:relative;
	height:26px;
	background:url("../img/select-left.gif") no-repeat top left;
	color:#fff;
}

.jqTransformSelectWrapper div span {
	font-size:12px;
	float:none;
	position:absolute;
	width:100%;
	height:26px;
	line-height:12px;
	padding:6px 0 0 10px;
	overflow:hidden;
	cursor:pointer;
}

.jqTransformSelectWrapper  a.jqTransformSelectOpen {
	display:block;
	position:absolute;
	right:0;
	width:30px;
	height:26px;
	background:url("../img/select-right.gif") no-repeat center center;
}

.jqTransformSelectWrapper ul {
	position:absolute;
	top:23px;
	left:0;
	list-style:none;
	background-color:#1d1d1d;
	border:solid 1px #1d1d1d;
	display:none;
	margin:0;
	padding:0;
	height:150px;
	overflow:auto;
	overflow-y:auto;
	z-index:10;
}
.jqTransformSelectWrapper ul a:link, .jqTransformSelectWrapper ul a:visited{
	display:block;
	padding:0 5px;
	text-decoration:none;
	color:#d0d1d5;
	background-color:#1d1d1d;
	font-size:12px;
}

.jqTransformSelectWrapper ul a.selected {
	/*background:#EDEDED;*/

}

.jqTransformSelectWrapper ul a:hover, .jqTransformSelectWrapper ul a.selected:hover {
	/*background:#3582c4;*/

}

/* used to hide the original form elements */
.jqTransformHidden {display:none;}


/*************************** FOOTER ****************************************/
div#fix{
	width:100%;
	padding-bottom:70px;
	clear:both;
}

div#footer{
	width:100%;
	position:absolute;
	bottom:0;
	padding-bottom:44px;
	font-size:11px;
}

div#footer div.develop{
	width:900px;
	margin:0 auto;
	text-align:left;
	text-transform:uppercase;
}

/* PAGINATOR */

div#paginator {
	text-align:center;
	padding:15px 0;
	padding-left:25px;
	height:40px;
}

div#paginator a:link, div#paginator a:visited, div#paginator span.current {
	font-family: Arial;
	font-weight: normal;
	font-size: 11px;
	text-align:center;
	line-height:23px;
	padding:5px 14px 4px 14px;
	margin:0 6px;
	color:#1a171b;
}

div#paginator span.current {
	color: #fff;
	background: transparent url(../img/paginator.png) no-repeat top left;
}

div#paginator span.numbers {
	margin:0 auto;
}