/*MAIN STYLES*/
body {
	background-color: #323d4d;
	background-image: url(graph/rast39.jpg);
	color: #a6a6a6;
	font-family: "Times New Roman", Times, serif;
	margin-top: 10px;
	padding: 0px;
}

#main {
	margin: auto;
	padding: 0px;
	width: 977px;
	height: 100%;
	position: relative;
	overflow: hidden;

}

#wrapper {position:relative;}

#header, #right, #content, #left, #footer, #clock {
	border: 1px solid #727272;
	background-color: #323d4d;

}
#header {
	width: 975px;
	height: 158px;
	margin: auto;
	background-image: url(graph/header.png);
	background-position: center;
}
#left {
	position: absolute;
	width: 153px;
	height: 330px;
	text-align: center;
	left: 0px;
	padding: 0 0 7px;
}

@media not screen and (1) {
#left {margin-top: 7px;} /* OP 11 */
}

#clock {
	position: absolute;
	width: 153px;
	height: 100%;
	top: 346px;
	left:0;
	padding-top: 10px;
	text-align: center;
}
#content {
	min-height: 465px;
	height: 100%;
	margin: 7px 210px 0px 162px;
	padding: 15px;
	text-align: center;
}
#right {
	position: absolute;
	top: 0px;
	width: 200px;
	min-height: 495px;
	height: 100%;
	margin: 0px 0px 0px 774px;
	text-align: center;
}
#footer {
	position: relative;
	margin-top: 10px;
	bottom: 0px;
	width: 974px;
	height: 35px;
	background-image: url(graph/footer.png);
	background-position: center;
}


/*DETAILS*/

img {
	border: 0px;
}

a:link, a:visited {
	color: #a6a6a6;
}
a:hover {
	font-style: italic;
}
h1 {
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	margin-top: 0px;
}

#back-top {
    bottom:80px;
    margin-left:850px;
    position:fixed;
    text-align:center;
    z-index:10;
}

#back-top span {
	width: 35px;
	height: 36px;
	display: block;
	background:url('graph/up.png') no-repeat 0 0;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
  filter: alpha(opacity=60);
  -moz-opacity: 0.6;
  -khtml-opacity: 0.6;
	opacity:0.6;
    margin:auto;
}

#back-top a {
	text-decoration:none;
	text-shadow: 0px 2px 2px #000;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
	filter: alpha(opacity=60);
	-moz-opacity: 0.6;
	-khtml-opacity: 0.6;	
	opacity:0.6;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
	font-size: 14px;
	font-family:Arial, Helvetica, sans-serif;
}
#back-top a:hover, #back-top a:hover span {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	-khtml-opacity: 1;	
	opacity:1;
	font-style:normal;
}

/*NAVIGATION*/

.nav {
	list-style: none;
	padding:0;
	margin: 0;
}

.fixed {
	margin: 12px 8px 0;
	position:fixed;
}
.nav a {
	display:block;
	text-decoration:none;
	/*background:transparent url('graph/menu.png') no-repeat scroll;*/
	margin:auto;
    -webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	-ms-transition:all 0.2s ease;
	transition: all 0.2s ease;
	font-size: 24px;
}
.nav span {
	  display:block;
      /*text-indent:-999999px;*/
}
.nav a, #clock img {
	margin-top: 9px;
}
.nav li:nth-child(odd) a:hover {
       -webkit-transform:rotate(5deg); /*Chrome*/
       -moz-transform:rotate(5deg); /*Mozilla*/
       -o-transform:rotate(5deg); /*Opera*/
       -ms-transform:rotate(5deg); /*IE*/
	transform:rotate(5deg); /*Normal css3*/
}

.nav li:nth-child(even) a:hover {
       -webkit-transform:rotate(-5deg); /*Chrome*/
       -moz-transform:rotate(-5deg); /*Mozilla*/
       -o-transform:rotate(-5deg); /*Opera*/
       -ms-transform:rotate(-5deg); /*IE*/
	transform:rotate(-5deg); /*Normal css3*/
}

/*LEFT NAVIGATION*/

/*#news a {width:82px; height:19px; background-position: 0 0;} 
#fiction a {width:134px; height:23px; background-position: 0 -30px;}
#guestroom a {width:88px; height:22px; background-position: 0 -60px;}
#forum a {width:62px; height:23px; background-position: 0 -90px;}
#portkluch a {width:95px; height:23px; background-position: 0 -120px;}
#raspisanie a {width:103px; height:19px; background-position: 0 -150px;}
#ld a {width:37px; height:25px; background-position: 0 -180px;}
#contact a {width:102px; height:20px; background-position: 0 -210px;}
#tempus {width:141px; height:40px; background:transparent url('graph/menu.png') no-repeat scroll 0 -240px; margin: 15px auto;}


/*RIGHT NAVIGATION*/

/*#dragon a {width:129px; height:25px; background-position: -150px 0;} 
#celtic a {width:74px; height:19px; background-position: -150px -30px;}
#greki_rim a {width:130px; height:23px; background-position: -150px -60px;}
#china a {width:64px; height:19px; background-position: -150px -90px;}
#slav a {width:136px; height:22px; background-position: -150px -120px;}
#scand a {width:187px; height:23px; background-position: -150px -150px;}
#trava a {width:122px; height:23px; background-position: -150px -180px;}
#golos a {width:129px; height:22px; background-position: -150px -210px;}*/

#rishta a {width:162px; height:93px; background:transparent url('graph/menu.png') no-repeat scroll -150px -240px; margin-top:20px; cursor:context-menu; margin-top:40px;}
#rishta a span { text-indent:-999999px;}

/*CONTENT*/

.bookName {font-size:16px; margin-bottom:0; margin-top:10px;}
.bookComment, .bookAdder {font-size:13px; margin:0; color:#7A7A7A;}
.bookAdder {font-style:italic;}


