
/* #region Variables */
:root {
	--ojc-progressbar-color: rgba(114, 175, 210, 0.5);
}
/* #endregion Variables*/


#loading 
{
	float:right;
	margin-right:50px;
}

/*POPUP : DISABLE BUTTON BEFORE SAVE THE CONTROL*/
.ui-dialog-buttonpane > .ui-dialog-buttonset > button:disabled {
	opacity: 0.35;
}

.popup_close_disabled {
    opacity: 0.35;
    pointer-events: none;
}
/*END POPUP*/
.ojcControl .toolbar-container {
    margin: 0px 0px 0px 0px;
}

.ojcControl .control-header {
    border-right: 0.5px solid #ddd;
    border-left: 0.5px solid #ddd;
    border-top: 0.5px solid #ddd;
    background-color: #ffffff;
    padding: 0.5px 0px;
}

/* Gestion du focus */
.focusIn, table.datagrid.focusIn
{
	border: 2px solid black;
}
.focusOut, table.datagrid.focusOut
{
	border: 2px solid red;
}

/* JQueryUI CUSTOMIZATION */
.ui-widget {
    /*font-size:14px !important;*/
    font-size:inherit !important;
    font-family:inherit !important;
}
#treePageSection
{
	/*font-size: 11px;*/
	color: #222;
}

/* POPUP|MODAL */
.ui-dialog {
    padding: inherit;
    border:0px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.125);
}
.ui-dialog .ui-dialog-title {
    font-size: 18px;
}
.ui-dialog .ui-widget-header {
    border:0px;
    padding: 10px;
    border-bottom: 1px solid #e5e5e5;
}
.ui-dialog .ui-dialog-buttonpane {
    padding: 15px;
    border-top: 1px solid #e5e5e5;
    margin-top: inherit;
}
.ui-dialog .ui-button.ui-state-default, 
.ui-dialog.ui-widget-content .ui-button.ui-state-default, 
.ui-dialog .ui-widget-header .ui-button.ui-state-default
{
    background:inherit;
}
.ui-dialog .btn-primary.ui-button.ui-state-default
{
    background-color: #3c8dbc;
    border-color: #367fa9;
}
.ui-dialog .ui-dialog-buttonpane button 
{
    margin:0 0 0 5px;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset
{
    float:none;
}
.ui-dialog .ui-button-text-only .ui-button-text
{
    padding:0px;
}
.ui-dialog-buttonset .btn-primary
{
    float: right;
}

/* TABS */
.ui-tabs-nav > .ui-state-active, 
.ui-tabs-nav > .ui-widget-content .ui-state-active, 
.ui-tabs-nav > .ui-widget-header .ui-state-active {
    border:0px;
}

.ui-tabs-nav > .ui-state-default, 
.ui-tabs-nav > .ui-widget-content .ui-state-default, 
.ui-tabs-nav > .ui-widget-header .ui-state-default {
    border:0px;
    background:inherit;
}

.ui-widget-header {
    background:inherit;
}
.ui-tabs {
    border:0px !important;
    padding:0px !important;
}
.ui-tabs .ui-tabs-nav {    
    margin: 0 !important;
    padding: 0px !important;
    border: 0px;
    border-bottom: 1px solid #f4f4f4;
}
.ui-tabs .ui-tabs-nav > div.ui-widget-content {
    padding:.2em .2em 0 !important;
}

.ui-tabs .ui-tabs-nav li {
    margin: 0px !important;
    border-top: 3px solid transparent !important;
    margin-bottom: -2px;
    margin-right: 5px;
}
    .ui-tabs .ui-tabs-nav li a {
        padding: 10px 15px !important;
        color: #ccc !important;
        font-size: 16px;
    }

    .ui-tabs .ui-tabs-nav li.ui-tabs-active {
        border-top: 3px solid #3c8dbc !important;
        border-right: 1px solid #f4f4f4 !important;
        border-left: 1px solid #f4f4f4 !important;
        margin-bottom: -1px !important;
        padding-bottom: 1px;
    }

        .ui-tabs .ui-tabs-nav li.ui-tabs-active a,
        .ui-tabs .ui-tabs-nav li a:hover {
            color: #3c8dbc !important;
        }

/* TABS - CORNER */
.ui-corner-all,
.ui-corner-top,
.ui-corner-left,
.ui-corner-tl {
	border-top-left-radius:0 !important;
}
.ui-corner-all,
.ui-corner-top,
.ui-corner-right,
.ui-corner-tr {
	border-top-right-radius:0 !important;
}
.ui-corner-all,
.ui-corner-bottom,
.ui-corner-left,
.ui-corner-bl {
	border-bottom-left-radius:0 !important;
}
.ui-corner-all,
.ui-corner-bottom,
.ui-corner-right,
.ui-corner-br {
	border-bottom-right-radius:0 !important; 
}

.tabsctrl-title {
    float: left;
    padding: 10px;
}
.tabsctrl-headers-right > li:not(.header) {
    float: right !important;
}
.tabsctrl-headers-right > li.header {
    line-height: 35px;
    padding: 0 10px !important;
    font-size: 20px;
    color: #444;
    font-weight: 400;
}


/* NAVIGATORS
----------------------------------------------------------*/
.navigator
{
}

#properties.navigator {
    /*background-image: url('Images/properties_background.png');*/
    background: white;
}

#context.navigator {
    /*background-image: url('Images/context_background.png');*/
    background: white;
}

.navigator > h2
{
	margin: 2px;
	padding: 10px;
	text-align: center;
	font-size: 16px;
	font-weight: normal;
}
.navigatorSection
{
	padding: 2px;
	margin: 0;
    border: 0.5px solid #ddd;
}
    .navigatorSection > h3 {
        padding: 2px 3px;
        font-size: 14px;
        font-weight: bold;
        background-color: white;
        margin: 0;
        cursor: pointer;
    }


