body {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	background: #000000 url("../images/carbonfade.png") repeat-x top;
	height: 100%;
}

h1, h2, h3 {

	margin-top: 0;
	margin-bottom: 0.2em;
}

a {
	color: #004080;
}

.hide {
	display: none;
}

.pointer {
	cursor: pointer;
}

.float_right {
	float: right;
}

.float_left {
	float: left;
}

.d-flex {
	display: flex;
	justify-content: space-between;
}

.r-flex {
	display: flex;
	justify-content: flex-end;
	flex-direction: row-reverse;
}

.p-5 {
	padding: 5px;
}


.admin_icon {
	background: url("../images/icons/crown.png") no-repeat;
	display: inline-block;
	width: 16px;
	height: 16px;
}

.required {
	color: red;
	font-size: 16px;
	font-weight: bold;
}

.hr {
	border: 0; 
	border-top: 3px dashed #CCCCCC;
}

input.hint {
	color: #A1A1A1;
	font-style: italic;
}

/* Main page wrapper */
#page {
	
	margin: 0px auto 0px auto;
	width: 920px;
	padding: 1em;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;

}

/* error page wrapper */
#page_error {

	margin-left: 10%;
	margin-right: 10%;
	padding: 1em;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	
}


#header {
	
	position: relative;
	min-width: 920px;
	width: 100%;
	background-color: #ffffff;
	margin-bottom: 10px;
	border-radius: 4px;
	-moz-border-radius: 4px;
	
}

#footer {
	position: relative;
	min-width: 920px;
	width: 100%;
	margin-top: 10px;
}

#errorfooter {	
	position: relative;
	margin-top: 10px;
}

#main {
	margin: 1em 0;
	background-color: #FFFFFF;
	padding: 1em;
	border-radius: 4px;
	-moz-border-radius: 4px;
}


/* Login form wrapper */
#login_form {	
	width: 300px;
	margin-top: 10%;
	margin-left: auto;
	margin-right: auto;
	padding: 1em;
	border: 1px solid #000;
	background-color: #FFFFFF;
	font-size: 12px;
	border-radius: 4px;
	-moz-border-radius: 4px;
	box-shadow: 6px 6px 6px #000000;
	-moz-box-shadow: 6px 6px 6px #000000;	
}

#login_form fieldset {
	display: block;
	border: none;
	margin: 2px 0px;
}

#login_form label {
	margin: 10px 20px 10px 0px;
	display: block;
	font-weight: bold;
	font-size: 14px;
}

#login_form input[type=text], #login_form  input[type=password] {	
	display: block;
	border: 1px solid #A1A1A1;
	margin: 5px 0px;
	padding: 5px 0;
	color: #999999;
	border-radius: 4px;
	-moz-border-radius: 4px;
	float:left;
	font-size: 16px;
	width: 100%;
}

#login_form .submit, #login_form  input[type=submit], #login_form input[type=button] {
	background: #555555;
	border: none;
	font-size: 12px;
	text-decoration: none;
	color: #FFFFFF;
	padding: 8px 10px;
	cursor: pointer;
	margin: 0;
	font-weight: bold;
	border-radius: 4px;
	-moz-border-radius: 4px;
	text-shadow: 0 1px 0 #444444;
}

#login_form fieldset {
	width: 300px;
	border: 0;
	padding: 0;
	margin: 0;
}

.wrapper {
	overflow:hidden;
}

.navigation-box{
	
	display: block;
	margin: 0 0 20px 0;
	width: 200px;
	padding: 1em;
	border: 0;
	background: #143A5E;
	font-size: 12px;
	float: left;
	border-radius: 4px;
	-moz-border-radius: 4px;
	box-shadow: 3px 3px 3px #D1D1D1;
	-moz-box-shadow: 3px 3px 3px #D1D1D1;
} 

.navigation-box h2 { 
	font-weight: normal;
	margin: 0 0 1em 0;
}

.navigation-box  h2 a {
	font-weight: bold;
	text-shadow: 0 1px 0 #444444;
	color: #FFF;
	text-decoration: none;	
}

.navigation-box  h2 a:hover {
	text-decoration: underline;	
}

.navigation-box  ul {
	
	margin: 0;
	list-style: none;
	padding: 0;

}

.navigation-box  ul li {
	
	margin: 1em 0;
	
}

.navigation-box  ul li a {
	color: #FFF;
	font-size: 12px;
	font-weight: normal;
	text-decoration: none;
}

.navigation-box  ul li a:hover, .navigation-box  ul li:hover {
	
	text-decoration: underline;
	color: #FFF;
	cursor: pointer;
	
}

.menu {
	background: #555555;
	height: 32px;
	width: 100%;
	border-radius: 4px;
	-moz-border-radius: 4px;
	box-shadow: 3px 3px 3px #000;
	-moz-box-shadow: 3px 3px 3px #000;
}

.menu ul { 
	padding: 0; 
	margin: 0;
	list-style: none;
	z-index: 2;	
}

/*.menu ul ul { width:100%; } */

.menu ul li { 
	float:left; 
	position:relative; 
	margin: 0;
	padding: 0;
}

.menu ul li a, .menu ul li a:visited { 
	display: block; 
	font-size: 13px; 
	text-decoration: none; 
	color:#FFFFFF; 
	padding: 8px 20px 8px 20px; 
	text-align: center;
	text-shadow: 0 1px 0 #083159;
	font-weight: bold;
}

.menu ul li ul li a.dropdown, .menu ul ul a.dropdown:visited { 
	background-color: #444444;
	text-align: left;
	text-shadow: none;
}

