@-ms-viewport{ width: device-width; }
@-o-viewport{ width: device-width; }
@-moz-viewport{ width: device-width; }
@-webkit-viewport{ width: device-width; }
@viewport{ width: device-width; }

* {
	box-sizing: border-box;
}

#content .login *,
.edit.item-page * {
	box-sizing: initial;
}

ul.categories-module {
	list-style: none;
	margin-left: 0;
}
ul.categories-module li,
#sidebar .menu.mod-list a {
	margin-left: 0;
	padding: 5px 5px;
}
#sidebar .menu.mod-list a {
	font-weight: bold;
	display: block;
	padding: 13px 5px;
}

#sidebar .menu.mod-list .active,
.categories-module .active{
	background: #eee;
}
nav {
	background: white;
	border-bottom: 1px solid #333;
}
.navbar {
	margin-bottom: 0;
}
.navbar .btn-navbar {
	float: left;
	text-shadow: none;
	background: none;
	border-radius: 0;
	margin: 1px 5px;	
	border-color: black;
	box-shadow: none;
}
.navbar .btn-navbar .icon-bar {
	background-color: #333;
}

.navbar .btn-navbar:hover, .navbar .btn-navbar:focus, .navbar .btn-navbar:active, .navbar .btn-navbar.active, .navbar .btn-navbar.disabled, .navbar .btn-navbar[disabled] {
	background: none;
}
.navbar .nav > li > a {
	color: #333;
}
li > a.admlink {
	background: #75378c;
}
td.return {
	color: #75378c;
	font-weight: bold;
}

.navbar .nav > li > a:focus, .navbar .nav > li > a:hover {
	background: #ccc;
}
.page-header {
	border-bottom: 0;
}

footer {
	border-top: 2px solid #333;
	padding: 10px;
	margin-top: 30px;
}
footer .footercontent {
/*	padding-bottom: 40px; */
}
footer .moduletable.cart {
	text-align: right;
}
footer .moduletable.cart h3,
footer .moduletable.cart #commentmodal{
	text-align: left;
}
#cartcomment {
	width: 90%;
	height: 60vh;
}
footer .moduletable > form {
	text-align: right;
	display: inline-block;
}
dd {
	margin-left: 0;
}
.itemid-101 .item-page, 
.itemid-111 .item-page {
	margin-bottom: 30px;
}
.item-page .cartForm input[type=number] {
	width: 60px;
	margin-bottom: 2px;
	margin-right: 10px;
	height: 25px;
}
form.orderlistForm select {
	width: 100%; /*auto; *//*145px;*/
	height: auto;
	margin-bottom: 0;
}

.item-page .cartForm {
	background: #376b8c;
	color: white;
	padding: 20px;
	width: 210px;
}
table.worder table {
	margin-left: 10%;
	width: 88%;
	border: 1px solid #376b8c;
}
td.otable {
	display: none;
}
.vis.icon-rightarrow:before {
	content: "\e007";
}

.category-desc {
	margin-bottom: 30px;
}
#allimg {
	width: 40%;
	float: left;
	margin: 0 20px 20px 0;
}
.prodimages {
	width: auto;
	overflow-x: scroll;
	white-space: nowrap;
	height: 70px;
}
.prodimages img {
	width: 50px;
	cursor: zoom-in;
}
#prodimg {
	width: 100%;
	margin-bottom: 10px;
	cursor: zoom-in;
}

.edit.item-page .prodimages {
	width: 100%;
	overflow-x: initial;
	overflow-y: scroll;
	white-space: initial;
	height: 210px;
}
.edit.item-page .prodimages .thumbnail {
	position: relative;
	float: left;
}
.edit.item-page .prodimages .thumbnail:hover .close {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
.edit.item-page .prodimages .close {
	position: absolute;
	color: #bd362f;
    top: 0;
    line-height: 28px;
    font-size: 12px;
    opacity: 1;
    right: 0;
}
.edit.item-page .prodimages span.icon-plus,
.edit.item-page .prodimages input {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.edit.item-page .prodimages span.icon-plus:before {
	top: 40%;
	left: 40%;
	position: absolute;
	pointer-events: none;
}
.edit.item-page .prodimages span.icon-plus {
	pointer-events: none;
}
.edit.item-page .prodimages input {
	opacity: 0;
}
.fields-container {
	clear: both;
}

.orderlistForm .btn-mini  {
	display: none;
	padding: 0;
}
.btn-mini .icon-save {
	margin: 0;
}
.red {
	font-weight: bold;
	background-color: #f55;
	padding: 5px;
	border-radius: 3px;
}

#jdform_com_fields_default_image-lbl,
#jdform_com_fields_default_image {
	display: none;
}
.tablesorter-blue th, .tablesorter-blue thead td,
.tablesorter-default {
	font-size: 14px !important;
	line-height: 20px !important;
}

table.tablesorter-blue tbody td {
	text-align: center;
	padding: 6px;
}

table.tablesorter-blue td:first-of-type {
	text-align: left;
}
table.tablesorter-blue td:nth-of-type(2) {
	text-align: right;
}
a {
	text-decoration: underline;
}

.acfimages img {
	margin: 5px;
}

input[type=text] {
	height: inherit;
}

.deeper ul {
	display: none;
	position: absolute;
	font-size: inherit;
	background: white;
	box-shadow: 0px 8px 10px rgba(0,0,0,0.3);
	z-index: 1;
}
.deeper ul a {
	text-decoration: none;
	display: block;
	padding: 10px;
	min-width: 100px;
}
.deeper:hover ul {
	display: block;
}
.deeper ul a:hover {
	background: #eee;
}

.category.table td.small {
	font-size: inherit;
}

@media (max-width: 979px) {
	.nav-collapse .nav > li.active > a {
		color: inherit;
	}
}
@media print {
	table.worder form,
	.otable img,
	div.icons {
		display: none;
	}
}
@media (max-width: 767px) {
	.nav-collapse .nav > li > a, .nav-collapse .dropdown-menu a {
		border-radius: 0;
	}
	#sidebar,
	header,
	#content {
		padding: 0 10px;
	}
	.normalpage {
		display: flex;
		flex-direction: column-reverse;
	}
	nav {
		border-bottom: none;
	}
}