/*
Theme Name: Marks Barfield
Theme URI: http://www.marksbarfield.com
Author: Camber
Author URI: http://www.camber-group.com/
Description: A bespoke theme for Marks Barfield by Camber. Not for re-distribution without prior consent of Camber.
Version: 1.0
License: Not for re-distribution
*/


html {
	background-color:#060606;
	height:100%;
}
body {
	background-color:#060606;
	background-image:url('images/general/background-grad.png');
	background-repeat:no-repeat;
	background-attachment:fixed;
	padding:0px;
	margin:0px;
	color:#999;
	font-size:11px;
	line-height:1.36em;
	font-family:Arial, Helvetica, sans-serif;
	height:100%;
}
.clear {
	clear: both;
	height: 1px;
	overflow: hidden;
}
h1, h2, h3, h4, h5, h6 {
	font-weight:normal;
	color:#FFF;
	line-height:1em;
}
h1 {
	font-size:30px;
}
strong {
	color: #FFF;
	font-weight: normal;
}
#page {
	height:100%;
	position:relative;
}
.ipad #page {
	min-width:1024px;
}
#branding {
	height:100px;
}
#site-title {
	top:25px;
	right:19px;
	position:absolute;
	width:167px;
	height:42px;
	overflow:hidden;
	margin:0px;
}
#site-title a {
	display:block;
	padding-top:51px;
	background-image:url(images/general/marks-barfield-logo.png);
	width: 167px;
	height: 42px;
	background-size: 167px
}
#access {
	font-size:13px;
	text-transform:lowercase;
}
	#access a {
		color:#CCC;
		text-decoration:none;
	}
	#access a:hover {
		color:#9BD006;
	}
	#access .current-menu-item a,
	#access .current-menu-item a:hover,
	#navigation .current-menu-item a,
	#navigation .current-menu-item a:hover {
		color:#9BD006;
	}
	#access ul {
		display:block;
		list-style:none;
		margin:0px;
		padding:0px;
		position:absolute;
		top:25px;
		left:35px;
	}
		#access ul li {
			display:inline-block;
			list-style:none;
			margin:0 15px 0 0;
			padding:0px;
		}
		
		#menu-primary li.practice .sub-menu {
			display:none;
		}
		
		#menu-primary .sub-menu {
			display:none;
		}

#navigation {
	padding: 65px 0 0 35px;
	margin:0px;
	text-align:left;
	text-transform:lowercase;
}

	#navigation h3 {
		color:#FFF;
		display:inline-block;
		font-size:1em;
		font-weight:normal;
		margin:0 15px 0 0;
	}
	#navigation a {
		color:#999;
		text-decoration:none;
	}
	#navigation a:hover {
		color:#9BD006;
	}
	#navigation .current-menu-item a,
	#navigation .current-menu-item a:hover {
		color:#9BD006;
		text-decoration:underline;
	}
	#navigation ul {
		display:inline-block;
		list-style:none;
		margin:0px;
		padding:0px;
	}
		#navigation ul li {
			display:inline-block;
			list-style:none;
			margin:0;
			padding:0px;
		}

	#navigation .pagination span {
		display: inline-block;
		margin-right: 10px;
	}
	#navigation .pagination a {
		color: #9BD006;
		text-decoration: underline;
	}

/* Increase spacing between property filters for larger mobiles */
@media screen and ( min-width: 355px ) {

	#navigation li .sep {
		padding-left: 4px;
		padding-right: 4px;
	}

}


#main,
#footer {
	clear:both;
}
#footer {
	display:none;
}
.timeline {
	clear:both;
	width:3000px;
	margin-top:30px;
}
.timeline section {
	float:left;
}
.timeline article {
	width:106px;
	float:left;
	color:#666;
}
	.timeline article h3,
	.timeline article p {
		margin:0 0 5px 0;
	}
	.timeline article h3,
	.timeline article h3 a {
		color:#CCC;
		font-size:1em;
		font-weight:normal;
		padding-top:10px;
		text-decoration:none;
	}
.timeline header {
	height:196px;
	width:106px;
	overflow:visible;
	border-left:1px solid #656565;
	margin-bottom:25px;
}
	.timeline header div {
		text-align:right;
		padding:0 10px;
	}
	.csstransforms .timeline header div {
		-webkit-transform: rotate(-90deg); 
		-moz-transform: rotate(-90deg);	
		-o-transform:rotate(-90deg);
		-ms-transform:rotate(-90deg);
		transform:rotate(-90deg);
		filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
		display:block;
		width:196px;
		height:196px;
		margin-right:45px;
		padding:0px;
	}
