﻿/* Application Common Settings */
body {
    font-family: Verdana, Sans-Serif;
    font-size: .71em;
    padding: 0px;
    margin: 0px;
    min-width: 750px;
    background-color: #4D6380;
}
h1 {
    font-size: 1.5em;
}

h2 {
    font-size: 1.25em;
}

h3 {
    font-size: 1.15em;
}
table {
    empty-cells:show;
}
input[type=text], input[type=password], select, textarea {
    border: solid 1px #7F9DB9;
    padding: 2px 2px 2px 2px;
}
input, select, textarea {
    font-family: Verdana, Sans-Serif;
    font-size: 1em;
}

input[type=text][disabled],input[type=password][disabled], select[disabled], textarea[disabled] {
    background-color: #E3E3E3;
    color: gray;
}

input[type=button] {
    padding: 0 .25em;
    width: auto;
    overflow:visible;
    font-weight:normal;
}
input.defaultButton {
    font-weight:bold;
}
.disabled {
    color: #BBB;
}
a {
    color: black;
    text-decoration: none;
    border-bottom: solid 1px #999;
    cursor: pointer;
}

a:hover {
    color: black;
    text-decoration: none;
    border-bottom: solid 1px #FF8D30;
}

a:visited {
    color: black;
    text-decoration: none;
}
a.enabled {
    cursor: pointer;
    color: Black;
}
a.disabled, a[disabled] {
    color: #BBB;
    cursor: default;
    border-bottom-color: #FFF;
}
a.disabled:hover, a[disabled]:hover {
    color: #BBB;
    border-bottom-color: #FFF;
}
a.disabled:visited, a[disabled]:visited {
    color: #BBB;
}

/* Sidebar Styling */
#sidebar {
    width: 232px;
    position: absolute;
    top: 56px;
    left: 10px;
    height: auto;
    bottom: 0px;
    display: block;
    overflow: hidden;
    background: #90AFD5 url(../../Images/sidebar-bg.png) repeat-x bottom;
}
#sidebar #tabmenu  {
    background-color: #4D6380;
    border-bottom: 2px solid #DEF5DB; 
    margin: 0px;
    padding: 12px 0px 0px 0px;
    height: 11px;
} 
#sidebar #tabmenu li, #sidebar #tabmenu li.active, #sidebar #tabmenu li.tabFlash {
    display: inline; 
    overflow: hidden;
    font-weight: bold;
    font-size: 1em;
    list-style-type: none; 
    position: relative;
    left: 1px;
    padding-bottom: 5px; 
    top: -7px;
    padding-top: 4px;
    background: url(../../Images/tab-Inactive-left.png) left top no-repeat;
}
#sidebar #tabmenu li.active {
    background: url(../../Images/tab-Active-left.png) left top no-repeat;
}
#sidebar #tabmenu li.tabFlash {
    background: url(../../Images/tab-Flash-left.png) left top no-repeat;
}
*:first-child+html #sidebar #tabmenu li { /* IE7 Hack.*/
    padding: 0px;
}

#sidebar #tabmenu li.tabFlash > a {
    
}

#sidebar #tabmenu li:hover {
    /*background: url(../../Images/tab-InactiveHover-left.png) left top no-repeat;*/
}

#sidebar #tabmenu li.active:hover {
    background: url(../../Images/tab-ActiveHover-left.png) left top no-repeat;
}

