/*
 * Helpers
 */

/*
 * Icons
 */


div.message { 
  padding:1em 20px; 
  background:#fff;
  width:730px;
  margin-bottom:20px;
  margin-left: auto ;
  margin-right: auto ; 
}

.ui-expandable {
    margin-top: 10px;
}

.hidden {
  display: none;
}

.dialog-success {
    background: url("../images/icons/tick.png") no-repeat scroll 0 0 transparent;
    height: 44px;
    padding-left: 40px;
    padding-top: 0px;
}

.dialog-warning {
    background: url("../images/icons/dialog-warning.png") no-repeat scroll 0 0 transparent;
    height: 44px;
    padding-left: 40px;
    padding-top: 12px;
}

.dialog-error {
    background: url("../images/icons/dialog-error.png") no-repeat scroll 0 0 transparent;
    height: 44px;
    padding-left: 40px;
    padding-top: 12px;
}


.red {
  background-color: red
}


img.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
	  
.content-container {
  outline: 1px solid #CCCCCC;
  background-color: #ffffff;
  padding: 15px 15px 15px 15px;
  width:100% !important;
  width:96%;
  margin-top:10px;
}

.secondary-menu-container {
  margin-top:10px;
  outline: 1px solid #CCCCCC;
  background-color: #ffffff;
}

.secondary-menu{
  margin-top:-17px;
  margin-bottom:0;
  background-color: #f3fced;
  font-size:11px;
  font-weight:bold;
  padding-top:5px;
  padding-left:10px;
  padding-right:10px;
  outline: 1px solid #CCCCCC;
  width:960px;
  height:23px;
  text-transform:uppercase;
  *margin-top:-1px;
}
.secondary-menu a{
	text-decoration:none;
	color:#333333;
}
.secondary-menu a:hover{
	text-decoration:none;
	color:#2E73A3;
	text-decoration:none;
}
.secondary-menu ul{
    padding-left: 0px;
    margin-bottom: 0px;
    text-align:left;
}
.secondary-menu ul li.selected span{
    color:#4A9ADC;
}
.secondary-menu ul li{
	display:inline;
	padding-left:6px;
    padding-right:5px;
}
.secondary-menu-container ul li.activemenu ul li a{
    list-style-image:none;
}
.secondary-menu-container ul li.activemenu ul li.selected span{
     list-style-image:none;
}
.secondary-menu-container ul li.menu ul li a{
     list-style-image:none;
}
#primary-menu div.container ul.column li span{
   background: #f3fced;
}

.success, .error, .notice {
   width:100%;
   padding-right:28px;
   padding-left:0px;
   padding-top:10px;
   padding-bottom:10px;
   margin-top:10px;
   margin-bottom:0px;
   margin-left:-1px;
}
.success ul, .error ul, .notice ul {
  margin-bottom:0px;
  margin-right:0px;
  padding-left:15px;
}

.secondary-menu li + li{
    border-left:1px solid;
}

span.fielderror input {
  border: 2px solid red;
}


/**
 * Forms
 */
 
input[type="text"] {	
	width: 300px
} 
select {
	width: 302px;
} 
textarea{
	width:290px;
} 

fieldset {  
  margin: 0 0 0 0;  
  padding: 0;
  border: 0;  
}

fieldset ol {
  margin: 1em 1em 0 0;  
  padding: 1em 1em 0 0;  
  list-style: none;  
}

fieldset li {  
  padding-bottom: 1em;  
}

fieldset label {    
float: left;    
width: 15em;    
margin-right: 1em;    
text-align: right;
vertical-align: bottom;
}

.fieldrequired {
  color: red;
  font-weight: bold;
  vertical-align: middle;
}

.fieldhint {
  color: gray;
}

.error ul, .success ul, .notice ul {
  list-style-type: none;
  list-style-position: outside;
  margin-left: 0;
 }

.prim {
  height: 56px;
  vertical-align: middle;
  text-align: center;
  background: #a5cf31 url(../images/login-bar-back-green.png) ;
  border-top-color: #999999;
  border-top-width: 1px;
  border-top-style: solid;
  margin-top: 30px;
  margin-bottom: 0px;
  padding-top: 0.3em;
}

#login input,
textarea, select {
  margin:0em 0;
  border:1px solid #bbb;
}

#login li input:focus {
  background-color:#FFFFCC;
  background-image:none;
  border:1px solid #CCCC88;
}

