/* HTML5 ✰ Boilerplate
 * ==|== normalize ==========================================================
 */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: 13px; line-height: 1.231; }
body, button, input, select, textarea { font-family: sans-serif; color: #222; }

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ==== Positional styles =====================================================
   Author: Leigh Hathaway
   ========================================================================== */

html, body {
   height: 100%;
}
/*Opera Fix*/
body:before {
	content:"";
	height:100%;
	float:left;
	width:0;
	margin-top:-32767px;
}
.container {
	min-height: 100%;
	width: 960px;
	margin: 0 auto;
	padding-bottom: 200px;
}
header {
	width: 100%;
}
footer {
	background: #000 url('../img/bg-footer.png') repeat-x left top;
	position: relative;
	margin-top: -200px;
	height: 200px;
	clear:both;
	width: 100%;
} 
footer img{
	float: right;
	padding-top: 110px;
}
article {
	float: left;
	margin:0 10px;
}
#homePage {
	background: #ffffff url('../img/bg-home.jpg') repeat-x left top;
}
#servicesPage, #portfolioPage, #contactPage {
	background: #ffffff url('../img/bg-pages.gif') repeat-x left top;
}
#homePage img, #pagesHead img{
	margin-left: auto;
	margin-right: auto;
	display: block;
}
#homeHead, #pagesHead {
	margin: 0 auto;
	padding: 20px 0;
	width: 960px;
}
#homeHead {
	height: 780px;
}
#pagesHead {
	height: 370px;
}
#bodyIntro{
	margin: 0 auto;
	width: 960px;
}
#servicesPage article {
	width: 211px;
	margin-bottom: 40px;
}


/*contact page*/

#contactForm {
	float:left;
	margin: 0 0 70px 0;
	width:570px;
	height: 437px;
	background: #ffffff url('../img/form-bg.jpg') no-repeat left 14px;
}
form{
	padding-left: 70px;
}
#contactDets{
	float:left;
	width:328px;
	height: 417px;
	padding: 115px 0 0 60px;
}

/*nav section*/

nav{
	margin-left: auto;
	margin-right: auto;
	padding-top: 10px;
}
#homePage nav{
	width: 625px;
}
#servicesPage nav, #contactPage nav, #portfolioPage nav{
	width: 960px;
	margin-top: -265px;
}
.leftNav{
	padding-right: 335px;
}



/* ==== Asthetic Styles =====================================================
   ========================================================================== */

h2{
	font-family: 'Arvo', tahoma, arial, serif;
	font-weight:700;
	font-size: 1.4em;
}
p{
	font-size: 1.2em;
	font-family: 'Arvo', tahoma, arial, serif;
	line-height:1.4;
}
p:first-letter { 
	font-size: 5em; 
	line-height: 0.4;
	font-family: Sofia, cursive;
}
a{
	color: black;
	font-weight: bold;
}
a:hover{
	color:#f24507;
}

/* nav styles */

nav li{
    display: inline;
	list-style: none;
}
nav li a {
	color: #000000;
	font-size: 20px;
	text-transform: uppercase;
	text-decoration: none;
	padding-right: 25px;
	padding-left: 25px;
	font-weight:bold;
	text-shadow:3px 3px 3px #ffffff;
	outline: none;
}
nav li a:visited {
	color: #000000;
}
nav li a:hover {
	color: #ffffff;
	text-shadow:3px 3px 3px #000000;
}

/* Services Lists */

article ul{
	margin: 0;
	list-style: none;
	padding-left: 28px;
}
article ul li {
	text-indent: -3.4em;
}
article ul li a {
	background: url(../img/star.png) no-repeat 15px 3px;
	padding-left: 2.8em;
	font-size: 1.2em;
	font-family: 'Arvo', tahoma, arial, serif;
	line-height:1.8;
	color: #000;
	text-decoration: none;
}
article ul li a:hover {
	color: #f24507;
	text-decoration: underline;
}

/* Portfolio Page */

#portfolioSection {
	margin: 0 auto 30px;
	width:940px;
	height: 350px;	
	background: #97d2bd url('../img/bg-green.jpg') repeat left top;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border: 1px solid #009999;
}
.topPortItems{
	height:100%;
	float: left;
	position: relative;
	width: 420px;
}
.msgPortfolio{ margin: 5px 0 37px 30px;}
.bigImgFrame{
	width: 295px;
	height: 171px;
	background: #ddd url('../img/loading.gif') no-repeat center center;
	border: 10px #fff solid;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
	margin:0 60px;
	float: left;
}
.imgFrame{
	width: 203px;
	height: 129px;
	background: #ddd url('../img/loading.gif') no-repeat center center;
	border: 10px #fff solid;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
	margin:10px 15px;
	float: left;
}
    
/* Contact Page */

