@import url(https://fonts.googleapis.com/css?family=Roboto);

html {
	font-family: 'Roboto', 'Arial', 'Verdana';
	background: linear-gradient(to top, #E0F2F1 0%,#80CBC4 100%);
	min-height: 100%;
}

[onClick] {
	cursor: pointer;
}

a {
	text-decoration: none;
	color: #004D40;
}

a:hover {
	color: #F44336;
}

li {
	list-style-position:inside;
}

img.droite {
	float: right;
	margin: 5px;
}

img.gauche {
	float: left;
	margin: 5px;
}

.zone_bouton input[type="button"],
.zone_bouton button,
button.red {
	border: 0px;
	background-color: #F44336;
	height: 30px;
	color: white;
	font-weight: bold;
	box-shadow: 1px 1px 5px 0px #656565;
	cursor: pointer;
}

button.red.plus {
	width: 32px;
	height: 32px;
	border-radius: 16px;
	position: relative;
}

button.red.plus::before {
	content: ' ';
	background-color: #FFFFFF;
	height: 3px;
	width: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
}

button.red.plus::after {
	content: ' ';
	background-color: #FFFFFF;
	height: 20px;
	width: 3px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
}

button.red img {
	height: 16px;
}

input:invalid,
input.invalid {
	background-color: #f64e5c;
	color: white;
}

.zone_bouton {
	margin-top: 10px;
	margin-bottom: 10px;
	text-align: center;
}

footer {
	width: 100%;
	background-color: white;
	box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
	box-sizing: border-box;
	font-size: 0.8em;
	position: relative;
	padding: 5px;
	display: flex;
	text-align: center;
}

footer a {
	flex-grow: 1;
}

#menu_admin {
	position: absolute;
	top:0px;
	left: 20%;
	background-color: #4DB6AC;
	color: white;
	font-weight: bold;
	font-size: 0.9em;
	padding: 5px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	z-index: 1000;
	text-align: center;
	box-shadow: 0 2px 4px 0 rgba(0,0,0,0.14);
}

#menu_admin .sm_row {
	text-align: left;
	font-weight: normal;
	line-height: 2em;
}

#menu_admin .liste_menu_admin {
	max-height: 0;
	max-width: 0;
	overflow-y: hidden;
	transition: all 0.3s;
}

#menu_admin .liste_menu_admin.visible {
	max-height: 400px;
	max-width: 400px;
}

#container {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

#disciplines {
	font-size: 0;
	text-align: right;
	vertical-align: bottom;
}

#disciplines img {
	height: 25px;
	margin-left: 5px;
}

#slider_logo {
	display: flex;
	flex-direction: row;
	height: 150px;
}

#logo > img {
	height: 150px;
	margin-left: 0px;
	flex-shrink: 1;
}

#slider {
	width: 100%;
	height:150px;
	overflow: hidden;
	box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
	border-radius: 2px;
	white-space: nowrap;
	position: relative;
	flex-grow: 1;
}

#slider .images {
	margin: 0;
	white-space: nowrap;
	font-size: 0;
	display: inline-block;
	position: relative;
}

#slider img {
	height: 150px;
}

nav {
	position: relative;
	z-index: 100;
	height: 60px;
}

nav > .menu_mini {
	display: none;
}

nav .barre_sep {
	background-color: #009688;
	width: 100%;
	height: 10px;
	font-size: 0;
	overflow: hidden;
	z-index: 1000;
	position: relative;
	/*border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;*/
}

nav > ul {
	list-style: none;
	margin: 0;
	padding: 0;
	margin-bottom: 10px;
	position: absolute;
	z-index: 500;
}

nav > ul > li {
	font-size: 0.9em;
	color: white;
	display: inline-block;
	width: 150px;
	background-color: #4DB6AC;
	text-align: center;
	margin-right: 5px;
	transition: 0.5s all;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	box-shadow: 0 2px 4px 0 rgba(0,0,0,0.14);
	vertical-align: top;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

nav > ul > li#menu-14 {
	width: 50px;
}

nav > ul > li#menu-14 img,
nav > ul > li#menu-16 img {
	position: relative;
	top: 5px;
}

nav > ul > li .menu {
	line-height: 3em;
	font-weight: bold;
	font-size: 0.9em;
}

.triangle {
	display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 6px solid;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
}

nav > ul > li .sous_menu {
	line-height: 2em;
	font-weight: normal;
	font-size: 0.8em;
	max-height: 0;
	overflow: hidden;
	transition: 0.5s all;
}

