﻿
#loading 
{
	float:right;
	margin-right:50px;
}

/* DROP DOWN MENU
----------------------------------------------------------*/

.ojcDropMenu {
	margin: 0;
	padding: 0;
	position: absolute;
	border: 1px solid #999/*#d4d0c8*/;
	background: #eee;
	z-index: 2000;
}

.ojcDropMenu tr.item 
{
	white-space:nowrap;
}

.ojcDropMenu tr.item > td > a {
	display: block;
	color: #000;
	text-decoration: none;
	padding: 3px;
	text-align: left;
	overflow:auto; /* FF */
}

.ojcDropMenu tr.item.active 
{
	background-color:#B2D2FF;
}

.ojcDropMenu tr.separator {
	background-color:#d4d0c8;
	height: 1px;
	overflow: hidden
}

.ojcDropMenu tr.separator a {
	display: none
}

.ojcDropMenu tr.item.disabled > td > a {
	cursor: default;
	color: #aaa
}

.ojcDropMenu .expand-icon  
{
	width: 16px; 
	height: 16px; 
	background-image: url(images/ui-icons_222222_256x240.png); 
	background-position: -32px 0;
}

/* Gestion du focus */
.focusIn, table.datagrid.focusIn
{
	border: 2px solid black;
}
.focusOut, table.datagrid.focusOut
{
	border: 2px solid red;
}

/* JQueryUI CUSTOMIZATION */
#treePageSection
{
	font-size: 11px;
	color: #222;
}

/* POPUP */
.ui-dialog .ui-dialog-titlebar 
{
	padding:2px;
}

/* TABS */
#treePageSection .ui-tabs .ui-tabs-panel
{
	padding: 2px 5px;
}

.ui-tabs .ui-tabs-nav li a
{
	padding: 2px 10px;
	text-decoration: none;
}

.ui-tabs .ui-tabs-hide
{
	/* la gestion standard par décalage à -10000 a des effets bizarres sous IE7 */
	display: none;
}


/* NAVIGATORS
----------------------------------------------------------*/
.navigator
{
	background-repeat: no-repeat;
	padding: 27px 0px 2px 7px;
}

#properties.navigator
{
	background-image: url('Images/properties_background.png');
}

#context.navigator
{
	background-image: url('Images/context_background.png');
}

.navigator > h2
{
	margin: 2px;
	padding: 2px;
	text-align: center;
	font-size: 12px;
	font-weight: normal;
}
.navigatorSection
{
	padding: 2px;
	margin: 0;
}
.navigatorSection > h3
{
	padding: 2px 3px;
	font-size: 11px;
	background-color: white;
	margin: 0;
}


/* 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
----------------------------------------------------------*/

div#gridMain {
    float:left;
    position: relative;
}
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:0;
	position:absolute;
	width:44px;
	background-color:#fff;
}
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);
}
div#gridMain div#messageBox {
    position: absolute;
    top: 0px;
    right: 0px;
    border: 2px solid rgba(128, 128, 128, 0.5);
    border-radius: 4px;
    padding-left: 4px;
    padding-right: 4px;
    margin-top:2px;
    margin-right:2px;
}

div#gridMain div#messageBox > ul {
    margin:0px;
    padding:0px;
}

div#gridMain div#messageBox > ul > li {
    margin:0px;
    list-style-type: none;
}

Table.datagrid {
	border: 1px solid #ccc;
	font-size: 11px;
}

table.datagrid div#searchPanel 
{
	background:white;
}

Table.datagrid > tbody
{
	border-collapse: collapse;
	padding: 2px;
}

table.datagrid select, table.datagrid input[type="text"] 
{
	font-size:11px;
}

/*table.datagrid > thead > tr
{
	border: 1px solid #ccc;
}*/
table.datagrid > thead > tr > th
{
	background-color: #eee;
	font-weight: normal;
	overflow:hidden;
	text-align:left;
	color:#000;
/*	padding: 4px 6px 4px 6px;*/
}

table.datagrid > thead > tr.colHeader > th
{
	padding: 4px 6px 4px 6px;
}

table.datagrid > thead > tr.colHeader > th div.colSortIcon
{
	float:right;
	padding-right:10px;
}

