/* custom styles go here */

body {
	background: #fff;
	font-family: 'Raleway', "HeveticaNeue",Helvetica,Arial,sans-serif;
	font-weight: 400;
}

body, input, textarea {
	color: #666;
}


/* header */

#header_wrapper {
	
}

#header {
	position: relative;	
}

#branding {
	
}

#branding #site_logo img {
	width: auto;
	height: 70px;
	display: block;
	padding: 25px 0;
}

#access {
	background: transparent;
}



/* main content */
h1 {
	font-weight: 100;
	font-size: 48px;
	line-height: 1.2em;
	color: #415749;
	margin: 30px 0 10px;
	padding: 0;
}

#section_title_wrapper.title_image {
	height: 300px;
	position: relative;
	background-size: cover;
	background-repeat: no-repeat;
}

#section_title {
	position: relative;
	background: #415749;
	color: #fff;
	background-size: cover;
	background-repeat: no-repeat;
}

.title_image #section_title {
	background-color: transparent;
	top: 260px;
}

.title_image #section_title h1 {
	background: #415749;
	padding-left: 30px;
	padding-right: 30px;
}

#section_title h1 {
	color: #fff;
	padding: 10px 0;
	margin: 0;
}

h2 {
	font-weight: 400;
	font-size: 30px;
	line-height: 1.2em;
	color: #415749;
	margin: 30px 0 10px;
	padding: 0;
}

h3 {
	font-weight: 400;
	font-size: 24px;
	line-height: 1.2em;
	color: #415749;
	margin: 20px 0 10px;
	padding: 0;
}

h4 {
	
}

.home_content-padding h2:first-of-type {
	margin-top: 0;
}

.hentry {
	margin: 0;
}

.mt-0 {
	margin-top: 0;
}

#main_wrapper {
	padding-top: 50px;
}

#main {
	
}

#main #container {
	
}

#main .main-aside {
	
}

.pagination {
	clear: both;
	font-size: 13px;
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid #ccc;
}

.button, #main .button,
a.button, #main a.button, 
a.button:visited, #main a.button:visited {
	border: 1px solid #fff;
	background: #415749;
	color: #fff;
	text-decoration: none !important;
	font-size: 16px;
	font-weight: 400;
	padding: 0 20px;
	height: 35px;
	line-height: 35px;
	display: inline-block;
	cursor: pointer;
}

a.button:hover, #main a.button:hover {
	background: #27342c;
}




/* home */

body.page-template-home_page {
	background-color: #e0e3e1;
}

body.page-template-home_page #header_wrapper {
	background-color: #fff;
}

body.page-template-home_page #main_wrapper {
	background-color: #fff;
}

body.page-template-home_page #main_wrapper {
	padding-top: 0;	
}

.home_hero_text .hero_title {
	font-size: 26pt;
	margin-bottom: 10px;
}

.home_hero_text .hero_text {
	font-size: 16pt;
	font-weight: 100;
}

.callout,
.home_content-headline {
	background: #415749;
	color: #fff;
	padding: 20px;
	font-size: 38px;
	line-height: 1.2em;
	font-weight: 100;
}

.home_content-padding {
	padding: 20px;
}

.home_content-portfolio {
	background-color: #4d413a;
	background-size: cover;
	background-repeat: no-repeat;
	color: #fff;
}

.home_content-portfolio h1,
.home_content-portfolio h2,
.home_content-portfolio h3,
.home_content-portfolio h4 {
	color: #fff;
}

.home_content-news {
	background-color: #c3c3c0;
}

.home_content-news h1,
.home_content-news h2 {
	text-align: center;
}

.news_title {
	font-weight: bold;
	margin-bottom: 0;
}

.news_excerpt {
	margin-bottom: 5px;
}





p, pre, form, select, address, embed {
	margin: 0 0 20px 0;
	font-size: 16px;
	font-weight: 400;
}

#main_wrapper p:last-of-type {
	margin-bottom: 0;
	padding-bottom: 0;
}

