/* CSS global setting START */

/* @media (prefers-color-scheme: dark) {
    :root {
        --bgColor: #e2e2e2;
		--dmColor: white;
    }
	.dispDark {
		display: block;
	}
	.dispLight {
		display: none;
	}
}

@media (prefers-color-scheme: light) {
    :root {
        --card_bg: #0b0b0b91;
		--dmColor: black;
    }
	.dispDark {
		display: none;
	}
	.dispLight {
		display: block;
	}
		
} */
/* bg dark: #242424; */
/* infobox dark: #bdbdbd; */

:root {
	/* body  */
	--bodyBgColor: #ececec;
	--textColor: black;

	/* cards */
	--cardBgColor: #fdfdfd;
	--cardBgColor: #d7d7d7;
	--cardShadow: 0 0 5px 1px #3e3e3e;
	--innerBgc: #e6e6e6;
	--innerShadow: 0px 0px 6px 0px #3e3e3e inset;

	/* main */
	--mainShadow: 0 1px 6px 1px black;
	--bgColor: #fbfbfb;

	/* foot */
	--footBorder: 1px solid gray;
	--footShadow: 0px 1px 3px black inset;
	--footBg: #acacac;

	/* Menu colors */
	--mainMenuBg: #e0e0e0;
	--mainMenuHover: #d0d0d0;
	--subMenuBg: #e0e0e0;
	/* --subMenuHover: #c8c8c8; */
	--subMenuHover: #d0d0d0;

	/* Card colors */
	/* --infoBoxBg: #ececec; */
	/* --infoBoxBg: #e6e6e6; */
	--infoBoxBg: #efefef;
	--infoSecBg: #f2f2f2;
	--infoBoxShadow: 0px 0px 6px 2px #020202;
	--infoBoxBorder: 1px solid #121212;

	/* inner card */
	--infoboxDivBg: #e3e3e3;
	--infoboxDivShadow: 2px 2px 4px 1px black;

	/* Card */
	/* --cardBg: #dfdfdf; */
	--cardBg: #dfdede;
	--cardShadow: 0px 0px 2px 1px #0d0d0d inset, 2px 2px 2px 0px #1c1c1c;
	--cardBorder: 1px solid #242424;
	--cardInsetShadow: 1px 0px 6px 0px #fff inset;

	--darkBoxBg: #e6e6e6;
	--darkBoxShaow: 0px 0px 4px 0px #3e3e3e inset;
	--lightBoxBg: #ececec;
	--lightBoxShadow: 1px 1px 4px 1px #3e3e3e;
	--lightBoxBorder: 1px solid black;

	/* dark/light mode */

	--dmColor: black;


}

@media screen and (min-width: 600px) {
	:root {
		--pSize: 16px;
		--h1Size: 28px;
		--h2Size: 24px;
		--h3Size: 20px;
	}
}

@media screen and (max-width: 600px) {
	:root {
		--pSize: 15px;
		--h1Size: 22px;
		--h2Size: 18px;
		--h3Size: 16px;
		--dmColor: black;
	}
}

:root {
	--minheight: calc(100vh - 80px);
	;
	--footHeight: 40px;
}

@media screen and (max-width: 600px) {
	:root {
		--minheight: calc(100vh - 115px);
		;
		--footHeight: 75px;
	}
}

.dispDark {
	display: none;
}

.dispLight {
	display: block;
}

/* CSS global setting END */


/* CSS layout styling START */
* {
	box-sizing: border-box;
}

body {
	height: 100vh;
	margin: 0;
	padding-top: 40px;
	text-align: center;
	background-color: var(--bgColor);
	font-family: sans-serif;
}

main {
	background-color: var(--bgColor);
	width: 100%;
	min-height: var(--minheight);
}

.bodybox {
	padding: 85px 0 60px;
	max-width: 98%;
	margin: 0 auto;
	width: 1200px;
}

@media screen and (max-width: 1080px) {
	.bodybox {
		padding: 35px 0 20px;
	}
}

footer {
	border-top: var(--footBorder);
	box-shadow: var(--footShadow);
	height: var(--footHeight);
	background-color: var(--footBg);
}

.ariaHidden {
	display: none;
}

/* CSS layuot styling START */

/* CSS font styling START */
p {
	font-size: var(--pSize);
	color: var(--textColor);
}

h1 {
	font-size: var(--h1Size);
	color: var(--textColor);
	text-align: center;
}

h2 {
	font-size: var(--h2Size);
	color: var(--textColor);
	text-align: center;
}

h3 {
	font-size: var(--h3Size);
	color: var(--textColor);
	text-align: center;
}

.dmText {
	color: var(--dmColor);
}

/* CSS font styling END */

/* CSS page styling START */
.banner {
	height: 80px;
	display: flex;
	justify-content: center;
	gap: 20px;
	margin: -35px auto 0;
}

@media screen and (max-width: 1080px) {
	.banner {
		gap: 10px;
		height: 75px;
		margin: 0px auto;
	}
}

@media screen and (max-width: 600px) {
	.banner {
		gap: 5px;
		height: 40px;
		margin: 0 auto 20px;
	}
}

.imgsize {
	max-width: 100%;
}

.divRow {
	display: inline-block;
	width: 100%;
}

.infoDiv {
	display: inline-block;
	background-color: var(--bgColor);
	border: none;
	box-shadow: none;
	width: 100%;
	border-radius: 15px;
	margin-bottom: 20px;
	padding: 5px;
	text-align: left;
}

@media screen and (max-width: 600px) {
	.infoDiv {
		background-color: var(--infoBoxBg);
		border: var(--infoBoxBorder);
		box-shadow: var(--infoBoxShadow);
	}
}