table.datagrid > thead > tr > th.toolbar
{
	background-color: #FFFFFF;
}
table.datagrid > thead > tr > th.toolbar > div 
{
	padding:2px;
}

Table.datagrid > tfoot > tr > th
{
	background-color: #eee;
	font-weight: normal;
/*	border: 1px solid #ccc; /*	color:Gray;*/
	padding: 0;
	text-align:left;
	white-space:nowrap;
	color:#000;
}
Table.datagrid > tfoot > tr > th > table.ui-pg-table
{
	padding:2px;
	float:right;
}
table.datagrid > tfoot > tr > th > div 
{
	padding:4px;
}

Table.datagrid a img, .ui-jqgrid a img
{
	border: 0;
}

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;
}

/* highlighting */
table.datagrid tr.over td, table.datagrid div.over
{
	background-color: #B2D2FF;
}

table.datagrid tr.selected td, table.datagrid div.selected
{
	background-color: rgba(146, 178, 223, 0.75);
	color: White;
}

.inFocus > table.datagrid tr.selected td, .inFocus table.datagrid div.selected,
.inFocus > form > table.datagrid tr.selected td, .inFocus form > table.datagrid div.selected
{
	background-color: #46f;
	color: White;
}

.ui-draggable > table.datagrid .selected 
{
    cursor:-webkit-grab;
    cursor:-moz-grab;        
}

table.datagrid  > tbody .item 
{
	border: solid 1px transparent;
}

table.datagrid  > tbody .item.current
{
	border: solid 1px darkblue;
}

table.datagrid  > tbody .item td 
{
	padding-left:2px; 
	padding-right:2px;
}

table.datagrid input.selbox 
{
    text-align: right;
}

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%;
}

/* 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;
}

.cell_modified  
{
	background-color: #F8E2A0;
}
.cell_edit
{
	background-color: #FFC;
}
.cell_editing
{
	/*background-color: #FCF;*/
}

/* Data display : TREE
----------------------------------------------------------*/

div.tree 
{
	overflow:auto;
	margin: 2px;
}

div.tree_node > .drop-hover
{
	border: 2px dashed gray;
}


.treeHeader
{
	border:1px solid #ccc;
	margin: 0px 0px 4px;
}

div.tree_node 
{
	white-space:nowrap;
	clear:left;
	cursor:pointer;	
}

div.tree_node.selectable
{
	cursor:pointer;	
}

div.tree_node span.tree_node_expand_icon
{
	display: block;
	text-indent: -99999px;
	overflow: hidden;
	background-repeat: no-repeat;
	width: 16px;
	height: 16px;
}
div.tree_node > span.tree_node_expand_icon	/* uniquement en rendering "table less" */
{
	float:left;
}
div.tree_node.tree_node_expanded span.tree_node_expand_icon
{
	background-image: url(Images/ui-icons_222222_256x240.png);
	background-position: -16px -208px; /* icône "minus" */
}

div.tree_node.tree_node_collapsed span.tree_node_expand_icon
{
	background-image: url(Images/ui-icons_222222_256x240.png);
	background-position: 0px -208px; /* icône "plus" */
}

div.tree_node.empty span.tree_node_expand_icon
{
	background-image: none;
}

div.tree_node .tree_node_content
{
	padding: 0px 0px 0px 16px;
}
div.tree_node > img
{
    margin-right:4px;
}


div.tree_node.tree_node_collapsed .tree_node_content
{
	display: none;
}

div.tree_node > table > tbody > tr > td.tree_node_label /* > span */
{
	white-space: nowrap;
}

div.tree_node.over > table > tbody > tr > td.tree_node_label > span
{
	background-color: #B2D2FF;
}

div.tree_node.selected > table > tbody > tr > td.tree_node_label > span,
div.tree_node.selected > span.tree_node_label
{
	background-color: #92B2DF;/*#46f;*/
	color: White;
}
.inFocus > div.tree div.tree_node.selected > table > tbody > tr > td.tree_node_label > span,
.inFocus > div.tree div.tree_node.selected > span.tree_node_label
{
	background-color: #46f;
	color: White;
}

/* Data display : TREE alternative look : CssClass = "tree2"
----------------------------------------------------------*/
.tree.tree2 div.tree_node.tree_node_expanded span.tree_node_expand_icon
{
	background-position: -64px -16px; /* icône "minus" */
}

