.center {
	text-align:center;
}

ol {
	padding:10px;
	margin:0;
}

caption {
	padding:4px;
}

/* Common */

#content {
	margin-right:auto;
	margin-left:auto;
	width:1000px;
}

.login {
	margin-left:auto;
	margin-right:auto;
}

.login > div {
	width:360px !important;
}

#content {
	width:960px;
	position:relative;
	zoom:1;
}

.date td a {
	display:inline-block;
	padding:3px 8px;
}

.date th, .date td {
	text-align:center;
	padding:3px;
}

/* Box */

.box {
	font-size:13px;
	margin:0 0 10px 0;
	position:relative;
	border:1px solid;
}

.box h2, .box p, .box table {
	margin:0;
}

.box h2 {
	-moz-border-radius-topleft:5px;
	-moz-border-radius-topright:5px;
	-webkit-border-top-left-radius:5px;
	-webkit-border-top-right-radius:5px;
	padding:2px 10px;
	cursor:move;
}

.utils a {
	position:absolute;
	top:5px;
	right:10px;
	border:1px solid;
	padding:4px 8px;
}

.box p {
	padding:10px;
}

/* Typography */

label, #navigation, .error, .success, input[type="submit"], input[type="reset"],button  {
	font-weight:bold;
}

h1, h2, h3, h4, h5, h6 {
	border-bottom:1px solid;
}

a:hover {
	text-decoration:none;
}

a.edit, a.delete {
	padding-left:25px;
	background-repeat:no-repeat;
	background-position:left center;
}
a {
	padding:4px;
}

/* Table styling */

table {
	width:100%;
}

th, td {
	padding:7px 15px;
	text-align:left;
}

/* Header */

#head {
	-moz-border-radius-topright:10px;
	border:0;
	margin:10px auto 0 auto;
	padding:5px 30px;
	width:940px;
}

/* Nagivation */

#nav{
	margin:0;
	padding: 7px 6px 0;
	line-height: 100%;
	-moz-border-radius-bottomleft:10px;		
}

#nav .current a, #nav li:hover > a{
	
}

#navigation{
	position: relative;
	z-index:500;
}

#navigation li, #navigation ul li ul{
	text-decoration: none;
}

#navigation, #navigation ul{
	-moz-border-radius-bottomleft:10px;
	margin:0 auto 10px auto;
	padding:10px 30px;
	width: 940px;
	
}

#navigation ul{
	position: absolute;
}

#navigation li{
	position: relative;
}

#navigation ul li{
	background: #383E3C; 
	padding: 5px;
	margin-left: -30px;
	width: 100px;
	padding:10px 30px;
}

#navigation ul li a{
	background: #383e3c;
}

#navigation li a{
	text-decoration: none;
}

#navigation > li {
	display:inline;
	margin:0
}

#navigation > li > a, #navigation > li > span{
	display:inline-block;
	padding:5px 10px;
	text-decoration:none;
	background:#383E3C;
}

#navigation ul{
	padding-top: 1px;
	display: none;
}

#navigation li:hover ul{
	background:#fff; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
	background:rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
	list-style:none;
	position: absolute;
}

#navigation ul li{
	float: none;
}

/* Content */

#content {
	padding:20px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-bottomright: 10px;
}

#foot {
	padding:5px 30px;
	width:940px;
	margin:10px auto;
	-moz-border-radius-topright: 10px;
	-moz-border-radius-bottomleft: 10px;
}

.curved, #navigation a, #navigation span, .error, .success, .box, .utils a {
	-moz-border-radius-bottomleft:5px;
	-moz-border-radius-topright:5px;
	-webkit-border-bottom-left-radius:5px;
	-webkit-border-top-right-radius:5px;
}

.curved-alt, input, button, textarea, select, .box, .date td a, .utils a  {
	-moz-border-radius-bottomright:5px;
	-moz-border-radius-topleft:5px;
	-webkit-border-bottom-right-radius:5px;
	-webkit-border-top-left-radius:5px;
}

/* Forms */

label {
	display:block;
	font-size:17px;
	margin:0 0 5px;
	position:relative;
}

small {
	font-size:12px;
	font-weight:normal;
	padding-left:10px;
	color: #a90505;
}

input, textarea, select, button{
	border:1px solid;
	font-family:inherit;
	font-size:inherit;
	padding:4px;
}


input:focus, select:focus, textarea:focus{

	border: 1px solid #fe9602;			/* makes the input boxes highlight when focused on */
}


select{
	width: 150px;
}


select {
	padding-top:3px;
	padding-bottom:3px;
}

input[type="submit"], input[type="reset"], button {
	cursor:pointer;
	width:auto !important;
}

/* Error and Success messages */
.error, .success {
	padding:4px 8px;
}

/* Pagination */
.pagination {
	text-align:right;
}
.pagination a, .pagination span {
	display:inline-block;
	margin:0 2px;
	padding:2px 6px;
}



/*other*/

.popup{
	background-color: #687370;
}

.close_button{
	float: right;
}

.close_button:hover{
	color: #a90505;
}

.iframe_popup{
	float: left;
	padding: 10px;
}

button:focus, button:hover{
	background-color: #687370;
	color: #fff;
	border: #444;
}

span.red{
	color: red;
	FONT-WEIGHT: BOLD;
	FONT-SIZE: 20PX;
}

.graybox{
	border: none;
	background: #ccc
}
.bluebox{
	border: none;
	background: #dfe2fa
}
.pinkbox{
	border: none;
	background: #fadff2
}

button[disabled]{
	background: #eee;
	color: #bbb;
}
