/** ----------------------------------------------------------
 *
 * Contains the main layout of the page and the individual styles.
 * Acts as the main stylesheet for theme.
 *
 *		Include your notes or table of contents below....
 *		Include color hex's or values of your grid
 *
 *		1. OOCSS GRID
 *		2. MAIN LAYOUT
 *		3. HEADER
 *			- Brand
 *			- Search Form
 *		4. Navigation
 *			- Primary Navigation
 *			- tablet Navigation
 *			- Secondary Navigation
 *			- Secondary Nav 2-5 Levels deep
 *		5. Mixed
 *		6. Footer
 *		7. Page Specific Layout
 *			- Homepage
 *			- Search Results
 *		8. Device and Responsive Layout
 *			- Breakpoint 960px
 *			- Breakpoint 640px
 *				- Search Form
 *				- Main Content
 *		9. Print Styles
 *			- Simple Theme custom print styles
 *
 * @author Your Name <charlie@whamdesign.co.nz>
 * ------------------------------------------------------- */

/* OOCSS Grid
* https://github.com/stubbornella/oocss/wiki/grids
*/

.line, /* line - Groups units on one horizontal line. Note: for mobile layout units may be stacked to avoid horizontal scrolling. */
.lastUnit {
	overflow:hidden;
	*overflow:visible;
	*zoom:1;
	padding:0 10px;
}
.unit { /* unit - Base class which divides a line into sections (columns). */
	float:left;
	padding:0 10px;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box; /* box-sizing:border-box; creates a box-model where
	padding and border are NOT added onto the width - they are included in the width,
	so a 200px wide element with 20px padding will be 200px, NOT 240px wide */
}

.inc{ 
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
	
}
.unitRightv { /* Use this class if you want to offset a column eg: |--content(.unit)--|--content(.unit)--|--no-content--|--no-content--|--content(.unitRighttv)--| */
	float:right;
}
.clearAll{clear:both;}
/* sizeXofY - Extends unit. Indicates the fractional width of the unit, for example size3of4 would take up three quarters, or 75%, of the horizontal space.
The following fractions are supported: 1, 1/2, 1/3, 2/3, 1/4, 3/4, 1/5, 2/5, 3/5, 4/5 */
/* It is possible to add more columns if you wish you will just have to add the fractions that are missing eg: .size1of6 {width:16.66666%;} */

.size1of1 {
	float:none;
}
.size1of2 {
	width:50%;
}
.size1of3 {
	width:33.33333%;
}
.size2of3 {
	width:66.66666%;
}
.size1of4 {
	width:25%;
}
.size3of4 {
	width:75%;
}
.size1of5 {
	width:20%;
}
.size2of5 {
	width:40%;
}
.size3of5 {
	width:60%;
}
.size4of5 {
	width:80%;
}
.lastUnit { /* lastUnit - Extends unit. Applied to the last child of every line. */
	float:none;
	width:auto;
	_position:relative; /* Bug fix for IE6 - Internet Explorer 6 and below wouldn't fail on properties that were prefixed with non-alphanumeric characters.
	meaning that anything prefixed with _ wouldn't be picked up by any other browsers */
	_left:-3px;
	_margin-right:-3px;
}


/* MAIN LAYOUT */
body {
    margin: 0;
    background: #fff;
    min-width: 240px;
    padding-top:116px;
    -webkit-text-size-adjust: none; /* The text size is not adjusted for Safari on iPhone */
}
	.ie7 body,
	.ie8 body {
	    min-width: 860px; /* media queries are not supported in ie7/8 without a polyfill */
	}
	.main {
	    background: #fff;
	    padding: 40px 0 0;
	    min-height: 200px;
	    position:relative;
	}
	.HomePage .main {
	    background: #fff;
	    padding: 0;
	    min-height: 200px;
	    position:relative;
	}	
	.inner {
	    max-width: 1000px;
	    margin: 0 auto;
	    padding: 0 30px;
		
	}
	.ie6 .inner {
	    width: 960px;
	}
	.no-sidebar .content-container {
	    float: left;
	    width:100%; /* makes content container full width when there is no sidebar */
	}
	.sidebar { /* this is the sidebar element */
	    margin-top: 12px;
	}
	.no-sidebar .sidebar {
		display: none;
	}
	
	
	.rel {position:relative;}
	
	.HomePage .content-container {margin-bottom:40px;}
	.HomePage .content-container div.center {margin:0 auto;}
	h5.text-center{text-align:center;}

/* HEADER */
.headerlogo{position:absolute; height:200px; width:100%; margin:0 auto; text-align:center; z-index:99;}
.headerlogo img{width:200px;}

.headerImageInner {width:100%; position:relative;}
.headerImageInner img{width:100%;}

