/*
// --------------------------------------------------------------------------------------------------------------------
// Desktop-Level Definitions
// --------------------------------------------------------------------------------------------------------------------
*/

body{
    font:84%/1.2em verdana,arial,sans-serif,trebuchet ms #CCC;
    direction:ltr;}

.bea-portal-body
{
    margin: 0px;
    padding: 0px;
    background-color: #666699;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

/*
// ------------------
// Links
//-------------------
*/

.bea-portal-body a:link, .bea-portal-body a:active, .bea-portal-body a:visited
{
    display: inline;
    text-decoration: underline;
}

.bea-portal-body a:hover
{
    text-decoration: none;
}

.bea-portal-window-titlebar-buttons a
{
    text-decoration: none;
}

.bea-portal-body-content
{
}

.bea-portal-body-header, .bea-portal-body-footer
{
    margin: 0px;
    padding: 4px;
    color: #cccce5;
}

.bea-portal-body-header
{
    font-size: large;
    font-weight: bold;
}

.bea-portal-body-footer
{
    font-size: x-small;
    font-style: italic;
}

.bea-portal-body-header a, .bea-portal-body-footer a
{
    color: #cccce5;
}




/* ADAM'S ADDED STYLES */
.bea-portal-body{
    background:#FFF;}

.bea-portal-body-content{
    background:none;
    background-image:url('../images/bea-portal-body-header_bg_qlggovernmentlogo.gif');
    background-repeat:no-repeat;
    background-position:top left;}

.bea-portal-layout-grid{
    background:none;
    margin:0px;}

.bea-portal-body-header{
    color:#000;
    font-size:100%;
    border:none;
    margin:0px;
    padding:0px;}

.bea-portal-body-header table tr{
    margin:0px;
    padding:0px;}

.bea-portal-body-header table td{
    font-size:100%;
    margin:0px;
    padding:0px;
    text-align:left;
    background:none;}

.egov-portal-body-header-container{
    width:100%;}

table.egov-portal-body-header-container td{
    background:#FFF;
    vertical-align:top;}

.egov-portal-body-header-logo img{
    display:none;}

td.egov-portal-body-header-logo{
    width:490px;
    height:50px;}

.bea-portal-body-header input{
    font-size:80%;
    display:block;}

.egov-portal-body-header-container{
    text-align:right;}

table.egov-portal-body-header-container td.egov-portal-body-header-logo{
    width:168px;
    color:#FFF;
    background:none;
    vertical-align:middle;}

table.egov-portal-body-header-container td.egov-portal-body-header-title{
    /*background:#FFF url('../images/egov-portal-body-header-title-h1.gif') no-repeat top left;
    background:#FFF url('../images/detconnect.jpg') no-repeat 5px 2px;*/
}

table.egov-portal-body-header-container td.egov-portal-body-header-title img{
    margin:2px 3px;
    border:none;
}

table.egov-portal-body-header-container td.egov-portal-body-header-options{
    padding:8px;
    font-size:80%;
    font-weight:normal;
    text-align:right;
}

td.egov-portal-body-header-options a{
    color:#000;
}

td.egov-portal-body-header-title h1{
    font-size:130%;
    font-weight:bold;
    padding:5px;
    margin:0px;
}

td.egov-portal-body-header-title h2{
    font-size:110%;
    font-weight:normal;
    padding:2px 10px;
    margin:0px;}

h2.egov-portal-body-header-agency {
    font-family:Arial, Helvetica, sans-serif;
    font-weight:normal;
    color:#FFF;
    height:10px !important;
    font-size:13px !important;
    padding:2px 5px !important;
    text-align:right !important;
    background:#900 !important;}

table td.egov-portal-body-header-phonebook{
    width:15%;
    padding:0px 5px;}

table td.egov-portal-body-header-phonebook p{
    color:#333;
    margin:0px;}

table td.egov-portal-body-header-search{
    width:15%;
    padding:0px 5px;}

table td.egov-portal-body-header-search p{
    color:#333;
    margin:0px;}

.searchinput{
    width:100px;}

.phonebook input, .search input, .egov-portal-body-header-radio input{
    color:#FFF;
    margin:0px;
    display:inline;}

.phonebook input.go, .search input.go{
    border:none;
    background:none;
    width:25px;
    height:18px;
    font-weight:bold;
    font-size:100%;
    background-image:url('../images/egov-portal-body-header-search-go.gif');
    background-repeat:no-repeat;
    background-position:top left;}

#egov-portal-login .go{
    border:none;
    background:none;
    width:50px;
    height:18px;
    font-weight:bold;
    font-size:100%;
    background-image:url('../images/egov-portal-login-go.gif');
    background-repeat:no-repeat;
    background-position:top left;}

hr.egov-portal-login-hr{
    border:1px dashed #CCC;
    height:1px;
}

#egov-portal-login-disabled{
    z-index:1;
    background:#EEE;
}

#egov-portal-login-disabled input{
    background:#CCC;
}

#egov-portal-login-guest h1{
    margin:5px;
    text-align:left !important;
}

