body{
	width:100%;
	margin-top:0px;
	position:relative;
	background: url('images/page-bg.jpg') no-repeat;
	background-size: cover;
	background-attachment:fixed;
}
.wrapper {
	background: url('images/pixel-bg.png');
	background-attachment:fixed;
	z-index:-2;
}

.page {
	max-width: 900px;
    margin: 100px auto 50px;
    padding: 2.1%;
    background-color: #fff;
    box-shadow: 0 0 50px rgba(0,0,0,.5);
    border: 1px solid #ccc;
    outline: 10px solid #fff;
	position:relative;
	overflow:hidden;
}
.main_content > div {
    overflow: hidden;
}
@media (max-width:650px){ 
	.page {
		margin:0;
	}
}

/*** nomenu ***/

body.nomenu nav.main,
body.nomenu nav.footer ul,
body.nomenu #pull {
	display:none!important;
}


/*** palettes ***/

h2, h4, h6, #pull, nav.main a, nav.footer a:hover  {
	color: #f64000; 		/* green*/
}
.content ul li:before { 
	background-color: #10AB1D; 		/* green*/

}
.contact {
	background-color: #f64000; 		/* green*/
}
.contact:hover a {
	color: #10AB1D; 		/* green*/
}

.colorblock-1 {
	background-color: #0078F3; 		/* blue*/
	background-image:url(images/tiles.png);
	background-size:cover;
}

.colorblock-2 {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#0078f3+0,10ab1d+100 */
	background: #0078f3; /* Old browsers */
	background: -moz-linear-gradient(-45deg,  #0078f3 0%, #10ab1d 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(-45deg,  #0078f3 0%,#10ab1d 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(135deg,  #0078f3 0%,#10ab1d 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0078f3', endColorstr='#10ab1d',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.colorblock-3 {
	background-color:#666;
}

/*** Fonts & Headings ***/

body{
	font-family: Arial, Helvetica, Sans-Serif;
	font-size:17px;
	line-height:1.8em;
	font-style: normal;
	color: #232323;
}
h1, h3{
	font-family: 'Slabo 27px', serif;
}
h2 {
	font-family: 'Arimo', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
	line-height: 1.5em;
}
h2, h3, h4, h5, h6 {
	letter-spacing: .5px;
}
h1{
  color: #444;
  font-size: 2.5em;
  text-align:center;
  letter-spacing:1px;
}
h2{
  font-size: 1.8em;
  font-weight:100;
}
h3{
  font-size: 1.3em;
  color: #444;
}

h4{
  font-size: 1.3em;
  font-weight:100;
}
h5{
  font-size: .9em;
}
h6{
  font-size: .8em;
}
p {
	margin-bottom:1.5em;
}
.content ul {
	margin-left: 1em;
	list-style-type:none;
}

.content ul li{
	position:relative;
}

.content ul li:before {
	content:"";
	height:5px;
	width:5px;
	display:block;
	position:absolute;
	top:12px;
	left:-12px;
}

.content a {
	color: #232323;
}

/* contact */

.contact {
	position:fixed;
	bottom:50px;
	right:0px;
	padding:1em 2em;
	box-shadow:0 0 3px rgba(0,0,0,.5);
	font-size:1.3em;
	transition:all 1s;
	font-weight:100;
	z-index:100;
}

.contact a{
	color:#fff;
	text-decoration:none;
	transition:all 1s;
}

.contact div.closecontact {
	position:absolute;
	top:0;
	right:0;
	width:30px;
	height:30px;
	background-color:#555;
	text-align:center;
	color:#fff;
	cursor:pointer;
}

.contact:hover {
	box-shadow:0 0 25px rgba(0,0,0,.5);
	background-color:#fff;
}

.contact.closed {
	right:-100%;
}

@media only screen and (max-width : 1450px){
	.contact { 
		width:100%;
		box-sizing:border-box;
		bottom:0;
		padding:.5em 1em;
	}
	.contact.closed {
		right:0;
		bottom:-100%;
	}
}

/* testimonials */

blockquote {
	background-color:#eee;
	border: solid 1px #ddd;
	border-radius: 5px;
	overflow:hidden;
	margin-bottom:1em;
}

blockquote p {
	padding:20px;
	margin:0;
}

blockquote span {
	float:right;
	padding: 0 1em 1em 1em;
	font-style:italic;
	color: #22485D;
}

blockquote img {
	float:left;
	margin: 1em;
}

/* wrapper and mobilemenu */

.wrapper {
	
    height: 100%;
    width: 100%;
    z-index: 5;
    left: 0;
    overflow: auto;
    box-sizing: border-box;
	transition: left .5s;
	box-shadow: 0 0 25px #000; 
}

.wrapper.open{
	left:250px;
}

.mobilemenu {
	display:none;
	position: fixed;
    width: 250px;
    height: 100%;
	background-color:#333;
}

@media (max-width:650px){
	.mobilemenu {
		display:block;
	}
	.wrapper {
		position: relative;
	}
}

.mobilemenu.open {
	
}

.mobilemenu ul {
	list-style-type:none;
}

.mobilemenu li{
	border-bottom:1px solid rgba(0,0,0,.5);

}

.mobilemenu a {
	color:#fff;
	display:block;
	text-decoration:none;
	text-align:center;
	font-size:1.3em;
	padding:.5em 0;
	
}

/* banner */

.banner {
	background:url(images/banner.jpg) center no-repeat;
	background-size:cover;
	border:solid 5px #fff;
	border-bottom-color:#ddd;
	outline: 1px solid #ccc;
	overflow:hidden;
}

.banner .inner {
	background-color:rgba(0,0,0,.5);
	overflow:hidden;
	box-shadow: 0 0 30px rgba(0,0,0,.5) inset;
}

.banner a {
	display:block;
}

.banner img {
	margin: 15px auto;
	display:block;
	position:relative;
}

.banner img:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: red;
    display: block;
    content: "";
}

