﻿
.dmx-editor-wrapper { 
  background-color: rgb(223, 223, 223);
  border-style    : solid;
  border-width    : 1px;
  border-color    : threedShadow threedDarkShadow threedDarkShadow threedShadow;
  display         : inline-block;
  -webkit-box-shadow: 1px 1px 0px rgba(255,255,255,0.9) inset, -1px -1px 0px rgba(0,0,0,0.1) inset;
     -moz-box-shadow: 1px 1px 0px rgba(255,255,255,0.9) inset, -1px -1px 0px rgba(0,0,0,0.1) inset;
          box-shadow: 1px 1px 0px rgba(255,255,255,0.9) inset, -1px -1px 0px rgba(0,0,0,0.1) inset;
}

.dmx-editor-wrapper, .dmx-editor-wrapper *,
.dmx-menu, .dmx-menu * {
  font-family     : Tahoma, sans;
	font-size       : 11px;
  cursor          : default;
  color           : windowText;
	line-height     : 1.4em;
}

.dmx-editor-wrapper.fullscreen {
	position:fixed;
	top:0;
	left:0;
  bottom:0;
  right:0;
	/*width:100% !important;
	height:100%;*/
	z-index:100000;
	border:none;
}


/* toolbars ----------------------------------------------------------------- */
.dmx-editor-wrapper .dmx-editor-toolbars {
  position:relative;
  background: #EEE;
  background: -moz-linear-gradient(center top , rgb(240, 240, 240) 0%, rgb(223, 223, 223));
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0, rgb(240, 240, 240)),
    color-stop(1, rgb(223, 223, 223))
  );
  border-width:1px;
  border-style:solid;
  border-color: #FFF rgb(223, 223, 223) rgb(223, 223, 223) #FFF;
	position:relative;
}

.dmx-editor-wrapper .dmx-editor-toolbar {
  /*height:24px;
  line-height:24px;*/
  display:inline-block;
  /*float:left;*/
  vertical-align:middle;
  /*border-top    : 1px solid threedHighlight;
  border-left   : 1px solid threedHighlight;
  border-bottom : 1px solid #DDD;
  border-right  : 1px solid #DDD;
  background: -moz-linear-gradient(
    center top,
    rgb(245,245,245) 0%,
    rgb(240,240,240) 50%,
    rgb(230,230,230) 51%,
    rgb(240,240,240) 100%
  );
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0   , rgb(245,245,245)),
    color-stop(0.5 , rgb(240,240,240)),
    color-stop(0.51, rgb(230,230,230)),
    color-stop(1   , rgb(240,240,240))
  );*/
  padding: 0;
  margin:1px;
	position:relative;
	
	/* Hack for IE7 */
	zoom: 1;
	*display: inline;
}

.dmx-editor-wrapper .dmx-editor-toolbar > * {
  float: left;
  margin:0 1px 0 0;
  text-shadow: 1px 1px 0px #FFF;
  -moz-user-focus: ignore;
  -webkit-user-focus: ignore;
  user-focus: ignore;
}

.dmx-editor-wrapper .dmx-editor-toolbars > .toolbar-overlay {
  position: absolute;
  top: 0;
  width:100%;
  height: 100%;
  background: #EEE;
  background: -moz-linear-gradient(center top , rgb(240, 240, 240) 0%, rgb(223, 223, 223));
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0, rgb(240, 240, 240)),
    color-stop(1, rgb(223, 223, 223))
  );
  opacity: 0.6;
  filter: alpha(opacity=60);
}

.dmx-editor-wrapper .statusbar {
  background: -moz-linear-gradient(
    center top, 
    rgba(255, 255, 255, 0.4) 0.4%,
    rgba(0, 0, 0, 0.3) 0.5%,
    rgba(255, 255, 255, 0.1) 30%,
    rgba(255, 255, 255, 0) 90%,
    rgba(0, 0, 0, 0.1) 100% 
    
  );
  background: -webkit-gradient(
    linear,
    top center,
    left bottom,
    color-stop(0.02, rgba(0, 0, 0, 0.2)),
    color-stop(0.2 , rgba(255, 255, 255, 0.1))
  );
}

.dmx-editor-wrapper .combo {
  margin:0px 1px 0px 0px;
}

