/*
  Theme Name: Integrity
  Theme URI: http://www.integrityhousing.org
  Version: 999.99
  Author: Treefrog Cinegraphix
  Author URI: http://www.treefrogcx.com
  Tags: Canopy, responsive, simple, clean, HTML5, CSS3, Schema.org, Open Graph, ARIA
  Licence: GPL
  
  Description: Custom WordPress theme for Integrity Housing.
*/

/*----------Redeclarations----------*/

strong {
	font-weight: 700;
}

em {
	font-style: italic;
}

hr {
	display: none;
}

p {
	margin-bottom: 1em;
}

p + p {
	margin: 1em 0;
}

img {
	max-width: 100%;
	height: auto;
}

/*-------------Sprites--------------*/

.tcx_slideshow .flex-control-paging li a, #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span, .searchform .searchsubmit {
	background-image: url("images/spritesheet.png");
	background-repeat: no-repeat;
}

.logo {
	background-image: url("images/logo-integrity-glyph.png");
	background-repeat: no-repeat;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min--moz-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (min-device-pixel-ratio: 2),
only screen and (min-resolution: 192dpi),
only screen and (min-resolution: 2dppx) {
	.tcx_slideshow .flex-control-paging li a, #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span, .searchform .searchsubmit {
		background-image: url("images/spritesheet-2x.png");
		background-size: 500px 400px;
	}

	.logo {
		background-image: url("images/logo-integrity-glyph-2x.png");
		background-size: 52px 52px;
	}
}

/*-------Block Level Elements-------*/

body {
	background: #fff url('images/bg.jpg') fixed center bottom no-repeat;
	background-size: cover;
	color: #3c3c3c;
	font: 18px/26px "Open Sans", Helvetica, Arial, sans-serif;
	-webkit-animation: bugfix infinite 1s;
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%
}

header.main {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 80px;
	background: rgba(255, 255, 255, 0.85);
	-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
	-moz-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
	-webkit-transition: background 0.5s ease-in-out;
	-moz-transition: background 0.5s ease-in-out;
	-o-transition: background 0.5s ease-in-out;
	-ms-transition: background 0.5s ease-in-out;
	transition: background 0.5s ease-in-out;
	z-index: 4;
}

header.main.scrolled {
	background: rgba(255, 255, 255, 0.94);
}

#menu {
	position: relative;
	float: right;
	margin-right: 16px;
	margin-top: 30px;
}

#toggle {
	display: none;
}

#menu li {
	position: relative;
	float: left;
	margin-right: 5px;
	border-bottom: 4px solid transparent;
}

#menu li:last-child {
	margin-right: 0;
}

#menu li:hover > .sub-menu {
	display: block;
}

#menu a {
	display: block;
	padding: 10px;
	font-size: 15px;
	line-height: 26px;
	font-weight: 700;
	color: #455925;
	text-decoration: none;
}

#menu li:hover, #menu .current-menu-item, #menu .current_page_item, #menu .current-menu-ancestor, #menu .current_page_ancestor {
	border-bottom: 4px solid #8ec549;
}

#menu .page-item-15 .current-menu-item {
	border-bottom-color: transparent;
}

#menu .menu-item-has-children > a {
	padding-right: 30px;
	padding-left: 15px;
}

#menu .menu-item-has-children > a::after {
	content: '+';
	position: absolute;
	right: 15px;
	font-size: 17px;
	line-height: 27px;
}

#menu .sub-menu .menu-item-has-children > a::after {
	content: '+';
	right: 10px;
	top: 50%;
	font-size: 12px;
	line-height: 0;
}

#menu .sub-menu {
	position: absolute;
	display: none;
	padding: 10px 0;
	border-top: 5px solid transparent;
	z-index: 900;
	background-color: #333;
	-webkit-background-clip: padding;
	-moz-background-clip: padding;
	background-clip: padding-box;
}

#menu > li:last-child .sub-menu {
	right: 0;
}

#menu .sub-menu li {
	width: 100%;
	min-width: 200px;
}

#menu .sub-menu li a {
	display: block;
	width: 100%;
	font-size: 15px;
	line-height: 2em;
	color: #fff;
	padding: 0 10px;
	white-space: nowrap;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#menu .sub-menu li:hover, #menu .sub-menu .current-menu-item, #menu .sub-menu .current_page_item {
	background-color: #999;
background-color: rgba(255, 255, 255, 0.15);
}

#menu .sub-menu .current-menu-ancestor, #menu .sub-menu .current_page_ancestor {
	background-color: transparent;
}

#menu .sub-menu .sub-menu {
	display: none;
	position: absolute;
	left: 100%;
	top: -10px;
	border-top-width: 0;
	background-color: #555;
}

#menu .sub-menu .sub-menu a:hover, #menu .sub-menu .sub-menu .current-menu-item > a {
	background-color: #888;
}

#slideshow {
	position: relative;
	background-color: #000;
	overflow: hidden;
}

/* Home Slideshow mosaic accents
.home #slideshow::before, .home #slideshow::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	display: block;
	width: 325px;
	height: 325px;
	background-image: url('images/header-grid-bottom-left-2x.png');
	background-size: 325px 325px;
	background-repeat: no-repeat;
	z-index: 2;
}

.home #slideshow::after {
	bottom: auto;
	left: auto;
	top: 80px;
	right: 0;
	background-image: url('images/header-grid-top-right-2x.png');
}*/

.home .home-logo {
	position: absolute;
	top: 75%;
	width: 100%;
	margin-top: -50px;
	text-align: center;
	z-index: 3;
}

.home .home-logo h2 {
	display: inline-block;
	width: 530px;
	height: 107px;
	background: url('images/logo-integrity-housing-2x.png') no-repeat;
	background-size: 530px 107px;
	overflow: hidden;
	filter: drop-shadow(0 0 10px rgba(2,4,11,0.5));
	text-indent: -1999px;
}

.home .home-logo h3 {
	font-weight: 400;
	font-style: italic;
	font-size: 24px;
	line-height: 36px;
	margin: 0.5em;
	color: #fff;
}

.home .prettybox > p {
	display: none;
}

.home .prettybox .c66 p {
	margin-bottom: 0;
}

#slideshow .container {
	padding: 0 20px;
}

#slideshow .tcx_slideshow {
	position: relative;
	clear: both;
	margin-bottom: 0;
	z-index: 1;
}

#slideshow .slide-desc {
	width: 40%;
	height: 100%;
	padding: 30px;
	margin: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#slideshow .flex-control-nav {
	bottom: -20px;
}

#banner {
	width: 100%;
	height: auto;
	padding: 110px 0;
	margin-top: 80px;
	background-color: rgba(142, 197, 73, 0.80);
	text-align: center;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.title-archive {
	color: #606060;
	padding-bottom: 10px;
	border-bottom: 4px solid #333;
	margin-bottom: 40px;
}

#banner .container {
	padding: 0 20px;
}

.interior {
	position: relative;
	padding-top: 40px;
	background-color: #fff;
	z-index: 2;
}

#content {
	margin: 0 auto;
	
}

.post #content, .staff #content {
	max-width: 750px;
	margin-top: 30px;
}

.full-width #content, .sectioned-page #content, #content.full {
	width: 100%;
}

#sidebar {
	position: relative;
	float: right;
	width: 25%;
	padding: 20px;
	margin-bottom: 20px;
	background-color: #f6f6f6;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-webkit-box-shadow: inset 2px 2px 2px #e9e9e9;
	-moz-box-shadow: inset 2px 2px 2px #e9e9e9;
	box-shadow: inset 2px 2px 2px #e9e9e9;
}

.title-sidebar {
	font-size: 21px;
	line-height: 32px;
	margin-bottom: 12px;
	color: #333;
	border-bottom: 1px solid #ddd;
	margin-top: 0;
}

#sidebar .widget {
	margin-bottom: 20px;
}

#sidebar select {
	width: 100%;
	font-size: 16px;
}

.footer-routing {
	clear: both;
	background: #333;
	color: #e9e9e9;
}

.footer-routing a {
	color: #dedede;
}

.footer-routing a:hover {
	color: #fff;
}

.title-footer {
	font-size: 21px;
	line-height: 42px;
	color: #fff;
	border-bottom: 1px solid #555;
	margin: 1em 0;
}

.footer-routing .gform_wrapper .gform_heading {
	margin-bottom: 0.5em;
}

.footer-routing .gform_wrapper .gfield {
	margin: 0;
}

.footer-routing .gform_wrapper .gform_body input {
	height: auto;
}

.footer-routing .gform_wrapper .gform_footer {
	margin: 0.5em 0 0 0;
	padding-bottom: 0;
}

.twitter-avatar {
	position: relative;
	float: left;
	margin: 5px 10px 10px 0;
}

.twitter-avatar img {
	border: 1px solid #000;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

footer.main {
	clear: both;
	
	font-size: 10px;
	color: #b8b8b8;
	background-color: #3c3c3c;
	-webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.35);
	-moz-box-shadow: 0 0 6px rgba(0, 0, 0, 0.35);
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.35);
}

footer.main:hover {
	color: #fff;
}

footer.main a {
	color: #b8b8b8;
	text-decoration: none;
}

footer.main:hover a {
	color: #fff;
	text-decoration: underline;
}

footer.main a:hover, footer.main:hover .newsletter {
	text-decoration: none;
}

footer.main .container {
	padding-top: 17px;
	padding-bottom: 17px;
}

footer.main #social-links {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
}