.tree.tree2 div.tree_node.tree_node_collapsed span.tree_node_expand_icon
{
	background-position: -32px -16px; /* icône "plus" */
}

.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:#333;
	color:#ddd;
	padding:5px;
}
.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; /* icône "minus" */
}

.tree.tree3 div.tree_node.tree_node_collapsed span.tree_node_expand_icon
{
	background-image: url(Images/ui-icons_888888_256x240.png);
	background-position: -32px -16px; /* icône "plus" */
}

.tree.tree3 div.tree_node .tree_node_content
{
	padding: 0px;
	margin-left:8px;
	border-left: 1px solid #888;
}

.tree.tree3 div.tree_node.selectable
{
	font-style:italic;
}

.tree.tree3 div.tree_node.selected
{
	background-color:#555;
}
.inFocus > .tree.tree3 div.tree_node.selected
{
	background-color:#777;
}
.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: White;
}
.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: White;
}


.tree.tree3 div.tree_node.empty span.tree_node_expand_icon
{
	background-image: none;
}

.tree.tree3 .treeHeader.toolbar td
{
	background-color:#bbb;
}

/* 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;
}


/* Data display : Toolbars
----------------------------------------------------------*/
span.toolbar
{
	width: 100%;
	height:30px;
	display: block;
	z-index: 200;
	clear:both;
}
/*div.toolbar
{
	width: 100%;
}*/
.toolbar > table
{
	height: 22px;
	border: 0px solid #333; /*	background-color:#CCC;*/
}
span.toolbar > table
{
	float: right;
	border:1px solid #ddd;
}
.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;
}
/*div.toolbar > table td
{
	background-color: #CCC;
	border-color: #ccc;
}
*/

/* intégration Toolbar / DropMenu : état "open" */
.toolbar > table td.ui-state-open
{
	background-color:#eee;
	border: 1px solid #999;
	margin: -1px;
}

/* Data display : PANE
----------------------------------------------------------*/
div.pane_content
{
/*	border: 1px solid #BBB;*/
}

iframe.pane_content
{
    border:none;
	width:100%;
}

div.ui-dialog-content > iframe.pane_content 
{
	border: 0px;
	width:100%;
	height:98%;
}

.ui-accordion-content > div > div.pane_content, .ui-tabs-panel > div > div.pane_content, .navigatorSection > div > div.pane_content
{
	border-width: 0px;
}

.paneWithTabs > div.pane_content 
{
	width:100%;
}

div#treePageSection > div.pane_content
{
	border: 0px;
}

td#treePageNavigation
{
	border-right: inset 1px grey;
	padding-right: 10px;
}


/* 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: 3px dashed gray;
    border-radius: 5px;
    background-color: rgba(255,255,255,0.7);
    width: 100%;
    height: 100%;
    overflow: auto;
    min-height:75px;
}
    .ojcFileSelector.fallback {
        border: none;
        border-radius:initial;
        min-height:initial;
    }

    .ojcFileSelector .placeholderMessage {
        text-align: center;
        color: gray;
        margin-top: 5px;
        margin-bottom: 5px;
        cursor: pointer;
        vertical-align: middle;
        position: relative;
        top: 30%;
    }

    .ojcFileSelector.dz-started .placeholderMessage, .ojcFileSelector.fallback .placeholderMessage {
        display: none;
    }

    /* Copied & modified from dropzone.css */
    .ojcFileSelector.dz-clickable {
        cursor: pointer;
    }

        .ojcFileSelector.dz-clickable * {
            cursor: default;
        }

        .ojcFileSelector.dz-clickable .dz-message, .ojcFileSelector.dz-clickable .dz-message * {
            cursor: pointer;
        }

    .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 .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: 10px;
            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 .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;
                }

                    .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: 10px;
            overflow: hidden;
            width: 100px;
            height: 50px;
            position: relative;
            display: block;
            z-index: 10;
        }

            .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: 130px;
            left: -10px;
            width: 140px;
            background: #be2626;
            background: linear-gradient(to bottom, #be2626, #a92222);
            padding: 0.5em 1.2em;
            color: white;
        }

            .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;
            }

