html, body, form, fieldset {
	margin: 0;
	padding: 0;
}
body {
	background: #dae2ed;
	color: #444;
	font-family: tahoma, verdana, arial;
	width:100%;
	font-size: 13px;
	line-height: 1.4em;
}

/* Normal link */
a, a:visited {
	color: #4d708a;
	text-decoration:none;
}

a:hover, a:active, a:focus {
	text-decoration: underline;
}

a img {
	border: none;
}

/* Title text */
h1, h2, h3, h4 {
	color: #4d708a;
	line-height: normal;
	font-weight:normal;
	font-style:italic;
	font-family: Arial, Helvetica, sans-serif;
}

h1 {font-size: 220%;}
h2 {font-size: 200%;}
h3 {font-size: 160%;}
h4 {font-size: 125%;}

p, pre, blockquote, ul, ol, h1, h2, h3, h4 {
	margin: 2px 0 10px;
	padding: 0;
}

strong {
	font-weight:bold;
}

ul {
	list-style: none;
}
ul li {
	background: url(../images/bullet.gif) no-repeat 18px 7px;
	padding-left: 30px;
	margin:8px 0 0;
}

#wrap,
#wraptop,
#wrapin,
#footerwrap {
	width:100%;
	text-align:center;
	margin:0;
	padding:0;
}

#messagewrap {
	position:fixed;
	top:0;
	width:100%;
	text-align:center;
	background:#fffddf;
}
#message {
	margin:0 auto;
	padding:14px;
	color:#cc0000;
	width:1000px;
}

#wraptop {
	border-bottom:4px solid #7acddd;
	background: url(../images/top-grad.gif) repeat-x;
	height:45px;
	margin-bottom:15px;
}
#top {
	width:1200px;
	margin: 0 auto;
	text-align:left;
	padding:5px 0 0;
	height:40px;
	color:#FFF;
}
#top h2 {
	color:#FFF;
	font-style:normal;
	margin:0;
}
#top h2 a {
	color:#FFF;
}
#top h2 a:hover {
	text-decoration:none;
}
#topright a, 
#topright a:visited {
	color:#FFF;
	padding:0 5px;
}
#topright a:hover, 
#topright a:active, 
#topright a:focus {
	background:#7acddd;
	text-decoration:none;
}
#topleft {
	float:left;
	width:70%;
	padding:0;
	margin:0;
}
#topright {
	float:right;
	width:29%;
	padding:15px 0 0;
	margin:0;
	text-align:right;
}

#content {
	width:1200px;
	margin: 0 auto;
	text-align:left;
	padding:0;
}
#left {
	float:left;
	width:930px;
	padding:9px;
	margin:0;
	border:1px solid #b9c8dd;
	background:#fff;
}
#right {
	float:right;
	width:249px;
	padding:0;
	margin:0;
	border-top:1px solid #b9c8dd;
	border-right:1px solid #b9c8dd;
	border-bottom:1px solid #b9c8dd;
	background:#fff;
}
#loading {
	float:right;
	width:240px;
	height:20px;
	padding:0 0 0 10px;
	margin:0 0 5px 0;
}
span.loading {
	float:left;
	height:20px;
	background:url(../images/loading.gif) no-repeat left;
	padding:0 0 0 20px;
	margin:0;
	color:#cc0000;
        display: none;
}

/* Right Menu */
#right ul.menu {
	list-style: none;
	margin: 0;
	padding: 0;
	float:left;
	width:100%;
}
#right ul.menu li {
	display: block;
	margin: 0;
	padding: 0;
	line-height: normal;
	background: none;
}
#right ul.menu li a {
	color: #999;
	display:block;
	width:229px;
	padding: 7px 0 7px 20px;
	margin:0;
	text-decoration: none;
	font-weight:bold;
	background: url(../images/arrow.gif) no-repeat 10px;
	border-top:1px solid #f0f0f0;
}
#right ul.menu li a:hover,
#right ul.menu li a:active,
#right ul.menu li a:focus,
#right ul.menu a.active{
	text-decoration: none;
	color:#4d708a;
	background: url(../images/arrow.gif) no-repeat 11px;
}
#right ul.menu li ul {
	list-style: none;
	margin: 0 0 0 25px;
	padding: 0;
}
#right ul.menu li li {
	border: none;
	background: none;
	padding: 0;
}
#right ul.menu li li a {
	border: none;
	padding: 2px 0 2px 15px;
	margin:0 0 2px;
	text-transform: none;
	font-weight: normal;
	background: url(../images/arrow.gif) no-repeat 4px 8px;
	text-decoration: none;
	width: 209px;
}
#right ul.menu li li a:hover,
#right ul.menu li li a:active,
#right ul.menu li li a:focus {
	color:#4d708a;
	text-decoration: none;
	background: url(../images/arrow.gif) no-repeat 5px 8px;
}