/* ACCORDION
----------------------------------------------------------*/
.ui-accordion .ui-accordion-content
{
	overflow: visible;
}
.ui-accordion .ui-accordion-header a
{
	padding: 2px 5px 2px 30px;
}
.ui-accordion .ui-accordion-content
{
	padding: 2px 5px;
}

/* ------------------------------------------------------- */
/* Data display : GRID */
/* ------------------------------------------------------- */

.mainGridTable {
    width: 100%;
    border: 0.5px solid #ddd;
    background: white;
    padding-left: 1px;
}

.search-panel {
    padding-left: 5px;
    padding-bottom:5px;
}
    .search-panel .flex-outer li {
        font-size: 12px;
        padding: 2px;
        padding-top: 0px;
    }
		.search-panel .flex-outer li label, 
		.search-panel .flex-outer li .form-fieldset {
			font-family: Arial;
		}

table.datagrid tr.item.selected.row_editing td {
	box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
	border: 1px solid #ccc;
	border-left-width:0;
	border-right-width:0;
	min-height:16px;
}
div#inlineEditControls {
    border: 1px solid #ccc;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    border-left-width:1px;
	position:absolute;
	width:44px;
	background-color:#fff;
}
.dropMenuList {
    margin-left: 5px
}
div#inlineEditControls .ui-icon {
    float:left;
    margin-left: 4px;
}
div#inlineEditControls .ui-icon.ui-icon-cancel {
 	background-image: url(images/ui-icons_cd0a0a_256x240.png);
}
div#inlineEditControls .ui-icon.ui-icon-check {
 	background-image: url(images/ui-icons_1e9e33_256x240.png);
}
.ojcGrid .messageBox {
    position: absolute;
    top: 0px;
    right: 14px;
    border: 1px solid rgba(128, 128, 128, 0.5);
    border-radius: 2px;
    padding-left: 4px;
    padding-right: 4px;
}

	.ojcGrid .messageBox > ul {
		margin: 0px;
		padding: 0px;
	}

		.ojcGrid .messageBox > ul > li {
			margin: 0px;
			list-style-type: none;
		}

/* datagrid */
table.datagrid {
    border-collapse: collapse;
    width: 100%;
    color: #000;
}
table.datagrid > thead > tr > th
{
	font-weight: normal;
	overflow:hidden;
	text-align:left;
	color:#000;
    vertical-align: bottom;
    border-bottom: 1px solid #f4f4f4;
    padding-right: 30px;
}

    table.datagrid > thead > tr > th > .sortable {
        cursor: pointer;
        color: var(--ojc-primary-color);
    }

        table.datagrid > thead > tr > th > .sortable:hover {
            text-decoration: underline;
            color: rgb(57, 140, 172);
        }

    table.datagrid > thead > tr.colHeader > th {
        position: relative;
    }
table.datagrid > tbody
{
	border-collapse: collapse;
	padding: 2px;
}
table.datagrid > tbody > tr
{
	background-color: #FFFFFF;
}
table.datagrid > tbody > tr.alt
{
	background-color: #F0F0F0;
}
table.datagrid > tbody > tr > td 
{
	margin:0;
	white-space:normal;
}
table.datagrid > tbody .item 
{
	border: solid 1px transparent;
}
table.datagrid > tbody .item.current
{
	border: solid 1px darkblue;
}

.datagrid .item.selected a {
    color: white;
}

table.datagrid > tbody .item td 
{
	padding-left:2px; 
	padding-right:2px;
    border-top: 1px solid #f4f4f4;
}
table.datagrid > tbody .item td.clickable {
    cursor:pointer;
}

    table.datagrid > tfoot {
        font-size: 12px;
    }

        table.datagrid > tfoot > tr > th {
            font-weight: normal;
            text-align: left;
            white-space: nowrap;
            padding: 4px 6px 4px 6px;
            border-top: 1px solid #f4f4f4;
        }

        table.datagrid > tfoot .ui-pg-table .ui-pg-button {
            cursor: pointer;
            padding-left: 5px;
            padding-right: 5px;
        }

			table.datagrid > tfoot .ui-pg-table .ui-pg-button .triangle-left {
				border-right-width: 10px;
			}

			table.datagrid > tfoot .ui-pg-table .ui-pg-button .triangle-right {
				border-left-width: 10px;
			}

			table.datagrid > tfoot .ui-pg-table .ui-pg-button:hover {
				background-color: white;
			}

            table.datagrid > tfoot .ui-pg-table .ui-pg-button.disabled {
                cursor: default;
                opacity: .35;
            }

				table.datagrid > tfoot .ui-pg-table .ui-pg-button.disabled:hover {
					background-color: inherit;
				}

        table.datagrid > tfoot > tr > th > div {
            padding: 4px;
        }

/* colHeader */
table.datagrid > thead > tr.colHeader > th
{
	padding: 6px;
}
table.datagrid > thead > tr.colHeader > th,
table.datagrid > thead
 {
    background-color: #FFFFFF;
}
table.datagrid > thead > tr.colHeader > th div.colSortIcon
{
	/*float:right;
	padding-right:10px;*/

    position: absolute;
    top: 8px;
    right: 8px;
    display: block;
}
/* toolbar */
table.datagrid > thead > tr > th.toolbar
{
	background-color: #FFFFFF;
}
table.datagrid > thead > tr > th.toolbar > div 
{
	padding:2px;
}
/* highlighting */
/*table.datagrid tbody tr.over td, table.datagrid div.over*/
tr.over > td {
    background-color: var(--ojc-hover-color) !important; /* priority over striped mode */
    border-top: 1px solid #dddddd;
}
table.datagrid .selected,
table.datagrid .selected > td,
table.datagrid .selected > th {
    background-color: var(--ojc-selection-color) !important; /* priority over striped mode */
    color: #FFFFFF;
}
.inFocus > table.datagrid tr.selected td, .inFocus table.datagrid div.selected,
.inFocus > form > table.datagrid tr.selected td, .inFocus form > table.datagrid div.selected,
.inFocus > table.datagrid-striped tr.selected td
{
	background-color: #46f !important; /* priority over striped mode */
	color: White;
}
.ui-draggable > table.datagrid .selected 
{
    cursor:-webkit-grab;
    cursor:-moz-grab;        
}
/* helper (img, search zone, form) */
table.datagrid div#searchPanel 
{
	background: #FFFFFF;
}
table.datagrid select,
table.datagrid input[type="text"] 
{
	font-size:12px;
    border: 1px solid rgba(0,0,0,.15);
    padding: .10rem .2rem;
}
table.datagrid a img, .ui-jqgrid a img
{
	border: 0;
}