#login input {
  color: #000000;
  font-size: 170%;
  font-size-adjust: none;
  font-stretch: normal;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: normal;
  padding: 3px 5px;
  margin:0.5em 0;  
}

#login input[type="submit"] {
  padding:5px; 
  width: auto !important;
  width: 70px;
}

.center {
  margin-left: auto;
  margin-right: auto
 }
 
.clear {
	clear: both;
	display: block;
	padding: 0 0 10px 0;
}
 
 
#login input[type="password"], input[type="text"] {
  width: 300px;
}

/* 
 * Main navigation 
 */
#primary-menu {
  height: 28px;
  background: #a5cf31 url(../images/menuback.png);
  border-top-color: #999999;
  border-top-width: 1px;
  border-top-style: solid;
}

#primary-menu ul,#primary-menu ul li {
  font-size: 14px;
  line-height: 28px;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#ie6 #primary-menu {
  background: transparent none repeat scroll 0 0;
}

#primary-menu ul li {
  float : left;
}

#primary-menu ul {
  height: 28px;
  vertical-align: middle;
}

#primary-menu ul li a,#primary-menu ul li span {
  background: transparent url(../images/menudivider.png) no-repeat scroll right top;
  color: #333333;
  display: block;
  float: left;
  height: 28px;
  padding: 0 17px;
  text-decoration: none;
  font-weight: bold;
}

#primary-menu ul li span {
  color: #333333;
  background: url(../images/menuselectedback.png) repeat;
  background-color: #eeeeee;
}

#primary-menu ul li a:hover {
  color: #000000;
  background-color: #669933;
}

/*
 * Option menu
 */
#optionmenu ul,#optionmenu ul li {
  display: inline;
  float: left;
  font-size: 11px;
  line-height: 15px;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#optionmenu li+li {
  border-left: 1px solid #666666;
}

#optionmenu ul li a,#optionmenu ul li span {
  color: #333333;
  display: block;
  float: left;
  height: 15px;
  padding: 0 10px;
  text-decoration: underline;
  font-weight: bold;
}

#optionmenu ul li span {
  text-decoration: none;
}

#optionmenu ul li span {
  color: #7A9924;
  font-weight: bold;
}

#optionmenu ul li a:hover {
  color: #7A9924;
  font-size: 11px;
  font-weight: bold;
}

/*
 * Secondary navigation
 */
.treenav li {
  list-style-type: none;
  font-size: 90%;
}

.treenav a {
  text-decoration: none;
}

.treenav a:hover {
  text-decoration: underline;
}

div.treenav>ul>li>a,div.treenav>ul>li> span {
  font-size: 14px;
  font-weight: bold;
  cursor:pointer;
}

div.treenav a {
  color: #333333;
}

div.treenav>ul>li {
  border-bottom: 1px solid #999999;
}

div.treenav  li.selected {
  background-color: #2F74A1;
  color: white;
}

div.treenav>ul>li.menu {
  border-bottom: 1px solid #999999;
  list-style-image: url(../images/triangle-right.png);
  list-style-position: inside;
  padding-left: 2px;
}

div.treenav>ul>li.activemenu,.open {
  list-style-image: url(../images/triangle-down.png);
  list-style-position: inside;
  padding-left: 2px;
}


div.secondary-menu-container ul li.activemenu {
  list-style-image: url(../images/triangle-right.png);

}



div.treenav>ul>li>ul>li {
  list-style: none;
  color: #333333;
}

div.treenav>ul>li>ul>li>a {
  color: #333333;
}

body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  background-color: #eeeeee;
}
html {
  background-color: #eeeeee;
}

table.datatable {
  margin-top: 20px;
  border: 2px solid rgb(157,187, 89);
  width: 700px;
  background-color:  #FFFDF6;
  color: #333333;
  font-size:10px;
  margin-left:25px;
}

table.datatable td {
  text-align: right;
  border-bottom: 1px solid #eeeeee;
}

tr.column-labels td {
  border-bottom: 1px solid #cccccc;
  font-weight: bold;
  color: #333333;
  font-size:12px;
  Font-family: "verdana";
  background: #9CC934;
  color:#333
}

tr.column-totals td {
  border-top: 2px solid rgb(157,187, 89);
  text-align: right;
}

tr td.row-labels {
  text-align: left;
  font-weight: bold;
  color: #333333;
  font-size:10px;
}

td.row-totals {
  border-left: 2px solid rgb(157,187, 89);
  text-align: right;
}

