html, body {
	/*height: 100%;
	overflow: hidden;*/
}

body {
	margin: 0;
	padding: 0;
	font: normal 65.7%/1.6em "Lucida Grande", Arial, Verdana, Helvetica, sans-serif;
	/*font: normal 65.6%/1.6em "Trebuchet MS", Trebuchet, Verdana, Helvetica, sans-serif;*/
	text-align: center;
	color: #333;
}

b, strong {
	font-weight: bold;
}

img {
	border: 0;
}

h1, h2, h3, h4, h5, h6, p {
	margin: 0;
	padding: 0;
}

pre.cake_debug {
	background: #000;
	color: #fff;
	padding: 10px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 100%;
	line-height: normal;
	text-align: left;
	overflow: auto;
}

td {
	vertical-align: top;
}

a:link, a:active, a:visited {
	color: #4987DE;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}


.clear {
	clear: both;
	font-size: 1px;
	line-height: 1px;
	height: 0;
}

.none {
	display: none;
}

.image-preview { 
	margin: 0; 
	padding: 10px; 
	background: url(img/bg_imagebox.gif) 0 0 repeat;
	border: 2px solid #eee;
	text-align: center; 
}

.center {
	text-align: center;
}

.green {
	color: #009933;
}

#loading,
#flash-message,
#ajax-message {
	position: fixed;
	top: 25px;
	left: 0;
	width:100%;
	z-index: 1000;
}

.message {
	width: 250px;
	margin: 0 auto;
	background: #333;
}

.message p {
	text-align: center;
	font-weight: bold;
	font-size: 120%;
	padding: 10px;
	margin: 0;
	color: #fff;
}
#wrapper {
	height: 100%;
	overflow: auto;
	position: relative; 
	z-index: 2
}
#header,
#login-bar,
#main,
#footer {
	width: 1000px;
	margin: 0 auto;
	text-align: left;
}

#logo {
	margin: 0;
	padding: 0;
	color: #4987DE;
	font-weight: normal;
	/*
	background: url(img/bg_logo.gif) 0 0 no-repeat;
	text-indent: -900px;
	overflow: hidden;
	*/
	font-size: 21px;
	width: 455px;
	line-height: 50px;
}

#login-bar-wrap {
	height: 37px;
	background: #fff url(img/bg_login_bar.gif) 0 0 repeat-x;
}

#login-bar p {
	margin: 0;
	padding: 7px 0 0;
	color: #333;
	font-weight: bold;
	font-size: 110%;
}

#login-bar a {
	color: #fff;
}

#crumbs {
	border-bottom: 1px solid #D1D1D1;
}

#crumbs span,
#crumbs a {
	padding-right: 10px;
	margin-right: 8px;
	background: url(img/bg_crumbs_arrow.gif) 100% 50% no-repeat;
	display: block;
	float: left;
	font-size: 105%;
}

#crumbs a:hover {
	text-decoration: none;
}

#crumbs a.last,
#crumbs span.last {
	background: 0;
}

#quick-search {
	float: right;
	background: #D1D1D1 url(img/bg_quick_search.gif) bottom left no-repeat;
	padding: 5px 5px 5px 10px;
    text-align: right;
}

#quick-search input.list-query-input {
    width: 100px;
    font-size: x-small;
    color: #999;
}


#main {
	margin-top: 5px;
	background: url(img/bg_main.gif) 805px 0 repeat-y;
}

#content {
	width: 800px;
	/*background: #fff;*/
	float: left;
	text-align: left;
}

.content .text {
	display: block;
}

.content .content-image {
	display: block;
	float: left;
	width: auto;
}

.content-image {
	margin: 0 0 10px 0;
}

#content h1,
#content h2,
#content h3,
#content h4 {
	margin: 0;
	padding: 5px 0;
}

#content h2 {
	margin-bottom: 5px;
	padding: 10px 0 5px;
	font-size: 140%;
	font-weight: bold;
	color: #448C3B;
}

#content h2 span.small {
	font-size: 80%;
}