body.home .entry-content p:last-of-type {
	padding-bottom: 30px;
}

.entry-content > h1:first-of-type, .entry-content > h2:first-of-type,
.sidebar_content > h1:first-of-type, .sidebar_content > h2:first-of-type,
.content_col-l > h1:first-of-type, .content_col-l > h2:first-of-type,
.content_col-r > h1:first-of-type, .content_col-r > h2:first-of-type {
	margin-top: 0;
}

.footnote {
	font-size: 80%;
	color: #999;
}

hr {
	background-color: #ccc;
}

.cleardiv {
	clear: both;
}

table.noborder,
table.noborder tr,
table.noborder tr td {
	border: none;
}



/* content sections */

.bottom_content_area {
	padding: 30px 0;
}



/* news */

.post.category-news {
	margin-bottom: 40px;
	padding-bottom: 40px;
}

body.blog #content .post:first-of-type h3 {
	margin-top: 0;
}

.news_item {
	border-bottom: 1px solid #efefef;
	margin: 0 0 20px 0;
	padding: 0 0 20px 0;
}

.post_date {
	font-size: 12px;
	color: #999;
}

#nav-below {
	padding: 0 0 20px 0;
	font-size: 12px;
}

body.single #nav-below {
	display: none;
}



/* sidebar */

h3.widgettitle {
	margin-top: 0;
}
	
.custom_sidebar p {
	margin-bottom: 10px;
}



/* side nav */

#subnav {
	padding: 20px 0 0 0;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	overflow: hidden;
	margin-bottom: 40px;
}

#subnav ul {
	padding: 0;
}

#subnav a {
	text-decoration: none !important;
	padding-bottom: 10px;
	display: block;
}

#subnav ul {
	list-style-type: none;
	margin-bottom: 15px;
}

#subnav h3,
#subnav ul > li {
	display: none; 
}

#subnav ul li.current_page_item ul.children li,
#subnav ul li.current_page_parent ul.children li {
	display: block;
}

#subnav .children { display: none; }

#subnav ul li.current_page_item,
#subnav ul li.current_page_ancestor,
#subnav ul li.current_page_parent,
#subnav .current_page_item .children,
#subnav .current_page_ancestor .children,
#subnav .current_page_parent .children { display: block; !important }

#subnav .children .children {
	display: none !important;
}

#subnav .current_page_item > a {
	color: #333;
	font-weight: bold;
}




/* photos */

.wp-caption img {
	position: relative;
	z-index: 10;
	width: 100%;
	height: auto;
	display: block;
}

.photo_credit,
.home_hero_item .photo_credit,
#section_title_wrapper .photo_credit,
.wp-caption-text {
	position: relative;
	z-index: 11;
	margin: 0;
	padding: 0 5px !important;
	height: 20px;
	line-height: 20px;
	background: rgba(0,0,0,.5);
	color: #fff;
	font-size: 9px;
	text-align: right;
	display: inline-block;
	float: right;
	margin: -20px 0 0 0;
}

.home_hero_item .photo_credit,
#section_title_wrapper .photo_credit {
	margin: 0;
	position: absolute;
	top: 0;
	right: 0;
}



/* portfolio */

.portfolio_map_wrapper {
	margin-bottom: 40px;
}

.acf-map {
	background: #e5e4df;
	width: 100%;
	height: 490px;
	border: #ccc solid 1px;
	margin: 20px 0;
	z-index: 300;
	position: relative;
}

.single_map_wrapper {
	margin-bottom: 40px;
}

.single_map_wrapper .acf-map {
	height: 250px;
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}

.marker {
	position: relative;
	text-indent: -300em;
}

.gm-style-iw {
	text-align: center;
}

.gm-style-iw div {
	margin: 3px 0 0 0;
}

.gm-style-iw div .button {
	margin: 0 0 5px 0;
}

.marker {
	text-align: center;
}

.portfolio_list_wrapper {
	margin: 30px 0;
}

