/* main elements */
html { overflow: hidden; }
body { min-height: 100%; height: 100%; }

body {
	background-color: #c1cfe3;
	padding: 5px;
}

#formbar {
	padding: 0px 5px 0 10px;
	margin: 0px 0px 5px 0px;
	clear: both;
	background-color: #fff7b7;
	font-weight: normal;
	overflow: auto;
	border-radius: 5px;
	}
	
body div#formbar div#formloadsave a {
	font-family: "Tahoma";
}

#formcaption {
	font-size: 15px;
	font-family: "Tahoma";
	color: #000000;
	float: left;
	line-height: 25px;
}

#formcaption_editmode {
	color: #888888;
	font-size: 13pt;
	float: left;
	padding-left: 5px;
}

#formloadsave {
	float: right;
	font-size: 8pt;
	color: #888888;
	line-height: 25px;
	padding-right: 5px;
	}
	
#formsave_working {
	background: #ffffff url(images/loading_arrows.gif) no-repeat 1px 1px;
	border: 1px solid #888888;
	width: 18px;
	height: 18px;
	padding: 0px;
	display: none;
	z-index: 99999;
	}
	
#formloadsave a, #formloadsave a:visited {
	color: #888888;
	text-decoration: none;
	font-weight: bold;
	}
	
#formloadsave a:hover, #formloadsave a:focus {
	color: #000000;
	text-decoration: none;
	font-weight: bold;
	}

#guieditor {
	width: 100%;
	height: 100%;
	padding: 0px;
	margin: 0px;
	}
	
.sidebar {
	width: 275px;
	padding: 0px 7px 0px 0px;
	margin: 0px 0px 0px 0px;
	vertical-align: top;
	height: 100%;
}

.sidebar.right_sidebar {
    padding-right: 2px;
    padding-left: 6px;
}


.editor {
	margin: 0px;
	vertical-align: top;
	overflow-x: scroll;
	}

/* subelements */
.areacaption {
	font-size: 10px;
	clear: both;
	color: #000000;
	padding: 5px;
	border-radius: 5px 5px 0 0;
	box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
}

div.areacaption div#singleobject {
  font-size: 8pt;
}

.areasubcaption {
	font-size: 8pt;
	line-height: 17px;
	font-family: "Tahoma";
	font-weight: normal;
	clear: both;
	color: #7D7D7D;
	padding: 0px 0px 0px 5px;
	margin: 0px 5px 3px 5px;
	cursor: pointer;
}

.propertygrouplabel {
  font-size: 8pt;
  line-height: 13px;
  font-family: "Tahoma";
  font-weight: normal;
  clear: both;
  color: #888888;
  border: none;
  padding: 1px 1px 1px 4px;
  margin: 0px 5px 3px 5px;
  background: #e5e5e5;
}

#toolbar {
	clear: both;
	float: left;
	width: 100%;
	background-color: #ffffff;
	padding: 0px;
	margin: 0px 0px 5px 0px;
	border-radius: 5px;
	}
	
#iconset {
	clear: both;
	float: left;
	padding: 0px;
	margin: 0px;
	overflow-y: scroll;
	width: 100%;
	height: 338px;
}

.icongroup {
	clear: both;
	float: left;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	overflow: auto;
}

.object_icon_wrapper {
	float: left;
	margin: 0;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 5px 5px;
	/* cursor: move; */
}

.object_icon {
	float: left;
	width: 70px;
	height: 60px;
	border: 3px solid #f5f5f5;
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	color: #000000;
	font-size: 7pt;
	overflow: hidden;
	}


.no-select
{
   user-select: none;
   -o-user-select:none;
   -moz-user-select: none;
   -khtml-user-select: none;
   -webkit-user-select: none;
}

div#plugins .switchOpen,
div#plugins .switchClose
{
}

div#plugins, div#plugins p, div#plugins span, div#plugins input {
	font: 8pt/110% "Tahoma",helvetica,sans-serif;
}

.plugin_div {
	margin: 0px 5px 3px;
  padding: 1px 1px 1px 4px;
}


/* univerzalna hover klasa ikona za objekte */
.oi_hovericon { background-position: -70px 0px; }	

#properties {
	float: left;
	width: 100%;
	min-width: 260px;
	padding: 0px;
	margin: 0px;
	font-size: 7pt;
	
	/*overflow: none;*/
}

body div#properties table tr td {
  font-family: "Tahoma";
}
	
