body {
	background-color: #bbbedb;
	font-family: arial, helvetica, sans-serif;
/*    font-family: "Trebuchet MS", Arial, sans-serif;*/
        font-size: 9pt;
}

#background {
	z-index: 1;
	background-repeat: no-repeat;
	background-attachment:fixed;
	position: absolute;
	left: 0;
	top: 0;
	margin: 0;
	width: 100%;
	height: 100%;
}

.extensive-remove {
	background-image:url('images/remove.gif') 
}

.extensive-insert {
	background-image:url('images/table_add.png') 
}

.extensive-edit {
	background-image:url('images/application_go.png') 
}

#mainTopList {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 40px;
	z-index: 2;
	background-image: url('images/top_slice.png');
	background-repeat: repeat-x;
	/* for IE */
/*	filter: alpha(opacity=90);*/
	/* CSS3 standard */
/*	opacity: 0.9;*/
}

#restolution {
	position: absolute;
	left: 12px;
	top: 0px;
	width: 230px;
	height: 40px;
	z-index: 3;
	background-image: url('images/restologo.png');
	background-repeat: no-repeat;
}


#soft_contact {
	position: absolute;
	right: 10px;
	top: 0px;
	width: 500px;
	height: 40px;
	z-index: 4;
    cursor: pointer;
	background-image: url('images/sc_logo_slogan.png');
	background-repeat: no-repeat;
}
/*
#revolution {
	position: absolute;
	right: 112px;
	top: 0px;
	width: 177px;
	height: 20px;
	z-index: 5;
	background-image: url('images/revolution.jpg');
	background-repeat: no-repeat;
}
*/
#authInfo {
	position: absolute;
	top: 69px;
	right: 22px;
	width: 300px;
	height: 16px;
    text-align: right;
	color: #BBB;
/*	font-weight: bold;*/
	z-index: 6;
}

#logoutLink a {
	position: absolute;
	top: 17px;
	right: 6px;
	width: 10px;
	height: 20px;
	color: #BBB;
	font-weight: bold;
	z-index: 7;
}

#language {
	position: absolute;
	top: 45px;
	right: 22px;
	align: right;
	z-index: 101;
}

/* zeroing padding/margin for all elements */
#mainMenu,
#mainMenu * {
	margin: 0;
	padding:0;
/*	font: bold 11px/16px "Trebuchet MS", arial, helvetica, sans-serif;*/
	z-index: 100;
}

/* "Master" UL (the whole Menu) */
#mainMenu {
	position: absolute;
	left: 0;
	top: 41px;
	width: 100%;
/*	max-width: 90%;*/
	height: 23px;
/*	min-width: 186px;*/
	background-image: url('images/menubar_slice.png');
	background-repeat: repeat-x;
/*	background-color: #bbbedb;*/
/*	border-width: 1px;
	border-style: solid;
	border-color: #ccc #888 #555 #bbb;
	border-color: #bbbedb;*/
}

#mainMenu ul {
    position: relative;
	display: block;
    left: 22px;
}

#mainMenu ul li {
	position:relative;
	float:left;
	width:165px;
    height: 100%;
	list-style-type:none;
    border-left: 1px solid #ffffff;
	color:#000000;
	font-weight:900;
	cursor:pointer;
}

/* sub-menu ULs */
#mainMenu ul li ul {
	width:165px !important;/* leaves room for padding */
	position:absolute;
	height:auto;
	display:none;
	left:-1px;
	background-color: #fff;
	border:1px solid #333;
	border-top:none;
}

/* sub-menu LIs */
#mainMenu ul li ul li {
	width:165px/*FF*/;
	padding:0;
	border:none;
    border-top: 1px solid #000000;
	max-width:100%;
/*	border:1px solid #fff;
	border-top:none;*/
}

/* All anchors */
#mainMenu li a {
	cursor:default;
	color:#000000;
/*	border-left:1px solid #fff;*/
	text-decoration:none;
	display:block;
	float:left;
	padding:0.25em;
/*  uncomment the declaration below if you want to go "full width" */
	width:157px;
	height:1.5em;
	line-height:1.5em;
}

/* sub-menu Anchors */
#mainMenu ul li ul li a {
	width:157px/*FF*/;
	position:relative !important; /* ie Mac */
	cursor:pointer !important;
	white-space:nowrap;
	line-height:1.25em;
	height:1.25em;
	font-weight:normal;
/*	border:1px solid #fff;*/
/*	color:#000;*/
	background-position:0 50% !important;
}

/* :hover and stuff */
#mainMenu li a:hover,
#mainMenu li a:focus,
#mainMenu li a:active {color:#da219f}

/* move the declarations from the rule below the one above if you want a background swap on *all* anchors, including the top level ones */
#mainMenu ul a:hover,
#mainMenu ul a:focus,
#mainMenu ul a:active {color:#da219f !important;background:#fff}

/* display and z-index for the sub-menus */
#mainMenu li:hover ul,
#mainMenu li.msieFix ul {display:block;z-index:102;top:1.9em !important;}