#portfolio_photos_wrapper {
	margin: 40px 0;
	position: relative;
}

#portfolio_photos_wrapper .portfolio_photo_item {
	position: absolute;
	width: 100%;
}

#portfolio_photos_wrapper img.portfolio_photo {
	width: 100%;
	height: auto;
	display: block;
}

#portfolio_photos_wrapper .photo_credit {
	position: absolute;
	bottom: 0;
	right: 0;
}

#portfolio_photos_wrapper .cycle-pager {
	z-index: 220;
	position: absolute;
	top: 0;
	text-align: right;
	width: 100%;
	font-size: 40px;
	line-height: 30px;
}

#portfolio_photos_wrapper .cycle-pager span {
	color: #ccc;
	margin: 0 5px 0 0;
	opacity: .3;
	cursor: pointer;
}

#portfolio_photos_wrapper .cycle-pager span.cycle-pager-active {
	color: #fff;
	opacity: 1;
	cursor: auto;
}

#portfolio_photos_wrapper .portfolio_photo_ctrl  {
	cursor: pointer;
	height: 100%;
	width: 40px;
	position: absolute;
	z-index: 200;
	top: 0;
	background-size: 40px 40px !important;
	opacity: .5
}

#portfolio_photos_wrapper .portfolio_photo_ctrl:hover  {
	opacity: 1;
}

#portfolio_photos_wrapper .portfolio_photo_ctrl.cycle-prev  {
	left: 0;
	background: url(../images/arrow-wht-left.png) center center no-repeat;
}

#portfolio_photos_wrapper .portfolio_photo_ctrl.cycle-next  {
	right: 0;
	background: url(../images/arrow-wht-right.png) center center no-repeat;
}

.portfolio-sidebar-section {
	margin-bottom: 15px;
}

.portfolio_item-forestland {
}

.portfolio_item a,
.portfolio_item a :visited{
	color: #415749 !important;
}

.portfolio_item-forestland .portfolio_thumb {
	margin-bottom: 5px;
}

.portfolio_item-forestland .portfolio_thumb img {
	width: 100%;
	height: auto;
}
	
.portfolio_item-forestland,
.portfolio_item-banks {
	padding-left: 0;
	margin-bottom: 5px;
	background-size: 10px 10px;
	background-repeat: no-repeat;
	background-position: 0 7px;
}

.portfolio_item-banks {
}

.portfolio_thumb {
	float: left;
	margin: 0 10px 0 0;
}

.portfolio_thumb img {
	max-width: 100px;
	height: auto;
}

.portfolio_info_title {
	font-weight: bold;
}

.portfolio_info_text {
	font-size: 14px;
}


/* tabs */

ul.tabs {
	list-style-type: none;
	
}

ul.tabs li {
	display: block;
	border: 1px solid #ccc;
	background: #efefef;
	display: inline-block;
}

ul.tabs li a {
	text-decoration: none;
	height: 30px;
	line-height: 30px;
	padding: 0 20px;
}

ul.tabs li.active {
	border-bottom: 1px solid #fff;
	background: #fff;
}

#tabs {
   width: 100%;
   height:34px; 
   border-bottom: solid 1px #CCC;
   padding-right: 2px;
   margin: 30px 0 0 0;
   padding-left: 0;
}

#tabs a {cursor:pointer;}

#tabs li {
	float:left; 
	list-style:none; 
	border:1px solid #ccc; 
	margin-right:5px; 
	border-top-left-radius:3px;  
	border-top-right-radius:3px;
	outline:none;
	border-bottom: solid 1px #fff;
}

#tabs li a {
	font-size: 14px;
	line-height: 33px;
	font-weight: bold; 
	color: #5685bc;;
	padding: 0 15px;
	display:block; 
	background: #FFF;
	border-top-left-radius:3px; 
	border-top-right-radius:3px; 
	text-decoration:none;
	outline:none;
}

