*
{
	margin: 0;
	padding: 0;
}

body
{
	min-width: 979px;
	margin-top: 0px;
	margin-left: 0px;
	margin-bottom: 0px;
	margin-right: 0px;
	padding-bottom: 15px;
	background: #222222 url(../images/body-black-bg.png) repeat-x left bottom;
	border-bottom: 7px solid #185989;
	color: #ffffff;
	font: 82%/95% "Trebuchet MS", sans-serif;
}

/* H1/H3 */
h1
{
	font-size: 150%;
	line-height: 155%;
	font-weight: bold;
}
h3
{
	font-size: 135%;
	line-height: 140%;
	font-weight: bold;
}

/* A */
a:link, a:visited
{
	color: #ffffff;
	text-decoration: none;
}
a:hover { text-decoration: underline; }

/* Fieldset */
fieldset { border: none; }
fieldset legend { display: none; }

/* Images */
img { border: 0; }

/* IFrame */
iframe { border: none; }

/* HR */
hr
{
	color: #a5a5a5;
	background-color: #a5a5a5;
	margin: 12px auto;
	height: 2px;
	border: 2px dotted #e6e6e6;
}

/* Blocks */
div.block div.content ul { list-style: none; }
div.block div.content
{
	padding: 0;
	margin: 0;
}

/* Frame */
#frame
{
	clear: both;
	padding: 0 0 0 0;
	margin: 0;
	border-top: 1px solid transparent;
	background-color: #ffffff;
}

/* Top Navigation */
#topnav
{
	position: relative;
	height: 131px;
	margin: 0 1.25em 0 1.25em;
	background-color: #ffffff;
}
#topnav #logo
{
	width: 450px;
	height: 100%;
	position: relative;
	background: url(../../images/logo.jpg) no-repeat left top;
}
#topnav #logo h1
{
	display: block;
	height: 100%;
	width: 100%;
}
#topnav #logo h1 a
{
	display: block;
	width: 100%;
	height: 100%;
	outline: none;
	text-indent: -5000px;
	text-decoration: none;
}
#topnav h1#logo_text
{
	color: #185989;
	position: absolute;
	left: 400px;
	top: 36px;
	font-weight: bold;
	font-size: 28px;
	font-family: "Arial";
	text-align: center;
	width: 500px;
	overflow: hidden;
}

/* Top Menu */
div#topnav-menucontainer
{
	margin: 0 auto;
	height: 33px;
	background-color: #ffffff;
	margin-bottom: 0.8em;
	border: 1px solid #1a1a1a;
	border-width: 1px 0 0 0;
}
div#topnav-menu
{
	margin: 0 auto;
	width: 100%;
	height: 27px;
	font-size: 93%;
	background: #185989;
	white-space: nowrap;
}
div#topnav-menu div.content
{
	height: 22px;
	padding: 3px 4px 2px;
}
div#topnav-menu * { line-height: 100%; }
div#topnav-menu ul
{
	float: left;
	margin: 0;
	padding: 1px 1px;
	list-style: none;
	font-weight: normal;
}
div#topnav-menu ul#jump-to
{
	float: right;
	padding: 0;
	margin-top: -2px;
	margin-right: 10px;
}
div#topnav-menu ul#user-utils { float: right; }
div#topnav-menu ul li span { color: #fcfcfc; }
div#topnav-menu ul li
{
	display: inline;
	width: 181px;
	font-weight: bold;
	padding: 0 10px;
}
div#topnav-menu ul#jump-to li { padding: 0; }
div#topnav-menu ul li.begin { padding-left: 0; }
div#topnav-menu ul li a
{
	color: #fcfcfc;
	text-decoration: none;
	width: 100%;
}
div#topnav-menu ul li:before
{
	content: "| ";
	color: #1a1a1a;
}
div#topnav-menu ul li:first-child:before { content: " "; }
div#topnav-menu ul li { position: relative; }
div#topnav-menu ul ul
{
	width: 10em;
	position: absolute;
	z-index: 101;
	font-weight: normal;
	top: 101%;
	left: 11px;
}
div#topnav-menu ul ul li
{
	display: block;
	padding: 2px 3px;
	border: 1px solid #1a1a1a;
	background: #f9ac35;
	margin: 0 0 1px 1px;
}
div#topnav-menu ul ul ul
{
	top: -2px;
	left: 100%;
}
div#topnav-menu ul ul ul#submenu_extra_grids { top: -5px; }
div#topnav-menu ul ul li:before, div#topnav-menu ul ul li:first-child:before { content: ""; }
div#topnav-menu ul ul, div#topnav-menu ul li:hover ul ul { display: none; }
div#topnav-menu ul li:hover ul, div#topnav-menu ul ul li:hover ul { display: block; }
div#topnav-menu ul ul li:hover { background: #13456a !important; }

