/*
 Theme Name:   WP4Fourteen
 Theme URI:    http://example.com/twenty-fourteen-child/
 Description:  Twenty Fourteen Child Theme
 Author:       Philip Bussmann
 Author URI:   http://example.com
 Template:     twentyfourteen
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-fourteen-child
*/

@import url("../twentyfourteen/style.css");

@import url("scala.css");
@import url("scalaSans.css");

body,
button,
input,
select,
textarea {
	color: #2b2b2b;
	font-family: Scala, serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}


h1,
.primary-navigation {
	font-family: ScalaSansSCBold, sans-serif;
	letter-spacing: 0.05em;
	font-weight: 400;
}

i {
	font-family: ScalaItalic;
	font-style: normal;
}

.page-template-homepage .site-title a {
	display: none;
}

.cat-links {
	font-family: ScalaSansSC, sans-serif;
	font-weight: 400;
}

.site-content .entry-meta {
	background-color: transparent;
}


/* Color */

a,
.widget a,
.blog .entry-title a,
.project-title {
	color: rgb(51,153,0);
	text-decoration: none;
}

a:active,
a:hover {
	color: #24890d;
	text-decoration: underline;
}

.site-header,
.search-toggle,
#homeAccordion article.tag-homeaccordion .entry-header,
.full-width .site-content #homeAccordion article.tag-homeaccordion .entry-content {
	background-color: rgba(51,153,0,0.9);
}

.search-toggle:hover,
.search-toggle.active,
.search-box {
	background-color: #24890d;
}

.site-navigation .current_page_item > a {
	color: white;
}

.entry-title a {
	color: white;
}


.site-main {
 	background-color: white;
 }

.site-footer {
	background-color: rgb(51,153,0);
}


/* change the padding so full bleed images are possible */

.site,
.site-header  {
 	max-width: 100%; /* cyvh */
}

.site-content {
	margin-left:0;
}

.full-width .site-content .entry-content {
/* 	max-width: 100%; */
	padding-left: 0;
	padding-right: 0;
}

.full-width .site-content .entry-content p {
/* 	max-width: 474px; cyvh */
	padding-left: 30px;
	padding-right: 30px;
	margin-left: auto;
	margin-right: auto;
}

.site-content .entry-header,
.site-content .entry-content,
.site-content .entry-summary,
.site-content .entry-meta,
.page-content {
/* 	max-width: 100%; */
}

/*
.full-width .site-content .entry-content blockquote {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
	background: green;
}

.full-width .site-content .entry-content blockquote p a img.size-full {
	max-width: 1000px;
	width: 100%;
}
*/



/* style the main header */

.site-header,
.search-toggle {
/* 	background-color: #41a62a; */
}

.site-navigation .current_page_item > a {
/* 	color: white; */
}

.search-toggle:hover,
.search-toggle.active,
.search-box {
/* 	background-color: #24890d; */
}




/* style the main content */



.page-template-homepage .content-area {
	background-image: url(upside-PROGRESSIVE.jpg);
	background-repeat: no-repeat;
	background-position: -144px -160px;
	background-clip: padding-box;
	/* 	background-attachment: fixed; */
}

.site-content .entry-content {
	background: none;
}

.hentry {
	margin: 0 auto 233px;
}

h1 {
	text-transform: uppercase;
/* 	max-width: 474px; cyvh */
	padding-left: 30px;
	padding-right: 30px;
	margin-left: auto;
	margin-right: auto;
}

.post-thumbnail {
	margin-top: -72px;
}

.post-thumbnail img {
 	width: 100%; /* cyvh */
	height: auto;
}

.widget-title {
	display: none;
}

/* style the main post */

#post-2 {
/* 	min-height: 100vh; */
}

.tag-homeinfo h1 {
	font-size:72px;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	hyphens: none;
	white-space: nowrap;
	margin-top: -12px;
}

/* style the accordion */

#homeAccordion article.tag-homeaccordion {
	background-attachment: fixed;
	background-position: 50% 50%;
	background-size: cover;
    @media only screen and (max-device-width: 1400px)  {
        background-attachment: scroll;
    }
}

#homeAccordion article.tag-homeaccordion .entry-header {
}

.full-width .site-content #homeAccordion article.tag-homeaccordion .entry-content {
/* 	max-width: 474px; cyvh */
	padding-left: 30px;
	padding-right: 30px;
}