.menu ul li ul li a.dropdown:hover { 
	text-decoration: underline;
	background: #444444;
}

.menu ul li ul :hover > a.dropdown { 
	text-decoration: underline; 
	background: #444444;	
}

.menu ul li ul { 
	visibility: hidden; 
	position: absolute; 
	height:0; 
	left:0; 
}

.menu ul li ul li {
	margin: 0;
	width: 100%;
	
}
.menu ul li ul li a, .menu ul li ul li a:visited { 
	background-color: #444444; 
	color: #FFFFFF;  
	padding: 5px 10px;
	font-size: 12px; 
	font-weight: normal; 
}

.menu ul li a.active + ul li a, .menu ul li a.active + ul li a:visited { 
	background-color: #444444; 
	color: #FFFFFF;  
	padding:5px 10px; 
	font-size: 12px; 
	font-weight: normal; 
}

.menu ul li a:hover, .menu ul li ul li a:hover { 
	color: #FFFFFF; 
	background: #444444;	
	text-shadow: 0 1px 0 #083159;
}

.menu :hover > a, .menu ul li ul :hover > a { 
	color:#FFFFFF; 
	background: #444444;	
}

.menu ul li a:hover.first, .menu ul li ul li a:hover.first { 
	color: #FFFFFF; 
	background: #444444;
	border-top-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
	border-bottom-left-radius: 4px;
	-moz-border-radius-bottomleft: 4px;
}


.menu ul li:hover ul, .menu ul a:hover ul { 
	visibility:visible; 
}

.menu ul li a.active {
	color: #FFFFFF;
	background: #555555;
}

#main-content {

	float: left;
	width: 658px;
	margin: 0 0 0 1em;
	position: relative
}

#left-content {
	float:left;
}

.error_message {	
	background: #F2DEDE;
	border: 1px solid #EED3D7;
	color: ;
	display: block;
	font-size: 12px;
	color: #B94A48;
 	margin: 6px 0;
    padding: 8px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	border-radius: 4px;
	-moz-border-radius: 4px;
}

.warning_message {	
	background: #fbe0d5;
	border: 1px solid #f9bea7;
	display: block;
	font-size: 12px;
	color: #dc5e28;
 	margin: 6px 0;
    padding: 8px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	border-radius: 4px;
	-moz-border-radius: 4px;
}

.notice_message {
	background: #dddddd;
	border: 1px solid #c0c0c0;
	display: block;
	font-size: 12px;
	color: #6d6d6d;
 	margin: 6px 0;
    padding: 8px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	border-radius: 4px;
	-moz-border-radius: 4px;
}

.success_message {
	background: #dff0d8;
	border: 1px solid #d6e9c6;
	display: block;
	font-size: 12px;
	color: #468847;
 	margin: 6px 0;
    padding: 8px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	border-radius: 4px;
	-moz-border-radius: 4px;
}

.icon_success {	
	background: url(../images/icon_success.png) no-repeat;
	display: block;
	width: 32px;
	height: 32px;
}

.icon_notice {	
	background: url(../images/icon_notice.png) no-repeat;
	display: block;
	width: 32px;
	height: 32px;
}

.icon_error {	
	background: url(../images/icon_error.png) no-repeat;
	display: block;
	width: 32px;
	height: 32px;
}

.icon_help {	
	background: url(../images/icon_help.png) no-repeat;
	display: block;
	width: 32px;
	height: 32px;
}

.clear {
	clear: both;
}

.panel {
	margin: 8px 0;
}

.footer-menu {
	background: #555555;
	height: 32px;
	width: 100%;
	border-radius: 4px;
	-moz-border-radius: 4px;
	box-shadow: 3px 3px 3px #000;
	-moz-box-shadow: 3px 3px 3px #000;

}

.footer-menu  ul {	
	margin: 0;
	padding: 0; 
	list-style: none;	
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.footer-menu  ul li { 

	float:left; 
	font-size: 12px; 
	color: #FFF;
	margin-right: 1em;
	padding: 10px 10px;
}

/* style the links for the top level */
.footer-menu  ul li a, .footer-menu  ul li a:visited { 
	text-decoration: none; 
	color:#FFF;
}

/* style the top level hover */
.footer-menu  ul li a:hover, .footer-menu  ul li ul li a:hover { 
	color: #FFF;
	text-decoration: underline;
}

.company_logo_thumb {
	border: none;
	width: 236px;
	height: 90px;
	display: block;
	margin: 0 auto 16px auto;
	background: url('../images/logo.png') no-repeat;
}

#header .company_logo_thumb {
	border: none;
	width: 236px;
	height: 90px;
	display: block;
	margin: 4px;
	float:left;
	background: url('../images/logo.png') no-repeat;
}

#user_area {
	margin-left:10px;
	margin-top: 14px;
	float: left;
}

#user_area .thumbnail {
	display: block;
	width: 70px;
	height: 70px;
	border: 1px solid #D1D1D1;
	-webkit-border-top-left-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
	float: left;
}

#user_area .details {
	min-width: 190px;
	height: 64px;
	float: left;
	padding: 4px 8px 4px 8px;
	background-color: #D1D1D1;
	-webkit-border-top-right-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	-moz-border-radius-topright: 4px;
	-moz-border-radius-bottomright: 4px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	position: relative;
}

#user_area h1 {	
	font-weight: normal;
	font-size: 18px;
	margin: 0;	
}

#user_area p {
	margin: 0;
}	