.timeline .year {
	width:150px;
	height:196px;
	float:left;
	border-left:1px solid #656565;
	overflow:hidden;
	position:relative;
}
	.timeline .year:first-child {
		border-left:none;
	}
.timeline .year h2 {
	color:#FFF;
	font-size:30px;
	font-weight:normal;
	padding:0 10px 0 0;
	margin:0px;
	line-height:1.1em;
	text-align:right;
}
.csstransforms .timeline .year h2 {
	padding:0px;
	height:196px;
	width:196px;
	-webkit-transform: rotate(-90deg); 
	-moz-transform: rotate(-90deg);
	-o-transform:rotate(-90deg);
	-ms-transform:rotate(-90deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
.csstransforms .timeline .year h2 span {
	position:absolute;
	bottom:65px;
	right:0px;
}
.timeline .group-filter-sector .year h2 {
	font-size:25px;
}
.timeline .images {
	width:106px;
	border-left:1px solid #656565;
	padding-left:5px;
	overflow:hidden;
}
.ipad .timeline .images {
	max-height:280px;
}
	.timeline .images a,
	.timeline .images a img {
		display:block;
	}
	.timeline .images a {
		margin-bottom:5px;
	}
.timeline .group article:last-child .images {
	width:100px;
	border-right:1px solid #656565;
}

/* Timeline Sprite */
.timeline .gallerysprite {
	background: url( images/general/placeholder.jpg ) no-repeat center center;
	overflow: hidden;
	text-indent: 500px;
	width: 95px;
	height: 65px;
}

/**
 * Timeline Scrollbar
 */
.timeline-scrollbarH {
	position:absolute;
	z-index:100;
	height:5px;
	top:336px;
	left:0px;
	right:0px;
	background-color:#666;
}
	.timeline-scrollbarH > div {
		position:absolute;
		z-index:100;
		height:100%;
		background-color:#9AC803;
	}

/**
 * Footer
 */
#footer {
	position:absolute;
	bottom:00px;
	padding:15px 40px 7px 40px;
	left:0px;
	right:0px;
	color:#555;
	font-size:11px;
	background: -moz-linear-gradient(top,  rgba(6,6,6,0) 0%, rgba(6,6,6,1) 25%, rgba(6,6,6,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(6,6,6,0)), color-stop(25%,rgba(6,6,6,1)), color-stop(100%,rgba(6,6,6,1)));
	background: -webkit-linear-gradient(top,  rgba(6,6,6,0) 0%,rgba(6,6,6,1) 25%,rgba(6,6,6,1) 100%);
	background: -o-linear-gradient(top,  rgba(6,6,6,0) 0%,rgba(6,6,6,1) 25%,rgba(6,6,6,1) 100%);
	background: -ms-linear-gradient(top,  rgba(6,6,6,0) 0%,rgba(6,6,6,1) 25%,rgba(6,6,6,1) 100%);
	background: linear-gradient(top,  rgba(6,6,6,0) 0%,rgba(6,6,6,1) 25%,rgba(6,6,6,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#06060600', endColorstr='#060606',GradientType=0 );

}
a {
	color: #9BD006;
	text-decoration: underline;
}
a:hover {
	color:#9BD006;
}
#footer #lang_sel_list {
	float:right;
}
	#footer #lang_sel_list ul,
	#footer #lang_sel_list ul li {
		list-style:none;
		display:inline;
		margin:0 0 0 5px;
		padding:0px;
	}
#site-copyright,
#site-credit {
	display:inline;
	margin:0 5px 0 0;
}


/* iPad portrait */
@media only screen and (max-width: 768px) {
	.ipad #page {
		min-width:768px;
	}
	.ipad .timeline .images {
		max-height:490px;
	}
}

/* iPad Portrait and Bigger */
@media only screen and ( min-width: 768px ) {

	#navigation {
		font-size: 13px;
	}

}

@media only screen and (max-width: 868px) {
	#page {
		min-width:none;
	}
	.single-marksbar-project .marksbar-project.expanded,
	.single-marksbar-project .marksbar-project.expanded #project-entry {
		width: 360px !important;
	}
	.single-marksbar-project .marksbar-project.expanded .project-entry-scrollbarV {
		left: 390px !important;
	}
	.single-marksbar-project #entry-content-details {
		position:static !important;
	}
	.single-marksbar-project #entry-content-intro .more-link,
	.single-marksbar-project #entry-content-details .less-link {
		display: none !important;
	}
}