table.datagrid > tfoot .ui-pg-table {
    margin: auto;
    margin-right: 0;
}

    table.datagrid > tfoot .ui-pg-table input.selbox {
        text-align: center;
        padding: 0px;
        font-family: inherit;
    }

    table.datagrid > tfoot .ui-pg-table .pageSizeSelector {
        padding: 0px;
        font-family: inherit;
    }

table.datagrid #textEditControl, table.datagrid #numberEditControl, table.datagrid #booleanEditControl,
table.datagrid #multilineEditControl, table.datagrid #dateEditControl {
    width: 100%;
}
table.datagrid tr.item input[type=text], table.datagrid tr.item textarea
{
    width:90%;
}

/* Datagrid Striped */
.datagrid-striped>tbody>tr:nth-child(odd)>td,
.datagrid-striped>tbody>tr:nth-child(odd)>th {
	background-color: #f9f9f9;
}
.datagrid-striped>tbody>tr:nth-child(even)>td {
	background-color:#fff;
}

table.datagrid tr.item input[type=text].date-control {
    width: auto;
}

/* Thumbnails */
.thumbnail {
	float:left;
	margin:3px;
	text-align:center;
	width:110px;
	height:110px;
    overflow:hidden;
}

	.thumbnail .details { 
		background:url(../pages/im/css/../img/im.gif) no-repeat bottom right;
		text-align:left;
	}

	.thumbnail .details .name {     
		margin:0px 5px;
		padding:3px 0px 2px 0px;
		font:90% tahoma, arial, sans-serif;
		overflow:hidden;
		text-align:center;
		line-height: 16px;
		height:16px;
		white-space:nowrap;
	}

	.thumbnail .act 
	{
		float:right;
	}

	.thumbnail td {
		text-align: left;
	}

table.datagrid tr.selected td.cell_modified,
table.datagrid div.selected.cell_modified,
table.datagrid > tbody > tr > td.cell_modified {
	background-color: #F8E2A0;
}
.cell_edit
{
	background-color: #FFC;
}
.cell_editing 
{
    /*background-color: #FCF;*/
}

/* Grid in a dropmenu */
ul.ojcDropMenu ul.pane-item > li > .mainGridTable {
    border: none;
}

/* Data display : TREE
----------------------------------------------------------*/
div.tree {
    overflow: auto;
    margin: 0px;
    padding: 0px;
    background: white;
}

    div.tree > .control-header {
        border-bottom: 0.5px solid #ddd;
    }
    div.tree div.tree_node {
        border: 1px solid #ddd;
        border-top: 0px;
        padding-top: 2px;
        padding-bottom: 2px;
        white-space: nowrap;
        clear: left;
        cursor: pointer;
    }
        div.tree div.tree_node .fa,
        div.tree div.tree_node .glyphicon,
        div.tree div.tree_node .ion {
            width: 23px;
        }

    div.tree div.tree_node.selectable {
        cursor: pointer;
    }

    div.tree div.tree_node span.tree_node_expand_icon {
        display: inline-block;
        text-indent: -99999px;
        overflow: hidden;
        background-repeat: no-repeat;
        width: 16px;
        height: 16px;
    }

    div.tree div.tree_node.tree_node_expanded span.tree_node_expand_icon {
        background-image: url(Images/ui-icons_222222_256x240.png);
        background-position: -16px -208px; /* minus icon */
        margin-top: 2px;
    }

    div.tree div.tree_node.tree_node_expanded div {
        border: 0px;
    }

        div.tree div.tree_node.drop-hover,
        div.tree div.tree_node.tree_node_expanded div.tree_node.drop-hover {
            border: 1px dashed var(--ojc-primary-color);
        }


    div.tree div.tree_node.tree_node_collapsed span.tree_node_expand_icon {
        background-image: url(Images/ui-icons_222222_256x240.png);
        background-position: 0px -208px; /* plus icon */
    }

    div.tree div.tree_node.empty span.tree_node_expand_icon {
        background-image: none;
    }

    div.tree div.tree_node .tree_node_content {
        padding: 0px 0px 0px 16px;
    }
        /* reserve space for dropping item on it */
        div.tree div.tree_node .tree_node_content.ui-sortable {
            min-height: 20px;
        }

    div.tree div.tree_node > span.tree_node_label > img {
        margin-right: 4px;
        vertical-align: sub;
    }

    div.tree div.tree_node.tree_node_collapsed .tree_node_content {
        display: none;
    }

    div.tree div.tree_node > table > tbody > tr > td.tree_node_label /* > span */ {
        white-space: nowrap;
    }

    div.tree div.tree_node.over > table > tbody > tr > td.tree_node_label > span {
        background-color: #B2D2FF;
    }

    div.tree div.tree_node > span.tree_node_label {
        float: none;
        display: inline-block;
        overflow-x: auto;
        overflow-y: hidden;
        vertical-align: middle;
        width: 96%;
    }

        div.tree div.tree_node > span.tree_node_label.ui-droppable {
            border: 2px dashed transparent;
        }

            div.tree div.tree_node > span.tree_node_label.ui-droppable.drop-hover {
                border-color: gray;
            }

        div.tree div.tree_node > span.tree_node_label:hover {
            color: #333;
            background: #e7f1f6;
        }

        div.tree div.tree_node.selected > span.tree_node_label {
            color: white;
            background: #3f9abf;
        }



