.content {
  cursor: pointer;
}
.editing .content {
  display: none !important;
}

*:not([class~='editing']) > .editor {
  display: none;
}

/* display:none breaks designMode in moz
   Hide blocks this way instead */
*:not([class~='editing']) > div.editor { /* .wordProcessor */
  height: 0;
  width: 0;
  overflow: hidden;
  position: relative;
  left: 999em;
}

*:not([class~='busy']) > .busyNotice {
  display: none !important;
}

.busy > .editor, .busy > .content {
  display: none;
}
ul.busy > .content, tbody.busy > .content, .collection.busy > .content {
  display: inline;
}

.wordProcessor iframe {
  width: 100%;
  height: 200px;
  border: 0;
}

/*body.iframe, #slides .editor*/
.content:hover {
  background: url(/images/dim.png) !important;
}
.editor .field {
  padding: 0;
  margin: 0;
  background: transparent;
  width: 80%;
  font: inherit;
  color: inherit;
  line-height: inherit;
  border: none;
  position: static;
}

textarea.html {
  height: 300px;
  border: 1px solid #eee;
}


.placeholder {
  font-style: italic !important;
  color: #000 !important;
  opacity: 0.2;
}
h2.placeholder {
 text-align: center; 
}
.main em.placeholder {
  font-size: inherit;
}

iframe.hidden {
  height: 0;
  width: 0;
  border: 0;
}

/*--------------------------------------------------------------------------*/


.button {
  overflow: hidden;
  display: block;
  position: relative;
}

.button input {
  font-size: 1000px;
  position: absolute;
  bottom: 0;
  right: 0;
  -moz-opacity: 0;
  opacity: 0;
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
  z-index: 999;
}

/** html .button .target { display: none }*/

#slides .content:hover img, .target:hover img, .button:hover img {
  opacity: 0.7;
  -moz-opacity: 0.7;
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
}


.image.busy .button, .slideshow_images + .editor + .busyNotice {
  background: url(/images/thumper.gif) no-repeat center;
}
.busy .button label, .busy .button img {
  visibility: hidden;
}

.image .placeholder {
  background: url(/images/dim.png);
}

/*--------------------------------------------------------------------------*/



.slideShow {
  position: relative; 
}
ul.slideShow, .slideShow li {
  margin: 0;
  padding: 0;
}
.slideShow li {
  display: none;
}
.slideShow .selected {
  display: block;
}
* html .slideShow .selected {
  display: inline !important;
}
.slideShow .fading {
  display: block;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
}


/*--------------------------------------------------------------------------*/

.collection, .item {
  position: relative;
}
.collection {
  min-height: 19px;
}

.item:hover > .icon {
  display: block;
}

.icon {
  display: none;
  position: absolute;
  z-index: 9;
  height: 16px;
  width: 16px;
  text-indent: -999em;
  overflow: hidden;
}


.destroy.icon {
  top: 0;
  right: 0;
}


.first > .back.icon,    .item:first-child > .back.icon,
.last  > .forward.icon, .item:last-child  > .forward.icon { display: none }


.back.icon,
.forward.icon {
  height: 6px;
  width: 20px;
  left: 50%;
  margin-left: -3px;  
}
.back.icon {
  background: url(/images/controls/arrow_up.png) no-repeat;
  top: 0;
}
.forward.icon {
  background: url(/images/controls/arrow_down.png) no-repeat;
  bottom: 0;
}

.accross .back.icon,
.accross .forward.icon {
  height: 20px;
  width: 6px;
  left: 0;
  margin-left: 0;
  top: 50%;
  margin-top: -10px;
}
.accross .back.icon {
  background: url(/images/controls/arrow_left.png);
}
.accross .forward.icon {
  background: url(/images/controls/arrow_right.png);
  left: 100%;
  margin-left: -6px;
}


/*--------------------------------------------------------------------------*/



.add.icon {
  background: url(/images/plus.png) left no-repeat;
  height: 19px;
  width: 19px;
  display: block;
  bottom: 0;
  right: 0;
}


.destroy.icon {
  background: url(/images/controls/trash.gif);
  height: 13px;
  width: 13px;
  
}

/*--------------------------------------------------------------------------*/


/*--------------------------------------------------------------------------*/
/* IE love */

/* Broken support for :hover selector */

* html body { behavior:url("/stylesheets/csshover.htc"); }

/*--------------------------------------------------------------------------*/


.overlay {
  display: none;
  position: fixed;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 9999;
  background: #000;
}
.overlayed .overlay {
  display: block;
}

/* Fudge position:fixed for ie6 */
* html.overlayed {
  overflow: hidden;
}
* html.overlayed body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
* html.overlayed .overlay {
  position: absolute;
  top: 0;
}

* html.overlayed div.forceHeight {
  height: 100%;
  width: 100%;
  position: relative;
  overflow: auto;  
}
/* todo: overlayed page can be made scrollable in ie? */



.dialog {
  visibility: hidden;
  position: fixed;
  top: 50%;
  left: 50%;
  background: #fff;
  padding: 20px;
  z-index: 99999;
}
.dialog.on {
  visibility: visible;
}

.dialog.busy {
  background: #fff url(/images/thumper.gif) center no-repeat;
}
.dialog.busy img {
  visibility: hidden;
}
* html .dialog {
  position: absolute;
}

.dialog .close.icon {
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  background-image: url(/images/controls/close.png);
}
* html .dialog .close.icon {
	background-image: none;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/images/controls/close.png", sizingMethod="crop");
}

/*--------------------------------------------------------------------------*/

#bar {
  background: #eee;
  border-bottom: 1px solid #ccc;
  position: fixed;
  width: 100%;
  top: 0;
  height: 60px;
  z-index: 99;
}
#bar, #bar a, .widgToolbar a, .widgToolbar select, .widgToolbar option {
  color: #aaa !important;
}
#bar p {
  float: right;
  margin: 20px;
  font: 18px Helvetica;
}

body.withBar {
  padding-top: 61px;
}


.widgToolbar {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
}

.widgIframe {
  width: 100%;
  height: 400px;
  border: 1px solid #eee;
}
.widgToolbar, .widgToolbar li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.widgToolbar li {
  background: none !important;
  border: none !important;
  float: left !important;
  font-size: 16px !important;
  margin: 5px !important;
}
.widgToolbar li a {
  vertical-align: middle;
}
.widgToolbar .on a {
  color: #ccc;
}

body.iframe {
/*  background-color: transparent;*/
}


/* hax */
.cleared:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.cleared {
  zoom: 1;
}

.transparent {
  -moz-opacity: 0;
  opacity: 0;
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
}