#sidebar #tabmenu li > a { 
    color: #7D8AA7;
    padding: 4px 5px 6px 5px; 
    margin: 4px 0 0 4px;
    text-decoration: none;
    cursor: pointer; 
    background: url(../../Images/tab-Inactive-bg.png) repeat-x;
    border-bottom: none;
}
#sidebar #tabmenu li.active > a {
    color: #3764A0;
    background: url(../../Images/tab-Active-bg.png) repeat-x;
}
#sidebar #tabmenu li.tabFlash > a {
    color: #3764A0;
    background: url(../../Images/tab-Flash-bg.png) repeat-x;
}
#sidebar #tabmenu li:hover > a {
    /*background: url(../../Images/tab-InactiveHover-bg.png) repeat-x;*/
    color: #3764A0;
}
#sidebar #tabmenu li.active:hover > a {
    background: url(../../Images/tab-ActiveHover-bg.png) repeat-x;
}
#sidebar #tabmenu li > span.right { 
    background: url(../../Images/tab-Inactive-right.png) right top no-repeat;
    padding: 4px 0px 5px 0px; 
    margin: 4px 0 0 0;
    margin-right: 5px;
}
#sidebar #tabmenu li.active > span.right { 
    background: url(../../Images/tab-Active-right.png) right top no-repeat;
}
#sidebar #tabmenu li.tabFlash > span.right { 
    background: url(../../Images/tab-Flash-right.png) right top no-repeat;
}
#sidebar #tabmenu li:hover > span.right { 
    /*background: url(../../Images/tab-InactiveHover-right.png) right top no-repeat;*/
}
#sidebar #tabmenu li.active:hover > span.right { 
    background: url(../../Images/tab-ActiveHover-right.png) right top no-repeat;
}
#sidebar #tabmenu a:hover { 
    border-bottom: none;
} 

#sidebar #tabmenu a.active:hover { 
    cursor:default;
}
#sidebar #TabContainer {
    padding: 3px;
}

/* Sidebar panels */

div.SidebarPanel {
    background-color:#DFE8F6;
    color: #3764A0;
    margin: 5px 5px;
    border: solid 1px #99BBE8;
    width: 213px;
    font-weight: normal;
}

div.SidebarPanel div.SidebarTitle {
    background: url(../../Images/sidebar-title-bg.png) repeat-x;
    /*height: 17px;*/
    background-size: contain;
    padding: 3px 0 3px 8px;
    font-weight: bold;
    color: #3764A0;
    margin-bottom: 6px;
    border-bottom: solid 1px #99BBE8;
}

div.SidebarPanel > div.SidebarPanelBorder {
    padding-bottom: 5px;
}

div.SidebarPanel div.SidebarContent {
    text-align:left;
    font-size: 0.90em;
}

div.SidebarPanel div.SidebarContent h3 {
    font-size: 1.15em;
    padding-left: 4px;
    margin: 4px;
    border-bottom: solid 1px #AACCF9;
}

#sidebar #list {
    font-weight: bold;
    background-color: White;
    margin: 8px 6px;
    padding:5px 3px;
}
#sidebar #list .item {
    font-weight: normal;
    text-align: left;
    margin: 0 5px;
    width: 96%;
}
#sidebar #list #total {
    border-top: solid 1px black;
    padding: 5px 0;
    margin-top: 5px;
}
/* Sidebar links */
div.SidebarPanel a.SidebarPanelLink, div.SidebarPanel a.SidebarPanelLinkDisabled {
    color: #3764A0;
    display: block;
    margin: 0px 5px;
    width: auto;
    padding: 3px 3px 4px 2px;
    cursor: pointer;
    text-decoration: none;
    border: solid 1px transparent;
    background-repeat: repeat-x;
    font-size: 1.1em;
}
div.SidebarPanel a.SidebarPanelLinkDisabled, 
div.SidebarPanel a.SidebarPanelLinkDisabled:hover, 
div.SidebarPanel a.SidebarPanelLinkDisabled:active {
    cursor: default;
    color: #888;
}

div.SidebarPanel a.SidebarPanelLink:hover {
    background-image: url(../../Images/hover.png);
    border-color: #000080;
}
div.SidebarPanel a.SidebarPanelLinkDisabled:hover {
}

div.SidebarPanel a.SidebarPanelLink:active {
    background-image: url(../../Images/active.png);
    border-color: #000080;
}
div.SidebarPanel a.SidebarPanelLink img, div.SidebarPanel a.SidebarPanelLinkDisabled img {
    padding-right: 5px;
    vertical-align: middle;
    border: none;
}
div.SidebarPanel a.SidebarPanelLink span {
    
}
div.SidebarPanel a.SidebarPanelLink span.subText, div.SidebarPanel a.SidebarPanelLinkDisabled span.subText {
    font-size: .78em; 
    border-bottom: none;
    position: relative;
    left: 5px;
}

