/*
Theme Name: Charlotte Bland
Theme URI: http://benewing.co.uk
Author: Ben Ewing
Author URI: http://benewing.co.uk
Description: Theme for the Charlotte Bland website
Version: 1.0
License: Proprietary
Tags:
Text Domain: charlottebland
*/

/* =Notes
--------------------------------------------------------------
This stylesheet uses rem values with a pixel fallback. The rem
values (and line heights) are calculated using two variables:

$rembase:     14;
$line-height: 24;

---------- Examples

* Use a pixel value with a rem fallback for font-size, padding, margins, etc.
	padding: 5px 0;
	padding: 0.357142857rem 0; (5 / $rembase)

* Set a font-size and then set a line-height based on the font-size
	font-size: 16px
	font-size: 1.142857143rem; (16 / $rembase)
	line-height: 1.5; ($line-height / 16)

---------- Vertical spacing

Vertical spacing between most elements should use 24px or 48px
to maintain vertical rhythm:

.my-new-div {
	margin: 24px 0;
	margin: 1.714285714rem 0; ( 24 / $rembase )
}

---------- Further reading

http://snook.ca/archives/html_and_css/font-size-with-rem
http://blog.typekit.com/2011/11/09/type-study-sizing-the-legible-letter/


/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
body {
	line-height: 1;
}
ol,
ul {
	list-style: none;
}
blockquote,
q {
	quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption,
th,
td {
	font-weight: normal;
	text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}
html {
	overflow-y: scroll;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
a:focus {
	outline: thin dotted;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
audio,
canvas,
video {
	display: inline-block;
}
audio:not([controls]) {
	display: none;
}
del {
	color: #333;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 24px;
	margin-bottom: 1.714285714rem;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
small {
	font-size: smaller;
}
img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}

/* Clearing floats */
.clear:after,
.wrapper:after,
.format-status .entry-header:after {
	clear: both;
}
.clear:before,
.clear:after,
.wrapper:before,
.wrapper:after,
.format-status .entry-header:before,
.format-status .entry-header:after {
	display: table;
	content: "";
}

/**
 * ------------------- Theme Content -----------------------
 */

/**
 * Global styles
 */
html {
	font-size: 62.5%;
}

body {
	background-color: #fff;
	font-family: 'gt_walsheim_regular', 'Arial'; /* sorry man, my font knowledge sucks ;) */
	font-weight: normal;
    font-style: normal;
	font-size: 1.3em;
	color: #333;
}

a {
	text-decoration: none;
	color: #999;
	outline: 0 !important;
}

a:hover,
a:focus {
	color: #999;
	outline: 0 !important;
}

.site {
	width: 100%;
	margin: 0 auto;
}

.header-collapsed #main {
	padding-bottom: 85px;
}

.wrapper {
	max-width: 100%;
	margin: 0 auto 400px auto;
	background-color: white;
	padding: 0 5%;
	z-index: 2;
	min-height: 1000px;
}


#overlay {
	width: 100%;
	height: 100%;
	background: white;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 500;
	display: block;
	text-align: center;
}

#overlay img {
	position: absolute;
	width: 500px;
	height: 180px;
	left: 50%;
	top: 50%;
	margin-left: -250px;
	margin-top: -90px;
}

#overlay img.wheel {
/*
	position: absolute;
	width: 66px;
	height: 66px;
	left: 50%;
	top:50%;
	margin-left: -33px;
	margin-top: -33px;
	*/
	position: absolute;
	width: 500px;
	height: 180px;
	left: 50%;
	top: 50%;
	margin-left: -250px;
	margin-top: -90px;

}

/**
 * Header Styles **/


header {
	padding: 0;
	position: relative;
}

header, .header-collapsed header {
	width: 100%;
	padding: 2% 0;
	position: relative;
	background: #fff;
	z-index: 3;
	top: 0;
	opacity: 1;
	filter: alpha(90);
}

.navInner {
	display: table;
	width: 100%;
	margin: 0 auto;
	padding: 0 5%;
	box-sizing: border-box;
	vertical-align: middle;
}

.logo {
	display: table-cell;
	width: 33.3333%;
	vertical-align: middle;
}

