@font-face {
  font-family: 'interstate-bold';
  src: url('/fonts/Interstate-Bold.ttf');
}

@font-face {
  font-family: 'interstate-light';
  src: url('/fonts/Interstate-Light.ttf');
}

@font-face {
  font-family: 'interstate-regular';
  src: url('/fonts/Interstate-Regular.ttf');
}


html, body{
	margin: 0;
	padding: 0;
	background-color: #DE7F63;
}

* { outline: none; box-sizing: border-box; font-family: interstate-regular; }

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }

/* Formulaire */
#leonaForm{
	position: relative;

	width: 640px;
	height: 1107px;
	margin: auto;

	background-repeat: no-repeat;
	background-position: top left;
	background-image: url(../images/bg-formulaire-v5.jpg);
}

/* Labels */
#leonaForm .form-label
{
	position: absolute;
    width: 387px;
    height: 34px;
    right: 127px;
}

#leonaForm .form-label#labelNom 		{ top: 379px; }
#leonaForm .form-label#labelPrenom		{ top: 452px; }
#leonaForm .form-label#labelTelephone	{ top: 525px; right: 128px; }
#leonaForm .form-label#labelEmail		{ top: 598px; right: 128px; }

/* Fields */
#leonaForm .form-field{
	border: none;
	position: absolute;
	top: 0;
	right: 0;
    width: 220px;
    height: 34px;
	transition-duration: 200ms;
	background: transparent;
	padding: 0 10px;
}

#leonaForm .form-field:focus
{
	background: rgba(222, 127, 99, 0.2);
}

/* Checkboxes */
#leonaForm .label-checkbox
{
	display: inline-block;
	width: 14px;
    height: 14px;
	position: absolute;
	left: 106px;
	transition-duration: 200ms;
	border: solid 2px #000;
}

#leonaForm .field-checkbox:checked + .label-checkbox { background-color: #de7f63; }

#leonaForm .label-checkbox#cbAccepte	{ top: 691px; }
#leonaForm .label-checkbox#cbCertifie	{ top: 758px; }

#leonaForm .field-checkbox
{
	position: absolute;
	width: 14px;
    height: 14px;
	left: 106px;
    margin: 0;
    padding: 0;
    border: none;
	opacity: 0;
}

#leonaForm .field-checkbox#field-cbAccepte	{ top: 691px; }
#leonaForm .field-checkbox#field-cbCertifie	{ top: 758px; }

/* Checkboxes */
#leonaForm .btn, #contenu a.btn
{
    background: transparent;
    border: none;
	cursor: pointer;
	border-radius: 18px;
	border: solid 3px transparent;
	transition-duration: 200ms;
}

#leonaForm .btn { position: absolute; top: 826px; left: 201px; width: 218px; height: 63px; }
#contenu a.btn { 
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	background: rgba(255,255,255,0.5);
	font-family: interface-bold;
	color: #000;
	text-decoration: none;
	font-size: 40px;
	text-transform: uppercase;
}

#leonaForm .btn:hover, #contenu a.btn:hover
{
	border-color: #de7f63;
}

/* Liens */
#leonaForm .link
{
	position: absolute;
	display: inline-block;
	overflow: hidden;
}

#leonaForm .link:after
{
	content: '';
	display: block;
	position: absolute;
	width: 100%;
	height: 2px;
	background-color: #d57737;
	bottom: 0;
	left: -100%;
	transition: 200ms;
}

#leonaForm .link:hover:after
{
	left: 0;
}

#leonaForm .link#link-reglement
{
    width: 19px;
    height: 20px;
    top: 711px;
    left: 458px;
}

/*	Erreurs */
#leonaForm .form-target.error,
#leonaForm .field-checkbox.error + .label-checkbox
{
	border: solid 2px #f00;
}


a.instagram {
	font-size: 40px;
    position: absolute;
    top: 936px;
	left: 50%;
    transform: translateX(-50%);
    color: #000;
	display: flex;
    justify-content: center;
	align-items: center;
    text-decoration: none;
	overflow: hidden;
}
a.instagram span { font-size: 26px; margin-right: 10px; position: relative; font-family: interstate-bold; }
a.instagram span:before {
	content: '';
    background: #000;
    display: block;
    height: 3px;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 300ms;
    width: 0px;
}
a.instagram:hover span:before { width: 100%; }



/* Alerte */
#alert-container { display: none; opacity: 0; transition: opacity 300ms; }

#alert-container.show
{
	position: fixed;
	display: flex;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.6);
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

#alert
{
	padding: 20px;
	background: #fff;
    width: 50%;
    min-width: 300px;
	border-width: 5px;
	border-style: solid;
}

#alert.alert-ok{ border-color: #009900; }
#alert.alert-ko { border-color: #f00; }
#alert-content {}
#alert-content p { margin-top: 0; }
#alert-content ul { margin: 0; padding: 0; list-style: none; }
#alert-content ul li { position: relative; display: flex; align-items: center; }
#alert-content ul li:before { 
	content: '';
    background: #DE7F63;
    width: 8px;
    height: 8px;
    display: inline-block;
    margin-right: 8px;
    border-radius: 10px;
}
#alert button {
	margin: 20px auto 0;
    display: block;
    background: none;
    padding: 10px 20px;
    border: solid 3px #DE7F63;
    border-radius: 10px;
	position: relative;
}
#alert button span{
	color: #000;
	position: relative;
	z-index: 2;
	transition-duration: 300ms;
}
#alert button:before {
	content: '';
    background: #DE7F63;
    width: 0;
    height: 100%;
    display: block;
    top: 0;
    left: 0;
    position: absolute;
    transition-duration: 300ms;
	z-index: 1;
}
#alert button:hover span { color: #fff; }
#alert button:hover:before { width: 100%; }



/* Contenu HTML */
#contenu { width: 100%; max-width: 800px; margin: 20px auto 0; }
#contenu header { margin-bottom: 50px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
#contenu header a { max-width: 25%; }
#contenu header a + a { max-width: 50%; }
#contenu header a img { max-width: 100%; height: auto; }
#contenu main { background: rgba(255,255,255,0.6); padding: 20px; }
#contenu main p { margin-top: 0; }
#contenu main p:last-child { margin-bottom: 0; }

#emplacementRecaptcha { position: fixed; bottom: 0; right: 0; }

