* { margin: 0; padding: 0; }
html { height: 100%; background: #fff; }
body { color: #000; background: #fff; font: 12px/18px "Helvetica Neue", Helvetica, Arial, sans-serif; }
ul { margin: 10px 20px; }
p { margin: 10px 0; }
input, select { font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif; }
.loginhead { font-size: 28px; line-height: 40px; }
.linksbar, .updatebar {
	color: #5a5a5a;
	padding: 3px 10px;
}
.linksbar { min-height: 22px; margin-top: -28px; border-bottom: 1px solid #a8bc59; }
.linksbar a, .updatebar a {
	color: #a8bc59;
}
.updatebar {
	background-color: #900;
	margin: -10px -10px 10px;
	width: 100%;
	padding: 5px 15px 5px 5px;
}
.updatebar a {
	color: #fff;
}
#msgwrap {
	position: fixed;
	top: 150px;
	left: 50%;
	text-align: center;
	z-index: 99;
}
#msgbar {
	position: relative;
	color: #fff;
	border-width: 1px;
	border-style: solid;
	padding: 15px;
	font-size: 28px;
	line-height: 40px;
	width: 300px;
	left: -166px;
	display: none;
	cursor: default;
	border-radius: 2px;
}
a {
	font-weight: bold;
	text-decoration: underline;
	color: #000;
}
a:hover {
	text-decoration: none;
}
#msgbar a {
	color: #fff;
}
#topbar {
	display: none;
	position: fixed;
	z-index: 99;
	background-color: #4ad;
	color: #fff;
	top: 0;
	left: 0;
	width: 100%;
	font-size: 14px;
	border-bottom: 1px solid #079;
	text-align: center;
}
#topbar a {
	color: #fff;
	font-size: 18pt;
}
#topcont {
	padding: 10px;
}
form {
	margin: 0;
	padding: 0;
}
.loginform table, .loginform td {
	background-color: transparent;
}
.loginform {
	position: fixed;
	width: 100%;
	height: 100%;
	margin-top: -10px; left: 0; 
	background: #fff;
	text-align: center;
	z-index: 98;
}
.loginform table {
	position: relative;
	top: 120px;
	color: #222;
	border: 1px solid #a8bc59;
	background: #f6f6f6;
	padding: 15px;
	width: 350px;
	margin: 0 auto;
	text-align: left;
	border-radius: 2px;
}
.loginform p { opacity: 0.6; text-align: right; }
.loginform label { font-weight: bold; margin: 5px 0 3px; display: block; }
.loginform td {
	line-height: 15px;
}
.loginform input.txt {
	width: 100px;
}
.loginhead {
	margin-top: -10px;
}
#fl_loading { width: 16px; height: 16px; margin: 0!important; }

.loginform button, .loginform input[type=submit], input#subbut { padding: 5px 15px; margin: 10px 5px 5px 0; background: #a8bc59; border: 1px solid #869a37; color: #000; height: 38px; box-sizing: border-box; cursor: pointer; font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif; width: 100%!important; 	transition: 0.25s background, border; border-radius: 2px; -webkit-appearance: none; }
.loginform button:hover, .loginform input[type=submit]:hover, input#subbut:hover {
	background-color: #b9cd6a;
	border-color: #97ab48;
}
.loginform button:active, .loginform input[type=submit]:active, input#subbut:active { position: relative; top: 2px; }


img {
	border: 0;
}

.header {
	padding: 10px;
	background: #f6f6f6;
}
.header img { padding: 0!important; max-height: 50px; }
.wrapper {
	margin: 10px 10px 0 10px;
}

.cms_imgleft {
	float: left;
	margin: 0 5px 5px 0;
}
.cms_imgright {
	float: right;
	margin: 0 0 5px 5px;
}

.adminheader { margin-bottom: 10px; }
.adminheader img { width: 32px; margin: 0 10px 20px 0; position: relative; top: 7px; }
.adminheader h1 {
	font-weight: normal !important;
	margin: 0;
	padding: 10px 0 5px 0;
	font-size: 24px;
}
h2 {
	font-weight: normal !important;
	margin: 0;
	padding: 10px 5px 10px 0;
	font-size: 18px;
}
.adminbody>h2 { padding: 10px; }
.adminbody>h3 { padding: 0 10px; }
h1 a {
	font-weight: normal !important;
	color: #222;
	text-decoration: none;
}
h1 a:hover {
	text-decoration: underline;
}

