/* COMMON */
* {
	margin: 0;
	padding: 0
}

img {
	border: none;
}

form,input,textarea,select,button {
	outline: none;
}

body {
	background: #f9f9f9;
	font: normal 12px Tahoma;
	color: #333;
	line-height: 17px;
	padding-left: 15px;
	padding-right: 15px;
}

a {
	color: #81132c;
	text-decoration: underline;
}

a:hover {
	color: #bc183a;
	text-decoration: none;
}

.clear {
	clear: both;
	height: 0%;
	border: none;
	background: none;
	line-height: 0;
}
/* /COMMON */
#wrap {
	position: relative;
}

/* HEAD */
#head {
	background-color: #464646;
	height: 50px;
	line-height: 50px;
	color: #fff;
	width: 1280px;
}

#head h1 {
	margin-left: 35px;
	font-family: Georgia, "Times New Roman", "Bitstream Charter", Times,
		serif;
	font-weight: normal;
}
/* /HEAD */

/* CONTENT */
#content {
	padding: 15px;
	float: left;
}

/* MENU */
#menu {
	margin-right: 20px;
	float: left;
	width: 150px;
}

#menu ul {
	border: 1px solid #e3e3e3;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	list-style: none;
	margin-bottom: 15px;
	width: 150px;
}

#menu ul li h2 {
	font-weight: bold;
	border-bottom: 1px solid #e3e3e3;
	font-size: 12px;
	padding-left: 32px;
	background: #f1f1f1 no-repeat;
	cursor: pointer;
}

#menu ul li h2.active {
	color: #fff;
	background-color: #e3e3e3;
}

#menu ul.dashboard li h2 {
	background-image: url('../img/dashboard.gif');
	background-position: 5px 8px;
}

#menu ul.settings li h2 {
	background-image: url('../img/settings.gif');
	background-position: 5px 8px;
}

#menu ul.media li h2 {
	background-image: url('../img/media.gif');
	background-position: 5px 8px;
}

#menu ul li ul {
	border: none;
	margin: 0;
}

#menu ul li ul li.last {
	border: none;
}

#menu ul li ul li {
	font-weight: normal;
	border-bottom: 1px solid #e3e3e3;
	line-height: 30px;
	padding-left: 15px;
	cursor: pointer;
}

#menu ul li ul li:hover {
	background-color: #f0f0f0;
}

#menu ul li ul li a {
	display: block;
	width: 100%;
	height: 100%;
}

#menu ul li ul li.active {
	background-color: #464646;
	border: 1px solid #fff;
}

#menu ul li ul li.active a {
	font-weight: bold;
	text-decoration: none;
	color: #fff;
}
/* /MENU */

/* MAIN */
#main {
	float: left;
	width: auto;
}

#main h1 {
	font-family: Georgia, "Times New Roman", "Bitstream Charter", Times,
		serif;
	font-weight: normal;
	margin-bottom: 20px;
}

#main .box {
	padding: 15px;
	border: 1px solid #e3e3e3;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	background-color: #fff;
	min-width: 1280px;
}

#main .box p {
	margin: 0 0 20px 0;
}
/* /MAIN */
/* /CONTENT */

/* GRID */
table.grid {
	margin: 0px 0;
	border-bottom: 1px solid #000;
	font-size: 1em;
	font-family: Arial;
}

/* ROWS */
table.grid tr {
	padding-top: 2px;
	padding-bottom: 2px;
}

table.grid tr.odd {
	background-color: #f6f6f6;
}

table.grid tr.even {
	background-color: #fff;
}

/*table.grid tr td {
	padding-left: 8px;
	padding-right: 8px;
}*/

table.grid tr.selected {
	background-color: #ffcc00;
}

/* HOVER */
table.grid tr:hover {
	background-color: #ffefc3;
}

/* NAVIGATION */
table.grid tr.navigation {
	text-align: left;
	font-size: 0.8em;
}

table.grid tr.navigation td {
	padding-right: 0px;
}

/* HEADERS */
table.grid tr th {
	font-weight: normal;
	text-align: left;
	/*white-space: nowrap;*/
	word-wrap: break-word;
	vertical-align: middle;
	background-color: #feda77;
	/* border-bottom: 1px solid #0079d6; */
	/* border-top: 1px solid #0079d6; */
}

table.grid tr th a {
	padding-right: 12px;
	background-position: right;
	background-repeat: no-repeat;
}

table.grid tr th.wicket_orderDown a {
	color: black;
	background-image: url(../images/gridpanel/arrow_down.png);
}

table.grid tr th.wicket_orderUp a {
	color: black;
	background-image: url(../images/gridpanel/arrow_up.png);
}

table.grid tr th.wicket_orderNone a {
	background-image: url(../images/gridpanel/arrow_off.png);
}