#tabs li a.inactive{
	color:#666666;
	background: #EEE;
	outline:none;
	border-bottom: solid 1px #CCC;
}

#tabs li a:hover, #tabs li a.inactive:hover {
	color: #5685bc;
	outline:none;
}

.tab_container {
	margin-top: 0;
	padding-top: 0;
    clear:both;           
    width:100%; 
    text-align:left;

}

.tab_container h2 { margin-left: 15px;  margin-right: 15px;  margin-bottom: 10px; color: #5685bc; }

.tab_container ul { margin-left: 25px; font-size: small; line-height: 1.4; list-style-type: disc; }

.tab_container li { padding-bottom: 5px; margin-left: 5px;}




/* FAQ */

.faq_wrapper {
	border-bottom: 1px solid #ccc;
	margin-bottom: 20px;
	padding-bottom: 20px;
}

.faq_wrapper:last-of-type {
	margin-bottom: 60px;
}

.faq_wrapper .faq-q {
	font-weight: bold;
	margin: 0;
	font-weight: bold;
	cursor: pointer;
}

.faq_wrapper .faq-a {
	margin-top: 10px;
	padding-left: 20px;
	display: none;
}

.faq_wrapper.open .faq-a {
	display: block;
}


/* team */
.team_wrapper {
	margin-top: 40px;
	position: relative;
}

.team_item {
	cursor: pointer;
}

.team_item.inactive {
	opacity: .3;
}

.team_bio {
	display: none;
	border-bottom: 1px solid #ccc;
	padding: 30px 0;
	margin: 0;
}

.team_bio h2,
.team_bio h3 {
	margin: 0 0 10px 0;
}

.team_item.active .team_bio {
	display: block;
}

.team_item .team_photo {
	overflow: hidden;
}

.team_item .team_photo img {
	width: 100%;
	height: auto;
}

.team_item .team_name {
	font-weight: 600;
	text-align: center;
}

.team_item .team_title {
	text-align: center;
}

.team_item .close_team_item {
	float: right;
	color: #415749;
	border-color: #415749;
	background: #fff;
}

.team_item .close_team_item.mobile {
	float: none;
	display: inline-block;
	margin: 20px auto;
	text-align: center;
	width: 100px;
}



/* resources */
.resources_wrapper {
	margin-top: 40px;
	position: relative;
}

.resources_wrapper > h3 {
	margin-bottom: 30px;
}

.resource_item {
	cursor: pointer;
}

.resource_item .resource_image {
	overflow: hidden;
}

.resource_item .resource_image img {
	width: auto;
	height: auto;
	max-height: 200px;
}

.resource_item .resource_title {
	font-weight: 600;
}

.resource_item .resource_text {
}



/* footer */

#footer {
	margin: 0;
}

#footer_wrapper {
	background: #333333;
	padding: 40px 0;
}

#footer, #footer p {
	font-size: 12px;
	margin-bottom: 0;
}

#footer, #footer a, #footer a:visited, #footer a.button {
	color: #858585;
}

#footer a.button {
	background: #333333;
	border-color: #858585;
	margin-top: 10px;
	font-size: 14px;
	height: 25px;
	line-height: 25px;
}

#footer ul.xoxo {
	margin-bottom: 0;
}

#footer a {
	text-decoration: underline;
}

#footer #siteinfo {
	display: none;
}

#footer .widget_nav_menu li {
	margin-bottom: 5px;
}

#footer .widget_nav_menu li a {
	line-height: 1.2em;
	display: block;
}



/* links */

a {
	color: #339933;
	text-decoration: underline;
}

a:visited {
	color: #339933;
}

a:hover, a:active {
	color: #000;
}

#footer a:hover {
	color: #fff;
	border-color: #fff;
	background: 
}



/* let's get responsive! */