/* NO SLIDER */
.titleBlock{ padding-top: 120px; padding-bottom: 43px; background-color: #d5c28a;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg fill='%23c2ac79' fill-opacity='0.4'%3E%3Cpolygon fill-rule='evenodd' points='8 4 12 6 8 8 6 12 4 8 0 6 4 4 6 0 8 4'/%3E%3C/g%3E%3C/svg%3E");}
.titleBlock h1{font-size:40px; font-family: 'Allerta Stencil', sans-serif; text-transform:uppercase; color:#fff; text-align:center;}

.titleImgBlock{ position:absolute; bottom:10%; left: 50px; z-index:9;}
.titleImgBlock h1{font-size:40px; line-height:45px; font-family: 'Allerta Stencil', sans-serif; text-transform:uppercase; color:#fff; text-align:center; background-color:#000; padding:10px 20px;}


.scale-up-center {
	-webkit-animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	        animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
.headersmicon{width:32px; margin-bottom:-5px; padding:0 10px 0 0;}


img.heartbeat:hover {
	-webkit-animation: heartbeat 1.5s ease-in-out infinite both;
	        animation: heartbeat 1.5s ease-in-out infinite both;
}


/* ----------------------------------------------
 * Generated by Animista on 2019-5-6 18:32:29
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation heartbeat
 * ----------------------------------------
 */
@-webkit-keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: center center;
            transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
            transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
            transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
            transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}
@keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: center center;
            transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
            transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
            transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
            transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}


@-webkit-keyframes scale-up-center {
  0% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes scale-up-center {
  0% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}


.phonecontact{position:absolute; top:30px; right:30px; text-align:right;}
.phonecontact h2 {color:#fff; font-family: 'Open Sans', sans-serif, "Times New Roman", Times, serif; font-size:20px; line-height:28px;}

.phonecontact h2 a {color:#fff; font-family: 'Open Sans', sans-serif, "Times New Roman", Times, serif; font-size:30px; line-height:36px; font-weight:700;}
/* HOME PAGE */
.HomePage .inner.mainboxes{max-width:2000px; padding:0;}
.HomePage .inner.mainboxes .content-container{max-width:2000px; background:none;}
.HomePage .inner.mainboxes .content-container.readybuilt{max-width:2000px; background: #1f2428 url('../images/bkgr-home-cloud-large.jpg') no-repeat; background-position:bottom; background-size:100% auto;}
.HomePage .inner.mainboxes .content-container.readybuilt .readybuiltinner{max-width:1272px; margin:0 auto; padding-top:40px; padding-bottom:20px;}

.row{width:100%; position:relative;}
.row .imgblock{padding:3px; position:relative;}

.HomePage .row.one .imgblock{padding:0px; position:relative;}

.row.lastrow{display:none;}
.imgblock.first.rollover img{  transition: background .25s ease-in-out;  -moz-transition: background .25s ease-in-out; -webkit-transition: background .25s ease-in-out; }
   
  .imgblock.first.rollover img:hover{opacity: 0.90; -moz-box-shadow: 0 0 15px #000; -webkit-box-shadow: 0 0 15px #000; box-shadow: 0 0 15px #000; }
/* HOME PAGE SLIDER */
.size1of3.slides, .size3of4.slides{position:relative;}
.unslider-wrap.unslider-carousel li{float:left;}

.flexslider .slides img { min-width:100%; width:auto; position:relative; bottom:0;}
.slideshow .flexslider {margin:0;}
.slideshow .flexslider ul li{ }
.slideshow .flexslider ul li img{width:100%; }
.slideshow .flexslider iframe{width:100%!important; height:auto!Important;}

.banner ul li{list-style-type:none;}
.banner ul{margin:0;}
.banner h1{font-size: 24px; line-height:24px; padding: 0; margin: 0; font-weight: 400;font-family: 'Montserrat', Verdana, Helvetica, Arial, sans-serif; color: #28569b; }
.banner h2{font-size: 16px; line-height:16px; padding:10px 0 10px 0; border-bottom:solid 2px #ccc;  margin: 0; font-weight: 400;font-family: 'Montserrat', Verdana, Helvetica, Arial, sans-serif; color: #4b4b4d; text-transform: uppercase; }
.banner h3{font-size: 15px; line-height:15px; padding:10px 0 5px 0; margin: 0; font-weight: 400;font-family: 'Montserrat', Verdana, Helvetica, Arial, sans-serif; color: #4b4b4d; text-transform: uppercase; }
.banner h4{font-size: 16px; line-height:18px; padding:10px 0 5px 0; margin: 0; font-weight: 400;font-family: 'Montserrat', Verdana, Helvetica, Arial, sans-serif; color: #4b4b4d; text-transform: uppercase; }
.banner a{color: #28569b;}
.banner p{ margin: 0;}
.size1of3.slides .cardtext{padding:10px 50px;}
.row.two .unslider-arrow.next{right:10px; display:none;}
.row.two .unslider-arrow.prev{left:10px; display:none;}

.flexslider .flex-control-nav { width: 100%; position: absolute; bottom: 15%; text-align: center; z-index:999999999999999999; }
.unslidertxtmobile.slidercallout.slidermob{display:none;}
.slidercallout{position:relative; z-index:999; width:80%; margin:0 auto; }
.slidercallout h1, .slidercallout h1 a{color:#fff; font-size:32px; line-height:32px; margin-bottom:5px; text-transform:uppercase;}
.slidercallout h2{ font-size:18px; border-bottom:none; font-family: 'Allerta Stencil', sans-serif; font-size:40px; line-height:40px; color:#000; padding:10px; text-align:center; text-transform:uppercase;
}
.slidercallout h3{font-size:14px; text-transform:uppercase; color:#fff;}
.slidercallout h4{font-size:18px; text-transform:none; color:#fff;}
.slidercallout h3 a{color:#fff; padding:0 5px;}
.slidercallout p{color:#fff; font-size:16px;}
.slidercallout a:hover{color:#fff;}
.slidercallout.blue{background: url('../images/tile-pullout-blue.png');}
.slidercallout.green{background: url('../images/tile-pullout-green.png');}
.slidercallout.purple{background: url('../images/tile-pullout-purple.png');}
.slidercallout.white{background: url('../images/tile-pullout-white.png');}
.slidercallout.grey{background: url('../images/tile-pullout-grey.png');}

.slidercallout.blue{background: url('../images/tile-pullout-blue.png');}
.slidercallout.green{background: url('../images/tile-pullout-green.png');}
.slidercallout.purple{background: url('../images/tile-pullout-purple.png');}
.slidercallout.white{background: url('../images/tile-pullout-white.png');}
.slidercallout.grey{background: url('../images/tile-pullout-grey.png');}

.slidercallout.blue h3{background-color:#28569b;}
.slidercallout.green h3{background-color:#c1d72f;}
.slidercallout.purple h3{background-color:#814972;}
.slidercallout.white h3{background-color:#4f6aa7;}

.slideradditionimg{width:100%; position:absolute; top:0; }
.unslider li .slideradditionimg img{width:200px; position:absolute; right:0;}




.onepage .img-holder {
	position:relative;
    min-height: 300px;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    margin-left:-30px;
    margin-right:-30px;
}
.header {
    background: #161616;
	z-index:9999;
	width:100%;
	height:116px;
	position:fixed;
	top:0;
}
.header .inner {
	  padding-top: 45px;
	  position: relative;
	  min-height: 72px;
	z-index:99999;
	max-width:1400px;
	}
	row.one{z-index:9998;}

	/* Brand */
	header .brand, header .brand:hover {
	    float: left;
	    color: #fff;
	    display: inline-block;
	}
		.brand h1 {
		    margin: 0;
		    padding: 0;
		    font-size: 48px;
		    font-family: "HelveticaNeueLTPro-Bd", "Helvetica Neue LT Pro Bold", "HelveticaNeueBold", "HelveticaNeue-Bold", "Helvetica Neue Bold", "Helvetica Neue LT Pro", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
		    color: #fff;
		    font-weight: 600;
		    font-stretch: normal; /* default value. No font stretching */
		    line-height: 1em;
		}
		.brand p {
		    color: #888;
		    margin-bottom: 22px;
		}

	/* Search form */

	.search-bar {
		position: absolute;
		right: 13px;
		top: 12px;
	}
		.search-bar .field {
			margin: 0;
			padding: 0;
		}
		.search-bar form input.text {
		    width: 155px;
		    padding: 5px 34px 5px 15px;
		    color: #888;
		    margin: 0;
		    border: none;
		    border-radius: 14px;
		    background: #fff;
		}

		.search-bar form input.action { /* positions the search button icon over the top of the search input */
		    font-size: 14px;
		    position: absolute;
		    right: 5px;
		    top: 0;
		    cursor: pointer;
		    border: none;
		    padding: 5px;
		    background: none;
		    font-family: 'WebSymbolsRegular';
		    color: #848484;
			border-radius: 0;
			margin: 0;
		}
		.search-bar form input.active,
		.search-bar form input.action:hover {
		    color: #000;
		}
		.search-bar form input:focus,
		.header textarea:focus {
		    outline: none; /* removes default browser outlining on focus */
		}
		.search-dropdown-icon {
		    display: none; /* hides search-dropdown-icon when site is at full width - media queries set it to display:block when at mobile/tablet width */
		}

/* CONTACT PAGE */
	.contactBlock{background-color:#F6F6F6; margin-top:-40px;}
	.conBlock {width:33.33%; float:left; }
	.conBlockinner{padding:40px 20px; border:solid 5px #F6F6F6; text-align:center;}
	.conBlock h2{text-align:center; font-size:50px; color:#000;}
	.conBlock h3{text-align:center; font-size:18px; color:#000;}
	
	.contentAreaContact{background-color:#000; padding-top:30px}

/* NAVIGATION */

	/* Primary navigation */
	.header .inner .unit {
		position: relative; /* used to position the main navigation */
	}
	.header .primary ul {
	margin-top:30px;
	}
	.header .primary li {
	    float: left;
	    padding-bottom: 14px;
	    margin: 0 5px;
	    position: relative;
	    white-space: nowrap; /* forces text to never wrap onto a second line */
	}
	.header .primary li a {
	    color: #fff;
	    font-size: 20px;
	    font-family: 'Allerta Stencil', sans-serif;
		text-transform:uppercase;
	    padding: 6px 8px;
	    display: block;
	}
	.header .primary li a:hover {
	    color: #fff;
	}
	.header .primary li.section a,
	.header .primary li.current a {
	    color: #fff;
	}
	
	/* Tablet Navigation */
	/* When navigation and logo overlap tablet-nav is initialized */
	.tablet-nav .brand p {
	    margin-bottom: 0;
	}
	.tablet-nav .header .inner {
	    padding-top: 20px;
		min-height:200px;
	}
	.tablet-nav .header .primary ul {
	    float: left;
	    clear: both;
	    position: relative;
	    margin: 20px 0 0 -13px;
	    white-space: nowrap;
	    right: auto; /* resets the right property value that is set for the desktop site */
	}
		.tablet-nav .header .primary ul li {
		    white-space: nowrap;
		}
			.tablet-nav .header .primary ul li a { /* there is no hover on touch devices so no transition on hover is necessary */
			    -moz-transition: none;
			    -webkit-transition: none;
			    transition: none;
			}
	.tablet-nav .footer .right {
	    float: left;
	    width: 100%;
	}

	#coolMenu li ul li { 
		display: block; 
		line-height:12px;
		text-decoration: none;
		padding-bottom:0;
		list-style: none;
		margin-right:0;
		float:none;
		min-width:250px;
		margin: 0 5px 0 5px;
		border-bottom:solid 1px #000;
		} 

	#coolMenu ul {     
		position: absolute;
		top:0;
		left:0;
		width:auto;
		display: none; 
		z-index: 9999;
		float:none;
		} 
		
	.tablet-nav #coolMenu ul {     
		position: relative;
		
		} 		
	
		#coolMenu ul li a {  
			color:#fff;
			font-size:16px;
			text-align:middle;	
			padding: 10px;
			background-color:#444;

			}

		#coolMenu ul li > a:hover {
			background-color:#FF5100;
		}		
		
		#coolMenu li:hover ul {  
			transition-delay: 2s; 
			 -webkit-transition-delay: 2s; 	
			display: block; 
			
			
			} 	
	
	/* Secondary navigation */
	.main .secondary h3 {
	    font-size: 20px;
	    color: #AAA;
	    margin: 0 0 8px 0;
	    font-family: "CamboRegular", Georgia, "Times New Roman", Times, serif;
	    font-weight: normal;
	}
	.main .secondary {
	    border-bottom: 1px solid #e5e5e5;
	    position:fixed;
	}
		.main .secondary ul {
		    padding: 0;
		    margin: 0;
		    
		}
		.main .secondary li {
		    border-top: 1px solid #e5e5e5;
		    position: relative;
		    list-style-type: none;
		    margin-bottom: 0;
		}
			.main .secondary li .arrow {
			    color: #b80000;
			    padding-right: 5px;
			    display: block;
			    font-size: 15px;
			    line-height: 20px;
			    position: absolute;
			    left: 2px;
			    top: 7px;
			    -moz-transition: 0.2s; /* this transition moves the arrow from left:2px to left:6px */
			    -webkit-transition: 0.2s;
			    transition: 0.2s;
			}
		.main .secondary li a:hover .arrow {
		    left: 6px; /* this sets the final position for the arrow transition */
		}
		.main .secondary li a { /* side nav link styling */
		    padding: 10px 0;
		    display: block;
		    text-transform: uppercase;
		    letter-spacing: 2px;
		    font-size: 11px;
		    color: #333;
		    line-height: 17px;
		    border-bottom: none;
		    font-family: 'Lucida Sans', 'Lucida Grande', Arial, Helvetica, sans-serif;
		}
		.main .secondary li .text {
		    padding-left: 28px;
		    display: block;
		}
		.main .secondary li.current a.current {
			color: #b80000;
			background-color: #EDEDED;
		}
		.main .secondary li.section,
		.main .secondary li.current {
		    background-color: #F3F3F3;
		}
			.main .secondary li.section a,
			.main .secondary li.current a {
			    color: #000;
			}


		/* Secondary navigation 2-5 levels deep */
		.main .secondary ul ul {
			display: none;
		}
		.secondary ul li.current ul,
		.secondary ul li.section ul { /* Only show child pages from selected parent */
			display: block;
		}
		.secondary li.current ul ul {
			display: none;
		}
		.main .secondary ul ul li a { padding-left: 10px; } /* Indent all sidebar navigation levels*/
			.main .secondary ul ul li a .arrow { left: 12px; }
			.main .secondary ul ul li a:hover .arrow { left: 16px; }

		.main .secondary ul ul ul li a { padding-left: 20px; }
			.main .secondary ul ul ul li a .arrow { left: 22px; }
			.main .secondary ul ul ul li a:hover .arrow { left: 26px; }

		.main .secondary ul ul ul ul li a { padding-left: 30px; }
			.main .secondary ul ul ul ul li a .arrow { left: 32px; }
			.main .secondary ul ul ul ul li a:hover .arrow { left: 36px; }

		.main .secondary ul ul ul ul ul li a { padding-left: 40px; }
			.main .secondary ul ul ul ul ul li a .arrow { left: 32px; }
			.main .secondary ul ul ul ul ul li a:hover .arrow { left: 36px; }

		.main .secondary li a:hover,
		.main .secondary li.section a:hover,
		.main .secondary li.current a:hover {
			color: #b80000;
		}
		
		.slideshow .flexslider img{}
		
		.slideshow .flexslider img {min-height:300px;}
/* PROMO FOOTER */		
		.promoFooter{text-align:center; padding:30px 0; background-color:#EBEBEC; width:100%; position:relative;}
		.promoFooter .servicelogobox{width:30%; display:inline; position:relative; text-align:center; padding:30px 10px;}
		.promoFooter .servicelogobox img{width:90%; max-width:265px;}
		.servicelistbox{padding:30px; text-align:center;}
		.servicelistbox ul{margin:20px 0 10px 0;}
		.servicelistbox ul.serviceList li{display:inline; margin:0 10px; list-style-type: none;}
		.servicelistbox ul.serviceList li a{color:#000; font-weight:900;}
		.servicelistbox ul.serviceList li i{color:#FF5100;}
		.servicelistbox p{font-weight:700; marignt}
	.bounce-top:hover {
	-webkit-animation: bounce-top 0.9s both;
	        animation: bounce-top 0.9s both;
}	

/* ----------------------------------------------
 * Generated by Animista on 2019-5-18 9:42:7
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation bounce-top
 * ----------------------------------------
 */
@-webkit-keyframes bounce-top {
  0% {
    -webkit-transform: translateY(-45px);
            transform: translateY(-45px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    opacity: 1;
  }
  24% {
    opacity: 1;
  }
  40% {
    -webkit-transform: translateY(-24px);
            transform: translateY(-24px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  65% {
    -webkit-transform: translateY(-12px);
            transform: translateY(-12px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  82% {
    -webkit-transform: translateY(-6px);
            transform: translateY(-6px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  93% {
    -webkit-transform: translateY(-4px);
            transform: translateY(-4px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  25%,
  55%,
  75%,
  87% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  100% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
}
@keyframes bounce-top {
  0% {
    -webkit-transform: translateY(-45px);
            transform: translateY(-45px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    opacity: 1;
  }
  24% {
    opacity: 1;
  }
  40% {
    -webkit-transform: translateY(-24px);
            transform: translateY(-24px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  65% {
    -webkit-transform: translateY(-12px);
            transform: translateY(-12px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  82% {
    -webkit-transform: translateY(-6px);
            transform: translateY(-6px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  93% {
    -webkit-transform: translateY(-4px);
            transform: translateY(-4px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  25%,
  55%,
  75%,
  87% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  100% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
}




/* PARTNERSHIPS */		
		.partnerships{text-align:center; padding:30px 0; background-color:#fff; width:100%; position:relative;}	

/* RECOMMENDATIONS */		
		.recommendations{text-align:center; padding:10px 0; background-color:#FF5100; width:100%; position:relative;}	
		.recommendations h2{color:#fff; font-size:15px; line-height:20px; width:80%;}
		.recommendations .swiper-pagination-bullet-active{color:#000;}
		.recommendations .swiper-pagination-bullet-active { background: #000; }
/* slider
----------------------*/
 .swiper-container {
      width: 100%;
      height: 300px;
    }
    .swiper-slide {
      text-align: center;
      font-size: 14px;
      /* Center slide text vertically */
      display: -webkit-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      -webkit-justify-content: center;
      justify-content: center;
      -webkit-box-align: center;
      -ms-flex-align: center;
      -webkit-align-items: center;
      align-items: center;
    }

	.swiper-button-prev {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%234c71ae'%2F%3E%3C%2Fsvg%3E") !important;
}

.swiper-button-next {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%234c71ae'%2F%3E%3C%2Fsvg%3E") !important;
}



/* SERVICES */	
.servicesHeader h2 {font-size:38px; line-height:40px; text-align:center; text-transform:uppercase; margin-bottom:20px;}	
.servicesContent {}
.servicesContact{text-align:center; margin-bottom:40px; padding:20px; background-color:#EBEBEC;}
.servicesContact h3 a{font-size:20px; color:#000;}
.onepage .typography .img-holder h2{padding-top:10px; padding-bottom:5px; padding-left:40px; font-size:45px; line-height: 48px; color:#fff; font-family: 'Allerta Stencil', sans-serif; text-transform: uppercase; text-align:center; background-color:#000; margin:5px 0;}
a.anchorpoint {
    display: block;
    position: relative;
    top: -250px;
    visibility: hidden;
}

/* IMAGE GALLERY */

#serviceGallery{margin:30px 0; border-top:1px solid #000; border-bottom:1px solid #000; padding:30px 0;}
#serviceGallery li {float:left; list-style-type:none; padding:5px; margin:0;  }
#serviceGallery li img{}
#serviceGallery li img{width:100%;}


/* USERFORMS */	
.UserDefinedForm form{ -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;  margin-bottom:40px;} 
.UserDefinedForm .content p{color:#fff; font-size:16px; }
.UserDefinedForm .content {padding-top:0;}
.UserDefinedForm form label{color:#fff;}
/* MIXED */
header:after,
.main:after,
#Root:after,
.search-bar:after,
header .inner:after,
footer:after { /* clearfix */
    height: 0;
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
}
.search-bar form input.action,
.header .primary li a,
.footer a { /* adds color transition when links/inputs on hover */
    -moz-transition: color 0.2s;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}
.footer a.brand { color: #333; margin-left: 0; }
.footer a.brand:hover { color: #FF5100; }
body h1 span.amp {
    font-family: Baskerville,"Goudy Old Style","Palatino","Book Antiqua",Georgia;
    font-style: italic;
}


/* FOOTER */
.footer {
    color: #999;
    background: #000;
    padding: 20px 0;
    font-size: 11px;
    line-height: 22px;
}
	.footer a {
	    color: #999;
	}
	.footer a:hover {
	    color: #B90000;
	}
	.footer .left {
	    float: left;
	    color: #000;
	    display: block;
	    margin-bottom: 10px;
	}
	.footer .right {
	    float: right;
	    display: block;
	    margin-bottom: 10px;
	}
	.footer span {
	    padding: 0 3px;
	    color: #bbb;
	}
	.footer .primary,
	.footer .primary ul {
	    display: inline;
	    margin: 0;
	    padding: 0;
	}
		.footer .primary li {
		    display: inline;
		}
	.ie6 .footer .primary li,
	.ie7 .footer .primary li { /* this is a bugfix for ie6/7 */
	    display: inline;
	    zoom: 1;
	    margin-right: 10px;
	}
	.footer .primary li:after { /* adds '/' to separate the footer navigation items */
	    padding: 0 3px 0 5px;
	    content: '/';
	    color: #999;
	}
	.footer .primary li:last-child:after {
	    content: ''; /* makes sure last nav item doesn't have a '/' following it */
	}
	.footer .arrow {
	    padding: 0 8px 0 5px;
	    color: #b80000;
	    font-size: 13px;
	}
	.footer .primary .nav-open-button {
	    display: none; /* the footer includes the primary nav include - this makes sure the nav open close button doesn't show up */
	}

/* PAGE SPECIFIC LAYOUT */

	/* Homepage */
		/* currently no Hompage specific styles - feel free to add your own */

	/* Search Results */
	.typography .searchResults h1 {
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: none;
	}
	.searchResults p.searchQuery {
	    margin-bottom: 10px;
	    font-size: 15px;
	    font-weight: bold;
	}
	.searchResults ul#SearchResults {
	    padding: 0;
	    border-bottom: 1px solid #e5e5e5;
	    margin:0;
	}
		.searchResults ul#SearchResults li {
		    border-top: 1px solid #e5e5e5;
		    padding: 20px 0;
		    list-style-type: none;
		}
		.searchResults ul#SearchResults p {
		    margin-bottom: 10px;
		}
		.searchResults #PageNumbers a {
		    padding: 0 5px;
		}
		.searchResults #PageNumbers .pagination {
		   	border-bottom: 1px solid #e5e5e5;
		    padding: 20px 0;
		    display:table; /* displays the pagination as a table so that elements stay inline and the middle column adjusts its size to accomodate and the right arrow stays to the right */
		    width:100%;
		}
		.searchResults #PageNumbers .pagination span{
			display:table-cell; /* each element in the pagination div displays as a table cell */
		}
		.searchResults #PageNumbers p {
		    text-align: center;
		    padding:20px 0;
		}
		.searchResults #PageNumbers .next,
		.searchResults #PageNumbers .prev {
		    font-size: 14px;
		    padding: 0 20px;
		    display:table-cell; /* each element in the pagination div displays as a table cell */
		    vertical-align: middle;
		    border-bottom:0 !important;
		}
		.searchResults #PageNumbers .next {
		    margin-left: 15px;
		}
		.searchResults #PageNumbers .prev {
		    margin-right: 15px;
		}

/* DEVICE & RESPONSIVE LAYOUT */
.header .nav-open-button {
    display: none; /* removes the nav toggle button for desktop site */
}
#media-query-trigger {
    /* instead of detecting the width of the window in simple/javascript/script.js it detects the visibility of this element (which is set using media queries)
    instead to trigger the hiding/showing of nav and search in mobile mode */
    display: none;
    visibility: hidden;
}

/* BREAKPOINT 1200px */

@media only screen and (max-width: 1200px) {
	
	body {
	    max-width: 1200px;
		padding-top:0;
	}
	#media-query-trigger {
	    visibility: visible;
	}

	.flexslider .flex-control-nav{display:none;}
	.headerlogo img {
    width: 150px;
}

.tablet-nav .header .primary ul{}
	.header{min-height:150px;}
	.header {
	position: relative;
}
	
	.iconBlockinner{ padding: 10px 20px}
/* Icon 1 */

#nav-icon1 {
  width: 30px;
  height: 45px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#nav-icon1 span {
  display: block;
  position: absolute;
  height: 6px;
  width: 100%;
  background: #FC5000;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon1 span:nth-child(1) {
  top: 0px;
}

#nav-icon1 span:nth-child(2) {
  top: 10px;
}

#nav-icon1 span:nth-child(3) {
  top: 20px;
}

#nav-icon1.open span:nth-child(1) {
  top: 18px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

#nav-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-icon1.open span:nth-child(3) {
  top: 18px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

	.header .inner .unit {
    position: relative;
	width:100%;
	padding:0;
}
	
			.tablet-nav .header .primary .nav-open-button { /* styling and positioning of the nav toggle button */
		    z-index: 9999999;
		    width: 20px;
		    height: 20px;
		    position: absolute;
		    left: 20px;
		    top: 10px;
		    display: block;
		    cursor: pointer;
		    font-family: 'WebSymbolsRegular';
		    font-size: 20px;
		    color: #ededed;
		}
		.tablet-nav .header .primary ul {
		    z-index: 10;
		    position: relative;
			top:60px;
			width:100%;
			margin-left:-30px;
			margin-right:-30px;
		    display: none; /* initially hiding the navigation */
		    float: none;
		    margin: 0;
		    padding: 0;
		    white-space: normal;
		}
			.tablet-nav .header .primary ul li {
			    width: 100%;
			    margin: 0;
			    padding: 0;
			    float: none; /* displays list items vertically */
			    background: none;
			    position: relative;
			    text-shadow: 0 1px #fff;
			}
			.tablet-nav .header .primary ul li:after { /* creates the arrow for the primary nav links */
			    content: '\003e';
			    display: block;
			    position: absolute;
			    right: 20px;
			    top: 0px;
			    font-family: 'WebSymbolsRegular';
			    font-size: 14px;
			    color: #999;
			    text-align: center;
			    vertical-align: middle;
			    line-height: 38px;
			}
			.tablet-nav .header .primary ul li a,
			.tablet-nav .header .primary ul li.current a,
			.tablet-nav .header .primary ul li.section a { /* styling the  top level nav links */
			    padding: 10px 0 10px 22px;
			    font-weight: bold;
			    border-bottom: 1px solid #bbb;
			    color: #434343;
			    background: #e7e7e7;
				font-size:16px;
			}
			.tablet-nav .header .primary ul li.current a,
			.tablet-nav .header .primary ul li.section a {
				background: #CCCCCC; /* makes background on current top level page slightly darker */
			}
			.tablet-nav .header .primary ul li a:hover {
			    color: inherit;
			}
			.tablet-nav .header .primary li.section:after,
			.tablet-nav .header .primary li.current:after {
			    display: none; /* hides the link arrow on current top level page */
			}
			.tablet-nav .tablet-nav .header nav.primary ul li {
				padding: 0;
			}

			#coolMenu #SubCool{ width:100%; position:relative; display:block;}
			#coolMenu #SubCool li{margin:0;} 
			#coolMenu #SubCool li a {background-color:#ccc; color:#000; padding: 10px 10px 10px 22px; font-weight:normal;}
}	
	

/* BREAKPOINT 960px */

@media only screen and (max-width: 960px) {
	.content img {
	    max-width: 97%;
	    height: auto;
	}
	.header .primary ul {
	    margin-left: -12px;
	    -webkit-padding-start: 0px; /* removes default webkit padding on ul items */
	}

	.phonecontact{ float:none; padding-right:10px;}
	.phonecontact h2 {font-size:16px; line-height:18px;}
	.phonecontact h2 a {font-size:22px; line-height:24px;}
	.conBlock{width:100%; float:none;}
}

/* BREAKPOINT 640px */

/* when changing the breakpoint below, change it ito the same value in the script.js file as well */
@media only screen and (max-width: 640px) {
	body {
	    max-width: 640px;
	}
	#media-query-trigger {
	    visibility: visible;
	}

	/* Navigation*/

	.tablet-nav .header .brand {
	    float: none;
	    display: inline-block;
	    margin-left: 22px;
	    margin-bottom: 22px;
	}

	.tablet-nav .header {
	    padding: 0px;
		min-height:200px;
	}
	

		.tablet-nav .header .inner {
		    padding:0;
		    min-height: 0;
		}
	.headerlogo{position:relative; padding-top:30px; height:auto;}
	.headerlogo img{max-width:100px;}
	.headerImageInner{overflow:hidden;}
	.headerImageInner img{height:200px; width:auto;}
	.phonecontact{ top:0; position:relative; padding-right:10px; margin-bottom:30px;}
	.slideshow{margin-bottom:40px;}
	.slideshow .flexslider img{min-height:auto;}
	.slideshow .flex-direction-nav{display:none;}
	.HomePage .slidercallout h2 {display:none;}
	.servicesHeader h2, .servicesHeader .typogrpahy h2{font-size:26px; line-height:28px; text-align:left;}
	.servicesContact h3 a{}
	
	.conBlockinner{padding:10px;}
	
	.typography h2{font-size:22px; line-height:24px;}
	.headersmicon{width:25px;}
	.phonecontact h2 a	{font-size:18px; line-height:18px;}
	.recommendations .typography h2{text-align:center; margin:0; width:auto; margin-bottom:30px; font-size:18px; line-height:20px;}
	.promoFooter .servicelogobox{width:100%;}
	
	.promoFooter .servicelogobox img {margin-bottom:40px;}
	
	.servicelistbox ul.serviceList li{display:block; margin-bottom:10px;}
	
	.swiper-button-next, .swiper-button-prev{display:none;}
	/* Search Form */
	.search-bar { /* adds new styling to mobile search bar */
	    width: 100%;
	    position: relative;
	    top: 0;
	    right: 0;
	    display: none; /* hides searchbar initially */
	    padding: 20px 0;
	    margin: 0;
	    background-color: #E7E7E7;
	}
	.search-dropdown-icon { /* styling for search toggle button */
	    display: block;
	    cursor: pointer;
	    width: 20px;
	    height: 20px;
	    position: absolute;
	    right: 60px;
	    top: 34px;
	    font-family: 'WebSymbolsRegular';
	    font-size: 20px;
	    color: #ededed;
	    text-align: center;
	    line-height: 20px;
	}
	.search-bar form {
	    margin: 0;
	    width: 100%;
	}
		.search-bar form fieldset {
		    padding: 0 18px;
		    left: 0;
		    right: 0;
		    position: relative;
		}
	.search-bar div.field {
	    margin-bottom: 0;
	}
	.search-bar form input.text {
	    width: 89%; /* makes search input full width - allowing for space either side */
	    max-width: 89%;
	    padding: 8px 10% 8px 1%;
	    text-indent: 15px;
	    position: relative;
	    display: block;
	    right: 0;
	    left: 0;
	    border: 1px solid #e5e5e5;
	    background: #fff;
	    font-size: 17px;
	    border-radius: 20px; /* increase border radius due to increased padding */
	}
	.search-bar form input.action {
	    right: 5%;
	    top: 2px;
	    font-size: 18px;
	}
	
	.slideshow .flexslider ul li img {}

	/* Main Content */
	.main {
	    padding: 20px 0 45px; /* decrease padding so that more content can fit on screen */
	}
	
	.slideshow .flexslider img{width:auto}
		
	.slideshow .flexslider img, .flexslider .slides img {height:300px;}
	
		
	.content-container,
	.sidebar {
	    width: 100%; /* sidenav is now shown above the page content */
	    margin-bottom: 30px;
	}
		.typography h1 { /* decrease size of page heading due to smaller screen */
		    font-size: 24px;
			line-height:26px;
		    margin-bottom: 15px;
		    padding-bottom: 10px;
		}
		.typography p {
		    font-size: 14px;
		    line-height: 23px;
		}
	p.intro {
	    font-size: 19px;
	    line-height: 27px;
	}
	.main .inner {
	    padding: 0 22px;
	}
	/* Secondry Nav */
	.secondary li a {
	    line-height: 24px;
	}
	.secondary li .arrow {
	    line-height: 26px;
	}
	/* Footer */
	.footer .right {
	    float: left;
	    width: 100%;
	}
}

/* Print Styles */

/* Based on HTML5 boilerplate print styles */
@media print {
	* {
	    background: transparent !important;
	    color: black !important;
	    box-shadow: none !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) ")";
    }

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

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

	thead {
	    display: table-header-group
	}
	tr,
	img {
	    page-break-inside: avoid
	}
	img {
	    max-width: 100% !important
	}
	pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    @page {
        margin: 0.5cm;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    /* Simple theme custom print styles */
	.header,
	.footer,
    .nav-open-button,
    .search-bar,
    .search-dropdown-icon,
    nav.primary {
	    display: none;
	}
}