.inFocus > div.tree div.tree_node.selected > table > tbody > tr > td.tree_node_label > span
{
	color: #333;
}

tr.pane-item div.tree {
    margin:0px;
}

.tree .tree-search-show {
	display: block !important;
}

.tree .tree-search-hide {
	display: none !important;
}

/* Data display : TREE alternative look : CssClass = "tree2"
----------------------------------------------------------*/
.tree.tree2 div.tree_node.tree_node_expanded span.tree_node_expand_icon
{
	background-position: -64px -16px; /* minus icon */
}

.tree.tree2 div.tree_node.tree_node_collapsed span.tree_node_expand_icon
{
	background-position: -95px -16px; /* plus icon > */
}

.tree.tree2 div.tree_node .tree_node_content
{
	padding: 0px;
	margin-left:8px;
	margin-top: 2px;
}

/* Data display : TREE alternative look : CssClass = "tree3"
----------------------------------------------------------*/
.tree.tree3 
{
	background-color:#f9fafc;
    border: 1px solid #d2d6de;
	color:#333;
}
.tree.tree3  > div > div:first-child {
    border-top:0px;
}
body.wide .tree.tree3 {
    border:0px;
    border-right: 1px solid #d2d6de;
}
.tree.tree3 div.tree_node
{
    border-left: none;
    border-right: none;
}

.tree.tree3 div.tree_node span.tree_node_label
{
    padding:15px 0px 15px 0px;
}

.tree.tree3 div.tree_node.selected
{
    background-color: #f4f4f5;
    color: #333;
}

.inFocus > .tree.tree3 div.tree_node.selected
{
	background-color:#f4f4f5;
}
.tree.tree3 div.tree_node.selected > table > tbody > tr > td.tree_node_label > span,
.tree.tree3 div.tree_node.selected > span.tree_node_label
{
	background-color: transparent;/*#46f;*/
	color: #333;
}
.inFocus > div.tree.tree3 div.tree_node.selected > table > tbody > tr > td.tree_node_label > span,
.inFocus > div.tree.tree3 div.tree_node.selected > span.tree_node_label
{
	background-color: transparent;
	color: #333;
}

.tree.tree3 div.tree_node .tree_node_content
{
	padding: 0px;
	margin-left:8px;
}
.tree.tree3 div.tree_node.tree_node_collapsed span.tree_node_expand_icon
{
	background-image: url(Images/ui-icons_888888_256x240.png);
	background-position: -95px -16px; /* plus icon "<" */
}
.tree.tree3 div.tree_node.tree_node_expanded span.tree_node_expand_icon
{
	background-image: url(Images/ui-icons_888888_256x240.png);
	background-position: -64px -16px; /* minus icon */
}
.tree.tree3 div.tree_node.tree_node_collapsed span.tree_node_expand_icon, 
.tree.tree3 div.tree_node.tree_node_expanded span.tree_node_expand_icon
{
    margin-top: 13px;
}

.tree.tree3 div.tree_node.empty span.tree_node_expand_icon
{
	background-image: none;
}

.tree.tree3 .treeHeader.toolbar td
{
	background-color:#bbb;
}

/* Data display : TREE alternative look : CssClass = "tree4"
----------------------------------------------------------*/

.tree.tree4 div.tree_node.tree_node_collapsed span.tree_node_expand_icon,
.tree.tree4 div.tree_node.tree_node_expanded span.tree_node_expand_icon {
    margin-top: 4px;
    /*width:7%;*/
}

.tree.tree4 div.tree_node.tree_node_expanded span.tree_node_expand_icon
{
	background-position: -64px -16px; /* minus icon */
}

.tree.tree4 div.tree_node.tree_node_collapsed span.tree_node_expand_icon
{
	background-position: -32px -16px;
}

.tree.tree4 div.tree_node {
    /*padding-left: 0px;*/
    border:0px;
}

.tree.tree4 div.tree_node .tree_node_content
{
	padding: 0px;
	margin-left:8px;
	margin-top: 2px;
}

.tree.tree4 div.tree_node > span.tree_node_expand_icon {
    float:left;
}

.tree.tree4 div.tree_node > span.tree_node_label {
    width:92% !important;
}

/* Data display : TREE alternative look : CssClass = "tree5"
----------------------------------------------------------*/

.tree.tree5 div.tree_node.tree_node_expanded span.tree_node_expand_icon
{
	background-position: -64px -16px; /* icÃ´ne "minus" */
}

.tree.tree5 div.tree_node.tree_node_collapsed span.tree_node_expand_icon
{
	background-position: -32px -16px; /* icÃ´ne plus : ">" */
}

.tree.tree5 div.tree_node .tree_node_content
{
	padding: 0px;
	margin-left:8px;
	margin-top: 2px;
}

.tree.tree5 {
    width:100%;
}

.tree.tree5 div.tree_node {
    border:0px;
}

/* #region SELECT Control
----------------------------------------------------------*/
.tokenized > li,
.tokenized > div {
    display: inline-block;
    margin: 2px;
    padding: 2px 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #999;
    color: white;
}

.tokenized > .red {
    background: rgb(204, 51, 51);
}

.tokenized > .apple {
    background: rgb(51, 204, 100);
}

.tokenized > .orange {
    background: rgb(226, 101, 29);
}

.tokenized > .magenta {
    background: rgb(204, 51, 112);
}

.tokenized > .purple {
    background: rgb(135, 50, 200);
}

.tokenized > .cyan {
    background: rgb(51, 204, 204);
}

.tokenized > .yellow {
    background: rgb(247, 220, 110);
}

.tokenized > .black {
    background: rgb(0, 0, 0);
}

.tokenized > .gray {
    background: rgb(100, 100, 100);
}

.tokenized > .navy {
    background: rgb(4, 0, 107);
}

.tokenized > .green {
    background: rgb(35, 133, 40);
}

.tokenized > .pink {
    background: rgb(209, 46, 211);
}