/* iPhone [portrait + landscape] */
@media only screen and (max-width: 480px) {
	html,
	body,
	#page {
		height:auto !important;
	}
	.timeline {
		width:auto;
		margin:0px 20px;
	}
	.timeline section {
		float:none;
	}
	.timeline .year {
		width:auto;
		height:auto;
		float:none;
		border-left:none;
		padding-bottom:5px;
		margin-top:20px;
		/* border-bottom:1px solid #656565; */
	}
		.timeline .year h2 {
			text-align: left;
			width:auto;
			line-height:1em !important;
			height:auto !important;
		}
	.csstransforms .timeline header div,
	.csstransforms .timeline .year h2 {
		-webkit-transform: none; 
		-moz-transform: none; 
		-o-transform:none; 
		-ms-transform:none; 
		transform:none;
	}
	#footer {
		position:relative;
		bottom:auto;
		left:auto;
		right:auto;
	}
	.timeline article {
		width:auto;
		float:none;
	}
	.timeline header {
		height:auto;
		width:auto;
		border-left:none;
		border-top:1px solid #656565;
		margin:0px !important;
	}
		.timeline header div {
			text-align:left;
			padding:10px 0;
			width:auto !important;
			height:auto !important;
			margin-right:45px !important;
		}
	.timeline .images {
		width:auto;
		border-left:none;
		padding-left:0px;
	}
		.timeline .images a {
			margin:0 5px 5px 0;
			float:left;
		}
	.timeline .group article:last-child .images {
		width:auto;
		border-right:none;
	}
	#site-title {
		top:auto;
		right:auto;
		position:relative;
		width:167px;
		height:41px;
		margin:20px 20px 20px auto;
	}
	#access ul {
		position:relative;
		top:auto;
		left:auto;
		padding: 0 20px;
		margin:10px 0;
	}

	#navigation {
		padding:0 20px;
		margin:10px 0 20px 0;
		text-align:left;
	}
}



/**
 * Project
 */
.single-marksbar-project .entry-overview dl {
	margin:25px 0;
}
	.single-marksbar-project .entry-overview dt {
		clear:left;
		float:left;
		margin:0 4px 0 0;
	}
	.single-marksbar-project .entry-overview dd {
		margin:0px;
		color:#FFF;
	}
.single-marksbar-project .marksbar-project {
	margin-left:35px;
	height:575px;
	width: 360px;
}
.single-marksbar-project .marksbar-project .project-entry-scrollbarV {
	visibility: visible;
	position:absolute;
	z-index:100;
	width:4px;bottom:7px;top:2px;right:1px;
	left:390px;
}
.single-marksbar-project .marksbar-project .project-entry-scrollbarV > div {
	position:absolute;
	z-index:100;
	width:100%;

	/* The following is probably what you want to customize */
	background:-webkit-gradient(linear, 0 0, 100% 0, from(#9BD006), to(#9BD006));
	-webkit-background-clip:padding-box;
	-webkit-box-sizing:border-box;
	-webkit-border-radius:0px;
}

.single-marksbar-project .gallery-scrollbarV {
	position: absolute;
	z-index: 100;
	width: 4px;
	bottom: 2px;
	top: 2px;
	right: 1px;
	pointer-events: none;
	-webkit-transition: opacity 0ms 0ms;
	overflow: hidden;
	opacity: 1;

	display: none;
}

.single-marksbar-project .gallery-scrollbarV > div {
	position: absolute;
	z-index: 100;
	background-color: #9BD006;
	-webkit-background-clip: padding-box;
	box-sizing: border-box;
	width: 100%;
	pointer-events: none;
	height: 385px;
}
	.single-marksbar-project #project-entry {
		width:359px;
		left:0px;
		overflow:hidden;
		border-right:1px solid #666;
		position:relative;
		z-index: 100;

		-webkit-transition-property:left, width;  
		-webkit-transition-duration: 0.5s, 0.5s;  
		-webkit-transition-timing-function: ease-in-out, ease-in-out;  
		transition-property:left, right;  
		transition-duration: 0.5s, 0.5s;  
		transition-timing-function: ease-in-out, ease-in-out;  
		min-height:100%;
	}
	.single-marksbar-project #project-entry .entry-header {
		width: 310px;
	}
		.single-marksbar-project #project-entry .entry-header h1 {
			margin: 0px;
		}
	.single-marksbar-project .entry-awards,
	.single-marksbar-project .entry-team {
		margin-top: 25px;
		margin-bottom: 25px;
	}
	.single-marksbar-project .entry-awards,
	.single-marksbar-project .entry-team,
	.single-marksbar-project .entry-overview,
	.single-marksbar-project #entry-content-intro,
	.single-marksbar-project #entry-content-details,
	.single-marksbar-project .entry-features {
		width:325px;
	}
	.single-marksbar-project .entry-content {
		position:relative;
	}
	.single-marksbar-project #entry-content-intro .more-link,
	.single-marksbar-project #entry-content-intro .less-link {
		display: block;
	}
	.single-marksbar-project #entry-content-details {
		position:absolute;
		top:0px;
		left: 360px;
	}
	.single-marksbar-project .entry-flat-list ul,
	.single-marksbar-project .entry-flat-list ul li {
		list-style-type: none;
		margin: 0;
		padding: 0;
		color: #cccccc;
	}
	.single-marksbar-project blockquote,
	.single-marksbar-project em {
		margin: 0;
		color: #cccccc;
		font-style: italic;
	}

