/************************************************************************************
RESET
*************************************************************************************/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset {
	margin: 0;
	padding: 0;
}

img, fieldset {
	border: 0;
}

/* set image max width to 100% */
img {
	max-width: 100%;
	height: auto;
	width: 100%;
 /* ie8 */
display:block;
}

img.floatRight {
	width: 100%;
	max-width: 250px;
	float: right;
	margin-top: 15px;
	margin-right: 20px;
	margin-bottom: 10px;
	margin-left: 15px;
} 

img.floatLeft {
width: 100%;
max-width: 250px;
	float: left;
	margin-top: 0px;
	margin-right: 15px;
	margin-bottom: 15px;
	margin-left: 0px;
}
/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}

/************************************************************************************
GENERAL STYLING
*************************************************************************************/
body {
	color: #666;
	background-color: #FFFFFF;
	background-position: center top;
	font-family: 'Trebuchet MS', arial, helvetica, sans-serif;
	font-size: 0.81em;
	line-height: 150%;
}
a {
	color: #000099;
	text-decoration: none;
	outline: none;
}
a:hover {
	text-decoration: underline;
}
p {
	padding: 0;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 50px;
	color: #000000;
	text-align: left;
}

/* list */
ul, ol {
	margin: 1em 0 1.4em 24px;
	padding: 0;
	line-height: 140%;
}
li {
	margin: 0 0 .5em 0;
	padding: 0;
}

/* headings */
h1, h6 {
	line-height: 1em;
	margin: 20px 0 .4em;
	color: #000;
}
h1 {
	font-size: 1.6em;
	color: #0000CC;
	text-align: left;
	padding-left: 25px;
	padding-bottom: 8px;
}
h2 {
	font-size: 1.2em;
	color: #666666;
	text-align:left;
	font-family:'Trebuchet MS', arial, helvetica, sans-serif;
	font-weight: bold;
	padding-left: 25px;
	line-height: 1em;
	 }

h3 {
	font-size: 1.1em;
}
h4 {
	font-size: 1.06em;
}
h5 {
	font-size: 1.1em;
	font-family: 'Trebuchet MS', arial, helvetica, sans-serif;
	padding-left: 25px;
	font-style: italic;
	color: #666666;
}
h6 {
	font-size: 1.1em;
	padding-left: 25px;
	color: #666666;
}
.small {
	font-family:'Trebuchet MS', arial, helvetica, sans-serif;
	font-size:0.9em;
	line-height: normal;
	text-align: center;
		}
		
		.lge {'Raleway', 'lucida sans unicode', 'lucida grande', 'Trebuchet MS', arial, helvetica, sans-serif;
	font-size:1.3em;
	line-height: normal;
	}
		
/* reset webkit search input styles */
input[type=search] {
	-webkit-appearance: none;
	outline: none;
}
input[type="search"]::-webkit-search-decoration, 
input[type="search"]::-webkit-search-cancel-button {
	display: none;
}

/************************************************************************************
STRUCTURE
*************************************************************************************/
#pagewrap {
	width: 100%;
	max-width: 1400px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	padding: 0;
	margin-left: auto;
	overflow: hidden;
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #000;
	border-left-color: #000;
}
 .google-maps {
	position: relative;
	padding-bottom: 40%;
// This is the aspect ratio
        height: 0;
	overflow: hidden;
    }
    .google-maps iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100%;
!important;
border:     ; 	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #000000;
	border-bottom-color: #000000;
}

/************************************************************************************
HEADER
*************************************************************************************/
#header {
	position: relative;
}

/* site logo */
#site-logo {
	position: absolute;
	top: 10px;
}
#site-logo a {
	font: bold 30px/100% 'Raleway', 'lucida sans unicode', 'lucida grande', 'Trebuchet MS', arial, helvetica, sans-serif;
	color: #fff;
	text-decoration: none;
}

/* site description */
#site-description {
	font: italic 100%/130% 'Raleway', 'lucida sans unicode', 'lucida grande', 'Trebuchet MS', arial, helvetica, sans-serif;
	color: #fff;
	position: absolute;
	top: 55px;
}

/* searchform */
#searchform {
	position: absolute;
	right: 10px;
	bottom: 6px;
	z-index: 100;
	width: 160px;
}
#searchform #s {
	width: 140px;
	float: right;
	background: #fff;
	border: none;
	padding: 6px 10px;
	/* border radius */
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	/* box shadow */
	-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	/* transition */
	-webkit-transition: width .7s;
	-moz-transition: width .7s;
	transition: width .7s;
}

/************************************************************************************
CONTENT
*************************************************************************************/
#content {
	background: #fff;
	width: 100%;
	/* rounded corner */
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	/* box shadow */
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
height: auto;
	margin-top: 0px;
}