#contactDets h4 { 
	font-size: 1.2em; 
	line-height: 1;
	font-family: 'Arvo', tahoma, arial, serif;
	text-transform: uppercase;
}
#contactDets p { 
	color:#97d2bd ;
	font-size: 1.2em; 
	line-height: 1;
	font-family: 'Arvo', tahoma, arial, serif;
}
#contactDets p:first-letter { 
	font-size: 1em; 
	line-height: 1;
	font-family: 'Arvo', tahoma, arial, serif;
}

#contactForm h3 {
	color: #ffffff;
	padding-left: 70px;
	font-family: 'Niconne', cursive;
	font-size: 3em;
}
#contactForm p {
	padding: 0 55px 0 70px;
}
#contactForm p:first-letter { 
	font-size: 1.2em; 
	line-height: 0.4;
	font-family: 'Arvo', tahoma, arial, serif;
}
input, textarea{
	width: 400px;
	color:#ffffff;
	margin: 10px 0;
	font-family: Georgia, serif;
	font-style: italic;
	font-size: 16px;
	padding:8px;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border: 1px solid #b3d9c9;
	outline: none;  
	background-color: #68b398; 
	-moz-box-shadow: 0 0 5px #b4d9ca, inset 1px 1px 1px #5c9d87;
	-webkit-box-shadow: 0 0 5px #b4d9ca, inset 1px 1px 1px #5c9d87;
	box-shadow: 0 0 5px #b4d9ca, inset 1px 1px 1px #5c9d87;
}
input:focus, textarea:focus {  
    -webkit-box-shadow: 0px 0px 5px #fff;  
    -moz-box-shadow: 0px 0px 5px #fff;  
    box-shadow: 0px 0px 5px #fff;  
}  
button.submitbutton {
	margin-left: 125px;
	margin-top: 10px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #ffffff;
	padding: 10px 20px;
	background: -moz-linear-gradient(
			top,
			#363336 0%,
			#242424 50%,
			#000000);
	background: -webkit-gradient(
			linear, left top, left bottom, 
			from(#363336),
			color-stop(0.50, #242424),
			to(#000000));
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border: 1px solid #000000;
	-moz-box-shadow:
			0px 1px 3px rgba(000,000,000,0.5),
			inset 0px 0px 1px rgba(255,255,255,0.6);
	-webkit-box-shadow:
			0px 1px 3px rgba(000,000,000,0.5),
			inset 0px 0px 1px rgba(255,255,255,0.6);
	text-shadow:
			0px -1px 0px rgba(000,000,000,1),
			0px 1px 0px rgba(255,255,255,0.2);
	}
::-webkit-input-placeholder  { color:#fff; }
input:-moz-placeholder { color:#fff; }
.realtest {	display:none;}

.iosshow{
	display: none;
}


/* ==|== Popup Modal Windows ======================================== */
		
	.reveal-modal-bg { 
		position: fixed; 
		height: 100%;
		width: 100%;
		background: #000;
		background: rgba(0,0,0,.8);
		z-index: 100;
		display: none;
		top: 0;
		left: 0; 
		}
	
	.reveal-modal {
		visibility: hidden;
		top: 100px; 
		left: 50%;
		margin-left: -300px;
		width: 520px;
		background: #eee url(../img/modal-gloss.png) no-repeat -200px -80px;
		position: absolute;
		z-index: 101;
		padding: 30px 40px 34px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		border-radius: 5px;
		-moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
		-webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
		-box-shadow: 0 0 10px rgba(0,0,0,.4);
		}
	#portfolioPage .reveal-modal {background: #fff no-repeat -200px -80px;}
		
	.reveal-modal.small 		{ width: 200px; margin-left: -140px;}
	.reveal-modal.medium 		{ width: 400px; margin-left: -240px;}
	.reveal-modal.large 		{ width: 600px; margin-left: -340px;}
	.reveal-modal.xlarge 		{ width: 800px; margin-left: -440px;}
	
	.reveal-modal .close-reveal-modal {
		font-size: 22px;
		line-height: .5;
		position: absolute;
		top: 8px;
		right: 11px;
		color: #aaa;
		text-shadow: 0 -1px 1px rbga(0,0,0,.6);
		font-weight: bold;
		cursor: pointer;
		} 
	.reveal-modal p:first-letter { 
		font-size: 1em; 
		line-height: 1;
		font-family: 'Arvo', tahoma, arial, serif;
		}
	.reveal-modal img { 
		margin: 0 auto;
		display: block;
		}	
		










/* ==|== non-semantic helper classes ======================================== */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }











/* ==|== media queries ====================================================== */

@media only screen and (max-width: 480px) {
	
	.iosHide { display: none;}
	.iosShow { display: block;}
	.current{ display: none;}
	.container, #bodyIntro, #homeHead, #pagesHead{
   		width: auto;
   		max-width: 320px;
   		min-width: 0px;
	}
	img{
		max-width: 90%;
	}
	#homeHead h1 img {
		width: 300px; 
		height:69px;
	}
	#bodyIntro h2 img {
		width: 300px; 
		height:65px; 
		margin-bottom: 20px;
	}
	#pagesHead h1 img {
		width: 150px; 
		height:145px; 
		margin-bottom: 20px;
	}
	.container{	padding-bottom: 10px;}
	
	#homePage {
		background: #ffffff url('../img/bg-homeios.png') repeat-x left top;
	}
	#servicesPage, #portfolioPage, #contactPage {
		background: #ffffff url('../img/bg-homeios.png') repeat-x left top;
	}
	#homeHead{ height:370px;}
		
	#pagesHead { height: 370px;}
		
   	footer{ 
   		width: 100%;
   		margin-top: 0px;
   	}
   	nav{
   		width: 100%;
   		margin-left: auto;
   		margin-right: auto;
   	}
   	#homePage nav{
   		padding-top: 10px;
   		width: 100%;
   	}
   	#pagesHead nav {
   		width: 100%;
   		margin-top: 0px;
   		margin-left: auto;
   		margin-right: auto;
   	}
   	#servicesPage nav, #contactPage nav, #portfolioPage nav{
   		margin-top: 0px;
   		margin-left: auto;
   		margin-right: auto;
   	}
   	.leftNav{
   		padding-right: 0px;
   	}
   	nav li{
    	display: block;
   		text-align: center;
   		padding-bottom: 20px;
   	}
   	nav li a {
   	   font-size: 30px;
   	   border-top: 1px solid #757575;
   	   background: #2a2c2e;
   	   background: -webkit-gradient(linear, left top, left bottom, from(#091014), to(#2a2c2e));
   	   background: -webkit-linear-gradient(top, #091014, #2a2c2e);
   	   background: -moz-linear-gradient(top, #091014, #2a2c2e);
   	   background: -ms-linear-gradient(top, #091014, #2a2c2e);
   	   background: -o-linear-gradient(top, #091014, #2a2c2e);
   	   padding: 5px 10px;
   	   -webkit-border-radius: 8px;
   	   -moz-border-radius: 8px;
   	   border-radius: 8px;
   	   -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
   	   -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
   	   box-shadow: rgba(0,0,0,1) 0 1px 0;
   	   text-shadow: rgba(0,0,0,.4) 0 1px 0;
   	   color: white;
   	   font-size: 30px;
   	   text-decoration: none;
   	   vertical-align: middle;
   	   }
   	nav li a:hover {
   	   border-top-color: #287871;
   	   background: #287871;
   	   color: #ccc;
   	   }
   	nav li a:active {
   	   border-top-color: #5a5e61;
   	   background: #5a5e61;
   	   color: white;
   	   }
  	nav li a:visited { color: white; } 	
   	
   	#servicesPage article {
   		width: 300px;
   		margin-bottom: 30px;
   		margin-left: 10px;
   		margin-right: 10px;
   	}   	
   .reveal-modal {
   		margin-left: -150px;
   		width: 85%;
   		padding: 20px 10px;
    }
    
    
    
    /*port*/
    
    #portfolioSection {
    	margin: 0 auto 30px;
    	width:300px;
    	height: 470px;	
    }
    .topPortItems{
    	height:auto;
    	float: none;
    	position: relative;
    	width: 80%;
    }
    .msgPortfolio{ 
    	margin: 5px 0 20px 40px;
    	width: 280px;
    	height: 71px;
    }
    .bigImgFrame{
    	width: 240px;
    	height: 139px;
    	border: 10px #fff solid;
    	margin:0 0 20px 20px;
    	padding: 0;
    }
    .bigImgFrame img{
    	width: 240px;
    	height: 139px;
    	padding: 0;
    	margin: 0;
    	max-width:100%;
    }
    .imgFrame{
    	width: 100px;
    	height: 64px;
    	border: none;
    	margin:10px 20px;
    	float: left;
    }
    .imgFrame img{
    	width: 100px;
    	height: 64px;
    	padding: 0;
    	margin: 0;
    	border: 5px #fff solid;
    	max-width:100%;
    }
   
    
    
    
    
    /*cont*/
    
    
   #contactForm {
   		float:none;
   		margin: 0 0 0 0;
   		width:100%;
   		height: 337px;
   		background: #ffffff url('../img/form-bg-small.png') no-repeat left top;
   }
   #contactForm h3 {
   		padding-left: 50px;
   		padding-top: 5px;
   		font-size: 2.5em;
   		color: #ffffff;
   }
   #contactForm p {
   		padding: 0 55px 0 70px;
   }
   form{
   		padding-left: 40px;
   }
   input, textarea{
   		width: 80%;
   		margin: 5px 0;
   		font-size: 16px;
   		padding:8px;
   }
   button.submitbutton {
   		margin-left: 40px;
   }
   #contactDets{
   		float:none;
   		width:100%;
   		height: 360px;
   		padding: 0 0 0 40px;
   }
       
   
}

@media only screen and (device-width: 768px) and (orientation: landscape) {

	#homePage nav{
		width: 650px;
	}
	.leftNav{
		padding-right: 330px;
	}
}



/* ==|== print styles ======================================================= */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } 
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } 
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
