* { 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 {
	background-color: #a8bc59;
	color: #fff;
	padding: 3px 10px;
}
.linksbar a, .updatebar a {
	color: #fff;
}
.updatebar {
	background-color: #900;
	margin: -10px -10px 10px;
	width: 100%;
	padding: 5px 15px 5px 5px;
}
.linksbar a {
	color: #fff;
}
#msgwrap {
	position: fixed;
	top: 150px;
	left: 50%;
	text-align: center;
	z-index: 1399;
}
#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: 32px; height: 32px; 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; 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; }
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; }
.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; }
.adminbody>.sectionbox:first-child { margin: 0 0 5px 10px; }
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, .adminbody>table td>div>img, .adminbody>form>table td>img, .adminbody>form>table td>div>img { height: 17px; }
.adminbody>table td>img.thumbimg, .adminbody>table td>div>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: 700px;
}
.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; height: 31px!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!important; color: #fff!important; }
.clear { clear: both; }
.nobreak { float: left; margin: 0 3px 3px 0; }

#sellink1, #sellink2, #sellink3, #sellink4 { padding: 5px 10px!important; }
#sellink1 { border-color: #a8bc59!important; background: #eee!important; color: #000!important; opacity: 1; }
#sellink1.notselected, #sellink2, #sellink3, #sellink3, #sellink4 { border-color: #ddd!important; background: #eee!important; color: #666!important; border-bottom-color: #a8bc59!important; opacity: 0.5; }
#sellink2.timeselected, #sellink3.timeselected, #sellink4.timeselected { border-color: #a8bc59!important; background: #eee!important; color: #000!important; opacity: 1; }
#seltime1, #seltime2, #seltime3, #seltime4 { padding: 7px 10px!important; background: #eee!important; border-color: #a8bc59!important; }
#seltime2.timeselected, #seltime3.timeselected, #seltime4.timeselected { display: block!important; }
#seltime1.notselected { display: none; }
#seltime1 p, .timeselected p { padding: 3px 0!important; background: transparent!important; }

#curimagebody td>img { width: 100px; height: 100px; }

@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; }
    .lbmedhide { display: none; }
}
@media screen and (max-width: 649px) {
	.lbhide { display: none; }
}
@media screen and (max-width: 568px) { /* mobiles */
	html, body { background-image: none; -webkit-text-size-adjust: none; }
    .header img { height: 30px; }
    #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; }
    .sectionbox.largebox { display: none; }
    .sectionbox, .subsectionbox { display: block; width: auto; height: auto; float: none; }
    .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%; }
}


