.clearfix:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
}
.clearfix { display: inline-block; }
* html .clearfix { height: 1%; } /* Hides from IE-mac \*/
.clearfix { display: block; }

.text-center { text-align: center; }
.warning {
	color: #f00;
	text-align: center;
}

body.admin {
	margin: 0;
	background: url(../image/pattern_185.png) 0 0 repeat;
}
body.admin .content {
	position: relative;
	margin: 65px auto 0;
	width: 768px;
	height: auto;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
}
body.admin .content section {
	top: 0 !important;
	left: auto !important;
	display: block;
	margin: 0 auto;
}
body.admin .content section#file_container { margin-top: 20px; }
body.admin .content section#file_container,
body.admin .content section#file_container .holder {
	height: 300px;
	width: 640px;
}
body.admin .content section#file_container .holder,
body.admin .content section#file_container .holder .scroll-pane {
	height: 290px;
	width: 640px;
}

body.admin .content > .text-content { padding: 0; }
body.admin .content > .text-content h1 { text-align: center; }

body.admin .content section#file_container .holder .scroll-pane .text-content ul li { border-bottom: #555 dotted 3px; }
body.admin .content section#file_container .holder .scroll-pane .text-content ul li:hover { background-color: #eee; }
body.admin .content section#file_container .holder .scroll-pane .text-content ul li a { display: inline-block; }
body.admin .content section#file_container .holder .scroll-pane .text-content ul li a:first-child {
	padding: 0 10px 3px;
	margin: 3px 0 -3px;
	border-bottom: #ddd solid 3px;
}
body.admin .content section#file_container .holder .scroll-pane .text-content ul li a:first-child + a {
	padding: 0 10px;
	display: none;
	float: right;
}
body.admin .content section#file_container .holder .scroll-pane .text-content ul li:hover a:first-child + a { display: inline-block; }

.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 32px;
	z-index: 5;
	padding-bottom: 20px;
}
.mainmenu { background: #eee; }
.mainmenu,
.mainmenu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.mainmenu li {
	font-family: "Titillium Web";
	padding: 0;
}
.mainmenu > li {
	position: relative;
	float: left;
}
.mainmenu > li.logout { float: right; }
.mainmenu > li a,
.mainmenu > li span {
	padding: 5px 10px;
	display: block;
}
.mainmenu > li span { cursor: pointer; }
.mainmenu > li > a,
.mainmenu > li span { color: #999; }
.mainmenu > li:hover > a,
.mainmenu > li.active > a {
	background: #ccc;
	color: #000;
}
.mainmenu > li > ul {
	position: absolute;
	top: 100%;
	left: 0;
	right: auto;
	display: none;
	padding: 5px;
	background: #ccc;
	border-radius: 0 0 3px 3px;
	-moz-border-radius: 0 0 3px 3px;
	-webkit-border-radius: 0 0 3px 3px;
	box-shadow: 3px 3px 5px #999;
	-moz-box-shadow: 3px 3px 5px #999;
	-webkit-box-shadow: 3px 3px 5px #999;
}
.mainmenu > li.logout ul {
	left: auto;
	right: 0;
}
.mainmenu > li:hover > ul { display: block; }
.mainmenu > li > ul > li a:hover { background: #eee; }


/* comment-form */
.admin-form {
	width: 576px;
	margin: 0 auto;
	padding: 20px;
	border: #999 solid 1px;
	background-color: #f5f5f5;
	border-radius: 7px;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	box-shadow: 0 2px 5px #999;
	-moz-box-shadow: 0 2px 5px #999;
	-webkit-box-shadow: 0 2px 5px #999;
}
.admin-form.login { width: 320px; }
.admin-form .row {
	position: relative;
	padding-bottom: 15px;
}
.admin-form p { margin: 0 0 10px; }
.admin-form fieldset .row { display: none; }
.admin-form legend { margin-bottom: 15px; }
.admin-form legend label { cursor: pointer; }
.admin-form legend label,
.admin-form .row label,
.admin-form .row input,
.admin-form .row .select,
.admin-form .btn input { font-family: "Titillium Web"; }
.admin-form .row label {
	font-weight: bold;
	display: none;
}
.admin-form .row input,
.admin-form .row.btn input[type="file"],
.admin-form .row .select {
	font-size: 100%;
	width: 574px;
	margin: 0 -1px;
	color: #000;
	background: #fff;
	padding: 4px 0;
	border: #999 solid 1px;
	border-radius: 3px;
	text-indent: 5px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	transition: all 0.3s;
	-o-transition: all 0.3s; /* Opera */
	-moz-transition: all 0.3s; /* Firefox 4 */
	-webkit-transition: all 0.3s; /* Safari and Chrome */
}
.admin-form .row.btn input[type="file"] { width: 490px; }
.admin-form .row.captcha input { width: 100px; }

.admin-form .row.captcha img { float: right; }

.admin-form.login .row input { width: 318px; }
.admin-form .row textarea {
	width: 570px;
	height: 314px;
	resize: none;
}

.admin-form .row input:active,
.admin-form .row input:focus {
	border-color: #1d76c1;
	box-shadow: 0 0 10px #1d76c1;
	-moz-box-shadow: 0 0 10px #1d76c1;
	-webkit-box-shadow: 0 0 10px #1d76c1;
}

.admin-form .btn { clear: both; }
.admin-form .btn ul {
	list-style: none;
	text-align: right;
	margin-bottom: 0;
}
.admin-form .btn ul li { display: inline-block; }
.admin-form .btn input {
	margin: 0;
	border: none;
	background: transparent;
}

.admin-form legend label input[type="radio"] { margin: 0 5px 0 0; }
.admin-form .row select {
	position: relative;
	margin: 0;
	height: 32px;
	line-height: 32px;
	width: 574px;
	opacity: 0;
	filter: alpha(opacity=0);
	z-index: 10;
	cursor: pointer;
}
.admin-form .row .select {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}
.admin-form .row .select:after {
	position: absolute;
	content: "";
	height: 0;
	width: 0;
	top: 13px;
	right: 10px;
	border: #fff solid 5px;
	border-top: #222 solid 5px;
}

.admin-form .btn input,
.admin-form .row.btn input[type="submit"] {
	font-size: 100%;
	padding: 3px 10px;
	background: #ccc;
	margin-left: 10px;
	border: #999 solid 1px;
	border-radius: 3px;
	cursor: pointer;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	box-shadow: 0 2px 5px #999;
	-moz-box-shadow: 0 2px 5px #999;
	-webkit-box-shadow: 0 2px 5px #999;
	transition: all 0.3s;
	-o-transition: all 0.3s; /* Opera */
	-moz-transition: all 0.3s; /* Firefox 4 */
	-webkit-transition: all 0.3s; /* Safari and Chrome */
}
.admin-form .row.btn input[type="submit"] { width: auto; }
.admin-form .btn input:active {
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}

.separate { position: relative; }
.separate-before:before,
.separate-after:after {
	content: "";
	position: absolute;
	top: 2px;
	bottom: 2px;
	width: 1px;
	background-color: #ccc;
}
.separate-before { margin-left: 1px; }
.separate-before:before {
	left: -1px;
}
.separate-after { margin-right: 1px; }
.separate-after:after {
	right: -1px;
}