.scrollablepanel {
	overflow: auto;
	background-color: white;
	border-radius: 0px 0px 0px 5px;
	height: calc(100% - 25px) !important;
	}
	
#objectproperties {
	/*background-color: #ff0000;*/
	font-size: 12px;
	margin: 0px;
	padding: 0px 0px 5px 0px;
	}

#objectdemoproperties {
	/* background-color: #ffffdf; */
	font-size: 12px; 
	margin: 0px;
	}
	
#demopropswitch {
	display: none;
	}
	
#objectproperties table tr, #objectdemoproperties table tr {
	margin: 0px;
	padding: 1px;
	}
	
#objectproperties table tr td, #objectdemoproperties table tr td {
	margin: 0px;
	padding: 1px;
	font-size: 12px;
	vertical-align: middle;
	line-height: 16px;
	height: 20px;
	box-sizing: border-box;
	padding-left: 3px;
	}
	
.objectprop_text, .objectprop_intvalue, .objectprop_floatvalue, .objectprop_select {
	height: 20px;
	line-height: 16px;
	}
		
.objectprop_text, .objectprop_intvalue, .objectprop_floatvalue, .objectprop_select, .objectprop_memo {
	border: 1px solid #ffffff;
	background: #ffffff;
	color: #000000;
	width: 150px;
	margin: 0px;
	padding: 0px;
	}	
	
.objectprop_memo {
	white-space: pre;
	}

.objectprop_check {
	width: 20px;
	margin-top: 4px;
	}
	
.objectprop_text:hover, .objectprop_intvalue:hover, .objectprop_floatvalue:hover, .objectprop_select:hover, .objectprop_memo:hover {
	border: 1px solid #b6b6b6;
	background: #f6f6f6;
	color: #000000;
	}	
	
.objectprop_text:focus, .objectprop_intvalue:focus, .objectprop_floatvalue:focus, .objectprop_select:focus, .objectprop_memo:focus {
	border: 1px solid #a0a0a0;
	background: #e0e0e0;
	color: #000000;
	}	
	
.objectprop_parent {
	padding-left: 2px;
	}
	
.objectproperty_name {
	color: #000000; /* 888888 */
	width: 100px;
	border-bottom: 1px solid #ECECEC;
	}
.objectproperty_name.has-hint::after {
	color: white;
	content: "?";
	position: relative;
	top: -6px;
	background: #6CA9FF;
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 5px;
	font-size: 9px;
	text-indent: 3px;
	line-height: 9px;
}
.objectproperty_value {
	border-bottom: 1px solid #ECECEC;
	width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
	}
	
#formdesign {
	background-color: #ffffff;
	padding: 5px;
	padding-bottom: 5px; /* MT 10.04.2013: old value was 50, this was causing scroll of editor */
	margin: 0px;	
	height: 500px;
	overflow-x: auto;
	z-index: -1000;
	border-radius: 5px;
	height: calc(100% - 5px) !important;
	box-sizing: border-box;
	}
	
/* mtomaskovic 11.8.2016: removed due to conflict with awesome CSS font */
/*
#formdesign * {
	font-family: "Tahoma";	
	}
*/

#debug {
	bottom: 0px;
	width: 100%;
	height: 200px;
	padding: 1px;
	margin: 5px 0px 5px 0px;
	overflow: scroll;
	background-color: #f0f0f0;
	}
	
/* general classes */
.gform {
	/*background-color: #ffffff;*/
	}

.gobject {
	background-color: #ffffff; /*transparent;*/
	}

.gcontainer { /* version for GUI editor - normal version does not have background color and dotted border */
	background-color: #fafafa;
	background-position: 0px 0px;
	}
	
.gcontainer_horizontal { 
	}
	
.gcontainer_vertical {
	}
	
.gcontainer_absolute {
	}
	
.objectWrapper {
	background-image: url('../design/icons/objecthandle.png');
	background-position: 0px 0px;
	background-repeat: repeat-y;
	
	border: 1px solid #ffffff;
	/* cursor: move; */
	min-width: 10px;
	overflow: hidden;
	padding-left: 10px;
	-webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

td.sidebar, td.sidebar #toolbar {
	-webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    width: 275px;
}

td.sidebar.nonVisible, td.sidebar #toolbar.nonVisible {
    width: 0px;
}

.objectWrapper.stripped {
	background-image: none;
	padding-left: 0;
}

