/*  MARKINC.org GLOBAL STYLESHEET
    Created by: Ken Cox

GLOBAL COLOR PALETTE:

#f44e51 - highlight rose red

#C6D1E2 - light blue for background
#91A7CE - light blue for text

#E9EFCD - light yellow for background
#9B9595 - brown for text

#EDCBCC - red for background
#B76769 - red for text

NOTE: Most colors are applied via the skin sub-stylesheets

*/

/* #####################  INITIALIZE ####################### */

html body {
	margin: 0;
	text-align: center; /* IE5 centering bugfix part 1 */

	background: #fff url('/resource/images/shared/clouds.jpg') top center no-repeat; /* clouds background */
	
	/* global font attributes */
	font-family: arial, verdana, helvetica, sans-serif;
	color: #000;
	font-size: .8em;
}

/* wrapper for all page content */
#wrapper {
	text-align: left; /* IE5 centering bugfix part 2 */
	width: 780px;/* set global page width */
	margin: 0 auto;/* set page centering */
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
}

/* ##################### FORMS ####################### */

form {
	margin: 0;
}

/* ##################### LINKS ####################### */

a {
	color: #333;
}

a:hover {
	color: #900;
}

/* get rid of borders on linked images */
a img {
	border: none;
}


/* ##################### PAGETOP BLOCK ####################### */

/* pagetop elements */

#pagetop {
	height: 167px;
	position: relative; /* gain control of positioning */
	
	/* UN-COMMENT OUT THE FOLLOWING LINE TO MAKE SPACE FOR MORE THAN 4 TREASURES  */
	/* height: 194px; */
	
}

	#pagetop h1 { /* position the Mark Inc logo with accessible text */
		position: absolute;
		top: 0;
		left: 0;
		/*width: 263px;
		height: 155px;
		background: url('/resource/images/shared/logo.gif') no-repeat;*/
		width: 275px;
		height: 175px;
		background: url('/resource/images/MarkInc_TM_logo.jpg') no-repeat;
	}
	
	#pagetop h1 a { /* make logo clickable */
		display: block;
		width: 100%;
		height: 100%;
	}
		
	#pagetop h2 { /* position tagline image with accessible text */
		width: 506px;
		height: 27px;
		position: absolute;
		top: 0px;
		right: 0px;
		background: url('/resource/images/shared/tagline.jpg') top left no-repeat;
	}
		
	#shadow { /* drop shadow */	
		margin-left: 20px;
		font-size: 1px;
		height: 3px;
		background: url('/resource/images/shared/shadow.png') top left repeat-x;
	}
	
	
/* ##################### CONTENT BLOCK ####################### */

#content { /* outer most content container */
	margin-left: 20px;
	position: relative;
	background: #fff url('/resource/images/shared/clouds_bottom2.jpg') bottom left no-repeat; /* light clouds background */
}

/* ##################### LEFT COLUMN BLOCK ####################### */
#leftcolumn { /* left column */
	float: left;
	width: 200px;
	margin-left: 23px;
}


#leftcolumn_noimage { /* left column without top image */
	float: left;
	width: 200px;
	margin-left: 23px;
	margin-top: 32px;
	padding-top: 23px; /* for IE 5 */
	voice-family: "\"}\"";
	voice-family:inherit;
	padding-top: 0px; /* for everyone else */
}

html>body #leftcolumn_noimage { /* be nice to opera */
  padding-top: 0px;
}


/* Due to the IE "float drop" bug this is needed to keep the right column from incorrectly clearing the left content */
* html #leftcolumn { /* for IE only */
display: inline; 
margin-right: -300px;
}

/* Sub Navigation */
#subnav {
	margin: 10px 0px 10px 0px; /* all 4 sides required */
	padding: 0px;
	list-style: none;
}

* html #subnav li { /* repair IE's list gap bug */
	height: 1px;
}

