html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

html
{
	box-sizing: border-box;
}

html, body
{
	height: 100%;
}

*, *:before, *:after
{
	box-sizing: inherit;
}

input[type="button"],
input[type="submit"],
a.button
{
	padding: 5px 30px;
	background: #1b50ca;
	color: #ffffff;
	border: 0;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	-ms-border-radius: 5px;
	border-radius: 5px;
	-webkit-appearance: none;
	font-weight: bold;
	cursor: pointer;
}

input[type="text"],
input[type="password"],
textarea
{
	display: block;
	padding: 3px 10px;
	background: #ffffff;
	border: 1px solid #c0c0c0;
}

input[type="text"].mid-long
{
	min-width: 300px;
}

input[type="text"].long
{
	min-width: 450px;
}

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

textarea
{
	width: 500px;
	height: 80px;
	padding: 10px;
	font-family: Helvetica;
	font-size: 12px;
}

table tr th,
table tr td
{
	vertical-align: middle;
	text-align: left;
}

table tr th
{
	font-weight: bold;
	padding: 0 0 5px 0;
}

.error
{
	color: #d74b04;
}

p
{
	margin: 0 0 20px 0;
	line-height: 16px;
}

div.button-container
{
	margin: 20px 0 20px 0;
	text-align: right;
}

/*
* body
*/
body
{
	background: #fff;
	color: #020202;
	font-family: Helvetica;
	font-size: 12px;
	text-align: center;
}

a
{
	color: #020202;
	text-decoration: none;
}

a:hover
{
	text-decoration: underline;
}

strong
{
	font-weight: bold;
}

em
{
	font-style: italic;
}

ul,
ol
{
	margin-left: 12px;
}

.hide
{
	display: none;
}

/*
* layout
*/
body
{
	display: grid;
	grid-template-columns: 200px auto;
	gap: 30px;
}

body#login
{
	display: block;
}

main
{
	max-width: 1000px;
	margin-right: 30px;
	padding: 30px 0 30px 0;
	text-align: left;
}

footer.versions
{
	grid-column: 2;
	padding: 0 0 20px 0;
	color: #999;
	font-size: 11px;
}

main h2
{
	margin: 0 0 25px 0;
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
}

/*
* nav
*/
nav
{
	width: 100%;
	height: 100%;
	padding: 20px 0 0 0;
	background: #e4e4e4;
}

nav img.logo
{
	margin: 10px 0 20px 0;
  max-width: 70%;
}

nav ul
{
	list-style: none;
	text-align: left;
	margin-left: 0;
	border-top: 1px solid #c0c0c0;
}

nav ul li
{
	width: 100%;
}

nav ul li a
{
	position: relative;
	display: inline-block;
	width: 100%;
	padding: 12px 0 8px 40px;
	border-bottom: 1px solid #c0c0c0;
}

nav ul li a.active
{
	font-weight: bold;
}

nav ul li ul
{
    border: none;
}

nav ul li ul li a
{
    padding-left: 60px;
}

nav a span
{
	position: absolute;
	top: 8px;
	display: inline-block;
	background: #FFFA00;
	color: #000;
	border-radius: 50%;
	width: 17px;
	height: 17px;
	margin-left: 7px;
	padding-top: 4px;
	text-align: center;
}

/*
* login
*/
body#login
{
	background: #ecdad4;
}

body#login img.logo
{
	display: block;
	width: 150px;
	margin: 0 auto;
  padding: 40px 0;
}

body#login main
{	
	background: white;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 400px;
	min-height: 300px;
	margin: 0;
	padding: 0;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	-o-border-radius: 20px;
	-ms-border-radius: 20px;
	border-radius: 20px;
	-webkit-box-shadow: 2px 3px 40px 14px rgba(0,0,0,0.21);
	-moz-box-shadow: 2px 3px 40px 14px rgba(0,0,0,0.21);
	box-shadow: 2px 3px 40px 14px rgba(0,0,0,0.21);
}

body#login form
{
	padding: 10px 25px 30px 25px;
}

body#login label
{
	color: #5E5E5E;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: bold;
}

body#login p
{
	color: #5E5E5E;
}

body#login div
{
	margin-bottom: 5px;
}

body#login div.error
{
	margin-bottom: 20px;
	font-weight: bold;
}

body#login div.paragraph
{
	margin-top: 20px;
}

body#login input[type="text"],
body#login input[type="password"]
{
	width: 100%;
	font-size: 18px;
	padding: 5px 10px;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	-o-border-radius: 7px;
	-ms-border-radius: 7px;
	border-radius: 7px;
}

body#login input[type="button"],
body#login input[type="submit"]
{
	width: 100%;
	font-size: 18px;
	padding-top: 10px;
	padding-bottom: 10px;
	letter-spacing: 1px;
}

/*
* table
*/
table.table
{
	min-width: 500px;
}

table.table.table-100
{
	width: 100%;
}

table.table.table-100 input
{
	display: inline-block;
}

table.table tr th,
table.table tr td
{
	padding: 12px 30px 6px 0;
	border-bottom: 1px solid #c0c0c0;
	text-align: left;
	vertical-align: middle;
}