nav > ul > li.actif {
	background-color: #009688;
	box-shadow: 0 6px 11px rgba(0,0,0,0.3);
}

nav > ul > li:not(.actif):hover {
	background-color: #26A69A;
	box-shadow: 0 2px 8px 0 rgba(0,0,0,0.14);
}

nav li.deployed {
	width: 200px;
}

nav li.deployed .sous_menu {
	max-height: 500px;
}

nav li.deployed .sous_menu .sm_row:hover {
	background-color: #00897B;
}


/* CONTENU */
#data {
	margin-top: 20px;
	display: -webkit-flex;
	-webkit-flex-direction: row;
	display: flex;
	flex-direction: row;
	margin-bottom: 50px;
}

#sidebar {
	flex-shrink: 1;
}

#sidebar article {
	width: 250px;
	margin: 30px 10px 10px 0px;
	background-color: white;
	box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
	box-sizing: border-box;
	padding: 20px 10px 10px 10px;
	padding-left: 10px;
	font-size: 0.9em;
	position: relative;
}

#sidebar article header {
	font-weight: bold;
	white-space: nowrap;
	text-align: center;
	margin-bottom: 10px;
	background-color: #009688;
	position: absolute;
	color: white;
	padding: 10px;
	width: 80%;
	left:50%;
	transform: translateX(-50%);
	top: -15px;
	/*box-shadow: 0 1px 4px 0 rgba(0,0,0,0.3);*/
	box-shadow: 0 2px 11px rgba(0,0,0,0.3);
	text-transform: uppercase;
}

#sidebar .coordonnees [itemprop="telephone"] {
	font-weight: bold;
}

#sidebar .coordonnees .horaires {
	display: flex;
	padding: 3px;
	font-size: 0.8em;
}

#sidebar .coordonnees .horaires:hover {
	background-color: #4DB6AC;
	color: white;
}

#sidebar .coordonnees .horaires .heures {
	flex-grow: 1;
	text-align: right;
}

#sidebar .vers_page_contact {
	color: #009688;
	text-align: right;
}

#sidebar .vers_page_contact img {
	transform: translateY(7px);
}

#sidebar .liste_actus .titre_actu {
	margin-top: 10px;
	font-size: 0.9em;
	font-weight: bold;
	width: 100%;
	white-space: nowrap;
	overflow-x: hidden;
	text-overflow: ellipsis;
}

#sidebar .liste_actus .date_actu {
	font-size: 0.8em;
	font-style: italic;
}

#sidebar .liste_telechargements {
	overflow-x: hidden;
}

#sidebar .liste_telechargements .nom_long {
	margin-top: 10px;
	font-size: 0.9em;
	font-weight: bold;
	width: 100%;
	white-space: nowrap;
	overflow-x: hidden;
	text-overflow: ellipsis;
}

#sidebar .liste_telechargements .date {
	font-size: 0.8em;
	font-style: italic;
}


#sidebar .message.fermeture_cote {
	font-size: 0.75em;
	margin-top: 5px;
	margin-bottom: 5px;
	font-weight: bold;
	background-color: #F44336;
	color: #FFFFFF;
	padding: 3px;
}

#sidebar .lien_titre_side {
	display: inline-block;
	transition: 0.3s all;
}

#sidebar .lien_titre_side.actu {
	display: flex;
	padding: 0;
	line-height: 37px;
}

#sidebar .lien_titre_side.actu span {
	flex-grow: 1;
}

#sidebar .lien_titre_side.actu img {
	flex-shrink: 1
}

#sidebar img.logo_facebook_actu {
	position:absolute;
	right: 0px;
	top: 0px;
	height: 37px;
}

#sidebar .lien_titre_side:hover {
	background-color: #F44336;
}

#contenu {
	flex-grow: 1;
	background-color: white;
	box-sizing: border-box;
	padding: 50px 10px 10px 10px;
	box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
	position: relative;
}

#contenu > header {
	background-color: #009688;
	position: absolute;
	width: 100%;
	box-sizing: border-box;
	left:0;
	top:0;
	line-height: 2em;
	color: white;
	font-weight: bold;
	text-align: center;
	font-size: 1.5em;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow-x: hidden;
}

#contenu article {
	margin-top: 20px;
	text-align: justify;
}

#contenu .titre {
	font-weight: bold;
}

#contenu img.debut {
	float: left;
	margin: 0px 10px 10px 0px;
}

#contenu .sous_page {
	position: relative;
	padding-top: 30px;
	margin-top: 50px;
}