#subnav li a, #subnav li a:visited {
	padding: 9px 0px 5px 9px;
	font: bold 13px/14px georgia, times, serif;
	text-decoration: none;
	display: block;
	text-transform: uppercase;
}

	#subnav li ul {
		margin: 0;
		padding: 0;
		list-style: none;
	}
	
	#subnav li ul li a, #subnav li ul li a:visited {
		padding: 5px 0 5px 17px;
		color: #8D8D8D;
		font: normal 12px/14px arial, verdana, sans-serif;
		text-decoration: none;
		display: block;
		text-transform: none;
		border: 1px solid transparent; /* normal state for non-IE */
	}
	
	* html #subnav li ul li a, * html #subnav li ul li a:visited {
		margin: 1px; /* normal state for IE */
		border: none;
	}
	
	#subnav li ul li a:hover,#subnav li ul li .lit, * html #subnav li ul li a:hover, * html #subnav li ul li .lit{ /* hover state for both */
		border: 1px solid #DADADA;
		margin: 0;
	}


/* subnav buttons */
#buttons { /* ul to hold buttons */
	list-style: none;
	margin: 20px 0 50px 0;
	padding: 0 0 0 40px;
}

#buttons li {
	margin-top: 4px; /* space between buttons */	
}

/* ##################### RIGHT COLUMN BLOCK ####################### */

#rightcolumn {
	margin: 0 0 0 270px;
	padding-top: 55px; /* offset to clear the bar */
}

	#rightcolumn .intro { /* intro paragraph on landing page */
		font: normal 13px/18px arial, verdana, sans-serif;
		margin-right: 10px;
	}
	
	#rightcolumn h1 { /* page heads */
		font: normal 20px/26px georgia, times, serif;
		text-transform: uppercase;
		letter-spacing: .1em;
		display: inline;
		padding-bottom: 3px;
	}
	
	#rightcolumn h2 { /* page heads */
		font: normal 18px/24px georgia, times, serif;
		text-transform: uppercase;
		letter-spacing: .1em;
		display: inline;
		padding-bottom: 3px;
	}
	
	#rightcolumn h3 { /* page sub-heads */
		font-size: 1.1em;
	}
	
	#rightcolumn h4 { /* page sub-sub-heads */
		font-size: 1em;
	}
	
	#rightcolumn p { /* all "normal" paragraphs */
		font: 12px/18px normal arial, verdana, sans-serif;
		color: #666;
		margin: 10px 20px 0 0;
	}

/* multi-column content */

.twocol { /* outer container for multi-column content */
	width: 470px;
	margin: 30px 0 0 0;
	float: left; /* needed to properly clear .leftcol */
}

.rightcol { /* divs in the right column */
	width: 200px;
	float: left;/* required for .leftcol clearing */
	margin: 0 20px 10px 0;
	color: #666;
}

.leftcol { /* divs in the left column */
	width: 200px;
	float: left;
	margin: 0 20px 10px 0;
	color: #666;
	clear: left; /* used to properly space rows */
}

/* blockquotes (used for bible verses) */
blockquote {
	margin: 20px 40px 0 20px;
}

	#rightcolumn blockquote p { /* we have to be specific here */
		margin: 0;
		font: italic 14px/18px georgia, times, serif;
		
	}
	
	#rightcolumn blockquote .cite { /* quote reference */
		text-align: right;
	}

/* buttonlink - makes regular text links into styled buttons */
.buttonlink {
	padding: 2px;
	border: 1px solid #DADADA;
	font-size: .85em;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	margin: 5px 0 0 0;
	white-space: nowrap; /* keeps buttons from splitting when wrapped */
}
	* html .buttonlink { /* IE5 needs a height or it deletes padding */
		height: 1%; 
	}
	
	.buttonlink:hover {
		border-color: #8D8D8D;
	}

/* headingbox - boxes a heading - background color picked up by skin */
.headingbox {
	padding: 4px 0 4px 10px;
	margin: 8px 10px 0 0;
	font-weight: normal;
	height: 1%; /* squashes IE6 peekaboo bug */
}

	#rightcolumn .headingbox a:hover { /* rollover color for headingbox links */
			color: #fff;
		}

/* box1 - a generic nicely styled content box */

.box1 {
	border: 1px solid #ccc;
	padding: 5px;
	margin: 10px 20px 0 0;
	color: #666;
	height: 1%; /* squashes IE6 peekaboo bug */
}

	.box1 em {
		font-size: .9em;
	}