.dmx-editor-wrapper .separator_vertical {
	display:inline-block !important;
	padding: 0.1em 0px;
  margin:0px 0.4em;
  width: 2px;
}

.dmx-editor-wrapper .separator_vertical .separator_inner {
	background: url(dmxEditor/separator_v.png) 0px top scroll repeat-y;
	position:absolute;
	height: 80%;
	top: 10%;
	width: 2px;
	margin-left: -1px;
}

.dmx-editor-wrapper .separator_horizontal {
  display: block;
  height :1px;
  margin :0.5em 0;
	vertical-align:middle;
  padding: 0;
  outline: 1px solid #FFF;
  outline: 1px solid rgba(255,255,255,0.5);
  background-color: #BCBCBC;
  background-color: rgba(0,0,0,0.2);
}

/* disabled ----------------------------------------------------------------- */

.dmx-editor-wrapper * .disabled,
.dmx-editor-wrapper * .disabled:hover,
.dmx-menu * .disabled,
.dmx-menu * .disabled:hover {
	background: transparent;
	text-shadow: 1px 1px 0px #FFF !important;
	border-color:transparent !important; 
}

.disabled {
  -moz-user-focus: ignore;
}

.disabled .colorPreview {
  opacity : 0.3;
}


.dmx-editor-wrapper * .disabled,
.dmx-editor-wrapper * .disabled:hover,
.dmx-editor-wrapper * .disabled *,
.dmx-editor-wrapper * .disabled:hover *,
.dmx-menu * .disabled,
.dmx-menu * .disabled:hover,
.dmx-menu * .disabled *,
.dmx-menu * .disabled:hover *  {
  color: #777 !important;
  -moz-user-focus    : ignore !important;
	-webkit-user-focus : ignore !important;
	user-focus         : ignore !important;
  -moz-user-select   : none !important;
	-webkit-user-select: none !important;
	user-select        : none !important;
}


/* hoverable, checkable and activateable ------------------------------------ */
.dmx-editor-wrapper .hoverable,
.dmx-menu .hoverable,
.dmx-editor-wrapper .activateable,
.dmx-editor-wrapper .checkable,
.dmx-menu .activateable,
.dmx-menu .checkable {
  border: 1px solid transparent;
  -moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.dmx-editor-wrapper .hoverable:hover,
.dmx-editor-wrapper .hoverable:focus,
.dmx-editor-wrapper .hoverable.active,
.dmx-menu .hoverable:hover,
.dmx-menu .hoverable:focus,
.dmx-menu .hoverable.active {
  border-color:#89A9BC;
  background-color:rgb(207, 224, 244);
  background-color:rgba(174, 207, 247, 0.5);
	text-shadow:1px 1px 0px #EEE;
  background: -moz-linear-gradient(
    center top,
    rgba(184, 217, 247, 0.3) 0%,
    rgba(174, 207, 247, 0.4) 50%,
    rgba(174, 200, 247, 0.7) 50.1%,
    rgba(180, 230, 255, 0.4) 100%
  );
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0   , rgba(184, 217, 247, 0.3)),
    color-stop(0.5 , rgba(174, 207, 247, 0.4)),
    color-stop(0.51, rgba(174, 200, 247, 0.6)),
    color-stop(1   , rgba(180, 230, 255, 0.4))
  );
  -moz-box-shadow: inset 0 0 2px #FFF;
  -webkit-box-shadow: inset 0 0 2px #FFF;
  box-shadow: inset 0 0 2px #FFF;
  -webkit-background-clip: padding-box;
}

.dmx-editor-wrapper .hoverable.disabled:hover,
.dmx-menu .hoverable.disabled:hover {
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  background: transparent;
}