/* Expanded/Minimised Project */
.single-marksbar-project .marksbar-project.expanded {
	width: 720px;
}
	.single-marksbar-project .marksbar-project.expanded #entry-content-intro .more-link {
		display: none;
	}
	.single-marksbar-project .marksbar-project.expanded .project-gallery .display {
		left: 775px;
	}
	.single-marksbar-project .marksbar-project.minimised .project-gallery .display {
		left: 85px;
	}
	.single-marksbar-project .marksbar-project.expanded .project-entry-scrollbarV {
		left: 750px;
	}
	.single-marksbar-project .marksbar-project.minimised .project-entry-scrollbarV {
		visibility: hidden;
	}
	.single-marksbar-project .marksbar-project.expanded #project-entry {
		width: 719px;
	}
	.single-marksbar-project .marksbar-project.minimised #project-entry {
		left: -325px;
	}
	.single-marksbar-project .marksbar-project.minimised.expanded #project-entry {
		left: -685px;
	}

/* Back to Projects */
.back-to-projects {
	width:20px;
	height:20px;
	background-image:url(images/general/close-x.gif);
	background-repeat:no-repeat;
	overflow:hidden;
	margin:0px;
	position:absolute;
	top:0px;
	right:15px;
}
	.back-to-projects a {
		padding:20px 0 0 0;
		display:block;
	}

/* Gallery */
.project-gallery {
	height:100%;
}
.project-gallery .display {
	position:absolute;
	right:363px;
	left:410px;
	top:0px;
	bottom:0px;
	overflow:hidden;
	-webkit-transition-property:left, right;  
	-webkit-transition-duration: 0.5s, 0.5s;  
	-webkit-transition-timing-function: ease-in-out, ease-in-out;  
	transition-property:left, right;  
	transition-duration: 0.5s, 0.5s;  
	transition-timing-function: ease-in-out, ease-in-out;  
}
.project-gallery .display video {
	margin: 0;
}
	.project-gallery .display img {
		max-width:100%;
		max-height:100%;
		width:auto !important;
		height:auto !important;
	}
.project-gallery .galleries {
	position:absolute;
	right:20px;
	/*width:209px;*/
	top:0px;
	bottom:0px;
	-webkit-transition: width 0.5s ease-in-out;
	-moz-transition: width 0.5s ease-in-out;
	-o-transition: width 0.5s ease-in-out;
	transition: width 0.5s ease-in-out;
}

.project-gallery ul {
	position: absolute;
		top: 0px;
		left: 56px;
}
.project-gallery ul,
.project-gallery ul li {
	display: block;
	list-style: none;
	margin: 0px;
	padding: 0px;
}
	.project-gallery .galleries ul li {
		height: 65px;
		margin-bottom: 5px;
	}

.project-gallery .gallery,
.project-gallery .gallery.selected.collapsed {
	border-right: 1px solid;
	float: left;
	overflow: hidden;
	position: relative;
	width: 49px;
	height: 100%;
	-webkit-transition-property: width, left;
	-webkit-transition-duration: 0.5s, 0.5s;
	-webkit-transition-timing-function: ease-in-out, ease-in-out;
}
.project-gallery .gallery.selected {
	width: 151px;
}

#gallery-concepts-scroller,
#gallery-construction-scroller,
#gallery-project-scroller {
	height: 575px;
}

.project-gallery .header,
.project-gallery .selected.collapsed .header {
	background: url(images/open-close-icon.png) no-repeat -29px 0px;
	border-right: 1px solid #666;
	padding-top: 20px;
	position: absolute;
		top: 0px;
		bottom: 0px;
		left: 0px;
	width: 49px;
}
.project-gallery .selected .header {
	background-position: 21px -50px;
}
	.project-gallery h3 {
		-webkit-transform: rotate(-90deg);
		-moz-transform: rotate(-90deg);
		-o-transform:rotate(-90deg);
		-ms-transform:rotate(-90deg);
		filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
		text-align:right;
		width:200px;
		height:200px;
		line-height:49px;
		margin:0px;
		font-weight:normal;
		font-size:1em;
		color:#FFF;
	}
	.project-gallery .selected h3 {
		color: #9BD006;
	}

