
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html, body {
	min-height: 100%;
}

body {
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-style: normal;
}

body:after{
	content:"";
	position:fixed;
	top:0;
	height:100vh;
	left:0;
	right:0;
	z-index:-1;
	background: url('../img/bg-body.jpg') center center white;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

body#page-questionnaire:after{
	/*background: none;*/
}

.slice {
    margin-top: 157px;
    padding-top: 1em;
    padding-bottom: 1em;
}

.fancybox-bg {
    background: rgb(244,71,69);
	background: linear-gradient(90deg, rgba(244,71,69,1) 0%, rgba(76,121,186,1) 100%);
}

.fancybox-is-open .fancybox-bg {
	/*opacity: 1;*/
}

.fancybox-active {
	height: 100% !important;
}

.fancybox-slide--image {
	/*padding: 0;*/
}


/*---------- COLORS ----------*/

section {
    background-color: transparent;
}

.footer-dark {
    background-color: transparent;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	color: white;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 100;
}

.h1 span, h1 span {
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	font-style: normal;
}

#page-questionnaire h4 {
	margin-bottom:  20px;
	text-align: center;
}

#page-questionnaire h5 {
	font-size: 1.1em;
	text-align: center;
}

p {
	color: white;
	font-size: 1.2em;
}

p a, label a {
	color: white;
	text-decoration: underline;
}

p a:hover, label a:hover {
	color: white;
}

label {
	color: white;
}

.btn-link {
    color: white;
}

.btn-link:hover {
    color: white;
}

.btn-outline-primary {
	font-size: 1.2em;
    color: white;
    background-color: transparent;
    border-color: white;
}

.btn-outline-primary:hover {
    color: #202020;
    background-color: white;
    border-color: white;
}

.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show>.btn-outline-primary.dropdown-toggle {
	color: #202020;
    background-color: white;
    border-color: white;
}

.btn-outline-primary.disabled, .btn-outline-primary:disabled {
    color: rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 0, 0, 0.5);
    background-color: transparent;
}

.btn-outline-secondary {
	font-size: 1.2em;
	color: #202020;
	background-color: transparent;
	border-color: #202020;
}

.btn-outline-secondary:hover {
	color: white;
	background-color: #202020;
	border-color: #202020;
}

.btn-outline-secondary:not(:disabled):not(.disabled).active,
.btn-outline-secondary:not(:disabled):not(.disabled):active,
.show>.btn-outline-secondary.dropdown-toggle {
	color: white;
	background-color: #202020;
	border-color: #202020;
}

.btn-outline-secondary.disabled, .btn-outline-secondary:disabled {
	color: rgba(0, 0, 0, 0.5);
	border-color: rgba(0, 0, 0, 0.5);
	background-color: transparent;
}

.btn-continuer {
	font-size: 1em;
}

.swal2-popup .swal2-title {
	letter-spacing: normal;
}

.asterisque {
	font-size: 0.9em;
	font-weight: 300;
}



/*---------- HEADER/FOOTER ----------*/

.header {
	position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    
	padding: 15px;
	/*border-bottom: 1px solid #d6d6d6;*/
	background-color: rgba(0, 0, 0, 0.1);
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
}

#logo-container {
	text-align: center;
}

.navbar-brand {
	margin: 0;
	padding: 0;
}

#navbar-logo {
	width: 180px;
}

.logo-legrand {
	position: absolute;
}


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

.form-control {
	color: #202020;
	border-right: none;
	border-top: none;
	border-left: none;
	background-color: rgba(255, 255, 255, 0.8);
}

.form-control:focus {
	color: #202020;
    border-color: #202020;
}

.form-control-lg {
	border-radius: .375rem .375rem 0 0;
}

.custom-control-label {
	font-size: 1.1em;
}

