/**
Theme Name: Dykon Master
Theme URI: https://brightsolutions.dk/
Author: Bright Solutions
Author URI: http://brightsolutions.dk
Description: Master theme for all Dykon sites except Ringsted sites
Version: 1.0.02
Tested up to: 6.8
Requires PHP: 7.3
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: dykonmaster
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	font-size: var(--base-font-size);
	line-height: var(--base-line-height);
	font: var(--p-regular-font);
	padding:  0;
	margin: 0;
}
body { /* edit later???? */
    font: var(--primary-font);
    color: var(--text-color);
    background-color: var(--outer-page-bgcolor);
    margin: 0;
}

@media (min-width: 768px) {
    body {
        padding: 0;
        margin: 0 auto;
    }
}
#page {
    width: var(--page-width);
    max-width: var(--max-page-width);
    background-color: var(--inner-page-bgcolor);
    margin: 0 auto;
    min-height: 100vh;
    /* padding: 0 var(--mobile-margins); */
    position:  relative;
}
main{
    display: block;
    width: var(--content-width);
    max-width: var(--max-content-width);
	margin-left: auto;
	margin-right: auto;
}
@media (min-width: 768px) {
	main{
		margin-left: auto;
		margin-right: auto;
		padding-left: unset;
		padding-right: unset;
	}
}
ul.menu {
	padding: unset;
}
button {
	background-color: unset;
	border-radius: var(--default-border-radius);
	padding: 10px;
	border: 1px solid var(--stroke-color);
}
th {
	text-align: left;
}
/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}
/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
	color: unset;
}
/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
	height: 25px;
	border: 0;
	padding-block: 0;
	padding-inline: 0;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
video.sp-video-content {
    max-width: 100%;
    min-width: 100%;
    min-height: 100%;
}
/* define heading fonts and color */
h1:not(.sp-main-header) {
    font: var(--h1-font);
	line-height: 1.2;
}
h2:not(.sp-main-header) {
    font: var(--h2-font);
	line-height: 1.2;
}
h3:not(.sp-main-header) {
    font: var(--h3-font);
	line-height: 1.2;
}
h4:not(.sp-main-header) {
    font: var(--h4-font);
	line-height: 1.2;
}
h5:not(.sp-main-header) {
    font: var(--h5-font);
	line-height: 1.2;
}
/* header */
/* remove underlined links in header */
header#masthead {
	width: var(--page-width);
	max-width: var(--max-page-width);
	position: relative;
	background-color: var(--header-bgcolor);
	color: var(--header-textcolor);
	padding-top: 0px;
}
@media (min-width: 768px) {
	header#masthead {
	display: block;
		width: var(--page-width);
		max-width: var(--max-page-width);
}
}
.header-content-wrapper {
	width: var(--content-width);
	max-width: var(--max-content-width);
	margin-left:auto;
	margin-right: auto;
	display: flex;
	justify-content: space-between;
	align-items: anchor-center;
	gap:  25px;
	flex-wrap: wrap;
}
header a {
	text-decoration: unset;
}
.sp-topbar {
    width: 100%;
    background-color: brown;
    text-align: center;
    height: fit-content;
}
.sp-topbar p {
	margin: 0;
}
.sp-header-content-wrapper {
    width: var(--content-width);
    max-width: var(--max-content-width);
    display:  flex;
    padding:  5px;
    margin-left:  auto;
    margin-right: auto;
    gap:  15px;
}
.header-right-part {
	display: flex;
	justify-content: space-between;
	align-items: anchor-center;
	gap: 25px;
}
.sp-header-content-outer-upper {
	flex-grow: 1;
	max-width: var(--content-width);
	margin-left: auto;
	margin-right: auto;
	display: flex;
	gap: 15px;
}
.sp-header-content-outer-lower {
    display: flex;
    align-items:anchor-center;
}
@media (min-width: 768px) {
.sp-header-content-outer-lower {
		max-width: var(--content-width);
	margin-left: auto;
	margin-right: auto;
}
}
.sp-header-content-inner-upper {
    display: flex;
    justify-content: space-between;
    flex: 1;
}
.sp-search {
	display: flex;
	gap: 5px;
}
.sp-open-search {
	cursor: pointer;
}
.sp-search-outer {
    display: none;
}
.sp-search-outer.active {
	position: fixed;
	display: flex;
	inset: 0;
	height: 100vh;
	width: 100vw;
	background-color: #00000090;
	justify-content: center;
	align-items: anchor-center;
	flex-direction: row;
	z-index: 30;
}
button.sp-search-submit {
}

form.sp-search-form {
    height: 25px;
    display:  flex;
    gap:  5px;
}
/* menu */
#mobile-menu-toggle {
    width: 25px;
    height: 25px;
    border:  none;
    background-color: transparent;
    padding:  0;
}
@media (min-width: 768px) {
	#mobile-menu-toggle {
		display: none;
	}
}
.sp-menu-section {
    display: none;
}
@media (min-width: 768px) {
.sp-menu-section {
    display: block;
}
}
.sp-actual-menu {
	position: relative;
	overflow-y: auto;
	overflow-x: visible;
	height: auto;
	flex: 1;
	display: flex;
	/* width: 100%; */
}
@media (min-width: 768px) {
	.sp-actual-menu {
	
	overflow-y: visible;
	overflow-x: visible;
}
}
.sp-mobile-menu-header {
    border-bottom: 1px solid var(--stroke-color);
    padding-bottom: 15px;
}
@media (min-width: 768px) {
.sp-mobile-menu-header {
    display: none;
}
}

