/*CUSTOM STYLES
Website crafted by Cloud Web Solutions. Hosting and developing on the Cloud CMS Copyright 2015. All Rights Reserved. www.cloudwebsolutions.com
*/

body
{
	font-family: 'Poppins', sans-serif;
	font-size:14px;
	line-height:24px;
	color:#666;
}

a
{
	text-decoration:none;
	color:#008DD3;
}

.sidemenu
{
  border:solid 1px #ccc;
  padding:20px;
}

.linkitems a
{
  background-color:#008DD3;
  color:#fff;
  padding:5px 15px;
  display:block;
  margin-bottom:1px;
}

.sidemenu img
{
  margin-top:10px;
  width:100%;
}

.bluelink a
{
	background-color:#008DD3;
	display:block;
	padding:10px;
	color:#fff;
	margin-top:-30px;
}

h1, h2, h3, p, ul, table
{
	margin-bottom:20px;
}

h1
{
	color:#008DD3;
	font-size:32px;
	line-height:40px;
}

h2
{
	color:#000;
	font-size:24px;
	line-height:40px;
	font-weight:normal;
}

h3
{
	color:#008DD3;
	font-size:18px;
	line-height:40px;
}

h4
{
  font-size:18px;
  margin-bottom:20px;
}

.underline
{
	border-bottom:solid 3px #5FBA3C;
	padding-bottom:10px;
	margin-bottom:20px;
	display:inline-block;
	font-weight:bold;
}

.block1
{
	background-color:#F5F5F5;
}

.block2
{
	background-color:#ccc;
	background-image:url(/robertpearson/images/hero1.jpg);
	background-size: cover;
	background-position: center center;
	background-attachment:fixed;
	color:#fff;
}

.block3
{
	background-color:#333;
	color:#fff;
}

.block2 h1, .block2 h2, .block2 h3, .block2 a
{
	color:#fff;
}

.header
{
	height:130px;
	z-index:999;
	border-top:solid 2px #006CA0;
}

.logo
{
	float:left;
	padding-top:20px;
}

.call
{
	float:right;
	text-align:right;
	padding-top:25px;
}

.call h2
{
	margin-bottom:0px;
}

.call h3
{
	font-size:16px;
}

.hero-gallery
{
	/*height:calc(100vh - 100px);*/
	height:400px;
}

.hero-gallery .gallery-cell
{
	width:100%;
	height:400px;
	background-size: cover;
	background-position: center center;
}

.hero-gallery .gallery-cell .herocontent
{
	position:absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-khtml-transform: translateY(-50%);
	transform: translateY(-50%);
	margin:0;
	width:100%;
	text-align:center;
}

.hero-gallery .gallery-cell .herocontent h1
{
	font-size:36px;
	color:#fff;
}

.hero-gallery .gallery-cell .herocontent p
{
	color:#fff;
	font-size:18px;
	max-width:900px;
	margin:auto;
	margin-bottom:20px;
}

.gallery-cell
{
	width:100%;
}

.simple-gallery .gallery-cell
{
  width: 33%;
}

.linkblack
{
	display:inline-block;
	border:solid 2px #fff;
	padding:10px 20px;
	font-size:18px;
	color:#fff;
	transition: all .2s ease-in-out;
}

.linkblack:hover
{
	background-color:#fff;
	color:#000;
}

.linkwhite
{
	display:inline-block;
	border:solid 2px #000;
	padding:10px 20px;
	font-size:18px;
	color:#000;
	transition: all .2s ease-in-out;
}

.linkwhite:hover
{
	background-color:#000;
	color:#fff;
}


a img { transition: all .4s ease-in-out; }
a img:hover { transform: scale(1.1); }

.herosml
{
	background-color:#008DD3;
	padding-top:30px;
	padding-bottom:10px;
	margin-bottom:50px;
}

.herosml h1
{
	color:#fff;
    font-size:24px;
}

.break
{
	margin-top:2%;
	margin-bottom:2%;
	height:1px;
	background-color:#eee;
	clear:both;
}

.breakclean
{
	height:1px;
	clear:both;
}

#map
{
	width:100%;
	height:300px;
	margin:auto;
	position:relative;
	
}

