<style>

html{
	height:100%;
	width:100%;
}

body {
	width:70%;
	min-height:100%;
	margin:auto;
	padding:5px;
	background-color: #efefef;
	color: black;
}

* {
	box-sizing:border-box;
	-ms-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	font-family: sans-serif;
	font-size: 16px;
	border-radius: 6px;
}

.flex-container {
	display: flex;
	flex-direction: row;
	align-items: center;
	text-align:left;
}

.logo {
	flex: 120px;
}

.logo img {
	width: 120px;
}

#libvf {
	font-size: 22px;
	padding-left: 10px;
	line-height: 35px;
	color: #8e2158;
}

.menu {
	text-align: left;
	width: 100%;
	line-height: 35px;
	padding: 0;
	background: #efefef;
	border: 2px solid #8e2158;
	border-radius: 10px;
}

.menu a {
	float: left;
	text-align: center;
	font-size: 22px;
	padding: 0px 18px 0px 10px;
	text-decoration: none;
	border: 0;
	color: #8e2158;
}

.menu a:hover {
	opacity:0.3;
}

#titre {
	line-height: 30px;
	font-size: 20px;
	color: #8e2158;
}

#stats {
	line-height: 30px;
	font-size: 20px;
	color: #8e2158;
	text-decoration:none;
	cursor:default;
}

.titre2 {
	width:100%;
	color: #8e2158;
}

.imgtitl {
	width: 30px;
	float: left;
	margin-left: 10px;
}

.imgtitr {
	width: 30px;
	float: right;
	margin-right: 10px;
}

.liens {
	text-align: left;
}

.liens a {
	float: left;
	text-align: center;
	padding: 0px 8px 0px 0px;
}

.liens a:hover{
	opacity:0.6;
}

.liens img {
	width: 20px;
	vertical-align: middle;
}

input[type=button], input[type=submit], input[type=reset] {
	background-color: #efefef;
	border: 2px solid #8e2158;
	border-radius: 6px;
	line-height: 25px;
	text-align:center;
	text-decoration: none;
	cursor: pointer;
}

input[type=submit]:hover {
	opacity:0.6;
}

.libmois {
	color: #8e2158;
	padding-left: 5px;
	width: 100%;
	line-height: 25px;
	border: 1px solid #8e2158;
	border-radius: 25px;
	background: white;
}

.libprof{
	color: #8e2158;
	font-weight: normal;
	margin-left: 8px;
	font-size : 16px;
}

input[type=radio] {
	width:18px;
	transform:scale(1.5);40px;
	cursor: pointer;
}

input[type=text] {
	width:100%;
}

select {
	cursor:pointer;
	background: white;
	height: 30px;
	width: 100%;
}

select option, optgroup{
	font-size : 14px;
}

#index {
	width:300px;
	margin: auto;
}

.formuls {
	margin:0 auto;
	width:90%;
}

.colformg{
	float:left;
	width:49%;
}

.colformd{
	float:right;
	width:49%;
}

.collistd{
	float:right;
	width:49%;
}

.colformg label, input{
	width:98%;
	line-height:25px;
}

.colformd label, input{
	width:98%;
	line-height:25px;
}

.collistd label, input{
	width:98%;
	line-height:25px;
}

.btn {
	margin-top: 5px;
	width: 140px;
	color: #8e2158;
}

.lgsep {
	width: 100%;
	background: #8e2158;
	border: 1px solid #8e2158;
	line-height: 1px;
}

.even {
	clear:both;
	margin-bottom: 15px;
	width: 100%;
}

.copyr {
	text-align: center;
	color: #8e2158;
}
			
/* marquer les événement déjà planifié dans le datepicker*/
td.specialDay, table.ui-datepicker-calendar tbody td.specialDay a { 
	background: none;
	background-color: #FF5E4D;
	font-weight: bold;
	color: white;
	border:1px solid white;
}

/* pour dimensionner le datepicker*/
.ui-datepicker {
	width: 320px;
	height: 278px;
}

/* pour centrer le datepicker*/
#ui-datepicker-div{
	border: 2px solid #8e2158;
	position: fixed !important;
	top: 50% !important;
	left: 50% !important;
	transform           : translateX(-50%) translateY(-54%) !important;
}

.ui-datepicker .ui-widget .ui-widget-content .ui-corner-all #ui-datepicker-div{
    z-index: 100000 !important;
}

/* pour l'affichage du calendrier sur 2 colonnes */
	#calgrid {
		display: grid;
		width: 90%;
		margin:0 auto;
		grid-template-columns: 49% 49%;
		align-items: start;
		justify-content: space-between;
	}
	
	#calgrid :first-child {
		align-self: center;
	}
	
	#calgrid p {
		grid-column: 1 / span 2;
	}
		
	#nbcarrest {
		font-size:85%;
	}

/* pour l'information contact */
.modal {
	display:none;
	position:fixed;
	z-index:10;
	left:0;
	top:0;
	width:100%;
	height:100%;
	overflow:auto;
}

.modal-content {
	background-color:#fefefe;
	position:relative;
	padding:10px;
	border:2px solid #8e2158;
	width:500px;
	top:50%;
	left:50%;
	transform:translateX(-50%) translateY(-50%);
}

#bclose {
	color:black;
	float:right;
	font-size:28px;
	font-weight:bold;
	cursor:pointer;
	margin-top:20px;
	margin-right:10px;
}

@media (max-device-width:500px) and (orientation: landscape) {
	html {
		-webkit-text-size-adjust: 100%;
		-ms-text-size-adjust: 100%;
	}
}

@media screen and (max-width: 1000px) {
	body {
		width: 90%;
	}
}

@media screen and (max-width: 500px) {
	body {
		width: 100%;
	}
	.flex-container {
		flex-direction: column;
		text-align: center;
		width: 100%;
	}
	.menu{
		width: 250px;
		padding: 0px;
		text-align:left;
		border: 0;
		background: #f0f0f0;
	}
	.menu a {
		width: 100%;
		margin-top: 10px;
		border: 1px solid #8e2158;
		border-radius: 25px;
		color: #8e2158;
		background: #efefef;
	}
	.colformg, .colformd, .collistd , .formuls, input{
		width:100%;
		margin:auto;
	}
	#libvf {
		width:100%;
		padding-left: 0;
	}
	#index {
		width:60%;
	}
	.ui-datepicker {
		width: 98%;
		height: 278px;
	}
	.collistd{
		width: 100%;
		float:left;
		margin-top: -50px;
	}
	.collistd2{
		width: 100%;
		float:left;
		margin-top: -10px;
	}
	#calgrid {
		grid-template-columns: 100%;
		text-align: left;
		width: 100%;
	}
	#calgrid p {
		grid-column: 1 / span 1;
	}
	.modal {
		width: 100%;
	}
	.modal-content {
		width: 98%;
	}

}
</style>