/*************************************************************************************
  Script:- cs_utilities.css
  Job   :- General Utility css used by Clientele software & PWD general software.
 *************************************************************************************/

body {
	font-family:Arial;
	padding:0;
	margin:0;
}
input:focus, select:focus, textarea:focus {
	background-color:#f0f0f0;
	font-weight:bold;
}
.cs_CancelledText {
	text-decoration:line-through;
	color:#a0a0a0;
}

/****[ language ]****/
.cs_flag {
	height:20px;
	width:25px;
	margin:3px;
	cursor:pointer;
}
/*******************************************
 *  Standard Rounded Corners & Box-shadows *
 *******************************************/
.cs_RoundAll_3 {
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
}
.cs_RoundAll_5, .cs_RoundTop_5, .cs_RoundTopLeft_5  {
	-webkit-border-top-left-radius:5px;
	-moz-border-radius-topleft:5px;
	border-top-left-radius:5px;
}
.cs_RoundAll_5, .cs_RoundTop_5, .cs_RoundTopRight_5 {
	-webkit-border-top-right-radius:5px;
	-moz-border-radius-topright:5px;
	border-top-right-radius:5px;
}
.cs_RoundAll_5, .cs_RoundBottom_5, .cs_RoundBottomLeft_5 {
	-webkit-border-bottom-left-radius:5px;
	-moz-border-radius-bottomleft:5px;
	border-bottom-left-radius:5px;
}
.cs_RoundAll_5, .cs_RoundBottom_5, .cs_RoundBottomRight_5 {
	-webkit-border-bottom-right-radius:5px;
	-moz-border-radius-bottomright:5px;
	border-bottom-right-radius:5px;
}
.cs_RoundAll_10 {
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
}
.cs_RoundTop_10 {
	-webkit-border-top-left-radius:10px;
	-webkit-border-top-right-radius:10px;
	-moz-border-radius-topleft:10px;
	-moz-border-radius-topright:10px;
	border-top-left-radius:10px;
	border-top-right-radius:10px;
}
.cs_ShadowRight_5 {
	-webkit-box-shadow:5px 5px 10px #696969;
	-moz-box-shadow:5px 5px 10px #696969;
	box-shadow:5px 5px 10px #696969;
}
.cs_ShadowRight_3 {
	-webkit-box-shadow:3px 3px 6px #696969;
	-moz-box-shadow:3px 3px 6px #696969;
	box-shadow:3px 3px 6px #696969;
}
.cs_ShadowAll_5 {
	-webkit-box-shadow:0 0 10px 5px #696969;
	-moz-box-shadow:0 0 10px 5px #696969;
	box-shadow:0 0 10px 5px #696969;
}

