/* specific.css: templates override and alternative layouts */


body.md.view-article #wrap, body.lg.view-article #wrap, body.xl.view-article #wrap,
body.md.layout-poplarquad #wrap, body.lg.layout-poplarquad #wrap, body.xl.layout-poplarquad #wrap
/*body.md.view-category #wrap, body.lg.view-category #wrap, body.xl.view-category #wrap */	{
	width:70%;
	margin:0 auto;
}

.pageheading {text-align:center;}

/* ------------------------------------------- FRONTPAGE VIEW-FEATURED + BLOG VIEW LAYOUT */

#featquad {
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
	flex-direction: row;
	-webkit-flex-direction: row;
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
}
#featquad > div {
	/*position:relative;
	overflow:hidden;*/
}

#featquad .lead{
	width:100%;
	padding: 30px 0;

}
#featquad .intro{
	/*width:100%;*/
	/*
	flex:1 1 50%;
	-webkit-flex:1 1 50%;
	*/
}
#featquad::before {
	content: "";
	position: absolute;
	top: 0; 
	left: 0;
	width: 100%;
	height: 100%;
	opacity: .2; 
	z-index: 0;
	background-size: 100%;
	background-position:50% 35%;
	background-attachment:scroll;
	background-repeat:space;
	
	
	-moz-transform: rotate(-6deg) translateX(10px);
	-webkit-transform: rotate(-6deg) translateX(10px);
	-o-transform: rotate(-6deg) translateX(10px);
	-ms-transform: rotate(-6deg) translateX(10px);
	transform: rotate(-6deg) translateX(10px);
	
}
#featquad h1,
#featquad h2,
#featquad h3 {
	margin:0;
	line-height: 1.3em;
}

#featquad > div  {
	border-bottom:dotted 1px #ccc;
}
#featquad div > .row  {
	display:flex;
	display:-webkit-flex;
	
	flex-wrap:wrap;
	-webkit-flex-wrap:wrap;

	flex-direction: row-reverse;
	-webkit-flex-direction: row-reverse;
	
	position:relative;
	height: 100%;
	border-bottom: solid 5px #ccc;
}
#featquad div .row.photoleft  {
	display:flex;
	display:-webkit-flex;
	flex-direction:row; 
	-webkit-flex-direction:row; 
}


#featquad .text {
	padding:3vh;
	position:relative;
}
#featquad .photo {
	position: relative;
	background-origin: content-box;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position: left;
	overflow:hidden;
}
/* brick clean */
#featquad .row.clean {
	width:70%;
	margin:0 auto;

}
@media only screen and (max-width: 992px) {
	#featquad .row.clean {
		width:100%;
	
	}
}
#featquad .row.clean .photo {
	width:20%;
}
#featquad .row.clean .text {
	width:100%;
}
/* brick quad */


body.md #featquad .row.quad, body.lg #featquad .row.quad, body.xl #featquad .row.quad  {
	width:70%;
	margin:0 auto;
}


#featquad .row.quad .photo {
	background-attachment: scroll;
	-webkit-clip-path: polygon(25% 0%, 100% 1%, 100% 100%, 25% 100%, 0% 50%);
	clip-path: polygon(25% 0%, 100% 1%, 100% 100%, 25% 100%, 0% 50%);
	/* this aligns the caption */
	display:flex;
	display:-webkit-flex;
	
	justify-content:center;
	-webkit-justify-content:center;
	
	align-items: flex-end;
	-webkit-align-items: flex-end;

}
#featquad .row.quad .photo .photolayer, #featquad .row.quad .photo .videolayer {
	position:absolute;
	width:100%;
	height:100%;
	background-size:cover;
	background-position:center;
	top:0;
	left:0;
}

#featquad .row.quad .photo .photolayer {
	transform: scale(1);
	-webkit-transition: all 8s ease;
	-o-transition: all 8s ease;
	-moz-transition: all 8s ease;
	-ms-transition: all 8s ease;
	-kthtml-transition: all 8s ease;
	transition: all 8s ease;

}
#featquad .row.quad.active .photo .photolayer {
	transform: scale(1.3);

}
#featquad .row.quad .photo .videolayer video {
	max-width:100%;
	min-height:100%;
	object-fit: cover;
}
#featquad .row.quad.photoleft .photo {
	background-attachment: scroll;
	-webkit-clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
	clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
}
#featquad .row.quad .text, #featquad .row.quad .photo {
	flex: 1 1 20em;
	-webkit-flex: 1 1 20em;
	min-height:20em;

} 
#featquad .row.quad.photoleft .text {
	text-align: left;
}
#featquad .row.quad.photoright .text {
	text-align: right;
} 
	
