/*
Theme Name: FH2
Theme URI: http://underscores.me/
Author: Planet Studio, LLC
Author URI: https://planetstudio.com/
Description: A custom theme for the law firm Friend, Hudak and Harris.
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: fh2
Domain Path: /languages/
Tags:

This theme, like WordPress, is licensed under the GPL.

Use it to make something cool, have fun, and share what you've learned with others.

 my-simone is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/


/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Reset
2.0 - Typography
3.0 - Elements
4.0 - Forms
5.0 - Navigation
	5.1 - Links
	5.2 - Menus
6.0 - Accessibility
7.0 - Alignments
8.0 - Clearings
9.0 - Widgets
10.0 - Content
	10.1 - Posts and pages
	10.2 - Asides
	10.3 - Comments
11.0 - Infinite scroll
12.0 - Media
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 - Reset
--------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
	-webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
	-moz-box-sizing:    border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
	box-sizing:         border-box;
}
body, html {
	height: 100%;
	}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active {
	outline: 0;
}
a img {
	border: 0;
}

.page-template-page-noside-php #content{
	background-color: #ffffff;
	width: 100%;
	max-width: 1024px;
	margin: 0px auto;
	padding: 10px 40px;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #212427;
	font-family: 'Lato', 'Arial', sans-serif;
	font-weight: 400;
	font-size: 18px;
	font-size: 1.8rem;
	line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
}
#primary h1 {
	color: #477D8B;
	font-family: 'Lato', 'Arial', sans-serif;
	font-weight: 200;
	font-size: 40px;
	font-size: 4rem;
	display: none;
}
#primary h2{
	color: #477D8B;
	font-family: 'Lato', 'Arial', sans-serif;
	font-weight: 300;
	font-size: 40px;
	font-size: 4rem;
	line-height: 4.8rem;
}

.parent-pageid-1814 #primary h2{
	font-weight: 300;
	border-bottom: 1px solid #588e9b;
}

.parent-pageid-1814 #primary h2:after{
	
}

.page-id-1747 {
	height: 100%;
	background-image: url(images/footback.jpg);
	background-repeat: no-repeat;
	background-size: 100% 50%;
	background-position: center bottom;
}


#primary h3{
	color: #588e9b;
	font-family: 'Lato', 'Arial', sans-serif;
	font-weight: 300;
	font-size: 22px;
	font-size: 2.2rem;
	line-height: 35px;
	margin: -12px 0 30px;
}
p, a {
	/*margin-bottom: 0.5em;*/
	font-family: 'Lato', 'Arial', sans-serif;
	line-height: 1.4em;
}

.entry-content p {
	margin-bottom: 1.2em;
}

.entry-content p#no-margin {
	margin-bottom: 0;
}

.page-id-1857{
	font-size: 16px;
}


b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}

/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}

/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in IE6/IE7 */
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #ccc;
	border-color: #ccc #ccc #bbb #ccc;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa #bbb;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
	color: #477D8B;
	text-decoration: none;
	font-family: 'Lato', Arial, sans-serif;
	font-size: inherit;
}

a:visited {
	color: #477D8B;
}
a:hover,
a:focus,
a:active {
	text-decoration: underline;
	color: midnightblue;
}


/*--------------------------------------------------------------
X.X Header
---------------------------------------------------------------*/

.site-header {
	background-color: #ffffff;
}

.header-image{
	float: left;
	width: 300px;
}

.site-branding{
	overflow: auto;
	padding: 40px 20px 10px;
	max-width: 1024px;
	margin: auto;
}

.site-title{
	display: none;
}

.site-description{
	font-family: 'Lato', sans-serif;
	font-weight: 300;
	font-size: 24px;
	font-size: 2.4rem;
	color: #212427;
	width: 200px;
	float: right;
	text-align: right;
	/* margin-left: 40%; */
	clear: none;
	padding-top: 2px;
}


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

.site-description{
	float: left;
	clear: both;
	font-size: 19px;
	font-size: 1.9rem;
	text-align: left;
	margin-top: -10px;
}

.metaslider{
	display: none;
}



}


/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
.main-navigation {
    position: relative;
    float: left;
    width: 100%;
    display: block;
    clear: both;
    font-family: 'Lato', sans-serif;
    background-color: #faa74a;
    
}

