/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

/*in your css hide the field so real users cant fill it in*/
form #website{ display:none; }

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
	font-family: 'PT Sans', sans-serif;
}
#centreContainer {
	width: 870px;
	min-height: 640px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	
}
#header {
	width: 100%;
	height: 48px;
}
#headerLogo {
	float: left;
	width: 186px;
	height: 48px;
	margin-right: 14px;
	margin-bottom: 20px;
}
#headerLogo h1 {
	font-size: 0;
}
#headerNav {
	float: right;
	position: relative;
	height: 26px;
	top: 5px;
}
.hNav {
	float: left;
	height: 26px;
	padding-left: 25px;
	padding-right: 25px;
	font-size: 13px;
	line-height: 26px;
	color: #fefdfd;
	text-shadow: -1px -1px 1px rgba(0, 0, 0, 1);
	background: url(../img/nav-bg.png) repeat-x;
}
.hNav:hover, .hNav.navSel {
	background: url(../img/nav-hover-bg.png) center;
}
.hNavSep {
	float: left;
	width: 3px;
	height: 26px;
	background: url(../img/nav-separator.png) no-repeat;
}
.hNavFirst {
	-webkit-border-top-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	padding-left: 27px;
}
.hNavLast {
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-radius-topright: 5px;
	-moz-border-radius-bottomright: 5px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	padding-right: 27px;
}
#mobileNav {
		display: none;	
	}
#content {
	clear: both;
	width: 804px;
	min-height: 450px;
	margin-left: 33px;
	margin-bottom: 30px;
}
#footer {
	width: 100%;
	height: 35px;
	font-size: 10px;
	color: #82827c;
	line-height: 45px;
	text-indent: 12px;
}
#footerLeft a {
	float: left;
	text-decoration: none;
	margin:0;
	padding:0;
}
#footerLeft {
	float: left;
	position: relative;
	top: -3px;
}
#footer h2 {
	float: left;
	font-size: 20px;
	margin: 0;
	padding: 0;
	font-weight: normal;
	margin-top: 2px;
}
#footerRight {
	float: right;
	line-height: 30px;
}
#footerRight img {
	margin-left: 6px;
}
#homeLink {
	width: 100%;
	margin-top: 20px;
	text-align: center;
	color: #ccc;
	font-family: 'PT Sans', sans-serif;
	font-size: 17px;
}
#homeLink a {
	color: #9d9d9d;
	text-decoration: none;
}
#homeLink a:hover {
	color: #ed7900;
}
.homeLinkSep {
	display: inline-block;
	width: 1px;
	height: 12px;
	margin-left: 14px;
	margin-right: 12px;
	border-right: 1px solid #ccc;
}
#contentLeft {
	float: left;
	width: 380px;
	height: 487px;
	margin-top: 15px;
}
.about {
	background: url(../img/about-left.jpg) no-repeat;
}
.lighting-design {
	background: url(../img/lighting-left.jpg) no-repeat;
}
.media {
	background: url(../img/media-left.jpg) no-repeat;
}
.home-automation {
	background: url(../img/home-automation-left.jpg) no-repeat;
}
.automated-gates {
	background: url(../img/automated-gates-left.jpg) no-repeat;
}
.renewable-technologies {
	background: url(../img/renewable-technologies-left.jpg) no-repeat;
}
#contentRight {
	float: left;
	width: 420px;
	min-height: 487px;
}
#content h1, #contentRight h1, #contentRight h2  {
	font-family: 'PT Sans', sans-serif;
	font-size: 24px;
	font-weight: normal;
	margin-bottom: 20px;
	color: #82827c;
}
#contentRightContent {
	width: 310px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	line-height: 16px;
}
#contentRightContent p {
	margin-bottom: 12px;
}
#contentRightContent ul {
	list-style: disc;
	list-style-position: inside;
	color: #000;
	padding-top: 2px;
}
#contentRightContent  li {
	margin-top: 10px;
}
#contentRightContent  li > span {
	color: #ee7f01;
}	
	
#contentNav {
	margin-top: -19px;
	color: #a8a8a7;
	font-size: 12px;
}
#contentRight a {
	font-size: 12px;
	text-decoration: none;
	margin-bottom: 19px;
	color: #a8a8a7;
}
#contentRight a:hover {
	color: #ee7f01;
}
#contentRight .sel {
	color: #ee7f01;
}
#contentRight p a {
	font-size: 15px;
}
#servicesRightContent {
	width: 420px;
	font-size: 15px;
	line-height: 16px;
}
#servicesRightContent p {
	margin-bottom: 12px;
}
#servicesRightContent ul {
	list-style: disc;
	list-style-position: inside;
	color: #ee7f01;
	padding-top: 2px;
	margin-left: -35px;
}
#servicesRightContent  li {
	margin-top: 10px;
}
#servicesRightContent  li > span {
	color: #000;
}	
	