.infobox {
	display: inline-block;
	margin: 0 auto;
	text-align: center;
	border-radius: 15px;
	min-height: 300px;
	border: var(--infoBoxBorder);
	background-color: var(--infoBoxBg);
	box-shadow: var(--infoBoxShadow);
	width: 98%;
	/* max-width: 1100px; */
}

.infoboxDiv {
	border: 1px solid black;
	border-radius: 10px;
	background-color: var(--infoboxDivBg);
	box-shadow: var(--infoboxDivShadow);
	padding: 10px;
}

.infoCard {
	max-width: 560px;
	padding: 5px 15px;
	background-color: var(--infoSecBg);
}

.card {
	border-radius: 5px 25% 20px 25%;
	margin: 0 auto;
	text-align: left;
	background: var(--cardBg);
	box-shadow: var(--cardShadow);
	max-width: 370px;
	padding: 10px 20px;
	border: var(--cardBorder);
}

@media screen and (max-width: 800px) {
	.card {
		max-width: 100%;
		padding: 5px
	}
}

@media screen and (max-width: 600px) {
	.card {
		background-color: var(--infoBoxBg);
		border: var(--infoBoxBorder);
		box-shadow: var(--infoBoxShadow);
		border-radius: 15px;
		width: 100%;
	}
}

.cardInnerDark {
	display: block;
	border-radius: 2px 22px 22px;
	background: var(--darkBoxBg);
	box-shadow: var(--darkBoxShadow);
	padding: 10px;
	text-align: left;
}

.cardInnerLight {
	display: block;
	border-radius: 2px 22px 22px;
	background: var(--lightBoxBg);
	box-shadow: var(--lightBoxShadow);
	padding: 10px;
	margin: 3px;
	border: var(--lightBoxBorder);
	text-align: left;
}

fieldset {
	margin-top: 20px;
	border-radius: 10px;
	border: 1px solid gray;
}

legend {
	font-size: 18px;
	text-align: left;
}
@media screen and (max-width: 800px) {
	legend {
		font-size: 16px;
	}
}
@media screen and (max-width: 600px) {
	legend {
		font-size: 14px;
	}
}

.dev_info {
	position: fixed;
	bottom: 10px;
	text-align: center;
	left: 10px;
}

.copybox {
	display: grid;
	grid-auto-flow: column;
	grid-template-columns: 1fr 1fr;
	width: 100%;
	padding: 0 10px;
}

.copyinfo {
	grid-area: 1 / 1 / 2/ 2;
	text-align: left;
}

.createdinfo {
	grid-area: 1 / 2 / 2/ 3;
	text-align: right;
}

@media screen and (max-width: 600px) {
	.copybox {
		grid-auto-flow: row;
		grid-template-columns: 1fr;
		padding: 0;
	}

	.copyinfo {
		grid-area: 1 / 1 / 2/ 2;
		text-align: center;
	}

	.createdinfo {
		grid-area: 2 / 1 / 3/ 2;
		text-align: center;
	}
}

/* Buttons */

button {
	cursor: pointer;
}

.button_form_green {
	background: #02cc02;
	border-radius: 8px;
	color: black;
	font-family: sans-serif;
	font-size: 16px;
	font-weight: bold;
	padding: 8px 15px;
	border: solid #555 1px;
	box-shadow: 1px 1px 2px 1px #282828;
	transition: all ease-in-out 300ms;
}

.button_form_green:hover {
	background: #01df01;
	box-shadow: 2px 2px 3px 1px #282828;
	transform: scale(1.05);
}

.button_gray {
	border-radius: 10px;
	font-family: sans-serif;
	color: #000000;
	font-size: 16px;
	font-weight: 600;
	background: #bdbdbd;
	padding: 8px 15px;
	border: solid #555 1px;
	box-shadow: 1px 1px 2px 1px #282828;
	transition: all ease-in-out 300ms;
}

.button_gray:hover {
	background: #c8c8c8;;
	transform: scale(1.05);
}

.button_orange {
	border-radius: 10px;
	font-family: sans-serif;
	color: #000000;
	font-size: 16px;
	font-weight: 600;
	background: #ff5733;
	padding: 8px 15px;
	border: solid #555 1px;
	box-shadow: 1px 1px 2px 1px #282828;
	transition: all ease-in-out 300ms;
}

.button_orange:hover {
	background: #ff8166;
	transform: scale(1.05);
}

.button_red {
	border-radius: 10px;
	box-shadow: 0px 1px 3px #666666;
	font-family: sans-serif;
	color: white;
	font-size: 16px;
	font-weight: 600;
	background: #ee0000;
	padding: 8px 15px;
	border: solid #555 1px;
	box-shadow: 1px 1px 2px 1px #282828;
	transition: all ease-in-out 300ms;
}

.button_red:hover {
	background: #f24040;
	transform: scale(1.05);
}

.button_small {
	border-radius: 10px;
	font-family: sans-serif;
	font-size: 14px;
	padding: 4px 8px;
}

.PMknapp {
	cursor: pointer;
	color: blue;
	font-weight: 600;
}

/* CSS page styling END */



.messageClosed {
	display: inline;
	cursor: pointer;
}

.messageOpen {
	display: none;
	cursor: pointer;
}

#messages[open] .messageClosed {
	display: none !important;
}

#messages[open] .messageOpen {
	display: inline !important;
}

#messages summary {
	font-weight: bold;
	margin: 10px auto;
	text-align: left;
}
.msg {
	margin-bottom: 20px;
}


.infodiv {
	border: 1px solid darkgray;
	border-radius: 10px;
	text-align: left;
	padding: 10px;
	box-shadow: 0 0 3px black inset;
}