/******************************************************************************
** STRUCTURE OF DYNAMICALLY CREATED ELEMENTS
*******************************************************************************
**
** <div id="ORIGINAL_IDWidgContainer" class="widgContainer">
**     <ul id="ORIGINAL_IDWidgToolbar" class="widgToolbar">
**         <li id="BUTTON_ID" class="widgEditButton">
**             <a></a>
**         </li>
**         <li class="widgEditSelect">
**             <select>
**             </select>
**         </li>
**     </ul>
**     <iframe id="ORIGINAL_IDWidgIframe" class="widgIframe">
**     </iframe>
**     <textarea id="ORIGINAL_IDWidgTextarea" class="widgEditor">
**     </textarea>
** </div>
*/

/* TOOLBAR BUTTONS */

.widgToolbar a
{
	display: block;
	width: 34px;
	height: 34px;
	overflow: hidden;
	background-repeat: no-repeat;
	text-indent: -1000em;
	text-decoration: none;
	border-top			: 2px solid #eeeeee;
	border-left			: 2px solid #eeeeee;
	border-right		: 2px solid #888888;
	border-bottom		: 2px solid #888888;
}

.widgToolbar a:hover
{
	xbackground-position: 0 -30px;
	border: 2px solid #000000;
}

.widgToolbar a:active
{
	xmargin-top: 2px;
	xmargin-left: 2px;
	xbackground-position: 0 -60px;
	border: 2px solid #0000ff;
}

.widgToolbar li.on a, .widgToolbar li.on a:hover
{
	xbackground-position: 0 -60px;
	border: 2px solid #0000ff;
}

.widgToolbar li.widgEditButton-orig
{
	background-image: url(../images/widgeditor_button_shadow.gif);
	background-repeat: no-repeat;
	background-position: bottom right;
}

.widgButtonBold-orig
{
	background-image: url(../images/widgeditor_button_bold.gif);
}

.widgButtonBold
{
	background-image: url(../../images/buttons/bold.jpg);

}

.widgButtonHTML
{
	background-image: url(../images/widgeditor_button_html.gif);
}

.widgButtonImage
{
	background-image: url(../images/widgeditor_button_image.gif);
}

.widgButtonItalic
{
	background-image: url(../../images/buttons/italic.jpg);
}

.widgButtonLinkWeb
{
	background-image: url(../../images/buttons/link-web.jpg);
}

.widgButtonLinkPage
{
	background-image: url(../../images/buttons/link-page.jpg);
}

.widgButtonLinkDoc
{
	background-image: url(../../images/buttons/link-document.jpg);
}

.widgButtonOrdered
{
	background-image: url(../../images/buttons/ordered.jpg);
}

.widgButtonUnordered
{
	background-image: url(../../images/buttons/unordered.jpg);
}

.widgButtonHeading
{
	background-image: url(../../images/buttons/heading.jpg);
}

.widgSource a
{
	background-image: url();
	cursor: default;
}

.widgSource a:hover
{
	border-top			: 2px solid #eeeeee;
	border-left			: 2px solid #eeeeee;
	border-right		: 2px solid #888888;
	border-bottom		: 2px solid #888888;
}



.widgSource li.on a, .widgSource li.on a:hover
{
	border: 0;
}

.widgSource .widgButtonHTML
{
	background-image: url(../images/widgeditor_button_html.gif);
}

.widgSource .widgButtonHTML:hover
{
	cursor: pointer;
}




/* TOOLBAR */

.widgToolbar
{
	list-style: none;
	width: 100%;
	height: 30px;
	margin: 0;
	padding: 0 0 0 0px;
	border: 1px solid #CCCCCC;
	xbackground-image: url(../images/widgeditor_toolbar_bg.gif);
	xbackground-repeat: repeat-x;
	background-color: #c4ccd1;
}

* html .widgToolbar
{
	width: auto;
}

.widgToolbar li
{
	display: inline;
	float: left;
	width: 32px;
	height: 36px;
	margin-top: 2px;
	margin-left: 7px;
	line-height: 30px;
}


/* EDITING AREA */

.widgIframe
{
	clear: left;
	width: 100%;
	height: 500px;
	border-top-width: 1px;
	frameborder: 0;
	border: 0;
}

.widgContainer textarea.widgEditor
{
	clear: left;
	width: 100%;
	height: 500px;
	border-top-width: 1px;
	font-family: trebuchet ms;
}




/* EDITOR CONTAINER */

.widgContainer
{
	width: 620px;
}
