/* ShowManager | formulaires publics
   Valeurs dynamiques injectees en inline dans le <head> :
     --form-color        = $form->form_color
     --form-container-bg = opaque ou semi-transparent selon $form->form_image
   La classe html.sm-no-native-appearance reproduit l'ancien test User-Agent
   (checkbox natives conservees sous Chrome).
*/

@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/roboto-regular.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body,
html,
input,
select,
textarea,
body * {
	font-family: 'Roboto', sans-serif;
	box-sizing: border-box
}

html {
	width: 100%;
	height: 100%;
	cursor: default
}

body {
	background-color: #e6f2fd;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	font-size: 14px
}

.container {
	max-width: 800px;
	width: 100%;
	margin: 30px auto;
	display: block;
	background: var(--form-container-bg)/*#f4f5f9*/;
	padding: 10px 50px 50px;
	border-radius: 21px;
	color: #666;
	box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2)
}

h1 {
	text-align: center;
	margin: 10px 0;
	font-weight: 400;
	font-size: 2em;
	color: #ff6464
}

h2 {
	text-align: center;
	margin: 10px 0 50px;
	font-weight: 100;
	font-size: 2em;
	color: var(--form-color);
}

h2 small {
	font-weight: normal;
	color: #5264ae;
	display: block
}

h3 {
	font-size: 1.6em;
	margin-bottom: 10px;
	color: #5264ae;
	font-weight: 100;
	padding: 12px;
}

h4 {
	font-size: 1.4em;
	margin: 30px 20px 10px;
	color:
		/*#5264ae*/
		var(--form-color);
	font-weight: 100;
	border-bottom: 1px solid #ccc
}

.center {
	text-align: center
}

.footer {
	text-align: center
}

.footer a {
	color: #53b2c8
}

p.title {
	margin: -56px auto 30px;
	text-align: center;
	font-size: 24px;
	color: #5264ae;
	background-color: #fff;
	display: table;
	padding: 0 12px
}

.group {
	position: relative;
	max-width: 400px;
	margin: 0 auto 30px
}

.group p {
	padding: 6px 12px;
	margin: 0
}

input[type="text"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="email"],
input[type="url"],
textarea,
input[type="button"],
select.material {
	font-size: 16px;
	color: #333;
	padding: 8px 12px 8px 10px;
	display: block;
	width: 100%;
	max-width: 400px;
	border: 1px solid #ccc;
	background-color: #fff;
	border-bottom: 1px solid #d6d6d6;
	border-radius: 8px;
}

input:focus {
	outline: 0
}

hr {
	height: 3px;
	border: 0;
	border-bottom: 1px solid #ccc;
	color: #ccc;
	margin: 67px 0 40px
}

.note {
	font-family: 'Shadows Into Light', cursive;
	font-size: 26px;
	color: #fd3f3f;
	position: absolute
}

.note.right {
	float: left;
	top: -10px;
	transform: rotate(-10deg);
	left: 290px;
	width: 125px;
	line-height: 28px;
	text-align: center !important;
}

.note.left {
	float: right
}

label {
	color: #5264ae;
	font-size: 16px;
	font-weight: normal;
	/*position: absolute;
	top: 8px;
	left: 5px;
	top: -20px;*/
	pointer-events: none;
	transition: .2s ease all;
	-moz-transition: .2s ease all;
	-webkit-transition: .2s ease all;
	font-size: 14px;
}

label.desc{
	line-height: 22px;
	color: #757575;
	display: block;
	margin-bottom: 16px;
	font-style: italic;
}

/*input:focus~label,
input:valid~label,
select.material~label,
select~label,
textarea~label {
	top: -20px;
	font-size: 14px;
	color: #5264ae
}*/

.bar {
	position: relative;
	display: block;
	width: 100%;
	max-width: 400px
}