.dmx-editor-wrapper .activateable.active,
.dmx-editor-wrapper .activateable.active:hover,
.dmx-editor-wrapper .button.checkable.checked,
.dmx-editor-wrapper .checkable.checked:hover,
.dmx-menu .activateable.active,
.dmx-menu .activateable.active:hover,
.dmx-menu .button.checkable.checked,
.dmx-menu .checkable.checked:hover {
  border-color:rgb(236, 153, 0);
  background:rgb(255, 204, 128);
     -moz-box-shadow: inset -1px -1px 0px rgba(255, 255, 0, 0.5), inset 1px 1px 0px rgb(255, 240, 255);
  -webkit-box-shadow: inset -1px -1px 0px rgba(255, 255, 0, 0.5), inset 1px 1px 0px rgb(255, 240, 255);
          box-shadow: inset -1px -1px 1px rgba(255, 255, 0, 0.5), inset 1px 1px 1px rgb(255, 240, 255);
  background: -moz-linear-gradient(
    -90deg,
    rgba(255, 204, 158  , 0.3) 0%,
    rgba(255, 204, 138  , 1  ) 50%,
    rgba(255, 181, 78   , 1  ) 50.1%,
    rgba(255, 204, 78   , 0.3) 99%
  );
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0   , rgba(255, 204, 158, 0.3)),
    color-stop(0.5 , rgba(255, 204, 138, 1  )),
    color-stop(0.51, rgba(255, 181, 78 , 1  )),
    color-stop(1   , rgba(255, 204, 78 , 0.3))
  );
  text-shadow: 1px 1px 0 #FE9;
}

/* button ------------------------------------------------------------------- */
.dmx-editor-wrapper .button {
  background-color:transparent;
  padding:1px;
  text-shadow: 1px 1px 0px #EEE;
	/*display:inline-block;*/
	min-width: 16px;
  min-height: 16px;
	text-align:center;
  position: relative;
  text-decoration:none;
	/*-moz-user-focus: ignore;
	-webkit-user-focus: ignore;
	user-focus:ignore;*/
}

button.button {
  padding: 1px 0 !important;
  
}
.button:focus {
  outline-style:dotted !important;
  outline-width:1px;
}

.dmx-editor-wrapper .button > span,
.dmx-editor-wrapper .button > img {
  vertical-align:middle;
}

.dmx-editor-wrapper .button > span {
  line-height:normal;
  display:inline-block;
  height:100%;
  padding: 0 3px;
}

a.button > img {
  border: 0px none !important;
}


/* menubutton --------------------------------------------------------------- */
.dmx-editor-wrapper .menubutton {
  padding:0px 12px 0px 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  position:relative;
}
.dmx-editor-wrapper .menubutton > span {
  line-height:normal;
  display:inline-block;
  height:100%;
  padding: 1px 3px;
  margin:1px;
}

.dmx-editor-wrapper .menubutton > img {
  padding: 1px 3px;
}

.dmx-editor-wrapper .menubutton > .menu-arrow-right,
.dmx-editor-wrapper .menubutton > .menu-arrow-down {
  width: 5px;
  position:absolute;
  top: 0;
  right: 0;
  bottom:0;
  height:auto;
  opacity: 0.3;
}

.dmx-editor-wrapper .menubutton > .menu-arrow-right {
  background: url(dmxEditor/arrow_right.png) center center no-repeat;
  
}

.dmx-editor-wrapper .disabled .menu-arrow-down {
  background: url(dmxEditor/arrow_down_dis.png) center center no-repeat !important;
}

.dmx-editor-wrapper .disabled .menu-arrow-right {
  background: url(dmxEditor/arrow_right_dis.png) center center no-repeat !important;
  
}

.dmx-editor-wrapper .menubutton > .menu-arrow-down {
  background: url(dmxEditor/arrow_down.png) center center no-repeat;
}

.dmx-editor-wrapper .menubutton > .menu-arrow-right:hover,
.dmx-editor-wrapper .menubutton > .menu-arrow-down:hover,
.dmx-editor-wrapper .menubutton.active > .menu-arrow-right,
.dmx-editor-wrapper .menubutton.active > .menu-arrow-down {
  background-color:#A0C2DE;
  -moz-border-radius: 0 2px 2px 0;
	-webkit-border-radius: 0 2px 2px 0;
	border-radius: 0 2px 2px 0;
  -moz-box-shadow: inset 3px 3px 4px rgba(0, 0, 0, 0.14);
  -webkit-box-shadow: inset 3px 3px 4px rgba(0, 0, 0, 0.14);
  box-shadow: inset 3px 3px 4px rgba(0, 0, 0, 0.14);
  opacity: 1;
}