.main-navigation ul {
	list-style: none;
	max-width:	1024px;
	margin: 0 auto;
	padding-left: 0;
}
.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
    display: block;
    padding: 1em 20px;
    font-size: 16px;
    font-size: 1.6rem;
    text-decoration: none;
    line-height: 1.3em;
    color: #212427;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
}
.main-navigation ul ul {
    position: absolute;
    left: 0;
    z-index: 99999;
    display: none;
    float: left;
    padding: 0;
    background-color: #7099a6;
    
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
	background-color: #588e9b;
}
.main-navigation ul ul a {
	width: 220px;
}

.main-navigation ul ul li {
}

.main-navigation li:hover > a {
    color: #fff;
    color: hsl(0, 0%, 100%);
    background-color: #7099a6;
 
}
.main-navigation ul ul :hover > a {
}

.main-navigation ul ul a:hover {
    background-color: #faa74a; 
}

.main-navigation ul li:hover > ul {
	display: block;
	width: 440px;
}


.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a:hover,
.main-navigation .current-menu-item > a:hover,
.main-navigation .current_page_ancestor > a {
    background-color: white;
    color: #313131;
    color: hsl(0, 0%, 19%);
}

.main-navigation .current_page_ancestor {
    background-color: #fff;
    
}

.main-navigation ul ul .current_page_parent,
.main-navigation .current_page_parent .current_page_item > a {
    color: #fff;
    color: hsl(0, 0%, 100%);
    background-color: #313131;
    background-color: hsl(0, 0%, 19%);
} 
/* Small menu */
.menu-toggle {
	cursor: pointer;
	display: none;
}



/*//////////////////////////// Custom photos for menu items /////////////////////// */

#menu-item-1854 > a{
	background-image: url(images/friend.jpg);
	background-repeat: no-repeat;
	background-position: 10px center;
	padding-left: 60px;
}

#menu-item-1853 > a{
	background-image: url(images/1853.jpg);
	background-repeat: no-repeat;
	background-position: 10px center;
	padding-left: 60px;
}

#menu-item-1852 > a{
	background-image: url(images/1852.jpg);
	background-repeat: no-repeat;
	background-position: 10px center;
	padding-left: 60px;
}

#menu-item-1851 > a{
	background-image: url(images/1851.jpg);
	background-repeat: no-repeat;
	background-position: 10px center;
	padding-left: 60px;
}

#menu-item-1850 > a{
	background-image: url(images/1850.jpg);
	background-repeat: no-repeat;
	background-position: 10px center;
	padding-left: 60px;
}

#menu-item-1849 > a{
	background-image: url(images/1849.jpg);
	background-repeat: no-repeat;
	background-position: 10px center;
	padding-left: 60px;
}

#menu-item-1848 > a{
	background-image: url(images/1848.jpg);
	background-repeat: no-repeat;
	background-position: 10px center;
	padding-left: 60px;
}

#menu-item-1847 > a{
	background-image: url(images/1847.jpg);
	background-repeat: no-repeat;
	background-position: 10px center;
	padding-left: 60px;
}

#menu-item-1846 > a{
	background-image: url(images/1846.jpg);
	background-repeat: no-repeat;
	background-position: 10px center;
	padding-left: 60px;
}

#menu-item-1845 > a{
	background-image: url(images/1845.jpg);
	background-repeat: no-repeat;
	background-position: 10px center;
	padding-left: 60px;
}

#menu-item-1844 > a{
	background-image: url(images/pat.jpg);
	background-repeat: no-repeat;
	background-position: 10px center;
	padding-left: 60px;
}

#menu-item-2929 > a{
	background-image: url(images/2929.jpg);
	background-repeat: no-repeat;
	background-position: 10px center;
	padding-left: 60px;
}

#menu-item-3268 > a{
	background-image: url(images/3268.jpg);
	background-repeat: no-repeat;
	background-position: 10px center;
	padding-left: 60px;
}

#menu-item-3390 > a{
	background-image: url(images/3390.jpg);
	background-repeat: no-repeat;
	background-position: 10px center;
	padding-left: 60px;
}

#menu-item-3737 > a{
	background-image: url(images/3737.jpg);
	background-repeat: no-repeat;
	background-position: 10px center;
	padding-left: 60px;
}

#menu-item-3877 > a{
	background-image: url(images/3877.jpg);
	background-repeat: no-repeat;
	background-position: 10px center;
	padding-left: 60px;
}


#menu-item-3871 > a{
       background-image: url(images/3871.jpg);
       background-repeat: no-repeat;
       background-position: 10px center;
       padding-left: 60px;
}

