
/***********************************/
/**          HEADER               **/
/**********************************/
#page-header {
  border: none;
  margin: 0;
  padding: 5px;
  position: fixed;
  height: 50px;
  width: 100%;
  top: 0px;
  left: 0px;
  z-index: 3;
  opacity: 1;
  display: flex;
  align-items: center;
}
	/* les trois blocs du header : logo 20%, navigation 40%, outils 40%.
	   flex-grow sur les deux derniers : ils reprennent la place du logo quand il est masqué */
	.logo {
		flex: 0 1 20%;
		display: flex;
		align-items: center;
		min-width: 0;
	}

	.headerTitle {
		flex: 1 1 40%;
		display: flex;
		align-items: center;
		min-width: 0;
		padding-left: 3%;
		font-size: 22px;
		font-weight: 300;
	}

	.header-outils {
		flex: 1 1 40%;
		display: flex;
		justify-content: flex-end;
		align-items: center;
		min-width: 0;
	}

	.header-outils > .nav {
		display: flex;
		align-items: center;
		margin: 0;
	}

	#page-header .nav > li {
		background: none;
	}

	.headerIcon {
		color: rgba(251, 251, 251, 0.5);
		width: 40px;
		padding: 0;
		font-size: 24px;
		outline: 0;
		background: none;
		text-align: center;
		vertical-align: middle;
		line-height: 36px;
		text-shadow: none;
	}

	#page-header .nav > li > a:hover {
		color: #ffffff;
	}

	#page-header .nav > li > a .glyphicon {
		vertical-align: middle;
	}

	#page-header .nav > li .count {
		position: absolute;
		bottom: 2px;
		right: 2px;
		font-size: 9.1px;
		font-weight: normal;
		background: rgba(51, 51, 51, 0.55);
		color: rgba(255, 255, 255, 0.9);
		line-height: 1em;
		padding: 2px 4px;
		border-radius: 10px;
	}

	#page-header .nav > li.divider {
		display: block;
		height: 38px;
		width: 1px;
		margin: 0 10px;
		background: linear-gradient(rgba(51, 51, 51, 0), rgba(51, 51, 51, 0.5), rgba(102, 102, 102, 0));
	}

	#page-header .search-query {
		color: #f8f8f8;
		border: none;
		background: url(img/home-white.png) 5px 5px no-repeat rgba(51, 51, 51, 0.4);
		padding-left: 32px;
		-webkit-transition: width 0.2s;
		-o-transition: width 0.2s;
		transition: width 0.2s;
		width: 200px;
	}

	#page-header .search-query::-moz-placeholder {
		color: rgba(238, 238, 238, 0.76);
		opacity: 1;
	}

	#page-header .search-query:-ms-input-placeholder {
		color: rgba(238, 238, 238, 0.76);
	}

	#page-header .search-query::-webkit-input-placeholder {
		color: rgba(238, 238, 238, 0.76);
	}

	#page-header .search-query:focus {
		width: 240px;
		-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
		box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	}

	#page-header .navbar-form {
		margin: 5px 15px 0 0;
		padding: 0;
		margin: 0;
		border: none;
		-webkit-box-shadow: none;
		box-shadow: none;
	}

.player{
	display: inline-block;
	font-size: 22px;
	margin:0 5px;
}
.inactif {
	color: lightgrey;
	opacity: 0.3;
}

.actif{
	color: lightblue;
	opacity: 0.8;
}

/***********************************/
/**          CONTENT              **/
/**********************************/
.content {
	position: relative;
  	top: 52px;
  	left:190px;
	padding: 10px 10px 0px 10px;
    margin: 0 0 0 0px; 
    width:calc(100vw - 190px);
    height:calc(100vh - 55px);
    -webkit-transition: margin-top 0.35s ease, opacity 0.2s;
  	-o-transition: margin-top 0.35s ease, opacity 0.2s;
  	transition: margin-top 0.35s ease, opacity 0.2s;
 	opacity: 1;
 	z-index: 2;
 	overflow: auto;
}
  
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
	padding-left: 1%;
	padding-right: 1%;
}

.nav > li.divider {
  display: block;
  height: 38px;
  width: 1px;
  margin: 0 10px;
  background: linear-gradient(rgba(51, 51, 51, 0), rgba(51, 51, 51, 0.5), rgba(102, 102, 102, 0));
}

.pageLoaded::after {
  content: "\f0e7";
  font-family: FontAwesome;
  color:lightblue;
  margin-left: 5px;
}
/***********************************/
/**          LOGO                **/
/**********************************/
.logo a {
  text-decoration: none;
  font-weight: normal;
}
/***********************************/
/**          SIDEBAR             **/
/**********************************/
.sidebar {
  position: fixed;
  top: 50px;
  width: 190px;
  padding: 40px 6px;
  z-index: 1;
  margin: 0px;
  font-weight: 300;
  height: calc(100vh - 50px);
  overflow: auto;
}

