* {
padding : 0;
margin : 0;
}
/* definition */
@font-face {
  font-family: helvetica;
  src: url('font/helvetica.eot');
  src: url('font/helvetica.eot?') format('?'),
       url('font/helvetica.woff') format('woff'),
       url('font/helvetica.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
/* *********** buttons all grey with white text ************** */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  background-color	: #6B6D6B;
  border			: none;
  color				: white;
  padding-left	    : 4px;
  padding-right	    : 4px;
  padding-top	    : 2px;
  padding-bottom    : 2px;
  text-align		: center;
  text-decoration	: none;
  display			: inline-block;
  font-size			: 14px;
}
::-webkit-scrollbar {
  width: 16px;               /* width of the entire scrollbar */
}
::-webkit-scrollbar-track {
  background: #FFFFFF;        /* color of the tracking area */
}
::-webkit-scrollbar-thumb {
  background-color: #505450;    /* color of the scroll thumb */
  border-radius: 20px;       /* roundness of the scroll thumb */
  border: 2px solid #FFFFFF;  /* creates padding around scroll thumb */
}
/* ********************* main body *************************** */
body { 
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: 100;
    color : #000000;
    font-size : 14px;
    background-color : #FFFFFF;
}
body table {
    border-color: #F0F0F0;
}
body th {
    border-color: #F0F0F0;
    text-align: left;
}
body td {
    border-color: #F0F0F0;
    text-align: left;
}
#tdcol1 {
    color: red;
    text-align: left;
}
#tdcol2 {
    color: green;
    text-align: left;
}
#tdcol3 {
    color: black;
    text-align: left;
}
#tdcol4 {
    color: blue;
    text-align: left;
}
#tabhead {
    background-color : #ECE9E9;
    color : black;
}
#tabcol1 {
    background-color : #FFFFFF;
    font-family : helvetica, Arial, sans-serif;
}
#tabcol2 {
    background-color : #F4F2F2;
    font-family : helvetica, Arial, sans-serif;
}
#tabcol9 {
    background-color : #E6EFCA;
    font-family : helvetica, Arial, sans-serif;
}
#wrapper {
/* ********************* 1024px *************************** */
    width : 99%;
    height : 99%;
    margin : auto auto;
    background-color : #FFFFFF;
} 
#head {
    border-top   : 1px solid #ccc;
    border-left  : 1px solid #ccc;
    border-right : 1px solid #ccc;
    height : 97px;
    width : 100%;
    margin-top : 0px;
    margin-bottom : 0px;
    padding-top : 5px;
    margin-top : 5px;
    color : #000000;
    background-color : #505450;
    background-repeat : no-repeat;
} 
#head h1 { 
    color : #000000;
    font-size : 20px;
    padding-left : 15px;
    padding-top : 2px;
    margin-top : 2px;
} 
#head p { 
    color : #c5c752;
    padding-left : 50px;
} 
#head ul { 
    margin : 0;
    padding : 0;
    list-style : none;
    float : right;
    color : #000000;
} 
#head li { 
    display : inline;
} 
#head a { 
    color : #000000;
}
#headx {
    border-top   	: 1px solid #ccc;
    border-left  	: 1px solid #ccc;
    border-right 	: 1px solid #ccc;
    height 			: 30px;
	font-size       : 20px;
    width 			: 100%;
    margin-top 		: 0px;
    margin-bottom 	: 0px;
    padding-top 	: 2px;
	padding-bottom  : 2px;
    color 			: #FFFFFF;
    background-color  : #AFCB08;
    background-repeat : no-repeat;
} 
#logintext {
	border: none;
    background: url("img/bigblack.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    float: left;
    width: 100%;
    height: 720px;
    padding: 0px; 
}
#logintext table, th, td {

	border-collapse: collapse;
}
#maintext {
    border      : 1px solid #ccc;
    padding-top : 5px;
    display : inline;
    width : 100%;
    float : left;
    min-height : 510px;
    background-color : #FFFFFF;
} 
* html #maintext { 
    height : 550px;
}
#maintext hr {

    background-color: #C5D76A;
    height: 1px;
}
#maintext p { 
    margin-bottom : 10px;
}
#maintext h1 { 
    font-size : 1.6em;
    color : #505450;
    margin-bottom : 0px;
    margin-top : 0px;
} 
#maintext h2 { 
    font-size : 1.4em;
    color : #C5D76A;
    margin-bottom : 0px;
    margin-top : 0px;
}
#maintext th { 
    padding-left : 2px;
    padding-right : 2px;
    font-size : 12px;
} 
#maintext td { 
    padding-left : 2px;
    padding-right : 2px;
    font-size : 12px;
	margin-bottom : 5px;
}
#maintext td.number  {
   text-align:right;
}
#maintext input {
   height: 18px;
   font-size : 12px;
   margin-bottom : 1px;
}
	