/* Video */
body.single-postvideo.embedded {
	background-position: -85px -100px;
}


/**
 * Practice
 */
 .practice-scrollbarV {
	position: absolute;
	z-index: 100;
	width: 4px;
	bottom: 2px;
	top: 2px;
	right: 1px;
	pointer-events: none;
	-webkit-transition: opacity 0ms 0ms;
	overflow: hidden;
	opacity: 1;
 }
	.practice-scrollbarV > div {
		position: absolute;
		z-index: 100;
		background-color: #9BD006;

		-webkit-background-clip: padding-box;
		box-sizing: border-box;
		width: 100%;

		pointer-events: none;
		-webkit-transition: -webkit-transform 0ms cubic-bezier(0.33, 0.66, 0.66, 1);
		-webkit-transform: translate3d(0, 0px, 0);
	}

.blog #main,
.error404 #main,
.marksbar-practice-page #main,
.page-template-template-contact-php #main {
	position:absolute;
	top:100px;
	left:35px;
	right:0px;
	bottom:0px;
}

.blog #primary,
.blog #content,
.page-template-template-contact-php #primary,
.page-template-template-contact-php #content,
.marksbar-practice-page #primary,
.marksbar-practice-page #content {
	position:absolute;
	top:0px;
	left:0px;
	right:0px;
	bottom:0px;
}
.marksbar-practice-page #content {
	left: auto;
	width: 990px;
}

.page-template-template-contact-php .page {
	position:absolute;
	top:0px;
	left:auto;
	width:50px;
	bottom:0px;
	-webkit-transition-property:left, right;  
	-webkit-transition-duration: 0.5s, 0.5s;  
	-webkit-transition-timing-function: ease-in-out, ease-in-out;  
	transition-property:left, right;  
	transition-duration: 0.5s, 0.5s;  
	transition-timing-function: ease-in-out, ease-in-out;
}

.blog .page .entry-content-main,
.marksbar-practice-page .page .entry-content-main {
	width:650px;
}

.blog .page .col.left {
	width: 410px;
}

.blog .page .entry-content-overview,
.marksbar-practice-page .page .entry-content-overview {
	width:288px;
}

.marksbar-practice-page #facts-and-figures .entry-content-detail {
	width: 540px;
}
.marksbar-practice-page #approach .entry-content-detail img {
	max-width: 100%;
	height: auto;
}

.marksbar-practice-page .page .entry-content-overview h1 {
	margin-top:0;
}

.marksbar-practice-page .page .entry-content-detail {
	width:285px;
	position:absolute;
	top:0px;
	left:308px;
}

.blog .page .entry-content-detail {
	width:527px;
	position:absolute;
	top:0px;
	left:0px;	
}

/* testimonials */
.marksbar-practice-page .entry-content-detail h1 {
	margin-top: 0;
}

.marksbar-practice-page .entry-content-detail em { 
	color: #cccccc;
	font-size: 12px;
}

.marksbar-practice-page #content.approach #approach  .entry-content,
.marksbar-practice-page #content.awards #awards .entry-content,
.marksbar-practice-page #content.people #people .entry-content,
.marksbar-practice-page #content.recruitment #recruitment .entry-content,
.marksbar-practice-page #content.facts-and-figures #facts-and-figures .entry-content,
.marksbar-practice-page #content.clients #clients .entry-content,
.marksbar-practice-page #content.sustainability #sustainability .entry-content {
	width:615px;
}

/* People */
.marksbar-practice-page #people .peepo-item h3 {
	margin-bottom: 3px;
}
.marksbar-practice-page #people .peepo-item .job-title,
.marksbar-practice-page #people .peepo-item .email {
	margin: 0px;
}

.marksbar-practice-page #facts-and-figures .entry-content .entry-content-detail {
	left: 0;
	padding-top: 40px;
	padding-left: 40px;
}

.marksbar-practice-page #facts-and-figures .entry-content .entry-content-detail canvas {
	
}

.entry-content em,
.entry-content blockquote {
	color: #CCC;
}

/**
 * =Facts & Figures
 */