.mapwrap
{
	position:relative;
}

.footer
{
	background-color:#006CA0;
	color:#fff;
	box-shadow: 0px -5px 10px rgba(0,0,0,0.2);
}

.footer a
{
	color:#fff;
}

.featuretext
{
	background-color:#eee;
	padding:15px;
	margin-top:-35px;
	-moz-border-radius:0px 0px 10px 10px; 
	-webkit-border-radius: 0px 0px 10px 10px;  
	border-radius: 0px 0px 10px 10px; 
}

.imgfloatleft
{
	float:left;
	margin-right:2%;
}

.imgfloatright
{
	float:right;
	margin-left:2%;
}

/* Custom */

.box-2 .box
{
  width:48%;
	float:left;
	margin-right:2%;
	margin-bottom:2%;
}

.lsimage
{
  float:left;
  margin-bottom:20px;
  margin-right:20px;
}

ol
{
  margin-bottom:20px;
}

.counterlist
{
  counter-reset: start 9;
  list-style-type:none;
}

.counterlist li:before 
{
  content: counter(start) ". "; counter-increment: start
}


table tr
{
  border:1px solid #666;
}

/*NAVIGATION*/

.nav
{
	font-size:14px;
	text-transform:uppercase;
	background-color:#006CA0;
	font-weight:bold;
}

#nav-trigger
{
	display:none;
	text-align:center;
	float:right;
	position:absolute;
	top:25px;
	right:20px;
}

#nav-trigger span
{
	background-color:#006CA0;
	color:#fff;
	cursor:pointer;
	display:inline-block;
	padding:15px;
	text-transform:uppercase;
}

#nav-trigger span:hover
{
	background-color:#008DD3;
}

nav#nav-main
{
	padding:0px 0;
}

nav#nav-main ul
{
	list-style-type:none;
	margin:0;
	padding:0;
	text-align:left;
	background-color:#006CA0;
}

nav#nav-main li
{
	border-right:solid 0px #000;
	display:inline-block;
	padding:0 0px;
}

nav#nav-main li:last-child
{
	border-right:none;
}

nav#nav-main a
{
	color:#fff;
	display:block;
	padding:13px 20px;
	transition: all .2s ease-in-out;
}

nav#nav-main a:hover
{
	background-color:#008DD3;
	color:#fff;
	
}

nav#nav-mobile
{
	display:none;
	position:relative;
	z-index:9999;
}

nav#nav-mobile ul
{
	background-color:#333;
	display:none;
	left:0;
	list-style-type:none;
	margin-left:auto;
	margin-right:auto;
	position:absolute;
	right:0;
	text-align:center;
}

nav#nav-mobile li
{
	border-bottom:solid 1px #222;
	display:block;
	margin:0 0px;
	padding:0px 0;
}

nav#nav-mobile li:last-child
{
	border-bottom:none;
}

nav#nav-mobile a
{
	color:#fff;
	display:block;
	padding:10px 30px;
}

nav#nav-mobile a:hover
{
	background-color:#fff;
	color:#000;
}


a img { transition: all .2s ease-in-out; }
a img:hover { transform: scale(1.1); }


@media only screen and (max-width: 1152px) {
	#nav-trigger
	{
		display:block;
	}
	
	nav#nav-main
	{
		display:none;
	}
	
	nav#nav-mobile
	{
		display:block;
	}
}

@media only screen and (max-width: 1000px) {
	
	.hero-gallery .gallery-cell .herocontent h1
	{
		line-height:70px;
	}
	
}

@media only screen and (max-width: 800px) {
	
	
	.hero-gallery .gallery-cell .herocontent h1
	{
		font-size:32px;
		color:#fff;
	}
	
	.hero-gallery .gallery-cell .herocontent
	{
		padding-left:60px;
		padding-right:60px;
	}
}

@media only screen and (max-width: 600px) {
	
	
	.imgfloatright
	{
		float:none;
		margin-right:0px;
	}
	
	.imgfloatleft
	{
		float:none;
		margin-left:0px;
	}
	
	.logo
	{
		width:240px;
		margin-top:15px;
	}
  
  .box-2 .box
  {
    width:100%;
		float:none;
  }
}


