/* HTML5 element fix:*/
article, header, nav, aside, footer, section {
	display: block;
}

/*Body:*/
body {
	margin: 15px 0px 0px 0px;
	padding: 0px;
	//background: url('images/body-background.png') no-repeat 50% 25% fixed #D7E4FF;
	font-family: 'Century Gothic', 'Abel', sans-serif;
	font-size: 100%;
	background: -moz-radial-gradient(center, ellipse cover,  rgba(255,255,255,1) 0%, rgba(220,232,255,1) 93%, rgba(204,221,255,0.93) 100%);
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(255,255,255,1)), color-stop(93%,rgba(220,232,255,1)), color-stop(100%,rgba(204,221,255,0.93)));
	background: -webkit-radial-gradient(center, ellipse cover,  rgba(255,255,255,1) 0%,rgba(220,232,255,1) 93%,rgba(204,221,255,0.93) 100%);
	background: -o-radial-gradient(center, ellipse cover,  rgba(255,255,255,1) 0%,rgba(220,232,255,1) 93%,rgba(204,221,255,0.93) 100%);
	background: -ms-radial-gradient(center, ellipse cover,  rgba(255,255,255,1) 0%,rgba(220,232,255,1) 93%,rgba(204,221,255,0.93) 100%);
	background: radial-gradient(center, ellipse cover,  rgba(255,255,255,1) 0%,rgba(220,232,255,1) 93%,rgba(204,221,255,0.93) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#edccddff',GradientType=1 );
}

.intro { /*Required for top alignment*/
	display: inline;
	visibility: none;
	margin: 0px;
	padding: 0px;
}

/*Header*/
header {
	width: 100%;
}

header #logo {
	border: 0px;
	display: block;
	float: left;
	margin-left: 5%;
	z-index: 1;
	min-width: 300px;
}

/*Links (a)*/
a:link, a:visited {
	color: #000000;
	font-weight: bold;
	text-decoration: none;
}

a:hover, a:focus, a:active {
	color: #003399;
}

/*Navigation*/
nav {
	float: right;
	font-size: 1.5em;
	margin-right: 5%;
}

nav ul {
	list-style: none;
	//border-bottom: 4px solid #006699;
	padding: 0em 0.2em 0em 0.2em;
}

nav ul li {
	display: inline;
	margin-right: 0px;
}

nav ul li:last-child{
	margin-right: 0px;
}

nav a {
	background: url('images/navigation-sprite.png') no-repeat;
	height: 25px;
	display: inline-block;
	text-indent: -999em;
	-khtml-transition:background-position .4s ease;
	-moz-transition:background-position .4s ease;
	-o-transition:background-position .4s ease;
	-webkit-transition:background-position .4s ease;
	transition:background-position .4s ease;
}

nav a[title="Home"] {
	background-position: -10px -7px;
	width: 65px;
}

nav a[title="Services"] {
	background-position: -160px -7px;
	width: 82px;
}

nav a[title="Portfolio"] {
	background-position: -325px -7px;
	width: 90px;
}

nav a[title="Contact"] {
	background-position: -492px -7px;
	width: 85px;
}

/*Navigation Hover-States*/
nav ul li a:hover, nav ul li a:focus {
	-khtml-transition:background-position .4s ease;
	-moz-transition:background-position .4s ease;
	-o-transition:background-position .4s ease;
	-webkit-transition:background-position .4s ease;
	transition:background-position .4s ease;
}

nav ul li:hover, nav ul li:focus {
	border-bottom: 4px solid #3399FF;
}

nav a[title="Home"]:hover, nav a[title="Home"]:focus {
	background-position: -10px -44px;
}

nav a[title="Services"]:hover, nav a[title="Services"]:focus {
	background-position: -160px -44px;
}

nav a[title="Portfolio"]:hover, nav a[title="Portfolio"]:focus {
	background-position: -325px -44px;
}

nav a[title="Contact"]:hover, nav a[title="Contact"]:focus {
	background-position: -492px -44px;
}

/*Article*/
article {
	margin: 250px auto 0px auto;
	width: 70%;
}

article hr {
	clear: both;
	background: #006699;
	height: 4px;
	border: 0px;
	width: 90%;
}

