/* 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);
}