/*! 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
   ========================================================================== */

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

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: #3ac3e0;
    text-shadow: none;
}

::selection {
    background: #3ac3e0;
    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;
}

a{
	color:#3ac3e0;
	text-decoration:none;
}
a:hover{
	text-decoration:underline;
}

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

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

/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face {
    font-family: 'allerregular';
    src: url('../fonts/aller_rg-webfont.eot');
    src: url('../fonts/aller_rg-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/aller_rg-webfont.woff') format('woff'),
         url('../fonts/aller_rg-webfont.ttf') format('truetype'),
         url('../fonts/aller_rg-webfont.svg#allerregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'ambleregular';
    src: url('../fonts/amble-regular-webfont.eot');
    src: url('../fonts/amble-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/amble-regular-webfont.woff') format('woff'),
         url('../fonts/amble-regular-webfont.ttf') format('truetype'),
         url('../fonts/amble-regular-webfont.svg#ambleregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* ==========================================================================
   Custom styles
   ========================================================================== */

body{
	padding: 10px 0;
	background:#a0a0a0;
}
.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

.span-1, .span-2, .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-10{
	float:left;
}
.span-1{
	width:10%;
}
.span-2{
	width:20%;
}
.span-3{
	width:30%;
}
.span-4{
	width:40%;
}
.span-5{
	width:50%;
}
.span-6{
	width:60%;
}
.span-7{
	width:70%;
}
.span-8{
	width:80%;
}
.span-9{
	width:90%;
}
.span-10{
	width:100%;
}

.container{
	max-width:1008px;
	margin:0 auto;
}

header, #main, #bottom, footer{
	max-width:1008px;
	width: 100%;
}

header{
	background:url(../img/bg_white.png) repeat;
	position:absolute;
	z-index:11;
}
header h1{
	margin:0;
	padding:0;
}
header .logo{
	float:left;
	margin:15px 0 16px 40px;
}
header .phone{
	float:right;
	margin:40px 80px 0 0;
	color:#2c2e4a;
	font-size:12px;
	font-family: 'ambleregular', sans-serif;
}
nav{
	border:1px solid #ccc;
	border-bottom:none;
}
nav ul {
    margin: 0;
    padding: 0;
	text-align:center;
}
nav > ul > li {
	float:left;
	width:19.9%;
	padding:16px 0;
	vertical-align:middle;
	border-right: 1px solid #ccc;
}
nav > ul > li.active, nav > ul > li:hover{
	background:url(../img/nav_active.png) repeat;
}
nav > ul > li:last-child{
	border:none;
}
nav li a{
	color:#2c2e4a;
	font-size:12px;
	text-decoration:none;
	text-transform:uppercase;
	font-family: 'ambleregular', sans-serif;
}
nav li a:hover{
	text-decoration:none;
	color:#3ac3e0;
}

nav ul ul {
	display: none;
}

nav ul li:hover > ul {
	display: block;
	position: absolute;
	width:inherit;
	padding-top:10px;
}

nav ul ul li{
	background:url(../img/bg_white.png);
	padding:10px;
	line-height:12px;
}
nav ul ul li a:hover{
	color:#3ac3e0;
}

#slider{
	position:relative;
	z-index:10;
}
#slides {
    display: none;
}
.slidesjs-previous, .slidesjs-next{
	display:block;
	text-indent:-9999px;
	width:36px;
	height:36px;
	margin:0 auto;
	overflow:hidden;
}
.slidesjs-previous{
	background:url(../img/prev.png) no-repeat;
}
.slidesjs-next{
	background:url(../img/next.png) no-repeat;
}
.newscroll{
	position:absolute;
	bottom:0;
	height:63px;
	width:100%;
	background:url(../img/bg_newscroll.png) repeat;
	display:inline-table;
	z-index:999;
}
.newscroll .prev, .newscroll .next{
	display:table-cell;
	width:190px;
	text-align:center;
	vertical-align:middle;
	opacity:0.8;
}
.newscroll .prev:hover, .newscroll .next:hover{
	opacity:1;
}
.newscroll .content{
	display:table-cell;
	max-width:600px;
	width:100%;
	overflow:hidden;
	text-align:center;
	vertical-align:middle;
}
#main{
	border-top: 15px solid #2c2e4a;
	font-family: 'ambleregular', sans-serif;
	font-size:12px;
	color:#727272;
	padding-bottom: 20px;
	background: #d9d9da; /* Old browsers */

	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Q5ZDlkYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjU5JSIgc3RvcC1jb2xvcj0iI2YzZjNmMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
	
	background: -moz-linear-gradient(left,  #d9d9da 0%, #f3f3f3 59%); /* FF3.6+ */
	
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#d9d9da), color-stop(59%,#f3f3f3)); /* Chrome,Safari4+ */
	
	background: -webkit-linear-gradient(left,  #d9d9da 0%,#f3f3f3 59%); /* Chrome10+,Safari5.1+ */
	
	background: -o-linear-gradient(left,  #d9d9da 0%,#f3f3f3 59%); /* Opera 11.10+ */
	
	background: -ms-linear-gradient(left,  #d9d9da 0%,#f3f3f3 59%); /* IE10+ */
	
	background: linear-gradient(to right,  #d9d9da 0%,#f3f3f3 59%); /* W3C */
	
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d9d9da', endColorstr='#f3f3f3',GradientType=1 ); /* IE6-8 */
}
footer{
	background:#515051;
}
footer p{
	margin:0;
	padding:0;
}
footer .clients{
	padding:10px 20px;
	background:#cbcbcb;
	font-family: 'ambleregular', sans-serif;
	font-size:12px;
	min-height:61px;
}
footer .clients div{
	display: inline-block;
    vertical-align: middle;
}
footer .clients .logo-footer{
	width:174px;
}
footer .clients .text{
	margin-left:50px;
	color:#727376;
	width:120px;
}
footer .clients .pipe{
	height:50px;
	width:1px;
	margin:0 40px;
	background:#0FECE5;
}
footer .clients .logos{
	margin-left:10px;
	max-width:488px;
	width: 100%;
}
footer .copyright{
	padding:10px 20px;
	font-family: 'ambleregular', sans-serif;
	font-size:9px;
	color:#76777a;
	float:left;
}
footer .contact{
	float:right;
	margin-top:5px;
	margin-right:30px;
}
footer .contact ul{
	list-style:none;
	margin:0;
	padding:0;
}
footer .contact li{
	display:inline-block;
	vertical-align:middle;
	color:#FFFFFF;
	font-family: 'ambleregular', sans-serif;
	font-size:9px;
	margin-left:10px;
}
footer .contact a{
	color:#F9F8F8;
}
span.skype_pnh_container {
    display: none !important;
}

span.skype_pnh_print_container {
    display: inline !important;
}

.home #main h2{
	font-family: 'allerregular', sans-serif;
	font-weight:normal;
	text-transform:uppercase;
	color:#515051;
	font-size:22px;
	text-align:center;
	border:1px solid #dcdcdc;
	border-left:none;
	border-right:none;
	padding:20px 0px;
	margin:40px auto 10px;
	width:60%;
}
.home #main #column1 p{
	width:80%;
	text-align:center;
	margin: 0 auto;
}

.home #main h3{
	font-family: 'allerregular', sans-serif;
	font-weight:normal;
	text-transform:uppercase;
	color:#515051;
	font-size:16px;
	text-align:left;
	padding:15px 0px;
	margin:0;
}

.home #main #column2{
	float: left;
    margin-left: 80px;
	font-size:9px;
	line-height:10px;
}