/* Desktops */
@media screen and (min-width: 1100px) {

	.desktop {
		display: block !important;
	}
	
	.mobile {
		display: none !important;
	}

	body {
		min-width:1060px;
	}

	#branding, 
	#header,
	body.page-template-home_page #main_wrapper,
	.home_hero_text_wrapper,
	body.home #main #container {
		width: 1060px;
		margin: 0 auto !important;
		float: none;
	}
	
	#main_wrapper,
	.content_wrapper,
	#main #container.full_width, 
	body.page-template-template-page-fullwidth #main #container, 
	body.page-template-template-page-team #main #container, 
	body.page-template-template-page-team-sections #main #container, 
	body.page-template-template-page-portfolio #main #container,
	body.page-template-template-page-portfolio-other_assets #main #container,
	#footer {
		width: 860px;
		margin: 0 auto !important;
		float: none;
	}
	
	body.page-template-home_page #main,
	body.page-template-home_page #main_wrapper,
	body.page-template-template-page-portfolio #main,
	body.page-template-template-page-portfolio-other_assets #main,
	body.page-template-template-page-portfolio #main_wrapper,
	body.page-template-template-page-portfolio-other_assets #main_wrapper,
	body.page-template-template-page-team #main,
	body.page-template-template-page-team-sections #main,
	body.page-template-template-page-team #main_wrapper,
	body.page-template-template-page-team-sections #main_wrapper,
	body.page-template-template-page-fullwidth #main,
	#container.fullwidth #main,
	body.page-template-template-page-fullwidth #main_wrapper {
		width: 100%;
		max-width: 1060px;
	}

	#main_wrapper.page_title_image {
		padding-top: 100px;
	}
	
	
	/* home */

	body.page-template-home_page #home_hero_wrapper {
		z-index: 20;
		position: relative;
	}
	
	#home_hero_wrapper,
	#home_hero_wrapper .cycle-slideshow {
		height: 400px;
		overflow: hidden;
	}

	body.page-template-home_page #main_wrapper {
		z-index: 21;
		position: relative;
		top: -70px;
	}
	
	body.page-template-home_page .entry-content {
		display: table;
		background: #c3c3c0;
	}

	.home-col {
		display: table-cell;
		vertical-align: top;
		height: 100%;
	}

	.home-col-l {
		width: 650px;
		height: 100%;
		background: #fff;
	}

	.home-col-r {
		width: 410px;
		height: 100%;
		display: block;
		position: relative;
		background: #c3c3c0;
	}

	.home_content-portfolio,
	.home_content-news {
		height: 50%;
		width: 100%;
		display: table;
		vertical-align: middle;
	}

	.home-col .home_content-padding {
		padding: 0;
		height: 100%;
		width: 100%;
		display: table;
	}

	.home-col.home-col-r .home_content-padding,
	.home-col.home-col-r .home_content-news .news_title {
		text-align: center;
	}

	.vertical_wrap {
		display: table; 
		height: 100%;
		width: 100%;
	}
	
	.vertical_cell {
		display: table-cell; 
		vertical-align: middle;		
		width: 100%;
	}
	
	.home_content-main,
	.vertical_cell {
		padding: 20px;
	}


	body.scrolled #header_wrapper {
		position: fixed;
		width: 100%;
		background: rgba(255,255,255,.9);
		border-bottom: 1px solid #ccc;
		z-index: 500;
		height: 60px;
	    -webkit-transition: height .5s ease;
	       -moz-transition: height .5s ease;
	        -ms-transition: height .5s ease;
	         -o-transition: height .5s ease;
	            transition: height .5s ease;
	}
	
	body.scrolled #branding #site_logo img {
		height: 40px;
		padding: 10px 0;
	    -webkit-transition: all .5s ease;
	       -moz-transition: all .5s ease;
	        -ms-transition: all .5s ease;
	         -o-transition: all .5s ease;
	            transition: all .5s ease;
	}
	
	body.scrolled #section_title_wrapper {
		top: auto;
		position: relative;
		padding-top: 120px;
	}
	
	body.scrolled.page-template-home_page #home_hero_wrapper,
	body.scrolled #section_title_wrapper.title_image {
		top: 120px;
		position: relative;
		padding-top: 0;
	}
	
	body.scrolled.page-template-home_page #main_wrapper {
		top: 52px;
	}
	
	body.scrolled.page-template-home_page #footer_wrapper {
		margin-top: 122px;
	}
	
	body.scrolled #main_wrapper.page_title_image {
		padding-top: 220px;
	}
	
	body.scrolled #access .menu {
		margin-top: 15px;
	}
	
	body.scrolled #branding .top_nav {
		display: none;
	}


	
	#header {
		display: block;
	}
	
	#header #branding {
		display: block;
		float: left;
		width: 30%;
	}
	
	#header #access {
		display: block;
		float: right;
		width: 70%;
		text-align: right;
	}
	
	#access .menu {
		width: auto;
		display: table;
		margin-top: 75px;
		float: right;
	}

	#mobile_menu_icon {
		display: none !important;
	}
	
	#access .sf-menu {
		display: none !important;
	}

	#access #menu-main-nav.sf-menu {
		display: block !important;
	}
	
	#access .sf-menu li {
		float: left;
		position: relative;
	}
	
	#branding .top_nav {
		position: absolute;
		top: 20px;
		right: 0;
		font-size: 11px;
	}

	#branding .top_nav.sf-menu li a {
		color: #415749;
		font-size: 11px;
	}

	.sf-menu li a {
		color: #415749;
		text-decoration: none;
		font-weight: 500;
		font-size: 16px;
		margin: 0 0 0 30px;
		padding: 0;
		height: 45px;
	}
	
	.top_nav.sf-menu li a {
		color: #000;
	}
	
	#access .sf-menu li .sub-menu,
	#access .sf-menu li .sub-menu li .sub-menu {
		display: none;
	}
	
	#access .sf-menu li.hover .sub-menu {
		display: block;
		position: absolute;
		width: 200px;
		background: #fff;
		text-align: left;
		z-index: 100;
		padding: 0;
		left: 10px;
		box-shadow: 0px 5px 5px rgba(0, 0, 0, .5);
		-moz-box-shadow: 0px 5px 5px rgba(0, 0, 0, .5);
		-webkit-box-shadow: 0px 5px 5px rgba(0, 0, 0, .5);
	}
	
	
	#access .sf-menu li:last-of-type.hover .sub-menu {
		right: 0;
	}

	.sf-menu li .sub-menu li {
		display: block;
		float: none;
		width: 100%;
	}
	
	.sf-menu li .sub-menu a {
		padding: 10px 20px;
		margin: 0;
		color: #415749 !important;
		height: auto;
		text-decoration: none !important;
	}
	
	.sf-menu li .sub-menu a:hover {
		text-decoration: underline !important;
	}

	.sf-menu li.current-page-parent a,
	.sf-menu li.current_page_item a,
	.sf-menu li.current-page-ancestor a{
		color: #000;
	}

	.sf-menu li a:hover, .sf-menu li.hover a {
		color: #333;
		text-decoration: underline;
	}

	.home_hero_item {
		position: relative;
		display: table;
		height: 100%;
		width: 100%;
		overflow: hidden;
		background-size: cover;
		background-position: center center;
	}
	
	.home_hero_item img.home_hero_image {
		visibility: hidden;
	}
	
	.home_hero_text_wrapper {
		position: relative;
	}
	
	.home_hero_text_wrapper .home_hero_text {
		position: absolute;
		bottom: 0;
		z-index: 50;
		padding: 20px;
		display: block;
		width: 50%;
		background: rgba(0,0,0,.6);
		color: #fff;
	}
	
	.bottom_content_wrapper {
		clear: both;
		margin-bottom: 0;
	}
	
	.bottom_content_padding {
		clear: both;
		height: auto;
		padding: 30px;
	}


	/* team */
	.team_item {
		width: 181px;
		float: left;
		margin: 0 0 45px 45px;
	}

	.team_wrapper .team_item:first-of-type,
	.team_wrapper .team_item:nth-of-type(4n+1) {
		clear: left;
		margin-left: 0;
	}

	.team_item .team_photo {
		height: 220px;
		overflow: hidden;
	}

	.team_item .team_photo img {
		height: 220px;
		width: auto;
		overflow: hidden;
	}

	.team_item .team_bio {
		position: relative;
		margin-left: 0;
		width: 860px;
   	}

	.team_item:nth-of-type(4n+1) .team_bio {
		margin-left: 0;
	}

	.team_item:nth-of-type(4n+2) .team_bio {
		margin-left: -226px;
	}

	.team_item:nth-of-type(4n+3) .team_bio {
		margin-left: -452px;
	}

	.team_item:nth-of-type(4n+4) .team_bio {
		margin-left: -678px;
	}


	/* resources */
	.resources_wrapper .resource_item {
		width: 240px;
		float: left;
		margin: 0 0 45px 45px;
	}

	.resources_wrapper .resource_item:first-of-type,
	.resources_wrapper .resource_item:nth-of-type(3n+1) {
		clear: left;
		margin-left: 0;
	}

	.resource_item .resources_photo {
		height: 220px;
		overflow: hidden;
	}

	.resource_item .resources_photo img {
		height: 220px;
		width: auto;
		overflow: hidden;
	}
	
	
	/* portfolio */
	
	X.portfolio_list_wrapper {
		-moz-column-count: 3;
		-webkit-column-count: 3;
		column-count: 3;
	}
	
	.twocolumn {
		float: left;
		width: 49%;
		margin: 0 0 2% 0;
	}
	
	.twocolumn.first {
		margin-left: 0;
	}

	
	#footer #subsidiary #first {
		width: 200px;
		padding-left: 110px;
		background: url(../images/footer_icon.png) left top no-repeat;
		background-size: auto 75px;
		margin-left: 0;
	}
	
	#footer #subsidiary #second {
		width: 280px;
	}
	
	#footer #subsidiary #second .menu li {
		width: 50%;
		float: left;
	}
	
	#footer #subsidiary #third {
		width: 200px;
		text-align: right;
	}
	
	
}