#user_notification_bar {
	float: right;
	position: relative;
	margin-top: 8px;
	margin-right: 5px;
	padding: 5px;
}
#user_notification_bar a{
	margin: 5px;
	width: 160px;
}

.contact_box table {
	margin: 0;
}

.contact_box {
	position: relative;
	display: block;
	margin: 8px;
	padding: 8px;
	background: #EFEFEF;
	border: 1px solid #D1D1D1;
	font-size: 12px;
	border-radius: 4px;
	-moz-border-radius: 4px;
	box-shadow: 3px 3px 3px #D1D1D1;
	-moz-box-shadow: 3px 3px 3px #D1D1D1;

}

.contact_box h1 {
	font-size: 14px;
	margin: 0 2em 0.4em 0;
}
.contact_box h2 {
	font-size: 13px;
	margin: 0 0 0.4em 0;
}

.contact_box .notes {
	
	position: absolute;
	bottom: 0.6em;
	right: 0.6em;
	font-style: italic;
	color: #8C8C8C;
}

.edit_icon {
	position: absolute;
	top: 0.6em;
	right: 0.6em;
	background: url("../images/icons/edit.png") no-repeat;
	display: block;
	width: 12px;
	height: 12px;
	cursor: pointer;
	
}

.save_icon {
	position: absolute;
	top: 0.6em;
	right: 0.6em;
	background: url("../images/icons/save.png") no-repeat;
	display: block;
	width: 12px;
	height: 12px;
	cursor: pointer;
}


.edit_icon_static {
	background: url("../images/icons/edit.png") no-repeat;
	display: inline-block;
	width: 12px;
	height: 12px;
	cursor: pointer;	
}

.delete_icon {
	
	position: absolute;
	bottom: 0.6em;
	right: 0.6em;
	font-style: italic;
	color: #8C8C8C;
	top: 0.6em;
	right: 2em;
	background: url("../images/icons/delete.png") no-repeat;
	display: block;
	width: 12px;
	height: 12px;
	cursor: pointer;
}

.delete_icon_static {
	font-style: italic;
	color: #8C8C8C;
	background: url("../images/icons/delete.png") no-repeat;
	display: inline-block;
	width: 12px;
	height: 12px;
	cursor: pointer;
}

.add_icon_static {
	font-style: italic;
	color: #8C8C8C;
	background: url("../images/icons/add.png") no-repeat;
	display: inline-block;
	width: 12px;
	height: 12px;
	cursor: pointer;
}

.cancel_icon_static {
	font-style: italic;
	color: #8C8C8C;
	background: url("../images/icons/cancel.png") no-repeat;
	display: inline-block;
	width: 12px;
	height: 12px;
	cursor: pointer;
}

.save_icon_static {
	font-style: italic;
	color: #8C8C8C;
	background: url("../images/icons/save.png") no-repeat;
	display: inline-block;
	width: 12px;
	height: 12px;
	cursor: pointer;
}

.copy_icon_static {
	font-style: italic;
	color: #8C8C8C;
	background: url("../images/icons/copy.png") no-repeat;
	display: inline-block;
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.absolute_icon {
	position: absolute;
	top: 0.6em;
	right: 0.6em;
}

.wholesale_icon {
	background: url("../images/icons/wholesale_icon.png") no-repeat;
	display: inline-block;
	width: 16px;
	height: 16px;
}

.independent_icon {
	background: url("../images/icons/independent_icon.png") no-repeat;
	display: inline-block;
	width: 16px;
	height: 16px;
}

.standard_icon {
	background: url("../images/icons/standard_icon.png") no-repeat;
	display: block;
	width: 16px;
	height: 16px;
}

.ajax_loader {
	
	background: url("../images/icons/loading.gif") no-repeat;
	display: inline-block;
	width: 16px;
	height: 16px;
}

span.add_break_arrow {
	background: url("../images/icons/insertarrow.png") no-repeat;
	display: inline-block;
	width: 16px;
	height: 16px;
	position: relative;
	top:16px;
	cursor: pointer;
	float: right;
}
span.delete_break_cross {
	background: url("../images/icons/delete.png") no-repeat;
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-top: 5px;
	cursor: pointer;
}

.add_new_button {
	position: absolute;
	top: 1em;
	right: 1em;
	display: block;
	background: #555555;
	border: none;
	font-size: 12px;
	text-decoration: none;
	color: #FFFFFF;
	padding: 8px 10px;
	cursor: pointer;
	font-weight: bold;
	border-radius: 4px;
	-moz-border-radius: 4px;
	text-shadow: 0 1px 0 #444444;
}

.button {
	
	display: inline-block;
	background: #555555;
	border: 0;
	text-decoration: none;
	color: #FFFFFF;
	padding: 5px;
	cursor: pointer;
	font-weight: bold;
	border-radius: 4px;
	-moz-border-radius: 4px;
	text-shadow: 0 1px 0 #444444;
	text-transform: uppercase;

}

.button_small {
	display: inline-block;
	background: #555555;
	border: 0;
	text-decoration: none;
	color: #FFFFFF;
	padding: 2px 4px;
	font-size: 10px;
	cursor: pointer;
	font-weight: bold;
	border-radius: 4px;
	-moz-border-radius: 4px;
	text-shadow: 0 1px 0 #444444;
	text-transform: uppercase;
}

#view_container {
	position: relative;
}

.notes_container {
	display: block;
	margin: 8px;
	padding: 0.6em;
	background: #EFEFEF;
	border: 1px solid #D1D1D1;
	font-size: 12px;
	border-radius: 4px;
	-moz-border-radius: 4px;
	box-shadow: 3px 3px 3px #D1D1D1;
	-moz-box-shadow: 3px 3px 3px #D1D1D1;
}

