/** MATRIX-CMS **/

/* Var Definitions */
:root {
	/* Design Colors*/
	--logo-color-1: #a28430;						/* Hauptfarbe Logo */
	--logo-color-1-rgb: 162, 132, 48;				/* Usage:  border: 1px solid rgba(var(--logo-color-1-rgb), 0.4); */
	--logo-color-1-dark: #826410;					/* Dunklere Version der Hauptfarbe für Flächen */
	--logo-color-1-light: #b2b2b2;					/* Hellere Version der Hauptfarbe für Flächen */
	--logo-color-2: var(--logo-color-1);			/* Nebenfarbe Logo */
	--logo-color-2-rgb: var(--logo-color-1-rgb);	/* Nebenfarbe Logo in RGB Werten*/
	--neutral-color-light: #c1c1c1;				/* Hellgrau */
	--neutral-color-dark: #444444;					/* Dunkelgrau */

	/*main*/
	--font-color-light: #ffffff;					/* Allgemeine Schriftfarbe */
	--font-color-dark: #000000;						/* Allgemeine Schriftfarbe vor Hintergrund */
	--link-color: var(--logo-color-1);				/* Allgemeine Linkfarbe */
	--h1-color: var(--logo-color-1);
	--h2-color: var(--font-color-dark);
	--h3-color: var(--logo-color-1);
	--transition-time: 250ms;						/* Dauer von Transitions */	
	--padding-topbottom: 1rem;						/* Padding von Inhalten */	
	--padding-leftright: 4rem;						/* Padding von Inhalten */	
}

.matrixcms, .matrixcms a {
	font: 12px/14px serif;
}
* { outline: none; }

body,
.GPS {
	font-family: 'Open Sans', sans-serif;
	font-size: 18px;
	line-height: 180%;
	color: var(--font-color-dark);
}
body {
	padding: 0;
	margin: 0;
	background-color: #fff;
}

img { border: none; display: block; }
object:hover { border: 0px solid transparent; }

.mxci { max-width: 100%; }

.small { font-size: 85%; }

p, hr, .GPM { margin: 0 0 12px 0; }
p { line-height: 180%; }
.inline { display: inline; }
.floatRight { float: right; }
.floatLeft { float: left; }
.clearBoth { clear: both; }
.nowrap, .NoWrap { white-space: nowrap; }
.BorderBox { box-sizing: border-box; }
.justify { text-align: justify; }

.valignTop.valignTop.valignTop,
.vaTop.vaTop.vaTop,
.alignTop.alignTop.alignTop { vertical-align: top; }
.vaMiddle.vaMiddle.vaMiddle,
.alignMiddle.alignMiddle.alignMiddle { vertical-align: middle; }
.vaBottom.vaBottom.vaBottom { vertical-align: bottom; }
.vaBase.vaBase.vaBase { vertical-align: baseline; }

.alignRight.alignRight.alignRight { text-align: right; }
.alignLeft.alignLeft.alignLeft { text-align: left; }
.alignCenter.alignCenter.alignCenter { text-align: center; }

.displayBlock.displayBlock.displayBlock { display: block; }
.displayInline.displayInline.displayInline,
.inline.inline.inline { display: inline; }
.displayInlineBlock.displayInlineBlock.displayInlineBlock,
.inlineBlock.inlineBlock.inlineBlock { display: inline-block; }
.displayNone.displayNone.displayNone { display: none; }

.invisible.invisible.invisible { visibility: hidden; }

.posAbsolute.posAbsolute.posAbsolute { position: absolute; }
.posRelative.posRelative.posRelative { position: relative; }

.oHidden.oHidden.oHidden { overflow: hidden; }

