/* CWCMS */

.cwcms,.cwcms td,.cwcms th,.cwcms input,.cwcms button,.cwcms textarea,.cwcms select,.cwcms option,.cwcms p,.cwcms div,.cwcms .form .label,.cwcms .form .control,.cwcms .form .subLabel,.cwcms .form .subControl,.cwcms .checkbox .subLabel
{
   font-size:9pt;
   font-weight:300;
   color:#333333;
}

.cwcms .breakAfter
{
	margin-right:15px;
}

.cwcms .itemAfter
{
	margin-right:3px;
}

.cwcms .form input.text,.cwcms .form textarea
{
	background-image:-webkit-gradient(linear,0% 0%,0% 100%,from(hsla(0,0%,100%,0)),to(hsla(0,0%,100%,0)));
	border:1px solid #cccccc;
	border-radius:3px;
	padding:2px;
}

.cwcms .form tr.error input.text,.cwcms .form tr.error textarea
{
	border:1px solid #aa0000 !important;
	background-color:#fff6f6;
}

.cwcms .form textarea
{
	resize:none;
}

.cwcms .form tr.error td
{
	color:#aa0000;
}

.cwcms .form th
{
	text-align:left;
}

.cwcms .form td.label,.cwcms .form td.subLabel,.cwcms .checkbox td.subLabel
{
	white-space:nowrap;
}

.cwcms .form td.label
{
	padding:0px 5px 7px 0px;
	text-align:right;
}

.cwcms .form th,.cwcms .form td.control
{
	padding-bottom:7px;
}

.cwcms .form td.subLabel,.cwcms .form td.subControl
{
	padding-right:7px;
}

.cwcms .form td.subLabel,.cwcms .form td.subControl
{
	padding-right:7px;
}

.cwcms .checkbox td.subLabel
{
	padding-left:2px;
}

.cwcms .form tr.error td.message
{
	padding:0px 0px 7px 0px;
}

.cwcms #menuDialog
{
	padding:3px 0px 0px 0px;
}

#cwcmsToolbar
{
	z-index:10000 !important;
	position:fixed;
	opacity:0.95;
}

.cwcmsEditorLabel
{
	width: -moz-fit-content;
	width:fit-content;
	height:14px;
	padding:2px 5px;
	transform:translateY(-100%);
	background-color:#cccccc;
	border-top-left-radius:5px;
	border-top-right-radius:5px;
	color:black;
	font-size:8pt;
	opacity:0.5;
}

.cwcmsEditor
{
	margin-top:-18px;
	box-sizing:border-box;
	min-width:28px;
	min-height:28px;
	border:1px dashed #cccccc;
	overflow:hidden;
}

.cwcmsEditor.embedded
{
	border:1px solid #cccccc;
	overflow:scroll;
	color:black !important;
}

.mce-edit-focus
{
	outline:none !important;
}

.cwcms.noCloseButton .ui-dialog-titlebar-close
{
	display:none;
}

.cwcmsDisabled
{
	opacity:0.5;
	pointer-events:none;
}

/* jQuery-UI customisations */

.ui-front
{
	z-index:9999;
}

.ui-widget-overlay
{
	background:#000000;
	opacity:0.4;
}

.ui-widget,.ui-widget .ui-widget,.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button
{
	font-family:inherit;
	font-weight:inherit;
	font-size:1em;
}

.ui-button
{
	padding:0.4em 0.8em;
}

.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus,.ui-button:hover,.ui-button:focus
{
   font-weight:inherit;
}

#ui-datepicker-div
{
	z-index:1000 !important;
}
