/**
	The base of css settings for ALL THEMES
	In this file we should put only css class with general availability
	Examples:
		.hidden{ display: none; }
		.display-flex{ display: flex; }
		.float-right{ float: right; }
*/
@charset "utf-8";

/* ----- NORMALIZATION ----- */
body, span, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td, hr, select, option {
	margin: 0;
	padding: 0;
	font-weight: unset;
}

address, caption, cite, code, dfn, em, strong, th, var, b, i {
	font-style: normal;
	font-weight: normal;
}

ol, ul {
	list-style: none;
}

fieldset, img {
	border: 0;
}

caption, th {
	text-align: left;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

input, html {
	font-size: 100%;
	font-family: "Open Sans", "Lucida Sans Unicode", "Lucida Grande", Arial, Helvetica, sans-serif;
}

textarea {
	font-family: "Open Sans", "Lucida Sans Unicode", "Lucida Grande", Arial, Helvetica, sans-serif;
}

input, textarea, select, a {
	outline: none;
}

button {
	padding: 0;
	border: none;
	font: inherit;
	color: inherit;
	background-color: transparent;
	cursor: pointer;
}

/* ----- ALL ----- */
*:before,
*:after {
	font-family: var(--icon-font-family);
	pointer-events: none;
}

html {
	background-color: var(--main-body-background-color);
	letter-spacing: normal;
}

body {
	max-width: 100%;
	min-height: 100vmin;
	background-color: var(--main-body-background-color);
	color: var(--main-body-text-color);
}

input, html, select, textarea {
	font-family: var(--main-font-family);
	font-size: var(--main-font-size);
	/* letter-spacing: .03em; */
}

a {
	color: var(--main-link-color);
	text-decoration: underline;
	text-decoration-style: dashed;
	text-decoration-color: transparent;
	text-decoration-thickness: from-font;
	text-underline-offset: .3em;
}

a:hover, a:focus {
	color: var(--main-link-hover-color);
	text-decoration-color: var(--main-link-color);
}

*:hover {
	-webkit-transition: background-color 0.2s linear;
	-moz-transition: background-color 0.2s linear;
	-o-transition: background-color 0.2s linear;
	transition: background-color 0.2s linear;
}

h1, .h1 {
	font-size: 1.7rem;
	margin-bottom: .5em;
	line-height: 1.7rem;
}

h2, .h2 {
	font-size: 1.4rem;
	margin-bottom: .25em;
}

h3, .h3 {
	font-size: 1.3rem;
	margin-bottom: .25em;
}

h4, .h4 {
	font-size: 1.2rem;
	margin-bottom: .25em;
}

h5, .h5 {
	font-size: 1.1rem;
}

h6, .h6 {
	font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--main-body-text-color);
}

h1:empty, h2:empty, h3:empty {
	display: none;
}

p {
	margin-bottom: .5em;
}

.cursor-pointer {
	cursor: pointer;
}

/* Sets the color of autofill data from the browser i.e password managers etc.*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
	transition: background-color 5000s ease-in-out 0s;
	-webkit-text-fill-color: var(--form-element-text-color) !important;
}

/*#region Headers
 * Always show first H1 with inverted colors
 */
div.pageContent div:not(.text) > h1:first-of-type {
	background-color: var(--main-inverted-header-backgroundcolor);
	color: var(--main-inverted-header-color);
	margin-left: -.6em;
	margin-right: -.6em;
	padding: .6em 0 .6em .6em;
	margin-top: -.6em;
}

/*#endregion*/

/*#region Buttons */
.button {
	display: flex;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	cursor: pointer;
	justify-content: center;
	padding: 0.5em;
	border-width: 1px;
	border-style: solid;
	border-color: var(--main-link-color);
	align-items: center;
	gap: .5em;
}

.button.primary {
	color: var(--secondary-text-color);
	fill: var(--secondary-text-color);
	background-color: var(--main-link-color);
}

.button.primary svg.icon {
	fill: currentColor;
}

.button.secondary {
	color: var(--main-text-color);
	fill: var(--main-text-color);
	background-color: var(--main-elements-background-color);
}

.button.outline {
	color: var(--main-link-color);
	fill: var(--main-link-color);
	background-color: transparent;
}

.button.secondary svg.icon {
	fill: currentColor;
}

.button svg.icon:not(.fa-2x) {
	margin-right: .1em;
}