.topbuttons {
	float:right;
}
.topbuttons a,
.topbuttons a:visited {
	padding:2px 10px;
	margin-left:3px;
	background:url(../images/arrow.gif) no-repeat left;
}
.topbuttons a:hover {
	background:#4d708a;
	color:#fff;
	text-decoration:none;
}

#footer {
	margin:10px auto;
	width:1200px;
	padding:0;
	text-align:left;
	color:#4d708a;
	font-size:11px;
}

/* FORM */
input, select, textarea {
	font-size: 15px;
	padding: 3px;
	margin:3px 0;
	border: 1px solid #b9c8dd;
	background: #fcfcfc;
	color: #333;
	width:700px;
}

input.short {
	width:350px;
}

input:hover,
input:focus,
textarea:hover,
textarea:focus{
	background:#fffddf;
}

input#close, #close {
	display:block;
	width:120px;
	margin:5px 15px;
	padding:3px 15px;
	cursor:pointer;
	background: url(../images/top-grad.gif) repeat-x top;
	color:#fff;
	border:none;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
}
input#submit {
	display:block;
	width:120px;
	margin:5px 15px;
	padding:3px 15px;
	cursor:pointer;
	background: url(../images/top-grad.gif) repeat-x top;
	color:#fff;
	border:none;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
}

input#submit:hover {
	text-decoration:none;
	background: url(../images/top-grad.gif) repeat-x bottom;
}

dl {
	background:#f2f5f9;
	border:1px solid #e6ebf3;
	padding:10px;
}
dt#id-label {
	font-size:14px;
	color:#000;
	font-weight:bold;
}
dt {
	padding:0;
	margin:0;
}
dd {
	padding:10px;
	margin:0;
}
dd:hover {
	background:#e6ebf3;
}

dd.submit {
}
dd.submit:hover {
	background:none;
}

ul.errors {
	color:#cc0000;
}

ul.errors li {
	background: none;
	padding-left: 20px;
	margin:2px 0 0;
}

label.required {
	background: url(../images/required.gif) no-repeat top right;
	padding:0 10px 0 0;
}

/* Table */
table#listing {
	border-top:1px solid #dfdfdf;
	border-left:1px solid #dfdfdf;
	line-height:normal;
}
table#listing thead {
	background:#fffddf;
	color:#cc0000;
	font-weight:bold;
}
table#listing thead td {
	white-space:nowrap;
	padding:6px;
}
table#listing tr.zebra {
	background: #F2F7FF;
}
table#listing tbody tr:hover {
	background: #fffddf;
}
table#listing td {
	padding:2px 6px;
	border-right:1px solid #dfdfdf;
	border-bottom:1px solid #dfdfdf;
}
table#listing td.switch {
	text-align:center;
}
table#listing td.icons,
table#listing td.sort {
	text-align:center;
	white-space: nowrap;
}

#listing tr.dir a.dragbl {
    background: url(../images/icons/folder.png) left no-repeat;
    padding-left: 20px;
}
#listing tr.image a.dragbl {
    background: url(../images/icons/image.png) left no-repeat;
    padding-left: 20px;
}
#listing tr.text a.dragbl {
    background: url(../images/icons/txt.png) left no-repeat;
    padding-left: 20px;
}
#listing tr.pdf a.dragbl {
    background: url(../images/icons/pdf.png) left no-repeat;
    padding-left: 20px;
}
#listing tr.misc a.dragbl {
    background: url(../images/icons/misc.png) left no-repeat;
    padding-left: 20px;
}
#listing tr.html a.dragbl {
    background: url(../images/icons/html.png) left no-repeat;
    padding-left: 20px;
}
#listing tr.php a.dragbl {
    background: url(../images/icons/source_php.png) left no-repeat;
    padding-left: 20px;
}
#listing tr.tar a.dragbl {
    background: url(../images/icons/tar.png) left no-repeat;
    padding-left: 20px;
}