table.table tr th:first-child,
table.table tr td:first-child
{
	padding-left: 10px;
}

table.table tr th:last-child,
table.table tr td:last-child
{
	padding-right: 10px;
}

table.table tr th.right,
table.table tr td.right,
table.table tr th.right input,
table.table tr td.right input
{
	text-align: right;
}

table.table tr th.icons,
table.table tr td.icons
{
	text-align: right;
}

div.navigation a
{
	display: inline-block;
	height: 30px;
	padding: 0 20px 0 35px;
	margin: 0 5px 20px 0;
	background: #eeeeee no-repeat 10px 7px;
	font-weight: bold;
	line-height: 34px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	-ms-border-radius: 5px;
	border-radius: 5px;
}

div.navigation a:hover
{
	text-decoration: none;
}

div.navigation a.button-add
{
	background-image: url(../images/add.png);
}

div.navigation a.button-edit
{
	background-image: url(../images/edit.png);
}

div.navigation a.button-delete
{
	background-image: url(../images/delete-button.png);
}

div.navigation a.button-sequence
{
	background-image: url(../images/sequence.png)
}

/*
* div.error
*/

div.error-margin
{
	margin: 0 0 20px 0;
}

/*
* filter
*/
div.filter
{
	margin-bottom: 20px;
	padding: 20px;
	border: 1px dashed #999;
}

div.filter div
{
	margin: 0 0 5px 0;
}

div.filter input
{
	display: inline-block;
}

/*
* products
*/
.show-products
{
	display: block;
	font-size: 20px;
	font-weight: bold;
	color: blue;
	margin: 20px 0 10px 0;
}

/*
* home stats
*/
body#home div.stats
{
	margin: 30px 0 0 0;
}

body#home div.stats table th,
body#home div.stats table td
{
	padding: 5px 20px 5px 0;
}

/*
* stats
*/
div.stats
{
	padding: 0 0 20px 0;
}

/*
* orders
*/
div.orders
{
	margin: 0 0 50px 0;
}

div.orders div.row
{
	padding: 12px 0 6px 0;
	border-bottom: 1px solid #c0c0c0;
}

div.orders div.row.shipped,
div.orders div.row.shipped a
{
	color: #0db76d;
}

div.orders div.row.header
{
	font-weight: bold;
}

div.orders div.row div
{
	display: inline-block;
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 10px;
}

div.orders div.row div.order
{
	width: 80px;
	padding-left: 10px;
}

div.orders div.row div.date
{
	width: 160px;
}

div.orders div.row div.payment
{
	width: 160px;
}

div.orders div.row div.name
{
	width: 200px;
}

div.orders div.row div.email-address
{
	width: 200px;
}

div.orders div.row div.icons
{
	text-align: right;
	padding-right: 10px;
}

div.orders div.row div.icons a
{
	padding-right: 5px;
}

/*
* order
*/
table.order
{
	margin: 0 0 30px 0;
}

table.order tr th,
table.order tr td
{
	padding: 10px 20px 10px 0;
	vertical-align: middle;
	text-align: left;
}

table.order tr th
{
	width: 120px;
	text-align: right;
}

table.order.order-detail tr th,
table.order.order-detail tr td,
table.order.order-products tr th,
table.order.order-products tr td
{
	padding: 5px 0 5px 0;
}

table.order.order-detail tr th,
table.order.order-products tr th
{
	width: auto;
	text-align: left;
}

table.order.order-detail tr th.paragraph
{
	padding-top: 20px;
}

table.order.order-products tr th,
table.order.order-products tr td
{
	padding-right: 20px;
}

/*
* form table
*/
table.form tr th.error
{
	padding: 0 0 20px 0;
}

table.form tr th.heading,
table.form tr td.heading
{
	padding-top: 20px;
}

table.form label
{
	display: inline-block;
	padding: 0 0 5px 0;
}

table.form input[type="text"]
{
	padding: 5px 10px;
}

table.form select
{
	padding: 3px 25px 3px 0;
}

input.input-width-75
{
	width: 75px;
}

table.form input#productStock
{
	margin-top: 5px;
}

table.form tr td.checkbox
{
	padding-top: 5px;
}

table.form tr.hidden th,
table.form tr.hidden td
{
	display: none;
}

/*
* change image table
*/
table.change-image tr th,
table.change-image tr td
{
	padding: 0 0 5px 0;
}

table.change-image tr th.heading,
table.change-image tr td.heading
{
	padding-top: 20px;
}

table.change-image img
{
	width: 200px;
}

/*
* success message
*/
div.success
{
	margin: 0 0 20px 0;
	font-weight: bold;
	color: #128c39
}

/*
* images
*/
div.images
{
	overflow: hidden;
}

div.images div.image
{
	float: left;
	width: 220px;
	height: 240px;
	margin: 0 20px 20px 0;
	border: 1px dashed #c0c0c0;
}

div.images div.image img
{
	display: inline-block;
	width: 180px;
	height: 180px;
	margin: 20px 20px 0 20px;
}

div.images div.image a
{
	display: inline-block;
	padding: 10px 0 0 20px;
}

