:root {
	--padd		: 2.5vw;
	--padd2d	: calc(var(--padd) / 2);
	--padd3d	: calc(var(--padd) / 3);
	--padd2m	: calc(var(--padd) * 2);
	--padd3m	: calc(var(--padd) * 3);

	--nav	: 4vw;
	--form	: 27.5vw;
}

/* ------------------------------------------ */


body, html {
	margin: 0;
}


/* ---------------    @FORM   --------------- */


#formulaire {
	width: 21vw;
	padding: var(--padd2d) var(--padd);
	color: #ffffff;
	position: fixed; top: 0; right: 0;
	text-align: center;
	background-color: #01494E;
	/* box-shadow: 2.5px 2.5px 10px #707070; */
	z-index: 20;
	overflow-y: scroll;
	height: 100%;
}

#projet {
	margin: 1vw 0 1.5vw !important;
}

#projet .markus_radio label {
	width: 7vw;
    height: max(2.5vw, 40px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #01494E;
    border: 2px solid white;
    border-radius: 50px;
    transition: all 0.3s ease;
    padding: 5px max(0.5vw, 10px);
    line-height: 1vw;
	font-size: 0.8vw;
	font-family: 'Gotham-Bold';
}

#formulaire #projet .markus_radio input:checked+label {
	background-color: #ffffff;
	color: #01494E;
	width: 7vw;
	height: max(2.5vw, 40px);
}

.form-group.projet .control-label { display:block; color:#000; text-align:center; font-weight:bold; }

#projet .control {
	display: flex;
    justify-content: center;
    gap: 1vw;
}

#projet p {
	margin-bottom: -0.5vw;
    font-size: 0.9vw;
    text-align: left;
    padding-left: 1.5vw;
	font-family: 'Gotham-Bold';
}

.markus_radio {
	grid-gap: 0 !important;
}

#formulaire h2 {
	margin: auto;
	/* padding-bottom: var(--padd3d); margin-bottom: var(--padd3d); */
	/* border-bottom: 1px solid var(--secondary); */
}
#confirmation {
	padding: var(--padd2m) 0;
	text-align: center;
	margin-bottom: 0;
}
#confirmation .btn { width: 80%; }
#formulaire .formLeads input, #formulaire .formLeads select {
	width: 18.7vw;
    height: max(2.5vw, 40px);
    margin-bottom: var(--padd3d);
    border-radius: 0px;
    padding-left: var(--padd2d);
    color: #ffffff;
    background-color: #D87900;
    border-bottom: none;
    border-top: none;
    border-left: none;
    border-right: none;
	border-radius: 7px;
}
#formulaire ::placeholder { color: #ffffff; font-style: italic;font-size: 0.8vw;}
#container_date { margin-top: 5px; }
#container_date > div { display: grid; grid-template-columns: 47.5% 47.5%; grid-gap: 5%; width: 100%; }
#container_date label { width: 100%; }

#formulaire .formLeads {
	font-size: 90%;
	display: flex;
	flex-direction: column;
	width: 100%;
	align-items: stretch;
	font-family: 'Bicyclette-Regular';
}

#formulaire .formLeads i { margin-bottom: var(--padd2d); }


.markus_radio__label, .markus_radio__input {
	display: flex;
	justify-content: center;
	align-items: center;
}
.markus_scroll {
	cursor: pointer
}

.markus_sticky {
	will-change: top
}

.markus_collapse__button {
	cursor: pointer
}

.markus_collapse__content:not(.is_open) {
	overflow: hidden;
	height: 0;
	transition: height 0.3s ease
}

.markus_modal {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 2147483647;
	display: none;
	justify-content: center;
	align-items: center;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0,0,0,0.6);
	cursor: pointer;
	-webkit-animation: fade_out 0.5s both;
	animation: fade_out 0.5s both;
	-ms-scroll-chaining: none;
	overscroll-behavior: none
}

.markus_modal__wrapper {
	width: 85%;
	max-width: calc(100vw - 42px);
	max-height: calc(100vh - 42px);
	position: relative;
	background-color: white;
	padding: 42px;
	overflow: auto;
	cursor: initial;
	-webkit-animation: slide_to_bottom 0.5s both;
	animation: slide_to_bottom 0.5s both;
	overscroll-behavior-y: contain
}

.markus_modal__open {
	cursor: pointer
}

.markus_modal__close {
	position: absolute;
	top: 15px;
	right: 15px;
	z-index: 10;
	cursor: pointer;
	width: 20px;
	height: 20px;
	background: url("./images/close.png") no-repeat center/contain;
	transition: -webkit-transform 0.4s ease;
	transition: transform 0.4s ease;
	transition: transform 0.4s ease, -webkit-transform 0.4s ease
}

.markus_modal[aria-hidden="false"] {
	-webkit-animation: fade_in 0.5s both;
	animation: fade_in 0.5s both
}

