.eprivacy {
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,.3);
	text-align: center;
}

.eprivacy.to-display {
	display: none;
}

.eprivacy .popup {
	position: fixed;
    display: none;
	top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
    max-width: 950px;
    padding: 40px;
	background-color: #fff;
    border-radius: 15px;
	z-index: 10000;
}

.eprivacy.to-display .popup {
    display: block;
}

.eprivacy .ep-wrap {
	position: fixed;
	bottom: 0;
	width: 100%;
	background-color: #fff;
	border-top: #CCC 1px solid;
	z-index: 10001;
}

.eprivacy * {
	color: #444;
}

.eprivacy .center-wrap {
	margin: 0 auto;
	padding: 20px;
	max-width: 1080px;
}
.eprivacy .titre {
    height: 50px;
    line-height: 50px;
    font-family: 'Galvji Bold', sans-serif;
	font-size: 1.4em;
	text-align: left;
	margin-bottom: 20px;
	padding-left: 65px;
	background: url("/styles/img/cookie.svg") no-repeat left center;
	background-size: 50px auto;
}

.eprivacy .text {
	font-size: 0.9em;
	text-align: justify;
}

.eprivacy .popup .text {
	font-size: 1em;
	text-align: left;
	margin-bottom: 20px;
}

.eprivacy .infos {
	font-size: 0.9em;
	font-style: italic;
	background: url("invisible.svg") no-repeat left center;
	background-size: 30px auto;
	padding-left: 60px;
	width: calc(100% - 50px);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.eprivacy .popup .bt-wrap {
	text-align: center;
}

.eprivacy .bt {
	display: inline-block;
	vertical-align: top;
    width: 300px;
	padding: 10px;
	margin: 10px;
	margin-bottom: 0;
	border: var(--text-color) 1px solid;
    border-radius: 5px;
    font-family: 'Galvji Bold', sans-serif;
	font-size: 1em;
	cursor: pointer;
}

.eprivacy .bt.accept-all {
	color: #fff;
	background-color: var(--text-color);
}

.eprivacy .bt:hover {
	color: #fff;
	border-color: var(--main-color);
	background-color: var(--main-color);
}

.eprivacy .bt.disabled-all:hover {
	color: #fff;
}

.eprivacy .config {
	display: none;
}

.eprivacy .choix {
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 25px auto;
	padding-left: 50px;
	margin-top: 10px;
}

.eprivacy .choix.stats {
	background-image: url("stats.svg");
}

.eprivacy .choix.sda {
	background-image: url("sda.svg");
	background-size: 30px auto;
	margin-bottom: 20px;
}

.eprivacy .choix .text {
	display: inline-block;
	vertical-align: top;
	border: var(--main-color) 1px solid;
	padding: 10px;
	font-size: 0.9em;
	width: calc(100% - 50px);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.eprivacy .choix .text strong {
	font-size: 1.1em;
}

.eprivacy .switch {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	display: inline-block;
	vertical-align: top;
    position: relative;
    width: 41px;
    height: 24px;
    border: 1px solid #dfdfdf;
    outline: 0;
    border-radius: 16px;
    box-sizing: border-box;
    background: #dfdfdf;
	margin: 20px 0 0 5px;
}
.eprivacy .switch:before,
.eprivacy .switch:after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 15px;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
}
.eprivacy .switch:before {
    width: 39px;
    height: 22px;
    background-color: #fdfdfd;
}
.eprivacy .switch:after {
    width: 22px;
    height: 22px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.eprivacy .switch:checked {
    border-color: var(--main-color);
    background-color: var(--main-color);
}
.eprivacy .switch:checked:before {
    -webkit-transform: scale(0);
            transform: scale(0);
}
.eprivacy .switch:checked:after {
    -webkit-transform: translateX(17px);
            transform: translateX(17px);
}
.eprivacy .switch:focus {
    outline: 0;
}

@media screen and (max-width: 1400px) {
    .eprivacy .popup {
        max-width: 500px;
    }
    .eprivacy .titre {
        height: auto;
        line-height: normal;
        font-size: 1.1em;
        background-position: left top;
    }
    .eprivacy .popup .text {
        font-size: 0.9em;
    }
    .eprivacy .bt {
        width: 200px;
    }
}