/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 
.ug-events-wrap {
	display: flex;
}

.ug-events-wrap .ug-events-title,
.ug-events-wrap .ug-events-filters {
	flex: 0 0 50%;
}

.ug-events-wrap .ug-events-title h2 {
	font-weight: 700;
}

.ug-events-wrap .ug-events-filters {
	text-align: right;
}
 
.ug-events-grid {
	display: flex;
	flex-wrap: wrap;
    justify-content: space-between;
}

.ug-events-grid .ug-event {
	flex: 0 0 calc(33.3333% - 20px); /* Calcolato in modo che ci siano 3 elementi per riga */
    margin-bottom: 20px;
    box-sizing: border-box;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 15px;
    text-align: left;
}

.ug-events-grid .ug-event img {
	max-width: 100%;
}

.ug-events-grid .ug-event a {
	border: 1px solid #000000;
	border-radius: 30px;
	color: #000000;
	font-size: 12px;
	padding: 5px 10px;
	text-decoration: none;
	text-transform: uppercase;
}

.ug-events-filters li {
	display: inline;
	margin-right: .5em;
}

@media screen and (max-width: 992px) {
	.ug-events-grid .ug-event {
		flex: 0 0 calc(50% - 20px);
	}
}

@media screen and (max-width: 600px) {
	.ug-events-grid .ug-event {
		flex: 0 0 100%;
	}
}

/*
Loader fix
*/

.loader-removed {
	display: none;
}