
/*	JK SHOP 2.ALPHA DEV	*/

:root {
  
	--shop_r: 0;
	--shop_g: 0;
	--shop_b: 128;

	--tmp_r: calc(var(--shop_r) * 0.2126);
	--tmp_g: calc(var(--shop_g) * 0.7152);
	--tmp_b: calc(var(--shop_b) * 0.0722);
	--tmp_sum: calc(var(--tmp_r) + var(--tmp_g) + var(--tmp_b));
 	--tmp_perceived-lightness: calc(var(--tmp_sum) / 255);
	--tmp_threshold: 0.5;

	--contrastcolor: hsla(0, 0%, calc((var(--tmp_perceived-lightness) - var(--tmp_threshold)) * -10000000%),0.6);
	}

/*	// move contrast generation to php, leaving only --shopcolor_primary and --shopcolor_contrast */

*, *:before, *:after {
	box-sizing: border-box;
	}

body {
	font-family: olincondensed, system-ui, sans-serif;
	margin: 0;
	display: grid;
	grid-template-rows: auto 1fr auto;
	font-size: 14px;
	background-color: #f1f1f1;
	align-items: start;
	min-height: 100vh;
	overscroll-behavior: none;
	}

/* TOP HEADER */

.olin_header {
	padding: 30px;
	z-index: 1;
	min-height: 220px;
	text-align: center;
	background: white url('../images/background.png');
	background-repeat: no-repeat;
	background-size: cover;
	position: static;
	}

.olin_header h1 {
	font-size: 50px;
	}

/* TOP NAVIGATION BAR */

.olin_topnav {
	z-index: 99;
	height: 41px;
	overflow: hidden;
	background-color: rgba(var(--shop_r), var(--shop_g), var(--shop_b), 1);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	position: -webkit-sticky; /* Safari */
	position: sticky;
	top: 0;
	box-shadow: rgba(var(--shop_r), var(--shop_g), var(--shop_b), 0.5) 0px 4px 15px;
	}

.olin_topnav img {
	float:left; position:relative; 
	vertical-align:top; 
	height:42px; 
	margin-top:3px; 
	margin-left:20px;
	}

.olin_topnav a {
	float: left;
	display: block;
	color: #f2f2f2;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	transition: 0.6s;
	}

.olin_topnav a:hover {
	background-color: #ddd;
	color: black;
	transition: .3s;
	}

.olin_cart_counter {
	position: absolute;
	color: white;
	font-size:9px;
	height: 16px;
	width: 16px;
	background-color: red;
	border-radius: 50%;
	top: 4px;
	right: 35px;
	display: flex;
	justify-content: center;
	align-items: center;
	}

.olin_filter {
	position: absolute;
	color: white;
	font-size:32px;
	height: 40px;
	width: 40px;
	background-color: var(--contrastcolor);
	border-radius: 50%;
	top: 10px;
	left: 15px;
	display: flex;
	justify-content: center;
	align-items: center;
	}

/* MAIN ARENA GRID IN SEPARATE CSS */

.olin_main {
	position: relative;
	z-index: 1;
 	min-height: calc(100vh - 261px);
	padding-bottom: 20px;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	background: #f0f0f0;
	box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.7);
	font-family: olincondensed, system-ui, sans-serif;
	font-size: 1em;
    	}

.olin_main > h1 {
	font-weight: bold;
	font-size: 2.5em;
	}

.olin_main > p {
	font-weight: lighter;
	font-size: 1.1em;
	}

/* SKIRTING BOARD */

.olin_bottomline {
	position: absolute;
	margin: 0px;
	padding:0px 0px 0px 0px;
	bottom: 0px;
	display: block;
	background-color: rgba(var(--shop_r), var(--shop_g), var(--shop_b), 1);
	color: #eee;
        width: 100%;

	}

.olin_bottomlinetext {
	color: var(--contrastcolor);
	text-align: center;
	font-size: 10px;
	padding-top: 2px;
	padding-bottom: 2px;
	}

/* FOOTER */

footer {
	position: -webkit-sticky;
	position: sticky;
	bottom: 0px;	
	flex-flow: row wrap;
	padding: 1px 30px 5px;
	background-color: #6b6b6d;
/*background: -moz-linear-gradient(48deg, rgba(42,46,54,1) 0%, rgba(97,107,125,1) 100%);
    background: -webkit-gradient(linear, left bottom, right top, color-stop(0%, rgba(42,46,54,1)), color-stop(100%, rgba(97,107,125,1)));
    background: -webkit-linear-gradient(48deg, rgba(42,46,54,1) 0%, rgba(97,107,125,1) 100%);
    background: linear-gradient(42deg, rgba(42,46,54,1) 0%, rgba(97,107,125,1) 100%);*/
	color: #999;
	background-clip: border-box;
	}

.link {
	display: block;
	}

.grid {
	-ms-grid-columns: 1fr 1fr 1fr;
	grid-template-columns: 1fr 1fr 1fr;
	-ms-grid-rows: auto;
	grid-template-rows: auto;
	}

.pointer {
	cursor: pointer;
	}