#contenu .sous_page header {
	background-color: #009688;
	position: absolute;
	width: 100%;
	box-sizing: border-box;
	left:0;
	top:0;
	line-height: 1.7em;
	color: white;
	font-weight: bold;
	text-align: center;
	font-size: 1.3em;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow-x: hidden;
}

#photo_fullscreen {
	display: none;
	position: fixed;
	right: 0px;
	left: 0px;
	top: 0px;
	bottom: 0px;
	background-color: rgba(0, 0, 0, 0.90);
	text-align: center;
	vertical-align: middle;
	z-index: 20000;
}

img.fullscreen_previous {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 20001;
}

img.fullscreen_next {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 20001;
}

img.fullscreen_next:hover,
img.fullscreen_previous:hover {
	cursor: pointer;
}

img.fullscreen_close {
	position: absolute;
	right: 0px;
	top: 0px;
	z-index: 20001;
}


.telechargements li {
	list-style: none;
	margin-left: 10px;
}

.telechargements button {
	margin: 3px;
	margin-right: 10px;
}

img.fullscreen {
	vertical-align: middle;
	width: auto;
	height : auto;
	max-height: 100%;
	max-width: 100%;
}

table.mat {
	margin-top: 15px;
	width: 100%;
	border-spacing: 0px;
	border-collapse: collapse;
	table-layout: fixed;
	white-space: nowrap;
	text-overflow: ellipsis;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24);
	background-color: #f8f8f8;
}

table.mat td, table.mat th {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

table.mat tr.entete {
	line-height: 3em;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

table.mat tr:not(.entete) {
	line-height: 2em;
}

table.mat tr:not(.entete):hover {
	background-color: rgb(77, 182, 172);
	color: white;
}



@media screen and (max-width: 1060px) and (min-width: 830px) {
	nav > ul > li {
		width: 120px;
	}

	nav > ul > li .menu {
		font-size: 0.8em;
	}

	nav > ul > li.deployed {
		width: 150px;
	}
}

@media screen and (max-width: 830px) {
	#logo {
		flex-shrink: 1;
	}

	#logo > img {
		height: 100px;
		margin: 0;
	}

	#slider_logo {
		height: 100px;
	}

	#disciplines {
		display: none;
	}

	nav {
		height: auto;
	}

	nav > .menu_mini {
		display: block;
		background-color: #009688;
		line-height: 3em;
		color: white;
		font-weight: bold;
		box-sizing: border-box;
		padding-left: 10px;
	}

	nav > .menu_mini .hamburger {
		display: inline-block;
		float: right;
		position: relative;
		top: 7px;
		right: 5px;
		width: 32px;
		height: 32px;
		border-radius: 50%;
		background-color: #00796B;
		margin: auto;
	}

	nav > .menu_mini .hamburger span {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translateX(-50%) translateY(-50%);
		display: block;
		width: 16px;
		height: 2px;
		background-color: white;
	}

	nav > .menu_mini .hamburger span::before,
	nav > .menu_mini .hamburger span::after {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		display: block;
		width: 16px;
		height: 2px;
		background-color: white;
		transform: translateY(-5px);
		transition: transform 0.5s;
	}

	nav > .menu_mini .hamburger span::after {
		transform: translateY(5px);
	}

	nav > .menu_mini .hamburger.deployed span::before {
		transform: translateY(-8px);
	}

	nav > .menu_mini .hamburger.deployed span::after {
		transform: translateY(8px);
	}

	nav > ul {
		position: static;
		max-height: 0;
		transition: 0.5s all;
		overflow: hidden;
		transition: 0.5s all;
	}

	nav .barre_sep {
		display: none;
	}

	nav > ul.deployed {
		max-height: 1000px;
		transition: 0.5s all;
	}

	nav > ul > li,
	nav > ul > li#menu-14,
	nav > ul > li.deployed {
		width: 100%;
	}

	nav li .sous_menu .sm_row,
	nav li.deployed .sous_menu .sm_row {
		line-height: 3em;
	}

	#slider {
		height: 100px;
	}

	#slider img {
		height: 100px;
	}

	#data {
		flex-direction: column-reverse;
	}

	#sidebar {
		margin-top: 20px;
	}

	#sidebar article {
		margin-left: 0;
		width: 100%;
	}

	#contenu img.debut {
		display: block;
		float: none;
		margin: 25px 10px 10px 0px;
		margin-left: auto;
		margin-right: auto;
	}

	label {
		width: 90%;
		text-align: center;
	}

	input[type="text"] {
		width: 90%;
		box-sizing: border-box;
	}
}
