/** ----------------------------------------------------------
 *
 * 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 <email@silverstripe.com>
 * ------------------------------------------------------- */

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

/* 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 {
overflow: -moz-scrollbars-horizontal;
overflow-x: hidden;
    margin: 0;
    background: #80a1d5;
    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: #ffffff;
	    padding: 40px 0 60px;
	    min-height: 300px;
	    position: relative;
	    margin: -150px 0 0;
	}
	.inner {
	    max-width: 1200px;
	    margin: 0 auto;
	    padding: 0 30px;
	    overflow: visible;
	}
	.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;
	}
#bg {
  top: -50%; 
  left: -50%; 
  width: 200%; 
  height: 200%;
  overflow: hidden;
}
#bg img {
position: relative; 
top: 0; 
left: 0; 
right: 0; 
bottom: 0; 
margin: auto; 
min-width: 50%;
min-height: 50%;
}
#bg1 {
 
  height: 350px;

}

.overText1 h2{

display: block;
color: white;
font-family:'Open Sans', Arial, Helvetica, sans-serif;
font-weight: 800 ;
line-height: 1em ;
font-size: 3em;
margin: 0 auto;


text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
}

.overText2 h5{
display: block;
color: white;
font-family:'Open Sans', Arial, Helvetica, sans-serif;
font-weight: 400 ;
line-height: 2.5em ;
font-size: 2em;
margin: 0 auto;


text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
}
.overTextCont{
position: relative;
margin: -200px auto 0;
display: block;
width: 100%;
height: 200px;

}

/* HEADER */
.header {
position: absolute;
z-index: 1;
width: 100%;
}
	.header .inner {
	
	    position: relative;
	    min-height: 72px;
	}

	/* Brand */
	header .brand, header .brand:hover {
	    float: left;
	    color: #fff;
	    display: inline-block;
	    width: 100%;
	}
		.brand h1 {
		    margin: 0;
		    padding: 0;
		    font-size: 48px;
		    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
		    font-weight: 300;
		    color: #fff;
		    
		    font-stretch: normal; /* default value. No font stretching */
		    line-height: 1em;
		}
		.brand1 h3 {
		    margin: 0;
		    padding: 0;
		    font-size: 28px;
		    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
		    font-weight: 300;
		    color: #fff;
		    position: absolute;
		    font-stretch: normal; /* default value. No font stretching */
		    line-height: 1em;
		    text-align: right;
		    top: 16px;
		    padding: 45px 0;
		    width: 100%;
		}
		.brand h1 span{
			font-weight: 800;
		}
	
		.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;
		    -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 */
	.header .inner .unit {
	padding: 45px 0;
	overflow: visible;
	z-index: 1;
		position: relative; /* used to position the main navigation */
	}
	.header .primary ul {
		position:absolute;
		bottom:0;
		right:0; /* positions the main navigation */
	}
	.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: #888;
	    font-size: 15px;
	    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	    padding: 6px 8px;
	    font-weight: bold;
	    display: block;
	}
	nav.menu {
	 font-family: "HelveNeuLig", "HelveticaNeue", Helvetica, Arial, sans-serif;
	    position: fixed;
	    z-index: 20;
	    background-color: #fff;
	    overflow: scroll;
	    -webkit-transition: all 0.3s;
	    -moz-transition: all 0.3s;
	    -ms-transition: all 0.3s;
	    -o-transition: all 0.3s;
	    transition: all 0.3s;
	}
	nav.menu ul {
	    list-style-type: none;
	    margin: 0;
	    padding: 0;
	}
	nav.menu a {
	    font-weight: 300;
	    color: #000000;
	}
	.menu .action{
	    background: #333;
	    border: 1px solid #369;
	    padding: 3px 10px;
	    color: #ccc;
	     border-radius: 10px;
	     float: left;
	     margin: 10px;
	      line-height: 18px;
	}
	.menu #Search {
	   
	    width: 230px;
	    float: left;
	}
	.menu #Search .middleColumn {
	    width: 230px;
	    border: none;
	}
	.menu #Search .middleColumn input {
	    border-radius: 10px;
	        width: 200px;
	       margin: 10px;
	        line-height: 18px;
	        font-size: 14px;
	        padding: 3px 10px;
	        border: 1px solid #369;
	        color: #666;
	}
	.nav-toggler {
	   
	    font-size: 24px;
	    cursor: pointer;
	    border: none;
	    -webkit-appearance: none;
	    -moz-appearance: none;
	    appearance: none;
	    -webkit-border-radius: 0;
	    -moz-border-radius: 0;
	    border-radius: 0;
	    -webkit-box-shadow: none;
	    -moz-box-shadow: none;
	    box-shadow: none;
	 	background-color: transparent;
	    color: #ffffff;
	  	position: absolute;
	    margin: 9px -17px 0;
	    top: 0;
	    right: 0;
	    text-align: right;
	}
	
	
