* {
	margin:0px;
	padding:0px;
}

#ZoomSpin, #ZoomBox, #ZoomCapDiv, #ShadowBox {
	position: absolute;
	top: 0px;
	left: 0px;
}

body {
	font-size:76%;
	font-family: Arial, Helvetica, sans-serif;
	background:#c7d557;
}


a img { 
	border: 0;
}

/* MAIN LAYOUT */

#top {
	width:100%;
	background:url('../img/header_tile.png') #FFF repeat-x;
	clear:both;
	float:left;
	padding: 0px;
	margin: 0px;
}

#topcontainer {
	margin:0 auto;
	width:960px;
	
}

#bottom {
	background:url('../img/footer_tile.png') #c7d557;
	clear:both;
}

#bottomcontainer {
	margin:0 auto;
	width:960px;
}

#main {
	float: left;
	width: 907px;
	overflow: hidden;
}

#main a {
	color:#ce1006;
	text-decoration:none;
}

#main a:hover {
	text-decoration:underline;
}

#main ul {
	margin-left: 2em;
	margin-bottom: 1em;
}

#main ul li {
	margin-bottom: 1em;
}

/* HEADER */

#header {
	height:172px;
}

#header h1 {
	background:url('../img/logo.png');
	width:493px;
	height:138px;
	text-indent:-200em;
	float: left;
}

#header h1 a {
	width:493px;
	height:138px;
	float:left;
	overflow:hidden;
}

#header #mainnav {
	height:34px;
	font-size:1.5em;
	color:#FFF;
	background:url('../img/navbackground.png') no-repeat;
	clear:both;
		
}

#header #mainnav ul {
	list-style-type:none;
	clear:both;
	float: left;
	margin: 0px;
}

#header #mainnav ul li {
	float:left;
	background-image:url('../img/topnavspacer.png');
	background-repeat:no-repeat;
	background-position:right top;
	margin-top:4px;
	padding-right:18px;
	padding-left:15px;
	padding-top:1px;
	height:26px;
}

#header #mainnav ul li.last-child {
	background-image:none;
}

#header #mainnav ul li a {
	color:#FFF;
	text-decoration:none;
}

#header #mainnav ul li.selected a {
	color:#ce1006;
}

#header #mainnav ul li.selected a:hover {
	color:#ce1006;
}

#header #mainnav ul li a:hover {
	color:#db71aa;
}

/* MAIN */

#main {
	background:url('../img/mainbackground.png') no-repeat;
	padding:14px;
	color:#555555;
	font-size:1.2em;
}

#main h1 {
	color:#ce1006;
	padding-bottom:0px;
	margin-bottom:10px;
	font-size:1.7em;
	font-weight:normal;
}

#main h2 {
	color:#ce1006;
	padding-bottom:0px;
	margin-bottom:10px;
	font-size:1.2em;
	font-weight:normal;
} 






#main p {
	margin-bottom:1.5em;
}

#main div.image {
	float: right;
}

#main div.image img {
	float:right;
	padding:6px;
	border:1px solid #DDDDDD;
	margin-bottom:10px;
	display: block;
}

#main #rightbit {
	float:right;
	margin-left:20px;
	width:352px;
}

#main #rightbit h2 {
	color:#ce1006;
	padding-bottom:0px;
	margin-bottom:10px;
	font-size:1.7em;
	font-weight:normal;
}

#main #rightbit #newsbox {
	clear: right;
	background-image:url('../img/pinkbackground.png');
	background-repeat:no-repeat;
	background-position:top right;
	width:332px;
	padding:10px;
	background-color:#db71aa;
	color:#FFFFFF;
	margin-bottom:20px;
}

#main #rightbit #newsbox a {
	color: #fff;
}

#main #rightbit #newsbox h2 {
	margin-bottom:8px;
	color:#FFFFFF;
}

#main #rightbit #newsbox div.news {
	border-top:1px solid #FFF;
	padding-top:10px;
	margin-bottom:10px;
}

#main #rightbit #newsbox div.news p {
	margin-bottom:0px;
}

#main #rightbit #gallerylink {
	font-size:1.4em;
	color:#db71aa;
	float:right;
	margin-bottom:10px;
}

#main #rightbit #gallerylink a {
	color:#db71aa;
}

#main div.testimonial_right {
	background-image:url('../img/quote_close.png');
	background-repeat:no-repeat;
	background-position:right top;
	padding-top:25px;
	padding-left:70px;
	padding-right:20px;
	float: left;
	width:438px;
}

#main div.testimonial_left {
	background-image:url('../img/quote_open.png');
	background-repeat:no-repeat;
	background-position:40px top;
	padding-top:25px;
	padding-left:70px;
	width:456px;
	float: left;
}

#main div.newstable {
	width:520px;
	border-bottom:1px dashed #db71aa;
	margin-bottom:10px;
	padding-bottom:10px;
	float:left;
	
}