td.number {
  text-align: right;
}

table.jqplot-table-legend {
  width: auto !important
}

.alt {
color:#666666;
font-family:"Warnock Pro","Goudy Old Style","Palatino","Book Antiqua",Georgia,serif;
font-style:normal;
font-weight:normal;
}

table.resulttable td, th {
  text-align: right;
  font-size: 8pt;
  border-bottom: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  border-collapse: collapse;
}
table.resulttable th {
  background-color:#E6EEEE;
}

table.resulttable .row-labels{
  text-align: left;
  border-bottom: 1px solid #cccccc;
}

table.resulttable .worst{
  background-color: #ff5555;
}

table.resulttable .best{
  background-color: #A5CF31;
}

table.resulttable .row-totals{
  font-weight: bold;
  border-left: 1px solid #cccccc;
 
}
 
table.resulttable .column-totals{
  font-weight: bold;
  border-top: 1px solid #cccccc;
}
  
.ls1 {
    background:#d7e3f4 ;
    width: 100px
}
 
.ls2 {
    background:#fff6d5;
    width: 100px
}
 
/*
img.ui-datepicker-trigger {
        float: left;
        width: 16px;
        height: 16px;
        padding: 0;
        margin: 5px 3px 0;
        display: block;
        text-indent: -2000px;
        overflow: hidden;
        background: url(../images/calendar.png) no-repeat; 
}
a.dp-choose-date.dp-disabled {
        background-position: 0 -20px;
        cursor: default;
}
input.dp-applied {
        width: 100px;
        float: left;
}
*/

/* JS Changes for dialogs  BEGIN */
div#fancy_div { 
	border: solid 1px #ccc;
	font-family: "century gothic",verdana,helvetica;
	
}
.dialogproperty {
	width: 45%;
	padding: 5px 10px  0 10px;
	float:	left;
}

.simpledialog h3{ 
	font-weight: bold;
}

.simplelabel {  
	font-weight: bold;
	
}

.dialogfooter {
	float: left;
	width: 200px;
	display: block;
	padding-top:20px;
	padding-bottom:20px;
	position: absolute;
	bottom: 0;
	right: 0;
}

.dialogbut {
	float: right;
	display: block;
	margin-right: 20px;
	color:	#333;
	height: 30px;	
	border : solid 1px #999;
	padding: 5px;
}


.dialogok {
		font-weight: bold;
		background: #fff;
}

.dialogcancel {
		font-weight: normal;
		background: #ccc;
}

.butrow {
	margin  : 0 auto;
	float: right;
}

.dialog2but {
	display:	block;
	color:	#333;
	border : none ;
	padding: 0px;
	background: none;
	font-size:13px;
	font-weight:bold;
	 cursor: pointer;
}


table.tablesorter {
    clear: both;
    font-family: arial;
    font-size: 8pt;
    margin: 10px 0 15px;
    text-align: left;
    width: 100%;
}

.iconbut {
	background:#A5CF31 url(../images/iconbutback.png) repeat scroll 0 0;
	border:1px solid #CCCCCC;
	color:#333333;
	font-size:13px;
	font-weight:bold;
	height:16px;
	line-height:16px;
	padding:5px;
	text-align:center;
	text-decoration:none;
	float: left;
	list-style-type:none;
	margin-right: 16px;
	margin-bottom: 10px;
	cursor: pointer;
}

.iconbut a {
	text-decoration:none;
	color:#333333;
	display:inline;  
	overflow:hidden; 
	height:18px; 
	padding-left:22px; 
	padding-bottom:2px; 
	background-repeat:no-repeat;  
	background-image:url(/images/icons/sprites.png); 	
	
	
	
}

.search-wrapper {
	position:relative;
	width:170px;
	float: left;
}


#filter-box {
	color : #999;
	border : 1px #ccc solid;
	margin:0;
	padding:3px 0 0;
	right:10px;
	top:0;
	width:165px;
	height: 23px;
	font-size:16px;

}

#filter-clear-button {
	background: url(../images/iconbutback.png) repeat scroll 0 -3px;
	color:#777777;
	cursor:pointer;
	display:block;
	font-size:17px;
	font-weight:bold;
	height:20px;
	line-height:16px;
	overflow:hidden;
	position:absolute;
	right:13px;
	text-align:center;
	top:3px;
	width:20px;
	z-index:1;
	border:1px solid #999999;
}

submit.iconbut {
	height:26px;	
}