#menu-item-3921 > a{
	background-image: url(images/3921.jpg);
	background-repeat: no-repeat;
	background-position: 10px center;
	padding-left: 60px;
}

#menu-item-4008 > a {
	background-image: url(images/4008.jpg);
	background-repeat: no-repeat;
	background-position: 10px center;
	padding-left: 60px;
}

#menu-item-4016 > a {
	background-image: url(images/4016.jpg);
	background-repeat: no-repeat;
	background-position: 10px center;
	padding-left: 60px;
}

#menu-item-4044 > a {
	background-image: url(images/4044.jpg);
	background-repeat: no-repeat;
	background-position: 10px center;
	padding-left: 60px;
}

#menu-item-4156 > a {
	background-image: url(images/4156.jpg);
	background-repeat: no-repeat;
	background-position: 10px center;
	padding-left: 60px;
}

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

.parent-pageid-1814, .page-id-1814, .parent-pageid-1710, .page-id-1710, .page-id-174, .page-id-146, #page {
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center 50px;
}

.parent-pageid-1814 .site-branding, .page-id-1814 .site-branding, .parent-pageid-1710 .site-branding, .page-id-1710 .site-branding, .page-id-174 .site-branding, .page-id-146 .site-branding {
	display: none;
}

.parent-pageid-1814 #content, .page-id-1814 #content{
	background-color: transparent;
	padding-top: 250px;
}

 .parent-pageid-1710 #content, .page-id-1710 #content, .page-id-174 #content, .page-id-146 #content {
    background-color: transparent;
	padding-top: 200px;
 }


.page-id-1710 #page {
	background-size: contain;
	background-position: center 50px;
}

.page-template-page-noside-php #content{
	padding: 0;
}



} /* //////////////End media query ////////////////*/


/* ---------------------RESPONSIVE MENU------------------------- */

@media screen and (max-width: 600px) {
	.menu-toggle {
            display: block;
            height: 3.75em;
            padding: 0 1em;
            font-weight: normal;
            font-size: 14px;
            font-size: 1.4rem;
            text-decoration: none;
            line-height: 3.75em;
            color: white;
	}
	
	/*
.menu-toggle:before{
		content: '&#9776';
	}
*/
        
	.main-navigation.toggled .nav-menu {
		display: block;
		border-top: 1px solid;
		border-top-color: #fff;
		border-top-color: hsla(0, 0%, 100%, .5);
	}

	.main-navigation ul {
            display: none;
            padding-left: 0;
	}
	.main-navigation li { 
		float: none; 
	}

	.main-navigation li a { 
		padding: 1.3em 2em; 
	}

	.main-navigation li li a { 
		/* padding-left: 4em; */ 
	}

	.main-navigation li li li a { 
		/* padding-left: 6em; */ 
	}

	.main-navigation li:hover > a {
		background: #313131;
		background: hsl(0, 0%, 19%);
	}
	
	.main-navigation ul ul,
	.main-navigation ul ul ul {
		position: relative;
		top: inherit;
		left: 0;
		display: block;
		float: none;
		background: #588e9b;
	}
	
	.main-navigation ul ul li,
	.main-navigation ul ul ul li {
		border-bottom: 1px solid #fff;
	}
	
	.main-navigation ul ul a { width: 100%; }

	.main-navigation ul a:hover,
	.main-navigation ul ul a:hover {
		background: #4d4d4d;
		background: hsl(0, 0%, 30%);
	}

	.main-navigation .current_page_ancestor { background: inherit; }

	.main-navigation ul ul .current_page_parent {
		color: inherit;
		background: inherit;
	}

	.main-navigation .current_page_item > a,
	.main-navigation .current_page_item > a:hover,
	.main-navigation .current_page_item li:hover,
	.main-navigation .current_page_parent .current_page_item > a  {
		color: #313131;
		background-color: #fff;
	}
	
	.main-navigation ul ul.sub-menu{
		display: none;
	}
	
	.menu-item-has-children{
		background-image: url(images/arrow.png);
		background-repeat: no-repeat;
		background-position: 90% center;
		background-size: 20px;
	}
	
	.main-navigation ul li:hover > ul {
		width: 100%;
	}

	
} /*end responsive menu*/


.site-main .comment-navigation,
.site-main .paging-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}
.comment-navigation .nav-previous,
.paging-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}
.comment-navigation .nav-next,
.paging-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}


