/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @copyright  Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
 * @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
/******************************************/
/***************** BASE *******************/
/******************************************/

*{margin:0;padding:0}
body{color:#2f2f2f;font:12px/1.5em Arial,Helvetica,sans-serif}
a{color:#4a8bc3;text-decoration:underline}
a:hover{color:#ea7601;text-decoration:underline}
a img{border:0}
:focus{outline:0}

/* Heading */
h1,h2,h3,h4{margin-bottom:.5em;line-height:1.4em}
h2{font-size:1.7em}
h3{margin-bottom:.5em;color:#253033}
h4{margin-bottom:.6em;color:#494848;font-size:1.05em}
h5{font-size:1.05em}
h6{font-size:1em}
h1 a,h1 a:hover,h2 a,h2 a:hover,h3 a,h3 a:hover,h4 a,h4 a:hover{font-weight:400}

/* Table */
th{padding:0;text-align:left;vertical-align:top}
td{padding:0;vertical-align:top}

/* Paragraph */
p,address{margin-bottom:.5em}
address{font-style:normal}
cite{font-style:normal;font-size:10px}
q:before,q:after{content:''}

/* Form */
form{display:inline}
fieldset{border:0}
legend{display:none;display:block!important;height:0;line-height:0;margin:0;overflow:hidden;padding:0;width:0;visibility:hidden}
label{color:#333}
input,select{vertical-align:middle}
textarea{overflow:auto}

/* Lists */
ul,ol{list-style:none}
dt{display:block}

/* Size */
small{font-size:.9em}
big{font-size:1.25em}
#tab_content_customerLocationCatagory .dt-category input{float:left}
#tab_content_customerLocationCatagory .clc_header{float:left;width:100%}
#tab_content_customerLocationCatagory .clc_header > span{margin-top:10px;float:left}
#tab_content_customerLocationCatagory #saveaddcat,#tab_content_customerLocationCatagory #resetaddcat{float:right;margin:5px;padding:10px 15px}
#address_form_container .entry-edit-head h4{width:100%}
#address_form_container .entry-edit-head .location_cat{float:right;background:#FFF;color:#4A8BC3;padding:0 10px;cursor:pointer}
#payroll_payroll_form .selectweek,#payroll_payroll_form .selectmonth{float:left}
#payroll_payroll_form .selectbtn{float:right}
.payrllpmnt{clear:both;float:left;margin:5px 0}
.advncpmnt{float:left}
.paynow{float:right}
.payrollfooter input{width:80%}
.payrollfooter textarea{width:95%}
#payroll_tabs_form_payroll_content{font-size:14px}
#payroll_tabs_form_payroll_content .payrollfilter{margin:0 5px;float:left}

/******* Bank Deposit *******/
#deposit_deposit_form{min-height:300px}
#supplier{width:160px}
.switch{position:relative;display:inline-block;width:97px;height:34px}
.switch input{display:none}
.clearslider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#2f2f2f;-webkit-transition:.4s;transition:.4s}
.clearslider:before{position:absolute;content:"";height:26px;width:26px;left:4px;bottom:4px;background-color:#fff;-webkit-transition:.4s;transition:.4s}
input:checked + .clearslider{background-color:#22a7e2}
input:focus + .clearslider{box-shadow:0 0 1px #2196F3}
input:checked + .clearslider:before{-webkit-transform:translateX(55px);-ms-transform:translateX(55px);transform:translateX(55px)}
.clearon{display:none}
.clearon,.clearoff{color:#fff;position:absolute;transform:translate(-50%,-50%);top:50%;left:37%;font-size:14px;font-family:Verdana,sans-serif}
.clearoff{left:62%}
input:checked+ .clearslider .clearon{display:block}
input:checked + .clearslider .clearoff{display:none}
.clearslider.clearround{border-radius:34px}
.clearslider.clearround:before{border-radius:50%}
#depositGrid_massaction-form{display:none}

/*#depositGrid .filter-actions button:first-child{display: none;}*/
#depositGrid td.totalbalance{width:275px}
#depositGrid #depositGrid_filter_clearornot{display:none}
#depositGrid .grid td input#from_date,#depositGrid .grid td input#from_check,#depositGrid .grid td input#to_date,#depositGrid .grid td input#to_check{width:75%}
#depositGrid span.totalbalance{font-size:21px;float:right}
.smallwait{background:#fff url(images/smallwait.gif) no-repeat scroll center center;bottom:0;left:0;opacity:.5;position:absolute;right:0;top:0;z-index:1}
.wait{background:#fff url(images/wait.gif) no-repeat scroll center center;bottom:0;left:0;opacity:.5;position:absolute;right:0;top:0;z-index:1}
.waitfixed{background:#fff url(images/wait.gif) no-repeat scroll center center;bottom:0;left:0;opacity:.5;position:fixed;right:0;top:0;z-index:1}
a.removeitmprcegrp { background:url("images/icon_remove_address.gif") no-repeat 5px center transparent;padding: 5px 12px;}
.grid-row-blue{color:#22a7e2}
.grid-row-black{color:#2f2f2f}
#calendar--flat, .static-calander{position:absolute;display:none}

/******* Creditcard Transaction *******/
#cctransactionGrid .filter-actions button:first-child{display:none}
#cctransaction_cctransaction_form{min-height:300px}
#cctrans-add-popup-container{font-family:fontawesome-webfont;font-size:16px}
#cctransactionGrid .range .range-line.date{display:none}
#cctrans-add-popup-container h4,#cctrans-add-popup-container td.buttons{text-align:center}

/******* Creditcard Transaction *******/
#advpamt_advpamt_form td.buttons{text-align:center}
#cctransactionGrid span.totalbalance{font-size:21px;float:right}
#reconciliationGrid .assignto,#reconciliationGrid .assigndebittypetd{position:relative}
#reconciliationGrid .assignto .recassignto{width:100%}
#reconciliationGrid .grid-row-debit,#reconcilhistoryGrid .grid-row-debit{color:#ed290c}
#reconciliationGrid .grid-row-assign{background:#ade0ff}
#reconciliationGrid .grid-row-assign.autodefaultassign{background:#81c9f4}
#reconciliationGrid .grid-row-credit,#reconcilhistoryGrid .grid-row-credit{color:#26af00}
#reconciliationGrid .grid-row-reconciled{background:#00C355;color:#FFF}
#reconciliationGrid .assigntype{width:100%}
#reconciliationGrid .transmess{color:#ed290c}
#reconciliationGrid_table tbody tr{height:35px}
#reconciliationGrid_table tbody tr td{vertical-align:middle}
#getshipmentprice{cursor:pointer}

/******* InvreportGrid_table *******/
table#InvreportGrid_table tr.grid-row-green{background: #D6EAC8}
table#InvreportGrid_table tr.grid-row-red{background: #FFA9A9}
table#InvreportGrid_table tr.grid-row-blue{background: #BED0F3}
table#InvreportGrid_table tr.grid-row-blue td{color: #2f2f2f}
table#InvreportGrid_table tr.grid-row-green td {border-color: #BFBFBF}

/******* Global *******/
table tr.global_grid-row-white,table tr.global_grid-row-white:hover,table tr.even.global_grid-row-white{background:#FFF}
table tr.global_grid-row-green,table tr.global_grid-row-green:hover,table tr.even.global_grid-row-green{background:#D6EAC8}
table tr.global_grid-row-blue,table tr.global_grid-row-blue:hover,table tr.even.global_grid-row-blue{background:#BED0F3}
table tr.global_grid-row-red,table tr.global_grid-row-red:hover,table tr.even.global_grid-row-red{background:#FFA9A9}
table tr.global_grid-row-green-text,table tr.global_grid-row-green-text:hover,table tr.even.global_grid-row-green-text{color:#16921D}
table tr.global_grid-row-blue-text,table tr.global_grid-row-blue-text:hover,table tr.even.global_grid-row-blue-text{color:#465cf7}
table tr.global_grid-row-red-text,table tr.global_grid-row-red-text:hover,table tr.even.global_grid-row-red-text{color:red}

/******* Automatic PO Tab Color *******/
ul#automaticpo_tabs li a.tab-item-link span{color:#2d444f}
ul#automaticpo_tabs li a#automaticpo_tabs_dashboard_grid,ul#automaticpo_tabs li automaticpo_tabs_tobeorder_grid{background-color:#fff}
ul#automaticpo_tabs li a#automaticpo_tabs_skiped_grid{background-color:#75a9f9}
ul#automaticpo_tabs li a#automaticpo_tabs_tobesend_grid{background-color:#fefac0}
ul#automaticpo_tabs li a#automaticpo_tabs_tobeconfirm_grid{background-color:#ffd8ad}
ul#automaticpo_tabs li a#automaticpo_tabs_tobeship_grid{background-color:#cbe8ba}
ul#automaticpo_tabs li a#automaticpo_tabs_tobereceive_grid{background-color:#92db73}
ul#automaticpo_tabs li a#automaticpo_tabs_readyforenter_grid{background-color:#b3a3db}
ul#automaticpo_tabs li a#automaticpo_tabs_readyforreview_grid{background-color:#C4D7EB}
table tr.apo_tobeorder_row,table tr.even.apo_tobeorder_row{background:#ecf6fe}
table tr.apo_skiped_row,table tr.even.apo_skiped_row,table tr.on-mouse.apo_skiped_row{background:#75a9f9}
table tr.apo_tobesend_row,table tr.even.apo_tobesend_row,table tr.on-mouse.apo_tobesend_row{background:#fefac0}
table tr.apo_tobeconfirm_row,table tr.even.apo_tobeconfirm_row,table tr.on-mouse.apo_tobeconfirm_row{background:#ffd8ad}
table tr.apo_tobeship_row,table tr.even.apo_tobeship_row,table tr.on-mouse.apo_tobeship_row{background:#cbe8ba}
table tr.apo_tobereceive_row,table tr.even.apo_tobereceive_row,table tr.on-mouse.apo_tobereceive_row{background:#92db73}
table tr.apo_readyforenter_row,table tr.even.apo_readyforenter_row,table tr.on-mouse.apo_readyforenter_row{background:#b3a3db}
table tr.apo_readyforreview_row,table tr.even.apo_readyforreview_row,table tr.on-mouse.apo_readyforreview_row{background:#C4D7EB}

/* ******* Automatic PO file upload button ******** */
.apo_invoice_upload {width: 150px;}
.apo_file_select {background: #fff;color: #000;display: inline-block;width: 60%;}
.apo_invoice_upload input[type="file"] {position: relative;left: 0;top: -22px;opacity: 0;width: 60%;height: 22px;cursor: pointer;}
