* {
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;
}
::-webkit-scrollbar {
  width: 16px;               /* width of the entire scrollbar */
}
::-webkit-scrollbar-track {
  background: #D3FAFC;        /* color of the tracking area */
}
::-webkit-scrollbar-thumb {
  background-color: #033479;    /* color of the scroll thumb */
  border-radius: 20px;       /* roundness of the scroll thumb */
  border: 1px solid #033479;  /* creates padding around scroll thumb */
}
/* ********************* main body *************************** */
body { 
    font-family : Helvetica, Arial, sans-serif;
    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;
}
#tdcol5 {
    color: orange;
    text-align: left;
}

#thcol1 {
    color: red;
}
#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;
}
#tabcol5 {
    background-color : red;
    font-family : Helvetica, Arial, sans-serif;
}
#tabcol9 {
    background-color : #E6EFCA;
    font-family : Helvetica, Arial, sans-serif;
}
#tabwarn {
    background-color : #FF6A6A;
    color : white;
    font-family : Helvetica, Arial, sans-serif;
}
#tabdue  {
    background-color : #33FF33;
    color : white;
    font-family : Helvetica, Arial, sans-serif;
}
#tabtotal {
    background-color : #33FF33;
    font-family : Helvetica, Arial, sans-serif;
}
#wrapper {
/* ********************* 1024px *************************** */
    width : 98%;
    height : 98%;
    margin : auto auto;
    background-color : #FFFFFF;
} 
#head {
    border-top   : 1px solid #ccc;
    border-left  : 1px solid #ccc;
    border-right : 1px solid #ccc;
    height : 75px;
    width : 100%;
    margin-top : 5px;
    margin-bottom : 0px;
    padding-top : 5px;
    margin-top : 5px;
    color : #000000;
    background-color : #033479;
    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;
}
#space { 
    border : 1px solid #224080;
    padding-left : 10px;
    background-color : #538cb7;
    color : #c5c752;
    padding-top : 2px;
    padding-bottom : 2px;
}
#maintext {
    border      : 1px solid #ccc;
    padding-top : 5px;
    display : inline;
    width : 100%;
    float : left;
    min-height : 540px;
    background-color : #FFFFFF;
} 
* html #maintext { 
    height : 580px;
}
#maintext hr {

    background-color: #C5D76A;
    height: 1px;
}
#maintext p { 
    margin-bottom : 10px;
}
#maintext h1 { 
    font-size : 1.6em;
    color : #5e645e;
    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;
}
#maintext td.number  {
   text-align:right;
}
blockquote { 
    border : 1px solid #c5c5c5;
    padding-top : 5px;
    padding-left : 10px;
    padding-bottom : 5px;
    padding-right : 10px;
    margin : 10px;
    text-align : center;
} 
.inset { 
    float : right;
    width : 265px;
    padding : 5px;
    border : 1px solid #538cb7;
    margin : 5px 0 0 5px;
    background : #d0e3f7;
    font-size : 85%;
} 
#maintext input {
   height: 18px;
   font-size : 12px;
   margin-bottom : 1px;
}
#footer {
    border-bottom : 1px solid #ccc;
    border-left   : 1px solid #ccc;
    border-right  : 1px solid #ccc;
    color : #FFFFFF; 
    background-color : #033479;
    display : inline;
    float : left;
    width : 100%;
    height : 35px;
    text-align : center;
} 
#footer p { 
    margin-top : 10px;
} 
#footer a { 
    color : #000000;
} 
#footer table { 
    margin-bottom : 10px;
} 
.separator { 
    clear : both;
    margin-bottom : 10px;
}

/* ********************** 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 : #5e645e;
    margin-bottom : 5px;
    margin-top : 5px;
} 
body.popup h2 { 
    font-size : 1.3em;
    color : #5e645e;
    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;
    color : #000000;
    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;
}
/* ********************** manual body ***************************** */
body.manual { 
    font-family : Helvetica, Arial, sans-serif;
    background-color : #D3FAFC;
    color : #000000;
    font-size : 14px;
}
body.manual h1 { 
    font-size : 1.6em;
    color : #C5D76A;
    margin-bottom : 10px;
    margin-top : 15px;
    padding-left : 10px;
} 
body.manual h2 { 
    font-size : 1.4em;
    color : #C5D76A;
    margin-bottom : 10px;
    margin-top : 12px;
    padding-left : 10px;
} 
body.manual h3 { 
    font-size : 1.0em;
    color : #C5D76A;
    margin-bottom : 10px;
    margin-top : 12px;
    padding-left : 10px;
} 
body.manual p {
    padding-top : 5px;
    padding-left : 10px;
    padding-right : 10px;
}   
body.manual td { 
    font-family : Helvetica, Arial, sans-serif;
    color : #000000;
    font-size : 14px;
} 
body.manual ul { 
    margin-top : 5px;
    margin-bottom : 5px;
    margin-left : 50px;
}
hr {
    color: silver;
    background-color: silver;
    height: 1px;
}

/* ************************* 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.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      : 63px;
   size       : 10;
   text-align : right;
   background-color: #FFFFFF;
}
input.numbert  {
   width      : 20px;
   size       : 10;
   text-align : right;
}
/* ********************** textareas ******************************* */
textarea  {
   width:400px
   font-size:8pt
   font-family : Helvetica, Arial, sans-serif;
   padding-left:3px;
}
textarea.bigger {
   width:250px
}	
textarea.double {
   width:300px
}
textarea.dplus {
   width:400px
}
textarea.triple {
   width:450px
}
textarea.quad   {
   width:520px
}
textarea.quadx   {
   width:640px;
   font-size:9pt;
}
textarea.quadz   {
   width:460px;
   font-size:9pt;
}

/* ***** Used in estimate/job browsers ************************************** */
div.TabTop {
    width:  98%;
    height: 45px;
    border-bottom: 1px solid grey;
}
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 :  #D3FAFC;
    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 :  #D3FAFC;
}

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 : #033479;
} 
#amenu ul li a.current {
    background-color: #C5D76A;
    color: black;
}
#nav, #nav ul{
    margin:0;
    padding:0;
    list-style-type:none;
    list-style-position:outside;
    position:relative;
    line-height:1.5em; 
}

#nav a {
    border-radius: 0px;
    display:block;
    padding:0px 10px 1px;
    border:1px solid grey;
    color: #FFFFFF;
    text-decoration:none;
    background-color: #6B6D6B;
    margin-left : 1px;
}

#nav a:current {
    background-color: #AEBF52;
    color: white;
}

#nav a:hover{
    background-color: #D3FAFC;
    color:#333;
}

#nav li{
    margin:0 1px 0 0;
    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:20em;
    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 ******************************** */