
/*BOUTON SWITCH TYPE IPHONE*/
.custom-checkbox {display: inline-block; position: relative; user-select: none; transform: translateY(3px); float: left; margin: 15px 20px 0px 20px;}
.custom-checkbox input {position: absolute; z-index: 1; top: auto; height: 1px; width: 1px; overflow: hidden; opacity:0;}
.custom-checkbox input + label {margin-left: 50px; cursor: pointer;text-transform: uppercase; color: #222; font-size:14px;}/*texte label*/
.custom-checkbox label{margin-top:1px;}
/*fond toggle*/
.custom-checkbox input + label::before {content: ''; position: absolute; z-index: 2; top: 0; left: 0; background-color: #BBB; display: inline-block; height: 20px; width: 40px; border-radius: 10px; transition: background-color 0.3s ease 0s;}
/*bouton toggle*/
.custom-checkbox input + label::after {content: '';position: absolute;z-index: 3;top: 2px;left: 2px;height: 16px;width: 16px;background-color: #fff;border-radius: 10px;transition: transform 0.2s ease 0s;}
.custom-checkbox input:checked + label::before {background-color: #98135d;}
.custom-checkbox input:checked + label::after {transform: translateX(20px);}/*mouvement*/


*,
*:after,
*::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.ac-custom {
	padding: 0 40px;
	max-width: 900px;
	margin: 0 auto;
}

.ac-custom h2 {
	font-size: 3em;
	font-weight: 300;
	padding: 0 0 0.5em;
	margin: 0 0 30px;
}

.ac-custom ul,
.ac-custom ol {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	max-width: 800px;
}

.ac-custom li {
	margin: 0 auto;
	padding: 7px 0;
	position: relative;
}

.ac-custom label {
	user-select: none;
	display: inline-block;
	position: relative;
	font-size: 1.2em;
	padding: 0 0 0 40px;
	vertical-align: top;
	color: rgba(0,0,0,0.3);
	cursor: pointer;
	-webkit-transition: color 0.3s;
	transition: color 0.3s;
}

.ac-custom input[type="checkbox"],
.ac-custom input[type="radio"],
.ac-custom label::before {
	width: 30px;
	height: 30px;
	top: 50%;
	left: 0;
	margin-top: -15px;
	position: absolute;
	cursor: pointer;
}

.ac-custom input[type="checkbox"],
.ac-custom input[type="radio"] {
	opacity: 0;
	-webkit-appearance: none;
	display: inline-block;
	vertical-align: middle;
	z-index: 100;
}

.ac-custom label::before {
	content: '';
	border: 2px solid #fff;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.ac-radio label::before {
	border-radius: 50%;
}

.ac-custom input[type="checkbox"]:checked + label,
.ac-custom input[type="radio"]:checked + label {
	color: #fff;
} 

.ac-custom input[type="checkbox"]:checked + label::before,
.ac-custom input[type="radio"]:checked + label::before {
	opacity: 0.8;
}

/* General SVG and path styles */

.ac-custom svg {
	position: absolute;
	width: 23px;
	height: 23px;
	top: 50%;
	margin-top: -12px;
	left: 4px;
	pointer-events: none;
}

.ac-custom svg path {
	stroke: #fdfcd3;
	stroke-width: 13px;
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
}

/* Specific input, SVG and path styles */

/* Circle */
.ac-circle input[type="checkbox"],
.ac-circle input[type="radio"],
.ac-circle label::before {
	width: 30px;
	height: 30px;
	margin-top: -15px;
	left: 10px;
	position: absolute;
}

.ac-circle label::before {
	background-color: #fff;
	border: none;
}

.ac-circle svg {
	width: 70px;
	height: 70px;
	margin-top: -35px;
	left: -10px;
}

.ac-circle svg path {
	stroke-width: 5px;
} 

/* Box Fill */
.ac-boxfill svg path {
	stroke-width: 8px;
} 

/* Swirl */
.ac-swirl svg path {
	stroke-width: 8px;
}

/* List */
.ac-list ol {
	list-style: decimal;
	list-style-position: inside;
}

.ac-list ol li {
	font-size: 2em;
	padding: 1em 1em 0 2em;
	text-indent: -40px;
}

.ac-list ol li label {
	font-size: 1em;
	text-indent: 0;
	padding-left: 30px;
}

.ac-list label::before {
	display: none;
}

.ac-list svg {
	width: 100%;
	height: 80px;
	left: 0;
	top: 1.2em;
	margin-top: 0px;
}

.ac-list svg path {
	stroke-width: 4px;
}

