/* YUI CSS imports */
@import "../yui/build/resize/assets/skins/sam/resize.css";
@import "../yui/build/layout/assets/skins/sam/layout.css";
@import "../yui/build/container/assets/skins/sam/container.css";
@import "../yui/build/logger/assets/skins/sam/logger.css";
@import "../yui/build/treeview/assets/skins/sam/treeview.css";
@import "../yui/build/menu/assets/skins/sam/menu.css";
@import "../yui/build/button/assets/skins/sam/button.css";
@import "../yui/build/autocomplete/assets/skins/sam/autocomplete.css";
@import "../yui/build/tabview/assets/skins/sam/tabview.css";
@import "../yui/build/calendar/assets/skins/sam/calendar.css";
@import "../yui/build/editor/assets/skins/sam/editor.css";


/* YUI Tree checkbox images */
.ygtvcheck0 { background: url(../yui/treeview/assets/check0.gif) 0 0 no-repeat; width:16px; cursor:pointer }
.ygtvcheck1 { background: url(../yui/treeview/assets/check1.gif) 0 0 no-repeat; width:16px; cursor:pointer }
.ygtvcheck2 { background: url(../yui/treeview/assets/check2.gif) 0 0 no-repeat; width:16px; cursor:pointer }



.yui-skin-sam .mask { height:100% !important; }


._yuiResizeMonitor {
  position: absolute !important;
  top: -100% !important;
  left: -100% !important;
  width: 10% !important;
  height: 10% !important;
}


/* History manager styles */
#yui-history-iframe {
  position: absolute;
  top: -100%;
  left: -100%;
  width: 1px;
  height: 1px;
  visibility: hidden;
}

/* YUI Dialog styles */
.yui-skin-sam .yui-panel .hd {
	font-family:lucida sans, Calibri, Verdana, Arial, Helvetica, sans-serif;
	background:url(../img/header-gradient.png) repeat-x left center;
	border-bottom:1px solid #99CC7F; cursor:default !important;
	font-size:1.1em; font-stretch:expanded; font-weight:600;
	color:#311717; padding:3px 5px; padding-right:25px;
	line-height:1.5;
}
.yui-skin-sam .yui-panel .bd {
	background-color:#FEFEFF !important;
	overflow:auto !important;
}
.yui-skin-sam .yui-panel .ft {
	background-color:whitesmoke !important;
	padding-top:5px !important; padding-bottom:5px !important;
	border-top:1px solid #666;
}
.yui-skin-sam .yui-panel-container.shadow .underlay {
	background-color:darkkhaki;
	opacity:.3;
	filter:alpha(opacity:30);
}
.ff2.yui-skin-sam .yui-dialog .bd {
	/* fix for displaying input cursor for firefox 2 */
	overflow:auto;
}

#appLoader .bd { text-align:center; }

.yui-skin-sam .yui-panel .container-close {
	border:none;
}

#errorDialog .bd p.msg1 {
	margin-bottom:10px;
	font-weight:bold;
}
#errorDialog .bd .yui-icon {
}

.yui-skin-sam .yui-tt .bd {
	background-color:#FFC;
	font-size:.9em;
	border-color:#666;
}

.yui-skin-sam .container-close {
	width:16px; height:14px; *padding-bottom:2px;
	background:url(../img/closedialog.png) no-repeat center center;
}
.yui-skin-sam .container-close.maximize {
	right:26px;
	background:url(../img/maximize.png) no-repeat center center;
}
.yui-skin-sam .container-close.restore {
	right:26px;
	background:url(../img/restore.png) no-repeat center center;
}

.yui-skin-sam .yui-panel.resizeable .bd {
	overflow:auto !important;
}
.yui-skin-sam .yui-panel.resizeable .ft {
	min-height:15px;
}
.yui-skin-sam .yui-panel.resizeable .yui-resize-handle-br {
	height:15px !important; width:15px !important;
	background:url(../img/resize-corner.gif) no-repeat center center;
}