/* brick full */
#featquad .row.full {
	padding: 30vh 10vw 10vw 10vh;
	background-repeat: no-repeat;
	/*background-attachment: fixed;*/
	background-size: cover;
	background-position: center;
}
#featquad .row.full .title {
	position: absolute;
	top: -1.2em;
	z-index: 99999;
	left: 0;
	color: #fff;
}
#featquad .row.full .videolayer {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}
#featquad .row.full .videolayer video {
	object-fit: cover;
	width:100%;
	height:100%;
}
#featquad .row.full .text {
	background-color: rgba(255, 255, 255, 0.8);
	flex: 0 1 30em; 
}
#featquad .row.full .title a {
	color:#fff;
}
#featquad img a {
	width:100%;
	height:100%;
	display:block;
}

#featquad .article-info {
	font-size:0.8em;
	width:auto;
}
#featquad .caption {
	font-size:0.8em;
	font-style:italic;
}
#featquad .row.full .caption {
	position:absolute;
	bottom:10px;
	left:5vh;
	z-index:9;
	color:#fff;
	max-width:30em;
}
#featquad .row.quad .caption  {
	color:#fff;
	width:50%;
}


#featquad .content h1,
#featquad .content h2,
#featquad .content h3,
#featquad .content h4 {
	color:#000;
}

#featquad .category {
	position:absolute;
	bottom:25px;
	left:35px;
	font-weight:bold;
	z-index:999;
	color:#fff;
}

#featquad .category a {
	color:#fff;
}

#featquad .title { 
	/*
	transform: translateZ(0px);
	transition-duration: 1s;
	transition-property: text-shadow, transform, color, font-size;
	*/
	font-size:2.6em;
	font-weight: bold;
	text-decoration:none;
	margin-bottom:1vh;
	}

#featquad .mask  {
	position:absolute;
	bottom:0;
	left:0;
	z-index:9;
	width:100% !important;
	height:100%;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,000000+100&0.3+0,0+50,0.3+100 */
	background: -moz-linear-gradient(top,  rgba(255,255,255,0.3) 0%, rgba(128,128,128,0) 50%, rgba(0,0,0,0.3) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(255,255,255,0.3) 0%,rgba(128,128,128,0) 50%,rgba(0,0,0,0.3) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(255,255,255,0.3) 0%,rgba(128,128,128,0) 50%,rgba(0,0,0,0.3) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4dffffff', endColorstr='#4d000000',GradientType=0 ); /* IE6-9 */

}
/* ------------------------------------------- FRONTPAGE VIEW-FEATURED + BLOG VIEW LAYOUT  END */


/* ------------------------------------------- QUAD BLOG VIEW LAYOUT */
#quad {

}
#quad:after {
	content:"";
	display:block;
	clear:both;
}
#quad > div {
	float:left;
	position:relative;
	cursor:pointer;
}
#quad > div > div {
	padding-top:100%;
	margin-right:1vw;
	margin-top:1vw;
		background-size:cover;

	}

#quad > div > div .text {
	position:absolute;
	bottom:0;
	left:0;
	padding:1vw;
	background-color: rgba(255, 255, 255, 0.7);
	}
#quad .title {margin:0; line-height:1.2em;}

/* ------------------------------------------- QUAD BLOG VIEW LAYOUT END */

 
/* ------------------------------------------- PLUS */
.plus  {
	grid-template-columns: repeat(1, 100%);
	font-size:0.8em;
	text-align: center;
}
@media screen and (min-width:600px) {
	.plus  {
		display:grid;
		grid-template-columns: repeat(3, 33%);
		grid-gap: 1vw;
		padding: 0;
		
	}
}
.plus > div {
	padding:5vh;
	background:#A8CF7F;
	margin:5px;

}

.plus img {
	width:30%;
	height:auto;
}
/* ------------------------------------------- PLUS END */

/* ------------------------------------------- TABS */

 /* Style the tab */
.tabs {
	overflow: hidden;
	margin-top:2vh;
	display:flex;
	display:-webkit-flex;
	justify-content:center;
	-webkit-justify-content:center;
	align-items: flex-end;
	-webkit-align-items: flex-end;


}
.tabs button {
	margin:0;
}

.tabs button.active{
	background: #fff !important;
	border:1px solid #ccc !important;
	border-width: 1px 1px 0 1px !important;
}


/* Style the tab content */
.tabcontent > div {
	display:none;
	visibility: hidden;
	opacity:0;
	padding:0;
	/*border:1px solid #ccc;*/
	-webkit-transition: all 1s ease;
	-o-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-kthtml-transition: all 1s ease;
	transition: all 1s ease;
	}
.tabcontent div.active {
	opacity:1;
	display: block;
	visibility: visible;
	
}
.tabcontent h3 {
	text-align:center;
	
} 

/* ------------------------------------------- TABS END */

/* ------------------------------------------- SOCIAL ACTIONS */

ul.social-actions  {
	list-style:none;
	display:flex;
	justify-content:center;
	font-size: 1.5em;
}
ul.social-actions li {
margin:5px;

}

/* ------------------------------------------- SOCIAL ACTIONS END*/
