/** plain text color and font 
    bottom half of the background*/
*{
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    color: #272727;
    background: #f9fafc;
}

/** alternate background
    Specify a background image here for a two layered background */
#wrapper_wrapper {
    /*background-image: url("../images/header.jpg");*/
    /*background-position: 0 0;*/
    /*background-repeat: repeat-x;*/
}

/** background for the primary display area */
#wrapper {
    background-color: transparent;
}


/**  link colors */
a { 
    color: var(--main-link-color);
    text-decoration: none;
}

/** selected link style */
a:hover {
    text-decoration: underline;
}

/** the line at the bottom of the page */
.footer_content {
    border-top-color: #272727;
}

/*********************
    Headers
*********************/

/** large headers */
h1 {
    color: #272727!important;
}

/** medium headers */
h2 {
    color: #272727;
    font-weight: 600;
}

#header_top h2 {
    color: #fff;
}

h4 {
    color: #272727;
}

h2 a {
    color: var(--main-link-color);
}

/** tab headers in wizards and cart **/
.tab-row ul li a  {
    color: var(--main-link-color);
    font-size: 12px;
    font-weight: normal;
    height: 28px;
    line-height: 28px;
}

.tab-label span{
    color: #005063;
    font-size: 16px;
    font-weight: normal;
    height: 28px;
    line-height: 28px;
}

/** selected tab header **/
.tab-row ul li.selected a {
    color: #272727;
}

.tab-row ul li.selected span {
    color: #272727;
}

/*********************
    Forms
*********************/

/** textfield styles */
input[type="text"],
input[type="password"],
textarea {
    /*border-style: solid;*/
    /*border-width: 1px;*/
    /*border-color: #272727;*/
    /* ui 2 */
    color: #444a59;
    background-color: #fff;
    background-image: none;
    border: 1px solid #acb2bf !important;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus{
    outline: none;
}

select{
    border: 1px solid #acb2bf !important;
}


/** labels 
    please enter the same data for label and .faux_label */
label, .faux_label, .stacked_label {
    color: #272727;
    font-weight: bold;
}

.label_invalid {
    font-family:helvetica,arial,sans-serif;
    font-weight:normal;
    text-align: right;
    color: #FF3800;
}


/**********************
    Tables
**********************/

/** table headers 
    and the line under them */
table {
    border-radius: 2px;
    border: 1px solid var(--table-border-color);
    position: relative;
}

table th {
    color:  #506E78 !important;
    font-style: normal;
    border-bottom: 1px solid var(--table-border-color);
}

/** table data */
.table_gray td,
.section_content table td { 
    border-top: 1px solid var(--table-border-color);;
}

table.table_white td {  
    background-color: transparent;
}

/** alternate row color
.table_gray tr.odd td,
.section_content table tr.odd td{
    background-color: white;
} */

/** Account search table */
#account_search th {
    color: #506E78;
    /*font-size: 1.25em;*/
}

table#dashboard,
table#dashboard table  {
    background-color: transparent;
    border: 0 solid #363636;
}

.table_gray th a {
    color: #6f7684;
    font-weight: bold;
}


/**********************************
    Popup windows
**********************************/

/** window border */
body .w_action {
    border: 1px solid #dce0e8;
    background-color: #f9fafc;
    border-radius: 7px;
    padding: 0;
}

/** window title */
body div.wicket-modal div.w_caption,
body .w_caption a {
    height: auto;
    padding-bottom: 20px;
    padding-top: 20px;
    color: #272727;
}

div.wicket-modal span.w_captionText {
	margin: 0;
	position: static !important;
	left: auto !important;
    font-size: 16px;
}

div.wicket-modal div.w_right_1 {
    margin: 0 !important;
    margin-left: 1px !important;
}

div.wicket-modal div.w_content_1 {
    margin-right: 1px !important;
}

div.wicket-modal div#popcontent_holder {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

div.wicket-modal a.w_close {
    filter: invert(0.9) !important;
    border-top-right-radius: 7px !important;
}