#facts-and-figures .entry-content-overview {
	position: relative;
	z-index: 200;
}
.fact {
	background-color: #666;
	border-radius: 50%;
	cursor: pointer;
	float: left;
	display: table;
	overflow: hidden;
	padding: 20px;
	position: relative;
	text-align: center;
	-webkit-transition: background-color 0.45s linear, width 0.45s ease-in-out, height 0.45s ease-in-out, margin-left 0.45s ease-in-out,  margin-top 0.45s ease-in-out;
	   -moz-transition: background-color 0.45s linear, width 0.45s ease-in-out, height 0.45s ease-in-out, margin-left 0.45s ease-in-out,  margin-top 0.45s ease-in-out;
	     -o-transition: background-color 0.45s linear, width 0.45s ease-in-out, height 0.45s ease-in-out, margin-left 0.45s ease-in-out,  margin-top 0.45s ease-in-out;
	        transition: background-color 0.45s linear,width 0.45s ease-in-out, height 0.45s ease-in-out, margin-left 0.45s ease-in-out,  margin-top 0.45s ease-in-out;
	z-index:0;
}
.rgba .fact {
	background-color: rgba(255, 255, 255, .2);
}
.fact.f1 { width: 50px;  height: 50px;  font-size:10px; }
.fact.f2 { width: 75px;  height: 75px;  font-size:12px; }
.fact.f3 { width: 100px; height: 100px; font-size:14px; }
.fact.f4 { width: 125px; height: 125px; font-size:16px; }
.fact.f5 { width: 150px; height: 150px; font-size:18px; }
.fact.c1 { background-color: rgba(223, 77, 0, .2); }
.fact.c2 { background-color: rgba(0, 162, 219, .2); }
.fact.c3 { background-color: rgba(183, 0, 93, .2); }
.fact.c4 { background-color: rgba(88, 153, 4, .2); }
.fact.c5 { background-color: rgba(255, 159, 0, .2); }
.fact.open.c1 { background-color: #DF4D00; }
.fact.open.c2 { background-color: #00A2DB; }
.fact.open.c3 { background-color: #B7005D; }
.fact.open.c4 { background-color: #589904; }
.fact.open.c5 { background-color: #FF9F00; }

.fact .content {
	display: table-cell;
	vertical-align: middle;
}
	.fact .content h3 {
		margin-top: 0px !important;
		margin-bottom: 0;
		text-align: center;
		-webkit-transition: margin-top 0.45s ease-in-out;
		   -moz-transition: margin-top 0.45s ease-in-out;
		     -o-transition: margin-top 0.45s ease-in-out;
		        transition: margin-top 0.45s ease-in-out;
	}
	.fact .content p {
		color: #FFF;
		display: none;
		font-size:11px;
		position: absolute;
		text-align: center;
	}
	.opacity .fact .content p {
		display: block;
		opacity: 0;
		-webkit-transition: opacity 0.45s linear;
		   -moz-transition: opacity 0.45s linear;
		     -o-transition: opacity 0.45s linear;
		        transition: opacity 0.45s linear;
	}
.fact.open {
	background-color: #96002F;
	width: 250px;
	height: 250px;
	z-index:100;
}
	.fact.open h3 {
		margin-top: -60px !important;
	}
	.fact.open p {
		display: block !important;
		width: 250px;
	}
	.opacity .fact.open .content p {
		opacity: .99;
	}

/* Clients */
	body.marksbar-practice-page #facts-and-figures .entry-content-overview ul {
		display:block;
		list-style:none;
		padding:0px;
		margin:0px;
		-moz-column-count: 2;
		-webkit-column-count: 2;
		column-count: 2;
		-moz-column-gap: 20px;
		-webkit-column-gap: 20px;
		column-gap: 20px;
	}
		body.marksbar-practice-page #facts-and-figures .entry-content-overview ul li {
			display:block;
			list-style:none;
			padding:0px;
			margin:0 0 5px 0;
		}

/* People and News*/

body.blog .peepo-item .peepo-content,
body.marksbar-practice-page .peepo-item .peepo-content,
body.marksbar-practice-page .peepo-content img {
	display: none;
}

body.blog .peepo-item .view-profile,
body.marksbar-practice-page .peepo-item .view-profile {
	display: inline-block;
	position: absolute;
	top: 267px;
	background-color: #9BD006;
	padding: 4px;
}
body.blog .peepo-item .view-profile {
	top: 212px;
}

body.blog .peepo-item .view-profile a,
body.marksbar-practice-page .peepo-item .view-profile a {
	text-decoration: none;
	color: #ffffff;
}

body.blog .peepo-item .image-area,
body.marksbar-practice-page .peepo-item .image-area {
	width: 300px;
	height: 300px;
	background-color: rgba(0, 0, 0, .2);
}

body.blog .peepo-item .image-area {
	width: 245px;
	height: 245px;
}

body.blog .peepo-item h3 {
	background-color: #191919;
	display: inline-block;
	clear: both;
	margin: 5px 0;
	padding: 10px;
}
	body.blog .peepo-item h3 a:link,
	body.blog .peepo-item h3 a:visited,
	body.blog .peepo-item h3 a:hover,
	body.blog .peepo-item h3 a:active {
		color: #FFF;
		text-decoration: none;
	}
.opacity body.blog .peepo-item h3 {
	background-color: #000;
	opacity: .6;
}

#sustainability-content .entry-content-detail {
	width: 300px;
}
body.marksbar-practice-page .sustainability-item {
	float: left;
	text-align: center;
	width: 140px;
	height: 210px;
}
	body.marksbar-practice-page .sustainability-item h3 {
		line-height: 1.3em;
	}
	body.marksbar-practice-page .sustainability-item img {
		width: 120px;
		height: 120px;
	}
	body.marksbar-practice-page .sustainability-item .image-area {
		background: transparent;
		width: 150px;
		height: 120px;
	}

body.blog .peepo-item {
	float: left;
	margin-right: 10px;
	width: 245px;
	overflow: hidden;
	height: 360px;
	margin-bottom: 5px;
}

body.blog .left-col {
	position: absolute;
		top: 0px;
		left: 0px;
	width: 200px;
	height: 575px;
}

body.blog .right-col {
	position: absolute;
	right: 0px;
	top: 0;
	height: 575px;
}

/**
 * iPad Portrait (and under)
 */
@media only screen and (max-width: 768px) {

	.marksbar-practice-page .entry-content .entry-content-detail {
		left: 0;
	}

	/* Blog */
	.blog .entry-content .entry-content-detail {
		width: 260px;
	}
	.blog #in-the-news {
		left: 280px;
	}
	.blog #publications {
		left: 330px;
	}
	.blog #content.in-the-news #in-the-news,
	.blog #content.awards #in-the-news,
	.blog #content.publications #publications {
		width: 260px;
	}
	.blog #content.in-the-news #in-the-news .entry-content,
	.blog #content.publications #publications .entry-content {
		width:260px;
	}

}