#main p.headline {
	color:#f87;
	float:left;
	width:400px;
	padding-bottom:0px;
	margin-bottom:0px;
}

#main div.newstable p {
	margin:0px;
	padding:0px;
}

.galleryPictures {
	clear: both;
	width: 906px;
	float: left;
	margin-bottom: 18px;
}

.galleryPicture p {
	margin-bottom: 0px !important;
	text-align: center;
	font-size: 0.8em;
	padding-top: 2px;
	height: 13px;
}

.gallerytable {
	width:870px;
}

.gallerytable td {
	padding-bottom:18px;
}

/* FOOTER */

#footer {
	background-image:url('../img/footerbackground.png');
	background-repeat:no-repeat;
	background-position:right top;
	height:207px;
	text-align:right;
	color:#FFF;
	padding-top:10px;
}

#footer a {
	color:#FFF;
	text-decoration:none;
}

#footer a:hover {
	text-decoration:underline;
}

/* MAIN CONTENT */

div.textile-editor {
	float:left;
	padding:5px;
	width:798px !important;
}

div.form form {
	min-height:254px;	
}

/* Notices and Errors */
div.message {
	clear: both;
	color: #61564A;
	background-color: #FFFEC8;
	font-size: 140%;
	font-weight: bold;
	margin: 3px 5px 4px 5px;
	border: 1px solid #DAD861;
	padding:6px;
	text-align:center;
}

div.error-message {
	clear: both;
	color: #ff0000;
	font-weight: bold;
	padding-left:0px;
	margin-bottom: 1.5em;
	margin-left: 120px;
	padding-bottom:0px;
}

p.error {
	color: #DB6E60;
	background-color: #FFCEC8;
	font-weight: bold;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
	border: 1px solid #DB6E60;
	padding:6px;
	text-align:center;
}

p.error em {
	color: #000;
	font-weight: normal;
}

.notice {
	background-color: #ffcc00;
	color: #000;
	display: block;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}

.success {
	background-color: green;
	color: #FFF;
}

.cake-sql-log {
	margin: 10px;
	clear: both;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
}

.cake-sql-log th {
	background-color: #eee;
}

.cake-sql-log th, .cake-sql-log td {
	padding: 5px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;	
}


/** Admin **/

.actions ul {
	margin-left: 2em;
	clear: both;
}

textarea {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 1em;
}

a.editLink { 
	float: right;
}

table.admin {
	width: 100%;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;	
}

table.admin td, table.admin th {
	padding: 3px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;	
}

table.admin th {
	color: #000;
	text-align: left;
	background-color: #eee;
}

select option {
}

div.form form {
	width: 943px;
	float: left;
	clear:both;
	margin-left: 1px;
	padding: 10px;
	background: #fff;
}

div.form form fieldset {
	border: 0px solid #fff;	
}

form div.input {
	margin-bottom: 10px;
	clear: both;
}

form div.input textarea {
	width: 730px;
	height: 272px;
	font-size: 12px;
}

div.input {
	float: left;
	clear: both;
	width: 100%;
}

div.input select option {
	padding-right: 15px;
}

/* FORM STUFF */

div.form form label {
	display: block;
	width: 120px;
	float: left;	
	padding-right: 10px;
}

#main div.contactpage form {
	width:400px;
	background-image:url('../img/pinkbackground.png');
	background-color:#db71aa;
	background-position:right top;
	background-repeat:no-repeat;
	padding:20px;
	float:left;
	margin-bottom:20px;
}

#main div.contactpage form label {
	color:#FFFFFF;
}

#main div.contactpage form div.submit {
	border:none;
}

#main div.contactpage form div.input textarea {
	width:400px;
	height:100px;
}

/* ADMIN STUFF */

ul.adminLinks {
	float: right;
	display: block;
	list-style-type: none;
}

ul.adminLinks li {
	float: left;
}

div.subNav ul.adminLinks li a {
	background-position: 0px 10px;
	padding: 10px 10px 10px 20px;
	margin-left: 5px;
}

ul.adminLinks li a {
	float: left;
	margin: 0px;
	height: 17px;
	margin-top: -1px;
	padding: 0px 0px 0px 20px;
	margin-left: 10px;
	background-repeat: no-repeat;
}

ul.adminLinks li.add a {
	background-image: url(../img/icons/add.gif);
}

ul.adminLinks li.edit a {
	background-image: url(../img/icons/edit.gif);
}

ul.adminLinks li.edit-images a {
	background-image: url(../img/icons/image_edit.png);
}

ul.adminLinks li.delete a {
	background-image: url(../img/icons/delete.gif);
}

ul.adminLinks li.order a {
	background-image: url(../img/icons/order.png);
}

div.actions ul {
	list-style-type:none;
	margin:5px 0px 5px 0px;
}

div.actions li {
	padding-bottom:5px;
}