.dmx-editor-wrapper .disabled .menu-arrow-right:hover,
.dmx-editor-wrapper .disabled .menu-arrow-down:hover {
  background-color: transparent;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  opacity: 0.3;
}

.dmx-editor-wrapper .menubutton:focus {
  outline: none !important;
}


/* clear floats ------------------------------------------------------------- */
.dmx-editor-wrapper .clear {
  clear:both;
}

/* combo -------------------------------------------------------------------- */
.dmx-editor-wrapper .combo {
  position:relative;
  display:inline-block;
  vertical-align:bottom;
  -moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
  background-repeat: no-repeat;
  background-position: 3px center;
}
.dmx-editor-wrapper .combo,
.dmx-editor-wrapper .combo.disabled,
.dmx-editor-wrapper .combo.disabled:hover {
  border:1px solid #cDcDcD;
  background-color:#FFF;
}

.dmx-editor-wrapper .combo.disabled,
.dmx-editor-wrapper .combo.disabled:hover {
}

.dmx-editor-wrapper .combo .disable-mask {
  position: absolute;
  top: -1px;
  left:-1px;
  width: 100%;
  height: 100%;
  z-index:3;
  background-color:#DDD;
  -moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
  opacity : 0.5;
  filter: alpha(opacity=50);
  display:none;
  border:1px solid #C6C6C6;
}

.dmx-editor-wrapper .combo.disabled .disable-mask {
  display:block;
}