.error404 {
	font-size: 8em;
	text-align: center;
	font-weight: bold;
	margin-bottom: 150px;
}

/*Article, HomePage*/
article #home {
	max-width: 900px;
	margin: 0px auto;
}
article #home p {
	display: block;
	float: left;
	width: 400px;
	font-size: 0.9em;
	padding: 0px 20px;
}
article #home p b{
	display: block;
	font-size: 1.25em;
	margin-bottom: 10px;
}
article #home p:last-of-type{
	float: right;
}

/*Article, Contact / Estimate Request*/
h1 {
	background: -moz-linear-gradient(-45deg,  rgba(15,32,94,1) 0%, rgba(30,87,153,1) 8%, rgba(0,119,239,0.67) 46%, rgba(123,184,247,0.44) 72%, rgba(255,255,255,0) 100%);
	background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(15,32,94,1)), color-stop(8%,rgba(30,87,153,1)), color-stop(46%,rgba(0,119,239,0.67)), color-stop(72%,rgba(123,184,247,0.44)), color-stop(100%,rgba(255,255,255,0)));
	background: -webkit-linear-gradient(-45deg,  rgba(15,32,94,1) 0%,rgba(30,87,153,1) 8%,rgba(0,119,239,0.67) 46%,rgba(123,184,247,0.44) 72%,rgba(255,255,255,0) 100%);
	background: -o-linear-gradient(-45deg,  rgba(15,32,94,1) 0%,rgba(30,87,153,1) 8%,rgba(0,119,239,0.67) 46%,rgba(123,184,247,0.44) 72%,rgba(255,255,255,0) 100%);
	background: -ms-linear-gradient(-45deg,  rgba(15,32,94,1) 0%,rgba(30,87,153,1) 8%,rgba(0,119,239,0.67) 46%,rgba(123,184,247,0.44) 72%,rgba(255,255,255,0) 100%);
	background: linear-gradient(-45deg,  rgba(15,32,94,1) 0%,rgba(30,87,153,1) 8%,rgba(0,119,239,0.67) 46%,rgba(123,184,247,0.44) 72%,rgba(255,255,255,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0f205e', endColorstr='#00ffffff',GradientType=1 );
	overflow: visible;
	color: #FFFFFF;
	text-shadow: 1px -1px 1px #000000;
	font-size: 1.75em;
	padding: 0px 5px;
	border: 0px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

aside {
	float: left;
}

form#contact {
	display: block;
	margin: 0px auto;
	padding: 10px;
	width: 400px;
}
label {
	display: block;
	margin-top: 7px;
	padding: 1px;
	text-indent: 3px;
}

.section_header {
	font-family: arial;
	font-size: 13pt;
	font-weight: bold;
	display: block;
	margin-top: 37px;
	padding: 3px;
	background-color:#2B5AA1;
	//background: url('images/section-header.png') no-repeat;
	color: #ffffff;
	-moz-border-radius-topleft: 5px;
	border-top-left-radius: 5px;
}

.required:after {
	content: " *";
	font-weight: bold;
	color: #FF0000;
}

input, textarea {
	transition: all 0.30s ease-in-out;
	-webkit-transition: all 0.30s ease-in-out;
 	-moz-transition: all 0.30s ease-in-out;
 	border:#999999 1px solid;
 	outline:none;
	width: 200px;
}

input:focus, textarea:focus {
	box-shadow: 0 0 3px #114969;
	-webkit-box-shadow: 0 0 3px #114969;
	-moz-box-shadow: 0 0 3px #114969;
	border-color: #0F79B6;
}
textarea {
	font-family: arial;
	width: 300px;
	height: 75px;
	margin: 10px 0px;
}
#submit {
	margin-bottom: 25px;
	padding: 5px;
	font-size: 14pt;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #0F79B6;
}

/*Mini Portfolio*/
ul#miniportfolio {
	list-style: none;
	width: 470px;
	padding: 0px;
	margin: 0px 0px 30px 0px;
	display: block;
	float: right;
}

ul#miniportfolio li {
	display: block;
	float: left;
	position: relative;
	margin-right: 10px;
	margin-bottom: 2px;
	overflow: hidden;
}
ul#miniportfolio li a {
	display: block;
}