.help h1 {
    color:#F00;
}

.bea-portal-window-titlebar-container.help{
    background-image:url('../images/bea-portal-window-titlebar-container_corner_1_help.gif') !important;
    background-repeat:no-repeat;
    background-position:top left;}

.bea-portal-window-titlebar .help{
    background-image:url('../images/bea-portal-window-titlebar_bg_help.gif') !important;
    background-repeat:repeat-x;
    background-position:top left;}

.bea-portal-window-titlebar-buttons .help{
    background-image:url('../images/bea-portal-window-titlebar-buttons_corner_2_help.gif') !important;
    background-repeat:no-repeat;
    background-position:top right;}

.egov-portal-body-header-phonebook a, .egov-portal-body-header-search a{
    color:#30C;
    font-weight:normal;
    position:relative;
    float:right;}

table td.egov-portal-body-header-tools{
    width:60px;
    padding:5px;
    padding-top:0px;
    padding-bottom:2px;
    background-image:url('../images/egov-portal-body-header-tools.gif');
    background-repeat:no-repeat;
    background-position:bottom left;}

td.egov-portal-body-header-tools a{
    color:#000;
    font-weight:normal;
}

.bea-portal-body-footer{
    color:#000;
    background:#FFF;
    font-style:normal;
    text-align:center;
    padding:0;
    margin:0;
}

.bea-portal-body-footer p{
    padding:5px;
    margin:0;
}

egov-portal-body-footer-previewmode{
    display:none
}

.egov-portal-body-footer{
    color:#FFF;
    background:#900;
    padding:5px;
    text-align:center;
}

.egov-portal-body-footer a{
    color:#FFF;
}

.egov-portal-body-footer img{
    border:1px solid #000;}

.egov-portal-body-footer p{
    margin:2px 0px;}

.egov-portal-body-subfooter a{
    color:#000;
}

.egov-portal-body-subfooter {
    margin-top:8px;
}

/* FORM LAYOUT */
.formlayout table td{
    padding: 0;
    margin:0;
}

.formlayout label {
    display: inline;
    width: 23%;
    float: left;
    position: relative;
    height: 1em;
}

.formlayout label.longlabel {
    top: 0em;
    height: auto;
}

.formlayout label.short {
    width: 15%;

}

.formlayout label.static {
    width: 15em;
}

.formlayout label.static-short {
    width: 10em;
}

.formlayout label.static-med {
    width: 12.5em;
}

table.formlayout label.inline {
    display: inline;
    float: none;
    width: auto;
}

table.formlayout em {
    color: #F00;
    font-style: normal;
}

table.formlayout ul {
}


table.formlayout .checkboxgroup {
    float: left;
    position: static;
    border:1px solid red
}


#singlecolumn table.formlayout label em,
#twocolumn table.formlayout label em {
    color:#F00;
    position: relative;
    display: inline;
    float: right;
    top: 2em;
    left: 25em;
    height: 1em;
    width: 3em;
}

#singlecolumn table.formlayout label.longtextfield em,
#twocolumn table.formlayout label.longtextfield em {
    left: 33em;
}

#singlecolumn table.formlayout label.shorttextfield em,
#twocolumn table.formlayout label.shorttextfield em {
    left: 15em;
}

#singlecolumn table.formlayout label em img,
#twocolumn table.formlayout label em img {
    display: inline;
    float: right;
    position: relative;
    /*	top: -1.4em;*/
    margin-top: -1.4em;
}

#singlecolumn table.formlayout label.longlabel em img,
#twocolumn table.formlayout label.longlabel em img{
    top: -1.4em;
}

#singlecolumn table.formlayout label.inline img,
#twocolumn table.formlayout label.inline img {
    display: inline;
    float: left;
    position: relative;
        left: 50%;
}

em.required {
    color: #F00;
}
.required {
    color: #F00;
}

table.formlayout td.errors {
    position: relative;
    width:30%;
}

/************ New header 4 May 2007 *************/

#header_container {
    position:relative;
    height:53px;
    border-bottom:2px solid #fff;
}

#gov_logo {
    position:absolute;
    left:0;
    top:0;
    height:53px;
    width:168px;
    z-index:100;
}
#detconnect_logo {
    position:absolute;
    left:173px;
    top:3px;
    height:53px;
    width:168px;
}
#tools {
    text-align:right;
    padding-right:10px;
    font-size:11px;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-weight:normal;
    padding-top:3px;
}

#tools a:link {color:#000;}
#tools a:visited {color:#000;}
#tools a:hover {color:#000; text-decoration:none;}
#tools a:active {color:#000}

#header_title {
    position:absolute;
    background-color:#990000;
    padding-left:168px;
    position:absolute;
    right:0;
    top:34px;
    width:100%;
}

#header_title h1 {
    color:#fff;
    text-align:right;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:13px !important;
    padding:2px 0 1px 0;
    margin:0 8px 0 0;
    height:17px;
}

p.nostyle {
    display: inline;
    margin: 0;
    padding: 0;
}