footer.main #social-links .tcx-icon {
	width: 85px;
	height: 100%;
	margin: 0;
	background-color: #686868;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	text-decoration: none;
}

footer.main #social-links .tcx-icon:hover {
	background-color: #8ec549;
}

footer.main #social-links .tcx-icon::before {
	font-size: 30px;
	line-height: 83px;
}

footer.main .newsletter {
	position: absolute;
	right: 340px;
	top: 0;
	display: block;
	padding: 30px;
	font-weight: 700;
	font-size: 18px;
}

footer.main .newsletter::before {
	content: '\1f4e7';
	font-family: tcx;
	margin-right: 6px;
}

/*---------------Blog---------------*/

body .resident-spotlight .post {
	margin-bottom: 0;
}

.fb-feed {
	position: relative;
	padding: 18px 20px;
	margin: 0 120px 40px 120px;
	background-color: #3b5998;
	color: #fff;
}

.fb-feed a {
	color: #fff;
	text-decoration: underline;
}

.fb-feed a:hover {
	color: #fff;
	text-decoration: none;
}

.fb-feed .pic {
	position: relative;
	float: right;
	margin-left: 15px;
}

.fb-feed .tcx-icon {
	margin-right: 20px;
	margin-bottom: 10px;
	background-color: transparent;
}

.fb-feed .tcx-icon::before {
	font-size: 48px;
	line-height: 48px;
}

.fb-feed .entry-content {
	display: block;
}

/*.fb-feed .intent-meta {
	position: absolute;
	bottom: 20px;
	left: 20px;
}*/

.fb-feed .time-meta {
	font-weight: normal;
	font-style: italic;
}

.from-meta {
	display: none;
}

.archive.posts-page .interior, .single.post .interior, .archive.category .interior {
	padding-top: 0;
}

.sub-nav {
	background-color: #dfdfdf;
	text-align: right;
}

.sub-nav h3 {
	margin: 0;
}

.sub-nav .categories-toggle {
	display: inline-block;
	color: #455925;
}

.category-list {
	margin: 1em 0;
	font-size: 24px;
	line-height: 40px;
	text-align: center;
}

.category-list a {
	color: #3c3c3c;
	padding: 0 5px;
}

.category-list a:hover, .category-list a.active {
	color: #fff;
	background-color: #8ec549;
	text-decoration: none;
}

/*---------Inline Elements----------*/

.logo {
	position: relative;
	float: left;
	display: block;
	width: 52px;
	height: 52px;
	padding: 14px;
	background-color: #fff;
	background-position: center;
	text-indent: -999px;
	overflow: hidden;
}

h1, .h1 {
	font-family: 'Raleway Light', sans-serif;
	font-size: 62px;
	line-height: 70px;
	color: #fff;
	text-transform: uppercase;
	filter: drop-shadow(1px 1px 3px #3a511e);
}

.home h1 {
	filter: none;
}

h2, .h2 {
	font-family: 'Raleway Light', sans-serif;
	font-size: 50px;
	line-height: 56px;
	color: #303030;
	text-transform: uppercase;
}

h3, .h3, h3 a, .h3 a {
	font-weight: 700;
	font-size: 28px;
	line-height: 36px;
	margin: 0.5em 0;
	color: #455925;
}

h4, .h4 {
	font-size: 24px;
	line-height: 32px;
	color: #606060;
	margin: 0.5em 0;
}

h5, .h5 {
	font-size: 20px;
	line-height: 26px;
}

h6, .h6 {
	font-weight: 700;
}

a {
	color: #8ec549;
	text-decoration: none;
}

a:hover {
	color: #455925;
	text-decoration: underline;
}

li {
	margin-bottom: 0.4em;
}

big {
	color: #455925;
	font-weight: 700;
}

.green {
	color: #8ec549;
}

.olive {
	color: #455925;
}

/*-------------The Post-------------*/

body .post {
	clear: left;
	margin-bottom: 40px;
}

body.sectioned-page .post {
	margin-bottom: 0;
}

.post-date.stacked {
	position: relative;
	float: left;
	width: 72px;
	height: 62px;
	padding-top: 10px;
	margin-right: 30px;
	color: #333;
	font-weight: 700;
	font-size: 18px;
	text-align: center;
	text-transform: uppercase;
	background-color: #ccc;
	-webkit-border-radius: 36px;
	-moz-border-radius: 36px;
	border-radius: 36px;
}

.post-date .d {
	display: block;
	font-size: 32px;
	line-height: 32px;
}

.post-title {
	padding-top: 10px;
	margin: 0 0 20px;
}

.post h2 {
	position: relative;
	margin-bottom: 40px;
}

.post h2::after {
	content: '';
	position: absolute;
	bottom: -12px;
	left: 0;
	display: block;
	width: 100px;
	height: 4px;
	background-color: #8ec549;
}

.post h2 a:hover {
	text-decoration: none;
}

.post .postmetadata {
	display: block;
	clear: left;
	margin-bottom: 0;
	border-bottom: 4px solid #8ec549;
	font-size: 15px;
	line-height: 32px;
	color: #606060;
}

.post .postmetadata a {
	color: #606060;
}

.post .postmetadata .posted-by, .post .postmetadata .posted-on, .post .postmetadata .posted-in, .updated-comma, .date-modified {
	display: none;
}

.post .postmetadata .post-categories {
	position: relative;
	float: right;
}

.post .postmetadata .read-more {
	position: relative;
	float: right;
	margin-right: 35px;
	text-transform: uppercase;
}

.single .post .postmetadata {
	padding-left: 0;
	background: none;
	font-size: 13px;
	margin-top: 0.5em;
}

.single .post .postmetadata .read-more {
	display: none;
}

.featured-image-container.full {
	overflow: hidden;
}

.featured-image-container.cropped img {
	width: 100%;
}

.single .featured-image img {
	max-width: 100%;
	height: auto;
}

.tcx_featured_image_portfolio {
	width: 100%;
}

.entrytext .wp-caption {
	max-width: 100%;
}

.entrytext .wp-caption-text, .entrytext cite {
	font-family: Georgia, Times, "Times New Roman", serif;
	font-style: oblique;
	border: 1px #777 dashed;
	border-width: 0 0 1px 0;
	padding-bottom: 1em;
}

.entrytext cite {
	display: block;
	text-align: right;
	border-bottom: 0;
}

.entrytext cite::before {
	content: '–';
	margin-right: 10px;
}

.entrytext img {
	max-width: 100%;
	height: auto;
}

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

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

.rounded {
	-webkit-border-radius: 400px;
	-moz-border-radius: 400px;
	border-radius: 400px;
}

.entrytext img.aligncenter {
	display: block;
	margin: 0 auto;
}

.entrytext .alignnone img, .entrytext .alignright img, .entrytext .alignleft img, .entrytext img.aligncenter, .gallery img {
	-webkit-box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.20);
	-moz-box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.20);
	box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.20);
}

.entrytext img.alignnone, .entrytext img.alignright, .entrytext img.alignleft, .entrytext img.aligncenter {
	margin: 1em 0;
	-webkit-box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.20);
	-moz-box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.20);
	box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.20);
}

