/* new projects style is defined in templates/modules/galleries/frontend/atf|btf.displaygallery.css as .scrolling-gallery */

/* old projects style */
.flexItem {
	width: 100%;	/* 30% for 3 across, 24% for 4, etc = leave some % space for flex to pad margins */
	margin-bottom:1.5em;
}
@media (min-width: 549px){
	.flexItem{
		width: 48%;
	}
}
@media (min-width: 900px){
	.flexItem{
		width: 31%;
	}
}

.allprojects {
	display:block;
	background:#000;
	position:relative;
    -webkit-transition: all .5s; /* Safari */
	transition: all .5s;
}
.allprojects:hover {
	background:#fff;
}
.allprojects img {
	opacity:.75;
	vertical-align:middle;
	width:100%;
	height:auto;
}
.flexItem p {
	text-align: left;
	font-size: 1.1rem;
	margin:0;
}

@media (max-width:549px){
	.allprojects p {
		font-size:2.5em;
	}
}

.flexContainer {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-flex-wrap: wrap;
	margin-top: 1.5em;
}
.flexFill {
	display: block;
	width: 30%;	/* must be same as regular flex item */
	height: 0;
}

#project-wrap{
	margin-top: 2em;
}

.projflexrow {
    display: flex; 
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 600;
}

.projflexrow a.projectLink {
    cursor: pointer;
}

.projflexrow a.disabledprojectLink {
    color: #aaa;
}

.projflexrow .projArrow {
    font-size: 1.6rem;
}

/* project filters section */
#project-filter > *{
	padding-bottom: .5rem;
	color: grey !important;
}

#project-filter label{
	font-weight: 500;
	font-size: 1.2rem;
	display: block;
}

#project-filter a{
	margin: 0 .75rem;
	padding-left: .25rem;
	padding-right: .25rem;
	font-weight: 400;
	font-size:.9rem;
}

#project-filter a.selectedProjFilter{
	border-bottom: 3px solid var(--brand-a);
}

/* projects module styles */
#project-wrap .scrolling-gallery .gallery-link {
	display: flex;
	justify-content: center;
	align-items: center;
	background: #111a;
	opacity: 0;
	transition: opacity .5s;
	color: white;
}
#project-wrap .scrolling-gallery .gallery-link:hover{
	opacity: 1;
}

#project-wrap .scrolling-gallery > div .scrolling-overlay{
	opacity: 1;
	top: unset;
	right: unset;
	flex-direction: row;
	opacity: 1;
}
#project-wrap .scrolling-gallery > div:hover .scrolling-overlay{
	opacity: 0;
}

#project-wrap .project-hover{
	transform: translateY(3rem);
	transition: transform .5s;
}
#project-wrap .project-hover .ph-heading{
	font-size: 1.8rem;
	line-height: 2.2rem;
	font-weight: 400;
	text-align: center;
	padding: 0 1rem;
}
#project-wrap .project-hover span{
    text-transform: uppercase;
    text-align: center;
    margin: 0 auto;
	display: block;
    margin-top: 1rem;
}
#project-wrap .scrolling-gallery > div > a:hover .project-hover{
	transform: translateY(0);
}

.project-detail{
	padding: 1rem;
	font-weight: 600;
}
.project-detail > div{
	font-weight: 400;
}