html {
    height: 101%;
}
@media only screen and (min-width: 0px) and (max-width: 320px) {
body {
	font: 100% 'Open Sans', sans-serif;
	background-position: top;
	background-repeat: repeat x;	
	background-color: #ffffff;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
}
h1 {
	font-family: 'Lato', Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #333;	
	margin-top: 1px;
	font-size: 14pt;
}
h3 {
	font-family: 'Lato', Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #333;	
	margin-top: 1px;
	font-size: 12pt;
}
}

@media only screen and (min-width: 321px) and (max-width: 520px) {
body {
	font: 100% 'Open Sans', sans-serif;
/*	background-image: url(images/mobile-background-wide.png); */
	background-position: top;
	background-repeat: no-repeat;	
	background-color: #ffffff;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
}
h1 {
	font-family: 'Lato', Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #333;	
	margin-top: 1px;
	font-size: 14pt;
}
h3 {
	font-family: 'Lato', Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #333;	
	margin-top: 1px;
	font-size: 12pt;
}
}



/* Tips for Elastic layouts 
1. Since the elastic layouts overall sizing is based on the user's default fonts size, they are more unpredictable. Used correctly, they are also more accessible for those that need larger fonts size since the line length remains proportionate.
2. Sizing of divs in this layout are based on the 100% font size in the body element. If you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the entire layout will downsize proportionately. You may want to increase the widths of the various divs to compensate for this.
3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
*/

.swcmobile #container {
	/* background: #FFFFFF; */
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border: 0px solid #000000;
	text-align: center; /* this overrides the text-align: center on the body element. */
	padding-left: 4px;
	padding-right: 4px;
	padding-top: 1px;
}

.swcmobile #container-bottom {
	/* background: #FFFFFF; */
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border: 0px solid #000000;
	text-align: center; /* this overrides the text-align: center on the body element. */
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 6px;
}

.swcmobile #content {
	/* background: #FFFFFF; */
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border: 0px solid #000000;
	text-align: center; /* this overrides the text-align: center on the body element. */
	padding-left: 10px;
	padding-right: 10px;
}

#header {
	font: 100% 'Open Sans', sans-serif;
	text-align: center; /* this overrides the text-align: center on the body element. */	
/*	background-image: url(images/background.gif); */
	background-position: top;
	background-repeat: repeat x;	
	background-color: #ffffff;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding-bottom: 4px;
	padding-top: 4px;
}

IMG.framed
{
	border: 1px solid #bbb;
	padding : 2px;
	margin : 1px;
	background-color:white;
}
img.homepagepic {
    width: 300px;
}
p {
	font-family: 'Open Sans', sans-serif;
	color: #333;
}
p.date {
	font-family: 'Open Sans', sans-serif;
	color: #666666;
	font-size: 0.85em;	
}
ul {
	font-family: 'Open Sans', sans-serif;
	color: #555555;
	text-align: left;
}

h1 {
	font-family: 'Open Sans', sans-serif;
	font-weight: bold;
	color: #111;	
	margin-top: 10px;
	font-size: 1.35em;
}

h2 {
	font-family: 'Open Sans', sans-serif;
	font-weight: bold;
	color: #111;	
	margin-top: 10px;
	font-size: 1.1em;
}

.header_quote {
	font-family: 'Open Sans', sans-serif;
	font-size: 1.65em;
	font-weight: 100;
	color: #222;
	}


/* Links 
======================================================== */
a, a:visited { color: #EC4D23; text-decoration: none; outline:none; } /* standard page body hyperlinks */
a:hover, a:focus { color: #F3947C; }

a.inner_nav:link {
	color: #660011;
	text-decoration : none;
	font-weight : bold;
 } 
a.inner_nav:visited {
	color: #660011;
	text-decoration : none;
	font-weight : bold;
}
a.inner_nav:active {
	color: #660011;
	text-decoration : none;
	font-weight : bold;
} 
a.inner_nav:hover {
	color : #ACB335;
	text-decoration : none;
	font-weight : bold;
}

#imgs {
  float:left;
  display:inline;
  -webkit-transition-property: -webkit-transform;
  -webkit-transition-duration: 0.5s;
  -webkit-transition-timing-function: ease-out;
  padding:0px;
  margin:0px;
  width:6700px;
  -webkit-transform: translate3d(0px,0px,0px); 
}

/* nav items */
/*navigation*/
#primary_nav ul {
    list-style: none;
    background: #EC4D23;
    padding: 0;
	margin-left: 0px;
	margin-right: 0px;	
	font-family: 'Open Sans', sans-serif;
	text-align: center;
}
#primary_nav li a {
    display: block;
    padding: 0 20px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
	font-size: 1.1 em;
	text-transform: uppercase;
    letter-spacing: 0.1em;
    letter-spacing: 0.1em;
    line-height: 2em;
    height: 2em;
    border-top: 1px solid #fff;
}
#primary_nav li:last-child a {
    border-bottom: 1px solid #fff;
}
#primary_nav li a:hover,
#primary_nav li a:focus {
    color: #fff;
    background: #58585A;
}