.bar:before,
.bar:after {
	content: '';
	height: 2px;
	width: 0;
	bottom: 0px;
	position: absolute;
	background: #5264ae;
	transition: .2s ease all;
	-moz-transition: .2s ease all;
	-webkit-transition: .2s ease all
}

.bar:before {
	left: 50%
}

.bar:after {
	right: 50%
}

#message {
	display: none
}

input:focus~.bar:before,
input:focus~.bar:after {
	width: 49%
}

.button-container {
	text-align: center
}

.button {
	position: relative;
	background: #4f93ce;
	border: 0;
	/*border:1px solid #4f93ce;*/
	font-size: 1.1rem;
	color: #4f93ce;
	margin: 1rem 0;
	padding: .75rem 3rem;
	cursor: pointer;
	-webkit-transition: background-color .28s ease, color .28s ease, box-shadow .28s ease;
	transition: background-color .28s ease, color .28s ease, box-shadow .28s ease;
	overflow: hidden;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
	border-radius: 9px;
}

.button::before {
	content: '';
	position: absolute;
	background: #071017;
	border: 50vh solid #1d4567;
	width: 30vh;
	height: 30vh;
	border-radius: 50%;
	display: block;
	top: 50%;
	left: 50%;
	z-index: 0;
	opacity: 1;
	-webkit-transform: translate(-50%, -50%) scale(0);
	transform: translate(-50%, -50%) scale(0)
}

.button span {
	color: #fff;
	position: relative;
	z-index: 1
}

.button:hover {
	color: #337ab7;
	box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.2)
}

.button:focus::before {
	-webkit-transition: opacity .28s ease .364s, -webkit-transform 1.12s ease;
	transition: opacity .28s ease .364s, -webkit-transform 1.12s ease;
	transition: transform 1.12s ease, opacity .28s ease .364s;
	transition: transform 1.12s ease, opacity .28s ease .364s, -webkit-transform 1.12s ease;
	-webkit-transform: translate(-50%, -50%) scale(1);
	transform: translate(-50%, -50%) scale(1);
	opacity: 0
}

.button:focus {
	outline: 0
}

#seances input[type="text"] {
	display: inline-block;
	border: 0;
	font-size: 15px;
	color: #666;
	width: 22px;
	text-align: center;
	margin: 0;
	padding: 0
}

.sm-hp {
	position: absolute !important;
	left: -9999px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

#nb_spec input[type="number"] {
	display: inline-block;
	border: 0;
	font-size: 15px;
	color: #666;
	width: 80px;
	text-align: right;
	margin: 0;
	padding: 0
}

#nb_spec input[type="text"],
#show input[type="text"] {
	display: inline-block;
	border: 0;
	font-size: 15px;
	color: #666;
	width: 45px;
	text-align: right;
	margin: 0;
	padding: 0
}

input[type="checkbox"],
input[type="radio"] {
	float: right;
	/*margin-right:6px;*/
	cursor: pointer;
}

html.sm-no-native-appearance input[type="checkbox"],
html.sm-no-native-appearance input[type="radio"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
}

#show select,
#show input[type="text"] {
	float: right;
	margin-right: 0;
	border: 2px solid #ccc;
	padding: 2px;
	outline: 0;
	margin-top: -4px;
	max-width: 180px;
	background-color: #fff;
	font-size: 14px;
	color: #666
}

.container textarea {
	display: block;
	font-size: 16px;
	color: #333;
	/*border:2px solid #ccc;*/
	padding: 6px;
	outline: 0;
	margin: 4px 0 0 0;
	width: 100%
}

.ql-align-left{text-align:left}
.ql-align-center{text-align:center}
.ql-align-justify{text-align:justify}
.ql-align-right{text-align:right}

.ql-size-small{font-size:.75em}
.ql-size-large{font-size:1.5em}
.ql-size-huge{font-size:2.5em}

.light {
	text-align: center;
	margin: 6px auto 0;
	padding: 6px 4px;
	color: #fff;
	background-color: #ff6464;
	border-radius: 2px;
	display: block
}