@media print {

	.linksbar, .orderdetails tr td:nth-of-type(7), #orderform table:nth-of-type(5) td:nth-of-type(2), #orderform .tablebutton { display: none; }
	.orderdetails tr { border-bottom: 1px solid #999; }
	.header img { width: 107px!important; }

}

.copytext { display: none; vertical-align: middle; width: 16px; height: 16px; background: url('../gfx/icons/copy.svg') no-repeat center; background-size: auto 16px; transition: transform 0.25s; }
.copytext:hover { transform: scale3d(1.1,1.1,1); }

#fl_imagepicker { min-height: 80px; max-height: 320px; overflow: auto; -webkit-overflow-scrolling: touch; }
#fl_imagepicker.loading { background: url('../gfx/fl_loading.svg') no-repeat center; background-size: contain; }
#fl_imagepicker .availfolders, #fl_imagepicker #selectimageform .topright, #fl_imagepicker #olduploaderbox, .tox-statusbar__branding, #fl_imagepicker #compleximglist #dump:empty { display: none!important; }
/*.tox .tox-dialog__body-content { max-height: min(550px,calc(100vh - 210px))!important; }*/
#fl_imagepicker #compleximglist, #fl_filepicker #compleximglist { background: #f6f6f6; padding: 10px; box-sizing: border-box; }
#fl_imagepicker #compleximglist h4, #fl_filepicker #compleximglist h4 { margin-bottom: 10px; }
#fl_imagepicker #compleximglist #drop, #fl_filepicker #compleximglist #drop { background: #eee; }
#fl_imagepicker #compleximglist #dump, #fl_filepicker #compleximglist #dump { font-size: 12px; font-style: italic; background: transparent; margin-bottom: 5px; }

#fl_imagepicker #compleximglist ul, #fl_filepicker #compleximglist ul { list-style: none; margin: 0 7px; padding: 0 3px; }
#fl_imagepicker #compleximglist li, #fl_filepicker #compleximglist li { float: left; width: 80px; height: 80px; border: 1px solid #eee; margin: 3px; padding: 0; position: relative; overflow: hidden; box-sizing: border-box; cursor: pointer; }
#fl_imagepicker #compleximglist li.imagecurrent, #fl_filepicker #compleximglist li.imagecurrent { outline: 2px solid #a8bc59; }
#fl_imagepicker #compleximglist li:hover, #fl_filepicker #compleximglist li:hover { border-color: #a8bc59; }
#fl_imagepicker #compleximglist li img, #fl_filepicker #compleximglist li img { position: absolute; max-width: 100%; }
#fl_imagepicker #compleximglist li span img, #fl_filepicker #compleximglist li span img { position: static; }
#fl_imagepicker #compleximglist li span, #fl_filepicker #compleximglist li span { display: none; }
#fl_imagepicker #compleximglist li:hover span, #fl_imagepicker #compleximglist li span.foldername, #fl_filepicker #compleximglist li:hover span, #fl_filepicker #compleximglist li span.imagename, #fl_filepicker #compleximglist li span.foldername { display: block; left: 0; right: 0; padding: 3px; position: absolute; bottom: 0; background: #fff; background: rgba(255, 255, 255, 0.6); font-size: 10px; line-height: 14px; word-wrap: break-word; }
#fl_imagepicker #compleximglist .imagesize { display: block; clear: left; padding: 5px 10px; }
#fl_imagepicker #compleximglist input#imgsize { width: 60px!important; height: 25px; }
#fl_imagepicker #compleximglist .folderback, #fl_imagepicker #compleximglist .folder, #fl_filepicker #compleximglist .folderback, #fl_filepicker #compleximglist .folder { background: #fff url('../gfx/icons/folder.png') no-repeat center; }
#fl_imagepicker #compleximglist li:hover span.imagedelete, #fl_filepicker #compleximglist li:hover span.imagedelete { position: absolute; top: 0; left: auto; right: 0; width: auto; height: 24px; background: rgba(0, 0, 0, 0.6); z-index: 20; box-sizing: border-box; }
#fl_imagepicker #compleximglist li:hover span.imageedit, #fl_filepicker #compleximglist li:hover span.imageedit { position: absolute; top: 0; left: 0; right: auto; width: auto; height: 24px; background: rgba(0, 0, 0, 0.6); z-index: 20; box-sizing: border-box; }

#fl_imagepicker form.imagefolder, #fl_filepicker form.imagefolder { margin: 10px -10px -10px; background: #fff; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; }
#fl_imagepicker form.imagefolder label.tox-label, #fl_filepicker form.imagefolder label.tox-label { display: inline-block; }

#fl_filepicker #compleximglist { min-height: 0; width: auto; max-width: none; max-height: none; position: static; background: #fff; }
#fl_filepicker #folder-close { display: none; }
#fl_filepicker #compleximglist ul { margin: 0 -3px; padding: 0; }
#fl_filepicker #compleximglist .imagefolder { display: block; padding: 10px; }
#fl_filepicker #compleximglist li, #fl_filepicker #compleximglist li>img, #fl_filepicker #compleximglist li.folder, #fl_filepicker #compleximglist li.folderback, #fl_filepicker #compleximglist li.folder img, #fl_filepicker #compleximglist li.folderback img, #fl_filepicker #compleximglist li span.imageedit, #fl_filepicker #compleximglist li span.imagedelete { cursor: pointer; }

#fl_filepicker #compleximglist .topright { float: right; margin: 5px 10px; }
#fl_filepicker #compleximglist .topright img { margin-left: 3px; transition: 0.25s all; cursor: pointer; }
#fl_filepicker #compleximglist .topright img:hover { opacity: 0.5; }
#fl_filepicker #compleximglist h4 { font-size: 18px; line-height: 24px; }
#fl_filepicker #compleximglist h4 span { margin-left: 10px; font-weight: normal; text-decoration: underline; cursor: pointer; }
#fl_filepicker #compleximglist h4 span:hover { text-decoration: none; }

#fl_filepicker #compleximglist li { width: 150px; height: 150px; }
#fl_filepicker #compleximglist li span.imagename, #fl_filepicker #compleximglist li span.foldername { font-size: 12px; line-height: 16px; }

#fl_filepicker input.tox-button { background: #a8bc59; border: 1px solid #869a37; width: auto!important; cursor: pointer; transition: 0.25s all; }
#fl_filepicker input.tox-button:hover { border-color: #97ab48; background: #b9cd6a; }

#compleximglist #imageupload { margin-bottom: 3px!important; }

.emailinteracted { background: #c9eac2; display: block; cursor: pointer; }
.expandbox { background: #e4f5e1; display: none; padding: 5px; margin-bottom: 5px; }
.expandbox ul { margin: 3px 10px 10px; }
.isexpanded .expandbox { display: block; }

#metaframe { background: rgba(255,255,255,0.75); position: fixed; top: 0; left: 0; right: 0; bottom: 0; opacity: 0; transition: opacity 0.5s; pointer-events: none; }
#metaframe.mfshown { opacity: 1; pointer-events: auto; }
#metacontents { width: 700px; max-height: 500px; position: fixed; top: 50%; left: 50%; transform: translate3d(-50%,-50%,0); background: #fff; border: 1px solid #ccc; overflow: auto; -webkit-overflow-scrolling: touch; }
#metacontents .adminbody { margin: 0; }
#metacontents .linklabel { max-width: 100%; }
#metacontents #filelink { max-width: calc(100% - 30px); }

@media all and (max-width: 767px) {
	#fl_filepicker #compleximglist li { width: 120px; height: 120px; }
	#metacontents { width: 500px; }
	#metacontents .linklabel { width: 300px; }
}
@media all and (max-width: 539px) {
	#fl_filepicker #compleximglist li { width: 100px; height: 100px; }
	#fl_filepicker #compleximglist .rightuploader #dump { width: auto; }
	#metacontents { width: 300px; }
	#metacontents .linklabel { width: 200px; }

}
@media all and (max-width: 349px) {
	#fl_filepicker #compleximglist li { width: 90px; height: 90px; }
}

.urlboxshown { display: table-row!important; }
#urlchangewrap { opacity: 0; pointer-events: none; transition: opacity 0.5s; position: fixed; top: 0; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.25); z-index: 20; }
#urlchangewrap.ucwshown { opacity: 1; pointer-events: auto; }
#urlchangewrap form { position: absolute; top: 50%; left: 50%; width: 400px; margin-left: -200px; transform: translateY(-50%); background: #fff; }
#urlchangewrap input { text-transform: lowercase; }

@media (max-width: 459px) {
	#urlchangewrap tr, #urlchangewrap td { display: block; }
	#urlchangewrap td.empty { display: none; }
	#urlchangewrap form { width: 300px; margin-left: -150px; }
}