.help {
	font-size : 11px;
}

.help li {
	font-weight : normal;
	margin-left: 20px;
}

help p  {
	text-indent:0;
}

input[type="text"], input[type="password"], input.text, input.title, textarea, select  {
    margin: 0 0;
}

.jqplot-pie-line-label { 
  color: #666; 
  font-size: 12px; 
  font-family: Arial, sans-serif; 
  text-align: center; 
  height: 12px; 
  line-height: 12px; 
}

/* JS Changes for dialogs END */

/* ButtonMaker START */
button, button:hover, a.button:hover, button:focus, button:active{
	font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif !important;
	font-size: 110%;
    background-color:#EEF5F6;
    border-color: #CCCCCC !important;
	border-top-color: #CCCCCC !important;
	border-right-color: #CCCCCC !important;
	border-bottom-color: #CCCCCC !important;
	border-left-color: #CCCCCC !important;	
    border-style: solid;
    border-width: 1px;
	padding-bottom: 5px !important;
	padding-top:5px !important;	
}

button.inactive, button.active, button.focus {
    font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif !important;
	font-size: 110%;
    color:#6D6D6D;
    background-color: #F5F5F5;
    border-color: #CCCCCC !important;
    border-style: solid;
    border-width: 1px;	
}

button[type]{
	padding-bottom: 5px;
	padding-top: 5px;
    line-height: 17px;
	height: 31px;	
}
/* ButtonMaker END */

/* LinkMaker START */
a.LinkWithText {
    outline: medium none;
    line-height: 17px;
	height: 19px;
	padding-bottom: 3px;
	padding-top: 7px;
    padding-right: 10px;	
	padding-left: 10px;
    overflow: visible;
    width: auto;
    border-color: #EEEEEE #DEDEDE #DEDEDE #EEEEEE;
    border-style: solid;
    border-width: 1px;
    color:#565656 !important;
    cursor: pointer;
    display: block;
    float: left;
	font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif !important;
	font-weight: 700 !important;
	font-size: 1.1em !important;
    margin: 0.7em 0.5em 0.7em 0;
    text-decoration: none;
    background: none repeat scroll 0 0 #EEF5F6;
    border: 1px solid #CCCCCC;
}
a.LinkWithText:focus, a.LinkWithText:hover{
   color:#336699 !important;
}
a.LinkWithText img{
    vertical-align: top;
}
.LinkWithoutText {
    cursor: pointer;
    display: block;
    border: 0px;
}
/* LinkMaker END */

/* Forms */
.fieldHintButton {
  cursor: help;
}

/* JStree */
.company_structure {
  vertical-align: middle;
  cursor: pointer;
  margin-left: 5px;
}
.tree_wrapper {
    position:absolute;
    width:auto;
    height:auto;
    margin-top:-1px;
    padding:10px;
    display:none;
    background: none repeat scroll 0 0 #EEF5F6;
    border: 1px solid #CCCCCC;    
    min-width:280px;
    min-height:120px;
	z-index: 1000;
	*width:280px;
	*background:#EEF5F6;
}

.tree_container {
    background: none repeat scroll 0 0 #EEF5F6 !important;
    float:left;
	z-index: 1000;
	*background:#EEF5F6;
}
.tree_hide {
    position:relative;
    width:16px;
    float:right;
    display:block;
    background: none repeat scroll 0 0 #EEF5F6;
    z-index:2;
	cursor: pointer;
	cursor: hand;	
}

th, td, caption {
    padding: 2px 5px 2px 5px;
}

th, td {
	height: 25px;
}

/******** IE6 ********/

input{
	_width:295px;
}
.secondary-menu{
	_margin-top:0px;
	_margin-bottom:10px;
}
div.container{
	_width:1024px;
}
.content-container{
	_margin:0;
	_margin-top:10px;
	_float:left;
}
.secondary-menu-container{
	_margin:0;
	_margin-top:10px;
	_float:left;
}
div.secondary-menu-container ul li.menu ul li a, div.secondary-menu-container ul li.activemenu ul li.selected span, div.secondary-menu-container ul li.activemenu ul li a{
	_font-size:100%;
	_font-weight:normal;
}
div.secondary-menu-container ul li.menu a.open, div.secondary-menu-container ul li.activemenu a.open, div.secondary-menu-container ul li a, div.secondary-menu-container ul li.selected span{
	_font-size:150%;
	_font-weight:bold;
}