button.close-menu {
    position: relative;
    color: #fff;
}
button.close-menu:focus {
    outline: none
}
/* slide menu left and right, push menu left and right */

nav.slide-menu-right {
    top: 0;
    width: 300px;
    height: 100%;
}
nav.slide-menu-right li {
margin: 0;
padding: 0;
    display: block;
    border-bottom: solid 1px #3184a1;
}

nav.slide-menu-right li ul li {
margin: 0;
padding: 0;
    display: block;
	background: #dddddd;
    
    border-top: none;
    font-size: 12px;
    text-indent: 10px;
}

nav.slide-menu-right li ul li:first-child {
    border-top: none
}

nav.slide-menu-right li ul li:last-child {
    border-bottom: none
}

nav.slide-menu-right a {
    display: block;
    padding: 5px 10px;
    font-size: 14px;
}

nav.slide-menu-right a:hover {
    color: #999999;
}

nav.slide-menu-right button.close-menu {
    
    padding: 14px 26px;
	width: 100%;
   	position: relative;
    font-size: 24px;
    cursor: pointer;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background-color: transparent;
    color: #1b1b4c;
  	text-align: right;
    margin: 0px;
    top: 0;
    right: 0;
    z-index: 10000;
}

nav.slide-menu-right{
    right: -300px
}

body.smr-open nav.slide-menu-right{
    right: 0
}
body.pml-open #wrapper {
    left: 300px
}
body.pmr-open #wrapper {
    left: -300px
}





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

/*  CONTENT  */
 .test-title {
 	color:#1b3966;
 }
.test-content-container {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-gap: 0.1rem;
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));	
display: flex;
display: -ms-flex;
display: -webkit-flex;
flex-wrap: wrap;
-ms-flex: wrap;
-webkit-flex: wrap;
}

.test-content{
	flex: 1 1 50%;
max-width: 490px;
margin: 5px auto;

}
.content{
	max-width: 900px;
	margin: 0;
}

.content-container {
overflow: visible;
}
.contenttop{
    display: inline-block;
    color: #1b3966;
    max-width: 500px;
    vertical-align: top;
    overflow: visible;
    margin: 10px 20px;
    width: 100%;
}
.contenttop a{

	color: #4169e1;

}
.contenttop h3{

	color: black;

}
.TopTipRotate{
	-ms-transform: rotate(-3deg); /* IE 9 */
	   -webkit-transform: rotate(-3deg); /* Chrome, Safari, Opera */
	   transform: rotate(-3deg);
	   background: #ffffff;
	   border: 14px solid gold;
	   padding: 10px;
}
.TopTipBack{
	-ms-transform: rotate(3deg); /* IE 9 */
	   -webkit-transform: rotate(3deg); /* Chrome, Safari, Opera */
	   transform: rotate(3deg);
	   margin: 10px;
	   
}
.TopTipBack p{
font-family: 'OptimaRegular', Georgia, "Times New Roman", Times, serif;
font-size: 16px;
	   
}
#Ticon{
	olor:white;float:right;width:180px;font-size:160px;margin:-20px 0;
}
.contentTest{

width: 100%;
max-width: 800px;
margin: 10px 0px 10px 100px;
text-align: center;
}
.contentTest span{

font-size: 30px;
font-family: 'Open Sans', Arial, Helvetica, sans-serif;
font-weight: 300;
}
.contentTest p{
font-family: 'OptimaRegular', Georgia, "Times New Roman", Times, serif;
font-size: 18px;
text-align: center;
line-height: 26px;
}
.HomeServicesList{
display: flex;
flex-wrap: wrap;
margin: 30px 50px;
}

.HomeServices{
	display: inline-block;
	background: #80a1d5;
	color: #333333;
	margin: 15px 10px;
	max-width: 250px;
	
}
.HomeServices a h1 {
	color: #ffffff;


}
.HomeServices h1{
	margin: 0 0 0;
	font-size: 22px; 
	padding: 0 10px;
}
.HomeServices i{
	text-align: center;
	display: block;
	width: 70px;
	  height: 70px;
	  background: #172843; 
	  -moz-border-radius: 35px; 
	  -webkit-border-radius: 35px; 
	  border-radius: 35px;
	  color: white;
	  margin: 10px auto;
	line-height: 65px;
	
}
.HomeServices .content{
	padding: 0 10px;

}
.HomeServices img{
border: none;
	
	position: relative;

	background: none;
	margin: 0;
	padding: 0;

	float: right;
}

