html {
	--theme-hue: 0;
	--accent-hue: 274;
	--accent-color: hsl(var(--accent-hue), 86%, 57%);
	--button-primary-color: white;
	--background-color-softer: hsl(var(--theme-hue), 0%, 95%);

	--confirm-hue: 139;
	--confirm-background-color: hsl(var(--confirm-hue), 66%, 68%);

	/*
	--text-color-richer: hsl(var(--theme-hue), 0%, 5%);
	--text-color-normal: hsl(var(--theme-hue), 0%, 13%);
	--text-color-softer: hsl(var(--theme-hue), 0%, 33%);


	--accent-color-hover: hsl(var(--accent-hue), 76%, 49%);

	--border-color: hsl(var(--theme-hue), 0%, 73%);
	--border-color-softer: hsl(var(--theme-hue), 0%, 82%);

	--background-color: white;

	--code-background: hsl(var(--theme-hue), 0%, 95%);
	*/

	--grid-max-width: 960px;
	--default-font-size: 16px;
	padding:0;
	box-sizing: border-box;
	height: 100%;
}

html, body {
	font-size:var(--default-font-size);
	font-family: sans-serif;
}

form {
	border:0;
	width:auto;
	max-width:none;
}

form table {
	max-width:none;
}

body {
	padding:0;
	margin:0;
	box-sizing: border-box;
	/*height: 100%;  Don't, will strech in tinyMCE */
	line-height: 1.3;
}

/*header {
	color: var(--button-primary-color);
	background-color: hsl(var(--accent-hue), 86%, 70%);
	padding-left:10px;
	padding-right:10px;
}*/

footer {
	background-color:#555;
	padding-left:1em;
	padding-right:1em;
	padding-bottom:1em;
	color:#eee;
	/*margin-top:2em;*/
}

footer a {
	color:#eee;
}

footer div {
	margin:auto;
	max-width:var(--grid-max-width);
	padding-left:10px;
}

.wrapper {
	box-sizing: border-box;
	min-height: 100%;

	display: flex;
	flex-direction: column;
}

.container {
	/*margin:auto;
	margin-left:calc((100% - var(--grid-max-width)) / 2);*/
	max-width:var(--grid-max-width);
	padding-left: 10px;
	padding-right:10px;
	margin-top:1.4em;
	margin-bottom:auto;
	box-sizing:border-box; /* For body-Tag in tinyMCE */
}

.container.inIframe {
	max-width:none;
	padding:0;
	margin:0;
}

.container > img {
	width:100%;
}

.container1C {
	/*max-width:calc(var(--grid-max-width) * 0.8); /* 0.8: Do not use same width as with multiple cols */
	margin-left:auto;
	margin-right:auto;
	padding-right:calc(var(--grid-max-width) * 0.2); /* 0.2: Do not use same width as with multiple cols */
}

.container2C {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(calc(calc(var(--grid-max-width) / 2.6) - 1rem), 1fr)); /* 2.6: increase to wrap later */
	grid-gap: 2rem;
}

.container2C .fullGridWidth {
	grid-column: 1/3;
}

.container3C {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(calc(calc(var(--grid-max-width) / 3) - 1rem * 2), 1fr));
	grid-gap: 2rem;
}

.container7C {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(calc(calc(var(--grid-max-width) / 7) - .2rem * 6), 1fr));
	grid-gap: .2rem;
}



@media (min-width: 960px) { /* should be var(--grid-max-width), but does not work */
	.container2C, .container3C, .container7C {
		margin-left:auto;
		margin-right:auto;
	}
}

@media (max-width: 750px) {
	.container1C {
		padding-right:10px;
	}
	
	.container2C {
		grid-template-columns: 1fr;
		/*grid-template-columns: 1fr;*/ /* 2.6: increase to wrap later */
	}
	
	.container2C .fullGridWidth {
		grid-column: 1/1;
	}
}

.bigButton, .submitFormButton {
	border:0px solid pink;
	padding:.5em;
	padding-left:1.5em;
	padding-right:1.5em;
	border-radius:5px;
	color: var(--button-primary-color);
	background-color: var(--accent-color);
	border-color: var(--accent-color);
	width:auto;
	box-sizing:border-box;
	/*margin-bottom:.3em;
	margin-top:.3em;*/
	margin:0;
	height:auto;
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4), 0 0 0 black;
	text-shadow:none;
	font-size: 18px;
	text-transform: none;
	text-decoration: none;
	line-height: 1.3em;
	display: inline-block;
	font-weight:400;
}

.bigButton[style*="float: right;"], .bigButton[style*="float:right;"] {
	margin-left:.3em;
	margin-bottom:.3em;
}

.bigButton[style*="float: left;"], .bigButton[style*="float:left;"] {
	margin-right:.3em;
	margin-bottom:.3em;
}

.bigButton:hover, .submitFormButton:hover, .submitFormButton:focus {
	background-color:hsl(var(--accent-hue), 86%, 70%);
	color:white;
}

.bigButton.smallerButton.iconLeft svg {
	margin-right:.3em;
	vertical-align: bottom;
	height:20px;
	margin-top:-2px;
}

.smallerButton {
	font-size: 13px;
	/*width:100%;*/
}

.confirm {
	background-color:var(--confirm-background-color);
	padding:.5em;
	border-radius:5px;
	margin-bottom:.3em;
	width:100%;
	box-sizing:border-box;
	color:#222;
}


p {
	padding:.4em;
	padding-left:0;
	margin:0; /* for tinyMCE */
	margin-bottom: .7em;
}

svg {
	stroke-width:1;
}

img {
	border-radius: 4px;
}

.imageFloatLeft {
	float:left;
	margin-right:1em;
	margin-bottom:1em;
	width:30%;
}

.imageFloatRight {
	float:right;
	margin-left:1em;
	margin-bottom:1em;
	width:30%;
}

.imageText {
	display:grid;
	grid-template-columns: 1fr 1fr; /* 2.6: increase to wrap later */
	grid-gap: 1rem;
}

/*.imageText figure {
	display: block; *//* for tinyMCE */
/*}*/

/*figure {
	height: 100%;
	min-height: 250px;
	/*margin:0;*/ /* for tinyMCE */
	/*position: relative;
}*/

.container figure {
	width: 100%; 
	height: 100%; 
	margin:0;/* for tinyMCE */
	background-repeat:no-repeat;
	background-position: 50% 0%;
	background-size: cover; /* contain */
}

.container figure img {
	width: 100%; 
	height: 100%; 
	object-fit: cover; 
	object-position: 50% 50%;
}

/*.imageText figure img {*/
	/*position: absolute;*/
/*}*/

.offer {
	background-color:#eee;
	padding:1rem;
	border-radius: 4px;
}

.FormSeparatorWithLabel td {
	font-weight:bold;
	padding-top:2em;
}