.home #main #column2 blockquote{
	display:block;
	background:url(../img/bg_testimonials.png) no-repeat;
	width:159px;
	height:128px;
	margin:0;
	padding:20px 0 0;
}
.home #main #column2 blockquote .content{
	padding:10px;
	color:#FFFFFF;
	font-size:10px;
	line-height:12px;
}
.home #main #column2 cite{
	font-style:normal;
	padding-left:20px;
	display:block;
}
.airflow-management #main, .cooling-optimization #main, .computational-fluid-dynamics #main, .contact #main, .cleaning-service #main{
	padding-top:30px;
}
.airflow-management h3, .cooling-optimization h3, .computational-fluid-dynamics h3, .contact h3, .cleaning-service h3{
	margin:0;
	padding:0;
	color:#3ac3e0;
	line-height:28px;
	text-transform:uppercase;
	font-size:22px;
	font-family: 'allerregular', sans-serif;
	font-weight:normal;
}
.cleaning-service h3{
	font-size:18px;
	line-height:18px;
	margin-bottom:15px;
}
.cleaning-service .box{
	padding: 30px 50px;
}
.cleaning-service .box img{
	float:left;
	margin-right:15px;
}
.contact h3{
	border-bottom: 1px solid #3ac3e0;
}
body{
    font-family:Arial, Helvetica, sans-serif; 
    font-size:13px;
}