.wicket-modal .tab_section_content {
	border: none;
}

.wicket-modal .tab_section_footer {
	padding-right: 15px;
}

/** lines in the confirm window */
body .confirm_content {
    border-top: 3px solid #ca270d;
    border-bottom: 3px solid #ca270d;
}

/* Top and bottom accent lines in the cart popup */
.overlay_columns {
    border: 0;   
}

/*************************************
    Cart
*************************************/
.title_border h3 {
    color: #272727;
    font-size: 16px;
    font-weight: 600;   
}

.table_cart_overlay th {
    color: #272727;
}

/***********************************
very long words need to be broken
to keep content inside rendering area 
such as billing account "Notes" column
***********************************/
.longContent span { 
    word-wrap:break-word;
    float: left;
    width: 22em !important;
}

.longContentNotesTd {
    width: 15%; 
}

.longContentNotesActionsTd {
    width: 10%;
}

.longContentNotes {
    width: 30%;
}

.longContentNotes span{
    float: left;
    text-align: justify;
    width: 325px;
    word-wrap: break-word;
}

.longContentAuditDescription{
	max-width: 67em;
	word-wrap: break-word;
}

.longContentAuditUser{
	max-width: 4em;
	word-wrap: break-word;
}

.longContentInvoiceNumber{
    max-width: 12em;
    word-wrap: break-word;
}

/*Assign Authorities pop-up*/
.securityrole {
    margin-bottom: 1em;
    padding-left: 5px;
    font-weight: bold;
    font-size: 16px;
}

.auth-filter {
    margin-bottom: 6px;
}

.auth-filter > label {
    display: inline;
    color: #555555;
    float: none;
    font-weight: bold;
    text-align: left;
    padding: 0 3px;
    width: fit-content;
}

.auth-filter-caption {
    display: inline;
    color: #555555;
    font-weight: bold;
}

.auth-filter-container {
    padding-left: 5px;
}

.auth-filter-search {
    width: 195px;
}

/*Assign fixed width to action column */
.actionColumnwidth {
    width: 106px; 
}
table.whiteBackground table {
    background-color: transparent;
    border:none;
}
table.whiteBackground td {
    background-color: transparent;
    border:none;
}

