/* documents */

.documents {
	list-style: none;
	list-style-type: none !important;
	margin: 0;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.document {
	list-style: none;
	list-style-type: none !important;
	text-align: center;
	margin-right: 45px;
	min-width: 150px;
	margin-bottom: 35px;
}

.document img {
	border: 1px solid #ddd;
	-webkit-box-shadow: 3px 3px 6px 3px rgba(125, 125, 125, 0.5);
	box-shadow: 3px 3px 6px 3px rgba(125, 125, 125, 0.5);
	margin-bottom: 14px;
}

.document img:hover {
	opacity: 0.7;
}

.document span {
	max-width: 200px;
	display: block;
	line-height: 1.2;
	margin: auto;
}

@media screen and (max-width: 767px) {
	.documents {
		margin: auto;
		align-items: center;
		justify-content: center;
	}

	.document {
		margin-left: 35px;
		;
		margin-right: 35px;
	}
}

/* filter */

.documents-filter-nav {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	flex: 1 1 auto;
	padding: 10px 20px;
	margin-top: 20px;
}

.documents-filter-nav .nav-item {
	position: relative;
	padding: 0 5px;
	margin: 0 12px;
	font-size: 16px;
	font-weight: 600;
	color: grey;
	text-decoration: none;
	line-height: 1.5;
}

.documents-filter-nav .nav-item:before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: grey;
	transition: all 500ms;
}

.documents-filter-nav .nav-item.active {
	color: #333;
	transition: all 250ms;
}

.documents-filter-nav .nav-item.active:before {
	width: 100%;
}