#content p {
	margin: 0;
	padding: 0 0 5px;
	font-size: 110%;
}

#content li {
	font-size: 100%;
}

#content ul {
	margin: 0;
}

#content option.bold {
	font-weight: bold;
}


#sidebar {
	width: 190px;
	float: right;
}

#sidebar .box {
	margin-bottom: 5px;
	border-top: 5px solid #8FAEBE;
}

#sidebar .box h3 {
	background: #F5F8FE;
	font-size: 100%;
	color: #000;
	padding: 0 5px;
	margin-bottom: 0;
	border-bottom: 1px solid #ccc;
}

#sidebar .box ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#sidebar .box ul ul {
	margin: 0;
	padding: 0;
}

#sidebar .box li {
	display: inline;
}

#sidebar .box li a,
#sidebar .box li span {
	display: block;
	padding: 4px 6px 3px 18px;
	font-size: 110%;
	background: url(img/arrow.gif) 4px 8px no-repeat;
	border-bottom: 1px solid #eee;
}

#sidebar .box ul ul a {
	padding-left: 36px;
	background-position: 18px 8px; 
}

#sidebar .box li.act a,
#sidebar .box li a:hover {
	text-decoration: none;
	background-color: #eee;
}

#sidebar .box ul.child li.normal a {
	text-decoration: none;
	background-color: #fff;
}

#sidebar .box ul.child li.act a {
	text-decoration: underline;
	background-color: #fff;
}


#footer {
	margin-top: 40px;
	border-top: 5px solid #ccc;
	padding-bottom: 20px;
}

#footer p {
	color: #999;
	text-align: left;
	padding: 10px 5px;
}

form {
	margin: 0;
	padding: 0;
	display: inline;
}

.form {
	position: relative;
	z-index: 1;
	padding: 5px;
}

.form label {
	display: inline;
}

.form h3 {
	border-bottom: 4px solid #eee;
	background: url(img/bg_form_header.gif) bottom left repeat;
	padding: 5px !important;
	margin-top: 15px !important;
	font-size: 110%;
}

.form .item h4 {
	margin: 0;
	padding: 0;
	font-size: 100%;
	color: #999;
}

.form .item p {
	margin: 0;
	padding: 0;
}

.form .item {
	display: block;
	font-size: 1.1em;
	padding: 6px 0;
	border: 1px solid #eee;
	border-width: 0 0 1px;
	height: 1%;
}

.form .item ul {
	margin: 0;
	padding: 0;
	list-style-position: inside;
}

.form .item ul {
	list-style: none;
}

.form .item .settings .field li {
	display: block;
	float: left;
	width: 213px;
	font-size: 100% !important;
}

.form .item .label {
	float: left;
	text-align: right;
	font-weight: bold;
	color: #666;
	width: 110px;
}

.form .item .label .req {
	color: #FF0000;
}

.form .item .input {
	margin-left: 120px;
}

.form .item .input p {
	font-size: 95% !important;
}

.form .item.pad {
	padding-left: 120px;
}

.form .item.submit {
	text-align: center;
}

.form .item .highlight {
	padding: 8px 10px;
	background: #D2DAE1;
	border: 1px solid #96A9B9;
}

span.note {
	display: block;
	color: #666;
	font-size: 90%;
	padding: 2px 0;
	font-weight: normal;
}

span.inline_note {
	display: inline;
	color: #666;
	font-size: 90%;
	padding: 2px 0;
	font-weight: normal;
}

span.inline {
	display: inline;
}

span.document {
	float: left;
	width: 22px;
}

div.note {
	display: block;
	color: #666;
	font-size: 95%;
	padding: 2px 0;
}

.form .form_error {
	border: 2px solid #ff0000;
}

.form .input_error {
	color: #ff0000;
	font-size: 100%;
}

table.form {
	width: 100%;
}

table.form td {
	padding: 3px;
	vertical-align: top;
}

table.form td.label {
	width: 100px;
	font-weight: bold;
}