.entrytext .alignnone img.no-border, .entrytext .alignright img.no-border, .entrytext .alignleft img.no-border, .entrytext img.aligncenter.no-border, .gallery img, .entrytext img.alignnone.no-border, .entrytext img.alignright.no-border, .entrytext img.alignleft.no-border, .entrytext img.aligncenter.no-border {
	border-width: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.entrytext img.no-margin, .entrytext img.alignnone.no-margin .entrytext img.alignright.no-margin, .entrytext img.alignleft.no-margin, .entrytext img.aligncenter.no-margin {
	margin: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.entrytext img.full-width {
	width: 100%;
}

.entrytext img.alignright, .entrytext .wp-caption.alignright {
	margin-left: 1.5em;
}

.entrytext img.alignleft, .entrytext .wp-caption.alignleft {
	margin-right: 1.5em;
}

.entrytext ul, .entrytext ol {
	margin: 1.25em 0 1.5em 1.25em;
}

.entrytext ul ol, .entrytext ol ul, .entrytext ul ul, .entrytext ol ol {
	margin-bottom: 0;
	margin-top: 0;
}

.entrytext ul li, .entrytext ol li {
	padding: 1px 0;
	margin-left: 1.25em;
}

.entrytext ul > li {
	list-style-type: disc;
}

.entrytext ol > li {
	list-style-type: decimal;
}

.entrytext table {
	display: block;
	max-width: 100%;
	margin-bottom: 1.25em;
	overflow: scroll;
	overflow-y: hidden;
}

.entrytext td {
	border-bottom: 1px solid #777;
	padding: .5em;
}

.navigation {
	display: inline-block;
	width: 100%;
	margin: 1.25em 0;
}

.float-left, .alignleft {
	position: relative;
	float: left;
}

.float-right, .alignright {
	position: relative;
	float: right;
}

.separator {
	clear: both;
	height: 3px;
	width: 100%;
	background-color: #8ec549;
	margin: 1em 0;
}

.clear {
	clear: both;
}

.screen-reader-text {
	position: absolute !important;
	height: 1px; width: 1px;
	overflow: hidden;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: polygon(0px 0px, 0px 0px,0px 0px, 0px 0px);
}

/*--------------Staff---------------*/

.staff-listing {
	padding-top: 40px;
}

.staff-listing.no-photos {
	text-align: center;
}

.staff-listing.no-photos .description a {
	display: inline-block;
	color: #3c3c3c;
}

.staff-listing.no-photos .description a:hover {
	color: #455925;
}

.staff-listing.no-photos .description::after {
	content: '';
	display: block;
	width: 0;
	height: 0;
	margin: 17px auto 0 auto;
	border: 14px solid transparent;
	border-top-color: #3c3c3c;
}

.staff-listing .position {
	font-weight: 400;
}

.staff-listing .info-below .position {
	display: inline-block;
	height: 75px;
}

.staff-listing .r333333 {
	text-align: center;
}

.staff-listing .r333333 .c33 {
	float: none;
	clear: none;
	display: inline-block;
	width: 30.666%;
	margin-bottom: 200px;
}

.staff-listing.no-photos .row.r333333 .c33 {
	margin-bottom: 40px;
}

.staff-listing .r333333 .c33:nth-child(3n), .staff-listing .r333333 .c33:last-child {
	margin-right: 0;
}

.staff-listing .r333333 .c33 .h3 {
	position: absolute;
	width: 100%;
	margin-top: 30px;
}

.staff-listing .staff-title {
	position: relative;
	top: -15px;
	margin-top: 0;
}

.staff-listing.no-photos .c33 > .permalink {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.staff-listing.no-photos .c33:hover a {
	color: #455925;
}

/*---------Content Sections---------*/

.sectioned-page .interior {
	padding-top: 0;
	background-color: transparent;
}

.sectioned-page .entrytext section .container {
	padding-top: 40px;
	padding-bottom: 40px;
}

.entrytext section {
	background-repeat: no-repeat;
	background-size: cover;
}

.entrytext section.full {
	background-position: center;
}

.entrytext section.left {
	background-position: left;
}

.entrytext section.right {
	background-position: right;
}

.entrytext section.white {
	background-color: #fff;
}

.entrytext section.gray {
	background-color: #f2f2f2;
}

.entrytext section.transparent {
	background-color: rgba(223, 223, 223, 0.8);
}

.entrytext section .container {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.entrytext section.left .container {
	padding-left: 35%;
}

.entrytext section.right .container {
	padding-right: 35%;
}

#gmap {
	width: 100%;
	height: 325px;
	border-top: 3px solid #8ec549;
}

.propstatus-selector {
	margin-bottom: 80px;
	text-align: center;
}

.portfolio .propstatus-selector .mobile-label {
	display: none;
}

.portfolio .propstatus-selector a {
	display: inline-block;
	padding: 8px;
	line-height: 26px;
	font-weight: 700;
	color: #3c3c3c;
	border-bottom: 4px solid transparent;
}

.portfolio .propstatus-selector a + a {
	margin-left: 40px;
}

.portfolio .propstatus-selector a:hover, .portfolio .propstatus-selector a.active {
	border-bottom: 4px solid #8ec549;
	text-decoration: none;
}

/*--------------Boxes---------------*/

.prettybox {
	position: relative;
	padding: 20px 20px 20px 50px;
	margin: 60px 120px;
	background: #dfdfdf;
	border-left: 10px solid #8ec549;
	-webkit-box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.20);
	-moz-box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.20);
	box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.20);
}

.prettybox::before {
	content: '';
	position: absolute;
	top: 28px;
	left: 0;
	display: block;
	width: 0;
	height: 0;
	border: 20px solid transparent;
	border-left-color: #8ec549;
}

.reverse .prettybox {
	border-color: rgba(255, 255, 255, 0.35);
	color: #fff;
}

.prettybox.reverse, .reverse .prettybox.reverse {
	color: #000;
	border-color: rgba(0, 0, 0, 0.35);
}

/*-------------Comments-------------*/

#comments {
	clear: both;
}

.comment-list, .nopassword, .nocomments {
	margin: 1.25em 0;
}

.comment-list li.comment, #commentform {
	background: #f6f6f6;
	border: 1px solid #ddd;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	margin: 0 0 1.625em;
	padding: 1.625em;
	position: relative;
}

.comment-list .pingback {
	margin: 0 0 1.5em;
	padding: 0 1.5em;
}

.comment-list .children {
	list-style: none;
	margin: 0;
}

.comment-list .children li.comment {
	background: #fff;
	border-left: 1px solid #ddd;
	-webkit-border-radius: 0 3px 3px 0;
	-moz-border-radius: 0 3px 3px 0;
	border-radius: 0 3px 3px 0;
	margin: 1.5em 0 0;
	padding: 1.5em;
	position: relative;
}

.comment-author {
	font-size: 14px;
}

.comment-meta {
	color: #666;
	font-size: 12px;
	padding: .25em 0;
}

.comment-list .avatar {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	padding: 0;
	position: relative;
	float: left;
	margin-right: 10px;
}

.comment-list > li.pingback:before {
	content: '';
}

.comment-reply-link {
	display: inline-block;
	position: absolute;
	right: 1.5em;
	top: 1.5em;
	background-color: #ccc;
	background-color: rgba(255,255,255,0.4);
	color: #666;
	font-size: 12px;
	padding: 1px 4px;
	text-decoration: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.comment-reply-link:hover, .comment-reply-link:focus, .comment-reply-link:active, .active-reply {
	background-color: #ddd;
	background-color: rgba(255,255,255,0.8);
	color: #000;
}

a.comment-reply-link > span {
	display: inline-block;
	position: relative;
	top: -1px;
}

.comment-list > li.bypostauthor {
	background: #ddd;
	border-color: #d3d3d3;
}

.comment-list > li.bypostauthor .comment-meta {
	color: #575757;
}

.comment-list .children > li.bypostauthor {
	background: #ddd;
	border-color: #d3d3d3;
}

#respond .comment-form-author, #respond .comment-form-email, #respond .comment-form-url, #respond .comment-form-comment {
	position: relative;
}

#respond input[type="text"]:focus, #respond textarea:focus {
	text-indent: 0;
	z-index: 1;
}

#respond textarea {
	resize: vertical;
	width: 100%;
}

#respond .comment-form-author .required, #respond .comment-form-email .required {
	color: #f48435;
	font-size: 18px;
	font-weight: bold;
	z-index: 1;
}

#respond .comment-notes, #respond .logged-in-as {
	font-size: 13px;
	margin-top: 0;
}

#respond .form-submit {
	font-family: Arial, sans-serif;
	text-align: right;
	margin-bottom: 0;
}

#respond #cancel-comment-reply-link {
	color: #777;
	margin-left: 10px;
	text-decoration: none;
}

#respond .logged-in-as a:hover, #respond #cancel-comment-reply-link:hover {
	text-decoration: underline;
}

.comment-list #respond {
	margin: 1.5em 0 0;
	width: auto;
}

#cancel-comment-reply-link:focus, #cancel-comment-reply-link:active, #cancel-comment-reply-link:hover {
	color: #ff4b33;
}

#respond label {
	line-height: 2em;
}

#respond input[type="text"], #respond input[type="email"], #respond input[type="url"] {
	display: block;
	width: 75%;
	padding: .5em;
}

p.comment-form-comment {
	margin: 0;
}

.form-allowed-tags {
	display: none;
}

/*------------Galleries-------------*/

#content .gallery .gallery-row {
	margin-bottom: 1.5em;
}

#content .gallery .gallery-item .gallery-icon img {
	padding: 0;
}

#content .gallery .col-2 img, #content .gallery .col-3 img {
	max-width: 80%;
}

#content .gallery .col-4 img, #content .gallery .col-5 img {
	max-width: 70%;
}

/*-----------Accordions-------------*/

.accordion {
	position: relative;
	display: block;
	padding: 8px 32px 8px 12px;
	background-color: #dfdfdf;
	font-size: 24px;
	line-height: 28px;
	color: #455925;
	margin: 1em 0;
	cursor: pointer;
}

.accordion:hover {
	background-color: #8ec549;
	color: #fff;
}

.accordion::after {
	content: '+';
	position: absolute;
	top: 8px;
	right: 12px;
	display: block;
	font-weight: 700;
	font-size: 30px;
}

blockquote {
	margin: 1em 0;
}

.element, blockquote {
	margin-left: 20px;
	border-left: 3px #333 solid;
	padding-left: 20px;
}

.element p {
	margin: 1em 0;
}

/*-------------Columns--------------*/

.c75, .c66, .c50, .c33, .c25, .c20 {
	display: block;
	position: relative;
	float: left;
	margin: 0 4% 1em 0;
}

.c75 {
	width: 71%;
}

.c66 {
	width: 62%;
}

.c50 {
	width: 46%;
}

.c33 {
	width: 29.3%;
}

.c25 {
	width: 21%;
}

.c20 {
	width: 16%;
}

.c75 .element, .c66 .element, .c50 .element, .c33 .element, .c25 .element, .c20 .element {
	width: auto;
}

.row.r5050 .c50 {
	width: 48%;
}

.row.r333333 .c33 {
	width: 30.6%;
}

.row.r333333 .c33:nth-child(3n) {
	margin-right: 0;
}

.row.r333333 .c33:nth-child(3n+1) {
	clear: left;
}

.row.r5050 .c50:last-child, .row.r333333 .c33:nth-child(3), .row.r333333 .c33:nth-child(6), .row.r333333 .c33:nth-child(9), .row.r333333 .c33:nth-child(12), .row.r333333 .c33:nth-child(15), .row.r333333 .c33:nth-child(18) {
	margin-right: 0;
}

/*----------Related Posts-----------*/

.tcx_related {
	position: relative;
	margin: 1em 0;
	border: 1px solid #dedede;
	border-width: 1px 0;
	background-color: #ededed;
}