/* ----------------------- Social Menu -----------------------*/

.menu-social{
	float: left;
	overflow: auto;
	clear: none;
}

.menu-social ul {
    float: right;
    text-align: center;
    list-style: none; 
    margin: 0;   
}

.menu-social ul li {
    position: relative;
    display:  inline-block; 
    padding-top: 5px;   
}

.menu-social li a:before {
    display: inline-block;
    padding: 0 5px;
    vertical-align: top;
    font-family: 'Fontawesome';
    font-size: 20px;
    color: #ccc;
    -webkit-font-smoothing: antialiased;
    content: '\f0c0';
}

.menu-social li a[href*="facebook.com"]::before { content: '\f09a'; }

.menu-social li a[href*="twitter.com"]::before { content: '\f099'; }

.menu-social li a[href*="dribbble.com"]::before { content: '\f17d'; }

.menu-social li a[href*="plus.google.com"]::before { content: '\f0d5'; }

.menu-social li a[href*="pinterest.com"]::before { content: '\f0d2'; }

.menu-social li a[href*="github.com"]::before { content: '\f09b'; }

.menu-social li a[href*="tumblr.com"]::before { content: '\f173'; }

.menu-social li a[href*="youtube.com"]::before { content: '\f167'; }

.menu-social li a[href*="flickr.com"]::before { content: '\f16e'; }

.menu-social li a[href*="vimeo.com"]::before { content: '\f194'; }

.menu-social li a[href*="instagram.com"]::before { content: '\f16d'; }

.menu-social li a[href*="linkedin.com"]::before { content: '\f0e1'; }
    
 @media screen and (max-width: 600px) {
    .menu-social ul {
	    position: absolute;
        top: 0;
        right: 6rem;
        display: block;
    }
    
    .menu-social li a { 
        padding-left:.5em;
        padding-right: .5em;
    }
}                


/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignleft.wp-image-2705{
	margin-right: .3em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

#mobile-welcome-text{
	display: none;
}

@media screen and (max-width: 600px){
	#mobile-welcome-text{
		display: block;
		width: 100%;
	}
}


/*--------------------------------------------------------------
8.0 Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: '';
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}

#nav_menu-4, #nav_menu-5 {
	margin: 0 0 1.5em;
	background-color: #84b2c1;
	padding: 60px 20px 40px 0;
	border-bottom: 3px solid #1e4f5e;
	width: 100%;	
}

.callout_widget{
	margin-top: 40px;
}

.callout_widget a {
	display: inline-block;
	overflow: auto;
}

.callout_widget a:hover p {
	color: #212427;
	text-decoration: underline;
}

.callout_widget a img {
	width: 27%;
	display: block;
	float: left;
	margin-left: 5%;
	border: 3px solid #1e4f5e;
}

.callout_widget section{
	width: 65%;
	float: right;
}

.callout_widget section h3 {
	font-weight: bold;
	color: #D34617;
	font-size: 1.8rem;
	line-height: 1em;
}

.callout_widget section p{
	line-height: 1.2em;
	font-size: 1.4rem;
}



/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky {
}
.hentry {
	margin: 0 0 1.5em;
}
.byline,
.updated {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.page-content,
.entry-content,
.entry-summary {
	/* margin: 1.5em 0 0; */
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
.post-meta {
	display:none;
}

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}

/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.site-main .gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-main .gallery a img {
	border: none;
	height: auto;
	max-width: 100%;
}
.site-main .gallery dd,
.site-main .gallery figcaption {
	margin: 0;
}
.site-main .gallery-columns-4 .gallery-item {
}
.site-main .gallery-columns-4 .gallery-item img {
}
/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}



/*--------------------------------------------------------------
13.0 Footer
--------------------------------------------------------------*/

.site-footer{
	padding: 2em;
	background-color: #3a4347;
	color: #fff;
	font-family: 'Lato', 'Arial', sans-serif;
	
}

/*
.home .site-footer{
	position: fixed;
	bottom: 0;
}
*/

.site-info{
	max-width: 1024px;
	margin: auto;
	overflow: visible;
	font-family: 'Lato', 'Arial', sans-serif;
	font-weight: 400;
	font-size: 12px;
	font-size: 1.2rem;
	background-image: url('images/logo.png');
	background-repeat: no-repeat;
	line-height: 1em;
	padding-left: 120px;
	position: relative;
	height: auto;
}

