body {
    color: #0A2948;
    background: #FFF url( ../../img/themes/grey/bDegrade.jpg ) repeat-y scroll top left;
}

body.popup {
    background: white url( ../../img/themes/grey/window/bg.jpg ) repeat-y scroll top left;
}

body.wizard {
    background: white url( ../../img/themes/grey/bDegradeWizard.jpg ) repeat-y scroll top left;
}

/* ========== Header ========== */

div#header {
    background: #0A2948 url( ../../img/themes/grey/bgHeader.jpg ) no-repeat scroll top right;
    border-bottom:1px solid #FFF;
}

div#header h2 {
    color: #FFF;
}


/* ========== Title Bar ========== */


div#shortcuts a {
    color: #0A2948;
    text-decoration: none;
}

div#shortcuts a#home {
    background: transparent url( ../../img/themes/grey/iHome.gif ) no-repeat scroll center left;
}

div#shortcuts a#help {
    background: transparent url( ../../img/themes/grey/iHelp.gif ) no-repeat scroll center left;
}

div#shortcuts a#contact {
    background: transparent url( ../../img/themes/grey/iContact.gif ) no-repeat scroll center left;
}

div#shortcuts a#close {
    background: transparent url( ../../img/themes/grey/iClose.gif ) no-repeat scroll center left;
}

/* ========== User Information ========== */

div#userinfo {
    color: #F56527;
}

div#userinfo strong {
    color: #0A2948;
}

/* ========== Error StackTrace ========== */

h5.errorTitle {
    color: #F00;
}

pre#stackTrace {
    border: 1px solid #999;
}

/* ================================= */
/* ========== Application ========== */
/* ================================= */

h2.welcome{
	border-bottom: 1px solid;	
}


/* ========== Links ========== */

a:link {
    text-decoration: none;
    color:#0A2948;
}

a:link:hover {
    text-decoration: underline;
}

a:visited {
    text-decoration: none;
    color:#0A2948;
}

a:visited:hover {
    text-decoration: underline;
}

/* ========== Welcome Page ========== */

div#messageBoard h3 {
    color: #868686;
    border-bottom: 1px solid #868686;
}

div#messageBoard div ul li {
    list-style: none;
}

div#messageBoard div ul li ul li {
    list-style-type: disc;
}

/* ========== Error and Success Messages ========== */

div#errorMessages {
    color: #F00;
}

div#successMessages {
    color: #008000;
}

div#errorMessages div.top-left, div#errorMessages div.top-right, div#errorMessages div.bottom-left, div#errorMessages div.bottom-right {
	background-image: url(../../img/messages/box.gif);
}

div#errorMessages div.box-content {
    border-left: 3px solid #F00;
	border-right: 3px solid #F00;
	background-color: #FFF;
}

div#errorMessages div.box-content h4 {
    background: transparent url(../../img/messages/iError.gif) no-repeat scroll center left;
}

div#successMessages div.top-left, div#successMessages div.top-right, div#successMessages div.bottom-left, div#successMessages div.bottom-right {
	background-image: url(../../img/themes/grey/messages/box.gif);
}

div#successMessages div.box-content {
    border-left: 3px solid #0A2948;
	border-right: 3px solid #0A2948;
	background-color: #FFF;
}

div#successMessages div.box-content h4 {
    background: transparent url(../../img/themes/grey/messages/iSuccess.gif) no-repeat scroll center left;
}

/* ========== Menus ========== */

div#menu {
    background-color: #868686;
}

ul#menubar {
    background-color: #868686;
}

.menubar, .menubar_hover {
    background: transparent url( ../../img/menu/bgMenuItem.gif ) no-repeat center right;
}

.menubar {
    background-color: #868686;
    color: #FFF;
}

.menubar_hover {
   background: transparent url( ../../img/menu/bgMenuBar.gif ) no-repeat top left;	
   color: #FF6527;
}

.submenu {
    color: #FF6527;
}

.menuitem {
    color: #FF6527;
}

.menuitem a {
    color: #0A2948;
    text-decoration: none;
}

.menuitem a:hover {
    font-weight: bold;
    text-decoration:none;
}

.menubox {
   background: rgb(255,254,240)  url( ../../img/menu/bgMenuBox.gif ) no-repeat top right;
   
   border-left: 1px solid #0A2948;
   border-right: 1px solid #0A2948;
   border-bottom: 1px solid #0A2948;
}

/* ========== Forms ========== */

form h3 {
    color: #868686;
    border-bottom: 1px solid #868686;
}

form h4 {
    color: #868686;
    border-bottom: 1px dotted #868686;
}

form h5 {
    color: #868686;
    border-bottom: 1px solid #868686;
}

form em {
    color: #F56527;
}

form fieldset {
    border: 0;
}

a.searchButton {
    background: transparent url( ../../img/themes/grey/iSearch.gif ) no-repeat scroll bottom left;
}

a.eraseButton {
    background: transparent url( ../../img/themes/grey/iEraser.gif ) no-repeat scroll bottom left;
}

