/*
Theme Name: Pinewood Theme
Description: Pinewood Theme.
Author: Ally Gillespie
Version: 1.0
*/

/* CSS Document */

*, html {
	margin:0px; padding:0px;
}

body {
	background: #efefef;
	font-family: 'Open Sans', sans-serif !important;
}

.clear {
	clear:both;
}
article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}

html{font-size:100%;overflow-y:scroll;-webkit-overflow-scrolling:touch;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}

body{margin:0;font-size:13px;line-height:1.231}

h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,cite,code,del,dfn,em,i,img,q,s,samp,small,strike,strong,sub,sup,tt,var,dd,dl,dt,li,ol,ul,fieldset,form,label,legend,button,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;font-style:normal;font-size:100%;line-height:1;font-family:inherit}

a{color:#00e;outline:0}

a:visited{color:#551a8b}

a:hover,a:active,a:focus{outline:0}

abbr[title]{border-bottom:1px dotted}

b,strong{font-weight:700}

blockquote{margin:1em 0}

dfn{font-style:italic}

hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}

ins{background:#ff9;color:#000;text-decoration:none}

mark{background:#ff0;color:#000;font-style:italic;font-weight:700}

pre,code,kbd,samp{font-family:monospace,monospace; font-family:'courier new',monospace;font-size:1em}

pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}
q{quotes:none}
q:before,q:after{content:"";content:none}
small{font-size:85%}
sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
sup{top:-.5em}
sub{bottom:-.25em}
ul,ol{margin:1em 0;padding:0 0 0 40px}
dd{margin:0 0 0 40px}
nav ul,nav ol{list-style:none;margin:0;padding:0}
img{border:0;-ms-interpolation-mode:bicubic}

html{background:#666666;}
img{max-width:100%}


img.alignright {float:right; margin:0 0 1em 1em; padding-left:40px;}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
.alignright {float:right; }
.alignleft {float:left; }
.aligncenter {display: block; margin-left: auto; margin-right: auto}

.left {
	float:left;
}
.right {
	float:right;
}

/* -----------   start design code ------------ */




.top-bar {
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}
.top-bar {
	height: 35px;
	z-index: 1002;
	line-height: 35px;
	color: #989898;
	background-color: #3f3f3f;
	background-image: url('images/navigation_bg.png'), url('images/navigation_line.png') !important;
}
.container {
	width:880px;
	margin:0 auto;
}

.header-contact-info {
	font-size:12px;
	color:#fff;
	float:left;
}

header {
	height:100px;
	background-color:#565581;
	width:100%;
	z-index: 10000000;
}
	.brand {
		display:block;
		width:130px;
		float:left;
	}

.nav-collapse {
	float:right;
}

.navright {
	float: right;
	display: block;
}

nav ul ul {
	display: none;
    width: 190px;
}

	nav ul li:hover > ul {
		display: block;
	}


nav ul {
	list-style: none;
	position: relative;
	display: inline-table;
}
	nav ul:after {
		content: ""; clear: both; display: block;
	}

	nav ul li {
		float: left;
	}
		nav ul li:hover {
		}
			nav ul li:hover a {
				color: #fff;
			}

nav ul li a {
	text-transform: uppercase;
	height:92px;
	display: block;
	min-width:50px;
	padding:0 5px;
	text-align: center;
	line-height:92px;
	color:#fff !important;
	text-decoration: none;
}

.small nav ul li a {
	height:50px;
	line-height: 50px;
	border-bottom:0px !important;
}

.small nav ul li a:hover {
	border-bottom:0px !important;
}

.small nav ul li.current_page_item {
	border-bottom:0px !important;
}

.small nav ul ul {
	margin-top:0px;
}

nav ul ul {
		background: #212121; border-radius: 0px; padding: 0;
		position: absolute; top: 100%;
	}
		nav ul ul li {
			float: none; 

				margin:0px !important;
		}
			nav ul ul li a, .small nav ul ul li a {
				color: #818181 !important;
				border-right: 0px;
				height:40px;
				line-height:40px;
				text-align: left;
				padding-left:10px;
				padding-right:10px;
				text-transform:  none;

			}	
				nav ul ul li a:hover {
					background: #4b545f;
					color:#fff !important;
					border-bottom:0px !important;
				}
		
	nav ul ul ul {
		position: absolute; left: 100%; top:0;
	}

	nav ul li a:hover {
	border-bottom:8px solid #fff;
	background-color: #585689;
	color:#fff;
}
nav ul li.current_page_item {
	background-color:#565581;
	border-bottom:8px solid #fff;
}



.nav-active-arrow {
	position: absolute;
	width: 0;
	height: 0;
	border-top:22px solid #585689;
	border-right:22px solid transparent;
	bottom: 0;
	top: 92px;
	left: 0;
	margin-left: auto;
	z-index: 30;
}

.slider {
	background:url(images/slider.jpg) no-repeat center;
	display: block;
	position: relative;
	z-index: 1;
	width: 100%;
	height:320px;
}

.slidersmall {
	background:url(images/slider.jpg) no-repeat center;
	display: block;
	position: relative;
	z-index: 1;
	width: 100%;
	height:230px;
}

.bubble {
	position: relative;
	z-index:10;
	margin-top:-80px;
	width: 100%;
	height: 80px;
	padding: 0px;
	bottom: 0;
	color:#fff;
	
	/* COLOR */
	background: #585689; /* Old browsers */
	background: -moz-linear-gradient(top,  #585689 0%, #565486 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#585689), color-stop(100%,#565486)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #585689 0%,#565486 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #585689 0%,#565486 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #585689 0%,#565486 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #585689 0%,#565486 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#585689', endColorstr='#565486',GradientType=0 ); /* IE6-9 */
	background-repeat: no-repeat, no-repeat, repeat-x;
	background-position: left, right, top;
		
	/* Animation */
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.bubble h4 {
	padding: 0 22px 0 0px;

	line-height: 80px;
	margin: 0 0 0 0 !important;
	font-weight: normal;
	color: #fff !important;
	text-shadow: 1px 1px #565486;
}



.bubble-stripes {
	position: absolute;
	width: 100%; 
	height: 10px;
	margin-top: 0px;
	background: #EFEFEF url('images/stripes-divider.png') repeat-x;
}

.tparrows {
	display: none !important;
	width: 32px !important;
	height: 52px !important;
	background: url('images/bg_direction_nav.png') no-repeat 0 0 !important;
	cursor: pointer !important;
	z-index: 100 !important;
	outline: 0 !important;
}

.tp-rightarrow {
	background-position: 100% 0 !important;
}

.header-socials {
	float:right;
}

.header-socials i {
	margin-left:10px;
}

.header-socials a {
	color:#fff;
	text-decoration: none;
	font-size: 18px;
}
.header-socials a:hover {
	color:#565486;
}

.bubble .btn {

	margin: 20px 35px 0px 0px;
	background-color: hsl(201, 0%, 87%) !important;
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f7f7f7", endColorstr="#dddddd");
	background-image: -khtml-gradient(linear, left top, left bottom, from(#f7f7f7), to(#dddddd));
	background-image: -moz-linear-gradient(top, #f7f7f7, #dddddd);
	background-image: -ms-linear-gradient(top, #f7f7f7, #dddddd);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f7f7f7), color-stop(100%, #dddddd));
	background-image: -webkit-linear-gradient(top, #f7f7f7, #dddddd);
	background-image: -o-linear-gradient(top, #f7f7f7, #dddddd);
	background-image: linear-gradient(#f7f7f7, #dddddd);
	border-color: #dddddd #dddddd hsl(201, 0%, 84.5%);
	color: #333 !important;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.16);
	-webkit-font-smoothing: antialiased;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
	-webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
	-moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
	box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}


.btn-padded {
	padding: 12px 48px;
}

.content {
	margin-top:60px;
}
.features {
	width: 186px;
	float:left;
	background: transparent;
	text-align: center;
	padding: 22px 22px 22px 22px;
	margin-bottom: 40px;
	position: relative;
	margin-right:12px;
}

.feature-last {
	margin-right:0px !important;
}
.features h4 {
	margin-bottom:10px;
}
.features p {
	line-height:160%;
}
.features-triangle {
	position: absolute;
	width: 0;
	height: 0;
	border-top: 30px solid #fff;
	border-right:30px solid transparent;
	margin-top: 22px;
	left: 0;
	opacity: 0;
}


.features-circle {
	height: 70px;
	width:70px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 70px;
	background: #535252;
	margin-bottom: 22px;
	-moz-box-shadow:    inset 0 0 15px #222;
	-webkit-box-shadow: inset 0 0 15px #222;
	box-shadow:         inset 0 0 15px #222;
	line-height: 68px;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}


.features-circle img, 
.features-circle i {
	line-height: 73px;
	font-size: 28px;
	color: #fafafa;
}



.features:hover .features-circle {
	height: 70px;
	width:70px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 70px;
	background: #565486;
	margin-bottom: 22px;
	transform:rotate(360deg);
	-ms-transform:rotate(360deg); /* IE 9 */
	-moz-transform:rotate(360deg); /* Firefox */
	-webkit-transform:rotate(360deg); /* Safari and Chrome */
	-o-transform:rotate(360deg); /* Opera */
	-moz-box-shadow:    inset 0 0 15px #35326c;
	-webkit-box-shadow: inset 0 0 15px #35326c;
	box-shadow:         inset 0 0 15px #35326c;
	line-height: 68px;
}

.features-active h4 {
	-webkit-transition: all 0.5s ease-in;
	-moz-transition: all 0.5s ease-in;
	-o-transition: all 0.5s ease-in;
	transition: all 0.5s ease-in;
}

.features-active:before {
	top:10px;
	bottom:10px;
	left:0;
	right:50%;
	-moz-border-radius:200px / 10px;
	box-shadow:20px 0 10px #d3d0cb;
	border-radius:100px / 10px;
	top:50;
	bottom:50;
	left:12px;
	right:12px;
	-moz-border-radius:10px / 100px;
	border-radius:20px / 100px;
}

.features-active {
	background: #fff !important;
}

.features-active .features-triangle {
	opacity: 1;
}

.features-active .features-circle {
	background: #565486;
	-moz-box-shadow:    inset 0 0 15px #35326c;
	-webkit-box-shadow: inset 0 0 15px #35326c;
	box-shadow:         inset 0 0 15px #35326c;
}

.clearbig {
	display: block;
	height:100px;
	width:100px;
}

.clear {
	clear:both;
}

.sub-footer p {
	color:#868686;
}
.sub-footer h5 {
	color: #fff !important;
	border-bottom: 1px dashed #555;
}
.sub-footer ul {
	list-style: none;
	margin: 0;
}

.sub-footer ul li a {
	display: block;
	font-size: 12px;
	font-style: italic;
	font-weight: normal;
	color: #989898;
	padding: 10px 0 10px 0;
	background: url('assets/img/line_divider.png') repeat-x bottom;
}

.sub-footer ul li:last-child a {
	background: none;
}

.span3 {
	padding-top:60px;
	width:210px;
	float:left;
	margin-right:30px;
	padding-bottom: 20px;
}

.span3 p {

	line-height: 150%;
}

.sub-footer-last{
	margin-right:0px;
}
h1, h2, h3, h4, h5, h6 {
    margin: 10px 0;
    font-family: inherit;
    font-weight: bold;
    line-height: 20px;
    color: inherit;
    text-rendering: optimizelegibility
}

h2 {
	color:#565581;
	font-size:16px;

}
.sub-footer h5 {
	color: #fff !important;
	border-bottom: 1px dashed #555;
}

.sub-footer p {
	color: #989898;
}


.sub-footer a:hover {
	font-style: normal;
	font-weight: 600;
	color: #86c543;
}

.sub-footer a {
	color: #fff;
	font-weight: 600;
}

.sub-footer input, 
.sub-footer textarea {
	background: #333 !important;
	padding-left: 12px !important;
	border: none !important;
	font-size: 12px !important;
	color: #999 !important;
	width: 100%;
	border: 1px solid transparent !important;
}

.sub-footer input:hover, 
.sub-footer textarea:hover {
	border: 1px solid #555 !important;
}

.sub-footer input:focus, 
.sub-footer textarea:focus {
	border: 1px solid #666 !important;
	color: #eee !important;
}

.sub-footer ::-webkit-input-placeholder { 
	color: #666 !important; 
}

.sub-footer :-moz-placeholder { 
	color: #666 !important; 
}

.sub-footer ::-moz-placeholder { 
	color: #666 !important; 
}

.sub-footer :-ms-input-placeholder { 
	color: #666 !important; 
}



.bold-heading {
	font-family: 'oswald';
	font-size: 30px;
	height: 80px;
	color:#585885;
	line-height: 80px;
	letter-spacing: -1px;
	padding-top: 20px;
}

textarea{
	border:0px;
	padding:5px;
	height:100px;
	width:279px;
}



.aginner {
	width:880px;
	margin:-10px auto 0px;
}

.aginnersmall {
	width:880px;
	margin:0px auto 0px;
}

.agcontent {
	margin-top:-50px;
	clear:clear;
	padding-top:20px;
	width:620px;
	display: block;
	float:left;
}
.agcontent p {
	margin-bottom: 15px;
}

.agcontent a {
	color:#565582;
	text-decoration: none;
	font-weight: bold;
}

.agsearch {
	display: block;
	float:left;
	margin-left:20px;
	width:240px;
	border:0px solid #000;
	margin-top:-30px;
}

.agsearch  input[type=text], .agsearch  input[type=email]  {
	border:0px;
	padding:5px;
	margin-bottom:5px;
}

.agsearch input[type=submit] {
	float:right;
	border:0px;
	padding:5px 10px;
	width:100px;
	margin-top:10px;
}

.agsearch strong {
	color:#565582;
	display: block;
	margin-bottom: 10px;
}
.agsearch li {
	list-style: none;
}

.agspan {
	display: block;
	height:22px;
	margin-bottom: 5px;
	line-height:22px;
}

.agcontent {
	font-size:14px;
}

.agcontent p {
		line-height:140% !important;

}
.agcontent a:hover {
	text-decoration: underline;
}
.aginnerinnner {
	width:700px;
	margin-top:-30px;
	margin-left:60px;
}

.smalltop {
	postion:fixed;
	top:0px;
	height:30px;
	background-color: #000;
}

.footerblob {
	width:100%;
	min-height:270px;
	background-color: #666;
}

.footerblobbox {
	color:#fff;
	float:left;
	width:210px;
	border:0px solid #fff;
	margin-right:10px;
}

.footerblobboxinner {
	width:880px;
	margin:0px auto;
	padding-top:30px;
}

.last {
	margin-right:0px !important;
}

.staffmember {
	float:left;
	width:92px;
	display: block;
	margin-right:10px;
	margin-bottom:10px;
	font-size: 10px;
}

.staffmember img {
	width:92px;
	height:auto;
	margin-bottom: 4px;
}

input[type=text], input[type=email], input[type=tel] {
	padding:5px;
	font-size:12px;

	border:1px solid #999;
}


input[type=submit] {
	background-color: #595789;
	outline:0px;
	border:0px;
	color:#fff;
	padding:10px 20px;
}
textarea {
	width:304px;
	font-family: inherit !important;
	font-size:12px;
	padding:5px;
	border:1px solid #999;
}

.footerblobbox a {
	color:#fff;
	text-decoration:none;
}

.footerblobbox a:hover {
	text-decoration: underline;
}
.agcontent li {
	margin-bottom: 4px;
}

nav .handle {
	display: none;
}

.mobile-test {
	display: none;
	
}

header a {
	cursor: pointer;
}

.desktop_size {
		display: block;
	}
	.mobile_size {
		display: none;
	}

@media only screen and (max-width: 860px) {
	
	.desktop_size {
		display: none;
	}
	.mobile_size {
		display: block;
	}
	.mobile-clear {
		height:0px !important;
	}
	header li {
    margin-right: 0 !important;
	}
	
	header li a {
    	color:#fff !important;
	}
	header li a:active, header li a:visited, header li a:focus {
    	background: #585689 !important;
	}
	header .sub-menu a {
		padding-left:40px !important;
	}
	header.large img {
    width: 104px !important;
    height: 80px !important;
}
	
	header {
		position: relative !important;
		height:80px !important;
	}
	.brand {
		display: block;
		width: 104px;
		height: 80px;
		float: left;
	}
	.brand img {
		width:104px !important;
		height:80px !important;
	}
	.mobile-test {
		display: block;
	}
	.old-desktop {
		display: none;
	}
	
	.top-bar .container {
		width:90%;
		margin:0 auto;
	}
	.aginner {
	width:100%;
		margin-top:0px;
}
.slider {
	height:auto;
}
	.bubble {
		margin-top:0px;
		z-index: 1;
	}
.bubble head-bubble div {
	width:100%;
}
	.head-bubble h4 {
		font-size: 16px !important;
	}
	.head-bubble a {
		display:none;
	}
	
	.bubble > div {
		width:90% !important;
		margin: 0 auto;
	}
	.footer-bubble .bubble .btn {
		margin:0px;
		background-color:transparent !important;
		background-image:none;
		border-color:transparent !important;
		box-shadow: none;
		color:#ffffff !important;
		font-weight:bold;
	}
	
	.footerblobbox {
		width:100%;
	}
	.footer-bubble .btn-padded {
		padding:0px;
		padding: 0 22px 0 0px;
    line-height: 80px;
	
	}
.container {
	width:100%;
}
.content {
    margin-top: 0px;
}
.agcontent {
	width:90%;
	float:none;
	margin:0 auto;
	padding-bottom:30px;
}

.agsearch {
	text-align:center;
	width:100%;
	margin-top:0px;
	margin-left:0px;
}

.footerblobboxinner {
	width:90%;
	margin:0 auto;
}
	.clearbig {
		width:100%;
		height:50px;
	}
	.footerblob {
		min-height: 360px;
	}

	#header-menu {
		z-index: 1000;
		background-color: #6e6da2;
	}
}

.header {
  background-color: #585689;
  position: fixed;
  width: 100%;
  z-index: 3;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #585689;
}

.header li a {
  display: block;
  padding: 20px 20px;
  text-decoration: none;
}

.header li a:hover,
.header .menu-btn:hover {
  background-color: #f4f4f4;
}

.header .logo {
  display: block;
  float: left;
  font-size: 0em;
  text-decoration: none;
}

/* menu */

.header .sf-menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

/* menu icon */

.header .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 38px 20px;
  position: relative;
  user-select: none;
}

.header .menu-icon .navicon {
  background: #fff;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #fff;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .sf-menu {
  max-height: 150vh;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/* 48em = 768px */

@media (min-width: 860px) {
  .header li {
    float: left;
  }
  .header li a {
    padding: 20px 30px;
  }
  .header .sf-menu {
    clear: none;
    float: right;
    max-height: none;
  }
  .header .menu-icon {
    display: none;
  }
}