﻿/*  Common classes 
--------------------------- */

/* Page tile, section header
*/
.pageTitle
{
    margin: 0.5em 0;
    text-align: center;
    font-size: 1.3em;
    font-weight: bold;
    color: #000066;
}

.sectionHeader {
    color: #003366;
    font-weight: bold;
    margin: 0.5em 0;
}

/* scaled price table */
.scaledPriceTable
{
    border: 1px solid #C0C0C0;
    width: 90%;
    font-size: 0.9em;
}
.scaledPriceTable td, 
.scaledPriceTable th
{
    padding: 2px;
    border: 1px solid #C0C0C0;
}
.scaledPriceTable th
{
    color: white;
    background-color: #6F7D94;
}
.scaledPriceTable td {
    text-align: right;
}

.scaledPriceTableEdit
{
    border: 1px solid #C0C0C0;
    width: 90%;
    margin-top: 0.5em;
}
.scaledPriceTableEdit td,
.scaledPriceTableEdit th
{
    border-style:none;
}
.scaledPriceTableEdit th
{
    color: white;
    background-color: #6F7D94;
}
.scaledPriceTableEdit .text-box {
    width: 92%;
    margin: 0;
}


/* Report filter 
<div class="reportFilters">
    <table></table>
</div>
*/
.reportFilters, /* filter wraper div */
.reportFiltersSingleLine
{
    width: 95%;
    margin: 0 auto;
    padding: 0;
    background-color: #F5F5FC;
    font-size: 1em;
}
.reportFiltersSingleLine {
    padding: 1em;
}
.reportFilters > table,
.reportFiltersSingleLine > table
{
    padding: 0;
    margin: 0 auto;
}
.reportFilters td,
.reportFiltersSingleLine td
{
    border-style: none;
    margin: 0;
    padding: 0 0 0 2em;
}
.reportFilters td.displayButton>div,
.reportFiltersSingleLine td.displayButton>div
{
    text-align: right;
}
.reportFilters td.displayButton
{
    vertical-align: bottom;
}
.reportFilters div {
    margin: 1em 0;
    padding: 0;
}
table.validationtable {
    margin-top: 0.5em;
}
table.validationtable td
{
    height: 1.7em;
    padding-right: 0;
}
.reportFilters label
{
    width: 6em;
    padding: 0 0.2em;
    font-weight: bold;
}
.reportFiltersSingleLine label
{
    font-weight: bold;
    margin-left: 2em;
}
.reportFilters input[type=text],
.reportFiltersSingleLine input[type=text] 
{
    width: 8em;
    margin: 0 0.5em;
    padding: 0.1em 0.2em;
}
.Date input[type=text] 
{
    width: 5em;
    margin: 0;
}
.reportFilters input[type=checkbox] {
    margin:  0;
    padding: 0;
}

/* select width */
select.merchantDropdownlist
{
    width:15em;
}
select.bankDropdownlist
{
    width:6em;
}
select.currencyDropdownlist
{
    width:4em;
}
select.currencyDropdownlistWithSelect
{
    width:6em;
}
select.yearDropdownlist,
select.monthDropdownlist
{
    width:4em;
}


/* Report table 
<div id="reportTable" class="report">
    <div class="reportTopText"></div>
    <table></table>
    <div class="MvcPaging">
        <span class="info"></span>
        <span class="pages"></span>
        <div class="clearfloat"></div>
    </div>
</div>
<div class="operations"><a class="aButton"/></div>
*/
.report { /* report wraper div */
    width: 97%; /* default width. override if needed. */
    margin: 1em auto;
}
.report .reportTopText
{
    padding: 0.5em 1em;
    text-align: right;
}
.report .reportTopText span
{
    font-weight: bold;
}
.report table /* report table */
{
    width: 100%;
    font-size: 0.9em;
    border: 1px solid #C0C0C0; 
}
.report td, 
.report th
{
    border: 1px solid #DCE6EF;
    padding: 0.2em 0.3em;
}
.report th
{
    background-color: #6F7D94;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1em;
}
.report td
{
    background-color: #fff;
    font-size: 0.95em;
}
.report th.orderby
{
    background-color: #657d66;
}
.report th.orderbydesc
{
    background-color: #975656;
}
.report td.nopadding {
    padding: 0;
    font-size: 0.5em;
    text-align:center;
}
.report .striped
{
    background-color: #F8FAFC;
}
.report .stripedEven
{
    background-color: white;
}