/* databox - holds listings and other line-by-line data */
.databox {
	border: 1px solid #ccc;
	padding: 5px;
	margin: 0 10px 10px 0;
	height: 1%; /* squashes IE6 peekaboo bug */
}

.databox .row {	
	padding: 5px;
	margin: 0 0 5px 0;
}

	.databox h4 {
		display: inline;
		font-size: 14px;
	}
	
	.databox em {
		padding-left: 1em;
		white-space: nowrap; /* don't wrap names */
	}
	
	#rightcolumn .databox p {
		line-height: 1.2em;
		margin: 0;
		color: #000;
		margin-left: 20px;
	}

/* floatbox - extra-handy right floated box */
.floatbox {
	float: right;
	width: 130px;
	padding: 10px;
	margin: -6px -6px 5px 5px;
	color: white;
}

	.floatbox div, .floatbox form {
		margin-top: 10px;
	}
/* floatbox - slightly narrower right floated box */
.narrowfloatbox {
	float: right;
	width: 100px;
	
	padding: 10px;
	margin: 0 15px 5px 5px;
	color: white;
}
	.narrowfloatbox div {
		margin-top: 10px;
	}
/* newFloatbox - extra-handy right floated box - used in the Media Library */
.newFloatbox {
	float: right;
	width: 90px;
	padding: 7px;
	/* margin: -6px -6px 5px 5px; */
	margin: -6px -2px 5px 5px;
	color: white;
	text-align: center;
	
}

	.newFloatbox a {
		text-decoration: none;
		color: white;
	}

	
/* controls - used for "previous | next | index" navigation  */
.controls {
	text-align: right;
	margin-right: 25px;
	font-size: .9em;
}

.controls a, .controls a:visited {
	text-decoration: none;
}

/* ##################### FOOTER BLOCK ####################### */

#footer {
	clear: both;
	margin-top: 15px;
	margin-left: 20px;
}

#footer p {
	text-align: center;
	color: #999;
	margin: 0;
	font-size: 80%;
	letter-spacing: .1em;
}


/* ######  VARIOUS USEFUL CLASSES, DUCK TAPE, BUBBLE GUM AND CLEVER HACKS ###### */

.fine { /* smaller text for fine print, legaleze and disclaimers */
	font-size: .85em;
	display: block;
	padding-top: 5px;
}

.strike {
	text-decoration: line-through;
}

.hide { /* hides an element off the left margin - used to hide accessible text when stylesheet is active */
	position: absolute;
	top: 0;
	left: -5000px;
	} 

/* the magic fix for clearing stubborn floats */
/* this is CSS-3 which is ignored by IE 5 & 6 */
	.clearfix:after { 
		content: "."; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden;
	}
	
	.clearfix {display: inline-block;}
	
/* clears stubborn floats for IE 5 & 6 only */
	* html .clearfix {height: 1%;}
	.clearfix {display: block;}

/* when you just need a little headroom */
.padtop {
	padding-top: 10px;
}

/* when a little just isn't enough */
.padtop2 {
	padding-top: 20px;
}

/* counteracting the 20px padding at page bottom to make images flush with border... crude, but effective */
.shiftdown {
	margin-bottom: -20px;
}

/* handy left and right float classes */
.left {
	float: left;
	margin-right: 10px;
}

.right {
	float: right;
	margin-left: 10px;
}

/* right align text */

.textright {
	text-align: right;
}

/* make it full width */
.full {
	width: 98%; /* this would be 100 if it weren't for IE6 */
}


#searchbar {
	padding: 4px 0 4px 34px;
}

	#searchbar a{
		margin-right: 5px; /* space between buttons */
		padding: 0 5px;
	}

		#search {
				width: 198px;
				display: inline;
				font-size: .8em;
				font-weight: bold;
				padding-right: 40px;
			}
			
			#search form {
				display: inline;
				margin: 0;
				padding: 0;
				
			}
			
			#search form input {
				margin: 0;
				width: 115px;
				padding: 0px;
				height: 1em;
			}