/* YUI Button */
.yui-button button {
	outline:none !important;
	font-family:lucida sans, Calibri, Verdana, Arial, Helvetica, sans-serif;
}

.ff2.yui-skin-sam .yui-button {
	position:relative;
}
.ff.yui-skin-sam .yui-button button {
	/*padding-bottom:.4em;*/
}
.ff2.yui-skin-sam .yui-button button {
}

.yui-skin-sam .yui-button {
	background-color:#EFEFEF;
	margin:3px;
}
.yui-skin-sam .yui-button.default {
	background-color:#06C;
}
.yui-skin-sam .yui-button button {
	border:1px solid #CCC;
	font-size:.9em;
}
.yui-skin-sam .yui-button .first-child { margin:0px; }
.yui-skin-sam .yui-button.default button {
	border:1px solid #7BF;
}
.yui-skin-sam .yui-button.yui-button-hover button {
	border:1px solid #06C;
}
.yui-skin-sam .yui-button.yui-button-focus button {
	border:1px solid #F90;
}
.sf.yui-skin-sam .yui-button button {
	padding:0px 7px; line-height:1.8;
}
.sf.yui-skin-sam .yui-menu-button button {
	padding-right:20px;
}

/* YUI Menubar */
.yui-skin-sam .yuimenubar {
	background:url(../img/menu-gradient.png) repeat-x left bottom;
	border-width:0px !important;
	border-bottom-width:1px !important;
}
.yui-skin-sam .yuimenubarnav .yuimenubaritem {
	border-color:#666;
	text-align:center;
	background:url(../img/menu-gradient.png) repeat-x left bottom;
}
.yui-skin-sam .yuimenubaritemlabel {
	padding:0px 1em !important;
	color:#181818;
	cursor:pointer;
	font-family:lucida sans, Calibri, Verdana, Arial, Helvetica, sans-serif;
}
.yui-skin-sam .active,
.yui-skin-sam .yuimenubaritem-selected {
}
.yui-skin-sam .yuimenubaritemlabel-selected {
	color:white;
	cursor:pointer;
}
.yui-skin-sam .active a {
	color:white !important;
}
.yui-skin-sam .active .yuimenubaritemlabel {
	color:white;
}
.yui-skin-sam .active .yuimenuitem .yuimenuitemlabel {
	color:#181818 !important;
}
.yui-skin-sam .yuimenuitem.active a {
	color:white !important;
}
.yui-skin-sam .yuimenuitem.active .yuimenuitemlabel {
	color:white !important;
}

.yui-skin-sam .yuimenubar .yuimenubaritem.shortcut {
	background:white;
	float:right !important;
	border-right-width:0px !important;
}
.yui-skin-sam .yuimenubar .yuimenubaritem-selected.shortcut {
	background:#99B27F;
}
.yui-skin-sam .yuimenubar .yuimenubaritem.shortcut .yuimenubaritemlabel {
	color:black !important;
	border-left-width:1px !important;
	margin-left:0px !important;
}
.yui-skin-sam .yuimenubar .yuimenubaritem-selected.shortcut .yuimenubaritemlabel {
	color:white !important;
}

.yui-skin-sam .yuimenubar .yuimenubaritem-disabled.shortcut {
	background-color:#E6E0D5 !important;
}
.yui-skin-sam .yuimenubar .yuimenubaritem-disabled .yuimenubaritemlabel,
.yui-skin-sam .yuimenubar .yuimenubaritem-disabled.shortcut .yuimenubaritemlabel {
	color:#666 !important;
	cursor:default;
}

/* YUI Tree */
.ygtvspacer,
.ygtvspacer:hover {
	border:none;
}
.ygtvcell { white-space:nowrap; }
.ygtvlabel {
	padding-right:8px;
	color:#181818;
	white-space:nowrap;
	font-size:.9em;
}
.ygtvlabel * { cursor:pointer; }

