﻿/*
CSS for Stewart Cleaners
*/
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
section, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
section, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.2;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* My resets */
img {
	max-width: 100%;
}
a img {
	border: 0;
}
a {
	text-decoration:none;
}
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
/*  
Sticky Footer Solution
by Steve Hatcher 
http://stever.ca
http://www.cssstickyfooter.com
*/

* {margin:0;padding:0;} 

/* must declare 0 margins on everything, also for main layout components use padding, not 
vertical margins (top and bottom) to add spacing, else those margins get added to total height 
and your footer gets pushed down a bit more, creating vertical scroll bars in the browser */

html, body {height: 100%;}

#wrap {
	min-height: 100%;
	min-width: 100%;
}

#main {overflow:auto;
	padding-bottom: 150px;}  /* must be same height as the footer */

footer {position: relative;
	margin-top: -150px; /* negative value of footer height */
	height: 150px;
	clear:both;} 

/*Opera Fix*/
body:before {/* thanks to Maleika (Kohoutec)*/
content:"";
height:100%;
float:left;
width:0;
margin-top:-32767px;/* thank you Erik J - negate effect of float*/
}
/*
  ========================================
  Navagation
  ========================================
*/
nav.main-nav {
	width: 100%;
	height: 2.5em;
}
nav.main-nav ul {
	max-width: 768px;
	margin: 0 auto;
	text-align: center;
}
nav.main-nav ul li {
	list-style:none;
	display: block;
	float:left;
	border: 0;
	border-left: 1px #CFF4FF solid;
	border-top: 1px #CFF4FF solid;
	border-bottom: 1px #CFF4FF solid;
	background: #81e2ff;
	font-size: 14px;
	width: 25%;
}
nav.main-nav ul li:last-child {
	border-right: 1px #CFF4FF solid;
}
nav.main-nav ul li a {
	text-decoration:none;
	display:block;
	color: #31330E;
	font-weight: 400;
	letter-spacing: .5px;
	text-transform: uppercase;
	height: 2.8em;
	padding: 11px 0;
}
@media only screen and (max-width : 320px) {
	nav.main-nav ul li a {
		padding: 4px 0;
	}
}
nav.main-nav ul li a:hover, ul nav li a:focus {
	background-color: #f26722;/*CFF4FF;*/
	color: #fff;
}
/* COMMON CSS */
/*
  ========================================
  Clearfix
  ========================================
*/
.group:before,
.group:after {
  content: "";
  display: table;
}
.group:after {
  clear: both;
}
.group {
  clear: both;
  *zoom: 1;
}
/*
  ========================================
  Typography
  ========================================
*/

h1, h3, h4, h5, p {
  margin-bottom: 15px;
}
h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
}
h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 44px;
	text-align: center;
	padding: 10px 0 10px 0;
}
h3 {
  font-size: 21px;
  font-weight: 700;
}
h4 {
  font-size: 16px;
  font-weight: 700;
}
strong {
  font-weight: 700;
}
cite,
em {
  font-style: italic;
}
p {
	font-size: 18px;
}
/* END TYPOGRAPHY */
body {
	font-family: 'Gentium Basic', serif;
	color: #31330E;
}
#wrap {
	background: #81e2ff;
	/* IE10 Consumer Preview */ 
	background-image: -ms-linear-gradient(top, #CFF4FF 0%, #81E2FF 100%);

	/* Mozilla Firefox */ 
	background-image: -moz-linear-gradient(top, #CFF4FF 0%, #81E2FF 100%);

	/* Opera */ 
	background-image: -o-linear-gradient(top, #CFF4FF 0%, #81E2FF 100%);

	/* Webkit (Safari/Chrome 10) */ 
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #CFF4FF), color-stop(1, #81E2FF));

	/* Webkit (Chrome 11+) */ 
	background-image: -webkit-linear-gradient(top, #CFF4FF 0%, #81E2FF 100%);

	/* W3C Markup, IE10 Release Preview */ 
	background-image: linear-gradient(to bottom, #CFF4FF 0%, #81E2FF 100%);	
}
header {
	padding-top: 15px;
}
header img {
	display: block;
	margin: 0 auto;
}
article {
	width: 96%;
	max-width: 768px;
	margin: 0 auto;
}
#indexpic {
	display: block;
	float: left;
	margin: 10px 10px 0 0;
	padding: 0;
	width: 33%;
	max-width: 326px;
}
#indexpic p {
	font-size: small;
	padding: 0;
	padding-left: 1em;
	padding-right: 1em;
}
#familypic {
	border: 3px #003f9b solid;
	/*margin-left: 10px;*/
	margin-right: 15px;
}
.right iframe {
	float: right;
	padding-left: 10px;
}
.left iframe {
	float: left;
	padding-right: 10px;
}
.box {
	width: 98%;
	margin-left: auto;
	margin-right: auto;
	background-color: #c3c3c3;
	border: 1px solid #000;
	border-radius: 10px 10px 5px 5px;
	margin-bottom: 15px;	
}
.box h4 {
	background-color: #f26722;
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	border-radius: 10px 10px 0 0;
	border-bottom: 1px solid #00457c;
	padding: 5px 0 3px 10px;
}
.link img {
	width: 30%;
	max-width: 212px;
	height: auto;
	margin: 0 10px 10px 0;
}
.white-bg img {
	background-color: #fff;
	padding: 5px;
}
.black-bg img {
	background-color: #000;
	padding: 5px;
}
.links a {
/*	float:left; */
	margin-left: 10px;
}
.inlinelink a {
	color: #00457c;
	text-decoration: underline;
}
.inlinelink a:hover {
	color: #fff;
	background-color: #00457c;
}
.top-link a {
	color: #00457c;
	text-decoration: underline;
	margin-bottom: 10px;
}
.top-link a:hover {
	color: #fff;
	background-color: #00457c;
}
/* FOOTER */
footer {
	background-image: url('../images/bg-sprite.png');
	background-position: 0px -280px;
	color: #A0A0A0;
}
footer .ads {
	float: left;
	padding: 15px 0 0 15px;
}
.markup {
	float: right;
	padding: 15px 15px 0 0;
}
footer p {
	text-align: center;
	padding-top: 10px;
	margin: 0 auto;
}
.markup a {
	color: #f26722;
}
.markup a:hover {
	text-decoration: underline;
}
footer nav {
	padding-top: 35px;
	text-align: center;
}
footer nav a {
	padding: 0 5px;
	border-right: 1px #A0A0A0 solid;
	color: #A0A0A0;
	font-size: 18px;
	font-weight: 700;
}
footer nav a:last-child {
	border-right: none;
}
footer nav a:hover {
	color: #5f5f5f;
	background-color: #A0A0A0;
	text-decoration: underline;
}
@media only screen and (max-width : 610px) {
	footer nav {
	display: none;
	}
}