.MvcPaging /* report pager wrapper div */
{
    margin: 0.5em  auto;
    font-size: 1em;
}
.MvcPaging span.info
{
    float:left;
    width:30%
}
.MvcPaging span.pages
{
    float: right;
    width: 70%;
    text-align: right;
}
.MvcPaging span.pages  .item{} /*numeric pager items*/
.MvcPaging span.pages .cpb {} /*current pager item*/
.MvcPaging span.pages a {}
.MvcPaging span.pages a:hover {}
.MvcPaging span.pages select {
    width: 4em;
}

/* wrapper div of operations below the report div */
.operations
{
    margin: 0.5em auto;
    padding: 1em 2em;
    border-top-style: solid;
    border-top-width: 1px;
    border-color: #CCCCCC;
}

/* display a link as button */
a.abutton 
{
    display:inline-block;
    margin: 0 0.5em;
    padding: 0.5em;
    border: thin solid #CCCCCC;
    color: #333333;
    text-decoration: none;
    text-align:center;
    font-size: 0.9em;
    background-color: #E8E8E8;
}
a.abutton:hover
{
    background-color: #E1E1F7;
}



/* details table: for popup but not limited
----------------------------*/
table.details
{
    width: 98%;
    border: 1px solid #e8eef4; 
}
table.details caption
{
    padding: 0.2em 1em;
    font-weight: bold;
    color: White;
    text-align: left;
    background: #6F7D94;
}
table.details td,th
{
    border: solid 1px #e8eef4;
}
table.details th
{
    font-size: 0.95em;
    background-color: #e8eef4;
}
table.details td
{
    font-size: 0.9em;
    text-align: center;
    color: #003366;
}
table.details td.left
{
    text-align: left;
    padding-left: 0.5em;
}

/* note popup: fraud note as sample
-------------------------*/
div.newnote textarea
{
    width: 40em;
    height: 8.1em;
    display: block;
    margin-bottom: 0.5em;
}
div.newnote input[type=submit]
{
    margin-left: 1em;
}
div.newnote span
{
    float: right;
    width: 60%;
}
div.newnote .defaultText
{
    font-style:italic;
    color:#CCCCCC;
}

div.oldnotetitle
{
    padding: 0.3em 0.5em;
    background-color: #E1F0FF;
    font-size: 0.9em;
}
div.oldnotetitle span
{
    margin-right: 0.5em;
}
div.oldnotetitle .notedate
{
    font-style: italic;
    color: #000099;
}
div.oldnotetitle .noteuser
{
    color: #000099;
}
div.oldnotetitle .notecat
{
    color: #000066;
}

div.oldnotecontent
{
    padding: 0.2em 0.5em;
    margin-bottom: 0.5em;
    font-size: 0.9em;
}


/* used for a grouped block, e.g. payout fund detail 
------------------*/
.detailContainer /* wrapper div */
{
    border: 1px solid #808080;
    margin:1em;
    padding: 1em;
    background-color: #F4F4F4;
}
.detailContainer .title
{
    margin-bottom: 1em;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
}
.detailContainer div
{
    padding: 0.2em;
}
.detailContainer label
{
    width:12em;
    font-weight:bold;
}
.detailContainer textarea
{
    width: 15em;
    height: 5em;
}
.detailContainer input[type=submit]
{
    display: block;
    margin: 1em auto 0 auto;
    width: auto;
}
.detailContainer div.info
{
    font-style: italic; 
    color: #660033; 
    margin: 2em 0;
}


/* round shadow box*/
.boxshadow 
{
  -moz-box-shadow: 3px 3px 5px #535353;
  -webkit-box-shadow: 3px 3px 5px #535353;       
  box-shadow: 3px 3px 5px #535353;
}
.roundbox
{  
  -moz-border-radius: 6px 6px 6px 6px;
  -webkit-border-radius: 6px;  
  border-radius: 6px 6px 6px 6px;
}
.roundbox-top
{    
    -moz-border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;    
    border-radius: 4px 4px 0 0;
}
.roundbox-bottom
{    
    -moz-border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
}
.gridheader, .gridheaderbig, .gridheaderleft, .gridheaderright
{
    padding: 0.6em 1em;
    background: url(images/vertgradient.gif) repeat-x;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    color: #FFF;
}
.gridheaderleft
{
    text-align: left;
}
.gridheaderright
{
    text-align: right;
}
.gridheaderbig
{    
    font-size: 1em;
}


/* overwrite datepicker css */
div.ui-datepicker
{
    font-size: 0.8em;
}