/**
 * Contact
 */
.contact-area-1,
.contact-area-2 {
	float: left;
	margin-right: 10px;
}
.contact-area-1 {
	width: 300px;
}

/**
 * General
 */
.clickable {
	cursor: hand;
	cursor: pointer;
}

/**
 * =Social Icons
 */
a.facebook,
a.twitter,
a.linkedin,
a.instagram,
a.youtube {
	background-repeat: no-repeat;
	display: block;
	height: 20px;
	margin-bottom: 10px;
	text-indent: 30px;
}
a.facebook {
	background-image: url(images/general/facebook.png);
}
a.twitter {
	background-image: url(images/general/twitter.png);
}
a.linkedin {
	background-image: url(images/general/linkedin.png);
}
a.instagram {
	background-image: url(images/general/instagram.png);
}

a.youtube {
	background-image: url(images/general/youtube.png);
}
a.facebook:hover,
a.twitter:hover,
a.linkedin:hover ,
a.instagram:hover,
a.youtube:hover {
	background-position: 0px -50px;
}
.backgroundsize a.facebook,
.backgroundsize a.twitter,
.backgroundsize a.linkedin,
.backgroundsize a.instagram,
.backgroundsize a.youtube {
	background-position: 0px -50px;
	background-size: 20px 100px;
}
.backgroundsize a.facebook:hover,
.backgroundsize a.twitter:hover,
.backgroundsize a.linkedin:hover,
.backgroundsize a.instagram:hover,
.backgroundsize a.youtube:hover {
	background-position: 0px -75px;
}

#branding .social {
	position: absolute;
		top: 20px;
		left: 290px;
}

	#branding .social a {
		display: inline-block;
		margin-bottom: 0px;
		margin-right: 10px;
		overflow: hidden;
		text-indent: -200px;
		width: 20px;
	}

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

	#branding .social {
		top: 2px;
		left: 40px;
	}

}


/**
 * SWF Site
 */
#swfsite-bar {
	display:none !important;
}

/**
 * Single Post
 */