.logo h1.smallLogo {
	width: 170px;
	height: 60px;
	background: url('/wp-content/images/cb_logo_website.png') no-repeat;
	text-indent: -99999px;
	background-size: 90%;
}

.logo.mobile {
	display: none;
}


.desktopNav {
	display: table-cell;
	width: 33.3333%;
	text-align: right;
	vertical-align: middle;
}

.navWrap {
	text-align: right;
}

nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: right;
	line-height: 1em;
}

nav ul li {
	text-align: right;
	display: inline-block !important;
	margin: 0 0 0 5%;
	font-size: 1.1em;
	line-height: 1.4em;
	width: auto !important;
	text-transform: uppercase;
	letter-spacing: 1px;
}

nav ul li a,
nav ul li a:visited,
nav ul li a:active {
	color: #333;
}

nav ul li a:hover {
	color: #999;
}

nav ul li a.active {
    border-bottom: 2px solid #ccc;
}

.header-collapsed header h1, .header-information-title {
	font-size: 1.6em;
	margin: 0;
}


.header-collapsed header .header-project.visible, .blog-page header .header-project {
	opacity: 1;
}

header .header-project {
	display: none;
}

header span.header-project {
	display: table-cell;
	width: 33.3333%;
	vertical-align: middle;
	text-align: center;
	font-size: 1.3em;
	opacity: 0;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;

}

/**
 * Homepage Styles
 */

.home-project-list {
	margin: 0 auto;
	padding-bottom: 200px;
	max-width: 1400px;
}

.home-project.even { float: left; }
.home-project.odd { float: right; }

.home-project-link {
	position: relative;
	display: inline-block;
	display: table;
}
.home-project-thumb .home-project-link:hover {
	opacity: 0.8;
	filter: alpha(80);
	cursor: url(/wp-content/images/enlarge-white.png),auto ;
}
.home-project-title {
	margin: 10px 0;
	float: left;
}
.home-project-title h3 {
	display: block;
	width: 100%;
	text-align: left;
	box-sizing: border-box;
	vertical-align: middle;
	font-size: 1.2em;
	line-height: 1.4em;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #333;
}

.home-project-title a {
	display: block;
	width: 100%;
	padding: 2px 0;
	text-align: left;
	box-sizing: border-box;
	vertical-align: middle;
	font-size: 1.2em;
	color: #999;
}

.home-project-title a:hover {
	color: #333;
}

/**
 * ------ Project Styles
 */

.pro-header,
.pro-header-about {
	padding: 70px 0 100px 0;
	text-align: center;
	width: 70%;
	margin: 0 auto;
}

.pro-header-about {
	width: 60%;
}

.pro-header h1 {
	margin-bottom: 10px;
	font-size: 3.0em;
	font-weight: normal;
	font-style: normal;
	line-height: 1.4em;
}

.pro-header .pro-info  {
	font-size: 18px;
	line-height: 24px;
}

.pro-header .pro-info p {
	margin: 1em 0;
}

.pro-header-about .pro-info.about {
	text-align: center;
	margin-top: 100px;
	font-size: 32px;
	line-height: 42px;
}

.project-sharing {
	width: 100%;
	margin: 0 auto;
	text-align: center;
	padding: 100px 0 0 0;
}

.project-sharing a {
	display: inline-block;
	padding: 10px 5px;
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	font-size: 24px;
	color: #333;
}

/* Isotope Gallery */

.container {
	min-height: 800px;
}

.pro-body .parent-container {
	width: 1130px;
	margin-left: auto;
	margin-right: auto;
}

.pro-body .item {
	width: 210px;
	height:auto;
	float: left;
	margin-bottom: 20px;
}

.pro-body .item img {
	max-width: 100%;
}

.pro-body .item img:hover {
	opacity: 0.8;
	filter: alpha(80);
	cursor: url(/wp-content/images/enlarge-white.png),auto ; /* -webkit-zoom-in; cursor: -moz-zoom-in; */
}

.isotope,
.isotope .isotope-item {
  /* change duration value to whatever you like */
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:      -o-transform, opacity;
          transition-property:         transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}


/* Lightbox Gallery */

.mfp-bg {
	background: #fff;
	opacity: 1;
}

