* {
	margin: 0;
	padding: 0;
}
img {
	border: none;
}
.clear {
	font-size: 0;
	line-height: 0;
	clear: both;
	height: 0;
}
.line {
	margin: 12px 0;
	border-top: 1px solid #ccc;
}
.bold {
	font-weight: bold;
}
.left {
	float: left;
}
.right {
	float: right;
}

.small { font-size: 11px }

a {
	color: #345B81;	
}

hr { height: 1px; color: #ccc; border: 0; border-top: solid 1px #ccc; margin-bottom: 8px;}

/*************************
	BODY
*************************/
html, body { height: 100%; font-family: arial, verdana, sans serif; font-size: 13px; margin: 0; padding: 0; background-image: url(/images/bg2.gif); background-position: center top; background-repeat: no-repeat; background-color: #A6B8CA; text-align: center;}

/*************************
	WRAPPER
*************************/
#wrapper { position:relative;	min-height: 100%; height:auto !important; margin-left: auto; margin-right: auto; width: 780px; background-image: url(/images/main-bg.png); background-position: center; background-repeat: repeat-y; }
#content { text-align: left; padding: 26px; padding-top: 12px;}

/*************************
	HEADER
*************************/
#header {
	height: 150px;
	margin-bottom: 0;
	border-bottom:1px solid #666666;
	clear: both;
}
#logotype {

}
#a {
	float: left;
	padding-top: 12px;
	padding-left: 48px;
}
	#a li {
		list-style: none;
	}
/*************************
	MENU
*************************/
#menu {
	height: 36px;
	line-height: 36px;
	background: url(/images/menu_bg.gif) repeat-x;
	clear: both;
}
	#menu li {
		display: block;
		float: left;
	}
	#menu a {
		display: block;
		padding: 0 12px;
		background: url(/images/line.gif) right center no-repeat;
		color: #fff;
		font-weight: bold;
		text-decoration: none;
	}
	#menu .last a {
		background: none;
	}
	li#c {
		color: #ccc;
		padding-right: 12px;
		font-size: 11px;
		float: right;
	}
/*************************
	SEARCH
*************************/
#search {
	background: #F2EBAB;
	height: 36px;
	margin-bottom: 12px;
	border-bottom: 3px solid #ccc;
}
	#search .col {
		padding-top: 8px;
		float: left;
		width: 94px;
		margin: 0 6px;
	}
		#search .col select {
			width: 94px;
		}
	#search .col2{
		padding-top: 8px;
		float: left;
		width: 130px;
		margin: 0 6px;
	}
		#search .col2 input {
			width: 130px;
		}
	#search .col3{
		padding-top: 6px;
		float: left;
		width: 40px;

	}
		#search .col3 input {
			width: 40px;
		}
/*************************
	BANNER
*************************/
#banner {
	margin-bottom: 12px;
}