.aga-info {
	align-items: flex-end;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	max-width: 1024px;
	margin: auto;
	overflow: visible;
	font-family: 'Lato', 'Arial', sans-serif;
	font-weight: 400;
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1em;
	margin-top: 20px;
	position: relative;
	text-align: right;
}

.aga-info p {
	font-size: 10px;
	max-width: 200px;
}

.aga-info img {
	display: block;
	flex-grow: 0;
	flex-shrink: 0;
	height: 42px;
	width: auto;
}

.site-info a{
	color: #fff;
	
}

.widget-title{
	font-weight: 800;
}

#footer-copyright{
	position: absolute;
	right: 0;
	bottom: 0;
}

#footer-copyright a{
	text-decoration: underline;
}

#text-4{
	position: fixed;
	top: 0; bottom: 0; right: 0; left: 0;
	margin: auto;
	width: 80%;
	max-width: 800px;
	overflow: auto;
	height: 260px;
	background-color: #efefef;
	padding: 40px;
	color: #313131;
	line-height: 1em;
	font-size: 1.4rem;
	background-image: url(images/close.png);
	background-repeat: no-repeat;
	background-position: 98% 9px;
	background-size: 20px;
	display: none;
	cursor: pointer;
}

#text-4 .widget-title{
	display: none;
}


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

	#footer-copyright{
		position: relative;
		font-size: 12px;
		display: block;
		text-align: left !important;
		float: left;
		padding-top: 15px;
	}

	#footer-copyright p {
		text-align: left !important;
	}

	.site-info {
		height: 190px;
	}
}

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

	.site-footer{
		padding: 10px;
	}
}

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



.site-info {
	font-size: 12px;
	font-size: 1.2rem;
	background-size: 80px;
	padding-left: 90px;
}

.aga-info {
	align-items: flex-start;
	padding-left: 90px;
	padding-top: 10px;
}

.aga-info p {
	text-align: left;
}

.widget {
	margin: 0;
}


}


#special-event {
	width: 275px;
	height: 300px;
	z-index: 9000;
	position: absolute;
	right: 2%;
	top: 2%;
}


@media only screen and (max-width: 800px){
	#special-event { display: none; }
}


/* Blog Archive */
.blog-archive {
    padding-bottom:40px;
}

.blog-archive__primary-content {

}

@media only screen and (min-width: 769px) {
    .blog-archive__primary-content {
        width:75%;
        float:left;
    }
}

.blog-archive:after {
    content: " ";
    display: table;
    clear:both;
}

@media only screen and (min-width: 769px) {
    .blog-archive__secondary-content {
        float:right;
        width:25%;
        padding-left:20px;
    }
}

.mailmunch-forms-widget-126704 {
    margin-top:-20px;
}


/* Blog Post */
.blog-post {
    margin-bottom:60px;
}

.blog-post--full {
    margin-bottom:24px;
}

.blog-post:after {
    content: " ";
    display: table;
    clear:both;
}

#primary .blog-post h3.blog-post__title {
    margin-bottom:0px;
    margin-top:0;
    font-size:18px;
    line-height:24px;
    margin-bottom:6px;
}

@media only screen and (min-width: 769px) {
    #primary .blog-post h3.blog-post__title {
        font-size:21px;
        line-height:27px;
    }
}

.blog-post__title {
    margin-bottom:6px;
}


@media only screen and (min-width: 769px) {
    .blog-post__entry {
        width:75%;
        float:left;
    }
    .blog-post__sidebar {
        width:25%;
        padding-left:20px;
        float:right;
    }
}

#primary .blog-post h3.blog-post__title {
    color:#fff;
}

#primary .blog-post .blog-post__header--lg h2.blog-post__title {
    font-size:24px;
    line-height:30px;
    color:#fff;
}

@media only screen and (min-width: 769px) {
    #primary .blog-post .blog-post__header--lg h2.blog-post__title {
        font-size:36px;
        line-height:42px;
    }
}

.blog-post .blog-post__meta {
    font-size:14px;
    line-height:24px;
    transition: color 100ms ease-out;
    -webkit-transition: color 100ms ease-out;
    color:#fff;
}

.blog-post .blog-post__header-title-meta {
    background-color:rgba(58,67,71,0.9);
    position:absolute;
    bottom:0px;
    padding:24px 48px 24px 20px;
    max-width:100%;
    box-shadow:inset 0 -6px 0 rgba(30,33,35,0.2);
    transition:bottom 100ms ease-out,
                background-color 100ms ease-out,
                color 100ms ease-out;
    -webkit-transition:bottom 100ms ease-out,
                    background-color 100ms ease-out,
                    color 100ms ease-out;
}