.tokenized > .sand {
    background: rgb(72, 77, 48);
}

.tokenized > .brown {
    background: rgb(110, 44, 0);
}

.tokenized > .light-yellow {
    background: rgb(249, 231, 159);
}

.tokenized > .light-red {
    background: rgb(230, 176, 170);
}

/*  Data display : Select, Selector
----------------------------------------------------------*/
.ojcSelect div.toolbar > table td,
.ojcSelector div.toolbar > table td {
	background-color:transparent;
}
.ojcSelect div.toolbar > table td,
.ojcSelector div.toolbar > table td {
	border-color:transparent;
}

/* Select2
----------------------------------------------------------*/

/* Fix issue with multiple selector width */
.ojcSelect2 .select2-container--default .select2-selection--multiple .select2-selection__rendered li.select2-selection__choice {
    width: auto;
}
/* Fix issue with multiple selector width, font */
.ojcSelect2 .select2-container--default .select2-search--inline .select2-search__field {
    width: inherit !important;
    font-family: inherit;
}

.ojcSelect2 .select2-container--default.select2-container--focus .select2-selection--multiple {
    outline: #9dbff2 auto 5px;
}

.select2-results .opt-disabled {
    pointer-events: none;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
}
.select2-results .opt-parent {
    font-weight: bold;
}
.select2-results .opt-level-1 {
    padding-left: 6px;
}
.select2-results .opt-level-2 {
    padding-left: 12px;
}
.select2-results .opt-level-3 {
    padding-left: 18px;
}
.select2-results .opt-level-4 {
    padding-left: 24px;
}
.select2-results .opt-level-5 {
    padding-left: 30px;
}

.ojcSelect2 .select2-container--default .select2-selection--multiple .select2-selection__choice {
    color: black;
}

.select2-results__options .opt-highlighted {
	font-weight: bold;
}
/* #endregion */
/* TOOLBAR Control
----------------------------------------------------------*/
span.toolbar {
    width: 100%;
    height: 30px;
    display: block;
    z-index: 200;
    clear: both;
}

/* TOOLBAR v1 */
.toolbar > table
{
	height: 22px;
}
span.toolbar > table
{
	float: right;
}
.toolbar > table td
{
	width: 17px;
	height: 17px;
	padding: 0;
	margin: 0;
	/* border: 1px solid /*#ccc; #FFF */
}
.toolbar > table td.ui-state-hover
{
	border: 1px solid #999;
}
/* Intégration Toolbar / DropMenu : état "open" */
.toolbar > table td.ui-state-open
{
	background-color:#eee;
	border: 1px solid #999;
	margin: -1px;
}

/* TOOLBAR v2 */
.toolbar.toolbar-container {
    padding: 0px 1px;
}

    .toolbar.toolbar-container .btn {
        border: none;
        border-radius: 0px;
        background-color: rgba(255,255,255,0);
    }

		/* When hovering on button or a dropmenu bound to the button is open */
		.toolbar.toolbar-container .btn:hover,
		.toolbar.toolbar-container .btn.ui-state-open {
			background-color: #f4f4f4;
		}


/* Data display : PANE
----------------------------------------------------------*/
.ojcPane div.pane_content {
	padding: 1%;
}

.ojcPane .messageBox {
	position: absolute;
	right: 0px;
	padding-right: 1%;
}
	.ojcPane .messageBox > ul {
		margin: 0px;
	}
		.ojcPane .messageBox > ul > li {
			list-style-type: none;
			padding: 0px 3px;
			border: 1px solid rgba(128, 128, 128, 0.5);
			border-radius: 2px;
			background: rgba(75, 75, 200, 0.3);
		}
			.ojcPane .messageBox > ul > li.success {
				background: rgba(150, 200, 75, 0.3);
			}
			.ojcPane .messageBox > ul > li.error {
				background: rgba(200, 75, 75, 0.3);
			}


.ojcPane.ui-tabs-panel div.pane_content {
    padding: 0;
}

div.ui-dialog-content > iframe.pane_content {
    width: 100%;
    height: 98%;
}

.paneWithTabs > div.pane_content 
{
	width:100%;
}

td#treePageNavigation
{
    color: #333;
    width:220px;
}

/* Data display : PANE - TOOLBARS
----------------------------------------------------------*/

.ojcPane .toolbarOnBottom {
    padding: 10px 0px 10px 0px;
}
    .ojcPane .toolbarOnBottom:before, .toolbarOnBottom:after {
        content: " ";
        display: table;
    }
    .ojcPane .toolbarOnBottom:after {
        clear: both;
    }

    .ojcPane .toolbarOnBottom .btn {
        margin-left: 5px;
        margin-right: 5px;
    }

.ojcPane > .toolbar-container > .btn-group {
    text-align: right;
}


/* Data display : XML LOG
----------------------------------------------------------*/
div.xmllog {
    overflow: auto;
}

div.xmllog_entry tr > td > span.xmllog_entry_expand_icon
{
	display: block;
	text-indent: -99999px;
	overflow: hidden;
	background-repeat: no-repeat;
	width: 16px;
	height: 16px;
}

div.xmllog_entry.xmllog_entry_expanded tr > td > span.xmllog_entry_expand_icon
{
	background-image: url(Images/ui-icons_222222_256x240.png);
	background-position: -16px -208px; /* icÃ´ne "minus" */
}

div.xmllog_entry.xmllog_entry_collapsed tr > td > span.xmllog_entry_expand_icon
{
	background-image: url(Images/ui-icons_222222_256x240.png);
	background-position: 0px -208px; /* icÃ´ne "plus" */
}

div.xmllog_entry.empty tr > td > span.xmllog_entry_expand_icon
{
	background-image: none;
}

div.xmllog_entry .xmllog_entry_content
{
	padding: 0px 0px 0px 16px;
}
div.xmllog_entry.xmllog_entry_collapsed .xmllog_entry_content
{
	display: none;
}

