/* This is the main css for MCG web applications. It handles font formatting, positioning and */
/* standard table and form field layout. There is a supplemental color.css which controls the */
/* various colors used by application elements. IMPORTANT: This style sheet should not be */
/* edited and deployed without the approval of Matt Arriaga or Jim Hanson. */

/* div {border: solid 1px #f00;}this is used for trouble shooting the layout*/


/* General and font ------------------------------------------------------------------------- */

* {
        padding: 0;
        margin: 0;
        font-family: Verdana, Arial, sans-serif;    
}
html, body {
        padding: 0;
        margin: 0;
        width: auto;
        min-width: 620px;
        color: #000; 
        font-size: small;
}
h1 {       
        font: bold 150%/1em Arial, Verdana, sans-serif;
        padding: .5em 1em .25em 1em;
        margin: 0;
}
h2  {
        padding: 0 0 0 1em;
        margin: 0;
        clear: both;
        font-size: 85%;
        font-weight: bold;
        text-align: left;
}
h3 {
                color: black;
                font-size: large;
}
h4 {
          clear: both;
          font-variant: small-caps;
          font-size: larger;
}
ul {
          margin: 0;
          padding: 1em 0 0 2em;
}
p {
          padding: 0 0 .8em 1em;
          margin: 0;
          width: 620px;
}
div.spacer, br  {
        clear: both;
}


/* Form and fieldset ------------------------------------------------------------------------------- */

fieldset {
          position: relative;
          border-style:groove;
          border-width: 4px;
          padding: 5px;
          margin:10px 0;
          width: 77ex;
          background-color: #ffffea;
}
fieldset fieldset {    
          border: thin solid Silver;
          padding: 2px; 
          margin: 5px 15px;
}
legend{
        padding:0 3px;
}
label {
        float: left;
        display: block;
        width: 33%;
        font-weight: bold;
        text-align: right;
        margin: 10px 5px 0 0;
}
input, select, submit {
        float: left;
        display: block;
        margin: 10px 10px 0 0;

}
option{
        padding-right: 2ex;
}
.formelement {
        margin: 2px;
        padding:0 2px;
        width: auto;
}

/* Title section ---------------------------------------------------------------------------------- */

#title_section  {
        margin: 0; 
        padding: 0;
}

/* Global navigation section ---------------------------------------------------------------------- */

#global_nav  {
        margin: 0; 
        padding: 0;
}
#nav {
        margin: 0; 
        padding: 0;
}
#nav li {
        list-style: none; 
        float: left;
        margin-left : 1px;
        padding-left: 16px;
        font-size: 10px; 
        line-height: 20px; 
        white-space: nowrap;
}
#nav a {
        display: block; 
        float: left; 
        padding: 0 16px 0 0;
        text-decoration: none; 
        font-weight: bold;
        width: .1em;
        color: #333;
}
html>body #nav a {width: auto;}    /* fixes IE6 hack */
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#nav a {float: none;}            /* End IE5-Mac hack */
#nav a:hover {
        color: rgb(255,0,0);
}
#nav #current, #nav #current a {
        color: #fdb;
}

/* Local navigation section ----------------------------------------------------------------------- */

#left_bar {
        position: absolute;
        top: 7.5em;
        left: 0;
        width: 110px;
        float: left;
        background-color: transparent;
}
#left_bar img.top_cap {
        border: 0;
        margin: 0;
        vertical-align: bottom;
}
#left_bar img.bottom_cap {
        border: 0;
        margin: 0;
        vertical-align: top;
}
#left_bar a.graphic {
        margin: 0;
        padding: 0;
        display: block;
        text-align: center;
        background-color: transparent;
}
#left_bar a:hover.graphic {
        background-color: transparent;
}
#left_bar ul {
        list-style: none;
        margin: 0;
        padding: 0;
}
#left_bar li {
        list-style: none;
        padding: 0;
        display: block;
        font-size: 10px;
        font-weight: bold;
        text-align: center;
        border-style: solid;
        border-width: 1px;
        border-color: #fff #000 #000 #fff;
}
#left_bar a {
        padding: .15em 0 .25em 0;
        display: block;
        color: black;
        text-decoration: none;
}
/* THIS IS A TEST LINE */
#left_bar #current {
        color: #fdb;
}

/* Main container ---------------------------------------------------------------------------------- */

#main {
        position: absolute;
        top: 7.5em;
        left: 140px;
        width: auto;
        margin:  0; 
        padding: 0 20px 0 0;
}

/* Content area ------------------------------------------------------------------------------------- */

