#prog_header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 60px;
}

.pg_title, .film_filter {
    width: 100%;
    min-width: 0;
	margin-bottom: 0;
}

@media screen and (min-width: 768px) {
    #prog_header {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 20px;
    }

    .pg_title {
        flex: 1 1 50%;
        width: 50%;
    }

    .film_filter {
        flex: 1 1 50%;
        width: 50%;
    }
}

.film_filter {
    text-align: left;
    position: relative;
}

@media screen and (min-width: 768px) {
    .film_filter {
        text-align: right;
    }
}

.film_filter input {
    width: 300px;
    height: 40px;
    box-sizing: border-box;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: rgba(255,255,255,.15);
    color: var(--first_color);
    border: 0;
    border-radius: 6px;
    padding: 0 50px 0 20px;
}

.film_filter input::placeholder {
    color: var(--first_color);
}

.film_filter .fi {
    position: absolute;
    top: 10px;
    left: 260px;
    right: auto;
}

@media screen and (min-width: 768px) {
    .film_filter .fi {
        left: auto;
        right: 20px;
    }
}

.no_result {
    position: absolute;
    top: 40px;
    right: 0;
    font-size: 14px;
    color: var(--first_color);
    margin-top: 10px;
}

.reset_filter {
    display: none;
}

/* Programmazione */

.filmContainer {
	display: flex;
    flex-direction: column;
    gap: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    margin-bottom: 30px;
    padding-bottom: 30px;
}
	
@media screen and (min-width : 768px) {
	.filmContainer { flex-direction: row; flex-wrap: wrap; gap: 60px; margin-bottom: 60px; padding-bottom: 60px; }
}
	
@media screen and (min-width : 1400px) {
	.filmContainer { flex-wrap: nowrap; }
}

.filmContainer:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

	.locandina {
		width: 220px;
		height: 320px;
		flex: none;
		border-radius: 6px;
		overflow: hidden;
	}
	
	@media screen and (min-width : 768px) {
		.locandina { flex: 0 0 220px; }
	}

		.locandina img {
			width: 100%;
		}

	.datiFilm {
		width: 100%;
    	min-width: 0;
	}
	
	@media screen and (min-width : 768px) {
		.datiFilm { flex: 1; width: auto; }
	}
	
	@media screen and (min-width : 1400px) {
		.datiFilm { flex: 5; }
	}

		.datiFilm .label {
			font-weight: 500;
		}

		.genere {
			font-family: 'Barlow Condensed', sans-serif;
			text-transform: uppercase;
			font-weight: 400;
			margin-bottom: 10px;
			display: inline-block;
			padding: 2px 20px 3px 20px;
			background-color: var(--third_color);
			color: var(--fifth_color);
			border-radius: 4px;
		}

		.titolo {
			margin-bottom: 10px;
		}

		.btt_scheda {
			margin-top: 20px;
		}

	.orari {
		width: 100%;
		min-width: 0;
		display: flex;
		flex-direction: column;
		gap: 20px;
		margin: 0;
		padding: 0;
	}

	@media screen and (min-width: 768px) {
		.orari {
			flex: 0 0 100%;
		}
	}

	@media screen and (min-width: 1400px) {
		.orari {
			flex: 5;
		}
	}

	.dayName {
		font-size: 15px;
		font-weight: 500;
		letter-spacing: 2px;
		text-transform: uppercase;
		margin-bottom: 10px;
	}

	.orari_cont {
		display: grid;
		grid-template-columns: 1fr;
		width: 100%;
		gap: 10px;
	}

	@media screen and (min-width: 768px) {
		.orari_cont {
			grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
		}
	}

	.orario {
		width: 100%;
		min-width: 0;
		box-sizing: border-box;
		background-color: var(--fourth_color);
		border: 1px solid rgba(255,255,255,0.3);
		border-radius: 6px;
		padding: 20px;
		min-height: 60px;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	@media screen and (min-width: 768px) {
		.orario {
			flex-direction: column;
			align-items: center;
			justify-content: flex-start;
			min-height: 100px;
		}
	}

	.orario a {
		color: var(--first_color);
		text-align: left;
		margin-right: auto;
		transition: color 0.3s linear;
	}

	.orario a:hover {
		color: var(--second_color);
	}

	.versione {
		color: var(--second_color);
		font-family: 'Barlow Condensed', sans-serif;
		font-weight: 400;
		font-size: 14px;
		text-transform: uppercase;
		text-align: right;
		margin-left: auto;
	}

	@media screen and (min-width: 768px) {
		.orario {
			flex-direction: column;
			align-items: center;
			justify-content: flex-start;
		}

		.orario a,
		.versione {
			margin: 0;
			text-align: center;
		}

		.versione {
			margin-top: 5px;
			line-height: 14px;
		}
	}