div#topnav-menu ul li span.tot_orders { color: #f9ac35; }

select.jump_navigation option.green { background-color: #4dce40; color: #000; }
select.jump_navigation option.red { background-color: #ce4040; color: #000; }
select.jump_navigation option.yellow { background-color: #f9ac35; color: #000; }

/* Wrapper */
#wrapper
{
	padding: 0 8px;
	min-height: 311px;
	border: 1px solid #1a1a1a;
	border-width: 0 0 1px 0;
	background-color: #ffffff;
	color: #222222;
}
#wrapper:after, #contents:after, .nfdiv:after
{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* SideBar */
div#sidebar
{
	float: left;
	width: 10.55em;
	margin-right: 15px;
	margin-bottom: 1.5em;
	white-space: nowrap;
	background-color: #ffffff;
}
div#sidebar div.content:after
{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
div#sidebar div.content, div#sidebar div.block
{
	margin: 0 auto;
	padding: 0;
	text-align: center;
}

/* Side-Menu */
div#side-menu
{
	margin: 0 auto;
	margin-bottom: 0.8em;
	width: 98%;
	font-size: 93%;
	background: #e6e6e6 url(../images/menu-lgray-bg.png) repeat-x left bottom;
	white-space: nowrap;
}
div#side-menu div.content
{
	padding: .5em .8em;
	background: url(../images/menu-lgray-right.png) no-repeat right bottom;
}
div#side-menu * { line-height: 100%; }
div#side-menu ul
{
	list-style: none;
	padding: .3em 0;
	width: 100%;
}
div#side-menu ul#user-utils
{
	padding: 0 0 .3em 0;
	margin-top: .25em;
}
div#side-menu ul li
{
	border-top: 1px solid #000000;
	padding-top: 2px;
	margin: 0 auto;
	width: 95%;
	height: 17px;
	text-align: center;
}
div#side-menu ul li.begin
{
	font-weight: bold;
	padding-left: 0;
	border-top: 0px;
}
div#side-menu ul li a
{
	color: #fcfcfc;
	text-decoration: none;
	padding: 0 .3em;
	width: 100%;
}
div#side-menu ul li { position: relative; }
div#side-menu ul ul
{
	position: absolute;
	z-index: 100;
	font-weight: normal;
	top: 0;
	left: 95%;
	width: 10em;
}
div#side-menu ul ul li
{
	display: block;
	padding: 2px 3px;
	border: 1px solid #fcfcfc;
	background: #e6e6e6 url(../images/menu-lgray-bg.png) repeat-x left bottom;
	margin-bottom: .15em;
	width: 10em;
}
div#side-menu ul ul ul
{
	top: 0;
	left: 100%;
}
div#side-menu ul ul li:before, div#side-menu ul ul li:first-child:before { content: ""; }
div#side-menu ul ul, div#side-menu ul li:hover ul ul, div#side-menu ul ul li:hover ul ul { display: none; }
div#side-menu ul li:hover ul, div#side-menu ul ul li:hover ul, div#side-menu ul ul ul li:hover ul { display: block; }

/* Contents */
#contents
{
	width: auto;
	z-index: 1;
	position: relative;
	margin-bottom: 2.5em;
}
#contents a:link, #contents a:visited { color: #000000; }
#contents #indexhead, #contents #data
{
	margin: 0 5px;
	position: relative;
}

/* Messages */
div#message
{
	padding: 0;
	margin: 0 0 1em 0;
	border-bottom: 1px solid #333333;
	background: #185989 url(../images/block-title-dgray-bg.png) repeat-x top left;
}
div#message div.content
{
	padding: 0;
	margin: 0;
	background: url(../images/block-title-dgray-left.png) no-repeat left top;
}
div#message div.content p, div#message div.content h1, div#message div.content h3
{
	margin: 0;
	padding: .3em .7em;
	color: #fcfcfc;
}
div#message div.content a
{
	color: #ffffff;
	text-decoration: none;
}
div#message div.content a:hover { text-decoration: underline; }

/* Bottom Nav */
div#btmnav
{
	margin: .4em auto;
	color: #656565;
}
div#btmnav a { color: #656565; }
div#btmnav a:hover
{
	color: #656565;
	text-decoration: none;
}
div#btmnav .btmcontainer { text-align: center; }
div#exectime
{
	text-align: center;
	font-size: 80%;
	font-weight: bold;
	color: #656565;
}

/* Forms */
form { padding: 0 .7em 1em .7em; }
form fieldset {  }
form label {  }
form label { display: block; }

.inp_missing
{
	font-weight: bold;
	font-size: 100%;
}
.inp_missing:before, .inp_required:before { content: "* "; }
label { margin: 2px 5px 0 0; }

/* Button */
.button
{
	color: #fcfcfc;
	font-size: 10pt;
	text-align: center;
	text-decoration: none;
	font-family: san-serif;
	font-weight: bold;
	background: #185989;
	border-top: 1px solid #13456a;
	border-left: 1px solid 13456a;
	border-bottom: 1px solid #13456a;
	border-right: 1px solid #13456a;
}

/* Info Box */
div.infobox
{
	color: #000000;
	background-color: #e6e6e6;
	margin-bottom: 25px;
	padding: 2px;
	border: 1px solid #cccccc;
	width: 95%;
	text-align: center;
}

/* Success Msg */
div.success_msg
{
	color: #408c56;
	background-color: #e6e6e6;
	font-weight: bold;
	margin-bottom: 25px;
	padding: 2px;
	border: 1px solid #cccccc;
	width: 85%;
	text-align: center;
}
div.success_msg a, div.success_msg a:link, div.success_msg a:visited { color: #408c56; }
a#success_msg, a#success_msg:link, a#success_msg:visited { color: #408c56; }

/* Error Msg */
div.error_msg
{
	color: #ce4040;
	background-color: #e6e6e6;
	font-weight: bold;
	margin-bottom: 25px;
	padding: 2px;
	border: 1px solid #cccccc;
	width: 85%;
	text-align: center;
}
div.error_msg a, div.error_msg a:link, div.error_msg a:visited { color: #ce4040; }
a#error_msg, a#error_msg:link, a#error_msg:visited { color: #ce4040; }

/* System Alerts */
div.error_msg div.head_text, div.error_msg div.bottom_text { color: #000000; }
div.error_msg a.delete_all,
div.error_msg a:link.delete_all,
div.error_msg a:visited.delete_all { color: #000000; }

ul#syst_alerts { list-style: none; margin: 8px auto 4px; }
ul#syst_alerts li { padding: 3px 2px; margin: 0 auto; text-align: center; position: relative;}
ul#syst_alerts li.green,
ul#syst_alerts li.green a,
ul#syst_alerts li.green a:link,
ul#syst_alerts li.green a:visited { color: #4dce40; }
ul#syst_alerts li.red,
ul#syst_alerts li.red a,
ul#syst_alerts li.red a:link,
ul#syst_alerts li.reda:visited { color: #ce4040; }
ul#syst_alerts li:after
{
	content: ".";
	display: block;
	height: 8px;
	clear: both;
	visibility: hidden;
}

ul#syst_alerts li span.syst_close { position: absolute; margin: -5px 0 0; padding: 0 0 0 5px; font-size: 60%; }
ul#syst_alerts li span.syst_close a,
ul#syst_alerts li span.syst_close a:link,
ul#syst_alerts li span.syst_close a:visited { color: #000000; }
ul#syst_alerts li a:hover { text-decoration: none; }

/* Forms */
div#formtoplegent
{
	margin: 0 0 0 20%;
	font-size: 150%;
	font-weight: bold;
	color: #185989;
}
div.form, div.hform
{
	margin: 10px auto 0;
	padding-bottom: 3px;
	border: 1px solid #e6e6e6;
	width: 96%;
	text-align: center;
}
div.form fieldset, div.hform fieldset { text-align: left; }
div.form fieldset
{
	margin-left: 25px;
	margin-right: 25px;

}
div.hform fieldset
{
	margin-left: 10px;
	margin-right: 10px;
}
div.form fieldset legend, div.hform fieldset legend
{
	display: block;
	padding: 5px;
	top: 0px;
	left: 0px;
	margin-bottom: 12px;
	font-weight: bold;
	background-color: #185989;
	border-left: 1px solid #13456a;
	border-right: 1px solid #13456a;
	border-bottom: 1px solid #13456a;
	color: #fcfcfc !important;
}
div.form fieldset div, div.hform fieldset div
{
	margin-bottom: 3px;
	clear: both;
}
div.hform fieldset div.rpadded label
{
	float: left;
	text-align: right;
	width: 35%;
	min-width: 155px;
	margin: 5px;
}
div.hform fieldset div.rpadded input.button { margin: 2px; }
div.hform fieldset label
{
	float: left;
	text-align: left;
	width: 35%;
	min-width: 155px;
	margin-right: 5px;
}
div.hform fieldset label.right
{
	text-align: right;
	margin: 4px 12px 0 0;
}
div.hform fieldset div.sw label
{
	margin: 0 5px 0 0;
	min-width: 50px;
	width: auto;
}
div.hform fieldset div.nw label { width: 155px; }
div.hform fieldset div.nf label { text-align: right; }
div.hform fieldset div.nw.nf label { min-width: 105px; width: 105px; }
div.form fieldset div.nf label:after, div.hform fieldset div.nf label:after { content: ""; }
div.form fieldset label:after, div.hform fieldset label:after, div.hform fieldset div.sw.nf label:after, div.hform fieldset div.nw.nf label:after { content: ": "; }
div.form fieldset div .radio, div.form fieldset div .checkbox,
div.hform fieldset div .radio, div.hform fieldset div .checkbox,
div.form fieldset div .field_info, div.hform fieldset div .field_info
{
	float: left;
	clear: right;
}
div.form label.inl { display: inline-block; }
div.form fieldset div input.chkbox { position: relative; top: 5px; }
div.form fieldset div .field_info, div.hform fieldset div .field_info { font-size: 65%; }
div.hform fieldset div .field_info { margin-left: 35%; }
div.form div.buttons { text-align: center; }
div.hform div.buttons
{
	clear: both;
	text-align: left;
	margin-left: 35%;
}
div.form div.label, div.hform div.label
{
	clear: left;
	float: left;
	text-align: left;
	font-weight: bold;
	width: 40%;
	padding: 3px;
	padding-left: 0;
}
div.form div.info, div.hform div.info
{
	clear: none;
	float: left;
	text-align: left;
	padding: 2px;
}

div.form fieldset div.insidebox,
div.hform fieldset div.insidebox
{
	float: left;
	clear: none;
	padding: 5px 10px;
}

div.smallform { width: 290px; }
button.actionlink, button.actionlinks
{
	width: 260px;
	height: 40px;
	color: #ffffff;
	background: #185989 !important;
	padding: 6px;
	margin: 6px 0;
	font-weight: bold;
	font-size: 16px;
}
button.actionlinks
{
	width: 90%;
	height: 30px;
	font-size: 12px;
	padding: 0;
	margin: 2px 0;
}
div#scan_results
{
	padding: 10px;
	margin: 0 0 10px;
}
div#scan_results table.sorted th { color: #ffffff; }
div#scan_results div.success_msg, div#scan_results div.error_msg { margin: 0 auto; }
div.center.success_msg, div.center.error_msg { margin: 0 auto; }

div#registerform, div#configureform { width: 90%; }
div#phytocrm_create_orderform
{
	margin: 3px;
	width: 98%;
}
div#phytocrm_create_orderform fieldset label
{
	text-align: right;
	width: 190px;
	min-width: 190px;
}
#shipping-customer-same-billing { display: none; }

/* Lists */
ul.items
{
	display: block;
	padding: .3em 0;
	list-style-position: outside;
	list-style-image: url(../images/list-bullet.gif);
	list-style-type: square;
}
ul.items li
{
	padding: 3px 2px;
	text-align: left;
	margin-left: 75px;
}

/* Comments */
div.comment
{
	background-color: #e6e6e6;
	margin-top: 15px;
	margin-bottom: 5px;
	padding: 8px 0px 5px 5px;
	overflow: hidden;
}
div.comment_text { margin-left: 15px; }

/* Pagination */
div.pagination
{
	background-color: #e6e6e6;
	margin-top: 3px;
	margin-bottom: 3px;
	padding: 2px;
	overflow: hidden;
	text-align: center;
}
div.pagination .first, div.pagination .prev { float: left; }
div.pagination .next, div.pagination .last { float: right; }
div.pagination .first, div.pagination .prev { margin-right: 8px; }
div.pagination .next, div.pagination .last { margin-left: 8px; }
div.pagination .info
{
	float: left;
	margin-left: 55px;
	font-weight: bold;
}
div.pagination ul
{
	margin-left: 20px;
	margin-right: 20px;
}
div.pagination ul li
{
	display: inline;
	list-style: none;
}
div.pagination ul li.current { font-weight: bold; }
div.pagination a, div.pagination ul li a
{
	color: #1a1a1a;
	font-size: 100%;
	text-decoration: none;
	padding: 0 .3em;
}
div.pagination ul li:before
{
	content: "  ";
	color: #1a1a1a;
}

/* Display Options */
div.display_options
{
	margin-top: 1px;
	margin-bottom: 1px;
	text-align: left;
	font-size: 75%;
	clear: both;
}

/* Breadcrumb */
div.breadcrumb
{
	position: absolute;
	top: -20px;
	left: 10px;
	margin: 1px;
	padding: 2px;
	font-size: 75%;
}

/* Select Options */
div.seloptions
{
	margin: 5px 0;
	padding: 2px;
	background-color: #e6e6e6;
}

/* Mod Blocks */
div.mod_header
{
	background-color: #e6e6e6;
	margin: 16px 0px 5px 0px;
	padding: 8px 0px 5px 5px;
	overflow: hidden;
}
div.mod_info { margin: 0px 0px 20px 15px; }
div.mod_info div.label { width: 100px; }
div.mod_info:after
{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
div.mod_header div.image, div.mod_info div.image
{
	clear: none;
	float: right;
}
div.mod_actions
{
	font-size: 80%;
	font-weight: bold;
	margin: 3px 5px 2px 5px;
}

/* Results */
table.results
{
	width: 100%;
	border-spacing: 1px;
	border: 0;
	font-size: 75%;
}
table.results thead th
{
	padding: 1px;
	background-color: #cccccc;
	font-weight: bold;
}
table.results tbody tr.even { background-color: #e6e6e6; }
table.results tbody tr td { padding: 2px; }
table.results a { font-weight: bold; }
td.play
{
	color: #00cc00;
	font-weight: bold;
}
td.stop
{
	color: #cc0000;
	font-weight: bold;
}
table#data_results div.details
{
	padding: 2px 0 0 6px;
	line-height: 150%;
	display: none;
}
table#data_results a.summary
{
	text-decoration: none;
	padding-left: 1.2em;
	background: url(../images/arrow-collapsed.gif) no-repeat 0 50%;
}
table#data_results a.summary:hover { text-decoration: underline; }
table#data_results a.summary.expanded { background-image: url(../images/arrow-expanded.gif); }

/* Pictures */
div.pictures
{
	float: left;
	margin: 5px;
	padding: 2px;
	width: 165px;
	height: 185px;
	overflow: hidden;
}
div.pictures span.title { font-weight: bold; }
div.picture_description { text-align: left; }

/* Misc */
h1.page_header { text-align: center; }
div.spacer { clear: both; }
.left { text-align: left; }
.center { text-align: center; }
.right { text-align: right; }
.fleft { float: left; }
.fright { float: right; }
.bold { font-weight: bold; }
.green { color: #4dce40; }
.red { color: #ce4040; }
.greenbg { background-color: #4dce40; color: #000000; }
.redbg { background-color: #ce4040; color: #ffffff; }
.small { font-size: 80%; }
.upper { text-transform: uppercase; }
span.icons { margin: 0 0 0 10px; }
div.bright, span.bright { text-align: right; font-weight: bold; margin: 0 0 0 10px; }
div.hform div.bright, div.bright { float: right; clear: none; }

/* Report Box */
div.reportbox
{
	width: 100%;
	border: 1px solid #000000;
	background-color: #c5c5c5;
	padding: 2px;
}

/* Grid */
div.modalcontent { color: #000000; }

/* DatePicker */
input.dp-applied
{
	width: 140px;
	float: left;
}
input.dp-applied-small { width: 70px; }
a.dp-choose-date
{
	float: left;
	width: 16px;
	height: 16px;
	padding: 0;
	margin: 5px 3px 0;
	display: block;
	text-indent: -2000px;
	overflow: hidden;
	background: url(../images/datepicker/calendar.png) no-repeat; 
}
a.dp-choose-date.dp-disabled
{
	background-position: 0 -20px;
	cursor: default;
}

/* Sorted Table */
table.sorted
{
	border:	1px solid #222222;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	width: 90%;
}
table.sorted thead tr th, table.sorted tbody tr th, table.sorted tfoot tr th
{
	text-align: center;
	background: #185989;
	padding: 3px;
}
.tablesorter-default .header,
.tablesorter-default .tablesorter-header {
	background-image: url(data:image/gif;base64,R0lGODlhFQAJAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==);
	background-position: center right;
	background-repeat: no-repeat;
	cursor: pointer;
	white-space: normal;
	padding: 4px 20px 4px 4px;
}
.tablesorter-default thead .headerSortUp,
.tablesorter-default thead .tablesorter-headerSortUp,
.tablesorter-default thead .tablesorter-headerAsc {
	background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);
	border-bottom: #000 2px solid;
}
.tablesorter-default thead .headerSortDown,
.tablesorter-default thead .tablesorter-headerSortDown,
.tablesorter-default thead .tablesorter-headerDesc {
	background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);
	border-bottom: #000 2px solid;
}
.tablesorter-default thead .sorter-false {
	background-image: none;
	cursor: default;
	padding: 4px;
}
table.sorted tbody td
{
	text-align: left;
	vertical-align: top;
	padding-left: 2px;
}
table.sorted tbody tr.odd td { background: #e7e7e7; }
table.sorted tbody tr.even td { background: #ffffff; }
table.sorted.padded th, table.sorted.padded td { padding: 5px; }

/* Tool Tip */
.inputTooltip
{
	border: 3px solid #000000;
	background-color: #444444;
	padding: 4px;
	color: #cccccc;
	font-family: sans-serif;
	max-width: 250px;
}
.linkTooltip
{
	border: 1px solid #000000;
	background-color: #444444;
	padding: 2px;
	color: #cccccc;
	font-family: sans-serif;
	font-size: 10px;
	max-width: 150px;
}
.linkTooltip #tooltipTitle { font-weight: bold; }
.linkTooltip #tooltipURL { display: none; }

/* Slider */
a.slider_collapsed, a.slider_expanded { padding-left: 12px; }
a.slider_collapsed { background: url(../images/arrow-collapsed.gif) no-repeat 0 50%; }
a.slider_expanded { background: url(../images/arrow-expanded.gif) no-repeat 0 50%; }

/* Tabs */
.ptab ul { text-align: center; }
.ptab ul li
{
	display: inline;
	list-style: none;
	font-weight: bold;
}
.ptab ul li:before { content: "| "; }
.ptab ul li:first-child:before { content: ""; }

/* PhytoCRM */
div.import_detailed_errors
{
	border: 1px solid #cccccc;
	padding: 4px;
	width: 40%;
	margin: 10px auto;
	text-align: left;
}