/* === FORMS === */

    form { margin:0; padding:0; }
    input, select, textarea { font:normal 11px verdana,arial,sans-serif; }

    optgroup { font-style:normal; }

    fieldset {
        clear:both;
        margin:10px 0 20px 0;
        padding:5px 0 15px 0;
    }

    legend
{
    padding: 4px 16px 5px 12px;
    margin: 0 0 0 -1px;
    font-weight: bold;
    color: black;
}

    fieldset fieldset {
        margin:15px 0 10px 0;
        padding:5px 0 15px 0;
        border:0;
        border-top:1px solid #092B4E;
        border-bottom:1px solid #092B4E;
    }

    fieldset fieldset legend {
        background:white;
        color:black;
        padding:2px 5px 3px 5px;
    }


/* === FORM ROWS === */

    .form_row {
        clear:both;
        padding:2px 0 0 0;
        border-top:1px solid #FFF; margin-top:5px; /* for Mac IE, hidden from other browsers below */
        border-top:1px solid #FFF; margin-top:2px;
    }

    .form_row label {
        float:left;
        display:block;
        width:110px;
        text-align:right;
        padding:2px 5px 0 5px;
    }

    .form_row label.required { font-weight:bold; }

    .form_row span { display:block; margin-left:120px; }
    /* Hides from IE-mac \*/
        * html .form_row span { height:1%; margin-left:0; }
    /* End hide from IE-mac */ 

    .form_row.stack { }
    .form_row.stack label { display:inline; float:none; width:auto; text-align:left; margin:0 0 2px 5px; padding-left:10px; padding-bottom:5px; }
    .form_row.stack span { display:block; margin-left:120px; }
        * html .form_row.stack span { height:1%; margin-left:123px !important; }
        /* \*/ * html .form_row.stack span { display:inline-block; } /* */
    /* === BUTTONS === */

        .form_buttons {
           margin:10px;
            text-align:center;
        }

        .form_buttons input { border-style:outset; }

    /* === CHECKBOXES === */

        .form_row span .checkbox { vertical-align:bottom; }
        * html .form_row span .checkbox { vertical-align:middle;  } /* IE PATCH */

        /* FIX FOR .NET instances of labels following inputs (radio, checkbox) */
            .form_row span.checkbox label,
            .form_row span table label {
                float:none;
                display:inline;
                width:auto;
                text-align:left;
                padding:0 10px 5px 0;
            }
            .form_row span table td {
                padding:0 5px 5px 0;
                text-align:left;
            }
    /* === IMAGES (ie, date selector) === */

        .form_row span img { vertical-align:top; margin-top:2px; margin-left:4px; }


    /* === LABEL TYPES === */

        .sublabel {
            float:left;
            padding:0 5px 5px 0;
        }

        .sublabel label {
            font:normal 0.9em tahoma;
            margin:0; padding:2px 0 0 5px;
            text-align:left;
            width:auto;
            line-height:0.9em;
        }

    /* === BUTTON ROW === */

        .button_row {
            margin:5px 0 0 0;
            padding:9px 0 10px 120px !important;
            border-top:1px solid #FFF;
        }

  /* === FORMS (overrides /lib/css/forms.css) === */

        fieldset {
            border:1px solid #3E3E3E;
            padding:6px 0 12px 0;
        }

        legend
{
    background-color: #001e57;
    color: white;
}

        fieldset fieldset {
            margin:15px 20px 10px 20px;
            padding:5px 0 15px 1px;
            border:0;
            border:1px solid #3E3E3E;
        }

        fieldset fieldset {
            padding-bottom:5px;
        }

        fieldset fieldset legend {
            background-color:#3E3E3E;
            color:white;
        }

        fieldset fieldset .button_row {
            padding:0;
            margin-bottom:0;
        }
        
        /* === LIST FORM === */

        #content #listform {
            margin: 0 auto;
            padding:5px 0;
        }

        #content #listform table {
            margin: 0;
            padding: 0;
            font-size: 11px;
        }

        #content #listform table caption {
            padding: 8px 2px 5px 2px;
            border-bottom: 1px solid #E4E7EA;
            color: #2b353a;
            text-align: left;
            text-transform: capitalize;
        }

        #content #listform table th {
            padding: 8px 2px 5px 5px;
            border-bottom: 1px solid #E4E7EA;
            color: #2b353a;
            text-transform: capitalize;
        }

        #content #listform table th a { color: #2B353A; }


        #content #listform table td {
            padding: 6px 6px;
            width: 320px;
            color: #42525a;
        }

        #content #listform table tr.altrow { background: #EBEEF1; }

        #content #listform table tbody tr:hover { background: #FFF5DD; }

        #content #listform table tfoot td {
            border-top: 1px solid #E4E7EA;
            padding-top:25px;
            
        }

        #content #listform table tfoot a {
            border:1px solid #cacaca;
            text-decoration:none;
            padding:1px 3px;
            
        }

        #content #listform table tfoot a:hover {
            background-color:#cacaca;
            color:white;
        }
        
        
        #content #listform table tr.thead {
            background-color:#436980;
            color:#FFFFFF;
        }
        
        #content #listform table tr.thead a {
            color:#FFFFFF;
            text-decoration: none;
        }
        #content #listform table tr.thead a:hover {
            color:#FFFFFF;
            text-decoration: underline;
        }
        
        #content #listform table tr.thead:hover {
             background: #436980; 
        }
        #content #listform table tr.tfoot:hover { 
            border-top: 10px solid #436980;
            background: #fff; 
            
        }
        
        #content #listform table tr.tfoot td { 
            background: #fff; 
            
        }
        
        
        
         /* === DISPLAY FORM === */

        #content #displayform {
            margin: 0 auto;
            padding:5px 0;
        }

        #content #displayform table {
            margin: 0;
            padding: 0;
            font-size: 11px;
        }

        #content #displayform table caption {
            padding: 8px 2px 5px 2px;
            border-bottom: 1px solid #E4E7EA;
            color: #2b353a;
            text-align: left;
            text-transform: capitalize;
        }

        #content #displayform table th {
            padding: 8px 2px 5px 5px;
            border-bottom: 1px solid #E4E7EA;
            color: #2b353a;
            text-transform: capitalize;
        }

        #content #displayform table th a { color: #2B353A; }


        #content #displayform table td {
            padding: 6px 6px;
            width: 320px;
            color: #42525a;
        }

        #content #displayform table tr td {
           border-bottom: 1px solid #E4E7EA;     
        }
        
        #content #displayform .tfoot td {
           border: 0px;     
        }


        #content #displayform table tfoot a {
            text-decoration:none;
            padding:1px 3px;
        }

        #content #displayform table tfoot a:hover {
            background-color:#cacaca;
            color:white;
        }
        
        
        #content #displayform table tr.thead {
            background-color:#436980;
            color:#FFFFFF;
        }
        
        #content #displayform table tr.thead a {
            color:#FFFFFF;
            text-decoration: none;
        }
        #content #displayform table tr.thead a:hover {
            color:#FFFFFF;
            text-decoration: underline;
        }
        
        #content #displayform table tr.thead:hover {
             background: #436980; 
        }

       
        
        
              /* === SEARCH FORM === */

        fieldset#search {
            margin:15px 0 5px 0;
        }
        
        