.hide {
	display: none
}

.anim_wait_loop {
	animation: scint 2s infinite ease-in-out;
	-moz-animation: scint 2s infinite ease-in-out;
	-webkit-animation: scint 2s infinite ease-in-out
}

.anim_wait_twice {
	animation: scint 1s 2 ease-in-out;
	-moz-animation: scint 1s 2 ease-in-out;
	-webkit-animation: scint 1s 2 ease-in-out
}

.flash_on_load {
	animation: flash_on_load 2s ease-in-out;
	-moz-animation: flash_on_load 2s ease-in-out;
	-webkit-animation: flash_on_load 2s ease-in-out
}

@keyframes scint {
	0% {
		opacity: 1
	}

	40% {
		opacity: 1
	}

	50% {
		opacity: .2
	}

	60% {
		opacity: 1
	}

	100% {
		opacity: 1
	}
}

@-webkit-keyframes scint {
	0% {
		opacity: 1
	}

	40% {
		opacity: 1
	}

	50% {
		opacity: .2
	}

	60% {
		opacity: 1
	}

	100% {
		opacity: 1
	}
}

@-moz-keyframes scint {
	0% {
		opacity: 1
	}

	40% {
		opacity: 1
	}

	50% {
		opacity: .2
	}

	60% {
		opacity: 1
	}

	100% {
		opacity: 1
	}
}

@-webkit-keyframes flash_on_load {
	from {
		color: red
	}

	to {
		color: inherit
	}
}

@-o-keyframes flash_on_load {
	from {
		color: red
	}

	to {
		color: inherit
	}
}

@keyframes flash_on_load {
	from {
		color: red
	}

	to {
		color: inherit
	}
}

@keyframes flash {
	0% {
		color: #333
	}

	5% {
		color: red
	}

	7% {
		color: #bbb
	}

	9% {
		color: red
	}

	14% {
		color: #333
	}

	100% {
		color: #333
	}
}

@-webkit-keyframes flash {
	0% {
		color: #333
	}

	5% {
		color: red
	}

	7% {
		color: #bbb
	}

	9% {
		color: red
	}

	14% {
		color: #333
	}

	100% {
		color: #333
	}
}

@-moz-keyframes flash {
	0% {
		color: #333
	}

	5% {
		color: red
	}

	7% {
		color: #bbb
	}

	9% {
		color: red
	}

	14% {
		color: #333
	}

	100% {
		color: #333
	}
}

.highlight {
	display: none;
	position: absolute;
	height: 60%;
	width: 100px;
	top: 25%;
	left: 0;
	pointer-events: none;
	opacity: .5
}

input:focus~.highlight {
	-webkit-animation: inputHighlighter .3s ease;
	-moz-animation: inputHighlighter .3s ease;
	animation: inputHighlighter .3s ease
}

.checkbox {
	position: relative;
	/*top:-0.1rem;*/
	margin: 0 1.2rem 0 0;
	cursor: pointer
}

.checkbox:before {
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
	content: "";
	position: absolute;
	left: 0;
	z-index: 1;
	width: 1rem;
	height: 1rem;
	border: 1px solid #ccc;
	border-radius: 2px;
}

.checkbox:checked:before {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
	height: .5rem;
	border-color:
		/*#5264ae*/
		var(--form-color);
	border-top-style: none;
	border-right-style: none;
	border-width: 3px;
	background-color: transparent;
	border-radius: 0;
}

.checkbox:after {
	content: "";
	position: absolute;
	/*top:-0.125rem;*/
	left: 0;
	width: 1.1rem;
	height: 1.1rem;
	background: #fff;
	cursor: pointer
}

.checkbox:checked:after {
	background-color: #f4f5f9;
}

@-webkit-keyframes inputHighlighter {
	from {
		background: #5264ae
	}

	to {
		width: 0;
		background: transparent
	}
}

