/*reset padding/margin*/
body, ul, ol, h1,h2,h3,h4,h5,h6,form,li,p{
	margin: 0;
	padding: 0;
}

*{
	outline: none;
}

body{
	font-size: 14px;
	font-family: Arial, Helvetica, Verdana, sans-serif;
	line-height: 20px;
	position: relative;
}

.wrapper{ 
	width: 100%;
	position: relative;
	display: table;
	overflow: hidden;
}

#top{
	position: relative;
	width: 940px;
	margin: 0 auto;
}

#top .background{
	position: absolute;
	left: 0;
	width: 1300px;
	height: 240px;
	z-index: 100;
}

.subpage #top .background{
	height: 140px;
}

/*header*/
#header{
	position:relative;
	z-index:101;
}

#header h1{
	padding-top: 42px;
	padding-bottom: 0px;
}

/*navigation*/
#nav{
position: absolute;
left: 0;
top: 128px;
width: 101%;
list-style-type: none;
list-style-position: outside;
margin:0;
}

#nav li a{
display:block;
float:left;
padding: 0;
margin-left: 14px;
width: 126px;
height: 42px;
border: none;
text-decoration: none;
outline: none;
text-align: center;
padding-top: 10px;
font-size: 15px;
}

#nav li{
float:left;
position:relative;
}

#nav ul{
margin:0;
padding:0;
list-style-type:none;
list-style-position:outside;
position:relative;
line-height:50px; 
}

#nav ul a{
line-height:28px;
font-size: 12px;
cursor: pointer;
}

/*submenu ul*/
#nav li ul{
	padding: 0;
	display:none;
	position:absolute;
	top:80px;
	left:0;
}

/*submenu row*/
#nav li li{
border-left:none;
margin-top:0;
}

#nav li ul a{
width:134px;
height:auto;
float:left;
text-align:left;
padding:0 10px;
margin: 0;
}

#nav ul ul{
top:auto;
border-top:none;

left:154px;
top:-1px;
}

#nav li:hover ul ul, #nav li:hover ul ul ul,#top  #nav li:hover ul ul ul ul{
display:none;	
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{
display:block;
}

#nav li ul a{
border-top:none;
}

/*big image and flash container*/
#big_image{
	position: relative;
	margin-bottom: 30px;
}

/*boxes*/
/*general box settings*/
.box{
	position:relative;
	margin-right:50px;
	float:left;
	overflow: visible;
	padding-bottom: 50px;
}

.box h3{
	padding: 0 0 5px 0;
}

.box p {
	padding: 5px 0 5px;
}

/*use box_last on the very right box on a page to remove right margin*/
.box_last{
margin:0;
}

.box_form h3{
	margin-bottom:20px;
}

.box_form label{
	background: url(../images/interface/bullet.jpg) no-repeat left 3px;
	padding-left: 8px;
	font-size: 11px;
}

/*box 3/9th pagewidth (1/3rd)*/
.box_3-9{
width:280px;
}
/*box 6/9th pagewidth (2/3rd)*/
.box_6-9{
width:610px;
}
/*box 1/8th pagewidth*/
.box_1-8{
width:74px;
}
/*box 2/8th pagewidth (1/4th)*/
.box_2-8{
width:197px;
}
/*box 4/8th pagewidth (half page)*/
.box_4-8{
width:445px;
}
/*box 6/8th pagewidth (3/4th)*/
.box_6-8{
width:693px;
}

.box_full{
width:940px;
}

/*link list*/
.link_list{
list-style-type: none;
list-style-position: outside;
margin:0;
margin-top: 1px;
} 

.link_list a{
display:block;
line-height:22px;
padding:3px 0;
}

.link_list li p{
line-height:23px;
padding:3px 3px;
}

.link_list ul a{
padding:3px 10px 3px 10px;
}
.link_list ul ul a{
padding:3px 10px 3px 20px;
}
.link_list ul ul ula{
padding:3px 10px 3px 30px;
}
.link_list ul ul ul ul a{
padding:3px 10px 3px 40px;
}

/*blog*/
.entry{
position: relative;
padding-bottom:30px;
clear:both;
float:left;
width: 100%;
}

.entry .box{
padding-bottom:0;
}

.entry h2{
padding:5px 0 0 0;
}

.blogentry h2{
width:490px;
padding:5px 0 0 0;
}

.blog_info{
border-left:none;
border-right:none;
font-size:11px;
line-height:22px;
padding:3px 1px;
position:relative;
float:left;
width:608px;
margin-bottom: 17px;
}

.blog_info .categories_author{
float:left;
}

.blog_info .date{
float:right;
}

.comments_balloon{
	color: #000;
	position:absolute;
	right:0;
	text-align: center;
	width:32px;
	height: 32px;
	background: url(../images/icons/comment_32.png) no-repeat;
	font-size:10px;
	padding: 3px 1px;
	line-height: 20px;
}

.entry .comments_balloon{
	top:16px;
}

/*pagination*/
#top .pagination {
clear:both;
padding:0 0 60px 0;
position:relative;
z-index:3;
}