.banner .text {
	text-align:center;
	color:#fff;
	font-family: 'Slabo 27px', serif;
	font-size:2em;
	padding:.5em;
	position:relative;
}
.banner .text:before {
	content:"";
	position:absolute;
	top:0;
	background-color:#fff;
	height:1px; 
	width:40px;
	left:calc(50% - 20px);
}

.banner .text .mobilephone {
	display:none;
	color:#fff;
	text-decoration:none;
}

body.B .banner {
	border-radius:0;
	border:1px solid #cccccc;
	box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
}

@media only screen and (max-width : 650px){ 
	.banner img {
		max-width:100%;
		height:auto;
	}
	.banner .text .mobilephone {
		display:block;
	}
	.banner .text span {
		display:none;
	}
		
}


/* main menu */

nav.main {
	border-bottom: 1px solid #cccccc;
}

body.B nav.main {
	border-left: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
}

nav.main ul{
	list-style-type: none;
	text-align:center;
}

nav.main li {
		display:inline-block;
}

nav.main a{
	display: block;
	text-decoration: none;
	font-weight: bold;
	text-transform: uppercase;
	padding: .5em 1em;
}

nav.main a:hover {
	color: #232323;
}

#pull {
	display:none;
	text-decoration:none;
	font-weight:bold;
	height:40px;
	position:relative;
	z-index:500;
}

@media only screen and (max-width : 650px){
	nav.main ul {
		display: none;
	}
	
	nav.main li {
		display:block;
	}
	
	#pull {
		display:block;
		background: url('images/nav-icon.png') no-repeat left #fff;
		border:10px solid #fff;
		box-sizing:border-box;
	}


}


/* Footer */

footer{
	background-color: #333;
	color: #fff;
	clear:both;
	overflow:hidden;
	box-shadow: 0 0 5px rgba(0,0,0,.5);
}