.button.inline {
	display: inline-block;
	padding: .5em 1em;
	min-width: 8em;
}

.button.small {
	padding: 0.2em 0.5em;
}

.button.secondary:hover,
.button.secondary:focus,
.button.outline:hover,
.button.outline:focus,
.button.primary:hover,
.button.primary:focus {
	background-color: var(--main-hover-color);
	color: var(--secondary-text-color);
	fill: var(--secondary-text-color);
}

.button.secondary:hover svg.icon,
.button.secondary:focus svg.icon,
.button.primary:hover svg.icon,
.button.primary:focus svg.icon {
	fill: currentColor;
}


.button.disabled,
.button.disabled:hover,
.button.disabled:focus {
	opacity: 0.4;
	cursor: not-allowed;
}

.button.qFieldHeight {
	height: 20px;
	line-height: 20px;
}

/*#endregion */

/*#region Helpers - Contains helper classes for simple commands*/

.icon-orange {
	background-color: orangered;
}

.icon-gray {
	background-color: rgb(199, 199, 199);
}

.icon-fill-gray {
	fill: #777 !important;
}


.color-gray {
	color: #999;
}

.font-italic {
	font-style: italic;
}

.mt-0 {
	margin-top: 0;
}

.mt-1, .margin-top {
	margin-top: 1em;
}

.mt-2 {
	margin-top: 2em;
}

.mt-3 {
	margin-top: 3em;
}

.mt-4 {
	margin-top: 4em;
}

.ml-1 {
	margin-left: 1em;
}

.mb-1 {
	margin-bottom: 1em;
}

.margin-left {
	margin-left: 1em;
}

.margin-right {
	margin-right: 1em;
}

.margin-right-half {
	margin-right: .5em;
}

.margin-bottom {
	margin-bottom: 1em;
}

.no-padding {
	padding: 0;
}

.align-middle {
	vertical-align: middle;
}

.align-center {
	text-align: center;
}

.align-right {
	text-align: right;
}

.fill, .w-100 {
	width: 100%;
}

.filler {
	flex-grow: 99999999;
}

.nowrap {
	white-space: nowrap;
}

.bold {
	font-weight: bold;
}

.hide {
	display: none !important;
}

.hidden {
	display: none;
}

.flex, .display-flex {
	display: flex;
}

.float-right {
	float: right;
}

.larger {
	font-size: 150%;
}

.smaller {
	font-size: 80%;
}

.uppercase {
	text-transform: uppercase;
}

.lowercase {
	text-transform: lowercase;
}

.width05 {
	width: 5%;
}

.width10 {
	width: 10%;
}

.width15 {
	width: 15%;
}

.width20 {
	width: 20%;
}

.width30 {
	width: 30%;
}

.width40 {
	width: 40%;
}

.width50 {
	width: 50%;
}

.color-red {
	color: #b22222;
}


.flex-direction-row {
	flex-direction: row;
}

.flex-nowrap {
	flex-wrap: nowrap;
}

.display-block {
	display: block;
}

.display-inline-block {
	display: inline-block;
}

div.bottomButtons {
	margin: 2em 0 0 0;
}

/*#endregion*/

/*#region WYSIWYG elements - will format text very similar to the editor in Q3 */
.text {
	overflow: hidden;
}

.text ul,
.text ol {
	display: block;
	list-style-type: decimal;
	margin-top: 1em;
	margin-bottom: 1em;
	margin-left: 0;
	margin-right: 0;
	padding-left: 40px;
}

.text ul {
	list-style-type: disc;
}

.text li {
	display: list-item;
	padding-left: 2px;
	padding-right: 2px;
	border: none;
}

.text pre {
	display: block;
	font-family: monospace;
	white-space: break-spaces;
	margin: 1em 0;
}

.text blockquote {
	font-style: italic;
	font-family: Georgia, Times, "Times New Roman", serif;
	padding: 2px 0;
	border-style: solid;
	border-color: #ccc;
	border-width: 0;
	padding-left: 20px;
	padding-right: 8px;
	border-left-width: 5px;
	display: block;
	margin-block-start: 1em;
	margin-block-end: 1em;
	margin-inline-start: 40px;
	margin-inline-end: 40px;
}

.text dl {
	display: block;
	margin-block-start: 1em;
	margin-block-end: 1em;
	margin-inline-start: 0px;
	margin-inline-end: 0px;
	padding: 0 40px;
}