.custom-control-label:before {
	background: white;
	margin-top: -5px;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label:after {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23202020' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3E%3C/svg%3E");
}

.custom-checkbox .custom-control-input:checked~.custom-control-label:after {
	margin-top: -5px;
}

.custom-control-input:checked~.custom-control-label:before {
	border-color: white;
	background-color: white;
}

.custom-control-input:not(:disabled):active~.custom-control-label:before {
	border-color: white;
	background-color: white;
}

.swal2-popup .swal2-styled {
	border-radius: 50rem!important;
}

.swal2-popup .swal2-styled:focus {
	box-shadow: none;
}

.form-control::-webkit-input-placeholder {
  color: #727272;
}

.form-control:-ms-input-placeholder {
  color: #727272;
}

.form-control::placeholder {
  color: #727272;
}

.question {
	margin-bottom: 35px;
}

.custom-radio {
	margin-bottom: 20px;
	text-align: center;
}

@media (max-width:576px){
	.custom-radio {
		text-align: left;
	}
}

.custom-radio .custom-control-label {
	font-size: 1.2em;
	line-height: 1.3em;
	padding-left: 5px;
	transition: 0.1s ease-in-out all;
}

.custom-radio .custom-control-input:checked~.custom-control-label {
	color : #cea85a;
	/*font-size: 1.3em;*/
	-webkit-transform: scale(1.1)!important;
    -ms-transform: scale(1.1)!important;
    transform: scale(1.1)!important;
}

.custom-radio .custom-control-label:before {
	height: 30px;
	width: 30px;
	background: url(../img/picto-reponse-off.png?v=2) no-repeat;
	-webkit-background-size: 30px 30px;
	-moz-background-size:  30px 30px;
	-o-background-size:  30px 30px;
	background-size:  30px 30px;
	background-color: transparent;
	border-color: transparent;
	margin-top: -9px;
}
 
.custom-radio .custom-control-input:checked~.custom-control-label:before {
	height: 30px;
	width: 30px;
	background: url(../img/picto-reponse-on.png?v=2) no-repeat;
	-webkit-background-size: 30px 30px;
	-moz-background-size:  30px 30px;
	-o-background-size:  30px 30px;
	background-size:  30px 30px;
	background-color: transparent;
	border-color: transparent;
	margin-top: -9px;
}

.custom-radio .custom-control-label:after {
	background: none;
}

.custom-radio .custom-control-input:checked~.custom-control-label:after {
	background: none;
}

.custom-radio .custom-control-input:focus~.custom-control-label:before{
	-webkit-box-shadow: none;
	box-shadow: none;
}

.custom-control-input:focus:not(:checked)~.custom-control-label:before{
	border-color: transparent;
}

.custom-control-input:not(:disabled):active~.custom-control-label:before{
	background-color: transparent;
	border-color: transparent;
	-webkit-box-shadow:none;
	box-shadow:none
}

.custom-control-input:disabled~.custom-control-label:before{
	background-color: transparent;
}

#choix2 .custom-control-label {
	font-size: 1em;
	line-height: 1.1em;
}

.btn-img-white img {
	filter: brightness(0) invert(1);
}

.btn-img-white label:hover img,
.btn-img-white label.active img {
	filter: none;
}

#btn-emoji {
	font-size: 0.5em;
}

#btn-emoji img {
	margin-bottom: 7px;
}

#btn-emoji label {
	padding: 0.8rem 1.3rem;
}


/*---------- PRIVACY POLICY ----------*/

.privacy .custom-control-label {
	font-size: 1em;
	line-height: 1.1em;
}

#privacy-policy {
	position: relative;
	text-align: justify;
	max-width: 640px;
}

#privacy-policy p {
	margin-top: 0px;
	margin-bottom: 10px;
	font-size: 0.95em;
	line-height: 16px;
	color: #202020;
}

#privacy-policy-header {
	background: rgb(244,71,69);
	background: linear-gradient(90deg, rgba(244,71,69,1) 0%, rgba(76,121,186,1) 100%);
	padding: 12px 5px 1px 5px;
	text-align: center;
	margin-bottom: 20px;
}

#privacy-policy-header a,
#privacy-policy-header a:hover {
	color: #fff !important;
}

#privacy-policy h1 {
	font-size: 1em;
	color: #202020;
}

#privacy-policy h2 {
	font-size: 1em;
	color: #202020;

}

#privacy-policy a,
#privacy-policy a:hover {
	color: #202020;
}

#privacy-policy .table td, .table th {
	white-space: normal;
	color: #202020;
	vertical-align: middle;
}