/* mid-size styles */
@media only screen and (min-width: 640px) {

	#main_wrapper,
	.content_wrapper,
	#main #container.fullwidth, 
	body.page-template-template-page-fullwidth #main #container, 
	body.page-template-template-page-team #main #container, 
	body.page-template-template-page-team-sections #main #container, 
	body.page-template-template-page-portfolio #main #container,
	body.page-template-template-page-portfolio-other_assets #main #container,
	#footer {
		max-width: 860px;
		width: 100%;
		margin: 0 auto;
	}

	.portfolio_item {
		float: left;
		width: 47%;
		margin: 0 0 20px 0;
	}
	
	.portfolio_item-thumb {
		width: 45%;
		margin: 0 0 20px 10%;
	}
	
	.portfolio_item:first-of-type,
	.portfolio_item:nth-of-type(2n+1) {
		clear: left;
		margin-left: 0;
	}

}


/* mobile styles */
@media only screen and (max-width: 1099px) {
	
	.mobile {
		display: block !important;
	}
	
	.desktop {
		display: none !important;
	}
	
	#container,
	#primary,
	#subnav,
	.bottom_content_wrapper .bottom_content_area,
	#subpage_list,
	.custom_sidebar,
	#footer {
		padding-right: 20px;
		padding-left: 20px;
		width: auto !important;
	}
	
	body.page-template-home_page #container {
		padding: 0;
		margin: 0;
	}
	
	#header #branding {
		float: left;
		width: 96%;
		margin: 0 2%;
	}
	
	#branding #site_logo img {
		height: 50px;
		padding: 10px 0;
		width: auto;
	}

	#access {
		background: #415749;
		text-transform: uppercase;
		float: right;
		width: auto;
		background: transparent;
	    position: relative;
	    z-index: 200;
	    width: 100%;
	}
	
	#access #mobile_menu_icon {
		height: 40px;
		line-height: 40px;
		padding-left: 50px;
		width: auto;
		background: #415749 url(../images/mobile_menu_icon.png) 5px center no-repeat;
		background-size: 40px 40px;
		color: #fff;
		display: block;
		cursor: pointer;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
	}
	
	#access #mobile_menu_icon.active {
		-webkit-border-bottom-left-radius: 0;
		-webkit-border-bottom-right-radius: 0;
		-moz-border-radius-bottomleft: 0;
		-moz-border-radius-bottomright: 0;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
	}
	
	#access .sf-menu {
		display: none;
		background: #27342c;
		width: 100%;
		float: left;
		text-align: center;
		padding: 10px 0;
	}

	#mobile_menu_icon {
		height: 40px;
		line-height: 40px;
		width: 50px;
		float: right;
		background: #415749 url(../images/mobile_menu_icon.png) 5px center no-repeat;
		background-size: 40px 40px;
		color: #fff;
		display: block;
		cursor: pointer;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
		margin: 14px 3px 0 0;
	}
	
	#mobile_menu_icon.active {
		background-color: #27342c !important;
	}
	
	
	#access .menu {
		width: 100%;
	}
	

	.sf-menu li {
		float: none;
	}
	
	.sf-menu li a {
		color: #fff;
		text-decoration: none;
		display: block;
	}

	#branding .top_nav {
		display: none;
	}

	.home_hero_item {
		background-image: none !important;
		background-color: #efefef;
		padding-bottom: 0;
	}
	
	.home_hero_item img.home_hero_image {
		height: auto;
		width: 100%;
		display: block;
		margin: 0;
		padding: 0;
		float: left;
	}
	
	.home_hero_text {
		padding: 10px;
	}
	
	.home_hero_text .hero_title {
		font-size: 22pt;
		margin-bottom: 0;
	}
	
	.home_hero_text .hero_text {
		font-size: 14pt;
	}
	
	.home_content-headline {
		padding: 20px;
	}
	
	.title_image #section_title {
		bottom: 0;
		top: auto;
		position: absolute;
		width: 100%;
	}
	
	.title_image #section_title h1,
	#section_title h1 {
		padding: 20px 10px;
	}
	
	.home_content-headline,
	.title_image #section_title h1,
	#section_title h1 {
		font-size: 36px;
	}

	h2 {
		font-size: 26px;
	}
	
	h3 {
		font-size: 20px;
	}
	
	#main_wrapper {
		padding-top: 40px;
	}
	
	.cycle-pager {
		display: none;
	}

	
	/* team */
	
	.team_item {
		margin-bottom: 45px;
	}
	
	.team_item .team_photo img {
		max-width: 50%;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}

	
	/* resources */
	
	.resource_item {
		margin-bottom: 45px;
	}
	
	.resource_item .resource_photo img {
		max-width: 50%;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	

	.acf-map {
		height: 250px;
	}
	
	#subpage_list {
		margin-bottom: 30px;
	}
	
	body.page-template-home_page #subpage_list {
		margin-bottom: 0;
	}
	
	#subpage_list ul,
	#subpage_list ul li {
		list-style-type: none;
		border-bottom: 1px solid #efefef;
		margin: 0;
		padding: 5px 0;
	}

	#subpage_list ul {
		border-top: 1px solid #ccc;
		border-bottom: none;
	}
	
	
	#main .main-aside.custom_sidebar {
		margin: 60px 0;
	}
	
	
	#footer {
		text-align: center;
	}

	#footer, #footer p {
		font-size: 14px;
	}
		
	#footer .aside {
		margin-bottom: 30px;
	}

}


/* small styles */
@media screen and (max-width: 639px) {

	table tr th,
	table tr td {
		display: block;
		width: 100% !important;
		padding: 20px 0;
	}

	.portfolio_item-thumb {
		margin: 0 0 20px 0;
		clear: both;
	}

}
