html {
 height:100%;
}

body {
 background-color:#cdcdcd;
 height:100%;
/* position:relative; */
 margin:0 auto;
 padding:0px;
}

div,img {
 margin:0;
 padding:0;
 border:0;
}


/* Core layout */

#wrapper {
 position:relative;
 margin:0 auto;
 height:auto !important; 
 height:100%; 
 min-height:100%;
}

.content {
 width:980px;
 margin-top:0;
 margin-right:auto;
 margin-bottom:0;
 margin-left:auto;
 clear:both;
 display:block;
}

#header, #mainbody, #footer {
 width:100%;
 clear:both;
 display:block;
}

#header, #footer {
 background-color:#8d8d8d;
 color:#ffffff;
 min-height:100px;
}

* html #header, * html #footer {
 height:100px;
}


#header {
 border-bottom:1px solid #ffffff;
}

#footer {
 position:absolute;
 bottom:0;
 border-top:1px solid #ffffff;
}


#header .content #mastHead {
 width:270px;
 height:50px;
 margin:36px 0px 0px 0px;
 border:0;
 padding:0px;
 float:left;
 clear:left;
 display:inline;
}

#header .content #mastHead img {
 width:270px;
 height:50px;
}

#mainbody {
 padding:10px 0 0;
}

#mainbody .content {
 padding:0 0 100px 0;
}

#mainbody .content .leftBox {
 width:480px;
 float:left;
}

#mainbody .content .rightBox {
 width:480px;
 float:right;
}


#mainbody .content p img.photo-right {
 margin:0 0 10px 20px;
 float:right;
} 

#mainbody .content p img.photo-left {
 margin:0 20px 10px 0;
 float:left;
}

#mainbody .content .gallery {
 padding:20px 0;
}

#mainbody .content .gallery div {
 float:left;
 margin:0 0 36px 19px;
}

#mainbody .content .gallery .first-in-row {
 margin-left:0;
}

#mainbody .content .gallery .hidden {
 display:none;
}

#mainbody .content .gallery div a img {
 width:140px;
 height:140px;
}

#mainbody .content .gallery div a:link img {
 border:3px solid #ffffff;
}

#mainbody .content .gallery div a:visited img {
 border:3px solid #ffffff;
}

#mainbody .content .gallery div a:hover img {
 border:3px solid #8d8d8d;
}

#mainbody .content .gallery div a:active img {
 border:3px solid #8d8d8d;
}

#mainbody .content .homeGalleryBox a:link img {
 border:6px solid #ffffff;
}

#mainbody .content .homeGalleryBox a:visited img {
 border:6px solid #ffffff;
}

#mainbody .content .homeGalleryBox a:hover img {
 border:6px solid #8d8d8d;
}

#mainbody .content .homeGalleryBox a:active img {
 border:6px solid #8d8d8d;
}



/* Footer  */


#footer .content {
 padding-top:10px;
}

#footer .content .leftBox {
 width:75%;
 float:left;
}

#footer .content .rightBox {
 width:25%;
 float:left;
 text-align:right;
}

#footer .content p {
 margin:0;
 padding:15px 0 0px 0;
}

.facebook {
 padding:0 0 0px 0;
}

.facebook a:link {
 color:#ffffff;
 text-decoration:none;
}

.facebook a:visited {
 color:#ffffff;
 text-decoration:none;
}

.facebook a:hover {
 color:#ffffff;
 text-decoration:underline;
}

.facebook a:active {
 color:#ffffff;
 text-decoration:underline;
}

.facebook img {
 width:16px;
 height:16px;
 margin:-2px 0 0 5px;
 padding:0;
 display:block;
 float:right;
}

.siteby {
/* clear:right;
 margin-top:-10px;*/
}

.sm_second {
 color:#ff740e;
 font-weight:bold;
}

.sm_mile {
 color:#dddddd;
 font-weight:bold;
}

.siteby a:link {
 text-decoration:none;
}

.siteby a:visited {
 text-decoration:none;
}

.siteby a:hover {
 text-decoration:none;
}

.siteby a:active {
 text-decoration:none;
}



/* Navigation  */

#navBox {
 width:auto;
 margin:72px 0 0 0;
 float:right;
 display:inline;
}

#navBox ul {
 padding:0;
 margin:0;
 list-style:none;
}

#navBox ul li {
 float:left;
 width:auto;
}

#navBox ul li a {
 display:block;
 font-size:1.2em;
 text-align:right;
 padding:0;
 margin:0 0 0 40px;
 border:0;
}

#navBox ul li a:link {
 color:#ffffff;
 text-decoration:none;
}

#navBox ul li a:visited {
 color:#ffffff;
 text-decoration:none;
}

#navBox ul li a:hover {
 color:#ffffff;
 text-decoration:underline;
}

#navBox ul li a:active {
 color:#ffffff;
 text-decoration:underline;
}



/* Forms  */

.contactForm {
 padding-bottom:20px;
}

.formLabel {
 padding-top:5px;
}

.formField {

}

.formInput {
 width:400px;
 font-family: Verdana, Arial, Helvetica, sans-serif;
 font-size:1em;
}

.formField textarea {
 width:400px;
 font-family: Verdana, Arial, Helvetica, sans-serif;
 font-size:1em;
}




.clearall {
 clear:both;
 font-size:0em;
}
