/*
	Tennent Technique
	http://www.tennenttechnique.co.uk/
	
	Systemagic
	http://www.systemagic.co.uk/

*/

button, a.button {
	float: left;
	border: 1px solid #4ba5de;
	line-height: 30px;
	padding: 0px;
	cursor: pointer;
	position: relative;
	*border: none;
	background: url(/theme/images/button.png) left center;
}

a.button {
	margin: 5px;
}

button em, a.button em {
	
	display: block;
	padding: 0px 10px;
	margin: -1px -3px;
	border: 1px solid #8bd5f2;
	color: #FFF;
	line-height: 30px;
	*padding: 0px;
	*margin: 0px;
	position: relative;
	*top: -1px;
}

a.button em {
	margin: 0px;
}

button:hover em, a.button:hover em {
	background: rgba(0,0,0,0.1);
}

button:active em, a.button:active em {
	background-position: bottom;
	border: 1px solid #FFF;
	color: #FFF;
}

.admin {
	float: right;
	width: 734px;
	padding-bottom: 20px;
}

.admin h1, .admin-title {
	font-weight: normal;
	font-size: 1.3em;
	color: #1c5f88;
	padding: 20px 45px 20px 20px;
	margin-bottom: 10px;
	background: #daeaf5;
}

.admin-title {
	margin: -10px 0px 0px 0px;
	line-height: 50px;
	height: 45px;
	overflow: hidden;
}

.admin-title strong {
	margin-left: 60px;
	text-align: right;
	color: #FF0000;
}

.admin h2 {
	font-weight: normal;
	font-size: 1.2em;
	color: #00a0ff;
	padding-left: 20px;
	width: 714px;
	background: #daeaf5;
}

.admin h1 small {
	color: #00a0ff;
	font-size: inherit;
}

.admin h1 button, .admin h2 button {
	float: right;
	margin: -8px -20px 0px 0px;
	*position: relative;
	*top: -55px;
	*margin-bottom: -55px;
}

.admin h2 button {
	margin-top: 3px;
}

.admin .list > ul > li {
	width: 684px;
	height: 40px;
	padding: 20px;
	border-top: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
}

.form {
	width: 684px;
	padding: 10px 20px 20px 20px;
}

.form label {
	float: left;
	width: 100px;
	line-height: 27px;
}

.form input {
	float: left;
	width: 540px;
	margin-right: 10px;
	border: 1px solid #CCC;
	padding: 5px;
	color: #546874;
}

.form select {
	float: left;
	min-width: 250px;
	margin-right: 10px;
	border: 1px solid #CCC;
	padding: 5px;
	color: #546874;
}

.form textarea {
	width: 682px;
	height: 450px;
}

.form span {
	cursor: pointer;
	float: right;
	width: 14px;
	height: 20px;
	position: relative;
	padding: 4px;
}

.form div span {
	cursor: pointer;
	float: none;
	width: inherit;
	height: inherit;
	position: inherit;
	padding: none;
}

.form span p {
	width: 200px;
	padding: 5px;
	display: none;
	position: absolute;
	top: 20px;
	left: -200px;
	background: #f3f3f3;
	border: 1px solid #CCC;
	border-radius: 5px;
	border-right: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
}

.form span:hover p {
	display: block;
	z-index: 999;
}

.form > ul {
	float: left;
	width: 540px;
	margin-right: 10px;
	border: 1px solid #EEE;
	padding: 5px;
	color: #5e5474;
	position: relative;
	z-index: 0;
}

.form > ul > li {
	display: inline-block;
	*display: inline;
	*zoom: 1;
	position: relative;
	margin: 7px;
}

.form > ul > li > a {
	padding: 5px 10px 5px 10px;
	background: #FFF;
	border: 1px solid #CCC;
	display: block;
}

.form > ul > li:hover > a {
	border: 1px solid #fac1c7;
	color: #9e289b;
}

