* {
  box-sizing: border-box;
}

body {
	font-family: "Arial", sans-serif;
	color: #666;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

a {
	color: #ff9800;
	text-decoration: none;
  	outline: none;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	-ms-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

a:hover {
	color: #0099eb;
}

.logoADS {
	float: left;
	margin-top: 18px;
	margin-left: 30px;
	margin-bottom: 39px;
}

h1 {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
	text-shadow: 2px 2px 3px #999;
	color: #0099eb;
	font-size: 2em;
	position: relative;
	top: 23px;
	left: calc((100vw - 935px)/2);
	float: left;
	margin: 0;
	text-align: center;
}

.logoFDS {
	float: right;
	margin-top: 18px;
	margin-right: 30px;
	margin-bottom: 39px;
}

.intro p:nth-of-type(2) {
	margin-bottom: 50px;
}

.intro p:nth-of-type(3) {
	margin-top: 50px;
}

h2 {
	color: #66cc00;
}

.intro, .first-section, .second-section, .action1, .action2, .action3, .action4, .action5, .action6, .action7, .action8 {
	text-align: center;
	float: left;
	width: calc(100vw - 16px);
}

.intro, .action1 {
	display: block;
}

.intro div:first-child {
	margin-bottom: 30px;
	font-size: 1.2em;
}

.logos_partenaires img {
	margin-bottom: 10px;
}

.logos_partenaires img:not(:first-child) {
	margin-left: 100px;
}

.first-section, .second-section, .action2, .action3, .action4, .action5, .action6, .action7, .action8 {
	display: none;
}

.first-section div, .second-section div, .action1 div, .action2 div, .action3 div, .action4 div, .action5 div, .action6 div, .action7 div, .action8 div {
	padding-bottom: 50px;
}

.question {
	font-weight: bold;
	margin-top: 0;
}

.help-button {
	margin-left: 15px;
	position: relative;
	top: 3px;
	cursor: pointer;
}

.question sup {
	color: #ff0000;
}

.dateVill, .date {
	display: none;
}

.dateVill p:first-of-type {
	font-weight: bold;
}

.dateVill p img {
	margin-left: 15px;
	position: relative;
	top: 3px;
}

.dateVill label {
	margin-right: 5px;
}

.dateVill table, .date table {
	margin-left: auto;
	margin-right: auto;
	border-spacing: 15px;
}

.lineConf {
	display: none;
}

.hide_hour, .hide_date {
	display: none;
}

.lineConf div {
	padding-bottom: 0;
}

.disable_link {
	pointer-events: none;
  	cursor: default;
	color: #666666;
}

.hide_link {
	visibility: hidden;
}
.reservation {
	display: none;
}

.desc_aide {
	display: none;
	padding-bottom: 0!important;
}

.desc_aide p:last-child {
	margin-bottom: 0;
}

.desc_aide ul {
	text-align: left;
	width: 300px;
	margin-left: auto;
	margin-right: auto;
}

.second-section p {
	width: 70%;
	margin-left: 15%;
}

.nb_actions label {
	margin-right: 10px;
}

input[type='button'], input[type='submit'], .close {
	-webkit-appearance: button;
	cursor: pointer;
	padding: 6px 10px;
	border: 1px solid #d2d2d2;
	border-radius: 3px;
	font-size: 14px;
	font-weight: normal;
	color: #7c7c7c;
	background-color: #e6e6e6;
    background-image: -moz-linear-gradient(top,#f4f4f4,#e6e6e6);
    background-image: -ms-linear-gradient(top,#f4f4f4,#e6e6e6);
    background-image: -webkit-linear-gradient(top,#f4f4f4,#e6e6e6);
    background-image: -o-linear-gradient(top,#f4f4f4,#e6e6e6);
    background-image: linear-gradient(top,#f4f4f4,#e6e6e6);
	background-repeat: repeat-x;
	box-shadow: 0 1px 2px rgba(64,64,64,0.1);
	text-align: center;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	-ms-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

input[type='button']:disabled, input[type='submit']:disabled, input[type='button']:disabled:hover, input[type='submit']:disabled:hover {
	-webkit-appearance: button;
	cursor: default;
	padding: 6px 10px;
	border: 1px solid #d2d2d2;
	border-radius: 3px;
	font-size: 14px;
	font-weight: normal;
	color: #7c7c7c;
	background-color: #c6c6c6;
    background-image: -moz-linear-gradient(top,#d4d4d4,#c6c6c6);
    background-image: -ms-linear-gradient(top,#d4d4d4,#c6c6c6);
    background-image: -webkit-linear-gradient(top,#d4d4d4,#c6c6c6);
    background-image: -o-linear-gradient(top,#d4d4d4,#c6c6c6);
    background-image: linear-gradient(top,#d4d4d4,#c6c6c6);
	background-repeat: repeat-x;
	box-shadow: 0 1px 2px rgba(64,64,64,0.1);
	text-align: center;
}

@media (hover: hover) and (pointer: fine) {
	input[type='button']:hover, input[type='submit']:hover, .close:hover {
		border: 1px solid #0099eb;
		color:#5e5e5e;
		background-color:#ebebeb;
	    background-image:-webkit-linear-gradient(#f9f9f9, #ebebeb);
	    background-image:-o-linear-gradient(#f9f9f9, #ebebeb);
	    background-image:linear-gradient(#f9f9f9, #ebebeb);
	    background-repeat:repeat-x;
    }
}

input[type='checkbox'] {
    /*border: 0px;*/
    width: 20px;
    height: 1.5em;
	vertical-align: top;
	-webkit-appearance: none;
	background-color: #e6e6e6;
	border: 1px solid #d2d2d2;
	box-shadow: 0 1px 2px rgba(64,64,64,0.1), inset 0px -15px 10px -12px rgba(64,64,64,0.1);
	padding: 9px;
	border-radius: 3px;
	display: inline-block;
	position: relative;
	margin-top: 0;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	-ms-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
	input[type='checkbox']:hover {
		border: 1px solid #0099eb;
		color:#5e5e5e;
		background-color:#ebebeb;
	}
}

input[type='checkbox']:active, input[type='checkbox']:checked:active {
	box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);
}

input[type='checkbox']:checked {
	background-color: #e9ecee;
	border: 1px solid #adb8c0;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1);
	color: #7c7c7c;
}

@media (hover: hover) and (pointer: fine) {
	input[type='checkbox']:checked:hover {
		border: 1px solid #0099eb;
		color:#5e5e5e;
		background-color:#ebebeb;
	}
}

input[type='checkbox']:checked:after {
	content: '\2714';
	font-size: 14px;
	position: absolute;
	top: 0px;
	left: 3px;
	color: #7c7c7c;
}

input[type='radio'] {
 	-webkit-appearance: none;
  	width: 12px;
  	height: 12px;
  	outline: none;
	vertical-align: top;
	background-color: #e6e6e6;
	border: 1px solid #d2d2d2;
	box-shadow: 0 1px 2px rgba(64,64,64,0.1), inset 0px -15px 10px -12px rgba(64,64,64,0.1);
	border-radius: 50px;
	display: inline-block;
	position: relative;
	padding: 6px;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	-ms-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

input[type='radio']:checked {
	background-color: #e9ecee;
	color: #7c7c7c;
	border: 1px solid #7c7c7c;
	box-shadow: 0 1px 2px rgba(0,0,0,0.1), inset 0px -15px 10px -12px rgba(0,0,0,0.1), inset 0px 15px 10px -12px rgba(255,255,255,0.2), inset 0px 0px 10px rgba(0,0,0,0.2);
}

@media (hover: hover) and (pointer: fine) {
	input[type='radio']:hover {
  		border: 1px solid #0099eb;
	}
	
	input[type='radio']:disabled:hover {
		border: 1px solid #c6c6c6;
	}
}

input[type='radio']:checked:after {
  	content: ' ';
	width: 65%;
	height: 65%;
	border-radius: 50px;
	position: absolute;
	top: 2px;
	background: #0099eb;
	box-shadow: inset 0px 0px 10px rgba(0,0,0,0.3);
	text-shadow: 0px;
	left: 2px;
	font-size: 32px;
}

input[type='radio']:disabled:checked:after {
	background: #7c7c7c;
}

@media (hover: hover) and (pointer: fine) {
	input[type='radio']:checked:hover {
  		border: 1px solid #0099eb;
	}
}

input[type="text"], input[type="email"], textarea, select {
	border: 1px solid #e5e5e5;
    padding: 5px 8px;
    color: #666;
    font-size: 14px;
    background: #fff;
    outline: none;
	border-radius: 3px;
	margin-top: 10px;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	-ms-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

input[type="text"], input[type="email"] {
	text-align: center;
}

textarea {
	resize: none;
}

.date textarea {
	overflow-y: scroll;
    height: 60px;
}

.confHour {
	margin-top: 0!important;
	margin-bottom: 10px;
}

select {
	background: url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat;
    background-position: calc(100% - 0.75rem) center;
	background-color: #fff;
    -moz-appearance:none;
    -webkit-appearance: none; 
    appearance: none;
    padding-right: 2rem;
}

select:disabled, input:disabled, textarea:disabled {
	background-color: #c6c6c6;
}

input[type="text"]:focus, input[type="email"]:focus, textarea:focus, select:focus {
	border-color: #0099eb;
    color: #324545;
}

.button {
	position: relative;
	bottom: 0;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	-ms-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

#button-intro {
	margin-bottom: 30px;
}

.commune, .lieu {
	display: none;
}

.modal-overlay-commune, .modal-overlay-calendar, .modal-help-overlay {
  	display: none;
  	background: rgba(0, 0, 0, 0.5);
  	position: fixed;
  	top: 0;
  	left: 0;
  	width: 100%;
  	height: 100%;
}

.modal-commune, .modal-calendar {
  	display: none;
  	position: relative;
  	width: 800px;
  	height: 640px;
  	max-height: 90%;
  	max-width: 90%;
  	min-height: 380px;
  	margin: 0 auto;
  	background: white;
  	top: 50%;
  	transform: translateY(-50%);
  	padding: 30px 10px;
	border: 5px solid #0099eb;
}

.modal-commune {
	height: 640px;
}

.modal-calendar {
	height: 680px;
}

.modal-help {
  	display: none;
  	position: relative;
  	width: 400px;
  	height: 320px;
  	max-height: 90%;
  	max-width: 90%;
  	min-height: 320px;
  	margin: 0 auto;
  	background: white;
  	top: 50%;
  	transform: translateY(-50%);
  	padding: 20px 30px 30px 30px;
  	border: 5px solid #0099eb;
}

.title-help {
	font-size: 24px;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 20px;
	text-align: center;
}

.close {
	position: absolute;
	left: 169px;
	top: 260px;
}

#svg1, #svg2, #svg3, #svg4, #svg5, #svg6, #svg7, #svg8 {
	display: none;
}

polygon:focus, path:not(#path5262):not(#frontiere):focus {
	outline: none;
}

polygon:hover, path:not(#path5262):not(#frontiere):hover {
	cursor: pointer;
}

#calendar1, #calendar2,#calendar3, #calendar4, #calendar5, #calendar6, #calendar7, #calendar8 {
	display: none;
}

.line-dateVill3, .lineConf3 {
	display: none!important;
}

@media only screen and (max-width: 1024px) {
	.intro > div > p:first-child, .intro > div > p:nth-child(2) {
		width: 700px;
		margin: 20px auto;
	}
}
/* end 1024 */
@media only screen and (max-width: 992px) {
	h1 {
		width: 250px;
		left: calc((100vw - 710px)/2);
	}
	
	.first-section p {
		width: 70%;
		margin: 20px auto;
	}
}
/* end 992 */
@media only screen and (max-width: 860px) {
	.intro > div > p:last-child {
		width: 700px;
		margin: 20px auto;
	}
	
	.logos_partenaires img:not(:first-child) {
		margin-left: 70px;
	}
	
	.logoADS img {
		width: 150px;
	}
	
	.logoFDS img {
		width: 150px;
		height: 60px;
	}
	
	h1 {
		left: calc((100vw - 610px)/2);
	}
	
	.type_action {
		width: 400px;
		margin: 0 auto;
	}
	
	.type_action input:first-of-type {
		margin-bottom: 10px;
	}
}
/* end 860 */
@media only screen and (max-width: 720px) {
	.intro  div p {
		width: 600px!important;
	}
}
/* end 720 */
@media only screen and (max-width: 700px) {
	.logoADS {
		margin-left: 10px;
	}
	
	.logoFDS {
		margin-right: 10px;
	}
	
	h1 {
		font-size: 1.5em;
		width: 200px;
		left: calc((100vw - 520px)/2);
	}
	
	.intro div:first-child {
		font-size: 1em;
	}
	
	.logos_partenaires img:not(:first-child) {
		margin-left: 50px;
	}
}
/* end 700 */
@media only screen and (max-width: 640px) {
	.intro  div p {
		width: 500px!important;
	}
	
	.type_public {
		width: 300px;
		margin: 0 auto;
	}
	
	.type_public input:first-of-type {
		margin-bottom: 10px;
	}
}
/* end 640 */
@media only screen and (max-width: 600px) {
	.logoADS img {
		width: 100px;
	}
	
	.logoFDS img {
		width: 100px;
		height: 40px;
	}
	
	h1 {
		left: calc((100vw - 420px)/2);
	}
	
	.logos_partenaires img:not(:first-child) {
		margin-left: 30px;
	}
}
/* end 600 */
@media only screen and (max-width: 540px) {
	.intro  div p {
		width: 400px!important;
	}
	
	.logos_partenaires {
		width: 300px;
		margin: 0 auto;
	}
	
	.logos_partenaires img:nth-child(4) {
		margin-left: 0;
	}
}
/* end 540 */
@media only screen and (max-width: 480px) {
	h1 {
		top: 0;
		left: 20px;
		width: calc(100vw - 60px);
	}
	
	.projet {
		position: relative;
		top: 10px;
	}
	
	.logoADS {
		margin-left: 50px;
	}
	
	.logoFDS {
		margin-right: 50px;
		margin-top: -98px;
	}
	
	input[type="text"], input[type="email"], textarea {
		width: 90%;
	}
	
	h3 {
		width: 250px;
		margin: 20px auto;
	}
}
/* end 480 */
@media only screen and (max-width: 440px) {
	.intro div p {
		width: 350px!important;
	}
	
	.type_action {
		width: 250px;
		margin: 0 auto;
	}
	
	.type_action label:nth-of-type(2) {
		margin-right: 8px;
	}
	
	.type_action label:nth-of-type(4) {
		margin-right: 39px;
	}
	
	.type_action label:nth-of-type(6) {
		margin-right: 28px;
	}
	
	.type_action label:nth-of-type(8) {
		margin-right: 22px;
	}
	
	.type_action input:nth-of-type(3), .type_action input:nth-of-type(5) {
		margin-bottom: 10px;
	}
}
/* end 440 */
@media only screen and (max-width: 400px) {
	.logoFDS {
		margin-top: -125px;
	}
	
	.nb_actions {
		width: 200px;
		margin: 0 auto;
	}
	
	.nb_actions input {
		margin-bottom: 10px;
	}
}
/* end 400 */
@media only screen and (max-width: 360px) {
	.intro div p {
		width: 320px!important;
	}
}
/* end 360 */
@media only screen and (max-width: 320px) {
	.logoADS {
		margin-left: 30px;
	}
	
	.logoFDS {
		margin-right: 30px;
	}
	
	.intro div p {
		width: 300px!important;
	}
}
/* end 320 */