div.actions li a {
	padding-left:19px;
	padding-bottom:2px;
}

div.actions li.new a {
	background: url(../img/icons/add.gif) no-repeat;
}

div.actions li.edit a {
	background: url(../img/icons/edit.gif) no-repeat;
}

div.actions li.delete a {
	background: url(../img/icons/delete.gif) no-repeat;
}

div.actions li.list a {
	background: url(../img/icons/home.png) no-repeat;
}

/* Contact form */

#leftcolumn label {
	width: 120px;
	float: left;
	margin-bottom: 5px;
}

#leftcolumn input, #leftcolumn textarea {
	width: 335px;
	margin-bottom: 5px;
}

#leftcolumn div.submit input {
	width: auto;
	float: right;
	clear: both;
}

/* Pagination */

div.paging { 
	margin: 10px auto;
	text-align: center;
	clear: both;
	padding-top: 10px;
	text-decoration: none;
}

div.paging a {
	border: 1px solid #ccc;
	padding: 2px 5px;
	text-decoration: none;
}

div.paging a:hover {
	background: #FFFEC8;
	border-color: #dad861;
}

div.paging .start {
	color: #ccc;
	margin-right: 25px;
	padding: 2px 6px;
	display: inline;
}

div.paging .end {
	color: #ccc;
	margin-left: 25px;
	padding: 2px 6px;
	display: inline;	
}

div.paging .prev {
	margin-right: 25px;
}

div.paging .next {
	margin-left: 25px;
}

div.paging span.current {
	padding: 2px 5px;
	font-weight: bold;
	color: #000;
}

div.paging span, div.pagination a {
	margin: 0px 3px;
}

/** Upload **/

div.input label {
	float: left;
	display: block;
}

div.fileUpload {
	float: left;
}

div.fileUpload, div.fileIcon, div.fileName, div.fileActions, div.fileProgress, div.fileProgressText {
	padding:0;
	margin: 0;
	clear: none;
}

div.fileUpload input {
	width: auto !important;
	float: left;
	margin-left: 3px;
}

div.fileIcon {
	float: left;
	clear: left;
	height: 48px;
}

div.fileName {
	display:block;
	float:left;
	height:30px;
	padding-top:18px;
	padding-left: 7px;
	vertical-align: middle;
	clear: none;
}

div.fileName {
}

div.fileActions input {
	float: left;
	display: block;
	clear:none;
	margin-top: 3px;
}

div.fileActions {
	float: left;
	height: 38px;
	padding-top: 10px;
}

div.fileProgress {
	float: left;
	clear: none;
	padding-top: 6px;
	padding-left: 10px;
	padding-right: 5px;
	display: none;
}

div.fileActions .cancel {
	display: none;
}

div.fileProgressText {
	font-weight: normal;
}

.fileProgressContainer { 
	margin: 0;
	padding: 0;
	width: 200px; 
	margin-top: 3px; 
	border-left: 1px solid #888; 
	border-right: 1px solid #888; 
	background: url(../img/cms/progress-remainder.gif); 
	height: 18px; 
}

.fileProgressBar {
	margin: 0;
	padding: 0;	
	width: 0px; 
	background-color: #CCCCCC; 
	height: 18px; 
	background: url(../img/cms/progress-bar.gif); 
}

/* Ordering stuff */

ul.reorder, #resource_sections { 
	list-style-type: none; 
}

ul.reorder li, #resource_sections li { 
	cursor: move; 
	background-color: #eee; 
	margin-bottom: 3px; 
	padding: 2px 5px; 
	width: 300px; 
	margin-left: 0px;
}

ul.reorder li span, #resource_sections li span { 
	display:block; 
	float: right; 
}

div.submit {
	clear:both;
	border-top: 1px solid #ccc;	
}

div.submit input {
	float: right;
	clear: both;
	margin: 5px;
}

form div.input {
	padding: 5px 0px;
}

form label {
	width: 300px;
}



div.input input {
	width: 400px;
}


/* Gallery */

a.galleryPictureAdd {
	float: left;
	display: block;
	width: 130px;
	height: 90px;
	padding-top: 67px;
	border: 1px;
	border:1px solid #DDDDDD;
	text-align: center;
}


#adminLinks {
	float: right;
	width: 200px;
	list-style-type: none;
}

#adminLinks li {
	float: right;
}

#adminLinks li a {
	display:block;
	border: 1px solid #999;
	margin-top: 30px;
	font-weight: bold;
	float: right;
	padding: 8px;
	font-size: 1.1em;
	color: #fff;
	margin-left: 10px;
	text-decoration: none;
	/*border: 1px solid #CE1006;*/
	background:transparent url(../img/navbackground.png) no-repeat;
}

#adminLinks li a:hover {
	border: 1px solid #333;
}

div.galleryPicture {
	border: 1px solid #DDDDDD;
	padding: 6px;
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}

div.clear {
	clear:both;
}
