html, body { height: 100%; }
* html #wrapper { height: 100%; }
body {
	background-color: #b7ad92;
	color: #575143;
	font-size: 12px;
	font-family: "Trebuchet MS", sans-serif;
	text-align: center;
}
a { color: #007eb2; text-decoration: none; }
a:hover { color: #006690; text-decoration: none;}
#wrapper {
	background: #b7ad92 url(../images/bg.gif) repeat-x left top;
	min-height: 100%;
	position: relative;
	width: 100%;
}
/* Header */
#header {
	height: 145px;
	margin: 0 auto;
	text-align: left;
	width: 960px;
}
#top {
	height: 66px;
}
#logo {
	margin-top: 10px;
}
#top_info {
	color: #645d4b;
	font-size: 13px;
	margin-top: 25px;
}
#top_info a { 
	color: #39352b;
}
#top_info a:hover { 
	text-decoration: underline;
}
#site_info {
	margin-top: 23px;
}
#site_info .site_title {
	color: #fff;
	display: inline;
	font-size: 30px;
	font-weight: normal;
}
#site_info .site_url {
	background: transparent url(../images/ico_prev.png) no-repeat right 10px;
	color: #e9d9af;
	font-size: 24px;
	font-style: italic;
	padding-right: 20px;
}
#site_info .site_url a {
	color: #e9d9af;
}
#site_info .site_url a:hover {
	color: #fff2d0;
}

/* Content */
#content {
	margin: 0 auto;
	text-align: left;
	width: 960px;
}
#main {
	background: #d2c9af url(../images/bg_content.gif) no-repeat left bottom;
	border-right: 1px solid #928a75;
	margin-bottom: 50px;
	padding-bottom: 30px;
	width: 780px;
}
#main h1 {
	color: #595241;
	font-size: 26px;
	font-weight: normal;
	margin: 20px 12px 10px;
	text-transform: uppercase;
}
#main p {
	color: #575143;
	line-height: 18px;
	margin: 10px 12px;
}
#main table {
	margin: 15px 10px 0 12px;
	width: 758px;
}
#main thead tr {
	background: transparent url(../images/bg_th.gif) repeat-x left top;
}
#main th.open {
	background: transparent url(../images/bg_open.gif) no-repeat left top;
	padding-left: 10px;
}
#main th.close {
	background: transparent url(../images/bg_close.gif) no-repeat right top;
}
#main th {
	color: #fff;
	margin-bottom: 10px;
	padding: 8px 0 20px;
	text-align: center;
	text-transform: uppercase;
}
#main tbody td {
	font-family: arial;
	font-size: 11px;
	height: 62px;
	padding: 10px 0 3px;
	text-align: center;
}
#main tbody.nheight td {
	height: 20px;
	padding: 10px 0 10px;
}
#main tbody td input {
	display: inline;
	float: left;
	margin-left: 5px;
}
#main tbody td label {
	display: block;
	overflow: hidden;
}
#main tbody td label span {
	display: block;
	padding-top: 4px;
}
#main tbody td a {
/*	font-size: 12px; */
	font-weight: bold;
}
#main td.align_left {
	padding-left: 10px;
}
#main tbody tr {
	background: transparent url(../images/hr.gif) repeat-x left top;
}
#main tbody code {
	font-size: 12px;
	line-height: 16px;
}
#main tbody tr:hover {
	background-color: #e1d8c0;
}
#main tbody tr:hover .ctrl {
	display: block;
}
#main .ctrl {
	background: transparent url(../images/bg_ctrl.gif) no-repeat left top;
	display: none;
	height: 28px;
	margin-top: 10px;
	width: 73px;
}
#main .ctrl img{
	margin: 7px 9px 0;
}

#start {
	margin: 20px auto;
	width: 675px;
}
#start .box {
	background-color: #dcd4bb;
	border: 3px solid #c5bba0;
	height: 110px;
	margin: 0 18px 18px 0;
	width: 206px;
}
#start .last {
	margin-right: 0;
}
#start .box h2 {
	background: transparent url(../images/hr.gif) repeat-x left bottom;
	font-weight: normal;
	margin: 3px 10px 0;
	text-transform: uppercase;
}
#start .box p {
	color: #6a6352;
	font-size: 11px;
	font-style: italic;
	line-height: 16px;
	margin: 7px 10px;
}
#start h2 a {
	color: #3b3423;
	display: block;
	padding: 10px 0 8px 27px;
}
#start h2 a:hover {
	color: #6c6040;
}