.notes_container .notes_list{

	margin-bottom: 1em;
	height: 180px;
	overflow: auto;
	position:relative;
	width: 100%;
}

.notes_container .notes_list .note {
	
	position: relative;
	border-bottom: 1px dashed #D1D1D1;
	padding: 2.2em 0.4em 1em 0.4em;
}

.notes_container .notes_list .note h1 {
	
	font-size: 12px;
	font-weight: bold;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 0.4em;
	left: 0.4em;
	
}

.notes_container .notes_list .note h2 {
	
	font-size: 12px;
	font-weight: normal;
	font-style: italic; 
	margin: 0;
	padding: 0;
	position: absolute;
	top: 0.4em;
	right: 0;
	
}
.notes_container .notes_list .note p {

	margin: 0;
}

.notes_container textarea {

	margin-bottom: 1em;
	border: 1px solid #999999;
	width: 76%;
	padding: 5px 0;
	color: #000;
	border-radius: 4px;
	-moz-border-radius: 4px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	float: left;
}


.notes_container input[type=button] {
	
	display: inline-block;
	background: #555555;
	border: none;
	text-decoration: none;
	color: #FFFFFF;
	padding: 5px;
	cursor: pointer;
	font-weight: bold;
	border-radius: 4px;
	-moz-border-radius: 4px;
	text-shadow: 0 1px 0 #444444;
	text-transform: uppercase;
	float: right;

}

.notes_container .subheader {
	color: #FFFFFF;
	padding: 4px;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 12px;
	text-shadow: 1px 1px 1px #244d72;
	color: #FFFFFF;
	background: #3671AB;
}

ul.list_items {
	
		list-style: none;
		padding: 0;
		margin: 0;

}

ul.list_items li {
	
		margin: 0 0 0.4em 0;
		margin: 0 0 0.4em 0;
		background: #FBEC88;
		color: #363636;
		padding: 1em;
		border-radius: 4px;
		-moz-border-radius: 4px;
		width: 200px;
		
}

ul.basic_list {
	padding: 0;
	margin: 0;
}

ul.basic_list li {
	margin-left: 15px;
}

/* detailes table */
.detailstable td,th {
	padding: 3px;
}
table.detailstable th {
	vertical-align: top;
	text-align: right;
}

.relative {
	position:relative;
}

/*
	Table table styles
*/
.data_table tr {
	position: relative;
}

.data_table tr th{
	color: #FFF;
	background: #143A5E;
	padding: 4px;
}

.data_table tr td {
	padding: 4px;
	font-size: 12px;
	border-bottom: 1px dashed #D1D1D1;
}

.data_table tr.clicker:hover {
	background-color: #D3E7E7;
	cursor: pointer;
}

.dataTable .highlight_row, .dataTable .highlight_row .sorting_1 {
	background-color: #FFFF99;
}

.modal_hover {
	
	position: absolute;
	top: 0;
	left: 0;
	background: #000000;
}


.input {
	color: #000;
	border: 1px solid #999999;
	padding: 5px 0;
	border-radius: 4px;
	-moz-border-radius: 4px;
}

.input_small {
	color: #000;
	border: 1px solid #999999;
	padding: 1px 0;
	border-radius: 4px;
	-moz-border-radius: 4px;
	width: 70px;
}


#search_bar input {
	
	color: #000;
	border: 1px solid #999999;
	padding: 5px 0;
	border-radius: 4px;
	-moz-border-radius: 4px;
	width: 100%;
}

#search_criteria {
	padding: 1em;
}

ul.action_buttons {
	padding: 0;
	margin: 0;
	list-style: none;	
	margin-top: 5px;
}

ul.action_buttons li {
	float: left;
	margin-right: 1em;
	margin-bottom: 6px;
}

ul.action_buttons li a {

	display: inline;
	background: #555555;
	border: none;
	text-decoration: none;
	color: #FFFFFF;
	font-size: 12px;
	padding: 5px;
	cursor: pointer;
	font-weight: bold;
	border-radius: 4px;
	-moz-border-radius: 4px;
	text-shadow: 0 1px 0 #444444;
	text-transform: uppercase;
	text-decoration: none;
}

ul.action_buttons li a.warning_bg {
	text-shadow: 1px 1px 1px #772527;
	color: #FFFFFF;
	background: #B33938;
}

ul.action_buttons li a.info_bg {
	text-shadow: 1px 1px 1px #244d72;
	color: #FFFFFF;
	background: #3671AB;
}

ul.action_buttons li a.portal_bg {
	text-shadow: 1px 1px 1px #075A3D;
	color: #FFFFFF;
	background: #0a885c;
}

ul.action_buttons li a.portal_request_bg {
	text-shadow: 1px 1px 1px #84572A;
	color: #FFFFFF;
	background: #fd7c27;
}

ul.breadcrumbs { 
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.breadcrumbs li {
	float: left;
	margin-right: 8px;
}

ul.breadcrumbs li a {
	color: #004080;
	background: url("../images/breadcrumb_arrow.gif") no-repeat;
	background-position: right center;
	padding-right: 12px;
}

ul.breadcrumbs li a.last {
	background: none;
}

/* IE5, IE6 */
* html .clearfix {
	height: 1%; 
}

/* IE7 */	
*+html .clearfix {

	display: inline-block; 

}

/* FF, IE8, Opera, Safari etc. */
.clearfix:after { 
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}


#menu_builder ul {
	float: left;
	list-style: none;
	padding: 10px;
	width: 118px;
	margin: 5px;
	border: 1px solid #D1D1D1;
	border-radius: 4px;
	background: #D1D1D1;
}

