﻿body
{
	background-color: #ddd;
	color: #222;
	font-family: Helvetica;
	font-size: 14px;
	margin-top:50px;
	margin-bottom:0px;
	margin-right:0px;
	margin-left:0px;
	padding: 0;
}

.header h1
{
	margin: 0;
	padding: 0;	
	position:fixed;
	top:0;
	left:0;
	z-index:99;
	width:100%;
}

.header h1 a
{
	background-color: #ccc;
	border-bottom: 1px solid #666;
	color: #fff;
	display: block;
	font-size: 20px;
	font-weight: bold;
	padding: 10px 0;
	text-align: center;
	text-decoration: none;
	-webkit-box-shadow: rgba(0,0,0,.3) 0px 5px 5px;

}

.header ul
{
	list-style: none;
	margin: 10px;
	padding: 0;	
	background-color: #ccc;
}


.header ul li a
{		   	
	border: 1px solid #999999;
	color: #ffffff;
	display: block;
	font-size: 17px;
	font-weight: bold;
	margin-bottom: -1px;
	padding: 12px 10px;
	text-decoration: none;		
	background-image: -webkit-gradient(linear, left top, left bottom, from(#4c4d4e), to(#404142));	
	background-position: right center, center;
	background-repeat: no-repeat;
	text-shadow: 0px 1px 0px #000;	
}

.header ul li a.active.loading
{
	background-image: url(images/loading.gif);
	background-position: 95% center;
	background-repeat: no-repeat;
}

.header ul.hide
{
	display: none;
}

.header div.leftButton
{
	position: fixed;
	top: 7px;
	left: 6px;
	height: 30px;
	font-weight: bold;
	text-align: center;
	color: White;
	text-shadow: rgba(0,0,0,0.6) 0px -1px 0px;
	line-height: 28px;
	border-width:0 8px 0 8px;
	-webkit-border-image: url(images/button.png) 0 8 0 8;
	z-index:100;
}

.header div.pressed
{
	-webkit-border-image: url(images/button_clicked.png) 0 8 0 8;
}

.subheader h1
{
	margin: 0;
	padding: 0;	
}

.subheader h1 
{
	background-color: #ccc;
	border-bottom: 1px solid #666;
	color: #fff;
	display: block;
	font-size: 20px;
	font-weight: bold;
	padding: 10px 0;
	text-align: center;
	text-decoration: none;
	-webkit-box-shadow: rgba(0,0,0,.3) 0px 5px 5px;
	text-shadow: rgba(0,0,0,0.6) 0px -1px 0px;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#4c4d4e), to(#404142));

}

.menu
{
	display: none; /* they should start out collapsed */
}

.menu ul
{
	list-style: none;
	margin: 10px;
	padding: 0;	
}

.menu ul li a
{		
	background-color: #ccc;
	border: 1px solid #999999;
	color: #ffffff;
	display: block;
	font-size: 17px;
	font-weight: bold;
	margin-bottom: -1px;
	padding: 12px 10px;
	text-decoration: none;	
	background-image: -webkit-gradient(linear, left top, left bottom, from(#4c4d4e), to(#404142));
	background-position: right center, center;
	background-repeat: no-repeat;
	text-shadow: 0px 1px 0px #000;
}


.menu ul li a.active.loading
{
	background-image: url(images/loading.gif);
	background-position: 95% center;
	background-repeat: no-repeat;
}


#content, #sidebar
{
	padding: 10px;
}

#footer 
{
	display: none;
}

.header h1 a
{
	text-shadow: 0px 1px 0px #000;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#999), to(#000));
}

ul.rounded
{
	-webkit-border-radius: 8px;
	-webkit-box-shadow: rgba(0,0,0,.3) 5px 5px 5px;
}

ul.rounded li:first-child, ul.rounded li:first-child a
{
	border-top: 0;
	-webkit-border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
}

ul.rounded li:last-child, ul.rounded li:last-child a
{
	-webkit-border-bottom-left-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;
}


ul.rounded li.withlink a
{
	background-color: #ccc;
	border: 1px solid #999999;
	color: #ffffff;
	display: block;
	font-size: 17px;
	font-weight: bold;
	margin-bottom: -1px;
	padding: 12px 10px;
	text-decoration: none;
	background-image:  -webkit-gradient(linear, left top, left bottom, from(#4c4d4e), to(#404142));
	background-position: right center, center;
	background-repeat: no-repeat;
	text-shadow: 0px 1px 0px #000;
}

ul.rounded li.nolink a
{
	background-color: #ccc;
	border: 1px solid #999999;
	color: #ffffff;
	display: block;
	font-size: 17px;
	font-weight: bold;
	margin-bottom: -1px;
	padding: 12px 10px;
	text-decoration: none;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#4c4d4e), to(#404142));
	background-position: right center;
	background-repeat: no-repeat;
	text-shadow: 0px 1px 0px #000;
}

ul.rounded li.nolink a a
{
    border: none;
    background-image: none;
    background-color:transparent;
    text-decoration: underline;
}

ul.rounded li.link a td
{
	color: #ffffff;
	display: block;
	font-size: 17px;
	font-weight: bold;
	margin-bottom: -1px;
	padding: 12px 10px;
	text-decoration: none;
	text-shadow: 0px 1px 0px #000;
}

ul.rounded li.nolink a td
{
	color: #ffffff;
	display: block;
	font-size: 17px;
	font-weight: bold;
	margin-bottom: -1px;
	padding: 12px 10px;
	text-decoration: none;
	text-shadow: 0px 1px 0px #000;
}



.buttondiv h1
{
	margin: 0;
	padding: 0;
}

.buttondiv div.btn
{
	margin: 5px 15px 5px 15px;
	padding:0;
	position: relative;
	top: 7px;
	height: 40px;
	font-weight: bold;
	text-align: center;
	color: White;
	text-shadow: rgba(0,0,0,0.6) 0px -1px 0px;
	line-height: 40px;
	border-width:0 8px 0 8px;
	-webkit-border-image: url(images/button.png) 0 8 0 8;
}

.buttondiv div.pressed
{
	-webkit-border-image: url(images/button_clicked.png) 0 8 0 8;
}

.linkbutton
{		    
    display: inline-block;
	height: 30px;
	font-weight: bold;
	text-align: center;
	color: White;
	text-shadow: rgba(0,0,0,0.6) 0px -1px 0px;
	line-height: 28px;
	border-width:0 8px 0 8px;
	-webkit-border-image: url(images/button.png) 0 8 0 8;
	z-index:100;
}