/***************************************************************************/
/**** GENERALITES **********************************************************/
/***************************************************************************/
body
{
	background-color: #f5f5f5;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
}

a
{
	color: #009DCC;
}
a:hover
{
	color: #356E7F;
	text-decoration: underline;
}

/* Étoile pour les champs requis des formulaires */
.required:after
{
	color: #f00;
	content: "*";
	margin-left: 5px;
}

/* Sortable */
.ui-sortable-placeholder
{
	box-sizing: border-box;
	border: 2px dashed #cccccc;
	visibility: visible !important;
}

/***************************************************************************/
/**** HEADER ***************************************************************/
/***************************************************************************/
header#main-header div.top-header
{
	background: #00627F;
	color: #ffffff;
	-moz-box-shadow: 0px 5px 5px 0px #c0c0c0;
	-webkit-box-shadow: 0px 5px 5px 0px #c0c0c0;
	-o-box-shadow: 0px 5px 5px 0px #c0c0c0;
	box-shadow: 0px 5px 5px 0px #c0c0c0;
	filter:progid:DXImageTransform.Microsoft.Shadow(color=#c0c0c0, Direction=180, Strength=5);
}

header#main-header div.top-header h1.logo
{
	float: left;
	font-family: 'Baloo Chettan', cursive;
	font-weight: 300 !important;
	margin: 0px;
	padding: 40px 20px;
	
	width: 70%;
}

header#main-header div.top-header h1 span.hightlight
{
	color: #009DCC;
}

header#main-header div.top-header h2.subtitle
{
	float: left;
	font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
	
	padding: 53px 20px;
	margin: 0px;
	
	text-align: right;
	
	width: 30%;
}

/* Menu principal */
.main-menu
{
	margin-top: 5px;
}

/* Menu profil */
.profile .avatar
{
	border-radius: 20px;
		-webkit-border-radius: 20px;
		-moz-border-radius: 20px;
}


/***************************************************************************/
/**** MAIN CONTENT *********************************************************/
/***************************************************************************/

/* ROLES */

.family-tree ul
{
	padding-top: 20px;
	position: relative;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

.family-tree li
{
	float: left;
	text-align: center;
	list-style-type: none;
	position: relative;
	padding: 20px 5px 0 5px;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

.family-tree li::before,.family-tree li::after
{
	content: '';
	position: absolute;
	top: 0;
	right: 50%;
	border-top: 1px solid #ccc;
	width: 50%;
	height: 20px;
}

.family-tree li::after
{
	right: auto;
	left: 50%;
	border-left: 1px solid #ccc;
}

.family-tree li:only-child::after,.family-tree li:only-child::before
{
	display: none;
}

.family-tree li:only-child
{
	padding-top: 0;
}

.family-tree li:first-child::before,.family-tree li:last-child::after
{
	border: 0 none;
}

.family-tree li:last-child::before
{
	border-right: 1px solid #ccc;
	border-radius: 0 5px 0 0;
	-webkit-border-radius: 0 5px 0 0;
	-moz-border-radius: 0 5px 0 0;
}

.family-tree li:first-child::after
{
	border-radius: 5px 0 0 0;
	-webkit-border-radius: 5px 0 0 0;
	-moz-border-radius: 5px 0 0 0;
}

.family-tree ul ul::before
{
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	border-left: 1px solid #ccc;
	width: 0;
	height: 20px;
}

.family-tree li span
{
	border: 1px solid #ccc;
	padding: 5px 10px;
	text-decoration: none;
	color: #666;
	font-family: arial, verdana, tahoma;
	font-size: 11px;
	display: inline-block;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

.family-tree li span:hover,.family-tree li span:hover + ul li span
{
	background: #c8e4f8;
	color: #000;
	border: 1px solid #94a0b4;
}

/* GROUPES DE PROSPECTS */
div#tree-groups div.header-collapse
{
	background: url("../images/css/tree-spin.png") center left no-repeat;
	padding: 5px 0px 5px 30px;
	margin-left: -30px;
}
div#tree-groups div.header-collapse.level-0
{
	background: none;
}
div#tree-groups div[data-toggle='collapse']:before
{
	font-family:'FontAwesome';
	content: "\f056";
}
div#tree-groups div[data-toggle='collapse'].collapsed:before
{
	content: "\f055";
}
div#tree-groups div.body-collapse
{
	background: url("../images/css/tree-line.png") center left repeat-y;
	padding-left: 30px;
}

/* FORMULAIRE BLOCK - ITEM COULEUR */
.colors a.btn-color
{
	height: 50px;
	width: 50px;
}
.colors a.btn-color.selected
{
	background-image: url("../images/css/bg-btn-color.png");
}

/* EDIT CONTENT V2 */
#nl .block-wrapper
{
/* 	border: 1px solid #f00; */
/* 	min-height: 30px; */
	position: relative;
}

#nl .block-wrapper .block-toolbar-v2
{
	background: #383838;
	min-height: 20px;
	padding: 10px;
	position: absolute;
	top: 0px; right: -180px;
	width: 170px;
}
#nl .block-wrapper .block-toolbar-v2:after {
	right: 100%;
	top: calc(10% + 5px);
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(56, 56, 56, 0);
	border-right-color: #383838;
	border-width: 5px;
	margin-top: -5px;
}

#nl .block-wrapper .block-toolbar-v2 i.fa
{	
	background: #ececec;
	border-radius: 2px;
	color: #383838;
	cursor: pointer;
	font-size: 16px;
	padding: 3px;	
}

#nl .block-wrapper .block-toolbar-v2 i.fa.fa-wrapper
{	
	position: relative;	
}

#nl .block-wrapper .block-toolbar-v2 i.fa.fa-wrapper div.color-tool-wrapper
{
	background: #383838;
	display: none;
	position: absolute;	
	top: -65px; left: calc(50% - 50px);
	width: 100px; height: 50px;
}
#nl .block-wrapper .block-toolbar-v2 i.fa.fa-wrapper.open div.color-tool-wrapper
{
	display: block;
}

#nl .block-wrapper .block-toolbar-v2 i.fa.fa-wrapper div.color-tool-wrapper:after {
	top: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(56, 56, 56, 0);
	border-top-color: #383838;
	border-width: 5px;
	margin-left: -5px;
}

#nl .block-wrapper .block-toolbar-v2 i.fa.fa-wrapper div.color-tool-content
{
	background: #383838;
	border:3px solid #383838;
	text-align: center;
	overflow-y: scroll;
	padding: 5px;
	position: absolute;	
	top: 0%; left: 0%;
	width: 100px; height: 50px;
}


#nl .block-wrapper .block-toolbar-v2 i.fa.fa-wrapper div.color-tool-wrapper i.fa
{
	margin-bottom: 5px;
}
#nl .block-wrapper .block-toolbar-v2 i.fa.fa-wrapper div.color-tool-wrapper i.fa.selected
{
	background: #f00;
}

/***************************************************************************/
/**** TABLE ****************************************************************/
/***************************************************************************/
/* Admin table */
table.admin-table th,
table.admin-table td
{
	vertical-align: middle !important;
}
table.admin-table th.actions,
table.admin-table td.actions
{
	text-align: right;
}

/***************************************************************************/
/**** FOOTER ***************************************************************/
/***************************************************************************/

footer#main-footer
{
	text-align:center;
}