#homeAccordion article.tag-homeaccordion .entry-header,
#homeAccordion article.tag-homeaccordion .entry-content p {
}

#homeAccordion .tag-homeaccordion .wp-post-image {
}

#homeAccordion .tag-homeaccordion.hentry {
	margin-bottom: 0;
	min-height: 600px;
}


/* style the workbar */

#workbar {
/* 	line-height: 2em; */
	text-align: center;
/* 	background-color: red; */
/* 	max-width: 1080px; */
	margin: 50px auto;

}

#workbar .columns {

	-webkit-column-count: 4;
	-moz-column-count: 4;
	column-count: 4;

	-webkit-column-width: 237px;
	-moz-column-width: 237px;
	column-width: 237px;


/* 	-webkit-column-gap: 12px; */
}

#workbar .columns .place {
/* 	background-color: green; */
/*
	height: auto;
	float: left;
	padding: 6px;
	margin: 0 auto;
*/
	width: 237px;

	margin: 12px 0;
	padding: 0;
	
	-webkit-column-break-inside: avoid;
	-moz-column-break-inside: avoid;
	column-break-inside: avoid;


	display: inline-block;
}

#workbar h3 {
	font-family: ScalaSansSC, sans-serif;
	font-weight: normal;
	font-size: 1em;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0;
	margin: 0;
/*
	color: yellow;
	background-color: blue;
*/
}

#workbar p {
/*
	padding-left: 2em;
	padding-bottom: 1em;
*/
	color: #666666;
}

.site-content #workbar .entry-content {
	max-width: 1080px;
}

#workbar .piece {
	font-family: ScalaSansItalic;
	font-size: 0.8em;
/*
	color: gray;
	background-color: aqua;
*/
}


/* style the cookie bar */

#cookie-law-info-bar {
	padding: 12px 0;
	font-family: Scala, serif;
}


/* style the footer */

.site-header {
	z-index: 20;
}

.site-main {
	position: inherit;
/* 	margin-bottom: 100px; */
	z-index: 10;
}


.site-footer {
/*
	position: fixed;
	bottom: 0;
*/
 	width: 100%; /* cyvh */
	height: 100px;
	z-index: 100;
}

.site-footer .widget a {
	color: white;
}


#footer-sidebar {
/* 	background: gray; */
}

.site-footer {
/* 	background: blue; */
}

.site-info {
	display: none;
}



/* stlye the left bar */


.site-description {
	display: none;
}

site::before {
	z-index: 0;
	background: none;
}

.primary-sidebar .widget {
	margin-bottom: 24px;
	text-align: center;
	width: 100%;
}


/* stlye Work Page */

.page-id-4 .entry-header,
.page-id-26 .entry-header {
	display: none;
}

.page-id-4 #secondary,
.page-id-26 #secondary {
	padding-top: 300px;
}

div.row,
.page-id-4 h3,
.page-id-26 h3,
.page-id-4 .primary-sidebar,
.page-id-26 .primary-sidebar,
.portfolio h3 {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	hyphens: none;
	white-space: nowrap;
}

.page-id-4 .primary-sidebar,
.page-id-26 .primary-sidebar {
	position: fixed;
	left: 5%;
	width: 240px
}

div.row {
 	clear: both;
}

div.row span.left {
  float: left;
  text-align: right;
  width: 49%;
}

div.row span.right,
.page-id-4 h3,
.page-id-26 h3,
.portfolio h3,
.page-template-workpage .entry-title {
  float: right;
  text-align: left;
  width: 50%;
}
 
.page-id-4 h3,
.page-id-26 h3,
.portfolio h3 {
	font-family: ScalaSansSCBold, sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 1em;
	margin-bottom: 0.25em;
	margin-top: 1em;
}

.page-template-workpage h1 {
	
}
 
.page-id-4 .entry-content,
.page-id-26 .entry-content {
	max-width: 600px;
}


@media screen and (min-width: 783px) {
	#secondary {
 		width: 19.5%; /* cyvh */
		background: transparent;
 		padding: 550px 0 0 0;
		clear: none;
		float: left;
		margin: 0 0 0 -100%;
		min-height: 100vh;
	}

	.main-content {
		float: left;
	}
	
	.primary-sidebar .widget {
		text-align: right;
		width: 90%;
	}

}


@media screen and (min-width: 1008px) {
	#secondary {
 		width: 26.5%; /* cyvh */
	}
	
	.site:before {
		background: transparent;
	}
}


.primary-sidebar {
	/* 	background: blue; */
}

