/* =============================================================================
   Generic Box controls
   ========================================================================== */
.contained {
	margin: 0 auto;
	width: 960px;
	/*
	width: 90%;
	max-width: 960px;
	*/
}

.box {
    display: inline-block; zoom: 1; *display: inline;
    vertical-align: top;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.stacked-boxes 		{ text-align: center; vertical-align: top; }
.stacked-boxes > .box { text-align: left; }

.separated-boxes > .box { 
	border-right: 1px solid #ccc; 
	padding: 0 1em; 
}
.separated-boxes > .box:first-child { padding-left: 0;}
.separated-boxes > .box:last-child { border-right: none; padding-right: 0;}

/* Boxes using tables - for equal-height boxes */
.is-table { display: inline-table; }
.is-table-row { display: table-row; }
.is-table-cell { display: table-cell; }

/* =============================================================================
   Standard positioning for boxes
   ========================================================================== */
.world { position: relative; }
   
.left {
	float: left;
	margin-right: 2%;
	margin-bottom: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.right {
	float: right;
	margin-left: 2%;
	margin-bottom: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.always-right {
	float: right;
	margin-left: 2%;
	margin-bottom: 0;
}
.always-left {
	float: left;
	margin-right: 2%;
	margin-bottom: 0;
}

.text-left{ text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }


/* Standard widths */
.whole { width: 100%; }
.four-fifths { width: 80%; }
.three-quarters { width: 75%; }
.two-thirds { width: 66.66%; }
.three-fifths { width: 60%; }
.half { width: 50%; }
.two-fifths { width: 40%; }
.third { width: 33.33%; }
.quarter { width: 25%; }
.fifth { width: 20%; }
.tenth { width: 10%; }

/* =============================================================================
   General embelishments
   ========================================================================== */
.regular-box {
	background-color: white;
	-webkit-box-shadow:  0px 5px 7px 0px rgba(31, 28, 29, 0.45);
	box-shadow:  0px 5px 7px 0px rgba(31, 28, 29, 0.45);
}

.image-frame {
	border: 1px solid #ccc;
	padding: 0.25em;
}

.highlight-box {
	color: #215b24;	
	margin: 0;
	padding: 0.25em 0;
	background: #cc9900; /* Old browsers */
	background: -moz-linear-gradient(left,  #cc9900 0%, #ffcc33 47%, #d3a31a 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#cc9900), color-stop(47%,#ffcc33), color-stop(100%,#d3a31a)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  #cc9900 0%,#ffcc33 47%,#d3a31a 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  #cc9900 0%,#ffcc33 47%,#d3a31a 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  #cc9900 0%,#ffcc33 47%,#d3a31a 100%); /* IE10+ */
	background: linear-gradient(to right,  #cc9900 0%,#ffcc33 47%,#d3a31a 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc9900', endColorstr='#d3a31a',GradientType=1 ); /* IE6-9 */
}

.fancy-button {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 18px;
	line-height: 1em;
	padding: 0.5em 1.75em;
	text-decoration: none;
	position: relative;
	bottom: -10px;
}
.fancy-button:hover {
	background: #215b24;
	color: white;
}
.tagline {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 22px;
	line-height: 22px;
	color: #215b24;
}
.tagline strong {
	font-size: 32px;
	line-height: 1em;
	color: #215b24;
	font-style: italic;
	font-weight: normal;
	font-family: Georgia, "Times New Roman", Times, serif;
	display: block;
	margin-left: 50px;
}
.dark-bg {
	background-color: #069;
	color: #eeeeee;
}
.dark-bg a { color: #eeeeee; }
.light-bg { background-color: #FFC; }

.lorem {
	border: 1px solid hotpink;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.lorem-text {
	color: hotpink;
}
.lorem-img {
	border: 1px solid hotpink;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
	width: 100%;
	height: 0;
	padding-bottom: 31.25%;
}

.top-align { vertical-align: top; }
.middle-align { vertical-align: middle; }
.bottom-align { vertical-align: bottom; }

.lead {
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #336633;
	font-weight: normal;
	font-size: 22px;
	font-style: italic;
	line-height: 28px;
}
.loud { }
.hot { color: #CC0000; }
.smaller { font-size: smaller; }
.no-bullet-list {
	list-style-type: none;
	padding: 0;
}

/* =============================================================================
   Boxed things
   ========================================================================== */
/* a line around the box */
.island { border: 2px solid white; } 
.island-n { border-top: 2px solid white; } 
.island-e { border-right: 2px solid white; } 
.island-s { border-bottom: 2px solid white; } 
.island-w { border-left: 2px solid white; }
.island-esw { 
	border-right: 2px solid white;
	border-bottom: 2px solid white;
	border-left: 2px solid white;
}  
.island-es { 
	border-right: 2px solid white;
	border-bottom: 2px solid white;
}  
.island-ew { 
	border-right: 2px solid white;
	border-left: 2px solid white;
}  
.island-sw { 
	border-bottom: 2px solid white;
	border-left: 2px solid white;
}

/* variations... */
.island2-n { border-top: 1px solid #eee; }
.island2-s { border-bottom: 1px solid #eee; }
.island-dark { border: 1px solid #ccc; }

/* padding */
.elbow-small { padding: 1em; }
.elbow-small-n { padding-top: 1em; }
.elbow-small-e { padding-right: 1em; }
.elbow-small-s { padding-bottom: 1em; }
.elbow-small-w { padding-left: 1em; }

.elbow { padding: 2em; }
.elbow-n { padding-top: 2em; }
.elbow-e { padding-right: 2em; }
.elbow-s { padding-bottom: 2em; }
.elbow-w { padding-left: 2em; }

.elbow-large { padding: 3em; }
.elbow-large-n { padding-top: 3em; }
.elbow-large-e { padding-right: 3em; }
.elbow-large-s { padding-bottom: 3em; }
.elbow-large-w { padding-left: 3em; }

/* margin */
.beach-small { margin: 0.25em; }
.beach { margin: 1em; }
.beach-large { margin: 1.5em; }

.beach-e { margin-right: 1em; }
.beach-s { margin-bottom: 1em; }
.beach-es { 
	margin-right: 1em; 
	margin-bottom: 1em; 
}



/* Separators between list items */
.boxed-list > li { border-right: 2px solid white; border-bottom: none; }
.boxed-list > li:last-child { border-right: none; }
