*{margin:0;padding:0;}
h1#logo, .pagetitle, #mainstage{ behavior: url(iepngfix.htc) }
body{
	background: #000 url(../images/bodybg.png) top left;
	color:#aaa;
	font-size:11px;
	font-family: Verdana, Tahoma, sans-serif;
	text-align: center;
}

a{
	outline: 0;
	color:#ec1c24;
}
strong{
	color: #fff;
}

/* classes */
.clearfix{
	clear: both;
	height:0;
	overflow:hidden;
}
.pad10{
	padding:10px;
}
/* layout */
#header{
	clear: both;
	background: url(../images/headerbg.png) top left repeat-x;
	height:100px;
}
.wrapper{
	clear: both;
	margin:0 auto;
	text-align: left;
	width:740px;
}
#page{
	clear: both;
	background: #000 url(../images/page_bg.png) top left repeat-x;
	border-left:1px solid #111;
	border-right:1px solid #111;
	border-bottom:1px solid #111;
}
#sidebar{
	float: left;
	width:275px;
	padding-bottom:10px;
	display: inline;
}
#content{
	float:left;
	width:460px;
	display: inline;
}
#footer{
	padding:10px;
	font-size:10px;
}
/* header elements */
h1#logo{
	float: left;
	width:160px;
	height:95px;
	background-image: url(../images/rayban.png);
	background-color: transparent;
	display: inline;
}
h1#logo a{
	display: block;
	height:100%;
	width:100%;
	text-indent:-9999px;
}

ul#navmain{
	float: right;
	list-style: none;
	width:575px;
	height:30px;
	margin-top:5px;
	background: url(../images/nav.png) top left no-repeat;
	display: inline;
}
ul#navmain li{
	float: left;
	display: inline;
}
ul#navmain li a{
	display: block;
	height:30px;
	text-indent:-9999px;
}
ul#navmain li a:hover, ul#navmain li.active{
	background-image: url(../images/nav.png);
}
li#nav1{width:60px;}
li#nav2{width:100px;}
li#nav3{width:120px;}
li#nav4{width:80px;}
li#nav5{width:80px;}
li#nav6{width:75px;}
li#nav7{width:60px;}

li#nav1 a:hover, li#nav1.active{background-position: 0 -30px;}
li#nav2 a:hover, li#nav2.active{background-position: -60px -30px;}
li#nav3 a:hover, li#nav3.active{background-position: -160px -30px;}
li#nav4 a:hover, li#nav4.active{background-position: -280px -30px;}
li#nav5 a:hover, li#nav5.active{background-position: -360px -30px;}
li#nav6 a:hover, li#nav6.active{background-position: -440px -30px;}
li#nav7 a:hover, li#nav7.active{background-position: -515px -30px;}


/* mainstage */
#mainstage{
	border-top:1px solid #444;
	padding-top:2px;
	height:360px;
	background: url(../images/stagetemp.png);
}


/* loginform */
#login{
	float: right;
	margin-top:20px;
	width:380px;
	height:20px;
}
input.textbox{
	width:100px;
	/* height:100%; */
	/* height:20px; */
	border:1px solid #222;
	background-color: #000;
	color: #f00;
	margin:0;
}
.status{
	color: #777;
	padding-top:5px;
	background-color: transparent;
	text-align: right;
}
input#loginbutton{
	height:20px;
	width:45px;
	background: url(../images/login_button.png) top left no-repeat;
	border:0;
}
/* page titles */
h2.pagetitle{
	clear:both;
	height:30px;
	text-indent:-9999px;
}
h2#mechanics{background:url(../images/mechanics_h2.png) top left no-repeat;}
h2#registration{background:url(../images/registration_h2.png) top left no-repeat;}
h2#upload{background:url(../images/upload_h2.png) top left no-repeat;}


/* paragraph classes */
#sidebar p{padding:10px 0 0 0;}
.mechanics{
	padding:10px;
	background: url(../images/red_arrow.gif) 0 15px no-repeat;
}
.mechanics p{
	padding:0 0 10px 0;
}

/*Gallery*/
#gallery{
	margin-bottom:10px;
}
.thumb{
	float: left;
	width:230px;
	height:202px;
	margin-top:10px;
	margin-left:10px;
	padding-bottom:5px;
	border:1px solid #0e0e0e;
	background-color: #070707;
	display: inline;
}
img.imgthumb{
	border:1px solid #222;
	margin:9px;
}
.thumb h3{
	padding:0 10px 0 10px;
	color:#ec1c24;
	background-color:transparent;
	font-weight:normal;
	font-size:12px;
}
.thumb span.author{
	padding-left:10px;
}

/* registration forms */
.boxforms{
	border:1px solid #0e0e0e;
	background-color: #070707;
	padding:10px;
	margin:10px 10px 10px 0;
}
.boxforms label{
	padding-bottom:5px;
	color: #ec1c24;
	background-color: transparent;
}
div.frmbox{
	float: left;
	margin-left:10px;
	display: inline;
	height: 50px;
}
.frmbox label{
	display: block;
	clear: both;
}
input.textmedium{
	background: #000;
	border: 1px solid #222;
	color: #aaa;
	font-size:17px;
	/* width:100%; */
	padding:1px;
	font-family: Tahoma, Verdana, sans-serif;
}

input.textbig{
	background: #000;
	border: 1px solid #222;
	color: #aaa;
	font-size:19px;
	/* width:100%; */
	padding:2px;
	margin-bottom:2px;
	font-family: Tahoma, Verdana, sans-serif;
}
input.check{
	margin-top:10px;
	margin-left:10px;
}
select.dropbox{
	background: #000;
	border: 1px solid #222;
	margin-right:10px;
	color: #aaa;
	font-size:17px;
	padding:0;
	font-family: Tahoma, Verdana, sans-serif;
}
input#upload{
	width:80px;
	height:35px;
	background: #000 url(../images/upload_button.png) top left no-repeat;
	border:0;
	padding:0;
	margin-top:10px;
	margin-left:10px;
}

/* Additionals */

.rate{
	clear: both;
	margin:5px;
	padding:5px;
	border:1px solid #222;
	background-color:#111;
}
select.ratebox{
	font-size:11px;
	width:50px;
}

#paginator{
	clear: both;
	margin-top:10px;
	text-align: center;
	padding:3px;
}
#paginator a{
	padding:3px 5px 3px 5px;
	text-decoration: none;
	border:1px solid #222;
	background-color:#111;
	color:#555;
}
#paginator a:hover{
	color: #eee;
}
span.current {

	padding:3px 5px 3px 5px;
	background-color: #900;
	color:#eee;
	border:1px solid #c30000;
}
#paginator a.active{
	background-color: #900;
	color:#eee;
	border:1px solid #c30000;
}