.adminbody, .sectionbody {
	clear: both;
}
#frontboxes { padding: 0 10px; }
.sectionbox {
	display: block;
	background-color: #f6f6f6;
	border: 1px solid #eee;
	width: 210px;
	height: 210px;
	padding: 15px;
	text-decoration: none;
	color: #000;
	margin: 0 5px 5px 0;
	float: left;
	cursor: pointer;
	transition: 0.25s background, border;
	border-radius: 2px;
	box-sizing: border-box;
}
.sectionbox:hover {
	background-color: #a8bc59;
	border-color: #869a37;
}
.sectionbox:active { position: relative; top: 2px; }
.largebox { margin-left: 10px; cursor: default; }
.sectionbox.largebox .tablebutton img { width: auto!important; float: none; margin: 0 3px 0 0; }
.largebox input { height: 31px; }
.largebox form table td { padding: 0 3px 0 0; }
.largebox:active { top: 0; }
.sectionbox h2 {
	font-weight: normal !important;
	padding: 0;
	margin: 0;
}
.sectionbox img { width: 32px; float: right; margin: 0 0 5px 5px; }
.adminbody>.sectionbox { margin: 0 0 5px 5px; }
p {
	margin: 10px 0;
}
.adminheader p, .sectionbox p { margin: 5px 0; }
.adminbody { margin: 0 -10px; }
.adminbody table {
	width: 100%;
	color: #000;
    border-collapse: collapse;
}
.adminbody>form>table>tbody>tr:nth-of-type(2n+1), .adminbody>table>tbody>tr:nth-of-type(2n+1), .adminbody .tab table>tbody>tr:nth-of-type(2n+1) { background: #f6f6f6; }
.adminbody tr { border-color: transparent; }
.adminbody>form>table>tbody>tr:last-of-type, .adminbody>table>tbody>tr:last-of-type { border-bottom: 1px solid #f6f6f6; }
.adminbody>table td>img { height: 17px; }
.adminbody>table td>img.thumbimg { height: 32px; }

.adminbody td {
	padding: 5px 10px;
}
.headerrow td {
	font-weight: bold;
	background: #eee;
}
a.tablebutton {
	text-decoration: none;
	font-weight: normal;
	border: 1px solid;
	padding: 2px 5px 5px;
	margin: 2px;
	display: block;
	float: left;
	background-color: #a8bc59;
	border-color: #869a37;
	border-radius: 2px;
	transition: 0.25s background, border;
}
.tablebutton img {
	position: relative;
	top: 3px;
	margin-right: 3px;
	height: 17px;
}
a.tablebutton:hover {
	background-color: #b9cd6a;
	border-color: #97ab48;
}
a.tablebutton:active { position: relative; top: 2px; }
.adminbody input, .adminbody textarea, .loginform input {
	border-radius: 2px;
	padding: 10px;
	background-color: #f0eee8;
	width: 100%!important;
	max-width: 800px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 12px;
	line-height: 18px;
	box-sizing: border-box;
	border: 1px solid #dedbd2;
}
.loginform input.checkbox { width: 15px!important; }
.adminbody textarea {
	height: 500px;
}
.adminbody input.button {
	border: 0;
	padding: 10px;
	background-color: transparent;
	border: 0;
	width: 15px!important;
}
form {
	display: inline;
	margin: 0;
	padding: 0;
}
.floating {
	position: fixed;
	border: 2px solid;
	border-color: #869a37;
	background-color: #fff;
	color: #000;
}
#htmlcontrols {
	width: 200px;
	height: 170px;
	top: 75%;
	left: 75%;
}
#htmlcontrols select {
	width: 150px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
}
.floatinghd {
	background-color: #a8bc59;
	color: #fff;
	font-weight: bold;
	padding: 3px;
	cursor: move;
}
.floatingbody {
	padding: 3px;
}
.avatar {
	background-color: #eee;
	border: 3px solid #bbb;
	float: left;
}
.imagepreview {
	overflow: hidden;
	border: 2px solid #666;
	float: left;
	margin-right: 5px;
}
.imgcontrols {
	position: absolute;
	display: none;
}
#addform {
	display: none;
}

