/* Default custom select styles */
div.cs-select {
	display: inline-block;
	vertical-align: middle;
	position: relative;
	text-align: left;
	background: #fff;
	/*z-index: 100;*/
	width: 100%;
	max-width: 500px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

div.cs-select:focus {
	/*outline: none;*/ /* For better accessibility add a style for this in your skin */
	/*retiré pour règle "A  -  10.7.1 Pour chaque élément recevant le focus, l’indication visuelle du navigateur ne doit pas être supprimée (propriété CSS outline, outline-color, outline-width, outline-style). Cette règle est-elle respectée ?"*/
}

.cs-select select {
	display: none;
}

.cs-select span {
	display: block;
	position: relative;
	cursor: pointer;
	padding: 1em;
	line-height:1.1em;
	/*A decommentaer si on souhaite que ça reste sur une ligne avec 3 petits points si trop long*/
	/*white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;*/
}

/* Placeholder and selected option */
.cs-select > span {
	padding-right: 3em;
}

.cs-select > span::after,
.cs-select .cs-selected span::after {
	speak: none;
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.cs-select > span::after {
	/*content: '\25BE';
	right: 1em;*/
}

.cs-select .cs-selected span::after {
	/*content: '\2713';
	margin-left: 1em;*/
}

.cs-select.cs-active > span::after {
	-webkit-transform: translateY(-50%) rotate(180deg);
	transform: translateY(-50%) rotate(180deg);
}

div.cs-active {
	/*z-index: 200;*/
}

/* Options */
.cs-select .cs-options {
	position: absolute;
	overflow: hidden;
	width: 100%;
	background: #fff;
	visibility: hidden;
}

.cs-select.cs-active .cs-options {
	visibility: visible;
}

.cs-select ul {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.cs-select ul span {
	padding: 1em;
}

.cs-select ul li.cs-focus span {
	background-color: #ddd;
}

/* Optgroup and optgroup label */
.cs-select li.cs-optgroup ul {
	padding-left: 1em;
}

/* "JE SUIS" quand options ouvertes */
.cs-select li.cs-optgroup > span {
	cursor: default;
	color:#79a5d2;
	font-weight:700;
	font-size:1.6em;
}

/*@font-face {
	font-family: 'icomoon';
	src:url('../fonts/icomoon/icomoon.eot?-rdnm34');
	src:url('../fonts/icomoon/icomoon.eot?#iefix-rdnm34') format('embedded-opentype'),
		url('../fonts/icomoon/icomoon.woff?-rdnm34') format('woff'),
		url('../fonts/icomoon/icomoon.ttf?-rdnm34') format('truetype'),
		url('../fonts/icomoon/icomoon.svg?-rdnm34#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}*/

div.cs-skin-overlay {
	background: transparent;
	font-size: 1.1em;
	max-width: 600px;
	/*z-index: 2000;*/
	color: #FFF;
	/*box-shadow: 0 10px 0 -5px rgba(0,0,0,0.1);*/
	font-family: 'Assistant', sans-serif;
}

@media screen and (max-width: 30em) {
	div.cs-skin-overlay { font-size: 1em; }
}

/* JE SUIS */
.cs-skin-overlay > span {
	background: transparent;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	text-transform:uppercase;
	font-weight:400;
	padding:0;
	    color: #fff;
}

.cs-skin-overlay > span::before,
.cs-skin-overlay.cs-active > span::before {
	/*font-family: FontAwesome;
	content: '\f2be';*/
	/*-webkit-transform: translate3d(0,-50%,0);
	transform: translate3d(0,-50%,0);*/
	content: url(../images/icon-profil.png);
	display:inline-block;
	width:50px;
	height:50px;
	margin-right:10px;
	vertical-align:middle;
}

.cs-skin-overlay .cs-selected span::before {
	content: '';
}

.cs-skin-overlay.cs-active > span {
	background: #177fa3;
	border-color: #177fa3;
}

.cs-skin-overlay .cs-options {
	position: fixed;
	font-size:1.4em;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	overflow: hidden;
	overflow-y: auto;
	background:rgba(0,76,142,0.95); /* Fond de la div contenant les options*/
	opacity: 0;
	-webkit-transform: perspective(1000px) translate3d(0, 0, -200px);
	transform: perspective(1000px) translate3d(0, 0, -200px);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.4s, visibility 0s 0.4s;
	transition: transform 0.4s, opacity 0.4s, visibility 0s 0.4s;
	-webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
	transition-timing-function: cubic-bezier(0.7,0,0.3,1);
}

.cs-skin-overlay.cs-active .cs-options {
	opacity: 1;
	-webkit-transform: perspective(1000px) translate3d(0, 0, 0px);
	transform: perspective(1000px) translate3d(0, 0, 0px);
	-webkit-transition: opacity 0.4s, -webkit-transform 0.4s;
	transition: opacity 0.4s, transform 0.4s;
	z-index:3000;
}

.cs-skin-overlay .cs-options > ul {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	-webkit-transform: translate3d(-50%, -50%,0);
	transform: translate3d(-50%, -50%,0);
}

.cs-skin-overlay .cs-optgroup {
	/*width: 55%;
	float: left;*/
	padding: 1em 2em;
	width:80%;
	margin:0 auto 0 auto;
}

@media screen and (max-width: 35em) {
	.cs-skin-overlay .cs-optgroup { width: 100%; float: none; }
}

.cs-skin-overlay .cs-optgroup > span {
	font-size: 60%;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 1em 0;
	color: #bbb9b4;
}

.cs-skin-overlay li.cs-optgroup ul {
	padding-left: 0;
}

.cs-skin-overlay li.cs-optgroup {
	opacity: 0;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	transition: transform 0.3s, opacity 0.3s;
	-webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
	transition-timing-function: cubic-bezier(0.7,0,0.3,1);
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

.cs-skin-overlay li.cs-optgroup:first-child {
	text-align: center;
	-webkit-transform: translate3d(1em,0,0);
	transform: translate3d(1em,0,0);
}

@media screen and (max-width: 30em) {
	.cs-skin-overlay li.cs-optgroup:first-child { text-align: left; }
}

.cs-skin-overlay li.cs-optgroup:nth-child(2) {
	-webkit-transform: translate3d(-1em,0,0);
	transform: translate3d(-1em,0,0);
}

.cs-skin-overlay.cs-active li.cs-optgroup {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

/*Options du je suis*/
.cs-skin-overlay li.cs-optgroup ul span {
	padding: 0.2em 0;
	color:#FFF;
	font-weight:300;
}

.cs-skin-overlay li.cs-optgroup li span:hover,
.cs-skin-overlay li.cs-focus span,
.cs-skin-overlay li.cs-selected span {
	color: #79a5d2;
	background: transparent;
	font-weight:300;
}


/*Bouton Close*/
a.a-close-je-suis{
	display:block;
	position:absolute;
	right:10px;
	top:0;
	color:#FFF;
	text-decoration:none;
	font-weight:normal;
}