.sidebar .panel {
	background: none;
	position: relative;
}
.sidebar .panel details{
	font-size: 1.1em;
	font-weight: 300;  
}

.sidebar .panel summary::after{
	font-family: FontAwesome;
	content: "\f053";
	float:right;
	
}

.sidebar .panel details[open] summary::after{
	font-family: FontAwesome;
	content: "\f107";
	float:right;
	font-size: 1.3em;	
}

.sidebar li a {
	padding: 10px 0px 5px 20px;
	font-size: 13px;
	transition: background-color 0.2s;
	text-decoration: none;
	border-radius: 6px;
	color: #f8f8f8;
}

.side-nav li.active > a {
    font-weight: 700;
}

.side-nav li i[class*=fa] {
	width: 16px;
	margin-right: 12px;
	float: left;
	line-height: 20px;
	font-size: 1em;
	opacity: .7;
	text-align: right;
}
.sous_menu_item{
	margin: 7px 0px 3px 18px;
	
}
/* la petite fleche pour indiquer que c'est groupé lié à la checkbox */
.inputDropDown .dropdown:after {
	display: inline-block;
	font-family: FontAwesome;
	content: "\f107";
	margin-right: -8px;
	position: absolute;
	top: 1px;
	right: 8px;
	-webkit-transition: transform 0.3s ease-in-out;
	-o-transition: transform 0.3s ease-in-out;
	transition: transform 0.3s ease-in-out;
}


/* Bouton radios */ 
input[type=radio].radioButton {
	display: none;
}

input[type="radio"].radioButton + label {
	color: #ffffff;
	background-color: rgba(150, 150, 150, 0.4);
	border-color: rgba(0, 0, 0, 0.15);
}

input[type="radio"].radioButton:hover + label {
	color: #ffffff;
	background-color: rgba(77, 77, 77, 0.4);
	border-color: rgba(0, 0, 0, 0.15);
}

input[type="radio"].radioButton:checked + label {
	background-color: #3378b6 !important;
    border-color: #3378b6 !important;
	color: white;
}

/***********************************/
/**Divers						 **/
/**********************************/
.colorMenu{
	background-color: rgba(51, 51, 51, 0.4);
	min-width: 50px;
	text-align: center;
	margin: 3px;
	padding: 0px;
}
.colorSelect {
	border-radius: 3px;
	width: 34px;
	height: 34px;
	margin: 3px 0px;
}

.doc {
	margin: 15px;
	font-size: 16px;
}

.doc ul {
	 list-style: circle inside;
	 padding-left: 25px;
}

.doc h2{
	margin-left: 10px;
}
.doc h3{
	margin-left: 20px;
}
.doc h4{
	margin-left: 30px;
}
.doc h5{
	margin-left: 40px;
}


.tox-tinymce{
	z-index: 100;
}


/*   ScrollBar */
::-webkit-scrollbar {
 width: 6px;
 height: 6px;
}
::-webkit-scrollbar-thumb {
 background: #828287;
 border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover{
 background: #528bcc;
}
::-webkit-scrollbar-track{
 background: #ffffff;
 border-radius: 9px;
 box-shadow: inset 7px 10px 12px #f0f0f0;
}

/*dropDown*/
.dropDown{
	width: fit-content;
	position: relative;
}
.dropDown > header{
	min-width: 40px;
	width: fit-content;
}
.dropDown > main{
	display: none;
	position: absolute;
	background-color: rgba(51, 51, 51, 0.4);
    text-align: center;
    margin: 3px;
    padding: 8px;
	width: fit-content;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	
}

/* Conteneur BAN (BanInput.js) : positionnement autonome, indépendant de l'ancestor (colonne bootstrap, etc.) */
.ban_wrapper{
	display: block;
	position: relative;
}
/* Propositions d'adresses BAN (BanInput.js) */
.ban_propositions{
	display: none;
	position: absolute;
	z-index: 1000;
	left: 15px;
	right: 15px;
	margin: 0;
	padding: 0;
	list-style: none;
	background-color: #fff;
	color: #333;
	border: 1px solid #ccc;
	max-height: 220px;
	overflow-y: auto;
}
.ban_propositions li{
	padding: 4px 8px;
	cursor: pointer;
}
.ban_propositions li:hover, .ban_propositions li.ban_active{
	background-color: #eee;
}
.ban_message{
	display: none;
	color: #d9534f;
	font-size: 0.85em;
	margin-top: 4px;
}
input.js_banInput.ban_non_valide{
	border-color: #d9534f;
}
.ban_spinner{
	display: none;
	position: absolute;
	z-index: 1001;
	right: 25px;
	top: 50%;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	border: 2px solid #cce5ff;
	border-top-color: #007bff;
	border-radius: 50%;
	animation: ban_spin 0.6s linear infinite;
}
@keyframes ban_spin{
	to{ transform: rotate(360deg); }
}