.dmx-editor-wrapper .combo > span {
  padding: 0;
  display:inline-block;
  vertical-align:bottom;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.dmx-editor-wrapper .combo > span input {
  height:1.3em;
  display:inline-block;
  margin:1px;
  outline:none;
  border:none;
  margin-right:14px;
  margin-left:2px;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
.combo.iconic > span input {
  margin-left:22px;
}

.combo:hover > span .btn {
  background-color:#B9CFFF;
	text-shadow:1px 1px 0px #DFEEFF;
	background-color: -moz-linear-gradient(-90deg, #CEE0FF, #B9CFFF);
  -moz-border-radius: 0 1px 1px 0;
	-webkit-border-radius: 0 2px 2px 0;
	border-radius: 0 2px 2px 0;
  opacity:0.8;
}

.combo > span .btn:hover {
  opacity:1;
}

.combo > span .btn,
.combo.disabled > span .btn,
.combo.disabled:hover > span .btn {
  display:inline-block;
  top:1px;
  right:1px;
  bottom:1px;
  position:absolute;
  background-image: url(dmxEditor/arrow-down.gif);
  background-repeat:no-repeat;
  background-position: center 55%;
  background-color:transparent;
  width:14px;
  float:right;
  opacity:1;
}







.dmx-editor-wrapper .disabled img,
.dmx-menu .disabled img {
	opacity:0.3;
}

.dmx-editor-wrapper.ie .disabled img,
.dmx-menu.ie .disabled img {
  filter:alpha(opacity=50);
  background-color: #EEE;
}

.DMXPopupMenu {
  display: none;
  position:absolute;
  z-index:100000;
  border:1px solid;
  border-color:rgb(151, 151, 151);
  background-color:#FFF;
  visibility: visible;
  margin-bottom:6px; /* compensate shadow in calculations */
  margin-right :6px; /* compensate shadow in calculations */
  -moz-box-shadow   : 5px 5px 3px -3px rgba(0, 0, 0, 0.6);
  -webkit-box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
  -o-box-shadow     : 2px 2px 3px rgba(0, 0, 0, 0.6);
  -khtml-box-shadow : 2px 2px 3px rgba(0, 0, 0, 0.6);
  box-shadow        : 2px 2px 3px rgba(0, 0, 0, 0.6);
  /*-moz-user-select   : none;
	-webkit-user-select: none;
	user-select        : none;
  -moz-user-focus    : ignore;
	user-focus         : ignore;*/
}

/* menu --------------------------------------------------------------------- */
.dmx-menu {
  position:absolute;
  z-index:100000;
  border-width:1px;
  border-style:solid;
  border-color:rgb(151, 151, 151) rgb(101, 101, 101) rgb(101, 101, 101) rgb(151, 151, 151);
  background-color:rgb(240, 240, 240);
  visibility: visible;
  -moz-box-shadow   : 5px 5px 3px -3px rgba(0, 0, 0, 0.6);
  -webkit-box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
  -o-box-shadow     : 2px 2px 3px rgba(0, 0, 0, 0.6);
  -khtml-box-shadow : 2px 2px 3px rgba(0, 0, 0, 0.6);
  box-shadow        : 2px 2px 3px rgba(0, 0, 0, 0.6);
  font: menu;
  /*-moz-user-select   : none !important;
	-webkit-user-select: none !important;
	user-select        : none !important;
  -moz-user-focus    : ignore !important;
	user-focus         : ignore !important;*/
  margin-left: -1px;
  margin-top: 1px;
  overflow: visible;
  text-align: left;
  line-height:100%;
}

.dmx-menu .dmx-menu {
  margin-left: -2px;
  margin-top: -4px;
}

.dmx-menu .menu-items-wrapper {
  border: 2px solid rgb(245, 245, 245);
  background: url(dmxEditor/separator_v.png) 26px top scroll repeat-y;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dmx-menu .menu-items-wrapper.dialog {
	background-image: none;
}

.dmx-menu .dmx-menu-item {
  -moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
  position:relative;
  text-align: left;
  padding:0 3px 0 0;
  border: 1px solid transparent;
  white-space: nowrap;
  vertical-align:middle;
  line-height:100%;
  clear:both;
}

.dmx-menu:focus, .dmx-menu-item:focus {
  outline:none;
}

.dmx-menu .dmx-menu-item > span {
  white-space: nowrap;
  display: inline-block;
  min-height:1.7em;
  line-height:1.6em;
  vertical-align:middle;
  height:100%;
}

.dmx-menu .dmx-menu-item.disabled {
  background:transparent;
}

.dmx-menu-item-left {
  min-width: 26px;
  text-align:justify;
  vertical-align:middle;
  /*float:left;*/
}

.dmx-menu-item-left > img {
  width: 16px;
  height:16px;
}

.checked > .dmx-menu-item-left {
  background : url(dmxEditor/check.png) center center no-repeat;
}

.checked > .dmx-menu-item-left > img {
  visibility : hidden;
}

.dmx-menu-item-right {
  text-align:left;
  position:absolute;
  right:7px;
  top: 0;
  min-height:1.4em;
}

.dmx-menu-item-label {
  text-align:left;
  padding:0 1.5em 0 6px;
  clear:left;
}

.dmx-menu-item-right.has-children {
  background: url(dmxEditor/arrow_right.png) right center no-repeat;
  padding-right:16px;
}

.dmx-menu-separator .dmx-menu-item-label  {
  background: url(dmxEditor/separator_h.png) center center repeat-x;
  padding:3px 0;
}

.dmx-menu .separator, 
.dmx-menu .separator > span {
  height:auto;
  min-height:6px;
  line-height:3px;
  padding:0;
  border:none;
  width:auto;
}

.dmx-menu .group-label,
.dmx-menu .group-label > span {
  height:auto;
  min-height:6px;
  line-height:100%;
  padding:0;
  border:none;
  width:auto;
}

.dmx-menu .separator .dmx-menu-item-right,
.dmx-menu .separator .dmx-menu-item-left,
.dmx-menu .group-label .dmx-menu-item-right,
.dmx-menu .group-label .dmx-menu-item-left {
  width:1px;
  padding:0;
  margin:0;
  min-height: 0;
}

.dmx-menu .group-label {
  background: rgb(240, 240, 240) url(dmxEditor/separator_h.png) bottom left repeat-x;
  padding:4px;
  font-weight:bold;
  color:#357;
  text-shadow: 1px 1px 0 #FFF;
  font-style: italic;
  white-space:nowrap;
}
 
.dmx-menu .group-label > span {
  font-weight:bold;
  color:#357;
  text-align:center;
  font-style: italic;
}

.dmx-menu .separator .dmx-menu-item-label {
  background: url(dmxEditor/separator_h.png) center center repeat-x;
  height:6px;
  position:absolute;
  left: 27px;
  right:0;
  top:50%;
  padding:0;
  margin:-3px 0 0 0;
}




.dmx-menu li.separator:hover {
  border:none !important;
  background: none !important;
  -moz-box-shadow: none !important;
}



/* colorTable --------------------------------------------------------------- */
.colorTable {
  background:#000;
  width:198px;
  display: inline-block;
  padding:1px 0 0 1px;
}
.colorTable a {
  display: block;
  float:left;
  width  : 10px;
  height : 10px;
  margin : 0 1px 1px 0;
  /*position:relative;*/
}
.colorTable a:hover,
.colorTable a.active {
  outline:1px solid #FFF;
  /*position:relative;
  z-index:2;*/
}

/* colorPicker -------------------------------------------------------------- */
.dmx-color-picker {
  -moz-user-select   : none !important;
	-webkit-user-select: none !important;
	user-select        : none !important;
  padding:4px;
  border:1px solid #666;
  background:#888;
}

.dmx-color-picker .spectrum {
  border : 1px solid #000;
  border-color: #333 #BBB #BBB #333;
  position: relative;
  width:180px;
  height:140px;
}

.dmx-color-picker .spectrum-gradient {
  width:100%;
  height:100%;
  position:relative;
  z-index:1;
  background: -moz-linear-gradient(
    left center, rgb(255,0,0) 0%, 
    rgb(255,255,0) 16.66%, 
    rgb(0,255,0) 33.33%, 
    rgb(0,255,255) 50%, 
    rgb(0,0,255) 66.66%, 
    rgb(255,0,255) 83.33%, 
    rgb(255,0,0) 100%
  );
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    color-stop(0,rgb(255,0,0)),
    color-stop(0.16, rgb(255,255,0)),
    color-stop(0.33, rgb(0,255,0)),
    color-stop(0.5 , rgb(0,255,255)),
    color-stop(0.66, rgb(0,0,255)),
    color-stop(0.83, rgb(255,0,255)),
    color-stop(1, rgb(255,0,0))
  );
}

.dmx-color-picker .sat-gradient {
  width:100%;
  height:100%;
  position:absolute;
  top:0;
  left:0;
  z-index:2;
  background: -moz-linear-gradient(
    top center, 
    rgba(127,127,127,0) 0%, 
    rgba(127,127,127,1) 100%
  );
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0,rgba(127,127,127,0)),
    color-stop(1, rgba(127,127,127,1))
  );
	outline-offset:2px;
}

.dmx-color-picker .color-pos {
  position: absolute;
  width : 14px;
  height: 14px;
  z-index:3;
  margin-top: -7px;
  margin-left: -7px;
  top: 50%;
  left: 50%;
}

.dmx-color-picker .lum {
  border : 1px solid #000;
  border-color: #333 #BBB #BBB #333;
  width:10px;
  height:140px;
  position:relative;
  cursor:n-resize;
  text-align:left;
}

.dmx-color-picker .lum-gradient {
  height: 140px;
  width:10px;
  background: -moz-linear-gradient(
    -90deg, 
    rgba(255,255,255,1) 0%, 
    rgba(255,255,255,0) 49%, 
    rgba(0,0,0,0) 51%, 
    rgba(0,0,0,1) 100%
  );
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0,rgba(255,255,255,1)),
    color-stop(0.49, rgba(255,255,255,0)),
    color-stop(0.51, rgba(0,0,0,0)),
    color-stop(1, rgba(0,0,0,1))
  );
  cursor:n-resize;
	outline-offset:2px;
}