.container {
	width: 90%;
	overflow: hidden;
	background-color: #FFFFFF;
	margin-top: 15px;
	margin-right: auto;
	margin-bottom: 15px;
	margin-left: auto;
}
.galleryItem {
	color: #797478;
	width: 20%;
	float: left;
	-webkit-transition: color 0.5s ease;
	margin-top: 2%;
	margin-right: 2%;
	margin-bottom: 5px;
	margin-left: 2%;
	font-family: 'Trebuchet MS', arial, helvetica, sans-serif;
	font-size: 10px;
	line-height: 0.7;
	text-align: center;
	height: 100%;
	max-width: 155px;
}

.galleryItem h3 {
	text-transform: uppercase;
	line-height: 1;
	padding-top: 10px;
	padding-bottom: 2px;
}
.galleryItem  h4 {
	text-transform: uppercase;
	line-height: 1;
	padding-top: 10px;
	padding-bottom: 2px;
}

.galleryItem:hover {
	color: #000;
}

.galleryItem img {
	max-width: 155px;
	max-height: 237px;
}
/* gallery image */
.gallery-image {
	margin-bottom: 5px;
	margin-right: auto;
	margin-left: auto;
	width: 100%;
	text-align: center;
}


/*  SECTIONS  */
.section {
	clear: both;
	margin: 0px;
	padding-top: 0px;
	padding-right: 10px;
	padding-bottom: 0px;
	padding-left: 0px;
}

.section2 {
	float: left;
	margin-top:10px;
	margin-bottom:20px;
	margin-right: 20px;
	margin-left: 10px;
	font-size: 1em;
	padding: 0px;
	width: 97%;
	background-color: #FFFFFF;
}

.section3 {
	float: left;
	width: 95%;
	max-height: 220px;
	margin-left:10px;
	margin-right:10px;
	padding: 20px;
	text-align: left;
	font-size: 1em;
	font-weight: bold;
	background-color: #0000CC;
	border: 1px dashed #33FFFF;
	padding: 15px;
	background-position: top;
	height: 220px;
	color: #FFFFFF;

}
	
	.section4 {
	float: left;
	width: 95%;
	max-height: 220px;
	margin-left:10px;
	margin-right:10px;
	padding: 20px;
	background-color: #000000;
	border: 1px dashed #33FFFF;
	padding: 15px;
	background-position: top;
	height: 130px;
	color: #FFFFFF;

	}
	
	.cd-top {
	display: inline-block;
	height: 81px;
	width: 81px;
	position: fixed;
	bottom: 40px;
	right: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	/* image replacement properties */
  overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	visibility: hidden;
	opacity: 0;


  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
	background-image: url(../Images/backtotopwhite.png);
	background-repeat: no-repeat;
	background-position: 300;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}
.no-touch .cd-top:hover {
	opacity: 1;
}


/*  COLUMN SETUP  */
.col {
	display: block;
	float:left;
	margin: 1% 0 1% 1.6%;
}
.col:first-child { margin-left: 0; }


/*  GROUPING  */
.group:before,
.group:after {
	content:"";
	display:table;
}
.group:after {
	clear:both;
}
.group {
	zoom:1;
}

/*  GRID OF THREE  */
.span_3_of_3 {
	width: 95%;
}

/* MEDIA QUERIES*/
@media only screen and (max-width : 940px),
only screen and (max-device-width : 940px){
	.galleryItem {width: 21%;
	.section3 { width: 96%;
	max-width: 930px; }
	.section4 {width: 96%;
	max-width: 930px; }
}}
}

@media only screen and (max-width : 720px),
only screen and (max-device-width : 720px){
	.galleryItem {width: 29.33333%;}
	.header h1 {font-size: 40px;}
.section3 { width: 96%;
	max-width: 700px; }
	.section4 {width: 96%;
	max-width: 700px; }
}
@media only screen and (max-width : 530px),
only screen and (max-device-width : 530px){
#pagewrap {
	width: 100%;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	overflow: hidden;
}
	.galleryItem {width: 46%;}
	.header h1 {font-size: 28px;}
	.section3 { width: 96%;
	max-width: 500px; }
	.section4 {width: 96%;
	max-width: 500px; }
}

@media only screen and (max-width : 320px),
only screen and (max-device-width : 320px){
	.galleryItem {width: 100%;}
	.galleryItem img {width: 100%;}
	.galleryItem h3 {font-size: 18px;}
	.galleryItem p, .header p {font-size: 18px;}
	.header h1 {font-size: 70px;}
	.section3 { width: 96%;
	max-width: 300px; }
	.section4 {width: 96%; 
	max-width: 300px;}

}
/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */

@media only screen and (max-width: 880px) {

	.section { width: 96%; 
	margin-left: 10px;
	margin-right: 10px;
	}
	.section3 { width: 96%; 
	max-width: 860px;
	margin-left: 10px;
	margin-right: 10px;
	}
	
	
	
	.span_3_of_3 {
		width: 98%; 	
}


*  MEDIA QUERIES  ============================================================================= */



@media only screen and (min-width:881px) and (max-width: 1200px) 
{
.section { width: 98%; 
	margin-left: 10px;
	margin-right: 10px;
	}
	
	.span_3_of_3 {
		width: 100%; 
	}

	
	