.tcx_related.c50 {
	margin: 0 4% 1em 0;
}

.tcx_related.c50.right {
	position: relative;
	float: right;
	margin: 0 0 1em 4%;
	text-align: left;
}

.tcx_related:hover {
	background-color: #dedede;
	border-color: #999;
}

.tcx_related a:hover {
	text-decoration: none;
}

.tcx_related .label {
	position: absolute;
	top: 0;
	padding: 0 4px;
	background: #dedede;
}

.tcx_related .desc {
	position: relative;
	padding: 10px;
}

.tcx_related .desc:after {
	content: '\2192';
	font-family: tcx;
	position: absolute;
	right: 10px;
	top: 50%;
	margin-top: -10px;
	font-size: 20px;
	line-height: 20px;
}

/*-----------TCX Buttons------------*/

.tcx_button, input.button, .post-edit-link, .toggle, .submit {
	display: inline-block;
	position: relative;
	cursor: pointer;
	text-rendering: auto;
	border: 0;
	-webkit-appearance: none;
	
	color: #fff;
	text-transform: uppercase;
	padding: 9px 73px 8px 20px;
	font-weight: 700;
	font-size: 22px;
	line-height: 1.5em;
	margin: 1em 0;
	border: 1px solid #8ec549;
	background-color: #8ec549;
}

input.button, .submit {
	padding-right: 20px;
}

.toggle {
	display: none;
}

.tcx_button:hover, .post-edit-link:hover, .toggle:hover {
	text-decoration: none;
	color: #fff;
}

.tcx_button::after, .post-edit-link::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 0;
	display: block;
	width: 0;
	height: 0;
	margin-top: -14px;
	border: 15px solid transparent;
	border-left-color: #8ec549;
	border-left-width: 16px;
	-webkit-transition: border-left-color 0.3s ease-in-out;
	-moz-transition: border-left-color 0.3s ease-in-out;
	-o-transition: border-left-color 0.3s ease-in-out;
	-ms-transition: border-left-color 0.3s ease-in-out;
	transition: border-left-color 0.3s ease-in-out;
}

.tcx_button::before, .post-edit-link::before {
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	display: block;
	width: 50px;
	height: 100%;
	background-color: #fff;
	color: #8ec549;
	text-align: center;
	line-height: 50px;
	-webkit-transition: background-color 0.3s ease-in-out;
	-moz-transition: background-color 0.3s ease-in-out;
	-o-transition: background-color 0.3s ease-in-out;
	-ms-transition: background-color 0.3s ease-in-out;
	transition: background-color 0.3s ease-in-out;
}

.tcx_button:hover::after, .post-edit-link:hover::after {
	border-left-color: #fff;
}

.tcx_button:hover::before, .post-edit-link:hover::before {
	background-color: #8ec549;
}

.tcx_button + .tcx_button {
	margin-left: 0.5em;
}

.tcx_button.permalink {
	position: relative;
	float: right;
}

.post-edit-link {
	position: relative;
	float: right;
	font-size: 80%;
}

.post-edit-link::after {
	right: 10px;
	margin-top: -9px;
	border-width: 9px;
	border-left-width: 10px;
}

/*-----------Search Form------------*/

.searchform {
	width: 100%;
	max-width: 300px;
	height: 34px;
	padding: 3px 30px 3px 10px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background-color: #fff;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: inset 2px 2px 2px #e9e9e9;
	-moz-box-shadow: inset 2px 2px 2px #e9e9e9;
	box-shadow: inset 2px 2px 2px #e9e9e9;
	position: relative;
}

.searchform .search {
	width: 100%;
	height: 100%;
	line-height: 30px;
	color: #a9a9a9;
	padding: 0;
	margin: 0;
	border-width: 0;
	background-color: transparent;
}

.searchform .searchsubmit {
	width: 30px;
	height: 100%;
	background-color: transparent;
	background-position: 50% -27px;
	border-width: 0;
	cursor: pointer;
	position: absolute;
	top: 0;
	right: 0;
}

/*------------Slideshow-------------*/

.tcx_slideshow {
	position: relative;
	clear: both;
}

.flex-control-nav {
	margin: 0;
	z-index: 999;
}

.slide-desc {
	position: absolute;
	bottom: 0;
	right: 0;
	background-color: #000;
	background-color: rgba(0,0,0,.5);
	padding: 20px;
	margin: 20px;
	width: 300px;
	line-height: 21px;
	color: #fff;
}

.slide-desc .tcx_button {
	clear: both;
	margin: 1em 0;
}

.title {
	font-size: 36px;
	line-height: 38px;
	color: #fff;
}

#content .slide-desc {
	position: static;
	width: auto;
	background-color: #000;
	background-color: rgba(0, 0, 0, .80);
	padding: 20px;
	margin: 0;
	color: #fff;
}

.slides li {
	display: none;
	position: relative;
	width: 100%;
	line-height: 0;
	overflow: hidden;
}

.entrytext .slides, .entrytext .slides li, .tcx_slideshow .flex-control-paging li, .tcx_slideshow .flex-control-paging, ul.flex-direction-nav li {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.tcx_slideshow .slides .carousel {
	margin-right: 30px;
}

.slides img {
	width: 100%;
	height: auto;
}

.flex-control-paging li a {
	width: 11px;
	height: 11px;
	margin: 10px 6px 0 6px;
	border: 0;
	box-shadow: none;
	background-color: transparent;
	background-position: -25px 0;
	-webkit-transition: none;
	-ms-transition: none;
	-o-transition: none;
	-moz-transition: none;
	transition: none;
	direction: rtl;
	overflow: hidden;
}

html .flex-control-paging li .flex-active, .flex-control-paging li a:hover {
	background-color: transparent;
	background-position: -25px -11px;
}

tcx_slideshow .numbers li a {
	text-indent: 0;
}

.entrytext .flex-direction-nav {
	margin: 0;
}

.flex-direction-nav a {
	position: absolute;
	top: 50%;
	display: block;
	width: 48px;
	height: 48px;
	opacity: 1;
	text-indent: 0;
	text-align: center;
}

.flex-direction-nav a:hover {
	text-decoration: none;
}

.flex-direction-nav .flex-prev {
	left: 20px;
}

.flex-direction-nav .flex-prev::before {
	content: '\02c2';
}

.flex-direction-nav .flex-next {
	right: 20px;
}

.flex-direction-nav .flex-next::before {
	content: '\02c3';
}

.flex-direction-nav .flex-prev::before, .flex-direction-nav .flex-next::before {
	display: block;
	width: 48px;
	height: 48px;
	font-family: tcx;
	font-size: 48px;
	line-height: 48px;
	color: #fff;
	background-color: #000;
	background-color: rgba(0, 0, 0, 0.5);
	-webkit-border-radius: 40px;
	-moz-border-radius: 40px;
	border-radius: 40px;
}

/*.video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
}

.video-overlay img {
	width: 50%;
	max-width: 200px;
	height: auto;
}*/

.video-overlay, .audio-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url("images/graphic-video.png") center center no-repeat;
	background-size: 200px 200px;
}

.audio-overlay {
	cursor: pointer;
}

.audio-overlay .mejs-container {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1;
}

/*--------Responsive Embeds---------*/

.embed-responsive {
	position: relative;
	display: block;
	height: 0;
	padding: 0;
	overflow: hidden;
}

.embed-responsive .embed-responsive-item, .embed-responsive iframe, .embed-responsive embed, .embed-responsive object {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.embed-responsive.embed-responsive-16by9 {
	padding-bottom: 56.25%
}

.embed-responsive.embed-responsive-4by3 {
	padding-bottom:75%
}

/*----------jQuery Fader------------*/

.fadeThis {
	position: relative;
	display: block;
}

.fadeThis span, .fadeThis div {
	display: none;
}

.fadeThis span.hover {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
}

#fadeButton, #fadeButton span.hover {
	background: url("images/fade-button.png") no-repeat;
	width: 150px;
	height: 40px;
}

#fadeButton span.hover {
	background-position: 0 -40px;
}

/*------------Pagination------------*/