div.xmllog_entry > table > tbody > tr > td.xmllog_entry_label > span
{
	white-space: nowrap;
}

div.xmllog_entry > table > tbody > tr > td.xmllog_entry_label.pre
{
	white-space: pre-wrap;
	font-size:9px;
}

div.xmllog_entry > table.level_0 
{
	font-weight:bold;
}

/* Data display : Collapsible sections
----------------------------------------------------------*/
.collapsibleSection
{
	padding:5px 2px;
}

.collapsibleSection > span.title
{
	font-weight:bold;
	cursor:pointer;	
}

.collapsibleSection > span.expandIcon 
{
	cursor:pointer;	
	clear:left;
	float:left;
	margin-right:4px;
	background-position: -48px -192px;
}
.collapsibleSection  > span.bulletIcon 
{
	clear:left;
	float:left;
	margin-right:4px;
	background-position: -80px -144px;
}
.collapsibleSection > div
{
	margin-left:20px;
}
.collapsibleSection.opened 
{
	/*font-weight:bold;*/
}
.collapsibleSection.opened > span.expandIcon 
{
	background-position: -64px -192px;
}

/* Data display : Extensible lists
----------------------------------------------------------*/

.extendList a 
{
	font-size:12px;
	font-weight:bold;
	text-decoration:none;
	margin:2px;
}

/* Data display : AGENDA
----------------------------------------------------------*/

table.agenda 
{
	border: 1px solid #ddd;
	table-layout:fixed;
}
table.agenda > tbody > tr > td
{
	border-left:1px solid #ddd;
	padding: 4px 8px;
}
table.agenda.vertical > tbody > tr > td
{
	border-top:1px solid #ddd;
}
table.agenda.horizontal > tbody > tr > td
{
	width:150px;
	table-layout:fixed;	
}
table.agenda.horizontal > tbody > tr > td > p
{
    display:inline;
}

table.agenda.horizontal > tbody > tr > td > table > tbody > tr > td > span
{
    display:block;
    width:150px;
    overflow:hidden;
    text-overflow: ellipsis;
}
table.agenda.horizontal > tbody > tr > td > p
{
    float:right;
}

table.agenda > tbody > tr > td.selected 
{
	background-color: #92B2DF;
	color: White;
}
table.agenda > tbody > tr > td.today
{
	background-color: #FB7979;
}
table.agenda > tbody > tr > td > a 
{
	color:Black;
	text-decoration:none;
}

/* Page PARTS
----------------------------------------------------------*/

td.field_label 
{
	text-align:right;
}


/* PAGE EDITOR
----------------------------------------------------------*/
#partTypes 
{
    position:fixed;
    border: 1px solid #CCCCCC;
    width: 20%;
    height: 75%;
    overflow: auto;
}

.controlPane
{
	padding: 5px;
	min-height:30px;
	min-width:60px;
	margin:2px;
	border: 1px dashed silver;
}

.partTypeSection
{
	display:none;
}

.partTypeSectionName 
{
	font-size:15px;
	color:#555;
}

.partType {
	background-color: #EEEEEE;
	border: 1px solid #DDDDDD;
	color: #555555;
	margin: 5px 1px 5px 10px;
	padding: 2px;
}

.partType.ui-draggable
{
    cursor:-webkit-grab;
    cursor:-moz-grab;
}


.partType.ui-draggable-dragging
{
/*	width:120px;*/
	padding:2px 15px 2px 2px;
	border: 1px outset #55F;
	background-color:#11A;
	color:White;
	font-size:13px;
}

#pageLayout 
{
}
#pageEditor > .controlPane
{
/*	margin-right:250px;*/
	height:600px;
	overflow:scroll;
}

#sidePanel
{
/*	position:fixed;
	top:60px;
	right:5px;
	width:200px;*/
	right:0;
	height:600px;
	overflow:auto;
	z-index:200;
}

.control
{
	margin:2px;
	border: 1px outset #555;
}

.control > .pane_header
{
	font-size: 11px;
	font-family: Verdana, Helvetica, Sans-Serif;
	padding:2px 5px;
	background-color: #eee;
	height:20px;
}

.control.ui-draggable-dragging
{
	width:300px;
}

.control.ui-draggable-dragging > .pane_header
{
	background-color:#11A;
	color:White;
	font-size:13px;
}

.control.ui-draggable-dragging > div.pane_content
{
	display:none;
}

.control.ui-draggable-dragging > .pane_header .toolbar
{
	display:none;
}

.controlDropPlaceHolder
{
/*	border-top: 1px solid #11A;
	width:20px;*/
	height:15px;
	width:100%;
}
.controlDropPlaceHolder.active
{
	background-color:#AAA;
}
.controlDropPlaceHolder.hover
{
	background-color:#88F;/*#AAF;*/
}

.togglable 
{
    cursor:pointer;
}

/* Flowchart
----------------------------------------------------------*/
table.flowchart
{
	border:1px solid #ccc;
	background-color:white;
}

svg #background
{
	fill: #FAFAFA;
	stroke: #F0F0F0;
}

svg .node
{
	fill: steelblue;
	fill-opacity:0.8;
	stroke: gray;
	stroke-width: 2.5;
	stroke-opacity:0.9;
}

svg .node .box
{
	stroke-linejoin: round;
}

svg .node .nodeConnector
{
	fill: lightgray;
	stroke: #F00;
	stroke-width: 2;
	stroke-opacity:0.4;
}

svg .node text
{
	stroke: gray;
	stroke-width: 0.2;
	fill: white;
	fill-opacity: 1;
	font-size: 16pt;
}

svg .node .editButton
{
	stroke: white;
	stroke-width: 1.5;
	stroke-opacity:0.1;
	fill: white;
	fill-opacity: 0.5;
	font-size: 8pt;
}
svg .node .editButton:hover
{
	cursor:pointer;
	stroke-opacity:0.8;
	fill-opacity: 0.8;	
}

svg .link
{
	stroke: gray;
	fill: none;
	stroke-width: 3;
}