#footer {
    border : none;
    color : #FFFFFF; 
    background-color : #505450;
    display : inline;
    float : left;
    width : 100%;
    height : 25px;
    text-align : center;
} 
#footer p { 
    margin-top : 10px;
} 
#footer a { 
    color : #000000;
} 
#footer table { 
    margin-bottom : 0px;
	border-collapse: collapse;
}
#footercus {
    border  : 0px solid #ccc;
    color : #FFFFFF; 
    display : inline;
    float : left;
    width : 100%;
    height : 45px;
    text-align : center;
}
#footercus table, th, td {

	border-collapse: collapse;
}
/* ********************** popup body ****************************** */
body.popup { 
    font-family : helvetica, Arial, sans-serif;
    background-color :  #FFFFFF;
    color : #000000;
    font-size : 13px;

}
body.popup h1 { 
    font-size : 1.4em;
    color : #505450;
    margin-bottom : 5px;
    margin-top : 5px;
} 
body.popup h2 { 
    font-size : 1.3em;
    color : #505450;
    margin-bottom : 10px;
    margin-top : 12px;
    padding-left : 30px;
}
body.popup h3 { 
    font-size : 1.2em;
    color : black;
    margin-bottom : 10px;
    margin-top : 12px;
} 
body.popup p { 
    padding-left : 30px;
    padding-right : 30px;
}   
body.popup input { 
    font-family : helvetica, Arial, sans-serif;

    font-size : 12px;
    margin-top : 1px;
    margin-bottom : 1px;
} 
body.popup textarea { 
    font-family : helvetica, Arial, sans-serif;
    color : #000000;
    font-size : 12px;
} 
body.popup td { 
    font-family : helvetica, Arial, sans-serif;
    font-size : 12px;
} 
body.popup th { 
    font-family : helvetica, Arial, sans-serif;
    font-size : 12px;
}
body.popup input.button {
    text-align: center;
	color : #FFFFFF;
}
/* ************************* select elements ********************* */
/* for long listboxes */
select  {
   height: 18px;
   width:80px;
   font-size:9pt;
   margin-bottom : 1px;
}
/* for tiny listboxes */
select.selecttiny  {
   height: 18px;
   width:45px;
   font-size:9pt;
   margin-bottom : 1px;
}
/* for small listboxes */
select.selectsmall {
   height: 18px;
   width:50px;
   font-size:9pt;
   margin-bottom : 1px;
}
/* for short listboxes */
select.selectmidi  {
   height: 18px;
   width:70px;
   font-size:9pt;
   margin-bottom : 1px;
}
/* for short listboxes */
select.selectmidix  {
   height: 18px;
   width:90px;
   font-size:8pt;
   margin-bottom : 1px;
}
/* for short listboxes */
select.selecthalf  {
   height: 18px;
   width:100px;
   font-size:9pt;
   margin-bottom : 1px;
}
/* for medium listboxes */
select.selectmed   {
   height: 18px;
   width:120px;
   font-size:9pt;
   margin-bottom : 1px;
}
select.selectmedix   {
   height: 18px;
   width:110px;
   font-size:9pt;
   margin-bottom : 1px;
}
/* for large listboxes */
select.selectfull  {
   height: 18px;
   width:150px;
   font-size:9pt;
   margin-bottom : 1px;
}
/* for huge listboxes */
select.selectfuller  {
   height: 18px;
   width:170px;
   font-size:9pt;
   margin-bottom : 1px;
}
/* for huge listboxes */
select.selecthuge  {
   height: 18px;
   width:200px;
   font-size:9pt;
   margin-bottom : 1px;
}
/* for large listboxes */
select.selectlarge  {
   height: 18px;
   width:240px;
   font-size:9pt;
   margin-bottom : 1px;
}
/* for massive listboxes */
select.selectmass  {
   height: 18px;
   width:320px;
   font-size:9pt;
   margin-bottom : 1px;
}
/* ******************* input elements ***************************** */
input  {
   font-size     : 10pt;
   font-family   : helvetica, Arial, sans-serif;
   margin-bottom : 1px;
}
/* for short inputs as number */
input.numberhalf  {
   width      : 40px;
   size       : 10;
   text-align : right;
}
/* for inputs as number */
input.number  {
   width      : 65px;
   size       : 10;
   text-align : right;
}
/* for inputs as number - colour white*/
input.numberc  {
   width      : 68px;
   size       : 12;
   text-align : right;
   background-color: #FFFFFF;
}
/* **********************popup headings ******************************* */
div.greentop {
	text-align:center;
	background-color:#AFCB08;
	color:white;
	height:22px;
	padding-top:5px;
	padding-bottom:5px;
	font-size:20px;
	margin-bottom:0px;
}
/* ********************** buttons ******************************* */ 
input.button-add {
		background-image: url('imgnew/addx.png');
		background-color: transparent;
		background-size: cover;
		background-repeat: no-repeat;
		border: none;
		height: 18px;
		width: 18px;
		vertical-align: middle;
}
input.button-date {
		background-image: url('imgnew/addx.png');
		background-color: transparent;
		background-size: cover;
		background-repeat: no-repeat;
		border: none;
		height: 18px;
		width: 16px;
		vertical-align: middle;
}
	