/* Header */
#header {
    background-color: #4D6380;
    position: absolute;
    top: 0px;
    left: 247px;
    right: 10px;
    width: auto;
    height: 44px;
    min-width: 682px;
}
#SectionHeader {
    position:fixed;
    left: 15px;
    top: 0px;
    color: #D2DFF2;
}
#SectionHeader > h2 {
    margin: 15px 0;
}
#SectionHeader span 
{
    width:225px; 
    display: inline-block;
}
#header #UserLinks {
    font-size: 1.1em;
    padding: 15px 0;
}
#header #UserLinks ul {
    padding: 0;
    margin: 0;
}
#header #UserLinks li {
    display: inline;
    border-left: solid 1px #D2DFF2;
    padding: 1px 8px 2px 8px;
    list-style-type: none; 
}
#header #UserLinks li:first-child {
    border-left: none;
}
#header #UserLinks a {
    color: #D2DFF2;
    border-bottom: none;
}

#header #WorkflowLinks {
    height: 27px;
    background: url(../../Images/workflow-right.png) top right no-repeat;
}

#header #WorkflowLinks div {
    background: url(../../Images/workflow-left.png) top left no-repeat;
}

#header #WorkflowLinks div.active {
    background: url(../../Images/workflow-active-left.png) top left no-repeat;
}

#header #WorkflowLinks ul {
    margin: 0;
    padding: 0;
    display:block;
    height: 27px;
    background: url(../../Images/workflow-bg.png) repeat-x;
    margin: 0 4px;
}

#header #WorkflowLinks li.active {
    background: url(../../Images/workflow-active-bg.png) repeat-x;
}

#header #WorkflowLinks li {
    float: left;
    height: 27px;
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    border-right: solid 1px #97A3B3;
}

#header #WorkflowLinks li > a {
    border: none;
    display: block;
    padding: 5px 25px;
    color: #7D8AA7;
}
#header #WorkflowLinks li > a:hover {
    color: #4D6380;
}
#header #WorkflowLinks li.active > a {
    color: #4D6380;
}

#header #WorkflowLinks li > a > span {
}

#header div#CurrentUser {
    position:absolute;
    right: 3px;
    top: 15px;
    color: #D2DFF2;
    font-size:1.1em;
}

/* Body Styling */
#mainWrapper {
    position: absolute;
    left: 247px;
    top: 71px;
    right: 10px;
    bottom: 0px;
    padding: 10px;
    background: #E3F2E0 url(../../Images/main-border-bg.png) repeat-x;
    min-width: 662px;
}

#mainWrapper h1, #mainWrapper h2, #mainWrapper h3.title {
    color: #2D8332;
    padding: 4px 0;
    margin: 0 8px;
    margin-bottom: 5px;
    background: url(../../Images/h1-bottomborder.png) bottom left no-repeat;
}

#mainWrapper h2 {
    margin: 0 12px;
    margin-bottom: 5px;
}

#main {
    background-color: White;
    position: absolute;
    width: auto;
    top: 5px;
    bottom: 5px;
    right: 5px;
    left: 5px;
    overflow: auto;
    padding: 5px;
}

/* Aggregate Grids */

table.Aggregate {
    border-color: #DDD;
    width: 97%;
    font-size: .9em;
    border: solid 1px silver;
    border-left: none;
    border-bottom: none;
    position:relative;
    empty-cells: show;
}
table.Aggregate td, table.Aggregate th {
    padding: 2px;
    border-left: solid 1px #E5E5E5;
    border-bottom: solid 1px #E5E5E5;
    border-collapse: collapse;
    empty-cells: show;
}
table.Aggregate tr.row, table.Aggregate tr.altRow, tr.row, tr.altRow, table.Aggregate > tbody.row > tr, table.Aggregate > tbody.altRow > tr {
    background-color: white;
    vertical-align:top;
}
table.Aggregate tr.altRow, tr.altRow, table.Aggregate > tbody.altRow > tr {
    background-color: #F1F1F1;
}
tr.header, thead tr {
    background: #D5E8F9 url(../../Images/grid-header-bg.png) repeat-x;
}
table.Aggregate tr.header {
    height: 23px;
}
tr.header th, thead tr th {
    white-space: nowrap;
}
td.right {
    text-align: right;
}

