@charset "utf-8";
/* CSS Document */

* {
	padding: 0;
	margin: 0;
}

body
{
font-family: Times New Roman, Arial, sans-serif ;
background-image:url(images/bg_pattern.jpg);
}

.wrap {
	background: #f6e9b4  0 359px repeat-x; max-width: 1267px; margin: 0 auto;
}
#header {
	background: url(header.jpg) repeat-x center; height: 354px; margin-bottom: 20px;
}
#header h1 {

	max-width: 373px;
	height: 72px;

}

h1 {
	font-family:Times New Roman;
	font-size:18px;
}

h2 {
	font-family:Verdana;
	font-size:10pt;
}

h3 {
	font-family:Verdana;
	font-size:10pt;
	color: red;
}


/* Menu start */

ul {
	margin-right:5px; /*выравнивание от правого края*/
	margin-top: -72px;
}

a
{
float:right;
cursor: pointer;
/*width:6em;*/
text-decoration:none;
color:black;
padding:0.3em;
border-left:1px solid white;
font-size: 12pt;
}

a:hover {background-color:yellow}
li {display:inline}
/* Menu end */


/* Second menu start*/
#tilaus_btn {
	background-repeat: no-repeat;
	position: absolute;
	width: 186px;
	height: 42px;
	left: 75%; /* Положение слоя от левого края */
 	top: 320px; /* Положение слоя от верхнего края */
}

#kuvagalleria {
	position:absolute;
	width: 130px;
	height: 28px;
	top: 260px;

}

#vieraskirja {
	position:absolute;
	width: 130px;
	height: 28px;
	top: 300px;
}



a.tilaus{
	border:none;
	background-color:transparent;
	float:left;
	padding: 0px;
}

a.nemtchinoff {
	border: none;
	background-color:transparent;
	
}
	
/*Second menu end*/


/*Content start*/

#content {
	background: #f6e9b4  0 359px repeat-x; max-width: 1267px; margin: 0 auto; /*походу не нужно*/
	margin-left: 50%;
	margin-right: 10%;
	margin-top: -335px;
	text-align:left;
}


#content_2 {
	width:400px;
	height:332px;
	margin-left: 90px;
	margin-top: 20px;
}


/*Content end*/

/*Footer start*/
#footer {
	background-image:url(images/footer_grass.png);
	height: 52px;
	bottom: 0px;
	min-width: 250%;
	margin-left: -125%;
}

/*Footer end*/



#cars {
	bottom:0px;
	width: 171px;
	height: 67px;
	margin-left: -400px;
	margin-top: -71px;
}

#mokki {
	width: 390px;
	height: 101px;
	bottom: 0px;
	margin-left: 100px;
	margin-top: -107px;
}

#window {
	background-image:url(images/footer_window.png);
	width: 535px;
	height: 25px;
	bottom:0px;
	margin-top: -15px;
	margin-left: -280px;
	text-align: center;
	color: #FFFFFF;
	font-size: 10pt;
	line-height: -1.5;
}

#counter {
	position:relative;
	margin-left: 30%;
	margin-top: -18%;
}


/* SLIMBOX */

#lbOverlay {
	position: absolute;
	z-index: 9999;
	left: 0;
	width: 100%;
	background-color: #000;
	cursor: pointer;
}

#lbCenter, #lbBottomContainer {
	position: absolute;
	z-index: 9999;
	left: 50%;
	overflow: hidden;
	background-color: #fff;
}

.lbLoading {
	background: #fff url(loading.gif) no-repeat center;
}

#lbImage {
	position: absolute;
	left: 0;
	top: 0;
	border: 10px solid #fff;
	background-repeat: no-repeat;
}

#lbPrevLink, #lbNextLink {
	display: block;
	position: absolute;
	top: 0;
	width: 50%;
	outline: none;
}

#lbPrevLink {
	left: 0;
}

#lbPrevLink:hover {
	background: transparent url(prevlabel.gif) no-repeat 0% 15%;
}

#lbNextLink {
	right: 0;
}

#lbNextLink:hover {
	background: transparent url(nextlabel.gif) no-repeat 100% 15%;
}

#lbBottom {
	font-family: Verdana, Arial, Geneva, Helvetica, sans-serif;
	font-size: 10px;
	color: #666;
	line-height: 1.4em;
	text-align: left;
	border: 10px solid #fff;
	border-top-style: none;
}

#lbCloseLink {
	display: block;
	float: right;
	width: 66px;
	height: 22px;
	background: transparent url(closelabel.gif) no-repeat center;
	margin: 5px 0;
	outline: none;
}

#lbCaption, #lbNumber {
	margin-right: 71px;
}

#lbCaption {
	font-weight: bold;
}