.bold { font-weight: bold; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.cursorPointer { cursor: pointer; }
.cursorDefault { cursor: default; }

.NoSelect {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.TransformMirror {
	-ms-transform: scale(-1, 1);
	-webkit-transform: scale(-1, 1);
	transform: scale(-1, 1);
}

.ClearFloat:after {
	content: '';
	display: block;
	clear: both;
}

.LoStage {
	max-width: 1600px;
	width: 96%;
	padding: 2% 2% 2% 0;
	margin: auto;
}

.FieldRequired:after {
	content: '*';
	color: magenta;
	display: inline-block;
	padding-left: 5px;
}

.TableFlow {overflow-x: auto;}


/* Flexy Stuff */

.flexed,
.justflex {
	display: -webkit-box; -ms-flex: 1; display: -ms-flexbox; display: flexbox; display: box; display: -ms-flex; display: -webkit-flex;
	display: flex;
	flex: 0 1 auto;
}
.justflex {
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	-ms-justify-content: space-between;
	justify-content: space-between;
}
.flexwrap {
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
.flexigrow1 {
	-webkit-flex-grow: 1;
	-ms-flex-grow: 1;
	flex-grow: 1;
}
.flextop { align-items: flex-start; }
.flexmiddle { align-items: center; }
.flexbase { align-items: baseline; }
.flexbottom { align-items: flex-end; }
.flexstretch { align-items: stretch; }

.flexcenter { justify-content: center; }
.flexright { justify-content: flex-end; }
.flexaround { justify-content: space-around; }

.flexitop { align-self: flex-start; }
.fleximiddle { align-self: center; }
.flexibase { align-self: baseline; }
.flexibottom { align-self: flex-end; }


.DefaultGrid {
	display: grid;
	grid-column-gap: 2%;
}
@media all and (min-width: 800px) {
	.Grid2 {grid-template-columns: repeat(2, 1fr);}
	.Grid3 {grid-template-columns: repeat(2, 1fr);}
	.Grid4 {grid-template-columns: repeat(3, 1fr);}
}

@media all and (min-width: 1200px) {
	.Grid3 {grid-template-columns: repeat(3, 1fr);}
	.Grid4 {grid-template-columns: repeat(4, 1fr);}
}

/* some widths */
.w10p { width: 10%; }
.w20p { width: 20%; }
.w30p { width: 30%; }
.w40p { width: 40%; }
.w50p { width: 50%; }
.w60p { width: 60%; }
.w70p { width: 70%; }
.w80p { width: 80%; }
.w90p { width: 90%; }
.w100p,
.fullWidth { width: 100%; }
.noMargin { margin: 0; }
.cfx { display: block; width: 100%; height: 1px; } /*clear full x-axis*/
.jfx { display: inline-block; width: 100%; height: 1px; } /*justify full x-axis*/

/* Columns */
.s1.o2 { width: 49%; }
.s1.o3 { width: 32%; }
.s2.o3 { width: 66%; }
.s1.o4 { width: 23.5%; }
.s2.o4 { width: 49%; }
.s3.o4 { width: 74.5%; }
.s1.o5 { width: 19%; }
.s2.o5 { width: 39.25%; }
.s3.o5 { width: 59.5%; }
.s4.o5 { width: 79.75%; }

.table { display: table; }
.table.inlineBlock, .table.inline { display: inline-table; }
.table .row { display: table-row; }
.table .row .cell { display: table-cell; }
.table .row.vaMiddle .cell { vertical-align: middle; }
.table .row.displayNone, .table .row .cell.displayNone { display: none; }
table.nbcpcs {
	border: none;
	padding: 0;
	border-spacing: 0;
	border-collapse: collapse;
}

/* The Pads */
.pl { padding-left: 5px; }
.pr { padding-right: 5px; }
.pt { padding-top: 5px; }
.pb { padding-bottom: 5px; }
.ph { padding-top: 5px; padding-bottom: 5px; }
.pv { padding-left: 5px; padding-right: 5px; }
.pc { padding: 5px; }

/* The Lines */
.bl { border-left: 1px solid #f0ede3; }
.br { border-right: 1px solid #f0ede3; }
.bt { border-top: 1px solid #f0ede3; }
.bb { border-bottom: 1px solid #f0ede3; }
.bh { border-top: 1px solid #f0ede3; border-bottom: 1px solid #f0ede3; }
.bv { border-left: 1px solid #f0ede3; border-right: 1px solid #f0ede3; }
.bc { border: 1px solid #f0ede3; }

h1,
.h1s {
	font-size: 34px;
	line-height: 100%;
	font-weight: 700;
	padding: 0px;
	margin: 0 0 .5em;
	color: var(--h1-color);
}
h2,
.h2s {
	margin: 0px;
	margin-bottom: .75em;
	padding: 0px;
	font-size: 24px;
	color: var(--h2-color);
	font-weight: 600;
}
h1 + h2, p + h2 { padding-top: .5em; }
h3 {
	margin: 0px;
	padding: 0px;
	margin-bottom: 0.5em;
	font-weight: 600;
	color: var(--h3-color);
	font-size: 18px;
}
h4 {
	margin: 0px;
	padding: 0px;
	margin: 0 0 0.5em 0;
	font-weight: normal;
	font-style: italic;
	font-size: 100%;
}

a, .GAS { color: var(--link-color); text-decoration: none; }
a:hover, .GAS:hover { text-decoration: underline; }
a.selected, .GAS.selected { text-decoration: underline; }

ul:not([type]) {
	margin: 0;
	padding: 0 0 1em;
	list-style: none;
	overflow: hidden;
}
ul:not([type]) > li {
	margin: 0;
	padding: 0;
	padding: 2px 0px;
	padding-left: 20px;
	position: relative;
}
ul:not([type]) li:before {
	content: '»';
	position: absolute;
	left: 0;
	top: 0;
}
ol {
	margin: 0;
	padding: 0 0 1em;
	padding-left: 23px;
	/*font-weight: bold;*/
}
ol li {
	margin: 0;
	padding: 0;
	padding: 2px 0px;
}

INPUT[type=text], INPUT[type=password], textarea {
	border: 1px solid #ccc;
	background: none;
	box-shadow: none;
	box-sizing: border-box;
	padding: 6px;
	font-size: 100%;
	font: 16px 'Roboto', sans-serif;
	border-radius: 2px;
}
INPUT[type=text], INPUT[type=password] {
	height: 2em;
	line-height: 100%;
}
INPUT[type=text]:focus, INPUT[type=password]:focus, textarea:focus {
	box-shadow: 3px 3px 17px -5px rgba(0, 0, 0, .4);
}
INPUT.button, INPUT[type="submit"], INPUT[type="button"], INPUT[type="reset"] {
	color: black;
	border: 1px solid;
	border-left-color: #D0D7E8;
	border-top-color: #D0D7E8;
	border-bottom-color: #D0D7E8;
	border-right-color: #D0D7E8;
	padding: 0px 3px;
	background: white;
}
INPUT[type="submit"].displayNone {
	display: block;
	width: 1px;
	height: 1px;
	overflow: hidden;
	border: none;
	background: none;
	opacity: 0.01;
	position: absolute;
	top: -9999px;
	left: -9999px;
}
label { position: relative; }

input.ui[type="checkbox"],
input.ui[type="radio"] {
	/* position: absolute;
	transform: scale(0);
	margin-left: 15px;  */
}
input.ui[type="checkbox"] + label,
input.ui[type="radio"] + label {
	position: relative;
	padding-left: 0px;
	margin-right: 14px;
	cursor: pointer;
}
input.ui[type="radio"] + label {
	padding-top: 3px;
	padding-bottom: 3px;
}

input.ui[type="checkbox"] + label:before,
input.ui[type="checkbox"] + label:after,
input.ui[type="radio"] + label:before,
input.ui[type="radio"] + label:after {
	/* content: ''; */
	display: inline-block;
	box-sizing: border-box;
	position: absolute;
	left: 0;
	top: 12px;
	transform: translateY(-50%);
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	transition: all 200ms;
}
input.ui[type="checkbox"] + label:after,
input.ui[type="checkbox"] + label:before {
	border-radius: 0;
}
input.ui[type="checkbox"] + label:before,
input.ui[type="radio"] + label:before {
	border: 1px solid rgba(0,0,0,0.5);
}
input.ui[type="checkbox"] + label:after,
input.ui[type="radio"] + label:after {
	left: 4px;
	transform: translateY(-50%) scale(1.5);
	width: 6px;
	height: 6px;
	background-color: var(--Scarlett-Color);
	opacity: 0;
	transition: all 300ms;
}
input.ui[type="checkbox"]:checked + label:after,
input.ui[type="radio"]:checked + label:after {
	transform: translateY(-50%) scale(1);
	opacity: 1;
}
input.ui[type="checkbox"]:checked + label:before,
input.ui[type="radio"]:checked + label:before {
	background: #fff;
}
input[type='radio'].ui:focus + label {
	box-shadow: 0 1px 0 var(--Scarlett-Color);
}

.shortNum {
	width: 30px;
	text-align: center;
	padding-left: 0;
	padding-right: 0;
}

hr {
	border: none;
	border-bottom: 1px solid #b8b8b8;
	font-size: 0px;
	background-color: transparent;
}

sup, sub {
	height: 0;
	line-height: 1;
	vertical-align: baseline;
	position: relative;
	font-size: 75%;
}

sup { bottom: 1ex; }
sub { top: .5ex; }

/* Table Definitions */
table { border-collapse: collapse; }
tr { background-color: var(--neutral-color-light); }
tr:nth-child(even) { background-color: #fff; }
th { background-color: var(--logo-color-1); color: var(--font-color-light); padding: 5px 10px; border-right: 2px dotted #fff; 
		text-align: center; }
th:first-child { text-align: left; }
td { color: var(--font-color); padding: 5px 10px; border-right: 2px dotted #fff; text-align: center; }
td:first-child { text-align: left; }