.objectWrapperSelected, .objectWrapper:focus {
	background-image: url('../design/icons/objecthandle_selected.png');
	background-position: 0px 0px;
	background-repeat: repeat-y;
	
	border: 1px dotted #00aa00;
	background-color: #00B53D;
}

.objectWrapperHover {
	background-color: #f0f0f0;
	border: 1px dotted #888888;
}

.objectWrapperMoveHover {
	background-color: #ffe0e0;
	border: 1px dotted #888888;
}

.objectPlaceholder {
	background: transparent;
	border: none;
	height: 0px;
	width: 0px;	
	float: left;
	overflow: visible;
}

.objectPlaceholder .inner {		
	border: none;
	width: 20px;
	height: 20px;
	position: relative;	
	z-index: 10000;
}

.objectPlaceholder .vertical {
	background: transparent url('images/placeholder_vertical.png') no-repeat 0px 0px;
	left: 10px;
	top: -10px;
}

.objectPlaceholder .horizontal {
	background: transparent url('images/placeholder_horizontal.png') no-repeat 0px 0px;
	left: -10px;
	top: 10px;
}

.objectPlaceholder .insert {
	background: transparent url('images/placeholder.png') no-repeat 0px 0px;
	left: 0px;
	top: 0px;
}

.contNonEmpty {
	padding-left: 10px;
	}
	
.contEmpty {
	padding: 10px;
	}

.hidden {
	display: none;
	}
	
#objectactions {
	background-color: #ffffff;
	float: left;
	padding: 3px;
	background-color: transparent;
	position: fixed;
	bottom: 5px;
	}

/*
#objectactions #btnCommit {
	float: left;
	font-size: 7pt;
	color: #00aa00;
	border: none;
	cursor: pointer;
	padding-left: 8px;
	margin-right: 10px;
	background: #ffffff url(images/tick.png) no-repeat 0px 2px;
	}
#objectactions #btnDelete {
	float: left;
	font-size: 7pt;
	color: #aa0000;
	border: none;
	cursor: pointer;
	padding-left: 8px;
	background: #ffffff url(images/redx.png) no-repeat 0px 2px;
	}
*/


#objectactions .object-action {
	color: #f4f4f4;
	font-weight: bold;
	border-radius: 2px;
	border: solid 0 #e3edf4;
	border-radius: 4px;
	text-decoration: none;
	box-shadow: inset 0 -2px 0 rgba(0,0,0,0.2);
	line-height: 30px;
	display: inline-block;
	padding-left: 10px;
	padding-right: 10px;
}

#objectactions .object-action.btn-confirm {
  background-color: rgb(92, 184, 92);
}

#objectactions .object-action.btn-confirm:hover {
  background-color: rgb(68, 157, 68);
}

#objectactions .object-action.btn-delete {
  background-color: rgb(217, 83, 79);
  margin-left: 5px;
}

#objectactions .object-action.btn-delete:hover {
  background-color: rgb(201, 48, 44);
}

#objectactions #btnStyles {
	font-size: 7pt;
	color: #0000aa;
	border: none;
	cursor: pointer;
	padding-left: 8px;
	background: #ffffff;
	width: 50px;
	}

.ui-sortable {
	cursor: move;
}	

#linkSave {
	background: url(images/save.png) no-repeat right -1px;
	padding-right: 15px;
	}
	
#linkRun {
	background: url(images/run.png) no-repeat right -1px;
	padding-right: 15px;
	}
	
#linkPreview {
	background: url(images/preview.png) no-repeat right -1px;
	padding-right: 15px;
	} 
	
#linkPreviewComments {
	background: url(images/preview.png) no-repeat right -1px;
	padding-right: 15px;
	}
	
#linkClose {
  background: url(images/close.png) no-repeat right -1px;
  padding-right: 15px;
  }
  
.ac_object {
	background: #e5effc url(images/object.png) no-repeat 4px 5px;
	padding-left: 25px;
}
	
.ac_props {
	background: #e5effc url(images/props.png) no-repeat 2px 6px;
	padding-left: 20px;
	border-radius: 5px 5px 0px 0px;
}

a.runtime_switch {
	background: #FFFFC0 url(images/eye-icon.png) no-repeat right -1px;
	padding-right: 20px;
	opacity: 0.4;
}
	
#objectlist {
	width: 200px;
	height: 20px;
}

#objectlist option {
  width: 180px;
}
  
	
.switchOpen {
	background: #e5e5e5 url(images/chevron_down.gif) no-repeat right 6px;
	}