.page-numbers {
	display: inline-block;
	padding: 4px;
	border: 1px #bbb solid;
	margin-right: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

.page-numbers:hover {
	text-decoration: none;
}

.pagination .current, .pagination .dots {
	cursor: default;
}

.pagination .dots {
	border: 0;
}

/*----------Share Buttons-----------*/

.tcx_share.bar {
	position: fixed;
	top: 25%;
	z-index: 99;
}

.tcx_share.bar.left {
	left: 0;
}

.tcx_share.bar.right {
	right: 0;
}

.tcx_share .notooltip .tip {
	display: none;
}

.tcx_share li {
	line-height: 0;
	list-style-type: none;
}

.tcx_share a {
	text-decoration: none;
}

.tcx_share a:hover {
	text-decoration: none;
}

.tcx_share .tcx-icon {
	position: relative;
	display: inline-block;
	width: 30px;
	height: 30px;
	margin: 0;
	background-color: #ccc;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

.tcx_share .tcx-icon::before {
	font-size: 17px;
	line-height: 32px;
}

.tcx_share a:hover {
	background-color: #aaa;
}

.tcx_share.bar.top li:first-child a, .tcx_share.bar.right li:last-child a {
	-webkit-border-radius: 0 0 0 5px;
	-moz-border-radius: 0 0 0 5px;
	border-radius: 0 0 0 5px;
}

.tcx_share.bar.left li:first-child a {
	-webkit-border-radius: 0 5px 0 0;
	-moz-border-radius: 0 5px 0 0;
	border-radius: 0 5px 0 0;
}

.tcx_share.bar.right li:first-child a {
	-webkit-border-radius: 5px 0 0 0;
	-moz-border-radius: 5px 0 0 0;
	border-radius: 5px 0 0 0;
}

.tcx_share.bar li:last-child a {
	-webkit-border-radius: 0 0 5px 0;
	-moz-border-radius: 0 0 5px 0;
	border-radius: 0 0 5px 0;
}

.tcx_share.buttons li:first-child a {
	-webkit-border-radius: 5px 0 0 5px;
	-moz-border-radius: 5px 0 0 5px;
	border-radius: 5px 0 0 5px;
}

.tcx_share.buttons li:last-child a {
	-webkit-border-radius: 0 5px 5px 0;
	-moz-border-radius: 0 5px 5px 0;
	border-radius: 0 5px 5px 0;
}

/*------------Tool Tips-------------*/

.tooltip .tip {
	position: absolute;
	top: -13px;
	left: 65px;
	width: 190px;
	opacity: 0;
	visibility: hidden;
	padding: 16px 20px;
	color: #fff;
	font-size: 14px;
	line-height: 20px;
	text-align: left;
	pointer-events: none;
	border-radius: 5px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
	background: #444;
	background: rgba(60, 60, 60, 0.975);
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	z-index: 9;
}

.tooltip:hover {
	text-decoration: none;
}

.tooltip .tip:after {
	content: '';
	position: absolute;
	top: 18px;
	left: 0;
	margin-left: -8px;
	border-width: 8px;
	border-bottom: 8px solid transparent;
	border-top: 8px solid transparent;
	border-right: 8px solid #444;
	border-right: 8px solid rgba(60, 60, 60, .975);
}

.tooltip:hover .tip {
	opacity: 1;
	top: -13px;
	left: 55px;
	visibility: visible;
}

.tooltip .tip:hover {
	visibility: hidden;
}

.tooltip .tip ul, .tooltip .tip li:last-child {
	margin-bottom: 0;
}

.right .tooltip .tip {
	left: auto;
	right: 65px;
}

.right .tooltip:hover .tip {
	right: 55px;
}

.right .tooltip .tip:after {
	left: auto;
	right: -16px;
	border-right: 8px solid transparent;
	border-left: 8px solid #444;
	border-left: 8px solid rgba(60, 60, 60, .975);
}

/*-------Responsive Photosets-------*/

.photoset {
	overflow: hidden;
	width: 100%;
}

.photoset .photoset-row {
	margin-bottom: .5rem;
	overflow: hidden;
	width: 150%;
}

.photoset .photoset-row:last-child { margin: 0; }

.photoset .photoset-item {
	display: block;
	float: left;
	margin: 0 .25rem;
}

.photoset .photoset-item:first-child { margin-left: 0; }

.photoset .photoset-item:last-child  { margin-right: 0; }

.photoset figure {
	margin: 0;
	overflow: hidden;
	position: relative;
	-webkit-backface-visibility: hidden; /* To fix webkit 1px rendering bug */
}

.photoset-item a {
	border: 0;
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
}

.photoset .photoset-item:hover a + figcaption {
	-webkit-transform: translateY(0);
	transform: translateY(0);
}

.photoset img {
	display: block;
	max-width: 100%;
	transition: all .25s ease-in-out;
}

.photoset figcaption {
	background-color: rgba(255, 255, 255, .75);
	box-sizing: border-box;
	font-size: .75rem;
	padding: .5rem;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
	transition: all .5s ease-in-out;
}

.photoset figcaption a {
	display: inline;
	font-style: oblique;
}

/*----------Hover Effects-----------*/

.hoverfx {
	position: relative;
	line-height: 0;
	overflow: hidden;
	background-color: #000;
	-webkit-box-shadow: 0 17px 50px 0 rgba(0, 0, 0, 0.19), 0 12px 15px 0 rgba(0, 0, 0, 0.24);
	-moz-box-shadow: 0 17px 50px 0 rgba(0, 0, 0, 0.19), 0 12px 15px 0 rgba(0, 0, 0, 0.24);
	box-shadow: 0 17px 50px 0 rgba(0, 0, 0, 0.19), 0 12px 15px 0 rgba(0, 0, 0, 0.24);
	-webkit-transition: -webkit-box-shadow 0.35s;
	-ms-transition: box-shadow 0.35s;
	-o-transition: box-shadow 0.35s;
	-moz-transition: -moz-box-shadow 0.35s;
	transition: box-shadow 0.35s;
}

.hoverfx .overlay {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
	background-color: rgba(0, 0, 0, 0.5);
	-webkit-transition: background-color 0.35s;
	transition: background-color 0.35s;
	z-index: 1;
}

.hoverfx.fadein .overlay {
	background-color: rgba(0, 0, 0, 0);
}

.hoverfx:hover .overlay {
	background-color: rgba(142, 196, 73, 0.8);
}

.hoverfx img {
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1.12);
	transform: scale(1.12);
}

.hoverfx:hover {
	-webkit-box-shadow: 0 17px 52px 0 rgba(0, 0, 0, 0.22), 0 12px 20px 0 rgba(0, 0, 0, 0.26);
	-moz-box-shadow: 0 17px 52px 0 rgba(0, 0, 0, 0.22), 0 12px 20px 0 rgba(0, 0, 0, 0.26);
	box-shadow: 0 17px 52px 0 rgba(0, 0, 0, 0.22), 0 12px 20px 0 rgba(0, 0, 0, 0.26);
}

.hoverfx:hover img, .hoverfx.active img {
	-webkit-transform: scale(1);
	transform: scale(1);
}

.hoverfx .description {
	padding: 3em;
	line-height: 30px;
	text-align: center;
	z-index: 2;
}

.hoverfx.fadein .description {
	opacity: 0;
	-webkit-transition: opacity 0.35s;
	-ms-transition: opacity 0.35s;
	-o-transition: opacity 0.35s;
	-moz-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

.hoverfx.fadein:hover .description {
	opacity: 1;
}

.hoverfx .overlay::before {
	content: '';
	position: absolute;
	top: 20px;
	right: 20px;
	bottom: 20px;
	left: 20px;
	border: 1px solid #fff;
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

.hoverfx .overlay::before {
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

.hoverfx h2 {
	padding: 20% 0 20px 0;
}

.hoverfx p {
	margin: 0 auto;
	font-size: 24px;
	line-height: 28px;
	-webkit-transform: scale(0.92);
	transform: scale(0.92);
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

.hoverfx p::after {
	content: '';
	display: block;
	width: 0;
	height: 0;
	margin: 17px auto 0 auto;
	border: 14px solid transparent;
	border-top-color: #fff;
}

.hoverfx:hover .overlay::before, .hoverfx:hover p,
.hoverfx.active .overlay::before, .hoverfx.active p {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

.hoverfx .description {
	padding: 4em 1.25em;
	color: #fff;
	font-size: 1.25em;
	text-align: center;
	font-weight: 700;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.hoverfx .overlay::before,
.hoverfx .overlay::after {
	pointer-events: none;
}

.hoverfx .description,
.hoverfx .description > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.hoverfx .description > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.hoverfx h2 {
	word-spacing: -0.15em;
	font-weight: 300;
}

.hoverfx h2 span {
	font-weight: 800;
}

.hoverfx h2,
.hoverfx p {
	margin: 0;
}

/*--------------Routing-------------*/

.routing .container, .sectioned-page .entrytext section .routing .container {
	padding-bottom: 0;
}

.routing .row {
	position: relative;
	top: -80px;
}

.routing .c33 {
	margin-bottom: 0;
}

/*-----------Social Icons-----------*/

.tcx-icon {
	display: block;
	width: 40px;
	height: 40px;
	-webkit-border-radius: 40px;
	-moz-border-radius: 40px;
	border-radius: 40px;
	background-color: #ccc;
	text-align: center;
	margin: 5px 10px 5px 0;
	position: relative;
	float: left;
}

.tcx-icon:hover {
	background-color: #fff;
	text-decoration: none;
}

.tcx-icon:before {
	font-family: tcx;
	font-size: 20px;
	line-height: 40px;
	color: #fff;
}

.tcx-icon.email:before {
	content: '\1f4e7';
}

.tcx-icon.facebook:before {
	content: '\e80a';
}

.tcx-icon.twitter:before {
	/*content: '\e80b';*/
	content: '𝕏';
	font-weight: bold;
}

.tcx-icon.linkedin:before {
	content: '\e808';
}

.tcx-icon.pinterest:before {
	content: '\e807';
}

.tcx-icon.youtube:before {
	content: '\e810';
}

.tcx-icon.vimeo:before {
	content: '\e80e';
}

.tcx-icon.googleplus:before {
	content: '\e809';
}

.tcx-icon.instagram:before {
	content: '\e80d';
}

.tcx-icon.flickr:before {
	content: '\e835';
}

.tcx-icon.steam:before {
	content: '\e811';
}

.tcx-icon.lastfm:before {
	content: '\e80c';
}

.tcx-icon.behance:before {
	content: '\e822';
}

.tcx-icon.dribbble:before {
	content: '\e821';
}

.tcx-icon.stumbleupon:before {
	content: '\e803';
}

.tcx-icon.tumblr:before {
	content: '\e804';
}

.tcx-icon.reddit:before {
	content: '\e805';
}

.tcx-icon.foursquare:before {
	content: '\e806';
}

.tcx-icon.goodreads:before {
	content: '\e800';
}

.tcx-icon.rss:before {
	content: '\e81a';
}

.tcx-icon.web:before {
	content: '\1f30e';
}

.tcx-icon.email:hover, .color .tcx-icon.email {
	background-color: #f58020;
}

.tcx-icon.facebook:hover, .color .tcx-icon.facebook {
	background-color: #3b5998;
}

.tcx-icon.twitter:hover, .color .tcx-icon.twitter {
	background-color: #00aced;
}

.tcx-icon.googleplus:hover, .color .tcx-icon.googleplus {
	background-color: #dd4b39;
}

.tcx-icon.linkedin:hover, .color .tcx-icon.linkedin {
	background-color: #007bb6;
}

.tcx-icon.pinterest:hover, .color .tcx-icon.pinterest {
	background-color: #cb2027;
}

.tcx-icon.youtube:hover, .color .tcx-icon.youtube {
	background-color: #bb0000;
}

.tcx-icon.vimeo:hover, .color .tcx-icon.vimeo {
	background-color: #aad450;
}

.tcx-icon.instagram:hover, .color .tcx-icon.instagram {
	background-color: #517fa4;
}

.tcx-icon.flickr:hover, .color .tcx-icon.flickr {
	background-color: #0063dc;
}

.tcx-icon.steam:hover, .color .tcx-icon.steam {
	background-color: #000;
}

.tcx-icon.lastfm:hover, .color .tcx-icon.lastfm {
	background-color: #c3000d;
}

.tcx-icon.behance:hover, .color .tcx-icon.behance {
	background-color: #1769ff;
}

.tcx-icon.dribbble:hover, .color .tcx-icon.dribbble {
	background-color: #ea4c89;
}

.tcx-icon.stumbleupon:hover, .color .tcx-icon.stumbleupon {
	background-color: #eb4924;
}

.tcx-icon.tumblr:hover, .color .tcx-icon.tumblr {
	background-color: #35465c;
}

.tcx-icon.reddit:hover, .color .tcx-icon.reddit {
	background-color: #5f99cf;
}

.tcx-icon.foursquare:hover, .color .tcx-icon.foursquare {
	background-color: #e83165;
}

.tcx-icon.goodreads:hover, .color .tcx-icon.goodreads {
	background-color: #87614f;
}

.tcx-icon.rss:hover, .color .tcx-icon.rss {
	background-color: #fac649;
}

.tcx-icon.web:hover, .color .tcx-icon.web {
	background-color: #8cc642;
}

/*----------Gravity Forms-----------*/

.gform_wrapper {
	width: 100%;
	max-width: 100%;
	margin: 1em 0;
}

.gform_body .ginput_container, .gform_body span {
	overflow: visible;
}

.gform_wrapper .gform_heading {
	width: 100%;
	margin-bottom: 1em;
}

.gform_wrapper h3.gform_title {
	font-size: 2em;
	font-weight: normal;
	margin: 0.5em 0;
}

.gform_wrapper .gfield, .gform_wrapper .gfield .ginput_complex > span {
	padding: 0;
	margin: 1em 0;
	position: relative;
}

.gform_wrapper .gfield .ginput_complex > .ginput_right, .gform_wrapper .gfield .ginput_complex > .ginput_left {
	margin: 0.5em 0;
}

.gf_clear, .gf_clear_complex {
	clear: both;
}

.gform_wrapper .gfield_label, .gform_wrapper .top_label .gfield_label {
	display: none;
}

.gform_wrapper .gfield_label.keep-label, .gform_wrapper .gfield_label, .gform_wrapper .top_label .gfield_label.keep-label {
	display: block;
	margin-bottom: 0.5em;
}

/* non-inline labels
.gform_wrapper .gfield_label, .gform_wrapper .top_label .gfield_label {
	font-weight: bold;
	line-height: 1.5em;
	margin: 0.25em 0;
}*/

.gform_wrapper .gform_body input, .gform_wrapper .gform_body textarea {
	padding: 6px 10px;
	font-size: 16px;
	border: none;
	color: #fff;
	background-color: #a9a9a9;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.gform_wrapper .gform_body input {
	height: 40px;
}

.gform_body input:focus, .gform_body textarea:focus {
	background-color: #909090;
}

.gform_wrapper .top_label input.medium {
	padding-right: 10px;
}

.gform_wrapper .gform_body .ginput_complex input, .gform_wrapper .gform_body .ginput_complex .ginput_right input, .gform_wrapper .gform_body .gfield_error .ginput_complex .ginput_left input, .gform_wrapper .gform_body .gfield_error .ginput_complex .ginput_right input, .gform_wrapper .gform_body .ginput_complex .ginput_full input {
	width: 100% !important;
}

.gform_wrapper .gform_body .ginput_complex select, .gform_wrapper .gform_body .ginput_complex .ginput_right select {
	width: 110% !important;
}

.gform_wrapper .top_label input.large, .gform_wrapper .top_label select.large, .gform_wrapper .top_label textarea.textarea {
	width: 100%;
}

.gform_wrapper .ginput_complex .ginput_left, .gform_wrapper .gfield_error .ginput_complex .ginput_left, .gform_wrapper .gfield_error .ginput_complex .ginput_right {
	width: 47%;
}

.gform_wrapper .gfield_html ul {
	margin: 1em 0 1em 1.5em !important;
}

.gform_wrapper form .gfield_html li, .gform_wrapper .gfield_html li {
	list-style-type: disc !important;
	margin: 0 0 .5em !important;
}

.gform_wrapper .datepicker {
	width: 47% !important;
}

.ui-datepicker-div, .ui-datepicker-inline, #ui-datepicker-div {
	display: none;
	border: none;
	-webkit-box-shadow: 0 0 25px rgba(0, 0, 0, .4);
	-moz-box-shadow: 0 0 25px rgba(0, 0, 0, .4);
	box-shadow: 0 0 25px rgba(0, 0, 0, .4);
}

.ui-datepicker a {
	-webkit-transition: none;
	-ms-transition: none;
	-o-transition: none;
	-moz-transition: none;
	transition: none;
}

.recaptchatable {
	border: none;
}

.styled-select {
	position: relative;
	padding: 0;
	background-color: #a9a9a9;
	overflow: hidden;
}

.styled-select:hover {
	background-color: #909090;
}

.styled-select::after {
	position: absolute;
	right: 10px;
	top: 0;
	font-size: 14px;
	line-height: 40px;
	content: '\25bc';
	color: #e9e9e9;
}

.styled-select select, .gform_wrapper .gfield.float-right .styled-select select, .gform_wrapper .gfield.float-left .styled-select select {
	position: relative;
	width: 110% !important;
	padding: 7px 10px 7px 10px;
	font-size: 14px;
	vertical-align: top !important;
	text-align: left;
	color: #e9e9e9;
	background-color: transparent;
	-webkit-appearance: none;
	-moz-appearance: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	border: none;
	cursor: pointer;
	z-index: 2;
}

.styled-select select:focus {
	outline: none;
}

.gform_wrapper ul.gfield_checkbox li, .gform_wrapper ul.gfield_radio li {
	padding: 1px 0 !important;
}

.gfield_radio label, .gfield_checkbox label {
	margin-left: 10px;
	cursor: pointer;
}

.gfield_radio input[type="radio"], .gfield_checkbox input[type="checkbox"] {
	display: none;
}

.gfield_radio input[type="radio"] + label span, .gfield_checkbox input[type="checkbox"] + label span {
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 10px;
	vertical-align: middle;
	background-color: #f6f6f6;
	border: 5px solid #f6f6f6;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	-webkit-box-shadow: 0px 0px 1px #333;
	-moz-box-shadow: 0px 0px 1px #333;
	box-shadow: 0px 0px 1px #333;
	cursor: pointer;
}

.gfield_radio input[type="radio"]:hover + label span, .gfield_checkbox input[type="checkbox"]:hover + label span {
	background-color: #dcdcdc;
}

.gfield_radio input[type="radio"]:checked + label span {
	background-color: #f48435;
}

.gfield_checkbox input[type="checkbox"] + label span {
	width: 18px;
	height: 18px;
	border: 0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.gfield_checkbox input[type="checkbox"]:checked + label span::before {
	margin-left: 1px;
	font-size: 23px;
	line-height: 12px;
	font-weight: normal;
	text-align: center;
	color: #f48435;
	-webkit-text-shadow: 1px 0 0 #fff;
	-moz-text-shadow: 1px 0 0 #fff;
	text-shadow: 1px 0 0 #fff;
	content: '\2713';
}

.gform_wrapper .gfield_label.keep-label {
	display: block;
	margin-bottom: 0.5em;
}

.gform_wrapper .gform_footer {
	text-align: right;
	padding: 0;
	margin: 1em 0;
}

.gform_wrapper .gform_body .gfield_required {
	color: #f48435;
	margin-left: 2px;
}

.gform_wrapper .gfield.gfield_error .gfield_description, .gform_wrapper .top_label .gfield_description.validation_message {
	position: absolute;
	top: 0;
	right: 10px;
	padding: 0 !important;
	margin: 0;
	text-align: right;
}

.gform_wrapper .gfield_error, .gform_wrapper li.gfield.gfield_error.gfield {
	width: auto;
	border: none;
	background: none;
	margin-bottom: 0.5em;
	margin-left: 0;
	padding: 0 !important;
}

.gform_wrapper .gfield_error .gfield_label, .gform_wrapper .gfield_error .ginput_container {
	margin-top: 0 !important;
}

.gform_wrapper .gfield_error input, .gform_wrapper .gfield_error textarea {
	background-color: #f6f6f6;
	-webkit-box-shadow: inset 2px 2px 2px #e9e9e9;
	-moz-box-shadow: inset 2px 2px 2px #e9e9e9;
	box-shadow: inset 2px 2px 2px #e9e9e9;
}

.gfield_error input:focus, .gfield_error textarea:focus {
	background-color: #e9e9e9;
}

.gform_wrapper .gform_body input::-webkit-input-placeholder, .gform_wrapper .gform_body textarea::-webkit-input-placeholder {
	color: #f9f9f9;
	text-align: left;
}

.gform_wrapper .gform_body input:-moz-placeholder, .gform_wrapper .gform_body textarea:-moz-placeholder {
	color: #f9f9f9;
	opacity: 1;
	text-align: left;
}

.gform_wrapper .gform_body input::-moz-placeholder, .gform_wrapper .gform_body textarea::-moz-placeholder {
	color: #f9f9f9;
	opacity: 1;
	text-align: left;
}

.gform_wrapper .gform_body input:-ms-input-placeholder, .gform_wrapper .gform_body textarea:-ms-input-placeholder {
	color: #f9f9f9;
	text-align: left;
}

.gform_wrapper .gform_body input:focus::-webkit-input-placeholder, .gform_wrapper .gform_body textarea:focus::-webkit-input-placeholder {
	color: #fff;
}

.gform_wrapper .gform_body input:focus:-moz-placeholder, .gform_wrapper .gform_body textarea:focus:-moz-placeholder {
	color: #fff;
}

.gform_wrapper .gform_body input:focus::-moz-placeholder, .gform_wrapper .gform_body textarea:focus::-moz-placeholder {
	color: #fff;
}

.gform_wrapper .gform_body input:focus:-ms-input-placeholder, .gform_wrapper .gform_body textarea:focus:-ms-input-placeholder {
	color: #fff;
}

/*-------------FancyBox-------------*/

#fancybox-loading {
	background-position: -105px -45px;
}

.fancybox-skin {
	background: #fff;
}

.fancybox-close {
	background-position: 1px -45px;
}

.fancybox-nav span {
	width: 35px;
}

.fancybox-prev span {
	background-position: -35px -45px;
}

.fancybox-next span {
	background-position: -70px -45px;
}

ol.flex-control-thumbs {
	text-align: left;
	margin-left: 0;
}

.flex-control-thumbs li:first-child {
	margin-left: 0;
}

.flex-control-thumbs li {
	width: 16.8%;
	float: none;
	margin: 0;
	padding-right: 1%;
	padding-top: 1%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.flex-control-thumbs li:last-child {
	padding-right: 0;
}

/*-------------WebFonts-------------*/

@font-face {
	font-family: 'Raleway Light';
	font-style: normal;
	font-weight: normal;
	src: url('fonts/raleway-light-webfont.eot');
	src: url('fonts/raleway-light-webfont.eot?#iefix') format('embedded-opentype'),
		 url('fonts/raleway-light-webfont.woff2') format('woff2'),
		 url('fonts/raleway-light-webfont.woff') format('woff'),
		 url('fonts/raleway-light-webfont.ttf') format('truetype'),
		 url('fonts/raleway-light-webfont.svg#ralewaylight') format('svg');
}

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 300;
	src: url('fonts/OpenSans-Light-webfont.eot');
	src: local('Open Sans Light'),
		 local('OpenSans-Light'),
		 url('fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
		 url('fonts/OpenSans-Light-webfont.woff') format('woff'),
		 url('fonts/OpenSans-Light-webfont.ttf') format('truetype'),
		 url('fonts/OpenSans-Light-webfont.svg#open_sanslight') format('svg');
}

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: url('fonts/OpenSans-Regular-webfont.eot');
	src: local('Open Sans'),
		 local('OpenSans'),
		 url('fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
		 url('fonts/OpenSans-Regular-webfont.woff') format('woff'),
		 url('fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
		 url('fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
}

@font-face {
	font-family: 'Open Sans';
	font-style: italic;
	font-weight: 400;
	src: url('fonts/OpenSans-Italic-webfont.eot');
	src: local('Open Sans Italic'),
		 local('OpenSans-Italic'),
		 url('fonts/OpenSans-Italic-webfont.eot?#iefix') format('embedded-opentype'),
		 url('fonts/OpenSans-Italic-webfont.woff') format('woff'),
		 url('fonts/OpenSans-Italic-webfont.ttf') format('truetype'),
		 url('fonts/OpenSans-Italic-webfont.svg#open_sansitalic') format('svg');
}

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 700;
	src: url('fonts/OpenSans-Bold-webfont.eot');
	src: local('Open Sans Bold'),
		 local('OpenSans-Bold'),
		 url('fonts/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
		 url('fonts/OpenSans-Bold-webfont.woff') format('woff'),
		 url('fonts/OpenSans-Bold-webfont.ttf') format('truetype'),
		 url('fonts/OpenSans-Bold-webfont.svg#open_sansbold') format('svg');
}

@font-face {
	font-family: 'tcx';
	src: url('fonts/tcx-canopy.eot');
	src: url('fonts/tcx-canopy.eot?#iefix') format('embedded-opentype'),
		 url('fonts/tcx-canopy.woff') format('woff'),
		 url('fonts/tcx-canopy.ttf') format('truetype'),
		 url('fonts/tcx-canopy.svg#tcx') format('svg');
	font-weight: normal;
	font-style: normal;
}

/*---------CSS3 and Tweaks----------*/

::-moz-selection {
	background: #252525;
	color: #e9e9e9;
}

::selection {
	background: #252525;
	color: #e9e9e9;
}

input, textarea {
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-ms-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

input:focus, textarea:focus {
	outline: none;
	-webkit-box-shadow: 0 0 5px #fff;
	-moz-box-shadow: 0 0 5px #fff;
	box-shadow: 0 0 5px #fff;
}

a, footer.main, .accordion, #menu li, .toggle, .tcx_related {
	-webkit-transition: color .2s linear, background .2s linear, border-color .2s linear;
	-ms-transition: color .2s linear, background .2s linear, border-color .2s linear;
	-o-transition: color .2s linear, background .2s linear, border-color .2s linear;
	-moz-transition: color .2s linear, background .2s linear, border-color .2s linear;
	transition: color .2s linear, background .2s linear, border-color .2s linear;
}

/*-----Responsive Media Queries-----*/

/**
 * Full
 */
@media only screen and (min-width: 1180px) {
	.container {
		position: relative;
		width: 1140px;
		padding: 20px 0;
		margin: 0 auto;
	}
}

/**
 * Comfy Tablet
 */
@media only screen and (max-width: 1179px) {
	.container {
		position: relative;
		width: 100%;
		padding: 20px;
		margin: 0 auto;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	h1 {
		left: 20px;
	}

	.portfolio .h3 {
		font-size: 24px;
		line-height: 32px;
	}

	.title-page {
		font-size: 32px;
	}

	#slideshow .container {
		padding: 0;
	}

	#slideshow .slide-desc {
		width: 45%;
	}

	.slide-desc .title {
		font-size: 28px;
		line-height: 32px;
	}

	.slide-desc .description {
		font-size: 13px;
		line-height: 18px;
		margin: 0.5em 0;
	}

	.slide-desc .tcx_button {
		height: 35px;
		font-size: 15px;
		line-height: 37px;
	}

	.flex-direction-nav .flex-next {
		right: 0;
	}

	.flex-direction-nav .flex-prev {
		left: 0;
	}

	.prettybox {
		margin-left: 0;
		margin-right: 0;
	}

	.fb-feed {
		margin-left: 80px;
		margin-right: 80px;
	}

}

/**
 * Home slideshow to fixed height
 */
@media only screen and (max-width: 996px) {
	#slideshow .slides img {
		max-width: none;
		min-width: 100%;
		width: 992px;
	}

	.home .home-logo {
		margin-top: -27px;
	}

	.home .home-logo h2 {
		width: 300px;
		height: 61px;
		background-size: 300px 61px;
	}

	.staff-listing .h3 {
		font-size: 1.25em;
		line-height: 1.5em;
	}
}

/**
 * Responsive Menu
 */
@media only screen and (max-width: 975px) {
	.toggle {
		display: block;
		position: relative;
		cursor: pointer;
		-webkit-touch-callout: none;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}

	#toggle:checked ~ nav #menu {
		display: block;
		opacity: 1;
	}

	.toggle:before {
		content: '\e812';
		font-family: 'tcx';
		margin-right: 0.5em;
	}

	.toggle {
		position: relative;
		float: right;
		padding-right: 20px;
		margin-right: 12px;
		margin-top: 13px;
	}
	
	#menu {
		position: absolute;
		right: 20px;
		top: 100px;
		display: none;
		opacity: 0;
		width: 50%;
		margin: 0;
		height: auto;
		background-color: #8ec549;
		-webkit-box-shadow: 5px 5px 10px rgba(0,0,0,0.12);
		-moz-box-shadow: 5px 5px 10px rgba(0,0,0,0.12);
		box-shadow: 5px 5px 10px rgba(0,0,0,0.12);
		z-index: 9;
	}

	#menu::after {
		position: absolute;
		top: -12px;
		right: 50px;
		display: block;
		width: 0;
		height: 0;
		content: '';
		border-bottom: 12px solid #8ec549;
		border-left: 12px solid transparent;
		border-right: 12px solid transparent;
	}

	#menu li {
		float: none;
		top: auto;
		width: 100%;
		height: auto;
		list-style-type: none;
		border-bottom-width: 0;
	}

	#menu li a {
		display: block;
		width: 100%;
		height: auto;
		padding: 12px 18px;
		margin: 0;
		line-height: 28px;
		color: #fff;
		text-decoration: none;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	#menu .menu-item:hover, #menu .current-menu-item > a, #menu .current_page_item > a {
		background-color: rgba(255, 255, 255, 0.15);
	}

	#menu li:hover, #menu .current-menu-item, #menu .current_page_item, #menu .current-menu-ancestor, #menu .current_page_ancestor {
		border-bottom-width: 0;
	}

	#menu .menu-item-has-children > a {
		padding-left: 18px;
	}

	#menu .sub-menu {
		display: none;
		position: relative;
		width: 100%;
		padding: 0;
		clear: both;
		color: #fff;
		border-top-width: 0;
		background-color: #888;
		background-color: rgba(255, 255, 255, 0.1);
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	#menu li:hover > .sub-menu {
		display: block;
	}

	#menu .sub-menu li {
		width: 100%;
	}

	#menu .sub-menu li a {
		line-height: 28px;
		padding: 6px 10px 6px 20px;
		height: auto;
		text-overflow: ellipsis;
		white-space: nowrap;
		overflow: hidden;
	}

	#menu .sub-menu .menu-item-has-children > a::after {
		top: auto;
		line-height: 30px;
		content: '\25bc';
	}

	#menu .sub-menu .sub-menu {
		position: static;
	}

	.fb-feed {
		margin: 0 40px 40px 40px;
	}
}