#servicesNav {
	margin-top: -22px;
	color: #a8a8a7;
	font-size: 10px;
	font-family: Arial, Helvetica, sans-serif;
}
#servicesRight a {
	font-size: 11px;
	text-decoration: none;
	margin-bottom: 19px;
	color: #a8a8a7;
}
#servicesRight a:hover {
	color: #ee7f01;
}
#servicesRight .sel {
	color: #ee7f01;
}
#servicesRight p a {
	font-size: 15px;
}
.mediaList {
	margin-top: -5px;
	font-size: 13px;
}

.colThird {
	float: left;
	width: 250px;
	min-height: 168px;
	margin-right: 27px;
	margin-bottom: 14px;
}
.colEnd {
	margin-right: 0;
}
.colThird h3{
	font-family: 'PT Sans', sans-serif;
	font-size: 20px;
	font-weight: normal;
	margin-top: 8px;
	margin-bottom: 8px;
	line-height: 18px;
	color: #82827c;
}
#projectFooter {
	padding-top: 18px;
}
#projectFooter a {
	color: #ee7f01;
	text-decoration: none;
}

.testim {
	margin-bottom: 25px;
}
.testimStart {
	width: 21px;
	height: 19px;
	margin-bottom: 5px;
	margin-right: 6px;
}
.testimFinish {
	min-width: 21px;
	min-height: 19px;
	margin-bottom: 5px;
	margin-left: 6px;
}
.testimCred, .testimCred a {
	display: block;
	color: #ee7f01;
	text-decoration: none;
}
.testim  ul {
	color: #ee7f01;
}
.testim ul span {
	color: #000;
}

input {
	height: 18px;
	width: 275px;
	border-style: solid;
	border-width: 1px;
	border-color: #dedfe0;
	font-size: 12px;
	padding-left: 2px;
	line-height: 17px;
	float: left;
}
select {
	height: 21px;
	border-style: solid;
	border-width: 1px;
	border-color: #dedfe0;
	font-size: 12px;
	padding-left: 2px;
	line-height: 17px;
	float: left;
}
textarea {
	height: 145px;
	width: 275px;
	border-style: solid;
	border-width: 1px;
	border-color: #dedfe0;
	font-size: 12px;
	padding-left: 2px;
	line-height: 17px;
	margin-bottom: 15px;
}

.buttonSendMessage {
	clear: left;
	display: block;
	height: 19px;
	width: 89px;
	border-style: none;
	background-color: #637e63;
	font-size: 0;
	font-weight: bold;
	background: url(../img/send-message-btn.png);
	padding: 2px;
	line-height: 17px;
	color: #ffffff;
}
label {
	width: 239px;
	float: left;
	text-align: left;
	font-size: 12px;
	margin-top: 11px;
	margin-bottom: 3px;
	color: #3e3d3d;
}













/*Carousel styling */
.carousel-container {
	width: 100%;
	overflow: hidden;
}
#icarousel {
	width: 542px;
	height: 460px;
	position: relative;
	margin: 0px auto;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-perspective: 1000px;
	-moz-perspective: 1000px;
	-o-perspective: 1000px;
	-ms-perspective: 1000px;
	perspective: 1000px;
}

#icarousel .slide {
	display: block;
	width: 542px;
	height: 439px;
-webkit-box-shadow:  0px 3px 12px 1px rgba(0, 0, 0, 0.5);
        
        box-shadow:  0px 3px 12px 1px rgba(0, 0, 0, 0.5);
}













/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width:480px) and (orientation: portrait){
	#centreContainer {
		width: 95%;
		text-align: center;
		margin-top: 5px;
		min-height: 0;
	}
	#headerNav {
		display: none;
	}
	#headerLogo {
		float: none;
		width: 186px;
		height: 48px;
		margin-right: auto;
		margin-left: auto;
		margin-bottom: 5px;
	}
	#mobileNav {
		display: block;	
	}
	#mobileNav select {
		border: 1px #CCC solid;
		margin-top: 4px;
		margin-bottom: 8px;
		-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
		border-radius: 0px;
	}
	#content {
		clear: both;
		width: 100%;
		min-height: 0;
		margin-left: 0;
		margin-bottom: 10px;
	}
	#footerRight {
		margin-bottom: 5px;
	}
	#contentLeft, #contentRight, #servicesRightContent {
		width: 100%;
		text-align: left;
	}
	#servicesRightContent h1 {
		line-height: 17px;
	}
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .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; /* h5bp.com/t */
    }

    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;
    }
}
