/* The Reset
-------------------------------------------------*/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,
h6,pre,form,fieldset,input,p,blockquote,table,
th,td, object { margin: 0; padding: 0; }
fieldset,img,abbr { border: 0; }
address,caption,cite,code,dfn,em,h1,h2,h3,
h4,h5,h6,th,var { font-style: normal; font-weight: normal; }
caption,th { text-align: left; }
q:before,q:after { content: ''; }
a { text-decoration: none; }



/* content & footer
-------------------------------------------------*/

#main { clear:both; }

	#content, #sidebar-0, #sidebar-1, #sidebar-2 {
		margin: 0;
		float: left;
		overflow: hidden; }


/* overlays
-------------------------------------------------*/

#Viewer {
	position: absolute;
	background: #f1f1f1;
	padding: 5px;
	margin: 0 auto;
	display:none;
	border-right: 2px solid #333;
	border-bottom: 2px solid #333;
	z-index: 9020;
	}
	
	#Viewer img { border: 0; clear: both; padding:0; margin:0; } 

#ViewerCaption {
	margin: 5px 0 0 0;
	color: #333;
	font-size: 0.9em;
	}
	
#ViewerClose {
	background: #fff;
	color: #666;
	padding: 0 2px 3px 5px;
	text-decoration: none;
	display: block;
	top: 5px;
	right: 5px;
	position: absolute;
	}
		
	#View {
		padding: 60px 0 0 0;
		position: absolute;
		z-index: 9019;
		width: 100%;
		text-align: center;
		color: #e1e1e1;
		}
		#View a { color: #fff; }
		#View img { border: 5px solid #f1f1f1; clear: both; padding:0; margin:0; } 
		
		
#overlay { 
	background: transparent url('../../layout/base/overlay.png') top left repeat;
	display:none;
	top:0;
	left:0;
	position: absolute;
	width: 100%;
	min-height: 100%;
	z-index: 9001;
	}
			
	#overlay.block { display:block; }
		
	#overlay-pass, #overlay-note {
		margin: 200px auto 0 auto;
		padding: 10px;
		width: 200px;
		background: #fff;
		border: 2px solid #ccc;
		-moz-border-radius: 5px;
		-khtml-border-radius: 5px;	
		-webkit-border-radius: 5px;
		border-radius: 5px;
		}
		
		#overlay-pass img { border:0; margin:0; padding:0; }
		#overlay-pass input[type=password] {
			width: 95%;
			}
		#overlay-pass h3 {
			color: #ccc;
		}



/* misc
-------------------------------------------------*/	

#cms-shortcut {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 74px;
	height: 74px;
	z-index: 9999;
	background: url('../../cms/shift.png2') 0 0 no-repeat;
	text-decoration: none; }
	

#alert {
	padding: 2px 0 2px 24px;
	background: #faffbd url('../layout/bg_alert.gif') 2px 1px no-repeat;
	border-bottom: 1px solid #cacaca;
	font-size: 90%; }

.clearfix:after, .content:after, #container:after, #footer:after, .thumbHolder:after {
	content:"."; 
	display:block; 
	height:0; 
	clear:both; 
	visibility:hidden; }

	.clearfix, .content, #container, #footer, .thumbHolder { display:block; }


.hide { display: none; }
.view { display: inline; }
.right { float: right; }
.right { float: right; }
.center { text-align: center; }
.left { float: left; }
.middle { vertical-align:middle; }
.strong { font-weight:bold; }
.pointer { cursor:pointer; }
.block { display:block; }


table.strict { width: 100%; text-align: left; border: 0; }
	table.strict td { vertical-align: top; }
	

.postError {
	background: #faffbd;
	border: 1px solid #cacaca;
	color: #000;
	padding: 4px;
	margin: 0 0 6px 0;
	font-size: 80%;
	width: 240px;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;	
	-webkit-border-radius: 5px;
	border-radius: 5px;
	}

#checker {
	margin: 0px 0 8px 0;
	padding: 4px 8px;
	width: 240px;
	background: #f9f9f9;
	border: 1px solid #ccc;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;	
	-webkit-border-radius: 5px;
	border-radius: 5px;
	}
	
	#checker h4 { font-size: 110%; margin: 0 0 1px 0; padding:0; }
	#checker p { margin: 0; padding:0; font-size: 85%; color: #999; }
	#checkAnswer { width: 40px; }
	
	#checker a {
		float: right;
		padding: 2px 3px;
		margin: 6px 0 0px 4px;
		background: #e9e9e9;
		border: 1px solid #ccc;
		color: #666;
		font-weight: bold;
		font-size: 100%;
		-moz-border-radius: 3px;
		-khtml-border-radius: 3px;	
		-webkit-border-radius: 3px;
		border-radius: 3px;
		}
		
		#checker a:hover, #checker a.focus { color: #000; }


object {  }

/* photos preview
-------------------------------------------------*/

a.thumb {
	float: left;
	display: block;
	overflow: hidden;
	width: 65px;
	height: 65px;
	border: 3px solid #222;
	margin: 0 7px 7px 0;
	text-decoration:none;
	}
	a.thumb:hover, a.thumb_on { border-color: #fff; }
	a.thumb img, a.thumb:hover img { border:0; padding:0; margin:-10% 0 0 -10%; text-decoration:none;}


div.photopreview {
	margin: 0 0 10px;
	}
	div.photopreview div { margin: 0px; overflow: hidden;  }
	div.photopreview img { }
	div.photopreview a, div.photopreview a:hover, div.photopreview img, div.photopreview img:hover {  text-decoration:none;}