/** ----------------------------------------------------------
 *
 * 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 */
}
.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;}
.inc{box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;}

.picture{line-height:0;}
/* 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;
}
.bluetext{color:#0a4445}

/* MAIN LAYOUT */
body {
    margin: 0;
    background: #ededed;
    min-width: 240px; 
    -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;
	    position:relative;
	    min-height: 300px;
	    padding-bottom:30px;
	}
	.main.about{padding-top:20px;}
	.GalleryPage .main{padding-bottom:0; min-height:20px}
	.main.blue, .main100.blue{background: #0a4445; padding-bottom:0;}
	.main30{width:33.33%; float:left;}
	
	.main70{width:66.66%; float:right; overflow:hidden;}
	.main70.gallery{width:66.66%; float:left; overflow:hidden;}
	.main100{width:100%; }
	.main30 img{width:100%; }
	.main70 img{width:100%; min-height:420px; min-width:940px;}
	.main30 .inner, .main70 .inner, .main45 .inner, .main100.gallery .inner{padding:60px 60px 30px 60px;}
	.main45{width:45%; float:left;}
	.main55{width:55%; float:right;}
/* NIVOSLIDER */	
	.main70 .theme-default .nivoSlider {margin-bottom:0;}
	.inner {
	    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;
	}


/* HEADER */
.header {
    background: #d4d700 url('../images/leafycorner-588x230.jpg');
    background-position:top left;
    background-repeat:no-repeat;
    min-height:230px;
    position:relative;
}

	.header .inner {
	    padding-top: 45px;
	    position: relative;
	    min-height: 72px;
	}
	
	

	/* Brand */
	
	.headerlogo{padding:30px; float:left;}
	header .brand, header .brand:hover {
	    float: left;
	    color: #fff;
	    display: inline-block;
	}
	
	.headerawards{float:right; margin-top:30px; margin-right:30px; text-align:right;}
	.headerawards h2 {font-family: 'Fjalla One', sans-serif; color:#fff; font-size:30px; line-height:32px;}
	
	.award{float:left; margin-right:30px; position:relative; }
	.awardmob{ margin-right:10px; position:relative; width:100%; text-align:center; display:none;}
	.award img{width:100%;}
	.awardmob img{max-width:132px; width:100%;}
	.headercontact{float:right;}
	.sm{width:40px; float:right; margin-right:10px;}
	.sm.last{margin-right:0;}
	.sm img {width:100%;}
	/* 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;
		    -moz-border-radius: 14px;
		    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 */
		}



/* NAVIGATION */

	/* Primary navigation */
	.navigation{float:right; clear:both; margin-right:30px;}

	.header .inner .unit {
		position: relative; /* used to position the main navigation */
	}
	.header .primary ul {
		position:relative;
		bottom:0;
		right:0; /* positions the main navigation */
	}
	.header .primary li {
	    float: left;
	    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: 18px;
	    font-family: 'Droid Serif', serif, Helvetica, Arial, sans-serif;
	    padding: 6px 8px;
	    font-weight: normal;
	    display: block;
	    
	}
	.header .primary li a:hover {
	    color: #0a4445;
	    text-decoration:none;
	}
	.header .primary li.section a,
	.header .primary li.current a {
	     color: #0a4445;
	}
	.header .primary li.section:after,
	.header .primary li.current:after {
	    content: '}'; /* adds triangle beneath current nav item ('}' is renders as a triangle when WebSymbolsRegular is set as the font) */
	    display: block;
	    position: absolute;
	    left: 50%;
	    margin-left: -7px;
	    bottom: -7px;
	    font-family: 'WebSymbolsRegular';
	    font-size: 30px;
	    color: #fff;
	    text-align: center;
	    line-height: 20px;
	}

	#coolMenu li ul li { 
			display: block; 
			line-height:12px;
			text-decoration: none; 
			border-bottom:dotted 1px #fff;
			background-color: #0a4445;
			list-style: none;
			float:none;
			
			
			} 
			
		 #coolMenu ul li:hover a {background-color:#D4D700;}
			
		#coolMenu ul {     
			position: absolute;    
			left:10px;
			right:auto;
			display: none; 
			z-index: 80;
			float:none;
			} 
			
		
		#coolMenu ul li a {  
			color:#fff;
			text-align:middle;	
			padding: 15px;
			
			} 
			
		#coolMenu li:hover ul {     
			display: block; 
			background-color:#d4d700;
			
			
			} 
			
			
		
		#coolMenu ul li:hover a {    
			display: block; 
			background-color:#d4d700;
			color:#fff;
			
			
		} 
		
		#SubCool, #SubCool li {min-width:100%;}
		#SubCool li{margin:0;}
		/* Tablet Navigation */
		/* When navigation and logo overlap tablet-nav is initialized */
		
		 .header .inner {
		    padding-top: 20px;
		}
		 .header .primary ul {
		    float: left;
		    clear: both;
		    position: relative;
		    bottom: auto;
	  	right: auto;
		    margin: 0 0 0 -13px;
		    white-space: nowrap;
		    background-color:#fff
		    right: auto; /* resets the right property value that is set for the desktop site */
		}
			 .header .primary ul li {
			    white-space: nowrap;
			}
				 .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;
				}
		 .footer .right {
		    float: left;
		}
	
		/* 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;
		}
			.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;
		}


/* ABOUTPAGE */

