@import "/scripts/shop.css"; /* Import general CSS */

/* Creative template */
@font-face {
	font-family: 'Exo';
	src: local('Exo'),
		url('/scripts/font/Exo.woff2') format('woff2'),
		url('/scripts/font/Exo.woff') format('woff');
}

/* Variables */
html {
	--color1: #f8f8f8;	/* Website background */
	--color2: #eee;		/* Menu background */
	--color3: #666;		/* Text color */
	--color4: #f80;		/* Hover color */
}

/* Containers */
body			{ margin: 0; padding: 0; font-family: Exo,Helvetica,Arial,sans-serif; }
#cont1			{ background: var(--color1); }
#header2,
#header3		{ margin-bottom: 6px; }
#cont2,
#header2,
#cat			{ max-width: 1180px; margin: 0 auto;}
main			{ width: 100%; padding: 20px; }
#asidecontent		{ width: 200px; float: right; padding: 20px; }

/* Main navigation */
nav			{ max-width: 1180px; margin: 0 auto; max-height: auto; transition: max-height 1s; }
nav ul, nav li		{ list-style: none; margin: 0; padding: 0; }
nav > ul		{ max-width: 1200px; margin: 0; display: inline-block; }
nav li			{ display: inline-block; }
nav a {
	display: block; line-height: 40px; text-decoration: none;
	font-weight: bold; outline: none; color: var(--color3); transition: 0.3s color;
}
nav > ul > li > a	{ line-height: 50px; padding: 0 28px 0 0; }

/* Category navigation */
#cat ul, #cat ul li	{ list-style: none; margin: 0; padding: 0; }
#cat ul			{ display: flex; flex-flow: wrap; }
#cat > ul > li		{ border-radius: 5px 5px 0 0; background: var(--color2); margin: 6px 30px 0 0; }
#cat a {
	display: inline-block; line-height: 40px; padding: 0 20px; text-decoration: none;
	font-weight: bold; outline: none; color: var(--color3); transition: 0.3s color;
}

/* Sub navigation */
nav > ul ul,
#cat > ul ul {
	position: absolute; display: block; margin-left: -4px; min-width: 150px; z-index: 1;
	max-height: 0; opacity: 0; overflow-y: auto; z-index: 2; background: var(--color2); border-radius: 0 0 6px 6px;
	transition: max-height 0.3s linear 0s, opacity 0.2s linear 0s; overflow: hidden;
}
nav > ul ul > li,
#cat > ul ul > li	{ display: block !important; }
nav > ul ul a		{ padding: 0 14px; }
nav > ul li:hover > ul,
#cat > ul li:hover > ul	{ opacity: 1; max-height: 100%; }

/* Navigation hover */
nav a:hover,
#lang a:hover		{ color: var(--color4); }
nav a:hover svg,
nav a:hover svg path,
#search:hover svg,
#search:hover svg path,
#cart:hover svg,
#cart:hover svg path,
#lang a:hover svg,	
#lang a:hover svg path	{ fill: var(--color4); }

/* Mobile navigation */
#mnav			{ display: none; } /* Hide mobile menu hamburger on wide screens */
#mnav a			{ outline: none; }

/* Account navigation */
#accountnav		{ text-align: right; }
#accountnav a		{ padding-right: 10px; text-decoration: none; }

/* Header */
#header2		{ display: flex; margin-bottom: 20px; }
#header3		{ flex-grow: 2; display: flex; justify-content: flex-end; align-items: flex-end; margin-right: 6px; }
main 			{ min-height: 60vh; }

/* Objects */
svg, svg path		{ fill: var(--color3); transition: 0.3s fill; }
main a			{ color: #06c; }
#cart, #lang		{ margin-left: 12px; }
#cart a			{ text-decoration: none; }
#cart span {
	display: inline-block; margin: -3px 0 0 4px; vertical-align: top; padding: 5px 3px 2px 3px;
	color: #fff; background: var(--color4);
	font-size: 0.8em; font-weight: bold; border-radius: 3px;
}

#lang {
	float: right; margin: 0 0 8px 8px; color: var(--color3);;
	text-decoration: none; font-weight: bold;
}
#lang a			{ color: var(--color3); text-decoration: none; transition: 0.3s color }


.webshop_breadcrumb	{ color: #444; }
.webshop_breadcrumb a	{ color: #444; text-decoration: none; }
.webshop_breadcrumb a:hover	{ color: var(--color4); }


/* Forms */
.webshop_stylebutton, input[type=submit], input[type=button] {
	display: inline-block;  margin: 0 0 10px 0; padding: 10px 8px;
	white-space: nowrap; text-decoration: none; -webkit-appearance: none; border: 0;
	text-align: center; font-family: inherit; font-size: inherit; cursor: pointer;
	color: #fff; background: #f80; border-radius: 0; outline: none;
	transition: 0.3s background;
}

.webshop_stylebutton:hover, input[type=submit]:hover, input[type=button]:hover {
	background: #f90;
}

input[type=submit]:disabled, input[type=button]:disabled {
	background: #ccc; cursor: default;
}

/* Footer */
footer a		{ color: var(--color3); }
footer a:hover		{ color: var(--color4); }
#footer1		{ color: var(--color3); background: var(--color1); padding: 20px; }
#footer2		{ max-width: 1180px; margin: 0 auto; }

/* Footer navigation */
footer #cat,
#footnav		{ margin-bottom: 40px; }
footer #cat ul,
#footnav ul		{ list-style: none; margin: 0; padding: 0; }
footer #cat li,
#footnav li		{ display: inline-block; width: 190px; vertical-align: top; }
footer #cat ul ul,
#footnav ul ul		{ margin: 0 0 10px 3px; font-size: 0.9em; }
footer #cat a,
#footnav a		{ line-height: 30px; text-decoration: none; }
#footnav svg		{ display: none; }

/* Footer address */
footer address		{ width: 390px; display: inline-block; font-style: normal; }
address p		{ margin-top: 0; }
address a		{ text-decoration: none; }
address svg		{ width: 14px; height: 14px; margin-right: 6px; fill: var(--color3); }
address svg path	{ fill: var(--color3); }
#footercontent		{ display: inline-block; vertical-align: top; }

/* Footer terms */
#terms			{ clear: both; padding: 10px; font-size: 0.9em; color: var(--color3); text-align: right; }
#terms span		{ margin-right: 16px; }
#terms a		{ color: #666; margin-right: 16px; }

/* Responsive */
@media all and (max-width: 600px) {
	nav			{ position: absolute; z-index: 2; left: 0; max-height: 0; width: 100%; overflow: hidden; background: #fff; }
	nav ul, nav ul li	{ display: block; }
	nav > ul ul		{ position: static; opacity: 1; margin-left: 30px; }
	nav > ul > li > a	{ padding: 0 14px; }
	nav > ul li:hover > ul	{ max-height: 0; }
	#mnav			{ display: inline-block; }
	#cat > ul > li		{ margin: 6px; border-radius: 5px; }
	#cont2			{ display: flex; flex-flow: row wrap-reverse; }
	#asidecontent		{ align-self: flex-end; width: auto; float: none; }
	#mnav,
	main,
	#asidecontent		{ padding: 8px; }
	footer address		{ float: none; width: auto; }
}