/* Tab headings */
.cs_Tab, .cs_TabHilite {
	-webkit-border-top-right-radius:8px;
	-moz-border-radius-topright:8px;
	border-top-right-radius:8px;
	-webkit-border-top-left-radius:8px;
	-moz-border-radius-topleft:8px;
	border-top-left-radius:8px;
	margin-right:1px;
	text-align:center;
	cursor:pointer;
}
.cs_Tab {
	border:1px solid #c9c9c9;
	border-bottom:1px solid #000000;
	font-weight:normal;
	text-shadow:1px 1px #ffffff;
	font-size:75%;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#f0f0f0), color-stop(100%,#c0c0c0));
	background:-moz-linear-gradient(top, #f0f0f0 0%, #c0c0c0 100%);
	background:gradient(linear, left top, left bottom, color-stop(0%,#f0f0f0), color-stop(100%,#c0c0c0));
	background:-ms-linear-gradient(top, #f0f0f0 0%, #c0c0c0 100%);
}
.cs_TabHilite {
	border:1px solid #000000;
	border-bottom:none;
	font-weight:bold;
	text-shadow:1px 1px #ffffff;
	font-size:85%;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#c0c0c0), color-stop(100%,#808080));
	background:-moz-linear-gradient(top, #c0c0c0 0%, #808080 100%);
	background:gradient(linear, left top, left bottom, color-stop(0%,#c0c0c0), color-stop(100%,#808080));
	background:-ms-linear-gradient(top, #c0c0c0 0%, #808080 100%);
}
.cs_Tab:hover, .cs_TabHilite:hover {
	-webkit-box-shadow:0 0 4px 2px #a1c1ff;
	-moz-box-shadow:0 0 4px 2px #a1c1ff;
	box-shadow:0 0 4px 2px #a1c1ff;
}
.cs_tabfield {
	border:1px solid #c0c0c0;
	width:100%;
}

/* ------------------------------- */
/* Display Field and Label Formats */
/* ------------------------------- */
.cs_Right {
	text-align:right;
}
.cs_border1 {
	border-width:1px;
}
.cs_top {
	vertical-align:top;
}
.cs_span:hover {
	background-color:#c0c0c0;
	font-weight:bold;
	cursor:pointer;
}

.cs_fieldHint {
	position:relative;
}
.cs_field, .cs_fieldRight, .cs_fieldRightHilited,
.cs_fieldCenter, .cs_fieldCenterHilited, .cs_fieldBig,
.cs_label, .cs_labelLeft, .cs_labelCenter, .cs_labelBig, .cs_LabelCenterDark {
	font-size:75%;
	border-width:1px;
	border-spacing:0mm;
	margin:0px;
}
.cs_field, .cs_fieldBig {
	text-align:left;
	padding-left:3px;
	min-height:20px;
}
.cs_fieldBig {
	font-size:110%;
	font-weight:bold;
}
.cs_fieldRight, .cs_fieldRightHilited {
	text-align:right;
	padding-right:6px;
}
.cs_fieldCenter, .cs_fieldCenterHilited {
	text-align:center;
}
.cs_fieldRightHilited, .cs_fieldCenterHilited {
	background-color:#c0c0c0;
	font-weight:bold;
}
.cs_inputClear {
	border:none;
	background:transparent;
}
.cs_LabelCenterDark, .cs_label, .cs_labelLeft, .cs_labelCenter, .cs_labelBig {
	font-weight:bold;
	padding:2px;
}
.cs_label, .cs_labelLeft, .cs_labelCenter, .cs_labelBig {
	background-color:#E0E0E0;
	color:#000000;
}
.cs_LabelCenterDark {
	background-color:#a0a0a0;
}
.cs_label, .cs_labelBig {
	text-align:right;
	padding-right:6px;
	vertical-align:top;
}
.cs_labelBig {
	font-size:110%;
}
.cs_labelLeft {
	text-align:left;
	padding-left:6px;
}
.cs_labelCenter, .cs_labelCenterDark {
	text-align:center;
}

/*This is the field which is used to get an ITEM ID for a page.
  eg. Invoice number or debtor number.
  The <input> field is always called "ItemNo" */
.cs_ItemNoInput, .cs_ItemNoInput_NoFloat {
	padding:5px;
	margin:5px 30px 10px 5px;
	border:3px ridge #a0a0a0;	
}
.cs_ItemNoInput {
	float:left;
}
.cs_ItemNoInput .cs_label, .cs_ItemNoInput_NoFloat .cs_label {
	padding:3px;
	vertical-align:middle;
	text-shadow:none;
}
.cs_ItemNoInput input, .cs_ItemNoInput_NoFloat input {
	width:120px;
	margin:0;
}
.cs_ItemNoInput .cs_ItemNoDesc1, .cs_ItemNoInput_NoFloat .cs_ItemNoDesc1 {
	margin-left:5px;
	color:#000000;
	font-size:80%;
}
.cs_ItemNoInput .cs_ItemNoDesc2, .cs_ItemNoInput_NoFloat .cs_ItemNoDesc2 {
	margin-left:10px;
	color:#000080;
	text-shadow:none;
}

/***********************
 *  SlideShow Formats  *
 ***********************/
 /* Soften Slidshow container edges */
 /* **Note** This stops any ability to put links on the pics as the z-index is in front of the pics */
#cs_SlideShowBlur {
	position:absolute;
	padding:0;
	margin:0;
	-moz-box-shadow: 5px 5px 5px 10px rgba(0,0,0,0.5) inset,-5px -5px 5px 10px rgba(0,0,0,0.5) inset;
	-webkit-box-shadow: 5px 5px 5px 10px rgba(0,0,0,0.5) inset,-5px -5px 5px 10px rgba(0,0,0,0.5) inset;
	box-shadow: 5px 5px 5px 10px rgba(0,0,0,0.5) inset,-5px -5px 5px 10px rgba(0,0,0,0.5) inset;
	background:transparent;
	z-index:99999;
}
/* Pics used in slideshow */
.cs_ScrollPic {
	position:absolute;
	display:block;
	/* Use width:100% for Vertical Scrolling */
	/* Use height:100% for horizontal scrolling */
	width:100%;
	margin:0px;
	padding:0px;
	border:none;
}

/*************************************
 *  Gray out the background screen   *
 *************************************/
#cs_DivInput, #cs_GrayedScreen, .cs_GrayScreen {
	position:absolute;
	padding:0;
	margin:0;
	width:100%;
	height:100%;
	top:0;
	left:0;
	background:rgba(0,0,0,0.5);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#6f000000', endColorstr='#6f000000');
	text-align:center;
	z-index:100000;
}

/**********************************
 *  Message Division Definitions  *
 **********************************/
/* Main Message PopUp Division */
#cs_MessageContainer, .cs_MsgContainer {
	position:absolute;
	border:thin solid #696969;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
	-webkit-box-shadow:5px 5px 10px #696969;
	-moz-box-shadow:5px 5px 10px #696969;
	box-shadow:5px 5px 10px #696969;
	max-width:65%;
	padding:0;
	text-align:center;
	z-index:99000;
	display:inline-block;
}
#cs_MessageContainerInner {
	position:relative;
	border:5px ridge #c3c3c3;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
	margin:0;
	padding:0;
}
#cs_MessageContainerHdr, .cs_MsgContainerHdr, .cs_SearchContainerHdr {
	-webkit-border-top-left-radius:5px;
	-webkit-border-top-right-radius:5px;
	-moz-border-radius-topleft:5px;
	-moz-border-radius-topright:5px;
	border-top-left-radius:5px;
	border-top-right-radius:5px;
	min-height:25px;
	margin:0;
	text-align:center;
	font-weight:bold;
	font-size:120%;
	white-space:nowrap;
	color:#000000;
}
#cs_MessageContainerHdr, .cs_MsgContainerHdr {
	text-shadow:2px 2px #d3d3d3;
	background-color:#c3c3c3;
}
.cs_SearchContainer {
	background-color:#ffffff;
	min-width:40%;
	max-width:85%;
	z-index:95000;
	margin:0 auto;
	top:20%;
}
.cs_SearchContainerHdr {
	padding:5px;
	text-shadow:1px 1px #d3d3d3;
	background-color: #8b008b;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#dda0dd), color-stop(100%,#8b008b));
	background:-moz-linear-gradient(top, #dda0dd 0%, #8b008b 100%);
	background:-ms-linear-gradient(top, #dda0dd 0%, #8b008b 100%);
	background:gradient(linear, left top, left bottom, color-stop(0%,#dda0dd), color-stop(100%,#8b008b));
}
.cs_SearchContainerHdr div {
	display:inline-block;
	font-size:75%;
	text-shadow:none;
	text-decoration:italic;
}

.cs_HelpDiv {
	background-color:#F0E68C;
	color:#800000;
	font-style:italic;
	text-align:left;
}
.cs_MessageDiv {
	background-color:#ffffff;
	color:#ff0000;
	font-size:120%;
	font-weight:bold;
	min-width:30%;
}

/* Error Message Notes */
.cs_ErrorNotesHdr {
	color:#808080;
}	
.cs_ErrorNotes {
	color:#000000;
}
.cs_ErrorNotesHdr, .cs_ErrorNotes, .cs_ErrorText {
	width:100%;
	text-align:left;
}
.cs_ErrorNotesHdr, .cs_ErrorNotes {
	font-style:italic;
	font-size:85%;
}
.cs_ErrorValue {
	font-size:90%;
}
.cs_ErrorValue span {
	font-style:italic;
	background-color:#c0c0c0;
	color:#000000;
	margin-right:10px;
}

/* ------------ */
/* Menu Formats */
/* ------------ */
/* - Menus are contained in the following format:
	<div id='cs_MenuContainer'>
		<ul id='cs_MenuBar'>										<--RootLevelMenu
			<li><a class='trigger1'>DropMenu_Trigger_description</a>
				<ul>												<--2ndLevelMenu
					<li><a class='trigger2'>2nd_Level_Trigger_description</a>
						<ul class='cs_SubMenu'>						<--3rdLevelMenu
							<li><a class='trigger3'>3rd_Level_Trigger_description</a>
								<ul class='cs_SubMenu2'>			<--4thLevelMenu
									<li><a href="{link_ref_here}">description</a></li>
								</ul>
							</li>
							<li><a href="{link_ref_here}">description</a></li>
						</ul>
					</li>
					<li><a href="{link_ref_here}">description</a></li>
				</ul>
			</li>
			<li><a href="{link_ref_here}">description</a></li>
		</ul>
		<br class='cs_ClearMenu'>
	</div>
   - At this stage only MenuBar, DropMenu, SubMenu, SubMenu2 (4 levels) can be displayed.
   - The classes are very important. The triggers will not work without the classes and
     the submenus will not display properly without the class.
*/
/* Clientele Menu Container (<div>).
   The Menu can go inside an element if needed. */
#cs_MenuContainer {
	position:relative;
	background-color: #000080;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#d1d1f0), color-stop(100%,#000080));
	background:-moz-linear-gradient(top, #d1d1f0 0%, #000080 100%);
	background:gradient(linear, left top, left bottom, color-stop(0%,#d1d1f0), color-stop(100%,#000080));
	background:-ms-linear-gradient(top, #d1d1f0 0%, #000080 100%);
	filter:progid:DXImageTransform.Microsoft.Gradient(EndColorStr=#000080, StartColorStr=#d1d1f0);
	border-right:1px solid #0000b0;
	border-bottom:2px solid #191970;
	border-left:1px solid #d1d1b0;
	border-top: 1px solid #d1d1b0;
	padding:2px 10px 2px 10px;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
	height:22px;
	min-width:1000px;
	z-index:96000;
}
/* Clears the floated menu items.
   Assign to a BR tag placed just before cs_MenuContainer's closing DIV tag */
.cs_ClearMenu {
	clear: both;
	height: 0;
	line-height: 0.0;
	font-size: 0;
}
/* cs_MenuBar is the root <UL> and cs_MenuBar <ul> applies to all the sub-menu <UL>'s.
   Padding and margin to zero to eliminate all indentation, turn bullets off,
   and set a font-family different from the global font-family declared for the
   body element above. This sets font for just the menu. Do not add a font-size here. */
#cs_MenuBar, #cs_MenuBar ul {
	padding: 0;
	margin: 0;
	list-style: none;
	font-family: Arial, Helvetica, sans-serif;
}
/* Menu Item Links.
   Adjust padding values to make the root links taller and to offset them
   from the left and right edges of the link box. 
   Font-size is set here and will apply to all menu levels. */
#cs_MenuBar a {
	font-weight: bold;
	font-family: Verdana;
	padding-left: 10px;
	padding-bottom: 4px;
	padding-right: 10px;
	padding-top: 4px;
	font-size: .6em;
	display: block;
	text-decoration: none;
	color: #ffffff;
	background: transparent;
	cursor:pointer;
	border:solid 1px transparent;
}
/* Class assigned to those links that have associated Sub-Menus.
   trigger1 is for MenuBar (root) level menus.
   trigger2 is for dropdown (first) level menus. */
#cs_MenuBar a.trigger1, #cs_MenuBar a.trigger2, #cs_MenuBar a.trigger3 {
	margin: 0;
}
/* Changes the Text color and background color when the menu items are
   moused over. The 1st and 2nd selectors affect when items are accessed with 
   the keyboard tab key. 
   The remaining sets are (a) standard mouse over (b) for old versions of IE. */
#cs_MenuBar a:focus, #cs_MenuBar a:active, 
#cs_MenuBar li a:hover, 
#cs_MenuBar li a.cs_hvr,
#cs_MenuBar li:hover a.trigger1,
#cs_MenuBar li.cs_hvr a.trigger1,
#cs_MenuBar li:hover ul li:hover a.trigger2,
#cs_MenuBar li.cs_hvr ul li.cs_hvr a.trigger2,
#cs_MenuBar li:hover ul li:hover ul li:hover a.trigger3,
#cs_MenuBar li.cs_hvr ul li.cs_hvr ul li:hover a.trigger3 {
	color:#ffd700;
	background-color:#000080;
	font-weight:bold;
	cursor:pointer;
	border:solid 1px #b0c4de;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
}
/* The Menu list items. 
   Floating left allows them to appear horizontally.  
   The width is auto to allow MenuBar level items to render to their natural width. */
#cs_MenuBar li {
	float: left;
	width: auto;
}
/* Sets width for DropMenu/SubMenu box and the List Items inside - in proportional em units. 
   This allows the sub-menu width to expand if users resize the text in their browsers. */
#cs_MenuBar li ul, #cs_MenuBar ul li  {
	width: 13em;
}
/* Sub-Menu Unordered Lists.
   Describes each dropdown menu grouping. 
   Positioned Absolutely to allow them to appear below their root trigger.
   Set to display none to hide them until trigger is moused over.
   A gradient background is assigned. */
#cs_MenuBar li ul {
	position: absolute;
	display: none;
	padding:5px;
	border:solid 2px #000080;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#000080), color-stop(100%,#6495ED));
	background:-moz-linear-gradient(top, #000080 0%, #6495ED 100%);
	background:gradient(linear, left top, left bottom, color-stop(0%,#000080), color-stop(100%,#6495ED));
	background:-ms-linear-gradient(top, #000080 0%, #6495ED 100%);
	filter:progid:DXImageTransform.Microsoft.Gradient(EndColorStr=#6495ED, StartColorStr=#000080);
	-webkit-border-bottom-left-radius:5px;
	-moz-border-radius-bottom-left:5px;
	border-bottom-left-radius:5px;
	-webkit-border-bottom-right-radius:5px;
	-moz-border-radius-bottom-right:5px;
	border-bottom-right-radius:5px;
	-webkit-box-shadow:5px 5px 10px #696969;
	-moz-box-shadow:5px 5px 10px #696969;
	box-shadow:5px 5px 10px #696969;
	z-index:100001;
}
/* PopUp Sub Menu.
   Shift to right so pops over the dropdown Level menu but within touching distance of the parent <UL> */
#cs_MenuBar .cs_SubMenu1, #cs_MenuBar .cs_SubMenu2 {
	left:50px;
	z-index:100002;
}
#cs_MenuBar .cs_SubMenu1 {
	border:solid 2px #000080;
}
#cs_MenuBar .cs_SubMenu2 {
	border:solid 2px #6495ed;
}
/* Set the Sub-Menu UL to be visible when its associated Parent-Level link is moused over. */
#cs_MenuBar li:hover ul:not(.cs_SubMenu1):not(.cs_SubMenu2), 
#cs_MenuBar li.cs_hvr ul:not(.cs_SubMenu1):not(.cs_SubMenu2),
#cs_MenuBar li:hover ul li:hover ul.cs_SubMenu1:not(.cs_SubMenu2), 
#cs_MenuBar li.cs_hvr ul li.cs_hvr ul.cs_SubMenu1:not(.cs_SubMenu2),
#cs_MenuBar li:hover ul li:hover ul.cs_SubMenu1 li:hover ul.cs_SubMenu2, 
#cs_MenuBar li.cs_hvr ul li.cs_hvr ul.cs_SubMenu1 li.cs_hvr ul.cs_SubMenu2 {
	display: block;
}
/* Used for non-option lines on the menu */
#cs_MenuBar span, #cs_MenuBar li div:not(.cs_MenuText) {
	margin:0px;
	padding:0px 0px 0px 2px;
	font-weight:normal;
	font-size:65%;
	font-style:italic;
	color:#add8e6;
	background:rgba(255,255,255,0.05);
}
/***********************************************************
 * Display a message while exchanging data with the server *
 ***********************************************************/
#cs_LoadIcon {
	position:absolute;
	margin:0;
	padding:0;
}
.cs_LoadImage {
	width:200px;
	height:70px;
	padding:10px;
	margin:auto;
	top:0;
	left:0;
	bottom:0;
	right:0;
	background:#ffffff url(http://www.clientele.com.au/images/cs_loadIcon.gif) no-repeat center 30px;
	background-size:50px 50px;
	border:ridge 3px #c0c0c0;
}
.cs_LoadImage:before {
	content:"Waiting for Server...";
	font-weight:bold;
}