#menu_builder ul li {
	background: #004080;
	border: none;
	text-decoration: none;
	color: #FFFFFF;
	padding: 0 2px 2px 2px;
	font-size: 10px;
	cursor: pointer;
	font-weight: bold;
	border-radius: 4px;
	-moz-border-radius: 4px;
	text-transform: uppercase;
	margin-bottom: 3px;
	width: 100%;
}

#menu_items ul,#menu_items_fb ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#menu_items ul li {
	float: left;
	background: #004080;
	border: none;
	text-decoration: none;
	color: #FFFFFF;
	cursor: pointer;
	padding: 8px 10px;
	font-weight: bold;
	border-radius: 4px;
	-moz-border-radius: 4px;
	text-transform: uppercase;
	margin: 0.5em 0.5em;
}

#menu_items_fb ul li {
	float: left;
	background: #004080;
	border: none;
	text-decoration: none;
	color: #FFFFFF;
	padding: 0 2px 2px 2px;
	font-size: 10px;
	cursor: pointer;
	font-weight: bold;
	border-radius: 4px;
	-moz-border-radius: 4px;
	text-transform: uppercase;
	margin: 5px;
}

#permissions_table img {
	cursor: pointer;
}
#permissions_table td {
	text-align: center;
}

#drop_delete_area {
	width: 50px;
	height: 50px;
	display: block;
	background: url(../images/bin.jpg) no-repeat;
}

#drop_delete_area.active {
	border: 4px solid grey;
	border-radius: 8px;
	-moz-border-radius: 8px;
}

#fancybox-content {

	font-size: 12px;
}

/* STOCK TABLE */
.product_stock_header:hover{
	cursor: pointer;
	background-color: #cbe7eb;
}


/* system message */
.system_message {
	position:fixed;
	top:3px;
	right:5px;
	z-index:1000;
	text-decoration: blink;
	font-size:24px;
	color:red;
}

.caps_lock_warning {
	background-color: #D1D1D1;
	padding: 1em;
	margin: 1em 0;
	border-radius: 4px;
	-moz-border-radius: 4px;
	display: none;
}

.warning_icon {
	background: url("../images/icons/warning.png") no-repeat;
	display: block;
	width: 16px;
	height: 16px;
	margin-right: 0.5em;
	float: left;
}

.search_icon {
	background: url("../images/icons/search.png") no-repeat;
	display: block;
	width: 16px;
	height: 16px;
	margin-right: 0.5em;
	float: left;
}

.search_icon {
	top: 0.6em;
	right: 0.6em;
	background: url("../images/icons/search.png") no-repeat;
	display: block;
	width: 16px;
	height: 16px;
	cursor: pointer;	
}

.toggle_export_buttons {

	float: right;
	margin: 0.5em 0;
}


table.display tfoot th {
	text-align: right;
	padding: 3px 8px 3px 10px; 
}


/* Percentage bar styles */

.meter-wrap, .meter-value, .meter-text {
    width: 100%;
	height: 16px;
}