#content 
{
        padding: 0;
        border: 0;
}
#content h1 {
        padding: 0 0 .4em 0;
        margin: 0;
        background: #fff;
        font-size: 140%;
}
#content ul {
        padding: 0 0 0 3em;
        margin:  0 0 1em 0;
}
#content ol {
        padding: 0 5em 0 6em;
        margin:  0 0 1em 0;
}

/* Footer area ------------------------------------------------------------------------------------ */

#application_footer {
        padding: 0;
        margin: 15px 0;
}
#application_footer img  {
        padding: 0;
        margin: 0;
}
#application_footer p {
        width:100%;
        margin: 0;
        padding: 0 0 .25em 0;
        clear: both;
        text-align: right;
        border-style: solid;
        border-width: 1px 0 0 0;
        border-color: #000;
}
#application_footer a {
        padding: 0 .5em .25em .5em;
        color: black;
        font-size: 80%;
        text-align: right;
        text-decoration: none;
        background: rgb(254,255,215);
        border-style: solid;
        border-width: 1px 1px 1px 1px;
        border-color: #000;
}
#application_footer a:hover {
        background: rgb(251,255,0);
}
#application_footer a.to_top {
        padding: 0;
        margin: 0;
        float: left;
        clear: both; 
        border-style: none; 
        background: white;
}

/* tables ----------------------------------------------------------------------------------------------- */

table.layout, table.layout td {
         border-style: none ;
         border-width: 0;
         width: auto;
         background-color: transparent;
         line-height: normal;
         padding:0 10px 0 0;
}


.emphasis{font-weight:bold;}

table.small{
        margin: 0;
}
table {
        /*display: block;*/
        width: 620px;
        padding: 0;
        margin: .5ex .2ex .2ex .5ex;/
        border-collapse: collapse;
        background-color: rgb(247,247,222);
        border-style: solid;
        border-width: 1px;
        border-color: black;
        font-size: small;
}

td, th {
        vertical-align:middle;
        padding: 2px 4px 3px 2px;
}
th  {
        font-size: 85%;
        font-weight: bold;
        background-color: #e6e6e6;
        border-style: solid;
        border-width: 2px;
        border-color: black;
}
caption {
        font-weight: bold;        
}
tr.even  {
        background-color: rgb(245,245,245);
}

td {
        vertical-align: top;
        padding-left: 7px;
        padding-right: 7px;
        padding-top: 6px;
        padding-bottom: 10px;
        border-style: solid;
        border-width: 1px;
        border-color: black;
}
tfoot {
        font-size: 85%;
        font-weight: bold;
        padding: 3px 0 4px 0;
        background-color: #e6e6e6;
        border-style: solid;
        border-width: 2px;
        border-color: black;
}
.alert {   

    padding: 0 1ex 0 2em;
    margin:  0 0 1em 0;
    font-size: larger;
    font-weight: bold;
        color: red;
    font-style: italic;
    font-variant: small-caps;
}
.blurb {
  color:Gray;
  font-size:smaller;
}

/* Display tag library support ------------------------------------------------------------------------ */
 
tr.even 
{
        background-color:white;
}
span.export {
    padding: 0 4px 1px 20px;
    display:inline; display:inline-block;
    cursor: pointer;
}

span.excel {
    background-image: url(../images/ico_file_excel.png);
        background-repeat: no-repeat;
}
span.pdf {
    background-image: url(../images/ico_file_pdf.png);
        background-repeat: no-repeat;
}
span.xml {
    background-image: url(../images/ico_file_xml.png);
        background-repeat: no-repeat;
}

thead tr {
  background-color: #fc0;
}
th a, th a:visited {
  color: black;
  padding:2px 15px 2px 5px;
}
th a:hover {
  text-decoration: underline;
  color: black;
  padding:2px 15px 2px 5px;
}

th.sorted a, th.sortable a {
    background-position: right;
    display: block;
}
th.sorted {
border-bottom-style:solid;
border-width: 2px 3px;
border-color:Red  ;

}
th.sortable a {
    background-image: url(../images/arrow_off.png);
    background-repeat: no-repeat;
}
th.order1 a {
    background-image: url(../images/arrow_down.png);
    background-repeat: no-repeat;
}
th.order2 a {
    background-image: url(../images/arrow_up.png);
    background-repeat: no-repeat;
}
#editor0 *, #editor *, #editor2 * {
        width: auto;
        padding: 0;
        margin:0;
        border: none;
}
button.calendar{
    background-image: url(../images/calendar.gif);
    width: 16px;
    height: 16px;
}
div.calendar *  {
margin:0;
padding:0;
width:auto;
background-color: transparent;

}