/**
 * Tablet
 */
@media only screen and (max-width: 760px) {
	body {
		background-size: auto;
		background-position: left top;
		background-attachment: fixed;
		background-repeat: repeat;
	}

	h2, .h2 {
		font-size: 34px;
		line-height: 36px;
	}

	h3, .h3 {
		font-size: 24px;
		line-height: 30px;
	}

	h4, .h4 {
		font-size: 22px;
		line-height: 28px;
	}

	h5, .h5 {
		font-size: 20px;
		line-height: 26px;
	}

	#slideshow .slide-desc {
		width: 100%;
		height: 100%;
		padding: 15px 20px;
		background-color: transparent;
		position: relative;
	}

	#slideshow .slides img {
		margin-left: -20%;
	}

	.home #slideshow::before, .home #slideshow::after {
		opacity: 0.75;
	}

	.slideshow-bottom, #slideshow .flex-direction-nav, #slideshow .flex-control-nav {
		display: none;
	}

	.hoverfx p {
		font-size: 18px;
		line-height: 22px;
	}

	.portfolio .h3 {
		font-size: 20px;
		line-height: 26px;
	}

	.title-page {
		line-height: 38px;
		padding-left: 0;
		text-align: left;
	}

	.tcx_button {
		font-size: 18px;
	}

	.accordion {
		font-size: 22px;
		line-height: 28px;
	}

	.slide-desc {
		padding: 5px;
	}

	.slide-desc p {
		margin: 5px 0;
	}

	#content {
		width: 100%;
	}

	#sidebar {
		width: 100%;
		margin-top: 20px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
		width: 100%;
	}

	.gform_wrapper .datepicker {
		width: 77% !important;
	}

	.gallery-col-4 .gallery-item {
		width: 50%;
	}

	footer.main .float-left, footer.main #social-links {
		position: static;
		display: block;
		width: 100%;
		padding: 10px 0;
		text-align: center;
	}

	footer.main #social-links .tcx-icon {
		display: inline-block;
		float: none;
		width: 60px;
		margin-left: 6px;
		-webkit-border-radius: 100px;
		-moz-border-radius: 100px;
		border-radius: 100px;
	}

	footer.main #social-links .tcx-icon::before {
		font-size: 26px;
		line-height: 61px;
	}

	footer.main .newsletter {
		position: relative;
		right: 0;
		padding: 20px 0 10px 0;
		text-align: center;
	}

	.staff-listing .h3 {
		font-size: 1em;
		line-height: 1.5em;
	}

	.staff-listing .info-below .position {
		height: 55px;
	}

	.fb-feed {
		margin: 0 20px 40px 20px;
	}

}