.primary-sidebar .widget {
/* 	background: yellow; */
}





/* hide post content on single image postst that have a thumbnail */

.format-image.has-post-thumbnail .entry-content {
	display: none;
}

img.size-full,
img.size-large,
.wp-post-image,
.post-thumbnail img {
	height: 100%;
}


/* hide the left bar */

/*
.site:before,
#secondary,
.ie8 .site:before,
.ie8 #secondary {

	width:0;
	display:none;

}

.featured-content {
	padding-left:0;
}

.site-content,
.site-main .widecolumn,
.ie8 .site-content,
.ie8 .site-main .widecolumn {
	margin-left:0;
}
*/




/*--------------------------------------------------------------
10.3 Portfolio
--------------------------------------------------------------*/


#portfolio-wrapper:before,
#portfolio-wrapper:after {
	content: "";
	display: table;
}

#portfolio-wrapper:after {
	clear: both;
}


.single-jetpack-portfolio .entry-meta {
	margin-top: 2.6667em;
}

.single-jetpack-portfolio .cat-links,
.single-jetpack-portfolio .tags-links {
	display: block;
	margin-top: 0;
}


single-jetpack-portfolio .entry-content {
	padding-left: 0;
}


.front-page-block.portfolio .section-title {
	font-style: italic;
	text-align: center;
}

#portfolio-wrapper {
	max-width: 310px;
	margin: 0 auto;
}
#portfolio-wrapper .hentry {
	border-top: none;
	margin-bottom: 11%;
	padding: 0;
}



.project-image {
	background-color: #ccc;
	background-size: cover;
	background-position: 50% 50%;
	height: 250px;
	position: relative;
}
.project-summary {
	background: rgba(0, 0, 0, 0.5);
/* 	background: rgba(51,153,0, 0.5); */

	padding: 0 0;
	text-align: center;
	width: 100%;
	height: 100%;
	-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;
}
.project-image:hover .project-summary {
	background: rgba(0, 0, 0, 0.25);
	opacity: 1;
}
.has-post-thumbnail .project-image:hover .project-summary {
	opacity: 0;
}
.project-summary {
	left: 50%;
	position: absolute;
	top: 50%;
	text-align: center;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	z-index: 0;
}
.project-title {
/* 	color: #fff; */
	font-family: "Cabin", Helvetica, sans-serif;
	font-size: 26px;
	font-size: 2.6rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .03em;
	position: relative;
	top: 50%;
	left: 0;
	text-transform: uppercase;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.62);
	-webkit-transform: translate(0, -50%);
	-ms-transform: translate(0, -50%);
	transform: translate(0, -50%);
}

.project-title {
	font-family: ScalaSansSCBold, sans-serif;
	letter-spacing: 0.05em;
	font-weight: 400;
	margin: 0 0 0 0;
}

.portfolio-featured-image {
	margin-bottom: 1.7778em;
}
.portfolio-featured-image img {
	display: block;
	margin: 0 auto;
}

/* Portfolio shortcode */
.portfolio-featured-image img {
	display: block !important;
	margin: 0 !important;
}

/* Force-show single column on smaller screens */
@media screen and (max-width: 768px) {
	.column-2 .portfolio-entry {
		float: none !important;
		width: 100% !important;
	}
}



@media screen and (max-width: 1099px) {
	.single-jetpack-portfolio .entry-content {
		margin-right: 2em;
		margin-left: 2em;
	}
	.single-jetpack-portfolio .entry-footer {
		margin-right: 3em;
		margin-left: 3em;
	}
	.single:not(.single-jetpack-portfolio) .entry-meta {
		text-align: center;
	}
}

@media screen and (min-width: 1100px) {
	.single-jetpack-portfolio .entry-header,
	.single-jetpack-portfolio .entry-content,
	.single-jetpack-portfolio .entry-meta {
		margin-right: auto;
		margin-left: auto;
		width: 660px;
	}
	
	.portfolio {
	margin-left: 7em;
	margin-top: 3em;
	margin-bottom: 3em;
}
	

	/* Single Posts & Pages */
	
	.single:not(.single-jetpack-portfolio) .entry-meta {
		float: left;
		margin-top: 0;
		margin-right: 20px;
		width: 150px;
	}

	.single:not(.single-jetpack-portfolio) .cat-links,
	.single:not(.single-jetpack-portfolio) .tags-links {
		display: block;
		margin-top: 1.3335em;
	}
}