#mainFrameHeader {
   	position: absolute;
	left: 22px;
	top: 87px;
	right: 22px;
	height: 17px;
    padding: 4px 18px;
    color: #ffffff;
	background-image: url('images/window_slice.png');
	background-repeat: repeat-x;
    font-size: 1.2em;
    font-weight: bold;
	z-index: 25;
}

#contentArea {
    position: absolute;
    left: 22px;
    top: 112px;
    right: 22px;
    bottom: 22px;
	z-index: 24;
}

#mainFrame {
	position: absolute;
    overflow: auto;
    overflow-x: hidden;
    left: 0;
    top: 0;
    width: 100%;
	background-color: #ffffff;
    height: auto;
	max-height: 100%;
	min-height: 100%;
	z-index: 26;
}

#changeClientArea{
	float:right;
	border:1px solid #333;
}
/*
div#search {
	position: absolute;
	top: 0px;
	right: 0px;
/*	width: 280px;*
	min-width: 180px;
	width: 30%;
	background-color: #ffffff;
	min-height: 400px;
	height: 90%;
	z-index: 22;
}
*/
/* Stuff needed by Tapestry components */

div.t-error-popup span,
div.t-error-popup *,
div.t-error-popup {
	z-index: 103;
}

/* Bean editor */


#editEntity{
/*	background-color: #bbbedb;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: 2px solid #888888;*/
	margin: 7px 10px 7px 4px;
	padding: 6px;
	align: center;
	font: black;
}

#searchEntity{
	height: 100%;
/*	background-color: #bbbedb;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: 2px solid #888888;*/
	margin: 7px 4px 4px 7px;
	align: center;
}

#gridEntity{
	height: 100%;
	margin: 4px 4px 7px 7px;
	padding: 6px;
/*	background-color: #bbbedb;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: 2px solid #888888;*/
	align: left;
}


.editSaleGroupSelect{
	width: 200px;
}

.editEntitySelect{
	width: 153px;
}

.editBox{
	float: left;
}

.editLabel{
	float:left;
	width:150px;
}

.editField{
	float:left;
}

/* Tapestry grid */
TABLE.t-data-grid THEAD TR {
    color: #000000;
    background-color: #d0cfca;
    padding-left: 1em;
}
TABLE.t-data-grid THEAD TR a {
    color: #000000;
}

table.t-data-grid {
    border-collapse: collapse;
/*    border-left: 1px solid silver;*/
    border-left: none;
/*	border: 1px solid #888888;*/
    font-size: 9pt;
    padding-left: 1em;
}

TABLE.t-data-grid TBODY TR TD {
    border-right: 1px dotted #000000;
    border-bottom: 1px solid #000000;
    padding: 2px;
    padding-left: 1em;
}
/*
table.t-data-grid tr.odd{
	background-color: #bbbbbb;
}
table.t-data-grid tr.even{
	background-color: #bbbedb;
}
*/
table.t-data-grid tbody tr:hover {
	background-color: #e7e7de;
	cursor:pointer;
}

/*
  Hide the last column in tapestry grid.
*/
table.t-data-grid th.modify {
	display: none;
}

table.t-data-grid td.modify {
	display: none;
}

/* blackbox statuses */
#blackboxStatus {
	padding: 5px;
}


/*price classes*/
/*
td.prices{
	width:100%;
}


#priceClassEdit{
  width:100%;
}

#priceClassPriceEdit{
  float:left;
}*/

/**
Format currency and numbers to the right
**/
input.currency-edit{
	text-align:right;
}
input.t-number{
	text-align:right;
}

/**
show datepicker on top of other components
**/
.datePicker {
	z-index: 255;
}

/*
 autocomplete background
 */
DIV.t-autocomplete-menu ul {
	background-color:silver;
	border:2px outset silver;
	overflow:auto;
	padding:4px 6px;
}

DIV.t-autocomplete-menu li {
	border-bottom:1px solid black;
	color:black;
	cursor:pointer;
	list-style-type:none;
	margin:0;
	padding:0;
}

DIV.t-autocomplete-menu {
	z-index: 255;
}

td.totalSumFormatted {
	align : right;
	text-align : right;
}

td.sumFormatted {
	align : right;
	text-align : right;
}

td.price{
	align : right;
	text-align : right;
}

div.editEntity{
	height:100%;
}

html > body div.t-error li {
	margin-left:0px;
}

#userFunctions-avail {
	width: 250px;
}

#userFunctions {
	width: 250px;
}

#licenceFunctions-avail {
	width: 250px;
}

#licenceFunctions {
	width: 250px;
}

table.t-data-grid td.body{
  white-space: pre-wrap;
}

.required
{
	width: 10px;
	height: 10px;
	padding-right: 10px;
	background-image: url('images/required-field.png');
	background-position: top right;
	background-repeat: no-repeat;
}

.greyed-ext-row{
	color: grey; 
}

.x-combo-disabled-true{
	color: grey; 
}


.scSubmitLink{
	margin-left: 10px !important;
}

.scSubmitLink .resto-button-text, .scSubmitLink .glyphicon{
	padding: 2px;
}

.resto-menu-col-name .glyphicon{
	 padding-right: 5px;
}

.link-button-link-w-btn, .link-button-link {
	line-height: 1.5;
    padding: 1px 5px !important;          
    text-decoration: none !important;
}