/**
 * Routing Tweak
 */
@media only screen and (max-width: 620px) {
	.hoverfx .description {
		padding: 1.25em;
	}

	.row.r5050 .c50 {
		width: 100%;
	}

	.mobile-hide {
		display: none;
	}

	.p15 header.main {
		box-shadow: none;
	}

	.p15 #banner {
		padding-top: 120px;
	}

	.portfolio .propstatus-selector {
		position: fixed;
		top: 80px;
		left: 0;
		width: 100%;
		background: rgba(255, 255, 255, 0.94);
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
		z-index: 9;
	}

	.portfolio .propstatus-selector .mobile-label {
		display: block;
		font-weight: bold;
		font-size: 0.75em;
		line-height: 1;
		text-transform: uppercase;
	}

	.portfolio .propstatus-selector a[tcx-show-section="development"]::before {
		content: "In";
	}

	.portfolio .propstatus-selector a {
		margin: 0 10px;
	}

	.portfolio .propstatus-selector a + a {
		margin-left: 10px;
	}

	.portfolio h2 {
		margin: 15px;
	}

	.portfolio .row.r333333 .c33 {
		width: 100%;
		margin: 0;
	}

	.row.r333333 .c33:nth-child(3n+1) {
		clear: none;
	}

	.portfolio .row.r333333 .c33:nth-child(2n+1) {
		clear: none;
	}

	.portfolio .hoverfx {
		margin: 15px;
		background-color: rgba(0, 0, 0, 0.1);
	}

	.portfolio .hoverfx img {
		transform: scale(1) !important;
		object-fit: cover;
		width: 100%;
		height: auto;
	}

	.fb-feed {
		margin: 0 0 40px 0;
	}
}

