/*------------------------------------*\
	RESET
\*------------------------------------*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{ 
	margin:0;
	padding:0;
}
table{
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img{ 
	border:0;
}
address,caption,cite,dfn,th,var{
	font-style:normal;
	font-weight:normal;
}
caption,th{
	text-align:left;
}
h1,h2,h3,h4,h5,h6{
	font-size:100%;
	font-weight:normal;
}
q:before,q:after{
	content:'';
}
abbr,acronym{
	border:0;
}





/*------------------------------------*\
	MAIN
\*------------------------------------*/
html{
	font-family:Calibri, Arial, Verdana, sans-serif;
	background:url(../img/css/grid.png) top center repeat-y #222;
	background:#222;
	color:#fff;
	text-shadow:1px 1px 1px rgba(0,0,0,0.5);
}
body{
	width:940px;
	padding:10px;
	margin:0 auto;
}
#sidebar,
#content,
#sub-content{
	float:left;
	display:inline;
	margin-right:20px;
}
#sidebar{
	width:160px;
	font-family:Cambria, Georgia, "Times New Roman", serif;
	text-align:right;
}
#content{
	width:520px;
}
#sub-content{
	width:220px;
	margin:0;
}





/*------------------------------------*\
	HEADER
\*------------------------------------*/
#header{
	padding:20px 0;
}
#logo a{
	font-family:Calibri, Helvetica, Arial, Verdana, sans-serif;
	color:#222;
	display:block;
	width:140px;
	text-align:center;
	padding:10px;
	background:#8cbbad;
	font-size:2em;
	text-shadow:none;
	
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	border-radius:2px;
	-moz-box-shadow:0 0 5px rgba(0,0,0,0.5);
	-webkit-box-shadow:0 0 5px rgba(0,0,0,0.5);
	box-shadow:0 0 5px rgba(0,0,0,0.5);
}
#logo a:hover{
	text-decoration:none;
}





/*------------------------------------*\
	TYPE
\*------------------------------------*/
/*--- HEADINGS ---*/
h1,h2,h3,h4,h5,h6{
	font-family:Calibri, Helvetica, Arial, Verdana, sans-serif;
	font-weight:bold;
	margin-bottom:20px;
}
h1	{ font-size:1.5em; }
h2	{ font-size:1.33em; }
h3	{ font-size:1.25em; }
h4	{ font-size:1.125em; }
/*--- PARAGRAPHS ---*/
p{
	line-height:1.5em;
	margin-bottom:20px;
}
/*--- LINKS ---*/
a{
	font-weight:bold;
	color:#8cbbad;
	text-decoration:none;
}
a:hover{
	text-decoration:underline;
}
a:active,a:focus{
	position:relative;
	top:1px;
}
#rotate{
	display:none;
}





/*------------------------------------*\
	LISTS
\*------------------------------------*/
ul,ol,dl{
	margin-bottom:20px;
}
li{
	line-height:1.5em;
}
ul{
	list-style:square outside;
}





/*------------------------------------*\
	IMAGES
\*------------------------------------*/
img{
	margin-bottom:20px;
	max-width:100%;
	-moz-box-shadow:0 0 5px rgba(0,0,0,0.5);
	-webkit-box-shadow:0 0 5px rgba(0,0,0,0.5);
	box-shadow:0 0 5px rgba(0,0,0,0.5);
}
.figure{
	margin-bottom:20px;
}
.figure img{
	margin:0;
}
.figure p{
	font-family:Cambria, Georgia, "Times New Roman", serif;
	font-style:italic;
}





/*------------------------------------*\
	FORMS
\*------------------------------------*/
fieldset{
	border:1px solid #fff;
	padding:10px;
	margin:0 -10px 20px -10px;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	border-radius:2px;
}
fieldset p:last-of-type{
	margin:0;
}
label{
	display:block;
	cursor:pointer;
}
.text-input,textarea{
	width:208px;
	padding:5px;
	border:1px solid #fff;
	color:#fff;
	background:#333;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	border-radius:2px;
}
textarea{
	width:386px;
	height:200px;
}
.text-input:active,.text-input:focus,textarea:active,textarea:focus{
	-moz-box-shadow:0 0 10px rgba(0,0,0,0.75) inset;
	-webkit-box-shadow:0 0 10px rgba(0,0,0,0.75) inset;
	box-shadow:0 0 10px rgba(0,0,0,0.75) inset;
}