td a.link {
    background: transparent url( ../../img/themes/grey/iEdit.gif ) no-repeat scroll center left;
}

div.extendedinfo {
	border:2px solid #C7C7C7;    
}

table.buttonBar td {
    background: transparent url( ../../img/themes/grey/bHorizontalLine.gif ) no-repeat scroll center left;
}

table.buttonBar td.buttons {
    background: none;
}

a.actions {
    color: #0A2948;
}

a.toBottom {
    background: transparent url( ../../img/themes/grey/iRollDown.gif ) no-repeat scroll center left;
}

a.toTop {
    background: transparent url( ../../img/themes/grey/iRollUp.gif ) no-repeat scroll center left;
}

/* ========== Advanced Search ========== */
a.closedAdvancedSearch {
    background: transparent url( ../../img/themes/grey/iPlus.gif ) no-repeat scroll center left;
    text-decoration:none;
    color: #0A2948;
}

a.openedAdvancedSearch {
    background: transparent url( ../../img/themes/grey/iMinus.gif ) no-repeat scroll center left;
    text-decoration:none;
    color: #0A2948;
}

/* ========== Ajax Tags ========== */

.autocomplete {
    color: #333;
    background-color: #FFF;
    border: 1px solid #666;
}

.autocomplete li {
    border: 1px solid #FFF;
}

.autocomplete li.selected {
    background-color: #CEF;
    border-top: 1px solid #9BC;
    border-bottom: 1px solid #9BC;
}

/* ========== Page Navigator ========== */

a.arrowFirstOn:link:hover, a.arrowPreviousOn:link:hover, a.arrowNextOn:link:hover, a.arrowLastOn:link:hover, a.arrowFirstOff:link:hover, a.arrowPreviousOff:link:hover, a.arrowNextOff:hover, a.arrowLastOff:hover {
    text-decoration: none;
}

a.arrowFirstOn {
    background: transparent url( ../../img/themes/grey/iFirstOn.gif ) no-repeat scroll top left;
}

a.arrowPreviousOn {
    background: transparent url( ../../img/themes/grey/iPreviousOn.gif ) no-repeat scroll top left;
}

a.arrowNextOn {
    background: transparent url( ../../img/themes/grey/iNextOn.gif ) no-repeat scroll top left;
}

a.arrowLastOn {
    background: transparent url( ../../img/themes/grey/iLastOn.gif ) no-repeat scroll top left;
}

a.arrowFirstOff {
    background: transparent url( ../../img/themes/grey/iFirstOff.gif ) no-repeat scroll top left;
}

a.arrowPreviousOff {
    background: transparent url( ../../img/themes/grey/iPreviousOff.gif ) no-repeat scroll top left;
}

a.arrowNextOff {
    background: transparent url( ../../img/themes/grey/iNextOff.gif ) no-repeat scroll top left;
}

a.arrowLastOff {
    background: transparent url( ../../img/themes/grey/iLastOff.gif ) no-repeat scroll top left;
}

/* ========== Page items ========== */

table.resultTable {
    border: 1px solid #868686;
}

.resultTable th, .resultTable th.orderOff {
    background-color: #868686;
    border: 2px solid #FFF;
    color:#FFF;
}

.resultTable tr.odd {
    background-color: #DFDFDF;
}

.resultTable tr.even {
    background-color: #FFF;
}

/* ========== Page Sorter ========== */

/** Manter as regras NESTA ORDEM: Off, Asc, Desc **/

.resultTable a.orderOff{
    background: #868686 url( ../../img/themes/grey/iArrowOff.gif ) no-repeat scroll center right;
    color:#ffffff;
}

.resultTable a.orderAsc{
    background: #868686 url( ../../img/themes/grey/iArrowDown.gif ) no-repeat scroll center right;
    color:#ffffff;
}

.resultTable a.orderDesc{
    background: #868686 url( ../../img/themes/grey/iArrowUp.gif ) no-repeat scroll center right;
    color:#ffffff;
}

/*para o display tag*/
.resultTable th.orderOff {
    background: #868686 url( ../../img/themes/grey/iArrowOff.gif ) no-repeat scroll center left;
    color:#ffffff;
}

.resultTable th.orderAsc {
    background: #868686 url( ../../img/themes/grey/iArrowDown.gif ) no-repeat scroll center left;
    color:#ffffff;
}

.resultTable th.orderDesc {
    background: #868686 url( ../../img/themes/grey/iArrowUp.gif ) no-repeat scroll center left;
    color:#ffffff;
}

.resultTable th.sorted a, .resultTable th.sortable a, .resultTable th.orderOff a{
	color:#FFF;
}
/* fim display tag */


/* ========== Master Detail Tabs ========== */

.masterBlockSubInfoHorz{
    background-color: #DFDFDF;
	border-left: 1px solid #0A2948;
	border-bottom: 1px solid #0A2948;
	border-right: 1px solid #0A2948;
}