@-moz-keyframes inputHighlighter {
	from {
		background: #5264ae
	}

	to {
		width: 0;
		background: transparent
	}
}

@keyframes inputHighlighter {
	from {
		background: #5264ae
	}

	to {
		width: 0;
		background: transparent
	}
}

@media screen and (max-width:510px) {
	.container {
		width: 100%;
		margin: 0;
		padding: 25px
	}

	.note {
		display: none
	}
}

.large {
	background-color: #e5f1fc;
	padding: 5px 8px;
	border-radius: 2px;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
	font-size: 13px;
}

::-webkit-input-placeholder {
	color: #ccc;
}

:-moz-placeholder {
	color: #ccc;
	opacity: 1;
}

::-moz-placeholder {
	color: #ccc;
	opacity: 1;
}

:-ms-input-placeholder {
	color: #ccc;
}

#message {
	display: none;
}

.qdesc {
	font-style: italic;
	color: #aaa;
	max-width: 400px;
	margin: 16px auto;
}

body,
button[type="submit"] {
	background-color: var(--form-color) !important;
}

button:disabled,
button[disabled] {
	opacity: .5;
}

h3 {
	color: var(--form-color);
}

input[type="radio"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
	border: 1px solid #ccc;
	border-radius: 50%;
	width: 18px;
	height: 18px;
	background-color: #fff;
	margin: 0;
}

input[type="radio"]:hover {
	background: #9faab7;
}

input[type="radio"]:checked {
	background:
		var(--form-color)
	;
}

.filediv {
	background-color: #e5f1fc;
	padding: 5px 8px;
	border-radius: 2px;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .2);
	margin: 12px 0;
	font-size: 13px;
	height: 80px;
	text-align: left;
	white-space: break-spaces;
	position: relative;
	box-sizing: content-box;
	overflow-wrap: break-word;
}

.filediv .img {
	width: 80px;
	height: 80px;
	float: left;
	clear: both;
	background-repeat: no-repeat;
	background-size: cover;
	margin-right: 10px;
	background-position: center;
}

/*.filediv .fa-trash {
	position: absolute;
	right: 5px;
	bottom: 5px;
	font-size: 18px;
	cursor: pointer;
	color: #bbb;
}*/

.filediv .fa-trash {
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    background-color: #bbb;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M135 17l-9 15H24C10.7 32 0 42.7 0 56s10.7 24 24 24h400c13.3 0 24-10.7 24-24s-10.7-24-24-24H322l-9-15C308 6.5 297 0 285 0H163c-12 0-23 6.5-28 17zM416 128H32l21 339c1.6 25 22.3 45 47.5 45h247c25.2 0 45.9-20 47.5-45l21-339z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M135 17l-9 15H24C10.7 32 0 42.7 0 56s10.7 24 24 24h400c13.3 0 24-10.7 24-24s-10.7-24-24-24H322l-9-15C308 6.5 297 0 285 0H163c-12 0-23 6.5-28 17zM416 128H32l21 339c1.6 25 22.3 45 47.5 45h247c25.2 0 45.9-20 47.5-45l21-339z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.filediv .fa-trash:hover {
	color: #666;
}

.container_response {
	display: none;
	transform: translateX(-50%) translateY(-50%);
	left: 50%;
	top: 47%;
	position: absolute;
	color: #fff;
	max-width: 800px;
	width: 100%;
	margin: 30px auto;
	text-align: center;
}

.container_response a {
	color: #d9d9d9;
	text-decoration: none;
}

.container_response a:hover {
	text-decoration: underline;
}

#logo {
	display: block;
	text-align: center;
}

.check label.opt {
	width: 100%;
	top: 0;
	padding: 8px;
	margin-top: 6px;
	background-color: transparent;
	border-radius: 19px;
	cursor: pointer;
	transition: background-color .2s;
	position: relative;
	display: block;
	pointer-events: all;
}

.check label.opt:hover {
	background-color: #e0e3eb;
}