/** buttons */
input[type="submit"],
input[type="button"],
button {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
    background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
    background-color:#ededed;
    -moz-border-radius:6px;
    -webkit-border-radius:6px;
    border-radius:6px;
    display:inline-block;
    color: var(--main-link-color);
    font: bold 12px arial, sans-serif;
    padding:6px 30px;
    text-decoration:none;
    overflow:auto;
	background: -ms-linear-gradient(top, #a9a9a9, #878787);
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover {
    color: #0c2343;
    cursor: pointer;
    background: #DBDBDB;
}


/***************************
    Section Panels
***************************/

/** section panel headers */

.section_title h2 {
}

/** section panel toggle 
    (the little triangle used to expand the panel */
.section_toggle {
/*  background-image: url(../images/deft/bg_section_toggle.png); */
}

/** action and filter button background */
.section_title .actions ul li.dropdown,
.section_title .button {
    background-color: #BABA3E;
    width: auto;
}

/** action and filter button text */
.section_title .actions ul.lonely li a,
.section_title .actions ul li.dropdown,
.section_title .button {
    color: #272727;
}

/** selected action buttons */
.section_title .actions ul.opened .dropdown {
    bbackground:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
    background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
    background-color:#dfdfdf;
}

.classname:active {
    position:relative;
    top:1px;
}

/** action button menu background */

/** action button menu items */

/** action button menu disabled items */
.section_title .actions ul li em {
    font-style: italic;
}

/** selected item in the action buttom menu */
.section_title .actions ul li+li a:hover {
    text-decoration: none;
}



/***************************
    Section Panels
***************************/

.section_content {
    background-color: transparent;  
    border-radius: 5px 5px 5px 5px;
    padding: 0 0 30px 3%;
    position: relative;
}

/** section panel headers */
.section_title h2 {
    font-size: 16px;
    padding-bottom: 0;
    color: #272727;
    font-weight: 600;
    float: left;
    clear: none;
}

.section_title h2 + .actions {
    border: 1px solid red;
}



/** section panel toggle 
    (the little triangle used to expand the panel */
.section_toggle {
    background-image: url(../images/deft/bg_section_toggle-1.png);
}

/** action and filter button background */
.section_title .actions ul li.dropdown,
.section_title .button {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
    background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
    background-color:#ededed;
    -moz-border-radius:6px;
    -webkit-border-radius:6px;
    border-radius:6px;
    display:inline-block;
    color:#777777;
    font: bold 12px/20px Arial, sans-serif;
    padding:6px 30px;
    text-decoration:none;
    float:right;
}

/** action and filter button text */
.section_title .actions ul.lonely li a,
.section_title .actions ul li.dropdown,
.section_title .button {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #eaeaea), color-stop(1, #dadada) );
    background:-moz-linear-gradient( center top, #eaeaea 5%, #dadada 100% ) repeat scroll 0 0 transparent;
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eaeaea', endColorstr='#dadada',GradientType=0);
    border-radius:6px;
    display:inline-block;
    color: var(--main-link-color);
    font: bold 12px/20px Arial, sans-serif;
    padding:6px 30px;
    text-decoration:none;
    float:right;
    overflow: auto;
    background: -ms-linear-gradient(top, #a9a9a9, #878787);
    width: auto;
}

.section_title .button {
    margin-right: 0;
}

/** selected action buttons */
.section_title .actions ul.opened .dropdown {
    border-radius:6px;
    display:inline-block;
    color:#272727;
    font: bold 12px/20px Arial, sans-serif;
    padding:6px 30px;
    text-decoration:none;
    background: #DBDBDB;
    overflow: hidden;
}

/** action button menu background */
.section_title .actions ul.opened {

}

/** action button menu items */
.section_title .actions ul li a {
    color: var(--main-link-color);
}

/*.section_title .actions ul li a:hover {*/
/*	background: none repeat scroll 0 0 #EBB21D;*/
/*    color: #272727;*/
/*}*/

/** action button menu disabled items */
.section_title .actions ul li em {
    font-style: italic;
}

/** selected item in the action buttom menu */
.section_title .actions ul li+li a:hover {
    text-decoration: underline;
    z-index: -1
}

.section_toggle,
.section_toggle .opened {
    width: 20px;
    float: left;
    margin: 2px 6px 0 2px
}
.section_content,
.section_content .opened
 {
    display: block;
    clear: left;
}

#footer_left {
    display:none;
}

/**pop-up window **/
div.wicket-modal ol li input[type="text"], input[type="password"] {
    /*border-color: #272727 !important;*/
    /*border-style: solid;*/
    /*border-width: 1px;*/
    position: relative;
    top: -3px;
    vertical-align: middle;
    padding-left: 3px;
    /* ui 2 */
    color: #444a59;
    background-image: none;
    border: 1px solid #acb2bf;
}

th.calheader {
    background-color: #272727;
    color: #d6e8ff !important;
}

table.palette td.header {
    background-color: transparent!important;
    border-bottom: 0!important;
    border-top: 0!important;;
    color: #272727;
    font-size: 10pt;
    font-weight: bold;
    padding: 7px;
    text-align: center;
}

div.wicket-tree-table span.b_ span.c_ {
    border: 0!important;
}

div.wicket-tree-table-body div.row,
div.wicket-tree-table div.row-selected {
    border-bottom: 1px solid var(--table-border-color);;
    border-top: 0 !important;
    padding-top: 2px !important;
}

.section_title .actions ul.lonely li a:hover,
.section_title .actions ul li.dropdown:hover,
.section_title .button:hover {
    background: #DBDBDB;
    color: #0c2343;
}