@media only screen and (min-width: 481px) and (max-width: 760px) {
	#menu {
		width: 55%;
	}

	.c75, .c66 {
		width: 100%;
	}

	.c33, .c25, .c20 {
		width: 46%;
	}
	
}

/**
 * Home slideshow tweaks
 */
@media only screen and (max-width: 541px) {
	.home #slideshow::after {
		display: none;
	}
}

/**
 * Phone
 */
@media only screen and (max-width: 480px) {
	.p15 h1 {
		font-size: 40px;
		line-height: 54px;
	}

	h2, .h2 {
		font-size: 30px;
		line-height: 36px;
	}

	h3, .h3 {
		font-size: 22px;
		line-height: 30px;
	}

	h4, .h4 {
		font-size: 18px;
		line-height: 26px;
	}

	h5, .h5 {
		font-size: 16px;
		line-height: 24px;
	}

	#menu {
		right: 0;
		top: 80px;
		width: 100%;
	}

	#menu, #menu a {
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	#menu:after {
		display: none;
	}

	#slideshow .slides img {
		margin-left: -50%;
	}

	#banner {
		padding-top: 50px;
		padding-bottom: 50px;
	}

	.title-page {
		line-height: 34px;
	}

	footer.main .float-left, footer.main .float-right {
		display: block;
		width: 100%;
		float: none;
		text-align: center;
	}

	.c75, .c66, .c50, .c33, .c25, .c20 {
		width: 100%;
	}

	.tcx_related.c50 {
		width: 100%;
		margin: 1em 0;
	}

	.tooltip .tip {
		display: none;
	}

	.fancybox-overlay .fancybox-opened .fancybox-skin {
		padding: 5px !important;
	}

	.entrytext .alignleft img, .entrytext .alignright img, .entrytext .aligncenter img, .entrytext img.alignleft, .entrytext img.alignright, .entrytext img.aligncenter {
		width: 100%;
		height: auto;
	}

	.entrytext .wp-caption {
		width: 100% !important;
	}

	.gallery-col-4 .gallery-item {
		width: 100%;
	}

	.routing {
		margin-top: 0;
	}

	.routing .container, .entrytext section.portfolio .container {
		padding: 0;
	}

	.routing .row {
		top: 0;
	}

	.routing .row.r333333 .c33 {
		margin: 0;
		width: 33.3%;
	}

	.staff-listing .row.r333333 .c33 {
		width: 48%;
		margin-right: 4%;
		margin-bottom: 150px;
	}

	.staff-listing .r333333 .c33:nth-child(2n) {
		margin-right: 0;
	}

	.staff-listing .r333333 .c33 .h3 {
		margin-top: 25px;
	}

	.hoverfx .description {
		padding: 10px;
	}

	.hoverfx p {
		font-size: 15px;
		line-height: 20px;
	}

	.hoverfx p::after {
		border-width: 7px;
	}

	.hoverfx .overlay::before {
		top: 6px;
		right: 6px;
		bottom: 6px;
		left: 6px;
	}

	.fb-feed {
		margin-left: -20px;
		margin-right: -20px;
		margin-top: 20px;
		margin-bottom: -20px;
	}

	.fbwidget-title {
		 position: absolute;
		 top: -58px;
		 left: 60px;
		 color: #3b5998;
	}

	.fb-feed .tcx-icon {
		position: absolute;
		top: -60px;
		left: 6px;
	}

	.fb-feed .tcx-icon::before, .fb-feed a {
		color: #3b5998;
	}

	.fb-feed .time-meta {
		display: block;
	}

}