nav.footer {
	float:left;
	overflow:hidden;
}

nav.footer ul{
	list-style-type: none;
	margin-top:8px;
}

nav.footer li {
	display:inline;
	overflow:hidden;
}

nav.footer li:after{
	content:"/";
}

nav.footer a{
	color: #fff;
	font-size:.9em;
	text-decoration: none;
	font-weight: bold;
	padding: 10px;
}

footer .right {
	float:right;
}

footer .copyright {
	float:left;
	padding:8px 15px 0 0;
	margin-right:10px;
	position:relative;
}
footer .copyright:after{
	content:"/";
	right:0;
	position:absolute;
}

footer .creditcards {
	background:url(images/creditcards.png) center no-repeat;
	background-size:cover;
	height:44px;
	width:250px;
	float:left;
}

@media (max-width:900px){
	nav.footer {
		float:none;
	}
	nav.footer ul,
	nav.footer li,
	nav.footer a{
		display:block;
	}
	
	nav.footer li:after{
		content:"";
	}
	nav.footer li {
		border-bottom:solid 1px rgba(0,0,0,.3);
	}
	footer .right,
	footer .copyright,
	footer .creditcards{
		float:none;
		overflow:hidden;
		clear:both;
	}
	footer .right {
		padding:10px;
	}
	footer .copyright:after {
		content:"";
	}
}



/* colorblock */

.colorblock {
	margin: 20px 0;
	padding:5%;
	color:#fff;
	border: inset 5px rgba(0,0,0,.2);
    border-top: inset 5px rgba(255,255,255,.2);
}

.colorblock h2,
.colorblock h3,
.colorblock h4,
.colorblock h5,
.colorblock h6,
.colorblock a {
	color: #fff;
}

.colorblock-2,
.colorblock-3 {
    margin: 20px -40px;
    z-index: 100;
    border: none;
    box-shadow: 0 0 15px rgba(0,0,0,.5) inset;
	outline:5px #fff;
}

@media (max-width:900px){
	.colorblock {
		margin:20px -10px;
	}

}

/* services */

.services {
	background:#eee;
	border: solid 1px #ddd;
	border-radius: 5px;
	overflow:hidden;
	margin-bottom:1em;
	padding:1em;
}

.services-alt {
    background-color: #333;
    color: #fff;
	border: solid 1px #111;
}

.services li {
	float:left;
	width:33%;
}

@media (max-width:900px){
	.services li {
		float:none;
		width:auto;
	}
}


/* helper classes */

.clear {
	clear: both;
}

.image-left{
	float:left;
	margin: 1em 1em 1em 0;
}

.image-right{
	float:right;
	margin: 1em 0 1em 1em;
}

.image-center{
	display:block;
	margin-left:auto;
	margin-right:auto;
	margin-top:10px;
	margin-bottom:5px;
}

.content img {
	position:relative;
	max-width:100%;
	border:10px solid #fff;
	border-bottom-color:#ddd;
	outline: 1px solid #ccc;
}

.content img.image-noborder {
	outline:none;
	border:none;
}

.centerall {
	text-align:center;
}

.centerall *{
	display:inline-block;
	margin: 1em;
}

@media (max-width:900px){

	.content img {
		box-sizing: border-box;
    display: block;
    float: none;
    height: auto;
    margin: 15px auto;
    text-align: center;
	}

}

/* columns */
/* based on a 12 grid system. The .row class is necessary - .first and .last classes are not. */

.row {
	clear:both;
	margin: 20px -2%;
	overflow:hidden;
}

.sixcol,
.fourcol,
.threecol {
	float:left;
	margin:0 2%;
}
.sixcol {
	width:46%;
}
.fourcol {
	width:29.3%;
}
.threecol {
	width:21%;
}

.row img{
	width:100%;
}

@media (max-width:900px){
	.sixcol,
	.fourcol,
	.threecol {
		float:none;
		display:block;
		width:96%;
	}
}