.ygtvfocus,
.ygtvfocus .ygtvlabel {
	background-color:white !important;
}
.ygtvcontent.selected,
.ygtvcontent.selected .ygtvlabel {
	background-color:#ADC199;
	color:black !important;
}
.ygtvcontent.selected {
	border:1px solid #666;
}
.ygtvtn,
.ygtvtm,
.ygtvtmh, .ygtvtmhh,
.ygtvtp,
.ygtvtph, .ygtvtphh,
.ygtvln,
.ygtvlm,
.ygtvlmh, .ygtvlmhh,
.ygtvlp,
.ygtvlph, .ygtvlphh,
.ygtvloading,
.ygtvdepthcell {
	width:0px !important; padding-left:16px !important;
}
.ygtv-checkbox .ygtvcontent {
	padding-left:1.5em !important;
}

.ygtvblankdepthcell {
	width:auto;
	padding-left:16px !important;
}



.yui-skin-sam .yui-layout-unit .yui-resize-handle-l {
	width:7px;
}
.yui-skin-sam .yui-layout-unit .yui-resize-handle-l .yui-layout-resize-knob {
	position:relative; height:100%; top:0px; cursor:e-resize;
	background:url(../img/splitter/splitter1.png) repeat-y left center;
}


.yui-skin-sam .yui-navset {
	height:100%;
}
.yui-skin-sam .yui-navset .yui-content {
	border:none !important;
	padding:0px !important;
	background-color:ghostwhite !important;
}
.yui-skin-sam .yui-navset-top .yui-nav {
	padding-left:5px;
}
.yui-skin-sam .yui-navset-top .yui-content  .yui-navset-top .yui-nav {
	padding-left:35px !important;
	margin-top:10px !important;
}
.yui-skin-sam .yui-navset-top .yui-nav a {
	font-family:lucida sans, Calibri, Verdana, Arial, Helvetica, sans-serif;
	font-size:.87em;
}
.yui-skin-sam .yui-navset-top .yui-content  .yui-navset-top .yui-nav a {
	font-family:lucida sans, Calibri, Verdana, Arial, Helvetica, sans-serif;
	font-size:.85em;
}
.yui-skin-sam .yui-navset-top .yui-nav .disabled a { color:#999 !important; background:white !important; cursor:default !important; }


#myAutoComplete {
    width:20em; /* set width here or else widget will expand to fit its container */
    padding-bottom:2em;
}
.yui-skin-sam .yui-ac-content { /* set scrolling */
    height:10em;overflow:auto;overflow-x:hidden; /* set scrolling */
}

#myContainer { position:relative; margin:3px; top:0px; display:block !important; }
#myInput { position:relative; }
#myContainer .yui-ac-content { position:relative; display:block !important; }



.yui-skin-sam .yuimenu, .yui-skin-sam .yuimenu * {
	width:auto;
}

.yui-overlay.yuimenu .bd {
	border-width:1px;
	background-color:#FBFDF6 !important;
}


.yui-overlay.yuimenu ul.first-of-type {
}
.yui-overlay.yuimenu .yuimenuitem {
}
.yui-overlay.yuimenu .yuimenuitem-selected {
	background-color:#ADC199;
}
.yui-overlay.yuimenu .yuimenuitem a {
	border-color:#666 !important;
	border:none !important;
	font-family:lucida sans, Calibri, Verdana, Arial, Helvetica, sans-serif;
}

.yui-skin-sam .yuimenubarnav .yuimenubaritem-hassubmenu .yuimenubaritemlabel {
	padding-right:20px !important;
}


#calendarDialog .bd form {
	clear:left;
}
#calendarDialog .bd {
	padding:0px !important;
}
#cal {
	border:none;
	padding:1em;
}
.calrowhead { font-weight:bold !important; text-align:center !important; color:black  !important;}

.yui-skin-sam .yui-calendar a { border:none !important; }
.yui-skin-sam .yui-calendar label { text-align:left !important; }