.markus_modal[aria-hidden="false"] .markus_modal__wrapper {
	-webkit-animation: slide_from_top 0.5s both;
	animation: slide_from_top 0.5s both
}

.markus_checkbox {
	position: relative;
	width: 100px;
	height: 50px;
	margin: 5px;
	border-radius: 5px
}

.markus_checkbox input {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer
}

.markus_checkbox label {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	border: 1px solid black;
	border-radius: inherit;
	transition: all 0.3s ease
}

.markus_checkbox input:checked+label {
	color: white;
	font-weight: bold;
	background-color: black
}

.markus_radio {
	position: relative;
	display: grid;
	grid-template-columns: -webkit-min-content auto;
	grid-template-columns: min-content auto;
	grid-gap: 10px;
	justify-content: center;
	align-items: flex-start;
	margin: 0 5px;
	cursor: pointer
}

.markus_radio__label,.markus_radio__input {
	display: flex;
	justify-content: center;
	align-items: center
}

.markus_radio input {
	position: absolute;
	z-index: -1;
	width: max(1.5vw,20px);
	height: max(1.5vw,20px);
	margin: 0;
	opacity: 0
}

.markus_radio__label {
	line-height: 1
}

.markus_radio__control {
	width: max(1.5vw,20px);
	height: max(1.5vw,20px);
	border: 1px solid black;
	border-radius: 50%;
	transition: background 0.3s ease
}

.markus_radio input:checked+.markus_radio__control {
	background: black center/contain;
	border-color: transparent
}

.markus_switch {
	position: relative;
	display: inline-block;
	margin: 0 10px;
	width: 60px;
	height: 30px
}

.markus_switch input {
	display: none
}

.markus_switch__slider {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	cursor: pointer;
	background-color: black;
	transition: background-color .3s ease;
	border-radius: 25px
}

.markus_switch__slider::before {
	position: absolute;
	left: 0;
	bottom: 0;
	content: ' ';
	width: 30px;
	height: 30px;
	background-color: white;
	transition: -webkit-transform .3s ease;
	transition: transform .3s ease;
	transition: transform .3s ease, -webkit-transform .3s ease;
	border-radius: 50%
}

.markus_switch input:checked+.markus_switch__slider {
	background-color: black
}

.markus_switch input:checked+.markus_switch__slider::before {
	-webkit-transform: translateX(100%);
	transform: translateX(100%)
}




.markus_radio input {
	position: absolute;
	z-index: -1;
	width: max(1.5vw, 20px);
	height: max(1.5vw, 20px);
	margin: 0;
	opacity: 0;
}
#formulaire .formLeads .markus_radio input[type="radio"] { display: none; }
#formulaire .formLeads .markus_radio__label { text-align: left; padding-left: var(--padd3d); color: #000; }
#formulaire .formLeads .markus_radio__control {
	width: 30px; height: 30px;
	background-color: #F18700;
	border-color: #ffffff; border-radius: 5px;
}
#formulaire .formLeads .markus_radio input:checked + .markus_radio__control { background-color: #ffffff; }
#formulaire .btn {
	width: 85%; height: max(3vw, 40px); border-color: white;
	margin: calc(var(--padd) * 0.66) auto;
	letter-spacing: 0.1em; line-height: 1em;
}
#heure {
	background: #eaeaea;
	text-indent: 0.5em;cursor: pointer;
	width: 100%;
}

@media (min-width: 1025px) {
	input[name="date"] { text-indent: 0.5em;}
}

/* uniquement pour safari */
@media not all and (min-resolution:.001dpcm) {
	#heure {
		text-indent: 20px;
	}
	input[name="date"] { text-indent: 0; width: 100%; }
	input[type="date"]::before{
		content: attr(placeholder);
		white-space: pre;
		padding-left: 0;
	}
	input[type="date"]:focus::before {
		content:""!important;
	}
}

input[name="date"] { position: relative;}
input[name="date"]::-webkit-calendar-picker-indicator {
	position: absolute; left: 6px; right: 0;
	width: 24px; padding-right: 75%;
	cursor: pointer;
	filter: invert(1);
}

@media(max-width: 1024px) {
	input[type="date"]::before{
		content: attr(placeholder);
		white-space: pre;
		padding-left: 0.5em;
	}
	input[type="date"]:focus::before {
		content:""!important;
	}

	#projet .markus_radio label {
		width: 28vw;
		line-height: inherit;
	}

	#projet {
		margin: 1vw 0 6vw !important;
	}

	#formulaire #projet .markus_radio input:checked+label {

		width: 28vw;

	}

	input[name="date"] { padding-left: 10vw; }

	#formulaire {
		width: 100%;
		padding: 0;
		position: relative; z-index: 1000;
		top: 0; right: 0;
		box-shadow: unset;
	}
}


