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

/* old projects style */
#allprojects {
	width:94%;
	float:none !important;
	margin:0 auto;
}
.flexItem {
	width: 30%;	/* 30% for 3 across, 24% for 4, etc = leave some % space for flex to pad margins */
	margin-bottom:1.5em;
}
.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;
}
/*css below is to put title inside image block */
/*.allprojects p {
	position:absolute;
	top:50%;
	left:50%;
	max-width:90%;
	transform: translate(-50%, -50%);
	color:#fff;
	font-size:3em;
	text-transform:uppercase;
    -webkit-transition: all .5s; 
    transition: all .5s;
	line-height: 0.9em;
    text-align: center;
}*/
@media (max-width:549px){
	.allprojects p {
		font-size:2.5em;
	}
}
.allprojects:hover p {
	color:#000;
}
.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;
}
#leftContentContainer {
	margin-right: 1em;
}

#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;
}

.projecthome{
	min-width: 320px;
	max-width: 2000px;
	margin: 0 auto;
	padding: 1rem 1%;
}
@media only screen and (min-width:1001px){
	.projecthome{
		padding: 1rem .5%;
	}
}



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