.masterBlockSubInfoVert{
    background-color: #DFDFDF;
	border-top: 1px solid #0A2948;
	border-bottom: 1px solid #0A2948;
	border-right: 1px solid #0A2948;
}


/* ------------------------------------------ Horizontal Tabs -------------------------------------------*/

div#tabHorz div.tabLeft{
	background: transparent url(../../img/themes/grey/tabTopOff.gif) no-repeat scroll left bottom;
}


div#tabHorz div.tabCenter{
	background-color:#ECECEC;
	border-top:1px solid #0A2948;
}

div#tabHorz div.tabRight{
	background: transparent url(../../img/themes/grey/tabTopOff.gif) no-repeat scroll right bottom;
}

div#tabHorz li.currentTab div.tabLeft{
	background: transparent url(../../img/themes/grey/tabTopOn.gif) no-repeat scroll left bottom;
}


div#tabHorz li.currentTab div.tabCenter{
	background-color:#DFDFDF;
}

div#tabHorz li.currentTab div.tabRight{
	background: transparent url(../../img/themes/grey/tabTopOn.gif) no-repeat scroll right bottom;
}

div#tabHorz{
	background: transparent url(../../img/themes/grey/tabBg.gif) repeat-x bottom;	
}


#tabHorz a {
    color: #0A2948;
}

#tabHorz a:hover {
    font-weight:bold;
}

#tabHorz .currentTab a {
    color: #0A2948;
}
/* ------------------------------------------ Vertical Tabs -------------------------------------------*/
td.tabVert {
    background: url(../../img/themes/grey/tabBg.gif) repeat-y right top;
}


#tabVert li {
    background: url(../../img/themes/grey/tabLeftOff.gif) no-repeat right top;
}

#tabVert a {
    color: #0A2948;
}

#tabVert .currentTab {
	background: url(../../img/themes/grey/tabLeftOn.gif) no-repeat right top;
}

#tabVert .currentTab a {
    color: #0A2948;
}

/* ======== Wizards =========*/

.viewedStep{
	background: transparent url(../../img/themes/grey/iSuccess.gif) top left no-repeat;
}

.wizardStep h3{
	color:#B8B8B8;
	border:none;
}

/*============== Window ===============*/
.tjpr_nw {
    background: transparent url( ../../img/themes/grey/window/left-top.gif ) no-repeat 0 0;
}

.tjpr_n {
    background: transparent url( ../../img/themes/grey/window/top-middle.gif ) repeat-x 0 0;
}

.tjpr_ne {
    background: transparent url( ../../img/themes/grey/window/right-top.gif ) no-repeat 0 0;
}

.tjpr_w {
    background: transparent url( ../../img/themes/grey/window/frame-left.gif ) repeat-y top left;
}

.tjpr_e {
    background: transparent url( ../../img/themes/grey/window/frame-right.gif ) repeat-y top right;
}

.tjpr_sw {
    background: transparent url( ../../img/themes/grey/window/bottom-left-c.gif ) no-repeat 0 0;
}

.tjpr_s {
    background: transparent url( ../../img/themes/grey/window/bottom-middle.gif ) bottom left repeat-x;
}

.tjpr_se, .tjpr_sizer {
    background: transparent url( ../../img/themes/grey/window/bottom-right-c.gif ) no-repeat 0 0;
}

.tjpr_close {
    background: transparent url( ../../img/themes/grey/window/button-close-focus.gif ) no-repeat 0 0;
}

.tjpr_minimize {
    background: transparent url( ../../img/themes/grey/window/button-min-focus.gif ) no-repeat 0 0;
}

.tjpr_maximize {
    background: transparent url( ../../img/themes/grey/window/button-max-focus.gif ) no-repeat 0 0;
}

.tjpr_restore {
    background: transparent url( ../../img/themes/grey/window/button-min-focus.gif ) no-repeat 0 0;
}

.tjpr_title {
    color: #C7C7C7;
}

/*============== Calendar =========*/
body.calendar{
	background:#FFF;	
}

table.calendar a{
	text-decoration:none;
}

td.weekday{
	border-bottom:1px solid #0C6AA9;
}

td.weekday a{
	 color:#0C6AA9;
}

td.day a, td.weekend a{
	color:#0A2948;
}

td.weekend{
	background-color: #DFDFDF;
}

span.month{
	color:#0A2948;
}

span.year{
	color:#0C6AA9;
}

span.currMonth{
	color:#0A2948;
}

span.otherMonth{
	color:#B8B8B8;
}

a.calPrevYear{
	background: transparent url(../../img/themes/grey/calendar/iCalPreviousYear.gif) no-repeat top right;
}
a.calPrevMonth{
	background: transparent url(../../img/themes/grey/calendar/iCalPrevious.gif) no-repeat top right;
}
a.calNextYear{
	background: transparent url(../../img/themes/grey/calendar/iCalNextYear.gif) no-repeat top left;
}
a.calNextMonth{
	background: transparent url(../../img/themes/grey/calendar/iCalNext.gif) no-repeat top right;
}

td.today a, td.today a span.currMonth{
	color:#F56527;
}