#top .pagination span, #top .pagination a{
display:block;
float:left;
font-size:11px;
line-height:13px;
margin: 2px 2px 2px 0;
padding:3px 6px;
text-decoration:none;
width:auto;
}

#top .pagination .active{
font-size:11px;
padding:3px 6px;
}

/*footer*/
#footer{
width:940px;
position: relative;
padding-top: 30px;
margin: 0 auto;
}

#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6, #footer a
{
color:#000;
text-decoration: none;
font-size: 12px;
}

#footer .box h4{
font-size: 15px;
letter-spacing:1.3px;
text-indent: 3px;
}

/*generic*/
.more-link{
	line-height:16px;
	padding: 9px 0 0 9px;
}

ul.bulleted{
	padding: 20px;
	padding-top: 0;
	list-style-image: url(../images/interface/bullet.jpg);
}

ul.bulleted li{
	padding:3px 0;
}

input, select, textarea{
	font-size:13px;
	background-color: transparent;
	color: #fff;
	border: 1px solid #0b1b34;
	padding:4px;
	font-family: Arial, Helvetica, Verdana, san-serif;
	position:relative;
	outline: none;
	width: 100%;
	max-width: 100%;
}

input:focus, select:focus, textarea:focus{
	border: 1px solid #1451b4;
}

.button{
	padding:3px;
}

.wrapper a{
text-decoration:none;
}

.wrapper a:hover{
text-decoration:none;
}

.wrapper a.imglink, .wrapper a.imglink:hover{
border:none;
float:left;
margin-right: 10px;
}

a img, a:hover img{
border:none;
text-decoration:none;
z-index: 2;
position: relative;
outline: none;
}

#page{
	margin-top: 172px;
}

#page img{
	margin: 20px;
	padding: 5px;
}

#page img.right{
	float:right;
	margin-right: 0px;
}

#page img.left{
	float:left;
	margin-left: 0px;
}

#page img.no-border{
	margin-left:0;
	margin-right:0;
	padding:0;
}

#footer img{
	padding:5px;
}


p{ 
padding: 0 0 1em 0
}

h1,h2,h3,h4,h5,h6, legend{
letter-spacing: 0.4px;
font-weight:normal;
padding-bottom:5px;
line-height:1.4em;
position: relative;
font-family: Arial, Helvetica, san-serif;
}

h1{clear:both; font-size:21px;}
h2{font-size:15px; clear:both;}
h3, legend{font-size:22px; clear:both;}
h4{font-size:16px; clear:both;}
h5{font-size:14px; clear:both;}
h6{font-size:13px; clear:both;}

#top h1 a, #top h2 a, #top h3 a, #top h4 a, #top h5 a, #top h6 a{
text-decoration:none;
border:none;
} 

#top h1 a:hover, #top h2 a:hover, #top h3 a:hover, #top h4 a:hover, #top h5 a:hover, #top h6 a:hover{
text-decoration:none;
border:none;
}

blockquote {
font-size:12px;
font-style:italic;
margin:0 0 20px;
padding:10px 20px 10px 41px;
}

blockquote p{
padding:11px 0px;
}

/*comments*/
.commentlist{
margin-bottom:20px;
float:left;
width:100%;
}

#top .commentlist #comment{
width:70%;
}

.commentlist li{
width:100%;
clear:both;
float:left;
padding:0;
list-style-type:none;
padding:20px 0 0 0;
position:relative;
}

.commentlist .replies, .commentlist .replies li{
border:none;
}

.avatar{
float:left;
width:60px;
padding:0px 10px;
text-align: center;
}

.avatar img{
display:block;
margin-top: 30px;
padding:2px;
}

.comment{
float:left;
width:524px;
margin-bottom:10px;
}

.comment .date{
	float: right;
	font-size: 10px;
}

.comment .author{
font-weight:bold;
font-style:normal;
font-size:15px;
float:left;
}

.comment .text{
clear:both;
}

.commentlist .replies li{
	margin-left:70px;
	padding: 0;
}

.commentlist .replies li .comment{
width:454px;
}

.commentlist .replies .replies li .comment{
width:384px;
}

.commentlist .replies .replies .replies li .comment{
width:314px;
}

.commentlist .replies .replies .replies .replies li .comment{
width:244px;
}

.commentlist .replies .replies .replies .replies .replies li .comment{
padding:0;
}

.comment_nav{
position: relative;
top:-13px;
font-size: 10px;
z-index: 4;
}

.comment_nav a{
text-decoration: none;
}

.comment_prev{
float:left;
}
.comment_next{
float:right;
}

/*slider*/
ul.thumbnails{
float: right;
width: 100%;
list-style-type: none;
list-style-position: outside;
margin:0;
margin-top: 36px;
}

ul.thumbnails li{
float:left;
margin-right: 9px;
margin-bottom: 9px;
padding: 3px;
cursor: pointer;
line-height: 0;
position: relative;
}

#page ul.thumbnails li img{
	margin:0;
	padding:0;
	border: none;
}

.slideshow {
    position:relative;
    height:280px;
}

.slideshow .slide {
    position:absolute;
    top:0;
    left:0;
    z-index:8;
}

.slideshow .slide.front {
    z-index: 10;
}

.slideshow .slide.back {
    z-index: 9;
}


