body { margin: 0; background: #eee; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; }
form { margin: 10px 0; }
form p { margin: 6px 0; }
input, textarea, select { background: linear-gradient(#f5f5f5, #fff);  margin: 0px 0; border: 1px solid #c5c5c5; border-radius: 3px; 
						  box-shadow: 0 1px 1px #ddd inset; padding: 6px; }
textarea { margin-top: 5px; }
select { text-align: left; padding: 5px; max-width: 200px; }
tr:focus, li:focus, input:focus, button:focus { outline: none;   }

input:hover, textarea:hover, select:hover { box-shadow: 0 0px 3px #bbb inset; }
input:focus, textarea:focus, select:focus { box-shadow: 0 0px 3px #bbb inset; border-color: #bbb; background: #ff9; outline: none; }
input:disabled, input[readonly] { background: linear-gradient(#ccc,#ccc); border: 1px solid #bbb; color: #000; box-shadow:none }
span.label { display: inline-block; width: 110px; vertical-align: top; padding: 6px 0; }
input.autoselect, input.autoselect:hover, input.autoselect:focus { width: auto; padding: 0; border: none; background: none; box-shadow: none; outline: none; }

input + label { display: inline-block; cursor: pointer; position: relative; padding-left: 29px;  
    margin: 0 10px 0 -18px; font-size: 13px; line-height: 24px; }
input + label:before { content: ""; display: inline-block; width: 24px; height: 24px; border-radius: 12px;  
    margin-right: 14px; position: absolute; left: 0; bottom: 0px; background: #ccc;
    box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, .3), 0px 1px 0px 0px rgba(255, 255, 255, .8); }
input:focus:checked + label:before, input:checked + label:before { text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
	content: "\2022"; color: #0f0; font-size: 40px; text-align: center; line-height: 19px; background: #eee; }
input:focus + label:before, input:focus:checked + label:before { color: #69CE7E; background: #ff0; }
th.c, td.c { white-space: nowrap; }
table input[type=checkbox] + label { padding-left: 10px; }
input[type=checkbox] + label:before { border-radius: 3px; }
input[type=checkbox]:checked + label:before { content: "";background: url(images/tick.png) center no-repeat #eee; }
input[type=checkbox]:focus:checked + label:before { background: url(images/tick.png) center no-repeat, linear-gradient(#ee0, #ff0); }

input[name=id] { text-align: right; }
input.datepicker { width: 70px; }

.fl { float: left; }
.fr { float: right; }
.cl { clear: both; }
.l { text-align: left; }
.r { text-align: right; }
.c { text-align: center; }
.nw { white-space: nowrap; }

table { background: linear-gradient(#ddddFE,#ccccfc 30px); width: 100%; text-align: left; border-radius: 4px; border: 1px solid #abe; 
		 border-collapse1: collapse; border-spacing: 1px; }
th { text-align:center; font-weight: normal;  line-height: 14px; padding: 7px 4px; font-size: 11px; }
th:first-child, td:first-child { border-left: none; }
th[data-order] { color: #00b; cursor: pointer; }
th[data-order]:hover:after { content: "\0025B2"; padding: 0; line-height: 6px; margin-right: -11px; }
th[data-order].asc:after { content: "\0025B2";  padding: 0; line-height: 6px; margin-right: -11px; }
th[data-order].desc:after { content: "\0025BC";  padding: 0; line-height: 6px; margin-right: -11px; }
td { background-color: #fff; padding: 3px 4px; font-size: 11px; border-left1: 1px solid #ddf;  border-top1: 1px solid #eef; }
tr:nth-child(odd) td1 { background-color: #E8EDFF; }
tbody tr:hover td { background-color: #ddd; }
tbody tr:focus td, tr.focus td { background-color: #ff0; }
tfoot td { background: none }

td.button { cursor: pointer; padding: 2px 14px; height:16px; }
td.button:hover { outline: #789 1px solid; }
img { vertical-align: bottom; border: none; }
a { cursor: pointer; text-decoration: none; }
a.button { display: inline-block; border-radius: 2px; padding: 2px 5px; background-color: #ddd; color: #00f; line-height: 16px; white-space: nowrap; 
		  border: 1px solid #ccc; border-color: #d5d5d5 #d5d5d5 #c5c5c5;
		  background-image: linear-gradient(#eee, #ddd); 
		  box-shadow: 0px 1px 2px rgba(0,0,0,0.15); }
a.button.on { background-color: #ff0; }
a.button img { vertical-align: top; }
a.button:hover { text-decoration: none; background-color: #fff; }

button { background-color: #43992F; color: #fff; margin: 2px 0; border-radius: 3px; padding: 5px 20px; cursor: pointer; 
		 border: 1px solid; border-color: #7a2 #481 #370; font-size: 15px; font-family: tahoma;
		 text-shadow: 0px 1px 3px rgba(0,0,0,0.4);		 			
		 background-image: linear-gradient(#89c833, #458f15);
		 box-shadow: 0px 1px 1px 0px rgba(255,255,255,0.3) inset, 0px 1px 3px rgba(0,0,0,0.3); }
button:hover, button:focus { background-image: linear-gradient(#99d843, #559f25); color:#ff0; }

button[type=button] { background: linear-gradient(#9cf, #7af), #9cf; margin: 0; border: 1px solid; border-color: #9cf #7af #69f; }
button[type=button]:hover { background-image: linear-gradient(#adf, #9cf); }
button[type=button] img { margin-left: -4px; }
.mce-btn button[type=button] { background: transparent; border: none; }

.button.txt { background: url(images/page_white_text.png) center no-repeat, linear-gradient(#eef, #eef); }
.button.pdf { background: url(images/page_white_acrobat.png) center no-repeat, linear-gradient(#eef, #eef); }
.button.notes { background: url(images/note.png) center no-repeat, linear-gradient(#eee, #eee); }
.button.view { background: url(images/zoom.png) center no-repeat, linear-gradient(#eef, #eef); }
.button.edit { background: url(images/pencil.png) center no-repeat, #eef; }
.button.del { background: url(images/delete.png) center no-repeat, #eef; }

.popup-back { display: none; background-color: #777; position: absolute; top: 0; left: 0; width: 100%; z-index: 100; cursor: pointer; opacity: 0.7; }
.popup.login { display: block; position: relative; margin: 160px auto 160px auto; width: 330px; padding: 20px; }
.popup { display: none; position: fixed; width: auto; padding: 0 20px 20px 20px; 
		background-color: #ddd; background: linear-gradient(#e5e5e5, #ccc); border-radius: 2px; z-index: 110; box-shadow: 0 4px 16px #777; }
.popup-title { display:none; margin-top: -10px; font-size: 15px; font-weight: bold; color:#050; font-family: arial; text-shadow: 1px 1px 3px rgba(0,0,0,0.2); }
.popup .popup-title { display: block }
.popup .close { text-align: right; padding: 5px; margin-right: -15px; }

.edit .tinymce { width:420px; padding: 5px 0; }

/* HTML */
.menu { position: relative; background-color:#ccc; height: 23px; font-size:11px; padding:4px 15px; z-index:2; 
	   background: linear-gradient(#3980bb,#245ea4); color:#fff; box-shadow: 0 0px 2px #555; }
.menu a { color:#aaf; }
.menu ul { padding: 0; margin: 0; position: absolute; top:1px; left:5px; }
.menu li { padding: 3px 3px; margin-right: 1px; display: inline-block; height: 23px; overflow: hidden;  
		  background: linear-gradient(#3980bb,#245ea4); vertical-align: top }
.menu li.focus , .menu li:hover { height: auto;  box-shadow: 0 2px 14px #468, 0 0px 3px #356 inset; border-radius: 2px; }
.menu li.nosub:hover { height:23px; }
.menu li a { display: block; padding:5px 8px 5px 8px; margin-bottom: 5px;  text-decoration:none;  color:#fff; width:20px }
.menu li a:first-child, .menu li:hover a, .menu li.focus a { width:auto; }
.menu li a:hover, .menu li a.sel { background-color:#5ad; color:#fff; border-radius:3px; }
.menu li a:focus { background-color:#ff0; border-radius:3px; color:#000 }
.menu .user { float: right; margin: 5px; padding: 3px 5px; background-color: #5ad; border-radius: 2px; box-shadow: 0 1px 1px #111 inset; }

.content { position: relative;  background-color: #eee; padding: 10px; }

textarea[name=label] { font-family: 'Times new roman'; font-size:14px; width:160px; text-align: center; }

.preview { float:right; margin:-16px 20px 3px 0; height: 100px; max-width:300px; box-shadow: 0 0 17px #bbb; cursor: pointer; z-index: 1; background-color: #fff  }
.preview.fixed { position:fixed; top:30px; right:40px; }
.preview.fixed.preview-gif { right: 240px; }
.img-full { position:fixed; top:5%; right:20px;  z-index: 2; box-shadow: 0 0 17px #bbb; cursor: pointer; background-color: #fff }

form div.fl { margin-right:20px; }

.popimg { width: 200px; margin-right: 0px; }

#tree { position: absolute; top: 60px; right: 30px; min-width: 600px; height: 650px; background-color: #bbb; border: 1px solid #555; border-radius: 4px; padding: 5px 10px; }
#tree iframe { width: 100%; height: 630px; }
.tree { min-width: 300px; height: 550px; padding: 10px 20px; background-color: #f5f5f5; line-height: 16px; margin: 0px 0 0 0px; border-radius: 4px; box-shadow: inset 0 0px 2px 0px #777; overflow-y: scroll; }
.tree .expand, .tree .collapse { padding: 0 0px; margin-left: -23px; cursor: pointer; display: inline-block; width: 16px; height: 16px; }
.tree .expand { background: url(images/expand.png) no-repeat; }
.tree .collapse { background: url(images/collapse.png) no-repeat; }
.tree ul { list-style-type: none; padding-left: 15px; display: block; }
.tree li { padding: 1px 5px 1px 5px; display: block; clear: both; height: 16px; }
.tree li a { float: left; }
.tree li:hover { background-color: #ff0; }
.tree span { visibility: hidden; text-align: right; float: right; }
.tree li:hover span { visibility: visible; }
.tree em { color: #777; }
.tree a { color: #333; }
.tree img { vertical-align: top }
.tree-leve1l { margin-left: 10px }
.level-1 li { background-color: #f5f5f5; font-size: 14px; }
.level-2 li { background-color: #eee; font-size: 13px; }
.level-3 li { background-color: #e5e5e5; font-size: 12px; }
.level-4 li { background-color: #ddd; font-size: 11px; }
.level-5 li { background-color: #ccc; font-size: 10px; }
.level-6 li { background-color: #bbb; font-size: 10px; }

option.level-2, td.level-2 { background-color: #f5f5f5; font-size: 14px; }
option.level-3, td.level-3 { padding-left: 10px; background-color: #e5e5e5; font-size: 13px; }
option.level-4, td.level-4 { padding-left: 20px; background-color: #ddd; font-size: 12px; }
option.level-5, td.level-5 { padding-left: 30px; background-color: #ccc; font-size: 11px; }
option.level-6, td.level-6 { padding-left: 40px; background-color: #bbb; font-size: 10px; }

/* Pages */
.pages { margin: 10px auto; font-size: 13px; }
.pages a, .pages a:visited, .pages input { background-color: #bbb; display: inline-block; border-radius: 2px; width: 30px; padding: 5px 0px; text-align: center; 
	margin: 2px 2px 2px 0;  color: #555; border: 1px solid #000; border-color: #ccc #bbb #aaa; 
	background-image: linear-gradient(#ddd, #bbb); box-shadow: 0px 1px 1px 0px rgba(255,255,255,0.4) inset, 0px 1px 2px rgba(0,0,0,0.1);
	text-shadow: 0px 1px 0px rgba(255,255,255,0.5);	-moz-user-select: none; -webkit-user-select: none; }
.pages a:hover  { text-decoration: none; background-color: #2369b1; background-image: linear-gradient(#fff, #ddd); }
.pages input, .pages input:hover { cursor: auto;text-decoration: none; background: #ccc;  border-color: #aaa #bbb #bbb; 
	box-shadow: 0px 1px 1px 0px rgba(0,0,0,0.1) inset, 0px 0px 1px rgba(255,255,255,0.7); }