.switchClose { 
	font-weight: bold; 
	background: #e5e5e5 url(images/chevron_up.gif) no-repeat right 6px;
	}
	
.gridColInvisible {
	background-color: #ffd7d7;
	}
	
/* CONTEXT MENUS */

body ul.cm_default, body ul.cm_default ul
{
	/* Required settings */
	top:-1000px; left:-1000px; position:absolute; z-index:999; 
	/* Possibly inherited values overrides */
	border-width:0;  float:none; height:auto; margin:0; padding:0; width:auto;	
	/* Additional settings */
	border-top:solid 1px #acacac; border-bottom:solid 1px #acacac;
}
body ul.cm_default li
{
	/* Required settings */
	width:162px; list-style:none none outside;
	/* Possibly inherited values overrides */
	float:none; height:auto; letter-spacing:normal; margin:0; border-width:0; line-height:normal; margin:0; 
	text-align:left; text-decoration:none; text-indent:0; text-transform:none; vertical-align:top; word-spacing:normal;
	font-family:Arial, Sans-Serif; font-size:13px; font-style:normal; font-variant:normal; font-weight:normal;
	/* Additional settings */
	overflow:hidden; cursor:default; padding:5px 5px 5px 31px; 
	border-left:solid 1px #acacac; border-right:solid 1px #acacac; 
	background:#e6e6e6 url(images/ui-cm-background.gif) repeat-y 0 0
}
body ul.cm_default li.separator{width:198px; height:12px; background:#e6e6e6 url(images/ui-cm-separator.gif) no-repeat; padding:0}
/* IE 6/7 hack */
body ul.cm_default li.separator{*margin:-1px 0 -5px 0}
body ul.cm_default li.disabled{color:#999}
body ul.cm_default li span.submenu{display:block; width:4px; height:11px; float:right; background:url(images/ui-cm-submenu.gif) no-repeat 0 4px}
body ul.cm_default li.disabled span.submenu{background-image:url(images/ui-cm-submenu_dis.gif)}
body ul.cm_default li.hover{background-color:#d4dde6; background-image:url(images/ui-cm-hover.gif)}
/* no hover effects on separators*/
body ul.cm_default li.hover.separator{background-color:#e6e6e6; background-image:url(images/ui-cm-separator.gif)}

/* Control search feature */
.control_search {
	width: 275px;
	margin-top: 5px;
	margin-bottom: 5px;
}

.control_search input {
	background: url(images/search-dark.png) no-repeat 5px 7px rgb(246, 246, 246);
	border: 0 none;
	font: bold 11px Arial,Helvetica,Sans-serif;
	color: #444;
	width: 228px;
	padding: 0px 10px 0px 25px;
	border-radius: 3px;
	outline: none;
	margin-left: 5px;
	border: 1px solid #DADADA;
	line-height: 30px;
}

.control_search input:focus {
	background-image: url(images/search-darker.png) no-repeat 6px 3px;
	border: 1px solid #a5a5a5;
}

.property_editor_dialog .ui-dialog-titlebar {
	border: none !important;
	background: #FFFFC0 !important;
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;
}

.property_editor_dialog .ui-dialog-titlebar .ui-dialog-titlebar-close span {
	background: url("images/close_a_16.png");
	cursor: pointer;
	cursor: hand;
}

.property_editor_dialog .ui-state-hover {
	background: #F6D1D1;
	border: 1px solid #FF3E3F
}

.property_editor_dialog .ui-dialog-title {
	font-family: "Tahoma";
	font-size: 11pt;
    font-weight: bold;
    color: #000;
    float: none;
}

#property_editor_dialog_container .content {
    margin: 10px 0px 5px 0px;
    padding: 0px 5px 0px 5px;
    min-height: 250px;
}

#property_editor_dialog_container .actions {
    padding: 0px 5px 5px 5px;
    height: 25px;
}

#property_editor_dialog_container .actions input.confirm {
    float: right;
    width: 100px;
    padding: 3px;
}

#property_editor_dialog_container .actions input.cancel {
    float: left;
    width: 100px;
    padding: 3px;
}

/* Specific CSS settings for right-side property editor */
.ggrid {
	overflow: auto;
}

i[class^="icon-"] {
  font-family: "fontawesome-webfont" !important;
}

.ui-dialog {
	box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

#objectproperties table tr.disabled-property {
	background-color: rgba(240, 240, 240, 0.5);
}

#objectproperties table tr.disabled-property td {
	pointer-events: none;
	opacity: 0.5;
}