.single-post #main {
	padding-left: 35px;
	padding-right: 35px;
}
.single-post #primary {
	overflow: hidden;
}
.single-post #content {
	float: left;
	width: 690px;
}
.single-post .entry-title {
	margin-top: 0px;
	width: 90%;
}
.single-post .static-content {
	float: left;
}
.single-post .static-content {
	width: 30%;
}
.single-post .entry-content {
	overflow: hidden;
	width: 670px;
}
	.single-post .post .col.left {
		float: left;
		width: 340px;
	}
	.single-post .post .col.right { 
		float: right;
		width: 300px;
	}
.single-post .back-to-projects {
	border-right: 1px solid #666;
	float: left;
	margin-right: 15px;
	min-height: 575px;
	padding-right: 15px;
	position: relative;
		top: auto;
		right: auto;
}
	.single-post .back-to-projects a {
		text-indent: -999px;
	}
	.single-post #post-scroller {
		height: 575px;
		position: relative;
	}
.single-post #post-scroller .project-entry-scrollbarV {
	visibility: visible;
	position:absolute;
	z-index:100;
	width:4px;bottom:7px;top:2px;right:1px;
	left:686px;
}
.single-post #post-scroller .project-entry-scrollbarV > div {
	position:absolute;
	z-index:100;
	width:100%;

	/* The following is probably what you want to customize */
	background:-webkit-gradient(linear, 0 0, 100% 0, from(#9BD006), to(#9BD006));
	-webkit-background-clip:padding-box;
	-webkit-box-sizing:border-box;
	-webkit-border-radius:0px;
}

/**
 * Vertical Tabs
 */
.vtab {
	border-left: 1px solid #666;
	float: right;
	overflow: hidden;
	position: relative;
	width: 50px;
	height: 575px;
	-webkit-transition: width 0.5s ease;
	   -moz-transition: width 0.5s ease;
	    -ms-transition: width 0.5s ease;
	     -o-transition: width 0.5s ease;
	        transition: width 0.5s ease;
}
.vtab.selected {
	width: 615px;
}
	.vtab .vtab-tab {
		width: 49px;
	}
	.js .vtab .vtab-tab {
		cursor: pointer;
	}
	.vtab .vtab-title {
		color: #FFF;
		font-size: 1em;
		font-weight: normal;
		line-height: 49px;
		margin: 0px;
		overflow: hidden;
		text-align: right;
		width: 200px;
		height: 200px;
		-webkit-transform: rotate( -90deg );
		   -moz-transform: rotate( -90deg );
		     -o-transform: rotate( -90deg );
		    -ms-transform: rotate( -90deg );
		           filter: progid:DXImageTransform.Microsoft.BasicImage( rotation = 3 );
	}
	.vtab.selected .vtab-title {
		color: #9BD006;
	}
	.vtab .vtab-content {
		overflow: hidden;
		position: absolute;
			top: 0px;
			bottom: 0px;
			left: 50px;
		width: 513px;
	}

/* Practice Tabs */
.marksbar-practice-page .vtab.selected {
	width: 682px;
}
	.marksbar-practice-page .page.vtab .vtab-content {
		left: 60px;
		width: 615px;
	}

/**
 * =Rotate Message
 */
#rotate-message {
	background-color: #060606;
	background: -moz-radial-gradient(center, ellipse cover, #424242 0%, #0b0b0b 100%);
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#424242), color-stop(100%,#0b0b0b));
	background: -webkit-radial-gradient(center, ellipse cover, #424242 0%,#0b0b0b 100%);
	background: -o-radial-gradient(center, ellipse cover, #424242 0%,#0b0b0b 100%);
	background: -ms-radial-gradient(center, ellipse cover, #424242 0%,#0b0b0b 100%);
	background: radial-gradient(ellipse at center, #424242 0%,#0b0b0b 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#424242', endColorstr='#0b0b0b',GradientType=1 );
	display: none;
	position: absolute;
		top: 0px;
		right: 0px;
		bottom: 0px;
		left: 0px;
	text-align: center;
	z-index: 99999;
}
	#rotate-message .logo {
		background: url(images/rotate/marks-barfield-logo.png) no-repeat;
		background-size: 259px 65px;
		display: block;
		position: absolute;
			right: 19px;
			top: 25px;
		width: 259px;
		height: 65px;
	}
	#rotate-message .message {
		color: #FFF;
		font-size: 13px;
		margin-top: 30%;
	}
	#rotate-message .image {
		background: url(images/rotate/rotate.png) no-repeat center center;
		background-size: contain;
		position: absolute;
			top: 0px;
			right: 0px;
			bottom: 0px;
			left: 0px;
		z-index: -10;
	}

@media only screen and (max-device-width : 1024px) and (orientation : portrait) {

	#rotate-message {
		display: block;
	}

}
