/**********************************************************************************************
 * DROPSITE - a zero-cost visual and code-based content management system,
 * utilizing the Dropbox(R) public directory as 'web server',
 * CKEditor as Visual editor, and
 * EditArea as Code editor.
 *
 * (c) 2011 by Ingo Thomas (WAPRSITE.NET)
 *
 * This site and any part of it may be distributed freely,
 * as long as this notice remains contained and unchanged.
 *********************************************************************************************/

/* ======= DEFAULT SETTING OPTIMIZATION ======= */
body{ /* this is the 'body' (whole visible content) of the website */

	margin:0px; /* use whole page, no gap around it */

	font-family:sans-serif; /* set better default font */
	font-size:12px; /* default text-size: 12px */
	color:black; /* text-color as text or hexadecimal (#RRGGBB)*/

	background-color:#eee; /* background color, visible where no background image */

	/*background-image:url(bottomWrapper-bg.jpg);*/ 	/* background-image name */
	/*background-position:bottom center;*/ 				/* background-image position */
	/*background-attachment:fixed;*/ 					/* background-image does not scroll away */
	/*background-repeat:repeat-x;*/ 					/* background-image repeats only horizontally */
	/*background-repeat:repeat-y;*/ 					/* background-image repeats only vertically */
	/*background-repeat:no-repeat;*/ 					/* background-image does not repeat at all */

	/* see the properties here: http://www.w3schools.com/css/css_background.asp */

}

/* transfer default font def into table fields */
td{
	font-family:sans-serif;
	font-size:12px;
}

/* better link definition (no underline) */
a:link, a:visited {
	text-decoration:none;
	border:0px;
}
a:hover {
	text-decoration:underline;
	border:0px;
}

/* avoid blue border around linked images (IE) */
img{
	border:0px;
}

/* ========== TABLE SORTER - makes any table (class 'tablesorter') sortable ========== */

table.tablesorter {
	font-family:arial;
	background-color: #CDCDCD;
	margin:10px 0pt 15px;
	font-size: 8pt;
	text-align: left;
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
	background-color: #e6EEEE;
	border: 1px solid #FFF;
	font-size: 8pt;
	padding: 4px;
}
table.tablesorter thead tr .header {
	background-image: url(images/editor/sortable_table/bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
table.tablesorter tbody td {
	color: #3D3D3D;
	padding: 4px;
	background-color: #FFF;
	vertical-align: top;
}
table.tablesorter tbody tr.odd td {
	background-color:#F0F0F6;
}
table.tablesorter thead tr .headerSortUp {
	background-image: url(images/editor/sortable_table/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
	background-image: url(images/editor/sortable_table/desc.gif);
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
background-color: #8dbdd8;
}

/* ========== JQ-TOOLS ========== */
/* get rid of those system borders being generated for A tags */
a:active {
  outline:none;
}
:focus {
  -moz-outline-style:none;
}

/********** TREEVIEW SLIDER **********/

.treeview, .treeview ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.treeview ul {
	background-color: white;
	margin-top: 4px;
}

.treeview .hitarea {
	background: url(images/editor/treeview/treeview-default.gif) -64px -25px no-repeat;
	height: 16px;
	width: 16px;
	margin-left: -16px;
	float: left;
	cursor: pointer;
}
/* fix for IE6 */
* html .hitarea {
	display: inline;
	float:none;
}

.treeview li {
	margin: 0;
	padding: 3px 0pt 3px 16px;
}

.treeview a.selected {
	background-color: #eee;
}

#treecontrol { margin: 1em 0; display: none; }

.treeview .hover { color: red; cursor: pointer; }

.treeview li { background: url(images/editor/treeview/treeview-default-line.gif) 0 0 no-repeat; }
.treeview li.collapsable, .treeview li.expandable { background-position: 0 -176px; }

.treeview .expandable-hitarea { background-position: -80px -3px; }

.treeview li.last { background-position: 0 -1766px }
.treeview li.lastCollapsable, .treeview li.lastExpandable { background-image: url(images/editor/treeview/treeview-default.gif); }
.treeview li.lastCollapsable { background-position: 0 -111px }
.treeview li.lastExpandable { background-position: -32px -67px }

.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-position: 0; }

.treeview .placeholder {
	background: url(images/editor/treeview/ajax-loader.gif) 0 0 no-repeat;
	height: 16px;
	width: 16px;
	display: block;
}