/*
* delete table
*/
table.delete tr th
{
	padding: 0 0 10px 0;
}

table.delete tr th.heading,
table.delete tr td.heading
{
	padding-top: 20px;
}

table.delete tr td.info
{
	line-height: 18px;
}

table.delete input.button-keep
{
	margin-right: 10px;
	background: #e5e5e5;
	color: #000;
}

table.delete input.button-delete
{
	background: #f00606;
}

/*
* headers
*/
table.headers img
{
	max-width: 300px;
	max-height: 100px;
}

/*
* printables
*/
table.printables img,
td.printable-image img
{
	max-width: 100px;
	max-height: 100px;
}

table.printables td.icons a
{
	padding-left: 5px;
}

h2.archived
{
	margin-top: 40px;
}

/*
* favorites
*/
div.favorites a
{
	display: inline-block;
	min-width: 190px;
	min-height: 207px;
	margin: 0 20px 20px 0px;
	border: 1px dashed #c0c0c0;
	padding: 20px;
	vertical-align: top;
}

div.favorites a img
{
	max-width: 150px;
	max-height: 150px;
}

div.favorites a span
{
	display: block;
}

/*
* discount code
*/
#discountPercentage
{
	display: inline-block;
	width: 50px;
	text-align: center;
}

#discountPrice
{
	display: inline-block;
	width: 75px;
}

#discountValidUntil
{
	width: 88px;
}

#discountProductLimitValue
{
	display: inline-block;
	width: 60px;
	text-align: center;
}

/*
* blog
*/
div.posts div.item
{
	padding: 20px;
	margin: 0 0 20px 0;
	border: 1px dashed #c0c0c0;
}

#addPhoto
{
	text-decoration: underline;
}

#photos div
{
	margin: 0 0 15px 0;
}

/*
* blogs
*/
div.blogs a.blog
{
	display: inline-block;
	width: 200px;
	height: 200px;
	margin: 0 20px 50px 0;
	text-align: center;
	cursor: pointer;
}

div.blogs div.img
{
	position: relative;
	display: block;
	margin-bottom: 10px;
	height: 200px;
	line-height: 200px;
	cursor: pointer
}

div.blogs div.img img
{
	max-width: 100%;
	max-height: 100%;
}

div.blogs div.img span
{
	position: absolute;
	left: 55px;
	top: 20px;
	color: #333;
	cursor: pointer
}

div.blogs span.title
{
	font-weight: bold;
}

div.blogs a.blog.noimage div.img
{
	border: 1px dashed #c0c0c0;
}

/*
* blog info page
*/
div.blog-info
{
	margin: 0 0 40px 0;
}

div.blog-info div.table-container
{
	max-width: 300px;
	border: 1px dashed #c0c0c0;
	padding: 20px;
}

div.blog-info table th
{
	padding: 10px 20px 10px 0;
}

div.blog-info table td
{
	padding: 10px 0 10px 0;
}

div.blog-info a
{
	display: inline-block;
	width: 200px;
	height: 200px;
	text-align: center;
	cursor: pointer;
	border: 1px dashed #c0c0c0;
	margin: 20px 0 0 0;
}

div.blog-info a div.img
{
	position: relative;
	display: block;
	margin-bottom: 10px;
	height: 200px;
	line-height: 200px;
	cursor: pointer
}

div.blog-info a div.img img
{
	max-width: 100%;
	max-height: 100%;
}

div.blog-info div.img span.no-image
{
	position: absolute;
	left: 55px;
	top: 20px;
	color: #333;
	cursor: pointer
}

div.blog-info div.img span.edit-image
{
	position: absolute;
	top: 85px;
	right: 10px;
	color: #3548d5;
	font-weight: bold;
	cursor: pointer;
}

/*
* blog-photo-add
*/
div#photos
{
	margin-bottom: 20px;
}

div#photos div
{
	display: inline-block;
	width: 200px;
	height: 200px;
	text-align: center;
	border: 1px dashed #c0c0c0;
	margin: 20px 20px 0 0;
	text-align: center;
	padding: 50px 0 0 0;
}

div#photos select
{
	max-width: 100%;
	margin-top: 20px;
	margin-bottom: 20px;
}

div#photos a.button
{
	padding-top: 6px;
	padding-bottom: 4px;
	text-decoration: none;
	background: #408e17;
}

div#photos div.template
{
	display: none;
}

/*
* jQuery sortable
*/
#sortable
{
	display: grid;
	grid-template-columns: 25% 25% 25% 25%;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#sortable li
{
	margin: 0 10px 10px 0;
	padding: 5px;
	font-size: 12px;
	width: 150px;
	height: 170px;
	text-align: center;
}

#sortable img
{
	max-width: 100%;
	max-height: 150px;
	padding-bottom: 5px;
}

#sortable span
{
	display: inline-block;
	width: 100%;
	white-space: nowrap;
	overflow: hidden !important;
	text-overflow: ellipsis;
}

#sortable .sortable-placeholder
{
	background: #ecdad4;
	width: 150px;
	height: 150px;
	line-height: 1.2em;
}