/* basics */

html, body {
	margin: 0;
	padding: 0;
	font-family: sans-serif;
}

html {
	background: url(../../mmd/background.jpg) no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-ms-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	text-align: center;
}

h1 {
	color: white;
	font-size: 50px;
	font-variant: small-caps;
	text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);
}

fieldset:not(#dynamic_fieldset) {
	/* dynamic_fieldset est généré en JS */
	display: none;
}

/* formulaire */

.generator {
	text-align: left;
	margin-right: 20%;
	margin-left: 20%;
	outline: none;
	box-shadow: 0 0 20px rgba(0,0,0,.3);
	font: 13px 'Open Sans', Helvetica, sans-serif;
	color: #666666;
}
.generator * {
	padding: 0;
	margin: 0;
}
.generator .entete {
	display: block;
	padding: 20px 30px;
	background: rgba(248,248,248,.9);
	border-bottom: 1px solid rgba(0,0,0,.1);
	font-weight: bold;
	font-weight: 300;
	font-size: 25px;
	color: #232323;
}

@media screen and (max-width: 1310px) {
	.generator .entete {
		font-size: 20px;
	}
}
@media screen and (max-width: 1100px) {
	.generator .entete {
		font-size: 18px;
	}
}
@media screen and (max-width: 1000px) {
	.generator .entete {
		font-size: 14px;
	}
}

.generator fieldset {
	display: block;
	border: none;
	padding: 5%;
	background: rgba(255,255,255,.9);
}
.generator fieldset + fieldset {
	border-top: 1px solid rgba(0,0,0,.1);
}

/* toggles */

.generator .toggle {
	position: relative;
	display: block;
}

.generator .toggle i {
	position: absolute;
	display: block;
	top: 4px;
	right: 0;
	width: 49px;
	height: 17px;
	border-width: 2px;
	border-style: solid;
	border-radius: 12px;
	background: #fff;
	content: '';
}

.generator .toggle {
	margin-bottom: 4px;
	padding-right: 61px;
	font-size: 15px;
	line-height: 27px;
	color: #404040;
	cursor: pointer;
}
.generator .toggle:last-child {
	margin-bottom: 0;
}
.generator .toggle input {
	position: absolute;
	left: -9999px;
}
.generator .toggle i:after {
	content: 'OFF';
	position: absolute;
	top: 2px;
	right: 8px;
	left: 8px;
	font-style: normal;
	font-size: 9px;
	line-height: 13px;
	font-weight: 700;
	text-align: left;
	color: #5f5f5f;
}
.generator .toggle i:before {
	content: '';
	position: absolute;
	z-index: 1;
	top: 4px;
	right: 4px;
	display: block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	opacity: 1;
	transition: right 0.2s;
	-o-transition: right 0.2s;
	-ms-transition: right 0.2s;
	-moz-transition: right 0.2s;
	-webkit-transition: right 0.2s;
}

.generator .toggle i {
	border-color: #e5e5e5;
	transition: border-color 0.3s;
	-o-transition: border-color 0.3s;
	-ms-transition: border-color 0.3s;
	-moz-transition: border-color 0.3s;
	-webkit-transition: border-color 0.3s;
}
.generator .toggle i:before {
	background-color: #2da5da;
}
.generator .toggle input:checked + i:after {
	content: 'ON';
	text-align: right;
}
.generator .toggle input:checked + i:before {
	right: 36px;
}
.generator .toggle.state-disabled {
	cursor: default;
	opacity: 0.5;
}
.generator .toggle.state-disabled:hover i {
	border-color: #e5e5e5;
}

.generator .toggle input:checked + i {
	border-color: #2da5da;
}
.generator .toggle:hover i {
	border-color: #8dc9e5;
}
.generator .toggle input:focus + i {
	border-color: #2da5da;
}

/* système de groupement */

.generator .row {
	margin: 0 -15px;
}
.generator .row:after {
	content: '';
	display: table;
	clear: both;
}
.generator .col {
	float: left;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
.generator .col-1 {
	width: 8.33%;
}
.generator .col-2 {
	width: 16.66%;
}
.generator .col-3 {
	width: 25%;
}
.generator .col-4 {
	width: 33.33%;
}
.generator .col-5 {
	width: 41.66%;
}
.generator .col-6 {
	width: 50%;
}
.generator .col-8 {
	width: 66.67%;
}
.generator .col-9 {
	width: 75%;
}
.generator .col-10 {
	width: 83.33%;
}
@media screen and (max-width: 600px) {
	.generator .col {
		float: none;
		width: 100%;
	}
}

/* bouttons de slideToggle */

.toggle_img {
	-webkit-transition: .2s;
	-moz-transition: .2s;
	-ms-transition: .2s;
	-o-transition: .2s;
	transition: .2s;
	float: right;
	width: 35px;
}

.toggle_img:hover {
	-webkit-transition: .2s;
	-moz-transition: .2s;
	-ms-transition: .2s;
	-o-transition: .2s;
	transition: .2s;
	cursor: pointer;
	opacity: 0.4;
}

/* boutton de génération */

.myButton {
	margin: 40px;
	color:#000000;
	padding:7px 25px;
	display: inline-block;
	-webkit-box-shadow: 3px 4px 0px 0px #899599;
	-moz-box-shadow: 3px 4px 0px 0px #899599;
	-ms-box-shadow: 3px 4px 0px 0px #899599;
	-o-box-shadow: 3px 4px 0px 0px #899599;
	box-shadow: 3px 4px 0px 0px #899599;
	background:-webkit-linear-gradient(top, #ededed 5%, #bab1ba 100%);
	background:-moz-linear-gradient(top, #ededed 5%, #bab1ba 100%);
	background:-ms-linear-gradient(top, #ededed 5%, #bab1ba 100%);
	background:-o-linear-gradient(top, #ededed 5%, #bab1ba 100%);
	background:linear-gradient(to bottom, #ededed 5%, #bab1ba 100%);
	background-color:#ededed;
	border:1px solid #d6bcd6;
	-webkit-border-radius:15px;
	-moz-border-radius:15px;
	-ms-border-radius:15px;
	-o-border-radius:15px;
	border-radius:15px;
	text-decoration:none;
	font-family:Arial;
	font-weight:bold;
	font-size:17px;
	text-shadow:0px 1px 0px #e1e2ed;
}
.myButton:hover {
	background:-webkit-linear-gradient(top, #bab1ba 5%, #ededed 100%);
	background:-moz-linear-gradient(top, #bab1ba 5%, #ededed 100%);
	background:-ms-linear-gradient(top, #bab1ba 5%, #ededed 100%);
	background:-o-linear-gradient(top, #bab1ba 5%, #ededed 100%);
	background:linear-gradient(to bottom, #bab1ba 5%, #ededed 100%);
	background-color:#bab1ba;
	cursor:pointer;
}
.myButton:active {
	position:relative;
	top:1px;
}