@media only screen and (min-width: 0px) and (max-width: 320px) {
/* picture resize on screen size */
#float {
 margin-left: 210px;
}
}

@media only screen and (min-width: 321px) and (max-width: 500px) {
/* picture resize on screen size */
#float {
 margin-left: 330px;
}
}

/* simple subnav */
@media screen and (max-width: 500px) {
 #menu {
  width:1.6em;
  display: block;
  background:#00AEEF;
  font-size:12pt;
  text-align: center;
  color: #fff;
  cursor: pointer; 
		}
		#nav.js {
			display: none;
		}
	}

@media only screen and (min-width: 0px) and (max-width: 320px) {		
#nav {
    position: fixed;
    right: 0;
    top: 258px;
    width: 8em;
    margin-top: -2.5em;
    text-align: left;
    width: 116px;
    height: 120px;
    background-color: #00AEEF;
	z-index:1021;
}
		#nav ul {
			width:100%;
            list-style-type: none;
            padding: 5px;
	        margin-left: 2px;
	        margin-right: 5px;	
	        font-family: 'Open Sans', sans-serif;		
	        font-size: 0.92em;
			margin-bottom: 10px;
		}
		#nav li a {
			width:100%;
			border-right: 7px;
			padding: 0px;
            list-style-type: none;
	        font-family: 'Open Sans', sans-serif;			
	        font-size: 0.92em;			
			color: #fff;
		}
#nav li a:hover,
#nav li a:focus {
    color: #68B545;
}		
}	

@media only screen and (min-width: 321px) and (max-width: 500px) {
#nav {
    position: fixed;
    right: 0;
    top: 182px;
    width: 8em;
    margin-top: -2.5em;
    text-align: left;
    width: 116px;
    height: 120px;
    background-color: #00AEEF;
	z-index:1021;
}
		#nav ul {
			width:100%;
			text-align: left;
            list-style-type: none;
            padding: 5px;
	        margin-left: 2px;
	        margin-right: 5px;	
	        font-family: 'Open Sans', sans-serif;			
	        font-size: 0.92em;
			margin-bottom: 10px;			
		}
		#nav li a {
			width:100%;
			border-right: 7px;
			padding: 0px;
            list-style-type: none;
	        font-family: 'Open Sans', sans-serif;			
	        font-size: 0.92em;			
			color: #fff;
		}
#nav li a:hover,
#nav li a:focus {
    color: #68B545;
}				
}		
	

/* Call Us Button */
a.button {
     color:#fff;
	 margin:0 0 8px 0;
	 list-style:none;
	 background-color:#D0D574;
	 border:2px solid #333;
	 line-height:32px;
	 display:inline-block;
	 font-family: Gill Sans, sans-serif;
	 font-weight:bold;
	 text-shadow:0 1px 0px rgba(0,0,0,0.8);
	 vertical-align:middle;
	 padding:10px 20px 10px 15px;
     -moz-border-radius:5px;
     -webkit-border-radius:5px;
     border-radius:5px;
     -webkit-transition:all .2s ease-in-out;
     -moz-transition:all .2s ease-in-out;
     -o-transition:all .2s ease-in-out;
     -ms-transition:all .2s ease-in-out;	 
}

a:hover.button {
     background-color:#ACB335;
	 color:#fff;
}

.phonecall {
     background:url(images/phone-call.png) left center no-repeat;
	 text-indent:42px;
	 display:block;
}

@media only screen and (min-width: 0px) and (max-width: 320px) {
/* picture resize on screen size */
#homepgslide {
 width: 300px;
 border: 2px solid #ffffff;
}
#swipe
{
  width:308px;
  height: 154px;  
  overflow:hidden;
  position:relative;
  margin:auto;
}

#gallery
{
  width:302px;
  position:relative;
  margin:auto;
}

}


@media only screen and (min-width: 321px) and (max-width: 500px) {
#homepgslide {
 width: 420px;
 border: 2px solid #ffffff; 
}
#swipe
{
  width:466px;
  height: 233px;
  overflow:hidden;
  position:relative;
  margin:auto;
}

#gallery
{
  width:408px;
  position:relative;
  margin:auto;
}

}

/* Home Page Slideshow */
.fadein { position:relative; width:294px; text-align: center; margin-left: auto; margin-right: auto; height: 134px; }
.fadein img { position:absolute; left:0; top:0; width: 270px; }