/* JQuery model dialog 
This must be included AFTER jquery.ui.all.css
sample:
<div class="modalcontent">
    <div class="contentCaption"></div>
    <table class="contentTable">
        <div><lable/><textbox/></div>
    </table>
    <div class="contentButtons"><submit/><cancel/></div>
</div>
example: ManualFeePartial view in psp module
*/
.modaldialog
{
    font-size: 1em;
} 
.modaldialog div.modalcontent   /* div wrapper as table*/
{
    display: table;
    margin: 1em auto;
} 
.modaldialog div.contentCaption
{
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    margin: 0 0 1em 0;
}
.modaldialog table.contentTable>tbody>tr>td
{
    vertical-align: top;
    padding: 1em;
}
.modaldialog table.contentTable div{
    margin: 0.2em 0;
}
.modaldialog div.contentButtons
{
    text-align: center;
    margin: 1em auto 0.5em auto;
}   
.modaldialog label
{
    white-space: nowrap;
    width : 8em;
}   
.modaldialog input[type=text],
.modaldialog input[type=password]
{
    width : 12em;
}    
.modaldialog textarea
{
    width : 15em;
    height: 4em;
}    
.modaldialog input[type=submit],
.modaldialog button
{
    width : 6em;
}    



/*  General classes: These classes will overwrite css properity above
--------------------------- */
.floatleft
{
    float:left;
    margin-right:1em;
}
.floatright
{
    float:right;
    margin-left:1em;
}
/* this class can be placed on a <br /> or empty div as the final element following the last floated div 
(within the #container) if the #footer is removed or taken out of the #container */
.clearfloat { 
	clear: both;
	height: 0;
	font-size: 1px;
	line-height: 0;
}

.contentcentre
{
    text-align:center;
}
.contentleft
{
    text-align:left;
}
.contentright
{
    text-align:right;
}
.contentred
{
    color: Red;
}
.contentbold {
    font-weight: bold;
}

.cursorpointer
{
    cursor:pointer;
}

/* validation helpers */
.field-validation-error {
    color: Red;
}
.field-validation-valid {
    display: none;
}
.input-validation-error {
    border: 1px solid Red;
    background-color: #ffeeee;
}
.validation-summary-errors
{
    padding: 1em 0 1em 20em;
    color: #C33;
    background-color: #FFCCCC;
}
.validation-summary-valid {
    display: none;
}

/* editor and display helpers */
.display-label, 
.editor-label {
    margin: 1em 0 0 0;
}

.display-field, 
.editor-field {
    margin: 0.5em 0 0 0;
}

/* messages:
error/warning
success
information */
.error 
{
    color: #C33;
}
div.information, 
div.success, 
div.error, 
div.warning
{
    margin:1em 0;
    padding:1em;
    text-align: center;
}

div.information
{
    border: 1px solid #DCE6EF;
    color: #505A6B;
    background-color: #e8eef4;
}
div.information span
{
    font-style:italic;
    font-size:0.9em;
}

div.success
{
    color: #4B590D;
    background-color: #E3EDB6;
}

div.error,
div.warning
{
    background-color: #FFCCCC;
    border: 1px solid #C33;
}


.ApStatementPage {
    width: 70%;
    margin: auto;
}
.ApStatementPage>div {
    margin: 2em;
}
.ApStatementPage table {
    width: 100%;
}

.StatementSummary {
    width: 60%;
    float: left;
}
.StatementSummary table{
    width: 100%;
}
.StatementSummary table th, .StatementSummary table td
{
    border-width: 1px;
    border-color: #000000;
    padding: 0.1em 0.5em;
}
.StatementSummary table th
{
    border-style: solid;
}
.StatementSummary table .thDesc{
    width: 70%;
}
.StatementSummary table .td1
{
    border-style: none solid none solid;
}
.StatementSummary table .td2
{
    border-style: solid none none none;
}
.StatementSummary table .td3
{
    border-style: none;
}
.CarriedText
{
    font-style: italic;
    color: #CC3300;
    text-align: right;
}
.EditFunctions {
    margin: 1em;
    text-align: right;
}

.StatementInfo {
    width: 30%;
    float: right;
}
.StatementInfo label
{
    color: #003366;
    font-weight: bold;
    display: block;
    margin: 0.8em 0 0.3em 0;
}

.StatementNote textarea{
    width: 75%;
    height: 4em;
}

.StatementProcess th, .StatementProcess td
{
    padding: 0.1em 0.5em;
}
.StatementProcess th
{
    border-style: none none solid none;
    border-width: 1px;
    border-color: #000000;
}

/* manual Fee modal dialog */
.modaldialog .manualFeeLable {
    width: 5em;
}
.modaldialog #MfDesc
{
    width : 18em;
}    
.modaldialog #MfAmount
{
    width : 5em;
} 
.modaldialog div.contentCaption span
{
    font-size: 1em;
    font-weight: normal;
}
.modaldialog table.contentTable
{
    border: 1px solid #CCCCCC;
}


.panelContainer
{
    margin-top: 0.5em;
    border: 1px solid #808080;
    padding: 1em;
    width: 25em;
    height: 20em;
    overflow: auto;
}