/*------------------------------------*\
	TABLES
\*------------------------------------*/
table{
	margin-bottom:20px;
	width:100%;
	-moz-box-shadow:0 0 5px rgba(0,0,0,0.5);
	-webkit-box-shadow:0 0 5px rgba(0,0,0,0.5);
	box-shadow:0 0 5px rgba(0,0,0,0.5);
}
caption{
	margin-bottom:5px;
}
caption,tfoot{
	font-family:Cambria, Georgia, "Times New Roman", serif;
	font-style:italic;
}
tfoot{
	text-align:center;
}
td,th{
	padding:5px;
	border:1px solid #333;
}
th:empty,
td:empty{
	border:none;
}
th{
	font-weight:bold;
}
tbody tr:nth-of-type(odd){
	background:rgba(0,0,0,0.25);
}
tbody tr td:nth-of-type(odd){
	background:rgba(0,0,0,0.25);
}
tbody tr:hover{
	background:#ffc;
	color:#333;
	text-shadow:none;
	-moz-box-shadow:0 0 10px rgba(0,0,0,0.75);
	-webkit-box-shadow:0 0 10px rgba(0,0,0,0.75);
	box-shadow:0 0 10px rgba(0,0,0,0.75);
	-moz-transform:scale(1.05);
	-webkit-transform:scale(1.05);
	transform:scale(1.05);
}
tbody tr:hover td{
	background:none;
}





/*------------------------------------*\
	VIDEO
\*------------------------------------*/
object,embed{
	margin-bottom:20px;
	width:520px;
	height:311px;
	display:block;
	-moz-box-shadow:0 0 5px rgba(0,0,0,0.5);
	-webkit-box-shadow:0 0 5px rgba(0,0,0,0.5);
	box-shadow:0 0 5px rgba(0,0,0,0.5);
}





/*------------------------------------*\
	ADAPTIVE
\*------------------------------------*/
@media (max-width: 1000px){
body{
	width:700px;
}
#sidebar{
	font-style:italic;
	float:none;
	clear:both;
	display:block;
	width:100%;
	text-align:center;
	border-bottom:1px solid #fff;
	margin-bottom:20px;
}
#content{
	width:460px;
}
object,embed{
	width:460px;
	height:275px;
}
}





@media (max-width: 480px){
html{
	background:#222;
}
body{
	width:auto;
	padding:5px;
}
#logo a{
	width:auto!important;
}
div{
	width:auto!important;
	margin:0!important;
	padding:0!important;
	float:none!important;
	clear:both!important;
	display:block!important;
}
#header,
#sidebar,
#content,
#sub-content{
	margin-bottom:20px!important;
}
img{
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
	box-shadow:none;
}
ul,ol{
	margin-left:15px;
}
fieldset{
	width:96%;
	padding:2%;
	margin:0 0 20px 0;
}
.text-input,textarea{
	width:96%;
	padding:2%;
}
object,embed{
	width:100%;
	height:auto!important;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
	box-shadow:none;
}
caption{
	text-align:center;
}
tbody tr:hover{
	background:#ffc;
	color:#333;
	text-shadow:none;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
	box-shadow:none;
	-moz-transform:none;
	-webkit-transform:none;
	transform:none;
}
}


@media (max-width: 480px) and (orientation: portrait){
#rotate{
	background:#ffc;
	display:block;
	padding:5px;
	text-align:center;
	color:#333;
	text-shadow:none;
	margin-bottom:5px;
	
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	border-radius:2px;
}
}
@media (max-width: 480px) and (orientation:landscape){
#rotate{
	display:none;
}
}