table.oneline tr { background: #f6f6f6!important; border-top: 1px solid #f6f6f6; }
table.oneline input, table.oneline select { width: auto!important; }
.tags input { margin-bottom: 2px; }

.adminbody .cropme select { width: 150px; }
.adminbody .cropme td { padding: 5px 10px; }
#accessrights select { width: auto; height: auto; min-height: 36px; }
.flmsg_alert {
	background-color: #4ad;
	border-color: #079;
}
.flmsg_error {
	background-color: #900;
	border-color: #600;
}
.flmsg_success {
	background-color: #096;
	border-color: #066;
}
.flmsg_generic {
	background-color: #666;
	border-color: #999;
}
.imgtable, .imgtable td {
	background: transparent;
	border-width: 0;
}
.adminbody select { width: auto; padding: 5px; height: 36px; background: #f0eee8; border: 1px solid #dedbd2; }
.adminbody .autosize select { width: auto!important; }
#showimg { position: absolute; background: #fff; display: none; z-index: 120; color: #000; max-width: 152px; overflow: hidden; }

#drop, #drop1, #drop2 { background: #f6f6f6; border: 2px dashed #999; padding-bottom: 10px; text-align: center; padding: 150px 0; font-size: 24px; line-height: 28px; cursor: default; width: 98%; margin: 0 auto; }
#drop1, #drop2 { padding: 75px 0; }
#drop.fileover, #drop1.fileover, #drop2.fileover { background: #222!important; color: #fff; }
#drop.filesdropped, #drop1.filesdropped, #drop2.filesdropped { background: #a8bc59; }
#dump div { overflow: hidden; height: 30px; line-height: 30px; font-style: italic; color: #999; }
.shopuploader #drop { padding: 75px 0; }
.rightuploader { position: absolute; margin-left: 630px; width: 160px; }
.rightuploader #drop { width: 150px; padding: 25px 0; font-size: 18px; line-height: 24px; }
.rightuploader #dump { background: #fff; width: 600px; margin: -125px 0 0 -450px; position: absolute; text-align: right; padding: 0 5px; }
#compleximglist .rightuploader #dump { position: static; text-align: left; width: 490px; margin: 0; padding: 0; }
#compleximglist .rightuploader { clear: left; position: static; margin: 0; padding: 5px 10px; width: auto; }
#compleximglist .rightuploader #drop { width: 100%; box-sizing: border-box; margin: 0 auto 10px; }
#compleximglist .topright img { height: 16px; }
.selectedrow { background: #333; color: #fff; }
.clear { clear: both; }
.nobreak { float: left; margin: 0 3px 3px 0; }

#sellink1, #sellink2, #sellink3 { padding: 5px 10px!important; }
#sellink1 { border-color: #a8bc59!important; background: #eee!important; color: #000!important; opacity: 1; }
#sellink1.notselected, #sellink2, #sellink3 { border-color: #ddd!important; background: #eee!important; color: #666!important; border-bottom-color: #a8bc59!important; opacity: 0.5; }
#sellink2.timeselected, #sellink3.timeselected { border-color: #a8bc59!important; background: #eee!important; color: #000!important; opacity: 1; }
#seltime1, #seltime2, #seltime3 { padding: 7px 10px!important; background: #eee!important; border-color: #a8bc59!important; }
#seltime2.timeselected, #seltime3.timeselected { display: block!important; }
#seltime1.notselected { display: none; }
#seltime1 p, .timeselected p { padding: 3px 0!important; background: transparent!important; }

@media screen and (max-width: 800px) { /* portrait tablets */
	html, body { -webkit-text-size-adjust: none; }
    .tablebutton { height: 22px; }
    .nomobile { display: none; }
    ul.producttabs { margin: 10px 0 0; }
    ul.producttabs a { padding: 8px 5px; font-size: 15px; margin: 0 3px 0 2px; }
    .updatebar { margin: -10px 0 10px; width: auto; }
}

@media screen and (max-width: 568px) { /* mobiles */
	html, body { background-image: none; -webkit-text-size-adjust: none; }
    .header { height: 45px; background-size: auto 45px; }
    .header a img { max-width: 107px; width: 107px; padding: 2px 0 0 2px!important; }
    #fl_loading { position: fixed; top: 10px; right: 10px; width: 16px; height: 16px; padding: 2px; background: #000; border: 1px solid #333; margin: 0!important; }
    .linksbar select { display: block; float: right; width: 100%; }
    .linksbar td b, .adminheader img, .adminheader p, .sectionbox, .sectionbox img, .sectionbody, .tablebutton img, .firstsplitter { display: none; }
    .adminheader h1, .loginhead { font-size: 18px; line-height: 24px; padding: 5px 0; }
    .sectionbox p { margin-bottom: 0; }
    .loginhead { padding: 0; }
	.adminbody>.sectionbox { margin: 0 5px 5px; }
    .sectionbox.largebox { width: auto!important; margin: 0 5px 5px!important; height: 250px!important; }
    #scribblepad { width: 100%!important; height: 140px!important; }
    .sectionbox, .subsectionbox { display: block; width: auto; height: auto; float: none; }
    .largebox .sectionbody { display: block; }
    .updatebar { text-align: center; }
    .adminbody { overflow: auto; -webkit-overflow-scrolling: touch; }
    .adminbody table { border: 0; }
    .adminbody td { font-size: 11px; line-height: 15px; text-align: left!important; }
    .tablebutton { font-size: 11px; line-height: 22px; white-space: nowrap; }
    input, textarea { width: 100%!important; -moz-box-sizing: border-box; box-sizing: border-box; }
    .mooeditable-container select { width: 70px!important; }
    input.button, input.checkbox { width: auto!important; margin-left: 2px!important; }
    .adminbody form table td, #topcont td { display: block; width: auto!important; border: 0; }
    #topcont table { margin: 0 auto; }
    .adminbody form table.orderdetails td, .adminbody form table#curimages td, .adminbody form table#multibuys td, .adminbody form table table td { display: table-cell; width: inherit!important; border: inherit; }
    .adminbody form table tr { border-bottom: 1px solid #ccc; }
    .producttabs a { border-bottom-width: 2px!important; margin-bottom: 3px!important; }
    #msgwrap { top: 60px; left: 0; right: 0; }
    #msgbar { width: 100%; box-sizing: border-box; -moz-box-sizing: border-box; font-size: 18px; line-height: 24px; padding: 10px; left: 0; }
    .loginform table { top: 20px; left: 0; }
	#compleximglist { left: 0!important; width: 100%!important; border-left: 0!important; border-right: 0!important; }
	#compleximglist .rightuploader { width: auto; padding: 5px 0; -moz-box-sizing: border-box; box-sizing: border-box; }
	#compleximglist .rightuploader #drop { margin: 5px 0; -moz-box-sizing: border-box; box-sizing: border-box; width: 100%; }
	.lbhide { display: none; }
}

#bacspaywrap { position: fixed; content: ''; top: 0; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.75); z-index: 10; display: none; } 
#bacspay { background: #ccc; border: 1px solid #000; position: absolute; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); z-index: 15; padding: 10px; }
#bacspay label { color: #000; display: block; margin-top: 5px; }
#bacspay a { margin-top: 5px; }

.expatt { width: 80px; height: 80px; border: 1px solid #999; display: inline-block; vertical-align: top; margin: 5px; }
.expatt img { max-width: 100%; }
.expatt:hover { border-color: #a8bc59; }

ul.resultslist { list-style: none; width: 100%!important; max-width: 800px; box-sizing: border-box; background: #f0eee8; border: 1px solid #dedbd2; border-top: 0; margin: -3px 0 0; position: relative; color: #666; max-height: 100px; overflow: auto; -webkit-overflow-scrolling: touch; border-radius: 0 0 2px 2px; }
ul.resultslist:empty { display: none; }
ul.resultslist li { padding: 10px; display: block; cursor: pointer; transform: 0.25s all; }
ul.resultslist li:hover { background: #f6f6f6; color: #333; }
.resultsinput { outline: none; }