.yui-skin-sam #dlgSalesForm .yui-navset .yui-nav a { background:none !important; border:none !important; margin-right:5px; color:#666; cursor:default !important; }
.yui-skin-sam #dlgSalesForm .yui-navset .yui-nav .selected a {
	background:none !important; color:#000;
}
.yui-skin-sam #dlgSalesForm .yui-navset .yui-nav a em { border:none !important; padding:3px 9px !important; }
.yui-skin-sam #dlgSalesForm .yui-navset .yui-nav .selected a em { top:-2px !important; }




/*
.yui-button {
	background:url(../img/button0_0.png) no-repeat left top !important;
	border:none !important; height:29px !important;
	padding-left:10px !important;
}
.yui-button .first-child {
	background:url(../img/button1_0.png) no-repeat right top !important;
	padding-right:10px !important; border:none !important;
	height:29px !important;
}
.yui-button .first-child button {
	background:url(../img/button2_0.png) repeat-x center top !important;
	border:none !important; height:29px !important;
	color:#444 !important;
}



.yui-button.default {
	background:url(../img/button0_4.png) no-repeat left top !important;
}
.yui-button.default .first-child {
	background:url(../img/button1_4.png) no-repeat right top !important;
}
.yui-button.default .first-child button {
	color:#000 !important;
	background:url(../img/button2_4.png) repeat-x center top !important;
}


.yui-button.yui-button-hover {
	background:url(../img/button0_1.png) no-repeat left top !important;
}
.yui-button.yui-button-hover .first-child {
	background:url(../img/button1_1.png) no-repeat right top !important;
}
.yui-button.yui-button-hover .first-child button {
	color:#000 !important;
	background:url(../img/button2_1.png) repeat-x center top !important;
}


.yui-button.default.yui-button-hover {
	background:url(../img/button0_2.png) no-repeat left top !important;
}
.yui-button.default.yui-button-hover .first-child {
	background:url(../img/button1_2.png) no-repeat right top !important;
}
.yui-button.default.yui-button-hover .first-child button {
	color:#000 !important;
	background:url(../img/button2_2.png) repeat-x center top !important;
}


.yui-button.yui-radio-button-checked {
	background:url(../img/button0_3.png) no-repeat left top !important;
}
.yui-button.yui-radio-button-checked .first-child {
	background:url(../img/button1_3.png) no-repeat right top !important;
}
.yui-button.yui-radio-button-checked .first-child button {
	color:#000 !important;
	background:url(../img/button2_3.png) repeat-x center top !important;
}


.yui-button-disabled {
	background:url(../img/button0_5.png) no-repeat left top !important;
}
.yui-button-disabled .first-child {
	background:url(../img/button1_5.png) no-repeat right top !important;
}
.yui-button-disabled .first-child button {
	color:#999 !important;
	background:url(../img/button2_5.png) repeat-x center top !important;
}

*/

.yui-editor-container .yui-toolbar-container h3 { font-size:75% !important; }
.yui-editor-container .yui-editor-panel .hd h3 { font-size:90% !important; width:100% !important; height:25px; }
.yui-editor-container .yui-editor-panel .hd {
	padding:0px !important;
	width:99% !important;
	border-bottom:none !important;
}


.ygtv-checkbox .ygtvtable .ygtvcontent {
	cursor:pointer !important;
}
.ygtv-checkbox .ygtvtable.disabled .ygtvcontent {
	color:silver !important;
	background:none !important;
}

.ygtv-checkbox .ygtvtable.disabled .ygtvlabel {
	color:#666 !important;
}

.yui-skin-sam .yui-toolbar-container .yui-toolbar-editcode span.yui-toolbar-icon {
    background-image: url("../img/html_editor.gif");
    background-position: 0 1px;
    left: 5px;
}
.yui-skin-sam .yui-toolbar-container .yui-button-editcode-selected span.yui-toolbar-icon {
    background-image: url("../img/html_editor.gif");
    background-position: 0 1px;
    left: 5px;
}

.yui-editor-editable-container .editor-hidden {
    visibility: hidden;
    top: -9999px;
    left: -9999px;
    position: absolute;
}
.yui-editor-editable-container textarea {
    border: 0;
    margin: 0;
    padding: 5px;
}