/* Icons */
a.turn_off,
a.turn_on,
a.edit,
a.delete,
a.rmdir,
a.gallery,
a.search,
a.lightbox,
a.mail,
a.sorting_down,
a.sorting_up {
	padding:0;
	margin:1px;
	width:16px;
	height:16px;
	cursor:pointer;
	text-indent:20px;
	overflow:hidden;
	display:inline-block;
}
a.turn_off {
	background:url(../images/ioff.png);
}
a.turn_on {
	background:url(../images/ion.png);
}
a.edit {
	background:url(../images/iedit.png);
}
a.delete {
	background:url(../images/idel.png);
}
a.rmdir {
	background:url(../images/idel.png);
}
a.gallery {
	background:url(../images/ifolder.png);
}
a.search {
	background:url(../images/isearch.png);
}
a.lightbox {
	background:url(../images/isearch.png);
}
a.mail {
	background:url(../images/imail.png);
}
a.sorting_down {
	background:url(../images/idown.png);
}
a.sorting_up {
	background:url(../images/iup.png);
}

a.page,
a.image,
a.folder {
	padding:0 0 0 20px;
	margin:0;
}
a.page {
	background:url(../images/ipage.png) no-repeat left;
}
a.image {
	background:url(../images/ipic.png) no-repeat left;
}
a.folder {
	background:url(../images/ifolder.png) no-repeat left;
}

/* Login */

#login {
	width:400px;
	padding:19px;
	margin:30px auto;
	border:1px solid #b9c8dd;
	background:#fff;
	text-align:left;
}
#login input {
	width:350px;
}
#login input#submit {
	width:120px;
	margin:5px 9px;
}


/* Paging */
.pagingwrap {
	width:100%;
	padding:20px 0 0;
	margin:0;
	text-align:center;
}
.paging {
	margin:0 auto;
	padding:0;
	text-align:left;
	width:350px;
}
.paging ul span {
	padding:1px 6px;
	margin:0 2px;
	color:#999999;
	border-top: 1px solid #f0f0f0;
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	border-left: 1px solid #f0f0f0;
	background:#F2F7FF;
	display: block;
}
.paging ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.paging ul li {
	margin: 0;
	padding: 0;
	line-height: normal;
	background: none;
	float:left;
}
.paging ul li a,
.paging ul li a:visited {
	float:left;
	padding:1px 6px;
	margin:0 2px;
	text-decoration: none;
	border-top: 1px solid #f0f0f0;
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	border-left: 1px solid #f0f0f0;
	background:#ffffff;
}
.paging ul span.inactive {
	padding:1px 6px;
	margin:0 2px;
	color:#999999;
	border-top: 1px solid #f0f0f0;
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	border-left: 1px solid #f0f0f0;
	background:#ffffff;
}
.paging ul li a:hover,
.paging ul li a:focus,
.paging ul li a:active {
	background:#fffddf;
	color:#000;
}


/* Clearfix */
.clearfix:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
}

* html > body .clearfix {
	display: block;
	width: 100%;
}

* html .clearfix {
	height: 1%;
}

.checkbox {
        border: none;
        width: 20px;
        background: none;
}

.checkbox:hover {
        background: none;
}

dd.inline input#submit {
 float:right;
 margin:0;
}
dd.inline select {
 float:left;
}

*:first-child+html .clearfix { zoom: 1; } /* IE7 */

.modal {
		background-color:#fff;
		display:none;
		width:400px;
                padding: 0 12px;
		text-align:left;

		opacity:0.8;
		-moz-border-radius:6px;
		-webkit-border-radius:6px;
		-moz-box-shadow: 0 0 50px #ccc;
		-webkit-box-shadow: 0 0 50px #ccc;
	}
/* validation error message */
.error {
	background-color:#E8FF6D;
	padding:2px;
	color:#000;
	-webkit-box-shadow: #000 0 0 12px;
	-moz-box-shadow: #000 0 0 12px;
}
.error {
	z-index:10000;
}