/*************************
	MAIN
*************************/
#main {
	float: left;
	width: 563px;
}
	#main h1 {
		font-size: 24px;
		color: #555;
		margin-bottom: 6px;
		padding-bottom: 6px;
	}
	#main h2 {
		font-size: 20px;
		color: #555;
		margin-bottom: 6px;
		padding-bottom: 6px;
		margin-top:12px;
	}

	#main a {
		color: #345B81;
		
	}
		#main a:hover {
			text-decoration: underline;
		}
	#main p {
		margin-bottom: 12px;
	}
	#main .error {
		color: #f00;
	}
	#main .form {
		background: #f9f9f9;
		border: 3px solid #eee;
		padding: 12px;
	}
	#main .form h2 { margin-left: 140px; }
	#main .form .row {
		height: 24px;
		line-height: 24px;
		clear: both;
	}
		#main .form label {
			float: left;
			width: 130px;
			display: block;
			text-align: right;
			line-height:140%;
		}
		#main .form label.error { float: right; text-align: left;}
		#main .form .input,
		#main .form .select,
		#main .form .submit,
		#main .form .textarea {
			float: right;
			width: 390px;
		}
			#main .form .input input,
			#main .form .select select,
			#main .form .textarea textarea {
				width: 240px;
				
				margin-bottom: 6px;
				font-family: arial, verdana, sans serif; font-size: 13px; 
			}
				
			#main .form .textarea textarea {
				height: 100px;
			}
			
			#main .form .input input:focus,
			#main .form .select select:focus,
			#main .form .textarea textarea:focus{
				background: #F2EFD7; 
				border: 1px solid #999;
			}
		#main .table {
			width: 100%;
			margin-bottom: 12px;
			border: 1px solid #ccc;
			padding: 12px;
			background: #F2EEC7;
		}
		#main .left_col
		{
					width: 49%;
					float: left;
		}
		#main .right_col
		{
					width: 49%;
					float: right;
		}
		#main .result {
			text-align: left;
			width: 100%;
			border-collapse: collapse;
		}
			#main .result th {
				color: #666;
				padding: 6px 3px;
				background: #eee;
				border-bottom: 2px solid #ddd;
				border-top: 1px solid #ddd;
			}
			#main .result td {
				padding: 6px 3px;
				border-bottom: 1px solid #ccc;
				vertical-align: top;
			}
			#main .result tr:hover td {
				background: #f9f9f9;
			}
		#ad-image {
			float: left;
			max-width: 482px;
			width:expression(this.width > 482 ? "482px" : this.width);
			border:solid 1px #999;
		}
		.ad-image-thumbs
		{
			float:left;
			margin-left:8px;
			width:68px;
		}
		.ad-image-thumb
		{
			margin-bottom: 12px;
			text-align: right;
			padding-right: 4px;
		}
		.ad-image-thumb-selected
		{
			background-image: url(/images/thumb-selected.gif);
			padding: 4px;
			margin-bottom: 8px;
		}
		.ad-image-thumb img
		{
			width: 60px;
			height: 45px;
		}
		.ad-image-thumb img:hover 
		{
			cursor: pointer;
		}
		.col-thumb img
		{
			width: 60px;
			height: 45px;
		}
		.multiple-thumb-overlay
		{
			position: absolute;
			width: 60px;
			height: 45px;
			background-image: url(/images/multiple-images-overlay.gif);
		}

	#ok {
		background: #9c0;
		padding: 12px;
		color: #fff;
		font-weight: bold;
		background-image: url(/images/ok_bg.gif);
		background-repeat: no-repeat;
		background-position: left top;
		padding-left: 46px;
	}
	
	#main ul { margin-left: 24px; }
	#main li { margin-bottom: 6px; }
	
	
	.pagination { text-align:center; }
/*************************
	SIDEBAR
*************************/
#sidebar {
	float: right;
	width: 140px;
	padding-left: 12px;
	padding-bottom: 12px;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
#sidebar h2 { margin-bottom: 6px; margin-top:12px; color: #555; 	font-size: 18px;}
#sidebar ul { margin-left: 24px; }
#sidebar li { margin-bottom: 6px; }
/*************************
	FOOTER
*************************/
#footer {
	padding-top: 12px;
	margin-top: 12px;
	border-top: 1px solid #999;
	color: #999;
	font-size: 11px;
	padding-bottom: 12px;
}
#footer a { color: #666; }
#footer .small { color: #bbb; float: right; }
#footer .small a { color: #bbb; }
#footer #ad-browse { font-size: 90%; margin-bottom: 15px;}
#footer #ad-browse ul li {list-style: none; margin: 0; padding: 0;}
#footer #ad-browse ul.news li { list-style-type: square; margin-left:15px;}
#main .result .mceEditor td {
border-bottom: 0;
padding: 0;
vertical-align:top;
}
.help { position: absolute; width: 300px; background-color: #F2EBAB; margin:20px; margin-left:100px; padding: 10px; border: solid 1px #aaa; box-dropshadow:2px 2px 3px #ccc; -webkit-box-shadow: 2px 2px 3px #ccc; -moz-box-shadow: 2px 2px 3px #ccc; border-radius: 3px; -moz-border-radius: 3px;
-webkit-border-radius: 3px;}
