/* General elements */
body {
	font: 12px Arial, Verdana, Sans-serif;
}
a:link, a:active, a:visited {
	color: #996633;
	text-decoration: none;
}
a:hover {
	color: #cc9966;
	text-decoration: none;
}
form {
	margin: 0 20px;
}
fieldset {
	padding: 5px;
}
legend {
	font-weight: bold;
}
label {
	float: left;
	width: 150px;
	text-align: left;
	margin-right: 5px;
	padding-top: 5px;
}
input, select, textarea {
	margin-bottom: 3px;
}
h1 {
	margin: 10px 0;
	padding: 0;
	font-size: 18px;
	font-weight: bold;
}
h2 {
	margin: 10px 0;
	padding: 0;
	font-size: 16px;
	font-weight: bold;
}
h3 {
	margin: 10px 0;
	padding: 0;
	font-size: 14px;
	font-weight: bold;
}
table {
	width: 100%;
}
th {
	color: #ffffff;
	background-color: #4f442e;
	padding: 2px 5px;
	text-align: left;
}
td {
	padding: 2px 5px;
	text-align: left;
}
img {
	border: 0;
}

/* Page design */
div#container {
	min-width: 950px;
	max-width: 1260px;
	padding: 0;
	margin: 0 auto;
	border: 1px solid #4f442e;
}
div#header {
	min-width: 950px;
	max-width: 1260px;
	height: 73px;
	background-image: url('../img/header.png');
	background-repeat: no-repeat;
}
div#userheader {
	float: right;
	width: 241px;
	height: 73px;
	background-image: url('../img/userpanel.gif');
	background-repeat: no-repeat;
}
div#userpanel {
	float: right;
	margin-right: 10px;
	margin-top: 10px;
	text-align: right;
	font-weight: bold;
	color: #4f442e;
	line-height: 200%;
}
div#menu {
	width: 100%;
	height: 30px;
	color: #999999;
	background-color: #4f442e;
	font-size: 16px;
	font-weight: bold;
}
div#main {
	width: 100%;
	padding: 20px 0 0 0;
}
div#content {
	margin: 0 20px;
}

/* Login form */
fieldset.loginset {
	width: 245px;
	border: 0;
	margin: 0 auto;
}
label.loginlabel {
	width: 80px;
	font-weight: bold;
	text-align: right;
}
input.loginfield {
	width: 150px;
}
input.loginbtn {
	margin-left: 85px;
}

/* Top menu */
menu#topmenu {
	float: left;
	margin-top: 0;
	margin-left: 10px;
	padding: 0;
	list-style: none;
}
menu#topmenu li {
	float: left;
	margin: 0;
	padding: 4px 10px;
}
menu#topmenu a:link,
menu#topmenu  a:active,
menu#topmenu  a:visited {
	color: #ffffff;
}
menu#topmenu  a:hover {
	color: #cc9966;
}

/* Side menu */
menu#sidemenu {
	float: left;
	min-width: 150px;
	margin-top: 0px;
	margin-left: 20px;
	margin-right: 20px;
	padding: 0;
	list-style: none;
}
menu#sidemenu li {
	margin-bottom: 2px;
	font-size: 14px;
	font-weight: bold;
}
menu#sidemenu li.side_active {
	font-size: 16px;
	font-weight: bold;
}
menu#sidemenu li.side_disabled {
	color: #999999;
	font-weight: normal;
}
menu#sidemenu a {
	font-weight: bold;
}

/* Form tips */
label.errortip {
	float: none;
	width: auto;
	margin: 0 0 0 10px;
	padding: 0;
	display: none;
	color: #ff0000;
	font-style: italic;
}

/* Input forms */
fieldset.formset {
	padding: 10px;
}
input.formfield {
	width: 250px;
}
input.checkbox {
	margin-bottom: 0;
	margin-top: 5px;
}
select.formselect {
	width: 255px;
}
textarea.notes {
	margin-top: 5px;
	margin-left: 0px;
}
img.btn_add {
	position: relative;
	top: 3px;
	left: 3px;
}
img.btn_remove {
	position: relative;
	top: 25px;
	left: -16px;
}
img.btn_up {
	position: relative;
	top: -12px;
	left: 3px;
}
img.btn_down {
	position: relative;
	top: 0;
	left: -16px;
}

/* Picture sheet */
table.img_table {
	width: auto;
	max-width: 650px;
}
table.img_table td {
	width: auto;
	vertical-align: center;
	text-align: left;
	padding: 3px 5px;
	border: 1px dotted #999999;
}
td.img_box {
	text-align: center !important;
}
td.img_box img {
	width: auto;
	height: auto;
	max-width: 64px;
	max-height: 64px;
}
td.kom_box {
	min-width: 300px;
}

/* View table */
table#view {
	width: auto;
}
table#view th {
	color: #000000;
	background-color: #ffffff;
	font-size: 16px;
	font-weight: bold;
	padding: 5px;
}
table#view td.title {
	width: 150px;
	font-weight: bold;
	background-color: #ffeebb;
}
table#view td.break {
	height: 5px;
}

/* Popup value add form */
div#pop_background {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('../img/gray_bg.png');
	background-repeat: repeat;
}
div#pop_window {
	position: fixed;
	width: 400px;
	height: 110px;
	top: 50%;
	left: 50%;
	margin-top: -55px;
	margin-left: -200px;
	background-color: #ffffff;
	padding: 10px;
}