img.portfolio {
	border: 0px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
}

img.portfolio:hover, img.portfolio:focus {
	//box-shadow: 0px 0px 15px #000000;
	
}

#miniportfolio li a:hover, #miniportfolio li a:focus {
	//opacity:0.4;
	//filter:alpha(opacity=40);
	
}

/*
#miniportfolio li a:hover:after {
	//content: attr(title);
	content: url('images/view-more.png');
	//background: #000000;
	position: absolute;
	//top: 50%;
	top: 0px;
	left: 0px;
	//margin-top: -1em;
	width: 100%;
	text-align: center;
	display: block;
	color:#ffffff;
	font-size: 1.5em;
}
*/

/*Portfolio*/
#portfolio {
	list-style-type: none;
	width: 90%;
	margin: 0px auto;
}

#portfolio > li {
	width: 225px;
	height: 145px;
	display: block;
	float: left;
	position: relative;
	overflow: hidden;
	margin: 10px 10px;
	box-shadow: -2px 2px 3px #c1c1c1;
	//border: 1px solid #c1c1c1;
}

#portfolio > li:after {
	content: attr(name);
	display: block;
	
	/* Positioning: */
	position: absolute;
	bottom: -100px;
	left: 0px;
	
	/* Sizing: */
	width: 98%;
	//height: auto;
	
	/* Styling: */
	text-align: center;
	padding: 2px 3px;
	background-color: rgba(0,0,0,.75);
	color: white;
	font-size: 0.85em;
	font-family: sans-serif;
	
	/* Animation: */
	-webkit-transition: all 0.6s ease;
	-moz-transition: all 0.6s ease;
	-o-transition: all 0.6s ease;
	
}

#portfolio > li:hover img{
	opacity: 0.5;
	box-shadow: inset 3px white;
	
	/* Animation: */
	-webkit-transition: all 0.6s ease;
	-moz-transition: all 0.6s ease;
	-o-transition: all 0.6s ease;
}

#portfolio > li:hover:after {
	/* Animation: */
	-webkit-transition: all 0.6s ease;
	-moz-transition: all 0.6s ease;
	-o-transition: all 0.6s ease;
	
	
	/* Positioning: */
	position: absolute;
	bottom: 0px;
}

#tags {
	display: inline-block;
	float: left;
	border-radius: 4px;
	background: rgba(0,0,0,0.55);
	color: #ffffff;
	text-shadow: -1px 1px 1px #000000;
	font-family: sans-serif;
	line-height: 1.35em;
	
	padding: 10px;
	margin: 8px;
	
	list-style: url('');
	list-style-type: none;
	text-indent: 0px;
	
}
#tags:before {
	content: "TAGS";
	position: relative;
	top: -1em;
	
	-moz-transform: rotate(-10deg);
	color: #000000;
	background: #FFFFFF;
	border: 0px;
	border-radius: 8px;
	padding: 4px;
	font-weight: bold;
	text-shadow: none;
	
}
#portfolio-lg {
	display: block;
	float: none;
	text-align: center;
	width: 80%;
	max-width: 800px;
	min-width: 350px;
	margin: 15px auto;
	box-shadow: 3px 2px 8px #000000;
	
}
#portfolio-lg:after {
	content: " ";
	clear: both;
}
#description {
	display: inline;
	float: none;
	width: 80%;
	
	font-family: sans-serif;
	line-height: 1.35em;
}
			
/*Services*/
table#services {
	width: 100%;
	border-collapse: collapse;
	margin: 8px auto;
}

#services img {
	margin-bottom: 35px;
	position: relative;//new-icon fix
}

#services tr td {
	
}
#services tr td:nth-child(odd) {
	text-align: right;
	vertical-align: middle;
}
#services tr td:nth-child(even) {
	vertical-align: top;
	padding-bottom: 10px;
	text-indent: 1em;
	padding-left: 2em;
}

.new:after {
	content: "NEW!";
	font-weight: bold;
	font-size: 0.8em;
	padding: 3px 15px 3px 3px;
	border: 0px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	-webkit-transform: rotate(-30deg);
	-moz-transform: rotate(-30deg);
	-o-transform: rotate(-30deg);
	color: #FFFFFF;
	background: url('images/button-quote.png') repeat-x 30px center #FFCC00;
	display: block;
	position: absolute;
	margin-left: 0px;
	margin-top: -125px;
	/*animation: rocker 2s infinite;*/
}

