/* Filtre de portfolio (inspiré de w3schools.com/howto/howto_js_portfolio_filter.asp) */
.portfolio-title {
	text-align: center;
	margin-bottom: 20px;
}

#portfolioFilterButtons {
	text-align: center;
	margin-bottom: 30px;
}

.portfolio-btn {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	border: 1px solid #dddddd;
	outline: none;
	padding: 10px 18px;
	margin: 4px 2px;
	background: #ffffff;
	background-color: #ffffff;
	background-image: none;
	color: #333333;
	cursor: pointer;
	border-radius: 4px;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 12px;
	box-shadow: none;
	-webkit-box-shadow: none;
	text-shadow: none;
	filter: none;
	transition: background-color .2s ease-in 0s, color .2s ease-in 0s, border-color .2s ease-in 0s;
}

.portfolio-btn:hover,
.portfolio-btn.active {
	background: #21409a;
	background-color: #21409a;
	background-image: none;
	color: #ffffff;
	border-color: #21409a;
	box-shadow: none;
	-webkit-box-shadow: none;
}

.portfolio-grid {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -10px;
}

.portfolio-item {
	display: none;
	width: 25%;
	padding: 10px;
	box-sizing: border-box;
}

.portfolio-item.show {
	display: block;
}

.portfolio-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	padding: 15px;
	text-align: center;
	height: 100%;
	box-sizing: border-box;
}

.portfolio-card-img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	margin-bottom: 12px;
}

.portfolio-card-title {
	font-size: 1.1em;
	margin-bottom: 8px;
	color: #21409a;
}

.portfolio-card-text {
	font-size: 0.9em;
	color: #555;
	margin-bottom: 12px;
}

.portfolio-empty {
	text-align: center;
	color: #777;
	padding: 40px 0;
}

@media (max-width: 991px) and (min-width: 768px) {
	.portfolio-item {
		width: 50%;
	}
}

@media (max-width: 767px) {
	.portfolio-item {
		width: 100%;
	}
}
