html {
	height: 100%;
}


header {
	width: 100%;
	height: 35 px;
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	background-color: White;
}


body {
	margin: 0;
	font-family: "Lucida Grande", sans-serif;
	/*height: 100%;*/
}

nav {
	display: inline-block;
	position: fixed;
	width: 150px;
	height: min(710px, calc(100vh - 70px));
	vertical-align: sub;
	left: 5px;
	font-size: 12px;
	top: 60px;
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: none;
}

article {
	display: flex;
	flex-direction: column;
	position: fixed;
	/*border: 1px solid blue;*/
	vertical-align: top;
	top: 60px;
	bottom: 10px;
	left: 160px;
	right: 200px;
	min-width: 800px;
	padding: 5px 5px 0;
	box-sizing: border-box;
	overflow: hidden;
}

.calendar-table-container {
	display: flex;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
}

.calendar-table-frame {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	min-height: 0;
	overflow: auto;
	scrollbar-gutter: stable;
}

#ListeFilm {
	display: table;
	box-sizing: border-box;
	width: 100%;
	height: auto;
	border: 0.5px solid black;
	overflow: visible;
	font-family: Arial, sans-serif;
	font-size: 11px;
}

#ListeFilm thead th {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 10;
	background: #157979;
	color: #ffffff;
	font-weight: 700;
	vertical-align: middle;
	white-space: nowrap;
}

#ListeFilm thead th::after {
	position: absolute;
	top: 50%;
	right: 4px;
	float: none;
	margin: 0;
	transform: translateY(-50%);
}

aside {
	display: block;
	position: fixed;
	box-sizing: border-box;
	width: 192px;
	min-width: 0;
	top: 94px;
	right: 5px;
	bottom: 10px;
	border: 1px solid black;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	background-color: white;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 12px 8px;
	scrollbar-width: none;
}

aside::-webkit-scrollbar {
	display: none;
}

.aside-panel__content {
	box-sizing: border-box;
	width: 100%;
}

.aside-panel__toolbar {
	margin-bottom: 4px;
	text-align: left;
}

.aside-panel__waiting-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #157979;
	color: #ffffff;
	cursor: pointer;
	transition: all 0.15s ease;
}

.aside-panel__waiting-button svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.25;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.aside-panel__waiting-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.aside-panel__waiting-button:active {
	transform: translateY(1px);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

section {}


footer {
	position: fixed;
	width: 100%;
	height: 15px;
	/* height of footer */
	bottom: 5px;
	margin-top: 15px;
	/* height of footer */
	text-align: center;
	font-size: 9px;
	background-color: black;
	font-color: white;
}


.Liste tr:hover {
	background-color: #FFE1AA;
}

/*.Liste tr:onClick{background-color: #DDE1AA;}*/

a.Film {
	color: black;
}

a.Film:link {
	color: black;
	background-color: transparent;
	text-decoration: none
}

a.Film:visited {
	color: #19334d;
	background-color: transparent;
	text-decoration: none
}

a.Film:hover {
	color: black;
	background-color: transparent;
	text-decoration: underline
}

a.Film:active {
	color: black;
	background-color: transparent;
	text-decoration: underline
}

a.FilmFrance {
	color: #cc3300;
}

a.FilmFrance:link {
	color: #cc3300;
	background-color: transparent;
	text-decoration: none
}

a.FilmFrance:visited {
	color: #a34729;
	background-color: transparent;
	text-decoration: none
}

a.FilmFrance:hover {
	color: #cc3300;
	background-color: transparent;
	text-decoration: underline
}

a.FilmFrance:active {
	color: #cc3300;
	background-color: transparent;
	text-decoration: underline
}

/* Gestion des distributeurs favoris */
.favorites-page {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	padding: 18px;
}

.favorites-panel {
	box-sizing: border-box;
	width: min(760px, 100%);
	height: min(692px, calc(100vh - 88px));
	padding: 22px 24px 20px;
	border: 1px solid #c9dddd;
	border-radius: 8px;
	background-color: #eaf3f3;
	box-shadow: 0 2px 8px rgba(21, 121, 121, 0.12);
}

.favorites-columns {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 50px minmax(0, 1fr);
	align-items: start;
	gap: 12px;
}

.favorites-column {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-width: 0;
}

.favorites-column__title {
	margin: 0 0 10px;
	color: #157979;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.favorites-select {
	box-sizing: border-box;
	width: 100%;
	height: 390px;
	padding: 5px;
	border: 1px solid #9dbebe;
	border-radius: 4px;
	background-color: #ffffff;
	color: #222222;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}

.favorites-select:focus {
	border-color: #157979;
	outline: 2px solid rgba(21, 121, 121, 0.2);
	outline-offset: 1px;
}

.favorites-transfer {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding-top: 190px;
}

.favorites-transfer__button,
.favorites-order__button {
	border: 0;
	border-radius: 4px;
	background-color: #f27954;
	color: #ffffff;
	font-weight: 700;
	cursor: pointer;
}

.favorites-transfer__button {
	width: 36px;
	height: 32px;
	font-size: 19px;
	line-height: 1;
}

.favorites-order {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
}

.favorites-order__button {
	min-width: 62px;
	padding: 8px 12px;
	font-size: 12px;
}

.favorites-transfer__button:hover,
.favorites-order__button:hover {
	background-color: #da6745;
}

.favorites-save {
	display: flex;
	justify-content: center;
	margin-top: 22px;
}

.favorites-result {
	min-height: 20px;
	margin-top: 10px;
	color: #157979;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
}

.favorites-result__success {
	display: inline-block;
}

.favorites-result--error {
	color: #a34729;
}

#Enregistrer {
	min-width: 180px;
	padding: 11px 24px;
	border: 0;
	border-radius: 5px;
	background-color: #157979;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

#Enregistrer:hover {
	background-color: #105f5f;
}

#Enregistrer:active {
	background-color: #58a6a6;
	transform: translateY(2px);
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

#Enregistrer.is-saving,
#Enregistrer:disabled {
	background-color: #58a6a6;
	color: #ffffff;
	cursor: wait;
	opacity: 1;
}

.favorites-transfer__button:focus,
.favorites-order__button:focus,
#Enregistrer:focus {
	outline: 2px solid #157979;
	outline-offset: 2px;
}

@media (max-width: 680px) {
	.favorites-panel {
		padding: 18px 14px;
	}

	.favorites-columns {
		grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
		gap: 7px;
	}

	.favorites-transfer {
		padding-top: 160px;
	}

	.favorites-select {
		height: 330px;
	}

	.favorites-order {
		flex-wrap: wrap;
	}
}