svg .link:hover
{
	stroke-width: 5;
}

svg .link .linkConnector
{
	stroke-width: 1;
}

svg .link .linkConnector:hover
{
	stroke-width: 1.5;
}

svg .link .startLinkConnector
{
	fill: lightgreen;
}

svg .link .endLinkConnector
{
	fill: lightsalmon;
}

svg #stop1
{
	stop-color: steelblue;
	stop-opacity: 0.7;
}
svg #stop2
{
	stop-color: blue;
	stop-opacity: 0.7;
}

svg a:hover text
{
	text-decoration: underline;
}

svg .selected
{
	stroke: #0AE;
	stroke-width: 3.5;
}

svg .link.selected:hover
{
	stroke-width: 5;
}

svg .dragged
{
	stroke: #F00;
	stroke-opacity:0.5;
	stroke-width: 3.5;
	cursor:move;
}

/* Grid Test */
#thumblist { }
#thumblist table.datagrid {border: 0; width: auto;}
#thumblist table.datagrid td {vertical-align: top;}
#thumblist .thumblist {display: block; border-top: 1px solid #CCCCCC; padding:5px 0 10px 0;}
#thumblist .logo {display: block; text-align:center; width:100px;}
#thumblist .details {padding-left: 10px;}

.task_event {display: block; padding: 5px;}
.task_event .header {display: block; padding: 3px; background-color: #DDDDDD; font-weight: bold;}
.task_event ul li {font-weight: bold;}
.task_event p {margin: 0; padding: 0 10px;}

.task_comment {display: block; padding: 5px; background-color: #EEEEEE;}
.task_comment .header {display: block; padding: 3px; font-weight: bold;}
.task_comment p {margin: 0; padding: 0 10px;}



/****************************************************
    File Selector
*****************************************************/
.ojcFileSelector {
    border: 1px dashed #aaa;
    border-radius: .25rem;
    background-color: rgba(255,255,255,0.7);
    width: 100%;
    height: 100%;
    overflow: auto;
    min-height: 75px;
    padding: 2px 10px;
}
    .ojcFileSelector.fallback {
        border: none;
        border-radius:initial;
        min-height:initial;
    }



    /* Copied & modified from dropzone.css */
    .ojcFileSelector.dz-clickable {
        cursor: pointer;
    }

        .ojcFileSelector.dz-clickable * {
            cursor: default;
        }

        /* Special rules for file download link */
        .ojcFileSelector.dz-clickable .dz-message, .ojcFileSelector.dz-clickable .dz-message * {
            cursor: pointer;
        }
        /* Special rules for file download link */
        .ojcFileSelector.dz-clickable a.file-download:hover * {
            cursor: pointer;
        }

		.ojcFileSelector.dz-clickable.invalid-dropzone {
			border: 3px dashed #f90000;
		}

    .ojcFileSelector.dz-started .dz-message {
        display: none;
    }

    .ojcFileSelector.dz-drag-hover, .ojcFileSelector.dz-started {
        border-style: solid;
        background-color: rgba(255,255,255,0.9);
    }

		.ojcFileSelector.dz-drag-hover {
			border-color: var(--ojc-hover-color);
		}

		.ojcFileSelector.dz-drag-hover .dz-message {
			opacity: 0.5;
		}

    .ojcFileSelector .dz-message {
        text-align: center;
        margin: 2em 0;
    }

    .ojcFileSelector .dz-preview {
        position: relative;
        display: inline-block;
        vertical-align: top;
        margin: 2px;
        min-height: 60px;
    }

        .ojcFileSelector .dz-preview:hover {
            z-index: 1000;
        }

            .ojcFileSelector .dz-preview:hover .dz-details {
                opacity: 1;
            }

        .ojcFileSelector .dz-preview.dz-file-preview .dz-image {
            border-radius: .25rem;
            background: #999;
            background: linear-gradient(to bottom, #eee, #ddd);
            border: 1px solid lightgray;
        }

        .ojcFileSelector .dz-preview.dz-file-preview .dz-details {
            opacity: 1;
        }

        .ojcFileSelector .dz-preview.dz-image-preview {
            background: white;
        }

            .ojcFileSelector .dz-preview.dz-image-preview .dz-details {
                -webkit-transition: opacity 0.2s linear;
                -moz-transition: opacity 0.2s linear;
                -ms-transition: opacity 0.2s linear;
                -o-transition: opacity 0.2s linear;
                transition: opacity 0.2s linear;
            }

        .ojcFileSelector .dz-preview .dz-remove {
            font-size: 14px;
            text-align: center;
            display: block;
            cursor: pointer;
            border: none;
        }

            .ojcFileSelector .dz-preview .dz-remove:hover {
                text-decoration: underline;
            }

        .ojcFileSelector .dz-preview:hover .dz-details {
            opacity: 1;
        }

			.ojcFileSelector .dz-preview:hover .dz-details a.file-download span {
				cursor: pointer;
			}

        .ojcFileSelector .dz-preview .dz-details {
            /*z-index: 20;*/
            position: absolute;
            top: 0;
            left: 0;
            opacity: 0;
            /* font-size: 13px; */
            min-width: 100%;
            max-width: 100%;
            padding: 1.5em 0.1em;
            text-align: center;
            color: rgba(0, 0, 0, 0.9);
            line-height: 150%;
        }

            .ojcFileSelector .dz-preview .dz-details .dz-size {
                margin-bottom: 1em;
                font-size: 16px;
                display: none;
            }

            .ojcFileSelector .dz-preview .dz-details .dz-filename {
                white-space: nowrap;
            }

                .ojcFileSelector .dz-preview .dz-details .dz-filename:hover span {
                    border: 1px solid rgba(200, 200, 200, 0.8);
                    background-color: rgba(255, 255, 255, 0.8);
                }

                .ojcFileSelector .dz-preview .dz-details .dz-filename:not(:hover) {
                    overflow: hidden;
                    text-overflow: ellipsis;
                    width: 80%;
                    margin: 0px auto;
                }

                    .ojcFileSelector .dz-preview .dz-details .dz-filename:not(:hover) span {
                        border: 1px solid transparent;
                    }

                .ojcFileSelector .dz-preview .dz-details .dz-filename span, .ojcFileSelector .dz-preview .dz-details .dz-size span {
                    background-color: rgba(255, 255, 255, 0.4);
                    /* padding: 0 0.4em; */
                    border-radius: 3px;
                }

        .ojcFileSelector .dz-preview:hover .dz-image img {
            -webkit-transform: scale(1.05, 1.05);
            -moz-transform: scale(1.05, 1.05);
            -ms-transform: scale(1.05, 1.05);
            -o-transform: scale(1.05, 1.05);
            transform: scale(1.05, 1.05);
            -webkit-filter: blur(8px);
            filter: blur(8px);
        }

        .ojcFileSelector .dz-preview .dz-image {
            border-radius: .25rem;
            border: 1px solid #aaa;
            overflow: hidden;
            width: 100px;
            height: 75px;
            position: relative;
            /*z-index: 10;*/
            display: flex;
            align-items: center;
            justify-content: center;
        }

            .ojcFileSelector .dz-preview .dz-image img {
                display: block;
            }

        .ojcFileSelector .dz-preview.dz-success .dz-success-mark {
            -webkit-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
            -moz-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
            -ms-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
            -o-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
            animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
        }

        .ojcFileSelector .dz-preview.dz-error .dz-error-mark {
            opacity: 1;
            -webkit-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
            -moz-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
            -ms-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
            -o-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
            animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
        }

        .ojcFileSelector .dz-preview .dz-success-mark, .ojcFileSelector .dz-preview .dz-error-mark {
            pointer-events: none;
            opacity: 0;
            z-index: 500;
            position: absolute;
            display: block;
            top: 50%;
            left: 50%;
            margin-left: -27px;
            margin-top: -27px;
        }

            .ojcFileSelector .dz-preview .dz-success-mark svg, .ojcFileSelector .dz-preview .dz-error-mark svg {
                display: block;
                width: 54px;
                height: 54px;
            }

        .ojcFileSelector .dz-preview.dz-processing .dz-progress {
            opacity: 1;
            -webkit-transition: all 0.2s linear;
            -moz-transition: all 0.2s linear;
            -ms-transition: all 0.2s linear;
            -o-transition: all 0.2s linear;
            transition: all 0.2s linear;
        }

        .ojcFileSelector .dz-preview.dz-complete .dz-progress {
            opacity: 0;
            -webkit-transition: opacity 0.4s ease-in;
            -moz-transition: opacity 0.4s ease-in;
            -ms-transition: opacity 0.4s ease-in;
            -o-transition: opacity 0.4s ease-in;
            transition: opacity 0.4s ease-in;
        }

        .ojcFileSelector .dz-preview:not(.dz-processing) .dz-progress {
            -webkit-animation: pulse 6s ease infinite;
            -moz-animation: pulse 6s ease infinite;
            -ms-animation: pulse 6s ease infinite;
            -o-animation: pulse 6s ease infinite;
            animation: pulse 6s ease infinite;
        }

        .ojcFileSelector .dz-preview .dz-progress {
            opacity: 1;
            z-index: 1000;
            pointer-events: none;
            position: absolute;
            height: 10px;
            left: 50%;
            top: 50%;
            margin-top: 6px;
            width: 80px;
            margin-left: -40px;
            background: rgba(255, 255, 255, 0.9);
            -webkit-transform: scale(1);
            border-radius: 8px;
            overflow: hidden;
        }

            .ojcFileSelector .dz-preview .dz-progress .dz-upload {
                background: #333;
                background: linear-gradient(to bottom, #666, #444);
                position: absolute;
                top: 0;
                left: 0;
                bottom: 0;
                width: 0;
                -webkit-transition: width 300ms ease-in-out;
                -moz-transition: width 300ms ease-in-out;
                -ms-transition: width 300ms ease-in-out;
                -o-transition: width 300ms ease-in-out;
                transition: width 300ms ease-in-out;
            }

        .ojcFileSelector .dz-preview.dz-error .dz-error-message {
            display: block;
        }

        .ojcFileSelector .dz-preview.dz-error:hover .dz-error-message {
            opacity: 1;
            pointer-events: auto;
        }

        .ojcFileSelector .dz-preview .dz-error-message {
            pointer-events: none;
            z-index: 1000;
            position: absolute;
            display: block;
            display: none;
            opacity: 0;
            -webkit-transition: opacity 0.3s ease;
            -moz-transition: opacity 0.3s ease;
            -ms-transition: opacity 0.3s ease;
            -o-transition: opacity 0.3s ease;
            transition: opacity 0.3s ease;
            border-radius: 8px;
            font-size: 13px;
            top: 0px;
            left: -10px;
            width: 140px;
            background: #be2626;
            background: linear-gradient(to bottom, #be2626, #a92222);
            padding: 0.5em 1.2em;
            color: white;
        }

            /* Remove the small '^' on top of the error message because it is now displayed on top of the file itself
			.ojcFileSelector .dz-preview .dz-error-message:after {
                content: '';
                position: absolute;
                top: -6px;
                left: 64px;
                width: 0;
                height: 0;
                border-left: 6px solid transparent;
                border-right: 6px solid transparent;
                border-bottom: 6px solid #be2626;
            }*/

.attachedPortfolio > .btn {
    margin-top: 5px;
}

.attachedPortfolio.attachedPortfolio-read-only > ul {
	list-style: none;
	padding: 0;
}


/****************************************************
    DateTime field
*****************************************************/
.ojcDateTimeField > input[type=text] {
	margin-right: 5px;
}
/* #region PROGRESS BAR */

.ojcProgressBar {
	width: 100px;
	height:16px;
	border: 1px solid #ddd;
	color: black;
}

/* #endregion */