@media only screen and (min-width: 769px) {
    .blog-post .blog-post__header-title-meta {
        bottom:24px;
        padding:24px 48px 24px 20px;
        max-width:80%;
    }
}

.blog-post .blog-post__author-avatar {
    width:48px;
    height:48px;
    position:absolute;
    right:-12px;
    bottom:24px;
}

.blog-post .blog-post__author-avatar img {
    border-radius:50% 50%;
    box-shadow:0 3px 0 rgba(47,53,56,0.9);
}

.blog-post__header {
    background-repeat: no-repeat;
    background-size: cover;
    position:relative;
    height:240px;
    background-color:#588e9b;
}

.blog-post__header:hover .blog-post__header-title-meta {
    background-color:rgba(58,67,71,0.95);
}

.blog-post__header:after {
    content: " ";
    display: table;
    clear:both;
}

.blog-post .blog-post__excerpt {
    font-size:16px;
    padding:18px 0px 0;
}

.blog-post .blog-post__header--lg {
    margin-bottom:24px;
}

/* Pagination */
.pagination:after {
    content: " ";
    display: table;
    clear:both;
    line-height:inherit;
}

.pagination__item:hover {
    border-bottom-color:#d6d6d6;
}

.pagination__item {
    display: block;
    float:left;
    padding:12px 12px 9px 12px;
    font-size:14px;
    background:#f1f1f1;
    margin-right:3px;
    border-bottom:3px solid #e6e6e6;
    line-height:18px;
 }
.pagination__item.current {
    background: #FAA74A;
    border-bottom-color: #EF9A3C;
    color: #212427;
    text-shadow: 0 1px 0 rgba(0,0,0,0.1);
}

/* Author Bio */
.author-bio {
    padding-bottom:48px;
    border-top: 6px solid #f1f1f1;
    padding-top: 24px;
}

.author-bio:after {
    content: " ";
    display: table;
    clear:both;
}

.author-bio__avatar {
    width:100%;
    height:100%;
}


@media only screen and (min-width: 769px) {
    .author-bio__secondary {
        float:left;
        width:150px;
    }
    .author-bio__primary {
        padding-left:170px;
    }
    .author-bio__avatar {
        width:150px;
        height:150px;
    }
}



.author-bio__about-the-author {
    font-size:12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #212427;
    line-height:18px;
}

.author-bio__biography {
    font-size:16px;
    line-height:24px;
}

.author-bio__name {
    font-size:24px;
    line-height:30px;
}

.single.single-post #content,
.page-template-template-blog #content {
    background-color: #ffffff;
    width: 100%;
    max-width: 1024px;
    margin: 0px auto;
    padding: 10px 0px;
}

@media only screen and (min-width: 769px) {
    .single.single-post #content,
    .page-template-template-blog #content {
        padding: 10px 40px;
    }
}

/* Disclaimer */
.disclaimer {
    font-size:14px;
    padding:24px 20px;
    background:#f1f1f1;
}

/* Blog Categories */
.blog-categories {
    margin-bottom:24px;
}
.blog-categories li {
    padding:0;
    margin:0;
    font-size: 16px;
    list-style-type: none;
}

.blog-categories ul {
    margin:0;
    padding:0;
}

.blog-categories li a {
    color:#588e9b;
}

.blog-categories li a:hover {
    text-decoration: underline;
}

.blog-categories li a.current {
    font-weight:400;
    color:#666;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom:12px;
}
.breadcrumbs ul {
    margin:0;
    padding:0;
}

.breadcrumbs li {
    list-style-type: none;
    font-size:13px;
    color:#212427;
    display:inline-block;
}

.breadcrumbs li a {
    color:#212427;
}

.breadcrumbs li:after {
    content:'\00bb';
}

.breadcrumbs li:last-of-type:after {
    content:'';
}

/* Posts by user */
/* This is used on a team members page to list posts by a specific user */
.posts-by-user ul li,
.posts-by-user ul {
    list-style-type: none;
    margin:0;
    padding:0;
    line-height:18px;
}

.posts-by-user ul li {
    margin-bottom:6px;
}

.posts-by-user a {
    color:#588e9b !important;
}

.posts-by-user a:hover {
    text-decoration: underline;
}