/* Sidebar */
#sidebar {
	background: #d2c9af url(../images/bg_sidebar.gif) no-repeat left bottom;
	border-right: 1px solid #928a75;
	padding-bottom: 30px;
	margin-bottom: 50px;
	width: 170px;
}
#sidebar .panel {
	background: transparent url(../images/hr.gif) repeat-x left bottom;
	margin: 10px 10px 0;
	padding-bottom: 10px;
}
#sidebar .panel h3 {
	background: transparent url(../images/hr.gif) repeat-x left bottom;
	color: #685e44;
	font-size: 18px;
	font-weight: normal;
	margin-bottom: 10px;
	padding-bottom: 10px;
	text-transform: uppercase;
}
#sidebar .nav li {
	margin-bottom: 3px;
}
#sidebar .nav a {
	color: #3b3423;
	display: block;
	padding: 10px 0 8px 27px;
	text-transform: uppercase;
}
#sidebar .nav li a:hover, #sidebar .nav li.active a {
	background-color: #fff;
}
#sidebar .nav li.active a {
	cursor: default;
}

/* Footer */
#footer {
	background-color: #7a7464;
	border-top: 1px solid #6e685a;
	height: 33px;
	position: absolute;
	bottom: 0;
	width: 100%;
}
#footer p {
	color: #eadfc2;
	margin-top: 10px;
}

/* Forms */
#form {
	width: 410px;
	margin-left: 100px;
	margin-top: 30px;
}
#form .line {
	margin-bottom: 5px;
}
#form label {
	display: inline;
	float: left;
	margin-right: 10px;
	padding-top: 6px;
	text-align: right;
	width: 110px;
}
#form input, #form textarea  {
	background-color: #fff;
	border: 1px solid #b7ad92;
	font-family: "Trebuchet MS", sans-serif;
	margin: 0;
	outline: 0;
	padding: 3px 5px;
	width: 270px;
}
#form input:focus, #form textarea:focus {
	background-color: #fff4da;
}
.fbutton {
	height: 28px;
	margin-top: 15px;
	overflow: hidden;
}
#form .fbutton {
	margin-top: 20px;
	margin-left: 120px;
	text-align: left !important;
}

#main .btn_save {
	background: transparent url(../images/btn_save.png) no-repeat left top;
	border: 0;
	color: #3b3423;
	font-family: "Trebuchet MS", sans-serif;
	margin: 0;
	padding: 5px 0 5px;
	text-indent: 28px;
	text-align: left;
	width: 125px;
	outline: none;
}
#main .btn_save:hover,#main .btn_save:focus {
	background-position: left -28px;
	background-color: transparent;
	cursor: pointer;
}
#main .update_accnt {
	text-indent: 25px;
}
.error {
	background: #f8f2de url(../images/ico_error.png) no-repeat 10px 9px;
	border: 2px solid #e86161;
	margin-bottom: 15px;
}
.error p {
	color: #cc0000 !important;
	margin-left: 35px !important;
}

.success {
	background: #f8f2de url(../images/ico_success.png) no-repeat 10px 9px;
	border: 2px solid #33b130;
	margin-bottom: 15px;
}
.success p {
	color: #2a9327 !important;
	margin-left: 35px !important;
}
/* Floats */
.left {
	display: inline;
	float: left;
}
.right {
	display: inline;
	float: right;
}
.clear {
	clear: both;
	overflow: hidden;
}

/* Misc */
.shadow {
	text-shadow: 0 1px 0 #e9e4d7;
}
.ico_dashboard a { background: transparent url(../images/ico_house.png) no-repeat 5px 7px; }
.ico_template a { background: transparent url(../images/ico_template.png) no-repeat 5px 7px; }
.ico_pages a { background: transparent url(../images/ico_pages.png) no-repeat 5px 7px; }
.ico_file_manager a { background: transparent url(../images/ico_file_manager.png) no-repeat 5px 7px; }
.ico_account a { background: transparent url(../images/ico_account.png) no-repeat 5px 7px; }
.ico_permission a { background: transparent url(../images/ico_permission.png) no-repeat 5px 7px; }
.ico_module a { background: transparent url(../images/ico_module.png) no-repeat 5px 7px; }
.ico_xfeatures a { background: transparent url(../images/ico_xfeatures.png) no-repeat 5px 3px; }

.align_left { text-align: left !important;}
.align_right { text-align: right !important; }
.align_center { text-align: center !important; }

.size50 { width: 50px; }
.size70 { width: 70px; }
.size110 { width: 110px; }
.size120 { width: 120px; }
.size150 { width: 150px; }
.size175{ width: 175px; }
.size300 { width: 300px; }
.fill { height: 100px;}
.hr {
	background: transparent url(../images/hr.gif) repeat-x left bottom;	
	height: 2px;
	margin: 10px 0;
}
.add_new_page,.add_new_module {
	background: transparent url(../images/btn_addnewpage.png) no-repeat left top;
	color: #3b3423;
	text-transform: uppercase;
	padding: 9px 13px 7px 30px;
	margin: -35px 10px 0 0;
}
.add_new_module { background: transparent url(../images/btn_addnewmodule.png) no-repeat left top; }
.add_new_page:hover,.add_new_module:hover { background-position: left bottom; }