.staffrow{width:100%; position relative; border-top:1px dotted #97ab17; padding:20px 0;}
.staffpic{float:left; width:20%; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; box-sizing:border-box; box-sizing:border-box;  }
.staffpic img{width:100%;}
.staffcontent{float:left; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; box-sizing:border-box; box-sizing:border-box; width:50%; padding:0 20px;}
.staffquote{float:right; background-color:#f8fae4; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; box-sizing:border-box; box-sizing:border-box; padding:25px; width:30%;}

.aboutmontagerow{width:100%; position:relative; line-height:0;}
.qtrimgs{width:50%; float:left; position:relative;}
.qtrimg, .heroimg{width:50%; float:left; position:relative;}
.qtrimg img, .heroimg img{width:100%;}

/* CONTACTPAGE */
.UserDefinedForm .aboutmontagerow{width:100%; position:relative; line-height:0;}
.UserDefinedForm .qtrimgs{width:100%; float:right; position:relative;}
.UserDefinedForm .qtrimg{width:35%; float:right; position:relative;}
.UserDefinedForm .qtrimg img, .heroimg img{width:100%;}

/* SERVICES */
.servicespromooutter{ padding:5px; width:25%; float:left; }
.servicespromo{ background:#ededed; min-height:30px; width:100%; padding:10px;}
.servicesimg{width:100%; line-height:0;}
.servicesimg img {width:100%;}
.servicestxt{height:60px; text-align:center; }
.servicestxt h1{font-size: 24px; line-height: 28px;line-height:28px; margin-top:15px;}
.button{text-align:center;}
.button a.buttonlink{ background-color:#ccc; color:#fff; padding:5px; font-size:12px; text-transform:uppercase;   }
/* 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: #B80000; }
body h1 span.amp {
    font-family: Baskerville,"Goudy Old Style","Palatino","Book Antiqua",Georgia;
    font-style: italic;
}

.promorow, .pageinforow{width:100%; position:relative; clear:both; background-color:#fff;}
.promorow.picture{display:none}
.promobox{width:25%; float:left; position:relative;}
.promobox img {width:100%}
.main30.green{background-color:#f8fae4; position:relative; float:right;}
.main30.green h1, .main30.blue h1, .main100.blue h1, .mission h1 {color:#97ab17;}


/* GALLERY */

.carousel-inner>.item.active{width:100%:}
.carousel-inner>.item.active img{width:100%;}
.GalleryPage .unit{padding:0;}
.GalleryPage .lead{margin-bottom:0;}

.GalleryPage .clickformore {padding-left:10px; }
.GalleryPage .clickformore .symbols, .ServicesPage .clickformore .symbols {font-family:WebSymbolsRegular; color:#d4d700; padding-right:5px;}
.typography .lead col-xs-12 {}
.fotorama{border-top:5px solid #d4d700; border-bottom:5px solid #d4d700; line-height:0;}
.lead {margin-bottom:0;}
.additionalgalleries{padding:30px 0;}
.mission{padding:30px 60px; text-align:center;}

/* FOOTER */
.footer {
    color: #fff;
    background: #0a4445;
    padding: 20px 0;
    font-size: 16px;
    line-height: 21px;
}
	.footer h1{color:#97ab17; font-size:16px; line-height:21px;}

	.footer a {
	    color: #fff;
	}
	.footer a:hover {
	    color: #fff;
	}
	.footer .left {
	    float: left;
	    color: #fff;
	    display: block;
	    margin-bottom: 10px;
	    padding:20px 30px;
	    border-right:1px solid #fff;
	    width:33.33%;
	    text-align:right;
	}
	.footer .right {
	    float: left;
	    display: block;
	    margin-bottom: 10px;
	    padding:40px;
	    width:66.66%;
	}
	.footercontact{float:right; }

	.footercopyrite{float:left;}
	.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) {
.typography h1{font-size:24px; line-height:28px;}
.hidetab{display:none;}
.footercontact{float:none; clear:both;}
.footer .left{padding:15px;}
.footer .right{padding:20px;}
.servicestxt h1{font-size: 20px; line-height: 22px;}


/* CONTACTPAGE */
.UserDefinedForm .aboutmontagerow{width:100%; position:relative; line-height:0;}
.UserDefinedForm .qtrimgs{width:100%; float:right; position:relative;}
.UserDefinedForm .qtrimg{width:60%; float:right; clear:both; position:relative;}
.UserDefinedForm .qtrimg img, .heroimg img{width:100%;}
.UserDefinedForm .main45 {width:70%;}
.UserDefinedForm .main55 {width:30%;}
}

/* BREAKPOINT 960px */

@media only screen and (max-width: 960px) {

	.typography h1{font-size:20px; line-height:22px;}
	.typography p.intro { font-size: 18px; line-height: 20px; }
	.main30 .inner, .main70 .inner {
	    padding: 20px 20px 20px 20px;
}
	.hidemob{display:none;}
	.awardmob{ margin-right:10px; position:relative; width:100%; text-align:center; display:block;}
	.content img {
	    max-width: 97%;
	    height: auto;
	}
	.header .primary ul {
	    margin-left: -12px;
	    -webkit-padding-start: 0px; /* removes default webkit padding on ul items */
	}
	.servicespromooutter { padding: 5px; width: 33.33%; float: left; }
	.footer h1{font-size: 14px;}
	.footer{font-size: 12px;}
		.fotorama img {width:20%; height:auto;}

}

/* 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;
	}
	.headerinfo {position:relative;}
	.headerlogo {  padding: 30px 0 10px 0; float: none; width:100%; text-align:center; text-align:center;}
	.headerlogo img{max-width:80%;}
	.headerawards{float:right; width:auto; margin-top:0px;}
	.headerawards .socialmedia{display:none;}

	.main30, .main70, .main70.gallery {  width: 100%; float: none; }
	.main30{padding:30px 0;}
	.main30.green{position:relative;}
	.promobox { width: 50%; float: left; position: relative; }
	/* Navigation*/
	.servicespromooutter { padding: 5px; width: 50%; float: left; }
	.navigation{position:absolute; bottom:10px; left:0; width:100%; padding-left:30px; margin-right:0; clear:none; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;}
	
	.main70 img { width: 100%; min-height: 10px; min-width: 100%; }
	.main30 img { width: 100%; min-height: 10px; min-width: 10px; }
	
	.tablet-nav .header .brand {
	    float: none;
	    display: inline-block;
	    margin-left: 22px;
	    margin-bottom: 22px;
	}
	/* GALLERY */
	.carousel-caption{display:none;}
	.services .main30{display:none;}
	/* CONTACTPAGE */
	.UserDefinedForm .aboutmontagerow{width:100%; position:relative; line-height:0;}
	.UserDefinedForm .qtrimgs{width:100%; float:right; position:relative;}
	.UserDefinedForm .qtrimg{width:25%; float:left; clear:none; position:relative;}
	.UserDefinedForm .qtrimg img, .heroimg img{width:100%;}
	.UserDefinedForm .main45 {width:100%; float:none;}
	.UserDefinedForm .main55 {width:100%; float:none;}

	
		.brand h1 {
		    font-size: 40px;
		}
		.brand h1 {
		    padding-right: 100px; /* padding stops .brand text from overlapping the search and nav buttons */
		}
		
	.headercontact {float:right;}
	.tablet-nav .header {
	    padding: 0px;
	}
		.tablet-nav .header .inner {
		    padding: 20px 0 0 0;
		    min-height: 0;
		}
		.tablet-nav .header .primary .nav-open-button { /* styling and positioning of the nav toggle button */
		    z-index: 100;
		    position: relative;
		    display: block;
		    cursor: pointer;
		    font-family: 'WebSymbolsRegular';
		    font-size: 22px;
		    line-height:30px;
		    color: #ededed;
		}
		.tablet-nav .header .primary ul {
		    z-index: 10;
		    position: absolute;
		    top:40px;
		    left:0px;
		    display: none; /* initially hiding the navigation */
		    width:100%;
		    margin: 0;
		    padding: 0;
		    white-space: normal;
		    width: 100%;
		}
		#coolMenu ul {position:relative; top:0; left:0;}
			.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;
			}
			
			#coolMenu ul li a{padding-left:30px; color:#0a4445;}

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

	/* 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;
	    -moz-border-radius: 20px; /* increase border radius due to increased padding */
		border-radius: 20px;
	}
	.search-bar form input.action {
	    right: 5%;
	    top: 2px;
	    font-size: 18px;
	}

	/* Main Content */
	.main {
	}
	.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: 20px 22px;
	}
	
	.main30 .inner, .main70 .inner, .main45 .inner, .main100.gallery .inner {
	    padding: 30px 20px;
}
	/* Secondry Nav */
	.secondary li a {
	    line-height: 24px;
	}
	.secondary li .arrow {
	    line-height: 26px;
	}
	/* Footer */
	.footer .right {
	    float: left;
	    width: 100%;
	}
	 .staffpic, .staffcontent, .staffquote {float:none; clear:both; width:100%; padding-bottom:20px;}
	 .qtrimgs, .heroimg{width:100%; clear:both; float:none; margin-bottom:0; padding-bottom:0;}
	 .footer, .footer h1{font-size:16px;}
	 .footer .left{float:none; clear:both; width:100%; padding:20px; border:none; text-align:center;}
	.footer .right, .footercopyrite, .footercontact{float:none; clear:both;width:100%; padding:20px; text-align:center;}
	
}

/* BREAKPOINT 540px */

/* when changing the breakpoint below, change it ito the same value in the script.js file as well */
@media only screen and (max-width: 540px) { 
	body {
	    max-width: 540px;
	}
	
	.servicespromooutter { padding: 5px; width: 100%; float: none; }
	
	/* GALLERY */
	.carousel-inner {display:none;}
	.carousel-caption{display:none;}
	
	.fotorama{display:block}
	.fotorama img{width:100%; margin-bottom:5px;}
	.gallery .clickformore{display:none;}
}	

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