.dmx-color-picker .lum-pos {
  border: 1px solid #FFF;
  outline: 1px solid #000;
  position: absolute;
  width : 12px;
  height: 3px;
  padding:1;
  top: 50%;
  z-index:5;
  margin-top: -3px;
  margin-left: -2px;
  cursor:n-resize;
  -webkit-box-shadow: 0 1px 4px rgb(0, 0, 0);
  -o-box-shadow     : 0 1px 4px rgb(0, 0, 0);
  -khtml-box-shadow : 0 1px 4px rgb(0, 0, 0);
  box-shadow        : 0 1px 4px rgb(0, 0, 0);
}

.color-preview, .color-hex-preview {
  -webkit-box-sizing: content-box !important;
  -moz-box-sizing: content-box !important;
  box-sizing: content-box !important;
}

/* FRAMES ------------------------------------------------------------------- */
.dmx-editor-frame-wrapper {
  padding:0 2px 2px;
}
.dmx-editor-frame-wrapper-inner {
  position: relative;
  width:100%;
  height:100%;
}

.dmx-editor-wrapper.fullscreen .dmx-editor-frame-wrapper {
  padding:0;
  margin: 0 -1px;
}

.dmx-editor-frame-wrapper iframe,
.dmx-editor-frame-wrapper textarea {
  position: absolute;
  top:0;
  left:0;
  bottom:0;
  right:0;
  width:100%;
  height:100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #FFF;
  border          : 1px solid threedShadow;
  border-color    : #888;
	padding : 0;
	max-width:100%;
	max-height:100%;
	resize:none;
  overflow-x: auto !important;
  overflow-y: scroll !important;
}