.pro-footer {
	clear: left;
	padding-top: 100px;
	font-size: 18px;
	text-align: right;
}

.pro-footer-left {
    float: left;
}

.pro-footer a {
	color: #333;
	display: inline-block;
	margin-top: 15px;
	padding-left: 10px;
}

.pro-footer a:hover {
	color: #999;
}


.mfp-counter, .mfp-close {
	display: none !important;
}



/*


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


#primary {
	margin-top: 35px;
}

.blog-page .post {
	padding-bottom: 30px;
	margin-bottom: 30px;
	overflow: hidden;
	border-bottom: 2px solid #ccc;
	position: relative;
}

.blog-page .entry-title {
	font-size: 18px;
	font-family: 'gt_walsheim_bold';
	text-transform: uppercase;
	margin-bottom: 15px;
}

.blog-page .entry-title, .blog-page .entry-title a {
	color: #333;
}

.blog-page .entry-summary, .blog-page .entry-content {
	color: #333;
	line-height: 22px;
	font-size: 16px;
	margin-bottom: 15px;
}

.blog-page p {
	margin-bottom: 15px;
}

.blog-page .entry-meta {
	color: #999;
	font-size: 16px;
}

.blog-page .entry-body {
	width: 30%;
	float: left;
	position: absolute;
	height: 100%;
	overflow: hidden;
}

.blog-page .entry-body-sticky {
	position: absolute;
	left: 0;
	width: 100%;
}

.blog-page .entry-body-sticky.top {
    top: 0;
    bottom: auto;
}

.blog-page .entry-body-sticky.stuck {
	position: fixed;
    top: 40px;
    left: 120px;
}

.blog-page .entry-body-sticky.bottom {
    top: auto;
    bottom: 50px;
}

.blog-page aside {
	width: 60%;
	float: right;
}

.entry-gallery .item img {
	max-width: 100%;
	margin-bottom: 20px;
}
/*
.entry-gallery .parent-container .item {
	width: 53% !important;
}
*/


/**
 * News (Blog) Page Styles
 */

.blg-container {

}

.blg-entry-body {
	width: 100%;
	max-width: 800px;
	margin: 50px auto;
	padding-bottom: 50px;
	border-bottom: 1px solid #ccc;
}

.blg-entry-header {
	margin-bottom: 35px;
}

.blg-entry-title, .blg-entry-title a {
	font-size: 24px;
	margin: 0 0 15px 0;
	color: #000;

}

.blg-entry-date {
	color: #666;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.blg-entry-content .parent-container {
	margin: 25px 0;
}

.blg-entry-image {
	margin-bottom: 35px;
}

.blg-entry-image img {
	max-width: 100%;
}

.blg-entry-content img {
	max-width: 100%;
	height: auto;
	margin: 10px 0;
}


.blg-entry-content, .blg-entry-summary {
	margin: 0 auto;
	font-size: 16px;
	line-height: 24px;
}

.nav-next {
	float: right;
}

.nav-single {
	clear: left;
	font-size: 18px;
	text-align: right;
}

.nav-previous {
    float: left;
}

.nav-single a {
	color: #333;
	display: inline-block;
	margin-top: 15px;
	padding-left: 10px;
}

.nav-single a:hover {
	color: #999;
}
.assistive-text {
	visibility: hidden;
}



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

.pagination {
	font-size: 18px;
	text-align: center;
	padding-top: 40px;
}

.pagination a, .pagination span {
	display: inline-block;
	color: #333;
	width: 35px;
	height: 35px;
	line-height: 35px;
	text-align: center;
	border-radius: 25px;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	-ms-border-radius: 25px;
}

.pagination span {
	border: 1px solid #333;
}

/**
 * ------ Footer Styles
 */

footer {
	margin-top: 50px;
	background:#363636;
	height: 600px;
	padding: 25px 0px 0px 0px;
	position: fixed;
	bottom: 0;
	width: 100%;
	z-index: -1;
}

.information {
	min-height: 320px;
	width: 100%;
}

.information {
	width: 100%;
	text-align: center;
	margin: 0 auto;
	position: absolute;
	bottom: 0;
}

.information p {
	margin: 20px auto;
	font-size: 1.1em;
	line-height: 1.4em;
	color: #fff;
	letter-spacing: 1px;
}