/* ********************** textareas ******************************* */
textarea  {
   width:400px
   font-size:8pt
   font-family : helvetica, Arial, sans-serif;
   padding-left:3px;
}
textarea.double {
   width:300px
}
textarea.dplus {
   width:400px
}
textarea.triple {
   width:450px
}
textarea.quad   {
   width:520px
}
textarea.quadx   {
   width:640px;
   font-size:9pt;
}
/* ***** Used in estimate/job browsers ************************************** */
div.TabDummy {
    width:  98%;
    height: 400px;
    overflow-y: scroll;

}
/* ***** Tabs CSS************************************************************ */
div.TabView {
    font-family: helvetica, Arial, sans-serif;
    font-size:   14px;
    background-color :  #FFFFFF;
}
div.TabView div.Tabs {
    height: 22px;
    background-color :  #FFFFFF;
}
div.TabView div.Tabs a {

    float:   left;

    margin-right: 1px;

    width: 118px;
    text-align: center;

    height:      22px;
    line-height: 22px;
    vertical-align: middle;

    border-top: 1px solid grey;
    border-left: 1px solid grey;
    border-right: 1px solid grey;

    text-decoration: none;
    color:   #000000;
    cursor:  pointer;
}
div.TabView div.Tabs a.Current,
div.TabView div.Tabs a.Current:hover {
    margin-top: 01px;
    height:     21px;
    background-color :  #AFCB08;
    color:   #000000;
    border-left: 1px solid grey;
    border-right: 1px solid grey;
    border-top: 1px solid grey;
    border-bottom: 0px;
    cursor:  default;
}
/* ***** Pages ***** */
div.TabView div.Pages {
    clear: both;
    border: 1px solid #000000;
    background-color :  #FFFFFF;
}
div.TabView div.Pages {
    overflow: hidden;
}
div.TabView div.Pages div.Page {
    overflow: auto;
}
div.TabView div.Pages div.Page div.Pad {
    padding: 7px 7px;
}
/* ***** End of Tabs CSS***************************************************** */

/* ********************** menu ******************************* */
#amenu {
    border-left  : 1px solid #ccc;
    border-right : 1px solid #ccc;
    width : 100%;
    height : 30px;
    background-color : #505450;
} 
#amenu ul li a.current {
    background-color: #AFCB08;
    color: black;
}
#amenucust {
    border-left  : 1px solid #ccc;
    border-right : 1px solid #ccc;
    width : 100%;
    height : 30px;
    background-color : #26348B;
} 
#amenucust ul li a.current {
    background-color: #AFCB08;
    color: black;
}
#nav, #nav ul{
    margin:0;
    padding:0;
    list-style-type:none;
    list-style-position:outside;
    position:relative;
    line-height:1.5em; 
}
/* **** reversed FFFFFF and 6B6D6B ******************************* */
#nav a {
    border-radius: 0px;
    display:block;
    padding:0px 10px 1px;
    border:1px solid grey;
    color: #000000;
    text-decoration:none;
    background-color: #FFFFFF;
    margin-left : 2px;
}

#nav a:current {
    background-color: #AEBF52;
    color: white;
}

#nav a:hover{
    background-color: #F4F2F2;
    color:#333;
}

#nav li{
    margin:0 0px 0 3px;
    float:left;
    position:relative;
}

#nav ul {
    position:absolute;
    z-index: 100;
    display:none;
    width:12em;
    top:1.5em;
}

#nav li ul a{
    font-size : 12px;
    width:15em;
    height:auto;
    float:left;
}

#nav ul ul{
    top:auto;
}	

#nav li ul ul {
    left:12em;
    margin:0px 0 0 10px;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{
    display:none;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{
    display:block;

/* ********************** END ******************************** */