.sp-mobile-menu-header-upper {
   
	position: relative;
}

div#sp-mobile-menu-closer {
    position: absolute;
    right: 0;
    top: 0;
    font-weight: bolder;
}
.sp-menu-section.active {
    display: flex;
    position: fixed;
    inset: 0; /* Tilsvarer top:0; right:0; bottom:0; left:0; */
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    z-index: 3;
    padding: 15px var(--mobile-margins);
    background-color: var(--menu-bgcolor);
    color: var(--menu-textcolor);
    flex-direction: column;
}
.sp-menu-section a {
    color: var(--menu-textcolor);
}
ul#primary-menu {
    padding-left: 0;
    overflow-x: visible;
    z-index: 3;
    position: relative;
    margin: 0;
    flex: 1;
}
.menu-skypimmenu-container {
    flex:1;
}
.menu-skypimmenu-container:has(.sub-menu.active) {
    display: flex;
    /* flex: 1; */
}

@media (min-width: 768px) {
.sp-actual-menu > div > ul#primary-menu {
	display: flex;
	gap: 25px;
	justify-content:flex-start;
	align-items: center;
}

.menu > .menu-item-has-children>a::after {
		content: url(assets/icons/chewron-down.svg);
		/* Update the icon for desktop */
		font-size: 12px;
		position: absolute;
		transform: rotate(0deg);
		transition: transform 0.3s ease;
		cursor: pointer;
		padding-bottom: 15px;
		padding-left: 15px;
	}
	.sub-menu > .menu-item-has-children>a {
		position: relative;
		width: 100%;
		display: flex;
		flex: 1;
		justify-content: space-between;
		align-items: anchor-center;
	}
	.sub-menu > .menu-item-has-children>a::after {
		content: url(assets/icons/chewron-right.svg);
		margin-left: 10px;
		width: 10px;
		height:  max-content;
	}
	
}
ul.sub-menu {
    display: none;
}
@media (min-width: 768px) {
	.main-navigation ul li:hover {
		position: relative;
		overflow:  visible;
	}
	.main-navigation ul.menu > li:hover>ul {
		left: 0;
	}
	.main-navigation ul > li:hover>ul {
		display: block;
		/* Show sub-menu on hover */
		margin-left: 0;
		height: unset;
		padding: 10px;
		position: absolute;
		top: 100%;
		background-color: var(--submenu-bgcolor);
		width: max-content;
	}
	.sub-menu ul.sub-menu {
		position: absolute;
		left: calc(100% + 10px);
		top: 0 !important;
	}
	.sub-menu ul.sub-menu::before {
		position: absolute;
		content: " ";
		height: 100%;
		width: 10px;
		right: 100%;
		top: 0px;
	}
}
ul.sub-menu.active {
	display: block;
	position:absolute;
	height: 100%;
	width: 100%;
	padding: 0;
	background-color: var(--menu-bgcolor);
	top: 0;
	z-index: 30;
	overflow-x: visible;
	flex: 1;
}
.sp-submenu-header {
	display: flex;
	justify-content: flex-start;
	gap: 15px;
	padding: 15px 15px 15px 0px;
	margin: 10px 0px;
	background-color: var(--submenu-header-bgcolor);
	color: var(--menu-textcolor);
	position: relative;
	z-index: 39;
	width: 100%;
}
li.menu-item {
    display: flex;
    justify-content: space-between;
    padding: 2px 0px;
    align-items: anchor-center;
    z-index: 2;
    width: 100%;
}

@media (min-width: 768px) {
	.sub-menu li {
		width: 100%;
	}
	.menu > li.menu-item {
		width: max-content;	
	}
	li.menu-item {
    display: flex;
    justify-content: space-between;
    padding: 2px 0px;
    align-items: anchor-center;
    z-index: 2;
    
}
	ul.menu > li.menu-item-has-children {
		margin-right: 25px;
	}
}
img.mobilemenu-subselector {
    height: 25px;
    z-index: 1;
}
img.mobilemenu-backselector {
    height: 25px;
    padding: 0px 15px;
    width: 55px;
}
#sp-cart-icon-container {
	display: flex;
	align-items: center;
}

/*  FOOTER STYLE
--------------------------------------------- */
footer#colophon {
   width: var(--page-width);
	max-width: var(--max-page-width);
	position: relative;
	padding: 15px var(--mobile-margins);
    background-color: var(--footer-bgcolor);
    position: relative;
    padding: var(--mobile-margins);
    color: var(--footer-textcolor);
}
@media (min-width: 768px) {
	footer#colophon {
		position: relative;
		width: var(--page-width);
	}
}
footer#colophon a {
    color: var(--footer-textcolor);
    text-decoration: none;
}
footer#colophon h1, footer#colophon h2, footer#colophon h3, footer#colophon h4, footer#colophon h5 {
    color: var(--footer-textcolor);
}
.sp-footer-menu-header-container {
    display: flex;
    justify-content: space-between;
}
.sp-footer-menu {
    display: none;
}
.footer-social-media {
    display: flex;
    gap: 15px;
}
@media (min-width: 768px) {
	.sp-footer-standardcolumns-outer {
		width: var(--content-width);
		max-width: var(--max-content-width);
		margin-left: auto;
		margin-right: auto;
	}
.sp-footer-standardcolumns-left-upper {
	display: flex;
	justify-content: space-between;
}
	.sp-footer-menu-header-icon {
		display: none;
	}
	.sp-footer-menu {
		display: block;
	}
}