.info, .success, .warning, .error, .validation {
    border: 1px solid;
    margin: 10px 30px 10px 0;
    padding:15px 10px 15px 50px;
    background-repeat: no-repeat;
    background-position: 10px center;
}
.info {
    color: #00529B;
    background-color: #BDE5F8;
    background-image: url('../img/info.png');
}
.success {
    color: #4F8A10;
    background-color: #DFF2BF;
    background-image:url('../img/success.png');
}
.warning {
    color: #9F6000;
    background-color: #FEEFB3;
    background-image: url('../img/warning.png');
}
.error {
    color: #D8000C;
    background-color: #FFBABA;
    background-image: url('../img/error.png');
}

.airflow-management p, .cooling-optimization p{
	padding-right:30px;
}
.cooling-optimization #column2, .computational-fluid-dynamics #column1, .contact #column1{
	padding-left:70px;
}
.computational-fluid-dynamics #column2{
	padding-left:90px;
}
.contact #column2{
	font-family: 'allerregular', sans-serif;
	text-transform:uppercase;
	color:#3ac3e0;
	padding-top:50px;
	padding-left:20px;
}
.contact label{
	display:block;
	font-family: 'allerregular', sans-serif;
	color:#3ac3e0;
}
.contact input[type="text"], .contact textarea{
	width:85%;
	border:1px solid #d8dada;
	background:#e5e6e7;
	padding:7px;
}
.contact input[type="submit"]{
	background:#3ac3e0;
	color:#FFFFFF;
	padding:5px;
	font-family: 'allerregular', sans-serif;
	font-size:14px;
	text-transform:uppercase;
	border:none;
	margin-top:30px;
}
/* Form validator */

.help-block {
    display: inline;
    padding-left: 6px;
    font-size: 85%;
	display:none;
}

span.form-error.help-block {
    display: block;
    color: red;
    margin-top: 6px;
    padding-left: 0;
}

div.form-error {
    padding: 6px 12px;
    line-height: 180%;
    background: #ffe5ed;
    border-radius: 4px;
    margin-bottom: 22px;
    color: darkred;
}

input.valid {
    background: url(../img/icon-ok.png) no-repeat right center #e3ffe5 !important;
    color: #002f00 !important;
    border-color: #96b796 !important;
}

input.error, textarea.error {
    background: url(../img/icon-fail.png) no-repeat right center #ffebef !important;
    color: #480000 !important;
	margin:0;
}

.form-suggest-element {
    padding: 4px;
}

form.validating-server-side .server-validation {
    background: url(../img/ajax-loader.gif?v=2) no-repeat center right #FFF;
    opacity: 0.5;
}

.max-chars {
    background: #EEE;
    color: #999;
}

.form-help {
    padding-left: 6px;
    font-size: 90%;
    color: #888;
}
/* ==========================================================================
   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 (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

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

.slicknav_menu {
	display:none;
}

@media screen and (max-width: 40em) {
	
	.span-1, .span-2, .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-10 {
		padding-left: 5% !important;
		padding-right: 5% !important;
		width: 90%;
	}
	
	.js #nav, .newscroll .prev, .newscroll .next, footer .clients .pipe {
		display:none;
	}
	
	.js .slicknav_menu {
		display:block;
	}	
	
	header {
		position: static;
	}

	header .logo {
		margin: 15px 0 0;
		text-align: center;
		width: 100%;
	}

	header .phone {
		margin: 20px 0;
		font-size: 24px;
		text-align: center;
		width: 100%;
	}
	
	.newscroll {
		display: block;
		height: 63px;
		line-height: 63px;
	}
	
	.newscroll .content {
		display: block;
	}

	.home #main #column2 {
		margin-left: 0;
		text-align: center;
	}
	
	.home #main h3 {
		text-align: center;
	}
	
	.home #main #column2 blockquote {
		height: 128px;
		margin: 0 auto;
	}
		
	.cleaning-service .box img {
		margin-bottom: 15px;
	}

	footer .clients .text {
		margin-left: 0;
		text-align: center;
		width: 100%;
	}

	footer .clients .logo-footer {
		margin-bottom: 15px;
		text-align: center;
		width: 100%;
	}
	
	footer .copyright {
		float: none;
		text-align: center;
	}

	footer .contact {
		float: none;
		margin: 0 0 10px 0;
		text-align: center;
	}
}