/* CSS RESET v1.0 | 20080212 . CUSTOM styles begin at line 55 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size:10px;
	vertical-align: baseline;
	background: transparent;
	line-height:12px;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}






/* //// CUSTOM //// */



html{
	height:100%; 
}

body{
	background-color:#495760;
	height:100%;
	font-family:verdana;
	font-size:10px;
	line-height:13px;
	color:424242;
}

a{ text-decoration:none;}

h2 a.right{
	float:right;
}

h2 a{
	color:white;
}

#wrapper{
	position:relative;
	margin:0 auto;
	width:1151px;
	background:url('images/backgroundMiddle.jpg') repeat-y  scroll 0 0;
	height:auto !important;
	height:100%;
	min-height:100%;
/*	padding-bottom:68px;*/
}

#header{
	background-image:url('images/backgroundTop.jpg');
	background-repeat:no-repeat;
	height:220px;
}

#header p, #search-block-form{
		float:right;
}
#search-block-form{
	margin-right:188px;
	clear:both;
}

#login{
	width:125px;
	margin:30px 188px 0 0;
}

#middle{
	margin:-8px 130px 0 180px;
}

#footer{
/*	position:absolute;*/
	width:100%;
/*	bottom:0;*/
	background-image:url('images/footer.jpg');
	background-repeat:repeat-y;
	background-position:center;
	min-height:87px;
	height:auto !important;
	margin-top:10px;
	
}

#footer p{
	width:777px;
	margin:0 auto;
	padding:24px 50px;
	font-weight:bold;
	word-spacing:12px;

}

#footer p a{
	color:white;
}

#login a{
	color:#845449;
}

/* PANNELS */

#calendar{
	height:220px;
}

#calendar table {
	margin:14px 32px 17px 32px;
	width:172px;
	font-size:12px;
	line-height:12px;
	color:#424242;
}
#calendar table thead{
	border-bottom:12px solid white;
	line-height:14px;
}

#calendar table thead th{
}

#calendar th{
	background-color:#495760;
	width:14%;
	color:white;
	font-weight:normal;
	height:12px;
}

#calendar table td{
	height:27px;
}

#calendar{
	height:220px;
}

.panel{
	float:left;
	margin:0 12px 24px 0;
}

.panel-content{
	margin:14px 32px 18px 32px;
}

.panel-content p{
	margin-top:6px;
	line-height:14px;
}

.panel-content h2{
	background-color:#495760;
	color:white;
	font-weight:normal;
	font-size:12px;
	padding: 0 2px;
	height:14px;
}

.top, .bottom{
	height:12px;
}

.small .top.shadowed{
	background-image:url('images/panels/small-top-shadowed.jpg');
}


.small .bottom{
	background-image:url('images/panels/small-bottom.jpg');

}

/* small panels */

.small{
	width:238px;
	background-image:url('images/panels/small-middle.jpg');
}

/* medium panels*/

.medium .top.shadowed{
	background-image:url('images/panels/medium-top-shadowed.jpg');
}


.medium .bottom{
	background-image:url('images/panels/medium-bottom.jpg');

}

.medium{
	width:537;
	background-image:url('images/panels/medium-middle.jpg');
}

/* wide panels */

.wide .top.shadowed{
	background-image:url('images/panels/wide-top-shadowed.jpg');
}

.wide .bottom{
	background-image:url('images/panels/wide-bottom.jpg');

}

.wide{
	width:787px;
	background-image:url('images/panels/wide-middle.jpg');
}

.bottom-panel{
	margin-bottom:0px;
}



/* POSTS */
#global-posts{
	width:537px;
	height:220px;
}

.medium-post, .wide-post{
	margin:10px 0;
	background-image:url('images/posts/background.jpg');
	background-repeat:repeat-x;
	overflow:hidden;
	height:33px;
}

.wide-post{
	height:63px;
}

.medium-post img, .wide-post img{
	display:inline;
	float:left;
}

.nametag{
	margin:6px 12px 0 8px;
	display:inline;
	float:left;
	width:90px;
	overflow:hidden;
	height:inherit;
}

.post-head, .nametag a{
	color:#424242;
	font-weight:bold;
}

/* UTILITY */
.reset{
	clear:both;
	display:block;
}