table.grid tr th a {
	font-weight: normal;
	/*font-size: 9px;*/
}

table.grid tr th,
table.grid tr td {
	font-size: 11px;
	max-width: 80px;
	padding: 3px 5px 3px 0;
}

table.grid tr th *,
table.grid tr td * {
	word-wrap: break-word;
}

/* TOOLBAR */
.gridpanel-tbar {
	width: 100%;
	margin: 0;
	padding: 1px;
	list-style: none;
	overflow: hidden;
}

.gridpanel-tbar li {
	display: inline;
	padding: 0;
}

.gridpanel-tbar a {
	display: block;
	float: left;
}

.gridpanel-tbar-refresh {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_refresh.png);
}

.gridpanel-tbar-add {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_add.png);
}

.gridpanel-tbar-edit {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_edit.png);
}

.gridpanel-tbar-edit-disabled {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_edit_disabled.png);
	cursor: default;
}

.gridpanel-tbar-merge {
	height: 24px;
	width: 45px;
	background-image: url(../images/gridpanel/tbar_merge.png);
}

.gridpanel-tbar-merge-disabled {
	height: 24px;
	width: 45px;
	background-image: url(../images/gridpanel/tbar_merge.png);
	cursor: default;
	pointer-events: none;
	opacity: 0.4;
}

.gridpanel-tbar-supplier {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_supplier.png);
}

.gridpanel-tbar-supplier-disabled {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_supplier.png);
	cursor: default;
	pointer-events: none;
	opacity: 0.4;
}

.gridpanel-tbar-supplier2 {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_supplier2.png);
}

.gridpanel-tbar-supplier2-disabled {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_supplier2.png);
	cursor: default;
	pointer-events: none;
	opacity: 0.4;
}

.gridpanel-tbar-delete {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_delete.png);
}

.gridpanel-tbar-delete-disabled {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_delete_disabled.png);
	cursor: default;
}

.gridpanel-tbar-language {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_language.png);
}

.gridpanel-tbar-subcategory {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_subcategory.png);
}

.gridpanel-tbar-colour {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_colour.png);
}

.gridpanel-tbar-show {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_show.png);
}

.gridpanel-tbar-hide {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_hide.png);
}

.gridpanel-tbar-tick {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_tick.png);
}

.gridpanel-tbar-price {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_price.png);
}

.gridpanel-tbar-size {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_size.png);
}

.gridpanel-tbar-printarea {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_printarea.png);
}

.gridpanel-tbar-view {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_view.png);
}

.gridpanel-tbar-pricecategory {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_pricecategory.png);
}

.gridpanel-tbar-printareaview {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_printareaview.png);
}

.gridpanel-tbar-address {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_address.png);
}

.gridpanel-tbar-billing {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_billing.png);
}

.gridpanel-tbar-links {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_links.png);
}

.gridpanel-tbar-excel-export {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_excel_export.png);
}

.gridpanel-tbar-subscribe {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_subscribe.png);
}

.gridpanel-tbar-currency {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_currency.png);
}

.gridpanel-tbar-search {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_search.png);
}

.gridpanel-tbar-clone {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_clone.png);
}

.gridpanel-tbar-clone-disabled {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_clone_disabled.png);
	cursor: default;
}

.gridpanel-tbar-invoice {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_invoice.png);
}

.gridpanel-tbar-invoice-disabled {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_invoice_disabled.png);
	cursor: default;
}

.gridpanel-tbar-text {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_text.png);
}

.gridpanel-tbar-sendemail {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_sendemail.png);
}

.gridpanel-tbar-detail {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_detail.png);
	background-repeat: no-repeat;
}
.gridpanel-tbar-detail-disabled {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_detail_disabled.png);
	background-repeat: no-repeat;
	cursor: default;
}

.gridpanel-tbar-import {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_import.png);
}

.gridpanel-tbar-gls {
	height: 24px;
	width: 24px;
	background-image: url(../images/gridpanel/tbar_gls.png);
}

h2 {
	font-family: Georgia, "Times New Roman", "Bitstream Charter", Times,
		serif;
	font-weight: normal;
	padding: 10px;
}

.messagebox {
	position: relative;
	width: 100px;
	margin-left: 30px;
	border: 1px solid #c93;
	background: #ffc;
	padding: 3px;
}

.messageboxok {
	position: relative;
	width: auto;
	margin-left: 30px;
	border: 1px solid #349534;
	background: #C9FFCA;
	padding: 3px;
	font-weight: bold;
	color: #008000;
}

.messageboxerror {
	position: absolute;
	width: auto;
	margin-left: 30px;
	border: 1px solid #CC0000;
	background: #F7CBCA;
	padding: 3px;
	font-weight: bold;
	color: #CC0000;
}