/* TABLE (TABLE-LAYOUT)
************************************************/
table.table_layout {
	padding: 0;
	display: inline-table;
    font-size: 110%;
    border-bottom: 1px solid #D7E3F5;
	width: 100%;
	margin-bottom: 15px;
}

table.table_layout tr.head {
	font-weight: bold;
	text-align: left;
	background: #8FAEBE;
	padding: 1px 5px;
	color: #fff;
}

table.table_layout tr.border_top td {
	border-top: 1px solid #8FAEBE;
}

table.table_layout td {
	padding: 2px;
}

table td .ticked {
	height: 16px;
	width: 16px;
	background: transparent url(img/icons/accept.gif) 0 0 no-repeat;
}

select, input, textarea {
	font-family: inherit;
	font-size: 100%;
	vertical-align: middle;
}

ul.checkboxMultiple {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
ul.checkboxMultiple li {
	display: block;
	float: left;
	width: 220px;
	margin: 0 8px 0 0;
} 

input.tiny {
	width: 60px;
}

input.default {
	width: 300px;
}

input.medium {
	width: 500px;
}

textarea.small {
	width: 300px;
	height: 70px;
}

textarea.default {
	width: 650px;
	height: 150px;
}

textarea.medium {
	width: 650px;
	height: 250px;
}

.toolbar {
	height: 1%;
	margin-bottom: 5px;
	border-bottom: 1px solid #D7E3F5;
	padding: 5px 0 1px;
}

.toolbar a {
	display: block;
	float: left;
	font-size: 110%;
	margin-right: 10px !important;
}

#content .toolbar form {
	width: 400px;
}

#content .toolbar form.wide {
	width: 580px;
}

#content .toolbar form label.pad_left {
	padding-left: 10px;
}

#content .toolbar form input.radio {
	margin-right: 3px;
}

#content .toolbar input.submit {
	float: right !important;
	display: inline !important;
}

/*
.list {
	overflow: auto;
	height: 400px;
}
*/

.list table {
	width: 100%;
    padding: 0;
	display: inline-table;
    font-size: 110%;
    border-bottom: 1px solid #D7E3F5;
}

.list td,
.list th {
	vertical-align: top;
}

.list td.right,
.list th.right {
	text-align: right !important;
}
	
.list th {
	font-weight: normal;
	text-align: left;
	background: #8FAEBE;
	padding: 1px 5px;
	color: #fff;
}

.list td {
	padding: 4px 5px 3px;
	border-bottom: 1px solid #FFF;
}

.list tr.inline-detail td {
	padding:  10px;
	font-size: 100%;
}

.list th a {
	padding: 0;
	margin: 0;
	text-decoration: none;
}

.list tr.even td {
	background: #EAF2FF;
}

.list tr.act td {
	background: #006699;
	color: #fff;
}

.list .thumbnail {
	width: 100px;
	height: 100px;
	overflow: hidden;
	border: 1px solid #333;
}

#sortables tr { cursor: move; }
#sortables tr.over { background: #C0E7F5; }


/* SORTABLE CONTENT ----------------------------------------------------------- */
.sortables .options {
	width: 799px;
	background: url(img/bg_login_bar.gif) 0 -1px repeat-x;
	height: 26px;
	display: block;
}

.sortables {
	border: 1px solid #96a9b9;
	width: 799px;
	cursor: move;
	margin-bottom: 10px;
	display: block;
}

.shortened {
	height: 40px;
	overflow: hidden;
}

.sortables .options a {
	margin: 4px 10px 0 10px;
	float: left;
	display: block;
}

.sortables .options .date {
	float: right;
	display: block;
	margin-top: 4px;
	padding-right: 10px;
}

.sortables .content {
	padding: 10px;
	background: #fff;
	display: block;
}

.sortables .content .img_right {
	float: right;
	margin-left: 10px;
	margin-bottom: 3px;
}

.sortables .content .img_left {
	float: left;
	margin-right: 10px;
	margin-bottom: 3px;
}