.form > ul > li > em {
	display: none;
	position: absolute;
	top: 0px;
	color: #971c97;
	right: -12px;
	background: #FFF;
	padding: 4px 5px 6px 5px;
	border: 1px solid #fac1c7;
	cursor: pointer;
}

.form > ul > li:hover > em {
	display: block;
	z-index: 4;
}

.form > ul > li > em:hover {
	background: #fac1c7;
	padding: 4px 5px 6px 5px;
	border: 1px solid #fac1c7;
	color: #3b1e78;
}

.form > ul > li:active {
	position: relative;
	top: 1px;
	cursor: pointer;
}

.form > ul > .input {
	width: 495px;
}

.form > ul > .input:active {
	position: relative;
	top: 0px;
}

.form > ul > .input > em {
	display: block;
}

.form > ul > .input > input {
	width: 255px;
}

.form > ul > .input > button {
	float: left;
	position: relative;
	top: -3px;
}

.cloak {
	position: absolute;
	top: -10px;
	bottom: 0px;
	left: 0px;
	right: -10px;
	color: #391c76;
	background: url(/module/admin/images/white-cloak.png);
	text-align: center;
}

.cloak strong {
	color: #971c97;
	font-size: 1.6em;
	font-weight: normal;
}

.login {
	width: 400px;
	margin: 50px auto;
	overflow: hidden;
}

.login label {
	width: 70px;
	line-height: 27px;
}

.login input {
	display: block;
	border: 1px solid #CCC;
	padding: 5px;
	width: 388px;
}

.login span {
	line-height: 36px;
}

.text-hint {
	position: absolute;
	max-height: 100px;
	overflow: auto;
	border: 1px solid #CCC;
	z-index: 9999;
	width: 264px;
	display: none;
	padding-left: 1px;
	top:30px;
	*zoom:1;
}

.text-hint li {
	display: block;
	padding: 5px;
	border-bottom: 1px solid #EEE;
	cursor: pointer;
	color: #9e289b;
	background: #FFF;
}

.text-hint li:hover {
	display: block;
	padding: 5px;
	border-bottom: 1px solid #EEE;
	background: #fee9ee;
}

.highlight {
	padding: 15px;
	border: 1px solid #fac1c7;
	margin-bottom: 10px;
	color: #971c97;
}

.template, .template * {
	display: none;
	max-width: 0px;
	max-height: 0px;
	overflow: hidden;
	margin: 0px;
	padding: 0px;
	border: none;
	top: 0px;
	right: 0px;
	position: absolute;
}

.news-post {
	padding: 20px;
}

.news h1, .news h2, .news-post h1, .news-post h2 {
	background: none;
	padding: 0px;
	margin: 0px;
	border: none;
}

.news h1, .news-post h1 {
	color: #391c76;
	font-size: 1.5em;
	line-height: 1.5em;
}

.news h2, .news-post h2 {
	font-size: 1.2em;
	color: #00a0ff;
	margin-top: -5px;
}

.news-tag {
	font-size: 0.6em;
	padding: 3px;
	background: #00a0ff;
	border-radius: 5px;
	margin-left: 10px;
	position: relative;
	top: -2px;
}

.sub-border {
	background: url(/theme/images/sub-border.png) repeat-y #FFF;
}

.sub-menu {
	float: left;
	width: 163px;
	list-style-position: outside;
}

.sub-menu a { text-decoration: none; }

.sub-menu > li {
	border: none;
	border-bottom: 1px solid #e2dfe9;
	position: relative;
}

.sub-menu > .title, .sub-menu > .title:hover {
	border-bottom: 1px solid #e2dfe9;
	position: relative;
	font-weight: bold;
	padding: 10px;
	margin-top: 10px;
	color: #00a0ff;
}

.sub-menu li > a {
	padding: 10px;
	display: block;
	border: 1px solid #FFF;
}

.sub-menu li:hover > a {
	background: #3c93ca;
	color: #FFF;
}

.sub-menu .indent {
	border-left: 20px solid #e2dfe9;
}

.selected {
	background: #1c5f88;
	color: #FFF;
}