div.wicket-aa {
	font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana;
	font-size: 12px;
	background-color: white;
	border-width: 1px;
	border-color: #cccccc;
	border-style: solid;
	padding: 2px;
	margin: 1px 0 0 0;
	text-align: left;
}

div.wicket-aa ul {
	list-style: none;
	padding: 2px;
	margin: 0;
}

div.wicket-aa ul li.selected {
	background-color: #eeeeea;
	padding: 2px;
	margin: 0;
}
.feedbackPanelERROR {
	color: red;
	list-style: circle;
	font-weight: bold;
}
.year-select {
	display: inline; 
	padding-left: 40px;
}

.balance {
	display: inline;
	font-weight: bold;
}

.balance-years {
	margin-bottom: 15px;
}

div.commissionTabs {
    padding: 3px;
    background-color: #e4e4e4;
    background-color: rgba(0, 0, 0, 0.066);
    border: 1px solid #ddd;
    border: 1px solid rgba(0, 0, 0, 0.066);
    -moz-border-radius: 40px;
    -webkit-border-radius: 40px;
    border-radius: 40px;
}

div.commissionTabs li a {
    text-decoration: none;
    color: #141414;
    display: block;
    font-weight: bold;
    font-weight: normal;
    padding: 3px 15px;
    -moz-border-radius: 40px;
    -webkit-border-radius: 40px;
    border-radius: 40px;
}

div.commissionTabs li a:hover { text-decoration: underline; }
div.commissionTabs li a.active:hover { text-decoration: none; }

div.commissionTabs li a.active {
    color: #333;
    text-shadow: 1px 1px rgba(255, 255, 255, 0.33);
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.25);
    background: -moz-linear-gradient(top,  #ffffff 0%, #e1e1e1 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e1e1e1));
    background: -webkit-linear-gradient(top,  #ffffff 0%,#e1e1e1 100%);
    background: -o-linear-gradient(top,  #ffffff 0%,#e1e1e1 100%);
    background: -ms-linear-gradient(top,  #ffffff 0%,#e1e1e1 100%);
    background: linear-gradient(to bottom,  #ffffff 0%,#e1e1e1 100%);
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e1e1e1',GradientType=0 );*/
    background-color: #fff;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.05), inset 0 0 1px #fff;
    /*cursor: default;*/
}

.float-left { position: relative; float: left; margin-right: 10px; margin-bottom: 10px; }

div.group a {
    text-decoration: none;
}

.group:before, .group:after { content: ""; display: table; }
.group:after { clear: both; }
.group { zoom: 1; }


ul.inline, ol.inline { margin-bottom: 0; }

.inline li { display: inline; float: left; }

#commisionPanel table {
	display: inline-block;
}

.maxWidth{
	width: 100%;
}
.background-pink{
	background-color: #FF00CC;
}
.background-green{
	background-color: #00FF00;
}
.background-red{
	background-color: #FF0000;
}
.background-light-pink{
	background-color: #FFC8C8;
}
.background-blue{
	background-color: #66CCFF;
}
.background-light-green {
	background-color: #ccff99;
}
.background-grey{
	background-color: gray;
}
.background-grey a{
	color: #81132c;
}
.loadingDiv {
    position:fixed;
    top:0;
    left:0;
    z-index:99999;
    width:100%;
    height:100%;
    color:white;
    background: url('../images/ajax-loader.gif');
    background-repeat:no-repeat;
    background-position: center;
}
.stockFilter{
	padding: 4px;
}
.settings {
	display: none;
}
span.feedbackLabelERROR {
    color: #b00;
    width: 100%;
    padding-top: 2px;
    font-size: 10px;
    display: block;
    margin-bottom: 10px;
}

.no-max-width {
	max-width: none !important;
}

.purchase-detail-modal {
	padding: 20px;
}

.gridpanel-detail {
	height: 14px;
	width: 12px;
	background-image: url(../images/gridpanel/detail.png);
}

.purchase-detail-view-front {
	max-width: 46px !important;
}

.purchase-detail-view-back {
	max-width: 46px !important;
}

.purchase-detail-view-left {
	max-width: 46px !important;
}

.purchase-detail-view-right {
	max-width: 46px !important;
}

.purchase-detail-view-special {
	max-width: 46px !important;
}

#fileUpload input[type="file"] {
	display: inline !important;
}

.red-text {
	color:red;
	padding-top: 30px;
}

.red-color {
	color:red;
}

input:focus::-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder { color:transparent; } /* FF 4-18 */
input:focus::-moz-placeholder { color:transparent; } /* FF 19+ */
input:focus:-ms-input-placeholder { color:transparent; } /* IE 10+ */

.purchase-detail-quantity {
	width: 38px;
}

.puchaseImportResult table.grid tr th, .puchaseImportResult table.grid tr td {
	max-width: 150px;
}