/* FOOTER */
.footer {
    color: #ffffff;
    background: #80a1d5;
    padding: 20px 0;
    font-size: 11px;
    line-height: 22px;
    position: relative;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
	.footer a {
	    color: #ffffff;
	}
	.footer a:hover {
	    color: #B90000;
	}
	.footer .left {
	    float: left;
	    color: #ffffff;
	    display: inline-block;
		block;
	    margin: 10px;
	    width: 350px;
	    position: relative;
	}
	.footer .left .headerFoot {
	    font-family: 'OptimaRegular', Georgia, "Times New Roman", Times, serif;
	    font-size: 24px;
	    line-height: 36px;
	    margin-bottom: 20px;
	    	    position: relative;
	    	    display: block;
	    }
	    .footer .left .contentFoot {
	   display: block;
	        	    position: relative;
	        }
	    
.footer .left h3 {
	        font-family: 'OptimaRegular', Georgia, "Times New Roman", Times, serif;
	        font-size: 24px;
	     
	        }
	        
.footer .left h4 {
	   font-family: 'OptimaRegular', Georgia, "Times New Roman", Times, serif;
	   font-size: 20px;
	    }
	        	        
.footer .left .contentFoot h4 {
	  font-family: 'OptimaRegular', Georgia, "Times New Roman", Times, serif;
	  font-size: 20px;
	  line-height: 28px;
}
	.footer .right {
	    float: right;
	    display: block;
	    margin-bottom: 10px;
	}

	.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 */
	}
	.logoBottom{
		margin: 10px;
	}
/* PAGE SPECIFIC LAYOUT */

	/*   Blog Page    */
	
	.post-summary{
		display: inline-block;
		width: 350px;
		color: #333333;
		vertical-align: top;
		background: #80a1d5;
margin: 10px;
position: relative;
	}
	.blog-summary{
		
		padding: 20px;
		
	}
.blog-summary p{
	color: #ffffff;
		
	}
	.blog-summary h2, .blog-summary h2 a, .blog-post-meta a{
		color: #1b3966;
		
	}
	.post-summary img{
		border: none;
			right: 0;
			position: absolute;
		bottom: 0;			
		background: none;
			margin: 0;
			padding: 0;
		
			float: right;
	}
.blog-entry-list{
	display: flex;
	flex-wrap: wrap;
}
.blog-entry{

}

/* Testimonials page */
.contentTestPage{
	width: 300px;
	display: inline-block;
	margin: 30px;
	padding: 10px;
	vertical-align: top;
	background-color: #80a1d5;
}
.contentTestPage p{
font-family: 'OptimaRegular', Georgia, "Times New Roman", Times, serif;
font-size: 18px;
text-align: center;
line-height: 26px;
}

.contentTestPage h4{
text-align: right;
color: #172843;
}
.contentTestPage span{
float: right;
font-size: 30px;
font-family: 'Open Sans', Arial, Helvetica, sans-serif;
font-weight: 300;
color: white;
}

	/* 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 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 */
	}
			.brand1 h3 {
	text-align: left;
			    
			
			    position: relative;
			}
}

/* 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;
	}
.overText2{display: none;
}
.overText1{display: none;
}
.header{
	padding: 0 0;
}
.header .inner .unit{
	padding: 15px 0;
	min-height: 42px;
}

	/* Navigation*/

	.tablet-nav .header .brand {
	    float: none;
	    display: inline-block;
	    margin-left: 0px;
	    margin-bottom: 22px;
	}
		.brand h1 {
		    font-size: 36px;
		}
		.brand h1 {
		    padding-right: 100px; /* padding stops .brand text from overlapping the search and nav buttons */
		}
		.brand1 h3 {
text-align: left;
		    top: 20px;
		    padding: 15px 0px;
		}
.nav-toggler{
	margin: 9px 17px 0;
}
.contentTest {

    max-width: 600px;
    margin: 10px 0px 10px 0px;

}
#Ticon{
    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;
	    -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 {
	    padding: 20px 0 45px; /* decrease padding so that more content can fit on screen */
	}
	.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: 30px;
			line-height:35px;
		    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%;
	}
	  .contenttop {  display: inline-block;

	    max-width: 500px;
	    vertical-align: top;
	    overflow: visible;
	    margin: 10px 0px;
	    width: 100%;
	}
	.HomeServicesList {

	    margin: 30px 0px;
	}
}
@media only screen and (max-width: 480px) {

.brand h1 {
    font-size: 26px;
}
.brand h1 {
   /* padding stops .brand text from overlapping the search and nav buttons */
    padding: 0 100px 0 25px;
}
.header .inner{
	padding: 0 0;
}
.header .inner .unit{
	padding: 15px 0;
}
		.brand1 h3 {
font-size: 18px;
		    padding: 15px 25px;
		}
 }
/* 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;
	}
}