.priceclass {
	color: #0B5EFF;
	font: 20px/1 Verdana;
	letter-spacing: -2px;
}

/*Free Quote Button*/
a.quotebutton {
	display: block;
	max-width: 12em;
	text-align: center;
	margin: 8px;
	background: url('images/button-quote.png') repeat-x bottom center #FFCC00;
	padding: 4px;
	font-size: 1.2em;
	font-weight: bold;
	font-family: 'Century Gothic', 'Abel';
	text-shadow: #333333 -1px -1px 1px, #333333 1px 1px 1px;
	color: #FFFFFF;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #000000;
}

a.quotebutton:hover, a.quotebutton:focus {
	text-shadow: #FFCC00 -1px -1px 1px, #FFCC00 1px 1px 1px;
	color: #000000;
}

/*Footer*/
footer {
	background: url('images/footer-background.png') repeat-x #00379D;
	clear: both;
	display: table;
	width: 100%;
	margin: 30px 0px 0px 0px;
	padding: 10px 0px;
	font-family: Arial;
	font-weight: narrow;
	font-size: 0.9em;
	color: #99CCFF;
	border-top: 2px solid #CCCCCC;
	text-align: center;
}

footer a:link, footer a:visited {
	color: #99CCFF;
	font-weight: normal;
	text-decoration: none;
}

footer a:hover, footer a:focus, footer a:active {
	color: #FFFFFF;
	text-decoration: underline;
}

footer #center {
	width: 800px;
	margin: 0px auto;
}

footer b {
	text-transform: uppercase;
	display: block;
	font-weight: bold;
	padding-bottom: 10px;
}

footer hr {
	clear: both;
	height: 0px;
	border-bottom: 1px dotted #CCCCCC;
	width: 90%;
}

footer p {
	display: block;
	float: left;
	width: 180px;
	padding: 0px 10px;
	text-align: left;
}

/*Hide Mobile Styles*/

footer #mobilecenter {
	display: none;
}

/*For Smaller Resolutions*/
@media only screen and (max-width: 1280px) {
	article #home p {
		width: 40%;
		padding: 10px 5px;
	}
	aside {
		width: 90%;
		text-align: center;
	}
	aside h2 {
		display: none;
	}
	aside a {
		margin: 0px 10px !important;
	}
	.quotebutton {
		display: inline-block !important;
	}
}
@media only screen and (max-width: 1220px) {
	#slogan {
		width: 35%;
	}
}

@media only screen and (max-width: 1050px) {
	#slogan {
		display: none;
	}
}

@media only screen and (max-width: 950px) {
	body {
		margin: 0px;
	}
	#logo {
		clear: both;
		width: 60%;
		display: block;
		float: none !important;
		margin: 0px auto !important;
		
	}
	nav {
		display: block;
		clear: both;
		float: none;
		margin: 10px auto;
	}
	nav ul {
		text-align: center;
		display: block;
		float: none;
		margin: 10px auto;
		border: none;
	}
	nav ul li:first-child {
		display: none;
	}
	#miniportfolio {
		margin: 0px auto !important;
		float: none !important;
	}

	article {
		margin: 2px auto;
		width: 80%;
	}
	article #home p,article #home p:last-child {
		display: block;
		clear: both;
		float: none;
		margin: 10px auto;
		width: 90%;
	}
	footer #center {
		display: none;
	}
	footer #mobilecenter {
		display: block;
	}
	
}
@media only screen and (max-width: 750px) {
	aside {
		text-align: left;
	}
	aside a {
		display: block;
		margin: 10px 5px !important;
	}
	form#contact {
		width: auto;
		margin: 8px 0px;
	}
}

@media only screen and (max-width: 525px) {
	#miniportfolio {
		width: 235px !important;
	}
	form#contact {
		width: 100%;
		padding: 0px;
	}
	input, textarea, #submit {
	width: 95% !important;
	padding: 0px;
	margin: 5px auto;
	}

}