.information p.info-title {
	text-transform: uppercase;
	color: #999;
}

.information p.info-intro {
	font-size: 1.4em;
	line-height: 1.4em;
	width: 55%;
	margin: 0 auto;
}

.information p.header-information-contact {
	font-size: 1.4em;
	line-height: 1.4em;
}

.information p.header-information-contact a {
	display: block;
	color: #fff;
}

.information p.header-information-contact a.social {
	display: inline-block;
	padding: 10px 5px;
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	color: #fff;
}

.information p.header-information-contact a:hover {
	color: #999;
}

.information .header-project {
	display: none;
}

.to-top {
	color: white;
	font-size: 2em;
}

footer .footer-bottom {
	display: block;
	width: 90%;
	padding: 0 5%;
	font-size: .9em;
	font-weight: normal;
	color: #999;
	text-align: center;
	margin: 30px 0;
}

.footer-bottom .footer-copyright-cp,
.footer-bottom .footer-credit,
.footer-bottom .to-top {
	display: block;
	width: 100%;
	vertical-align: middle;
	margin: 5px 0;
	line-height: 1.4em;
}

.footer-bottom .footer-credit {
	text-align: center;
}

footer .footer-links ul, footer .footer-links li {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

footer .footer-links li {
	display: inline-block;
}

footer .footer-links a {
	display: inline-block;
	padding: 30px;
	color: #fff;
}

@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.fade-in {
	opacity: 0;
	-webkit-animation:fadeIn ease-in 1;
	-moz-animation:fadeIn ease-in 1;
	animation:fadeIn ease-in 1;
	-webkit-animation-fill-mode: forwards;
	-moz-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
	-webkit-animation-duration: 0.3s;
	-moz-animation-duration: 0.3s;
	animation-duration: 0.3s;
}

.one {
	-webkit-animation-delay: 1.0s;
	-moz-animation-delay: 1.0s;
	animation-delay: 1.0s;
}

.two {
	-webkit-animation-delay: 1.5s;
	-moz-animation-delay: 1.5s;
	animation-delay: 1.5s;
}

.three {
	-webkit-animation-delay: 2.0s;
	-moz-animation-delay: 2.0s;
	animation-delay: 2.0s;
}

.mfp-figure {
  -webkit-animation-name: fadeIn;
	-moz-animation-name: fadeIn;
	-o-animation-name: fadeIn;
	animation-name: fadeIn;
	-webkit-animation-duration: .3s;
	-moz-animation-duration: .3;
	-ms-animation-duration: .3s;
	-o-animation-duration: .3s;
	animation-duration: .3s;
	-webkit-animation-fill-mode: both;
	-moz-animation-fill-mode: both;
	-ms-animation-fill-mode: both;
	-o-animation-fill-mode: both;
	animation-fill-mode: both;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility:    hidden;
  -ms-backface-visibility:     hidden;
}



/* Large desktop */
@media (max-width: 1280px) {

	.home-project.odd img,
	.home-project.even img {
		height: auto;
		max-width: 100%;
	}

	.pro-body .parent-container {
		width: 900px;
	}

 }

@media (max-width: 979px) {

	.logo h1.smallLogo {
		background-size: 60%;
		height: 40px;
	}

	nav ul li {
		font-size: 1em;
	}

	.home-project.even {
		float: left;
		max-width: 80%;
	}

	.home-project.odd {
		float: right;
		max-width: 60%;
	}

}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {

	header span.header-project {
		display: none;
	}

	.home-project.odd img,
	.home-project.even img {
		height: auto;

	}

	.blog-page .entry-body {
		width: 40%;
	}

	.wrapper {
		margin-bottom: 500px;
	}


}
@media (max-width: 940px) {
	.pro-body .parent-container {
		width: 670px;
	}
}

/* Landscape phone  */
@media (max-width: 767px) {

	header span.header-project {
		display: none;
	}

	.mfp-arrow, .mfp-arrow-right, .mfp-arrow-left {
		display: none !important;
	}

}

/* dropdown nav */
@media (max-width: 639px) {

	#overlay img {
		position: absolute;
		width: 152px;
		height: 55px;
		left: 50%;
		top: 50%;
		margin-left: -76px;
		margin-top: -27px;
	}

	.logo, header span.header-project {
		display: none;
	}

	.logo.mobile {
		display: block;
		padding: 5% 0 0 5%;
		float: left;
	}

	.nav-toggle {
		float: right;
		padding: 5% 5% 0 0;
		-webkit-tap-highlight-color: rgba(0,0,0,0);
		-webkit-touch-callout: none;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		-o-user-select: none;
		user-select: none;
		width: 70px;
		height: 55px;
		float: right;
		text-indent: -9999px;
		overflow: hidden;
		display: block;
		background: #000 url("/wp-content/images/hamburger.gif") no-repeat 50% 33%;
	}

	header {
		padding: 0;
		border: none;
		position: relative;
	}

	.navInner {
		padding: 0;
	}

	.desktopNav {
		width: 100%;
		display: block;
	}

	.nav-collapse ul {
		margin: 0;
		padding: 0;
		list-style: none;
		width: 100%;
		float: left;
		display: block;
	}

	.nav-collapse li {
		float: left;
		width: 100% !important;
		display: block;
		margin: 0;
	}

	.nav-collapse a {
		color: #333 !important;
		text-decoration: none;
		width: 100%;
		background: white;
		border-bottom: 1px solid #ddd;
		padding: 5%;
		float: left;
		text-align:left;
	}

	/*Project page */

	.pro-header {
		width: 100%;
		padding-bottom: 30px;
	}

	.pro-header h1 {
		font-size: 2em;
		line-height: 1.6em;
		margin-bottom: 15px;
	}

	.pro-header .pro-info {
		font-size: 14px;
		line-height: 20px;
	}

	.imageColumn {
		width: 150px;
	}

	.blog-page .post {
		width: 100%;
	}

	.blog-page .entry-body {
		width: 100%;
		float: left;
		margin-bottom: 40px;
		position: relative;
	}

	.blog-page .entry-body-sticky {
		position: relative !important;
	}

	.blog-page aside {
		width: 100%;
		float: left;
	}

	/*Footer*/

	.information p {
		margin: 20px auto;
	}

	.information p.header-information-contact {
		line-height: 2em;
		font-size: 1.4em;
	}

	.information p.header-information-contact a.social {
		padding: 0;
	}

	footer .footer-bottom {
		position: relative;
		display: block;
		bottom: 0;
		width: 80%;
		margin-left: auto;
		margin-right: auto;
	}

	.footer-bottom .footer-copyright-cp, .footer-bottom .footer-credit, .footer-bottom .to-top {
		width: 100%;
		display: block;
		text-align: center;
		margin: 20px 0;
		line-height: 1.4em;
	}

	.pro-body .parent-container {
		width: 440px;
	}

}