.dmx-editor-frame-wrapper textarea {
  font-family: monospace;
  font-size:12px;
  white-space: pre;
  word-wrap:normal;
	overflow:auto;
	margin:0;
	padding:2px;
  line-height:110%;
  outline: none;
}

.menu-items-wrapper.dialog { 
  padding:8px;
  border-bottom-color: rgb(230, 230, 230);
  border-right-color: rgb(230, 230, 230);
}

.dmx-editor-wrapper input, 
.dmx-editor-wrapper select, 
.dmx-editor-wrapper button,
.dmx-menu input, 
.dmx-menu select, 
.dmx-menu button {
  margin:0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.dmx-editor-wrapper fieldset,
.dmx-menu fieldset { 
  border: 1px solid #CCC;
  -moz-border-radius: 5px; 
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  padding:6px;
}

.dmx-editor-wrapper legend,
.dmx-menu legend {
  color:#069;
}

.menu-items-wrapper.dialog input[disabled], 
.menu-items-wrapper.dialog select[disabled], 
.menu-items-wrapper.dialog button {
  background-color: #EEE;
  color: #666;
  text-shadow: 1px 1px 0px #FFF;
  border: 1px solid #FFF;
  outline: 1px solid #CCC;
}

/* Tabs --------------------------------------------------------------------- */
.dmx-tab-pannel {
  display:none;
}

.dmx-tab-pannel.active {
  display:block;
}

.dmx-tab { 
  padding:3px 8px;
  margin: 0 0 -1px 4px;
  float:left;
  border: 1px solid;
  border-color: #BBB #BBB #999 #BBB;
  -moz-border-radius:4px 4px 0px 0px;
  -webkit-border-radius:4px 4px 0px 0px;
  border-radius:4px 4px 0px 0px;
  position: relative;
}

.dmx-tab.active {
  background: #FFF; 
  border-color: #999 #999 #FFF #999;
}

.dmx-tab-pannels-container { 
  background: #FFF; 
  padding:6px;
  border: 1px solid #999;
  -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.12);
  -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.12);
  -box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.12);
  -moz-border-radius:3px;
  -webkit-border-radius:3px;
  border-radius:3px;
}




.dmx-alpha-bg {
	background: url(dmxEditor/alpha.png);
}




.color-control {
  /*border: 1px solid #999;*
  
  /*border-color: #DDD #FFF #FFF #DDD;*/
  background: #888;
  -webkit-box-shadow: -1px -1px 1px rgba(0, 0, 0, 0.1), 1px 1px 1px rgba(255, 255, 255, 0.6);
  -moz-box-shadow: -1px -1px 1px rgba(0, 0, 0, 0.1), 1px 1px 1px rgba(255, 255, 255, 0.6);
  -ms-box-shadow: -1px -1px 1px rgba(0, 0, 0, 0.1), 1px 1px 1px rgba(255, 255, 255, 0.6);
  box-shadow: -1px -1px 1px rgba(0, 0, 0, 0.1), 1px 1px 1px rgba(255, 255, 255, 0.6);
}

.color-control input {
  height: 16px;
  border: none;
}


.color-control .color-preview {
  width: 15px;
  border: 1px solid #FFF;
  /*outline: 1px solid #FFF;*/
  background: url(dmxEditor/alpha_small.png) center center;
  border-color: #FFF #DDD #DDD #FFF;
}