@media screen and (min-width: 1100px) {
	#portfolio-wrapper,
	body[class*="jetpack-portfolio"] .posts-navigation {
		max-width: 655px;
	}
	#portfolio-wrapper .jetpack-portfolio {
		float: left;
		width: 310px;
		margin-right: 5.3%;
		margin-bottom: 5.3%;
	}
	#portfolio-wrapper .jetpack-portfolio:nth-child(2n+2) {
		margin-right: 0;
	}
}

/*
@media screen and (min-width: 768px) and (max-width: 1080px) {
	#portfolio-wrapper,
	body[class*="jetpack-portfolio"] .posts-navigation {
		max-width: 655px;
	}
	#portfolio-wrapper .jetpack-portfolio {
		float: left;
		width: 310px;
		margin-right: 5.3%;
		margin-bottom: 5.3%;
	}
	#portfolio-wrapper .jetpack-portfolio:nth-child(2n+2) {
		margin-right: 0;
	}
}
*/
/*
@media screen and (min-width: 1500px) {
	#portfolio-wrapper {
		max-width: 1500px;
		clear: both;
		background: yellow;
	}
	
	#portfolio-wrapper .jetpack-portfolio {
		float: left;
		width: 310px;
		margin-right: 3.5%;
		margin-bottom: 3.5%;
	}
	#portfolio-wrapper .jetpack-portfolio:nth-of-type(4n) {
		margin-right: 0;
	}
	body[class*="jetpack-portfolio"] .posts-navigation {
		width: 1000px;
	}
}
*/




/* Media Querys */


@media screen and (min-width: 1008px) {
	.search-box-wrapper {
		padding-left:0;
	}

	.search-box-wrapper,
	.featured-content {
		padding-left:0;
	}

	.grid-content {
		padding-left:0;
	}
}

@media screen and (max-width: 1100px) {
	
	.page-id-4 #text-354711538,
	.page-id-26 #text- {
		display: none;
	}
	
	.page-id-4 #text-354711535,
	.page-id-26 #text-5 {
		position: fixed;
		top: 100px;
		left: 10px;
		width: 100px;
	}
}

@media screen and (max-width: 940px) {
	.page-template-homepage .content-area {
		background-position: -233px -160px;
	}

	.tag-homeinfo h1 {
		font-size: 55px;
		margin-top: -12px;
		letter-spacing: normal;
	}
	

}	

@media screen and (max-width: 840px) {
	.page-template-homepage .content-area {
		background-position: -233px -260px;
	}
	

}


/* @media screen and (max-width: 783px) { 
	this removes the upside image when the top menu collapes
*/

@media screen and (max-width: 783px) {
	.page-template-homepage .content-area {
		background-image: none;
	}
	
	div.row {
		margin-bottom: 1em;
		margin-left: 1em;
		 white-space: normal;	  
	}
	
	.page-id-4 .entry-content,
	.page-id-26 .entry-content {
		max-width: 474px;
	}
	
	.page-id-4 .break,
	.page-id-26 .break {
		display: block;
	}

	div.row span.left {
	  float: right;
	  text-align: left;
	  width: 100%;		  
	 }

	div.row span.right,
	.page-id-4 h3,
	.page-id-26 h3,
	.portfolio h3 {
		float: none;
		width: 100%;
	 }
}

@media screen and (max-width: 540px) {
	.tag-homeinfo h1 {
		white-space: normal;
	}
}

@media screen and (min-width: 594px) {
	.full-width .site-content .has-post-thumbnail .entry-header,
	.full-width .site-content .hentry.has-post-thumbnail:first-child {
		margin-top: 0;
	}
}

@media print {
	
	a:active,
	a:hover {
		color: black;
		text-decoration: none;
	}
	
	.page-break-before-always {
		   page-break-before: always;
	}
	
	.page-id-4 .row,
	.page-id-26 .row,
	.page-break-inside-avoid  {
		  page-break-inside: avoid;
	 }
	
}

/* DEBUG */

/*
site::before {
	background-color: red;
}




@media screen and (max-width: 940px) {
		.site-main {
			background-color: blue;
		}
}	

@media screen and (max-width: 840px) {
		.site-main {
			background-color: fuchsia;
		}
}

@media screen and (max-width: 783px) {
		.site-main {
			background-color: gray;
		}
}

@media screen and (max-width: 540px) {
		.site-main {
			background-color: green;
		
}

}
*/