/* Landscape phones and down */
@media (max-width: 480px) {

	.wrapper {
		margin-bottom: 600px;
		padding: 0 7%;
	}

	header, .header-collapsed header {
		position: relative;
		padding: 0;
		border: none;
	}

	.logo.mobile {
		padding: 7% 0 7% 7%;
	}

	.home-project-list {
		margin-top: 100px;
		padding-bottom: 50px;
	}

	.home-project.odd,
	.home-project.even {
		float: none;
		text-align: center;
		max-width: 100%;
		margin-top: 25px !important;
	}

	.home-project.odd img,
	.home-project.even img {
		height: auto;
		max-width: 100%;
	}


	.header-collapsed #main {
		margin-top: 0;
	}

	.pro-body .item {
		width: 280px;
		height:auto;
		float: left;
		margin-bottom: 20px;
	}

	.pro-body .parent-container {
		width: 280px;
	}

	.pro-body .item img:hover {
		opacity: 1;
	}
	.footer-bottom .footer-copyright-cp, .footer-bottom .footer-credit, .footer-bottom .to-top {
		width: 100%;
		display: block;
		text-align: center;
		margin: 0;
		line-height: 1.4em;
	}

	.information p.info-intro, .information p.header-information-contact {
		font-size: 1.2em;
		width: 80%;
	}

	footer .footer-bottom {
		font-size: 1em;
	}

	.footer-bottom .to-top {
		margin-top: 20px;
		margin-bottom: 30px;
	}

}