#sortables .inactive {
	color: #999999;
}

/* ---------------------------------------------------------------------------- */

.no-data-message {
	padding: 10px 25px !important;
	margin: 5px 0 !important;
	background: #eee;
	color: #000;
	text-align: center;
	border: 1px solid #ccc;
}

.pagination {
	padding: 5px 0;
}

.pagination p {
	padding: 0 !important;
	margin: 0 !important;
	text-align: right;
}

.pagenation select.numbers {
	font-size: 90% !important;
}

.pagination em,
.pagination a {
	font-weight: normal;
	text-decoration: none;
	padding: 0 2px;
}

.pagination em {
	font-weight: bold;
	font-style: normal;
}

.pagination a:hover {
	text-decoration: underline;
}

.list .content-block  {
	margin: 10px 0;
	cursor: move;
}

.list .content-block h3.title {
	font-size: 110%;
	background: #eee;
	padding: 2px 10px !important;
	border-top: 5px solid #ccc;
}

.list .content-block .toolbar {
	font-size: 100%;
	background: #eee;
	padding: 2px 10px;
}

.list .content-block .toolbar a {
	float: none;
	display: inline;
	margin: 0 !important;
	padding: 0 !important;
}

.toolbar .right {
	float: right;
}

.list .content-block .body {
	margin: 10px;
}

/* Please reflect frontend style start */
.list .content-block .body h1,
.list .content-block .body h2,
.list .content-block .body h3,
.list .content-block .body h4,
.list .content-block .body h5 {
	border: 0 !important;
	background: 0 !important;
	margin-bottom: 5px !important;
	color: #000 !important;
}

.list .content-block .body h2 { font-size: 160%; font-weight: normal; }
.list .content-block .body h3 { font-size: 130%; font-weight: normal; }

.list .content-block .body ul,
.list .content-block .body ol { margin-bottom: 15px; }
.list .content-block .body li { margin-bottom: 5px; }

.list .content-block .body p {
	margin-bottom: 15px !important;
	color: #000;
}

.list .content-block .body .image {
	display: block;
	float: left;
	margin: 0 10px 10px 0;
	padding: 5px;
	border: 1px solid #000;
}
/* Please reflect frontend style start */

#cakeSqlLog table {
	border-collapse: collapse;
}

#cakeSqlLog td {
	border: 1px solid #ccc !important;
	padding: 3px;
}

#login {
	background: #eee;
}

#login #main {
	margin: 130px 0 0 !important;
	padding: 20px 0;
	width: 100% !important;
	border: 1px solid #ccc;
	border-width: 1px 0;
	background: #fff;
	text-align: center;
}

#login #logo {
	margin: 0 auto;
	text-align: center;
}

#login #content {
	text-align: left;
	float: none;
	margin: 0 auto;
	width: 400px !important;
	padding: 0;
}

#login #content h2 {
	text-align: center;
}

#login .form .item { border: 0 !important; }

#popup #content {
	float:none;
	width: auto;
	padding: 10px;
}

.btn {
	border-width: 1px;
	border-style: solid;
	border-color: #ccc #999 #999 #ccc;
	background: #ADBCC8;
	padding: 2px 10px;
	color: #fff !important;
	text-decoration: none;
}

.btn:hover {
	text-decoration: none;
	color: #333 !important;
}

.red { color: #ff0000; }
.blue { color: #336699; }
.green { color: #448C3B; }

.thumbnail {
	border: 1px solid #D5D5D5;
	float: left;
	padding: 3px;
	position: relative;
}

.thumbnail img {
	display: block;
}

#list-form thead a {
	color: #ffffff;
}

/* BOOKS STAR RATE
*****************************/
.rate_star {
	float: left;
	display: block;
	width: 22px;
	height: 21px;
	background: transparent url(img/star_off.gif) center center no-repeat;
}

.vote_display {
	float: left;
	display: block;
	width: 40px;
	height: 21px;
}

.rate_star.act {
	background: transparent url(img/star_on.gif) center center no-repeat;
}