.text dt dfn {
	font-style: italic;
}

.text dd {
	display: block;
	margin-inline-start: 40px;
}

.text strong,
.text b {
	font-weight: bold;
}

.text i:not(.fal) {
	font-style: italic;
}

div.text :is(h1, h2, h3) {
	padding: 1em 0 0 0;
}

div.text :is(h1, h2):first-child {
	padding-top: 0;
}

.text p {
	margin-bottom: 1em;
}

.text img {
	max-width: 100%;
	height: auto;
}

/*#endregion*/

/*#region Image + image flags */
img.icon {
	height: 1em;
}

div.image.mainimageWrapper > * {
	float: left;
}

.image > .thumbnavigate {
	display: inline-block;
	width: 5em;
	height: calc(100% - 2em);
	position: absolute;
	z-index: 9;
}

.image > .thumbnavigate > a {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	background-color: transparent;
	border: 0;
}

.image > .thumbnavigate > :is(a:focus,a:active,a:hover) {
	background-color: transparent
}

.image > .thumbnavigate > a:focus {
	fill: var(--main-text-color);
}

.image > .thumbnavigate > a:hover {
	fill: var(--secondary-text-color);
}

.image > .thumbnavigate > a > span {
	display: inline-block;
	width: 2em;
	height: 2em;
	line-height: 2em;
	text-align: center;
	border-radius: 50%;
	font-weight: bold;
	color: var(--main-link-color);
	margin-top: 200px;
	background-color: rgba(245, 245, 245, 0.75);
	font-size: 1.75em;
}

.image > .thumbnavigate > a:hover > span {
	background-color: var(--main-link-color);
	color: var(--secondary-text-color);
}

.image > .thumbnavigate.thumb-previous {
	margin-left: .5em;
	left: 0;
}

.image > .thumbnavigate.thumb-previous i {
	position: relative;
	left: -2px;
}

.image > .thumbnavigate.thumb-next {
	margin-left: -5em;
	right: 0;
}

.image > .thumbnavigate.thumb-next i {
	position: relative;
	left: 2px;
}

.image.thumbnavigate-hide > .thumbnavigate {
	display: none;
}

.image.mainimageWrapper {
	display: block;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.image > img {
	width: 100%;
	height: 100%;
}

/*#endregion*/

/*#region Stock */
.stock {
	margin: 0;
}

.stock > * {
	vertical-align: middle;
}

.stock.deliverystock svg {
	color: darkorange;
	fill: darkorange;
}

.stock.manyinstock svg {
	color: #47b821;
	fill: #47b821;
}

.stock.fewinstock svg {
	color: #47b821;
	fill: #47b821;
}

.stock.noneinstock svg {
	color: firebrick;
	fill: firebrick;
}

.stock .stock-text {
	color: var(--main-text-color);
}

.stock.disabled {
	display: none;
}

/*#endregion*/

/*#region Price*/
div.price {
	display: flex;
	overflow: hidden;
	flex-grow: 1;
	flex-direction: column;
}

div.price *:empty {
	display: none;
}

div.price b {
	margin-right: .2em;
	display: inline-block;
}

div.price > .primary > .value * {
	font-weight: bold;
}

div.price > .primary > .before {
	text-decoration: line-through;
	text-decoration-color: rgba(178, 34, 34, 0.8);
	text-decoration-thickness: 2px;
}

div.price > .secondary > .value > span > span:last-of-type {
	margin-left: .2em;
}

/*#endregion*/


div.card > picture > img {
	width: 100%;
	height: 100%;
}

picture > img {
	display: block;
}

.position-relative {
	position: relative;
}

@media screen and (max-width: 1199px) {
	picture > img {
		width: 100%;
		height: 100%;
	}
}


@media screen and ( max-width: 480px) {
	div.pageContent div:not(.text) > h1:first-of-type {
		margin-left: -.3em;
		margin-right: -.3em;
		padding: .3em 0 .3em .2em;
		margin-top: -.3em;
	}
	
	.filler {
		flex-grow: unset;
	}
	
	.hide-mobile {
		display: none;
	}
	
	input[type="text"],
	input[type="number"],
	input[type="email"],
	input[type="tel"],
	input[type="password"] {
		font-size: 16px !important;
	}
}

.justify-content-end {
	justify-content: end;
}

.justify-content-center {
	justify-content: center;
}

#Page {
	overflow: hidden;
}
