@CHARSET "ISO-8859-1";

html, body, div, img, p, h1, h2, h3 {
	margin: 0;
}

/* *************** *
 *  Sticky footer  *
 * *************** */

/* courtesy of http://ryanfait.com/sticky-footer/ */
html, body {
	height: 100%;
}

/*noinspection CssOverwrittenProperties*/
#heightWrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin-bottom: -90px; /* the bottom margin is the negative value of the footer's height */
}

#footer {
	height: 70px;
	padding-top: 20px;
}

/* in lieu of original's "push" div */
#container {
	padding-bottom: 80px;
}


/* ******** *
 *  Header  *
 * ******** */

#header {
	min-width: 850px;   /* 600px logo, 20px l/r margin, 10px logo->image spacer */
	height: 220px;      /* 200px images, 10px t/b margin */
	position: relative; /* make this be the positioning context for its children */
}

#header > div {
	position: absolute;
}
#header #logo {
	top: 10px;
	left: 20px;
}

#header #head_photos {
	top: 10px;
	right: 20px;
}
#header #head_photos img {
	position: absolute;
	top: 0;
	right: 0;
	width: 200px;
	height: 200px;
}

#header #paypal_buttons {
	bottom: 10px;
	right: 230px;
}


/* *************** *
 *  Splash header  *
 * *************** */

#splash_header {
	width: 100%;
	padding: 5px 0 20px 0;
}
#splash_header ul {
	margin: 0 auto;
	padding: 0;
	display: table;
	width: 80%;
	height: 100%;
}
#splash_header ul li {
	display: table-cell;
	width: 25%;
	vertical-align: middle;
}


/* *********** *
 *  Container  *
 * *********** */

#container {
	overflow: hidden;
}


/* ********* *
 *  Columns  *
 * ********* */

#content,
#menu {
	position: relative;
	float: left;
}


/* ****** *
 *  Menu  *
 * ****** */

#menu {
	width: 220px;
	margin-right: -220px;
}
#menu ul {
	margin: 0 20px 1em 20px;
	padding: 0;
	width: 190px;
}


/* ********* *
 *  Content  *
 * ********* */

#content {
	margin: 0 20px 20px 230px;
}
#contentheader {

}
#contentinner {
}
#contentinner iframe.l,
#contentinner img.l {
	float: left;
	padding: 0 1em 1em 0;
}
#contentinner img.r {
	float: right;
	padding: 0 0 1em 1em;
}

/* illustrated text */
.illustrated_text.single .illustrations,
.illustrated_text.single .text,
.illustrated_text.multi .illustrations,
.illustrated_text.multi .text {
	display: table-cell;
	vertical-align: top;
}
.illustrated_text.multi .illustrations {
	width: 230px;
}
.illustrated_text.single .illustrations {
	width: 330px;
}
.illustrated_text.single .illustrations img {
	width: 300px;
	height: 300px;
	padding: 0 15px 15px;
}

/* shop items and shopping buttons */
div.shopping {
	margin-bottom: 0.5em;
}
div.shopping .buttons {
	margin-left: 100px;
	margin-top: -20px;
}
.buttons {
	display: table;
}
.buttons .button {
	display: table-row;
}
.buttons .button > * {
	display: table-cell;
	padding: 0 0.5em;
	line-height: 1em;
	vertical-align: top;
}

/* Customer projects */
.photo_container {
	float: left;
}
.photo_container a,
.photo_container_wide a {
	text-decoration: none;
}
.photo_container a img {
	vertical-align: top;
}

/* Testimonials */
.testimonial img {
	float: left;
	margin-right: 5px;
	margin-bottom: 5px;
}

/* Mini gallery */
.mini-gallery {
	float: right;
	width: 210px;
	text-align: right;
}
@media screen and (max-width: 870px) {
	.mini-gallery {
		display: none;
	}
}
@media screen and (min-width: 1200px) {
	.mini-gallery {
		width: 315px;
	}
}
@media screen and (min-width: 1500px) {
	.mini-gallery {
		width: 420px;
	}
}

/* Forms */
.tabular_form {
	display: table;
}
.tabular_form > div {
	display: table-row;
}
.tabular_form > div > * {
	display: table-cell;
}

/* ******** *
 *  Footer  *
 * ******** */

#footer {
	width: 100%;
}
#footer ul {
	margin: 0 auto;
	padding: 0;
	display: table;
	width: 80%;
	height: 100%;
}
#footer ul li {
	display: table-cell;
	width: 16.6%;
	vertical-align: middle;
	padding: 0 1em;
}
