.referenties{
	background-color: #222951;
	padding: 80px 0 140px;
	overflow-x: hidden;
}

#referentie_filters{
	padding: 0;
	width: 100%;
	text-align: center;
	margin: 0 0 120px;
	list-style: none;
}

#referentie_filters li{
	display: inline-block;
	font-family: 'Graphik-Light';
	font-size: 18px;
	color: #fff;
	line-height: 32px;
}

#referentie_filters li:nth-child(1){
	margin-right: 15px;
}

#referentie_filters li:nth-child(1):before,
#referentie_filters li:nth-child(2):before{
	display: none;
}

#referentie_filters li:before{
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: #47a9a6;
	display: inline-block;
	margin-right: 15px;
	margin-left: 15px;
}

#referentie_filters li a{
	color: rgba(255,255,255,0.6);
	font-family: 'Graphik-Semibold';
	text-decoration: none !important;
	font-size: 16px;
}

#referentie_filters li.active a,
#referentie_filters li:hover a{
	color: rgba(255,255,255,1);
}

.referentie_single_info h3{
	color: #a67d52;
	font-family: 'Graphik-Regular';
	font-size: 26px;
	line-height: 42px;
}

.referentie_single_info{
	padding: 80px;
	-webkit-box-shadow: 20px 30px 50px rgba(0, 0, 0, 0.16);
	box-shadow: 20px 30px 50px rgba(0, 0, 0, 0.16);
	background-color: #ffffff;
}

.referentie_details{
	margin-bottom: 30px;
	margin-top: 60px;
}

.referentie_detail a {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: -webkit-calc(100% - 115px);
    width: calc(100% - 115px);
    display: inline-block;
}

.referentie_details span{
	color: #222951;
	font-family: 'Graphik-Medium';
	font-size: 18px;
	line-height: 32px;
	display: inline-block;
	width: 115px;
	float: left;
}

.referentie_single_afb{
	margin-left: -200px;
	margin-right: -135px;
}

.row-referentie:nth-child(even) .row{
	-webkit-box-orient: horizontal;
	-webkit-box-direction: reverse;
	-webkit-flex-direction: row-reverse;
	-ms-flex-direction: row-reverse;
	flex-direction: row-reverse;
}

.row-referentie:nth-child(even) .referentie_single_afb{
	margin-right: -200px;
	margin-left: -135px;
}

.row-referentie + .row-referentie,
.referenties .alm-reveal + .alm-reveal{
	margin-top: 150px;
}

#content article > .referenties:last-child{
	margin-bottom: -140px;
}

@media (max-width:767px)
{
	#content article > .referenties:last-child {
		margin-bottom: -85px;
	}
	
	.referenties{
		padding-bottom: 85px;
	}
	
	.referentie_single_afb,
	.row-referentie:nth-child(even) .referentie_single_afb{
		margin-left: -30px;
		margin-right: -30px;
	}
	
	.referentie_single_info {
    	padding: 30px;
		margin-top: -100px;
	}
	
	.row-referentie + .row-referentie, 
	.referenties .alm-reveal + .alm-reveal {
		margin-top: 65px;
	}
	
	#referentie_filters{
		margin-bottom: 80px;
	}
	
	.referentie_details{
		margin-top: 30px;
	}
	
	.referentie_single_info h3{
		margin-bottom: 15px;
	}
}

@media (min-width:768px) and (max-width:991px)
{  
	#content article > .referenties:last-child {
		margin-bottom: -85px;
	}
	
	.referenties{
		padding-bottom: 85px;
	}
	
	.referentie_single_afb,
	.row-referentie:nth-child(even) .referentie_single_afb{
		margin-left: -30px;
		margin-right: -30px;
	}
	
	.referentie_single_info {
    	padding: 40px;
		margin-top: -300px;
	}
	
	.row-referentie + .row-referentie, 
	.referenties .alm-reveal + .alm-reveal {
		margin-top: 65px;
	}
	
	#referentie_filters{
		margin-bottom: 80px;
	}
}

@media (min-width:992px) and (max-width:1199px)
{	
	.referentie_single_afb{
		margin-left: 0;
		margin-right: -30px;
	}
	
	.row-referentie:nth-child(even) .referentie_single_afb {
		margin-right: 0;
		margin-left: -30px;
	}
	
	.referentie_single_info {
    	padding: 40px;
	}
	
	#referentie_filters li:before {
		margin-right: 10px;
		margin-left: 10px;
	}
	
	.referenties{
		padding-bottom: 80px;
	}
	
	#content article > .referenties:last-child {
		margin-bottom: -80px;
	}
}

@media (min-width:1200px) and (max-width:1375px)
{	
	#referentie_filters li:before {
		margin-right: 10px;
		margin-left: 10px;
	}
}