/* Common Modal Styling */
div.modalBackground, div.forcedModalBackground {
    background-color: Gray;
    filter: alpha(opacity=70);
    opacity: 0.7;
    z-index: 500;
}
div.forcedModalBackground {
    z-index: 1000 !important;
}
div.highModalBackground {
    z-index: 1000000 !important;
}
div.modalPopup {
    background-color:white;
    border: solid 2px Gray;
    border-top-color: #FFF;
    border-left-color: #DDD;
    padding: 0px;
}
table.modal {
    padding: 3px;
}
input[type="image"].modalClose {
    position:absolute; 
    top:4px; 
    right: 8px; 
    z-index:999999;
    width:16px;
    height:16px;
}
table.modal caption, .modalCaption  {
    background: url(../../Images/sidebar-title-bg.png) repeat-x;
    padding: 3px;
    font-weight: bold;
    color: #3764A0;
    border-bottom: solid 1px #99BBE8;
}

.modalCaption {
    margin: 0;
    position: relative;
}

/* popout style */
div.CommandContainer {
    border-top:solid 1px black;
    clear: both;
    text-align: center;
    margin: 4px;
}

/* Sidebar search styling */
#search {
    margin:0px 5px;
}

#search input[type=text] {
    width: 191px;
}

#search input[type=text].lookup {
    width: 165px;
}

#search select {
    width: 197px;
}

#search div.commandButtonRow {		
	padding-top: 3px;
}

.ajax__calendar_days table td, .ajax__calendar_months table td, .ajax__calendar_years table td {
    padding: 0 !important;
}
.ajax__calendar_days table td {
    border: 1px solid #E5E5E5 !important;
    border-left: none !important;
    border-bottom: none !important;
    border-collapse:collapse !important;
}
.ajax__calendar_days table td:first-child {
    border-left: 1px solid #E5E5E5 !important;
}
td.ajax__calendar_other > div.ajax__calendar_day {
    color: #BBB !important;
}

div.ajax__calendar_day {
    width: 17px !important;
}

.ajax__calendar_title {
	margin: 0 15px !important;
}

/*Error pages Style*/
ul.ErrorReasons > li {
    padding-bottom: 5px;
}
div.ErrorText {
    padding: 0px 12px;
}

/* Search fields */ 
#actsrc_AccountCategory, select.actsrc_AccountClass {
    width: 200px;
}

select.prjsrc_ProjectDepartment, select.prjsrc_ProjectDivision, select.prjsrc_ProjectType, select.prjsrc_ProjectLocation, select.prjsrc_ProjectStatus {
    width: 270px;
}

#prjsrc_ProjectDescription, #prjsrc_ProjectId {
    width: 264px;
}

div.VersionInfo {
    padding:0 5px;
}

div.VersionInfo div {
    padding:2px 0;
    position:relative;
}
div.VersionInfo span {
    position:absolute;
    right: 3px;
}

/* View Only Distributions */
table.ViewDistro {
    vertical-align: middle; 
    font-weight: bold; 
    width:100%;
}

table.ViewDistro tr.Account {
    background-color: #d2e6f9; margin-top: 3px;
}
table.ViewDistro tr.Account td.AmtLbl {
    padding-left:32px;
}
table.ViewDistro tr.Account td.Amt {
    padding-left:16px; 
    text-align:right;
}

table.ViewDistro tr.Account td.GLLbl {
    padding-left:64px;
}
table.ViewDistro div.TransDist {
    overflow:hidden; 
    margin-bottom: 9px; 
    font-weight:normal;
}

table.noBorder td, table.noBorder th {
    border: none;
}

table.noBorder table.Aggregate td, table.noBorder table.Aggregate th {
    border-bottom: 1px solid #E5E5E5;
    border-left: 1px solid #E5E5E5;
}

.autoComplete_list {
    border: solid 1px #7F9DB9;
    background-color:White;
    list-style-type: none;
    margin: 0 !important;
    padding: 1px;
    overflow: auto;
    text-align: left;
    max-height:200px;
    z-index: 1000;
}

.autoComplete_listItem, .autocomplete_highlightedItem {
    padding: 1px;
    background-color:inherit;
    border-bottom: solid 1px #CCC;
}

.autocomplete_highlightedItem {
    background-color: #dfe8f6;
}