.meter-wrap {
	min-width: 110px;
	/*
	background: #0f0f0f;
	background: -moz-linear-gradient(top, #0f0f0f 0%, #1F1F1F 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #0f0f0f), color-stop(100%, #1F1F1F));
	background: linear-gradient(top, #0f0f0f 0%, #1F1F1F, 100%));
	padding: 2px;
	*/
	position: relative;
	padding: 0px;
	border: 2px solid #404040;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	background: #404040; 
	background: -moz-linear-gradient(top, #404040 0%, #585858 100%); 
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#404040), color-stop(100%,#585858));
	background: linear-gradient(top, #404040 0%, #585858, 100%));
}

.meter-value {
	/*background: #38B238;
	background: -moz-linear-gradient(top, #38B238 0%, #299a0b 100%); 
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#38B238), color-stop(100%,#299a0b));
	background: linear-gradient(top, #38B238 0%, #299a0b, 100%));*/
	background: #38B238; 
	background: -moz-linear-gradient(top, #38B238 0%, #008000 100%); 
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#38B238), color-stop(100%,#008000));
	background: linear-gradient(top, #38B238 0%, #008000, 100%));
}

.meter-value.medium {
	background: #B27538; 
	background: -moz-linear-gradient(top, #B27538 0%, #804000 100%); 
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#B27538), color-stop(100%, #804000));
	background: linear-gradient(top, #B27538 0%, #804000, 100%));
}

.meter-value.high {
	background: #B23838; 
	background: -moz-linear-gradient(top, #B23838 0%, #800000 100%); 
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#B23838), color-stop(100%, #800000));
	background: linear-gradient(top, #B23838 0%, #800000, 100%));
}

.meter-text {
    position: absolute;
    top: 1px;
	left:0;         
    color: #fff;
    text-align: center;
    width: 100%;
    font-size: 11px;
}

/* End progress bar styles */

.module_icon {
	width: 16px;
	height: 16px;
	display: inline-block;
	margin: 2px;
	vertical-align: middle;
}

.tick {
	width: 16px;
	height: 16px;
	display: inline-block;
	background: url("../images/icons/tick.png") no-repeat;
}

.cross {
	width: 16px;
	height: 16px;
	display: inline-block;
	background: url("../images/icons/cross.png") no-repeat;
}
.info {
	width: 16px;
	height: 16px;
	display: inline-block;
	background: url("../images/icons/information.png") no-repeat;
}

.warning {
	width: 16px;
	height: 16px;
	display: inline-block;
	background: url("../images/icons/warning.png") no-repeat;
}

.portal_icon {
	width: 16px;
	height: 16px;
	display: inline-block;
	background: url("../images/icons/portal.png") no-repeat;
}
.portal_request_icon {
	width: 16px;
	height: 16px;
	display: inline-block;
	background: url("../images/icons/portal_request.png") no-repeat;
}

.refresh {
	width: 16px;
	height: 16px;
	display: inline-block;
	background: url("../images/icons/refresh.png") no-repeat;
	cursor: pointer;
}

/* button icons */

.edit_icon_button  {
	float: left;
	margin-top: 2px;
	margin-right: 2px;
	background: url("../images/icons/edit.png") no-repeat;
	display: block;
	width: 12px;
	height: 12px;
}

.search_icon_button  {
	float: left;
	margin-top: 2px;
	margin-right: 2px;
	background: url("../images/icons/search.png") no-repeat;
	display: block;
	width: 12px;
	height: 12px;
}

.magnifier_icon_button  {
	float: left;
	margin-top: 2px;
	margin-right: 2px;
	background: url("../images/icons/magnifier.png") no-repeat;
	display: block;
	width: 16px;
	height: 12px;
}

.delete_icon_button  {
	float: left;
	margin-top: 2px;
	margin-right: 2px;
	background: url("../images/icons/delete.png") no-repeat;
	display: block;
	width: 12px;
	height: 12px;
}

.clock {
	width: 16px;
	height: 16px;
	display: inline-block;
	background: url("../images/icons/clock.png") no-repeat;
}

.green_dot {
	width: 16px;
	height: 16px;
	display: inline-block;
	background: url("../images/icons/dot_green.png") no-repeat;
}

.red_dot {
	width: 16px;
	height: 16px;
	display: inline-block;
	background: url("../images/icons/dot_red.png") no-repeat;
}
.orange_dot {
	width: 16px;
	height: 16px;
	display: inline-block;
	background: url("../images/icons/dot_orange.png") no-repeat;
}
.icon_question {
	width: 16px;
	height: 16px;
	display: inline-block;
	background: url("../images/icons/question.png") no-repeat;
}

.customer_icon {
	width: 16px;
	height: 16px;
	display: inline-block;
	background: url("../images/icons/customer_icon.png") no-repeat;
}

.lead_icon {
	width: 16px;
	height: 16px;
	display: inline-block;
	background: url("../images/icons/lead_icon.png") no-repeat;
}

/* Search results */
.search_result {
	display: block;
	color: #000000;
	text-decoration: none;
	padding: 2px;
	margin-bottom: 3px;
	border: 1px solid #f0efef;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.search_result:hover {	
	border: 1px solid #bcdad4;
	background-color: #d4e6e2;
}
.search_result h1 {
	color: #2200c1;
	text-decoration: underline;
	font-size: 1.4em;
	font-weight: normal;
	margin: 0px;
	padding: 0px;
}
.search_result h2 {
	color: #004080;
	font-weight: normal;
	margin: 0px;
	padding: 0px;
}
.search_result p {
	margin: 0;
}


/* ======== Notification Box Styling ======== */
div.notificationbox, a.notificationbox {
	display: block;
	border: 1px solid #A1A1A1;
	background: #FFFFFF;
	margin: 8px 0;
	border-radius: 4px;
	-moz-border-radius: 4px;
	box-shadow: 3px 3px 3px #D1D1D1;
	-moz-box-shadow: 3px 3px 3px #D1D1D1;	
	text-decoration: none;
	color: #000;
}
a.notificationbox:hover {
	border: 1px solid #7a7a7a;
	background: #f5f5f5;
	box-shadow: 3px 3px 3px #b4b4b4;
	-moz-box-shadow: 3px 3px 3px #b4b4b4;	
}
div.notificationbox p, a.notificationbox p {
	margin: 4px;
	text-align: justify;
}
div.notification_header {
	position: relative;
	color: #FFFFFF;
	background: #BBBBBB;
	padding: 4px 4px 4px 40px;
	font-weight: bold;
	font-size: 14px;
	text-shadow: 1px 1px 1px #A1A1A1;
	color: #FFFFFF;	
}
div.notification_header span {
	width: 30px;
	height: 30px;
	display: block;
	position: absolute;
	top: -8px;
	left: 8px;
}
div.notification_header div.notification_user {
	display: block;
	float:right;
	font-style: italic;
	font-weight: normal;
}
div.notification_header .notification_new {
	background: url("../images/icons/notification_new.png") no-repeat;
}
div.notification_header .notification_read {
	background: url("../images/icons/notification_read.png") no-repeat;
}
div.notification_header .notification_actioned {
	background: url("../images/icons/notification_actioned.png") no-repeat;
}
div.notification_header .notification_closed {
	background: url("../images/icons/notification_closed.png") no-repeat;
}
div.notification_subheader_warning {
	color: #FFFFFF;
	padding: 3px 3px 3px 24px;
	font-weight: bold;
	font-size: 12px;
	text-shadow: 1px 1px 1px #772527;
	color: #FFFFFF;
	background: url("../images/icons/warning.png") no-repeat #B33938;
	background-position:2px 2px;
}
div.notification_subheader_info {
	color: #FFFFFF;
	padding: 3px 3px 3px 24px;
	font-weight: bold;
	font-size: 12px;
	text-shadow: 1px 1px 1px #244d72;
	color: #FFFFFF;
	background: url("../images/icons/information.png") no-repeat #3671AB;
	background-position:2px 2px;
}

div.notification_subheader_portal, div.notification_subheader_figarobackup {
	color: #FFFFFF;
	padding: 3px 3px 3px 24px;
	font-weight: bold;
	font-size: 12px;
	text-shadow: 1px 1px 1px #075A3D;
	color: #FFFFFF;
	background: url("../images/icons/portal.png") no-repeat #0a885c;
	background-position:2px 2px;
}

div.notification_subheader_portal_request{
	color: #FFFFFF;
	padding: 3px 3px 3px 24px;
	font-weight: bold;
	font-size: 12px;
	text-shadow: 1px 1px 1px #84572A;
	color: #FFFFFF;
	background: url("../images/icons/portal_request.png") no-repeat #fd7c27;
	background-position:2px 2px;
}

div.notification_subheader_warning a {
	color: #fff;
}

div.notification_subheader_info a {
	color: #fff;
}

div.notification_subheader_portal a {
	color: #fff;
}

div.notification_subheader_portal_request a {
	color: #fff;
}
div.notification_subheader_warning span.notification_date {
	float: right;
}
div.notification_subheader_info span.notification_date {
	float: right;
}
div.notification_subheader_portal span.notification_date {
	float: right;
}
div.notification_subheader_portal_request span.notification_date {
	float: right;
}

.warning_bg {
	text-shadow: 1px 1px 1px #772527;
	color: #FFFFFF;
	background: #B33938;
}

.info_bg {
	text-shadow: 1px 1px 1px #244d72;
	color: #FFFFFF;
	background: #3671AB;
}

.portal_bg {
	text-shadow: 1px 1px 1px #075A3D;
	color: #FFFFFF;
	background: #0a885c;
}

.portal_request_bg {
	text-shadow: 1px 1px 1px #84572A;
	color: #FFFFFF;
	background: #fd7c27;
}

.magnifier_icon {
	width: 16px;
	height: 16px;
	background: url("../images/icons/magnifier.png") no-repeat;
	display: inline-block;
}

/* sortable lists */
ul.sortable {
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

/* rounded button things */
.rounded {
	display: inline-block;
	border-radius: 4px;
	-moz-border-radius: 4px;
	padding: 2px 5px 5px 5px;
	font-weight: bold;
}
.rounded.light{
	border: 1px solid #d5d5d5;
	background-color: #f5f5f5;
}
.rounded.grey{
	border: 1px solid grey;
	background-color: #ddd;
}
.rounded.green{
	border: 1px solid green;
	background-color: #bbe5bb;
}
.rounded.red{
	border: 1px solid red;
	background-color: #e7d0c9;
}

#filter_notifications input {
	position: relative;
	top: 2px;
	cursor: pointer;
}
#filter_notifications label {
	cursor: pointer;
}

.pagination {
	margin: 10px 0;
	display: block;
}

.pagination a {
	/*
	padding: 4px;
	border: 1px solid #CCCCCC;
	
*/
	display: inline-block;
	background: #555555;
	border: 0;
	text-decoration: none;
	color: #FFFFFF;
	padding: 5px;
	cursor: pointer;
	font-weight: bold;
	border-radius: 4px;
	-moz-border-radius: 4px;
	text-shadow: 0 1px 0 #444444;
	text-transform: uppercase;
	margin-right: 4px;
	}

.pagination .current {
	display: inline-block;
	background: #CCC;
	border: 0;
	text-decoration: none;
	color: #000;
	padding: 5px;
	border-radius: 4px;
	-moz-border-radius: 4px;
	text-transform: uppercase;
	margin-right: 4px;
}

.pagination .dots {
	padding: 2px;
	margin-right: 4px;
}

pre.example {
	border: 1px solid #CCCCCC;
	color: #333344;
	background: #FAFAFA;
	font-family: monospace;
	overflow: auto;
	font-size: 11px;
	padding: 0.5em;
}

.greyhover:hover {
	cursor: pointer;
	background: #CCC;
}

/*=========================
Wholesale styling
=========================*/
#billing_method_buttons {

	display: none;
	margin: 10px 0;
}

#wholesale_usage_graph {
	width: 400px;
	height: 260px;
	float: left;
	padding: 10px;
	margin-right: 20px;
}

#wholesale_stats {
	width: 400px;
	padding: 10px;
	float: left;
}

#wholesale_stats.edit {
	background: #FBEC88;
}

.ajax_overlay {
	width: 100%; 
	background: url("../images/icons/ajax-loader.gif") no-repeat;
	background-position: center center;
	z-index: 99999;
	display: block;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	-moz-opacity: 0.5;
	-khtml-opacity: 0.5;
	opacity: 0.5;
	height: 100px;
	
}

.tag_blue {
	background-color: #3671AB;
	text-shadow: 1px 1px 1px #244D72;
	color: #FFFFFF;
	padding: 2px;
	font-size: 9px;
	text-transform: uppercase;
}

.tag_red {
	background-color: #B33938;
	text-shadow: 1px 1px 1px #772527;
	color: #FFFFFF;
	padding: 2px;
	font-size: 9px;
	text-transform: uppercase;
}

/* Big Tabs */

.tab_content {
	background-color: #EFEFEF;
}

ul.bigtabs {
	padding: 0;
	margin: 0;
	float: left;
	list-style: none;
	height: 100px; /*--Set height of tabs--*/
	border-bottom: none;
	width: 100%;
	margin-bottom: 16px;
}

ul.bigtabs li {
	float: left;
	margin: 0;
	padding: 0;
	height: 99px; /*--Subtract 1px from the height of the unordered list--*/
	line-height: 99px; /*--Vertically aligns the text within the tab--*/
	border: none;
	border-bottom: none;
	margin-bottom: -1px; /*--Pull the list item down 1px--*/
	margin-right: 0;
	overflow: hidden;
	position: relative;
	background: #D1D1D1;
	border-top: 1px solid #D1D1D1;
	width: 50%;
}

ul.bigtabs li a {
	text-decoration: none;
	color: #0A0A0A;
	display: block;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: bold;
	padding: 0 30px;
	border: none; /*--Gives the bevel look with a 1px white border inside the list item--*/
	outline: none;
	
}

html ul.bigtabs li.active {  /*--Makes sure that the active tab does not listen to the hover properties--*/
	background: #EFEFEF;
	border-bottom: none; /*--Makes the active tab look like it's connected with its content--*/
}

html ul.bigtabs li.active a {  

}

html ul.bigtabs li.active a:hover  {
	border-right: none;
}

ul.bigtabs li a.lead {
	background: url("../images/icons/lead_icon.png") no-repeat;
	background-position: left center;
	margin-left: 20px;
}

ul.bigtabs li a.customer {
	background: url("../images/icons/customer_icon.png") no-repeat;
	background-position: left center;
	margin-left: 20px;
}

.pesave {
	background: url("../images/icons/save.png") #444444 no-repeat;
	background-position: 4px center;
	padding: 4px;
	width: 10px;
	height: 10px;
	display: block;
	padding-left: 16px;
	text-align: right;
	font-size: 10px;
	border-radius: 4px;
	text-shadow: 0 1px 0 #0a0a0a;
	color: #FFFFFF;
	cursor: pointer;
	width: 26px;
}

/* Reminder container */
.reminder_container {
	min-height: 50px;
	background: url("../images/icons/clock_icon_40.png") no-repeat;
	background-position: center right;
	padding-right: 46px;
}

.reminder_container .overdue {
	text-shadow: 1px 1px 1px #772527;
	color: #FFFFFF;
	background: #B33938;
	margin: 2px 0;
	padding: 2px;
	display: inline-block;
}


/* TABS */
ul.feature_tabs {
	padding: 0;
	float: left;
	list-style: none;
	width: 100%;
	margin: 16px 0 0 0;
	border-radius: 4px;
}

ul.feature_tabs li {
	float: left;
	margin: 0 8px;
	padding: 4px;
	
	/* line-height: 31px; --Vertically aligns the text within the tab--*/
	border: 1px solid #D1D1D1;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	margin-bottom: -1px; /*--Pull the list item down 1px--*/
	overflow: hidden;
	position: relative;
	background: #DDDDDD;
}

ul.feature_tabs li a {
	text-decoration: none;
	color: #454545;
	display: block;
	font-size: 12px;
	padding: 0;
	outline: none;
	min-width: 80px;
	text-align: center;
}

html ul.feature_tabs li.active {  /*--Makes sure that the active tab does not listen to the hover properties--*/
	background: #FFFFFF repeat-x;
	border-bottom: 1px solid #FFFFFF; /*--Makes the active tab look like it's connected with its content--*/
	font-weight: bold;
}

.tab_container {	
	border-top: none;
	overflow: hidden;
	clear: both;
	border: 1px solid #D1D1D1;
	margin-bottom: 10px;
}

.tab_content {
	background: #FFFFFF;
	border-top: none;
	padding: 10px;
	font-size: 12px;
	border-bottom: 0;
}

.reminderitem {
	background: url("../images/icons/clock_icon_40_black.png") no-repeat;
	background-position: 0 center;
	padding: 10px 20px 10px 50px;
	position: relative;
}

.reminderitem h2 {
	font-weight: normal;
}

.reminderitem .delete {
	position: absolute;
	right: 10px;
	top: 45%;
	background: url("../images/icons/delete.png") no-repeat;
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.event-normal,.fc-event.event-normal {
	background: #3671AB;
	border: 1px solid #3671AB;
	color: #FFFFFF;
}

.event-overdue, .fc-event.event-overdue {
	background: #B33938;
	border: 1px solid #B33938;
	color: #FFFFFF;
}

.event-completed, .fc-event.event-completed {
	background: #6ABC6B;
	border: 1px solid #6ABC6B;
	color: #FFFFFF;
}

.dataTable .highlight_overdue {
	background: #B33938;
}

#customer_suggest{	
	display: none;
  width: 171px;
  max-height: 300px;
  overflow: hidden;
  position: absolute;
  list-style-type: none;
  left: 62px;
  top: 25px;
  background: #fff;
  border: 1px solid #999999;
  z-index:9999;
  padding-left:0px;
	margin-left:0px;
	border-radius:4px;
	-moz-border-radius: 4px;
}

#customer_suggest li {
	padding:3px 5px;
}

#customer_suggest li:hover {
	background: #999999;
	color:#ffffff;
}

.edit_note_icon{
	
  position: absolute;
  top:0px;
  right: -18px;
  background: url("../images/icons/edit.png") no-repeat;
  display: block;
  width: 12px;
  height: 12px;
  cursor: pointer;
}

/* Finance unpaid status button style*/
.change_status {
	position: absolute;
    left: 150px;
    top: 25px;
	cursor: pointer;
	z-index: 1;
}