/* konttinen.no: rules from the 2016 konnti template.css that are in use,
   plus what Joomla 5 / J2Commerce 4 markup needs to look the same. */

* {
	list-style: none;
}
body {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #000;
	background: #fff;
}
td {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 14px;
}
h1 {
	font-size: 100%;
}
a {
	color: #000;
	text-decoration: none;
}
.hide {
	display: none;
}
img {
	max-width: 100%;
	height: auto;
}

/* Layout */
#hannukonttinen {
	position: fixed;
	top: 40%;
	left: 10px;
}
#main-menu {
	position: fixed;
	left: 60px;
	top: 170px;
}
#main-menu li {
	margin-bottom: 38px;
}
#main-menu li a {
	color: #000;
	text-decoration: none;
	font-size: 14px;
}
#content-area {
	margin-left: 300px;
	margin-top: 140px;
	max-width: 899px;
}

/* J2Commerce product lists: three per row, no price/quantity (as 2016) */
.j2store-product-single {
	max-width: 100%;
	height: auto;
	border: none !important;
	margin: 5px;
	padding: 10px;
	width: 29%;
	background: none !important;
	margin-right: 1.5%;
	float: left;
	text-align: center;
}
.j2store-product-footer {
	text-align: center;
	clear: both;
}
/* J2Commerce sets these with !important and a Bootstrap 3 block form-control;
   the 2016 site had a small inline field */
.product-qty input[name="product_qty"] {
	display: inline-block !important;
	width: 54px !important;
	height: 28px !important;
	padding: 2px 5px !important;
}
.blog.store .j2store-quantity,
.blog.store .j2store-product-prices {
	display: none;
}
.j2store-before-display-product.item-image {
	max-height: 105px;
}
.j2store-before-display-product.item-image img {
	cursor: pointer;
}

/* Narrow screens: the fixed side menu would cover the content */
@media (max-width: 700px) {
	#hannukonttinen {
		display: none;
	}
	#main-menu {
		position: static;
		margin: 20px;
	}
	#main-menu li {
		display: inline-block;
		margin: 0 14px 10px 0;
	}
	#content-area {
		margin: 20px;
	}
}
