html, body {
	display: flex;
	display: -ms-flexbox; /* IE 10 */
	min-height: 100vh;
	/*height:100%;*/
	flex-direction: column;
	-ms-flex-direction: column; /* IE 10 */
	margin: 0;
	padding: 0;
	font-family: "Lucida Sans Unicode", "Lucida Grande", Lucida, Arial, sans-serif !important;
	font-size: 1.0em !important;
}

.hidden {
	display:none;
}

/*iFrame Check*/
.header, .footer {
	display:none;
}

.content > div > ul {
	box-sizing: content-box;
}

/**, ::before, ::after {
    box-sizing: content-box;
}

.content > div > ul {
	box-sizing: content-box;
}

form {
	box-sizing: content-box;
}

form > input {
}
	box-sizing: content-box;

form > label {
	box-sizing: content-box;
}*/

h1, h2, h3, h4, h5, h6, h7, h8, h9 {
	font-family: "Lucida Sans Unicode", "Lucida Grande", Lucida, Arial, sans-serif !important;
	font-weight: bold;
	margin: 1.2em 0 0.9em;
	color: #1967B9;
}

.caption {
	font-family: "Lucida Sans Unicode", "Lucida Grande", Lucida, Arial, sans-serif !important;
	font-weight: bold;
	margin: 1.2em 0 0.9em;
	color: #1967B9;
	font-size:20px;
}

a, a:active, a:hover, a:visited, a:link {
	text-decoration: none;
	color: #1967B9;
	margin: 2px;
	text-shadow: none;
	font-weight: normal;
}

label {
	padding-top: 0.5em;
	color: #1967B9;
}

label.label_vor:before {
	content: "\A";
	white-space: pre-wrap;
}

label.label_vor:after {
	content: "\A";
	white-space: pre-wrap;
}

label.label_nach:after {
	content: "\A";
	white-space: pre-wrap;
}

label.label_vor:first-of-type:before {
	content: "";
	white-space: pre-wrap;
}

.closeW3Modal {
	margin-top:-16px;
}

.hsBlueIcon {
	color: #fff !important;
	background-color: #1967B9 !important;
}

.redIcon {
	color: red;
}

.greenIcon {
	color: green;
}

/*span.error:before {
	content: "\A";
	white-space: pre-wrap;
}*/

input[type=checkbox] {
	margin-left: -4px;
}

input[type=file] {
	margin-left:0px;
}

input[type=reset] {
	margin-left:0px;
}

input[type=submit] {
	margin-left:15px;
}

.content > div:after {
	content: "\A";
	white-space: pre-wrap;
}

.inputfile {
	width: 0.1px;
	max-width: 1vw;
	height: 0.1px;
	max-height: 1vh;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

.inputfile + label {
    /*font-size: 1.25em;
    font-weight: 700;*/
    /*color: white;
    background-color: black;*/
    display: inline-block;
	cursor: pointer; /* "hand" cursor */
}

.inputfile + label span {
	max-width: 80vw;
}

.inputfile:focus + label,
.inputfile + label:hover {
    /*background-color: red;*/
}

.inputfile:focus + label,
.inputfile.has-focus + label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

.inputfile + label * {
	pointer-events: none;
}

.js .inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.no-js .inputfile + label {
    display: none;
}

.header {
	min-height: 10vh;
	background-color: #f4f8fa;
	flex-direction: row;
	-ms-flex-direction: row; /* IE 10 */
	justify-content: space-between;
	-webkit-justify-content: space-between;
	/*-ms-flex-pack: start;*/  /* IE 10 */
	color:#1967B9;
	text-align: left;
	display: flex;
	display: -webkit-flex;
	display: -ms-flexbox; /* IE 10 */
	padding: 10px;
}
#header_left {
	flex: 1 0 auto;
}

@-moz-document url-prefix() {
 #header_left{
      flex: 1;
    }
}

#header_left ul {
	margin-top:0px;
	padding-left: 0px;
	display: flex;
	display: -ms-flexbox; /* IE 10 */
	list-style: none;
	justify-content: space-between;
	-webkit-justify-content: space-between;
	/*-ms-flex-pack: start; */ /* IE 10 */
	flex-direction: column;
	height: 100%;
}
#header_left ul li {
	
}

#title {
	font-size: 1.3em;
}
#header_right {
	-webkit-justify-content: space-around;
	justify-content: space-around;
	height: 100%;
	display: -webkit-flex;
	display: -ms-flexbox; /* IE 10 */
	display: flex;
	flex-direction: column;
	-ms-flex-direction: column; /* IE 10 */
}
/*#logo {
	 width: 300px;
	 height: 93px: 
}*/

#logo {
		display: block;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		background: url(HSM_Logo_V_blau_rgb.png) no-repeat;
		width: 300px; /* Width of new image */
		height: 93px; /* Height of new image */
		padding-left: 300px; /* Equal to width of new image */
	}

.body {
	display: none;
	flex: 1 0 auto;
	background-color: #fff;
	padding: 10px;
	min-height: 1vh;
	align-items: center;
	-ms-flex-align: center; /* IE 10 */
	justify-content: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;  /* IE 10 */
}

@-moz-document url-prefix() {
 .body{
      flex: 1;
    }
}

noscript {
	display: flex;
	display: -ms-flexbox; /* IE 10 */
	flex: 1 0 auto;
	background-color: #fff;
	padding: 10px;
	min-height: 1vh;
}

@-moz-document url-prefix() {
 .noscript{
      flex: 1;
    }
}
		
.content {
	/*flex: 1;*/
	display: -webkit-flex;
	display: -ms-flexbox;  /* IE 10 */
	display:flex;
	/*align-items: center;
	justify-content: center;
	-webkit-justify-content: center;*/
}
.content ul {
	padding-left: 0px;
	margin:0px;
	flex-direction: row;
	-ms-flex-direction: row; /* IE 10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE 10 */
	justify-content: space-around;
	-webkit-justify-content: space-around;
	-ms-flex-pack: justify;  /* IE 10 */
	list-style: none;
	display: flex;
	display: -ms-flexbox; /* IE 10 */
}

.content ul li {
	padding: 10px;
	width: 15em;
	text-align: center;
	height: 7em;
	background-color: #1967B9;
	border: 1px solid #000;
	border-radius: 10px 10px 10px 10px;
	color: #fff;
	margin: 10px;
}

.content ul li a {
	height: 7em;
	width: 15em;
	text-align: center;
	display: -webkit-flex;
	display: -ms-flexbox; /* IE 10 */
	display: flex;
	justify-content: space-around;
	-webkit-justify-content: space-around;
	-ms-flex-pack: justify;  /* IE 10 */
	align-items: center;
	-webkit-align-items: center;
	-ms-flex-align: center; /* IE 10 */
}
.content ul li a img {
	height: 5em;
	margin-left: 10px;
	margin-top: 10px;
}
.content ul li a span {
	margin-left: 5px;
	margin-right: 10px;
	max-width: 10em;
	text-align:right;
}

.content ul li a span span:not(:last-child):after {
	content: "\A";
	white-space: pre-wrap;
}

.content ul li a span span {
	text-align:right;
	margin-right: -10px;
}

.content ul li a, .content ul li a:active, .content ul li a:hover, .content ul li a:visited, .content ul li a:link {
	color: #fff;
}

.footer {
	background-color: #1967B9;
	min-height: 1vh;
	color: #fff;
	text-align: left;
	padding: 10px;
}
.footer ul {
	padding-left: 0px;
	margin:0px;
	display: flex;
	display: -ms-flexbox; /* IE 10 */
	list-style: none;
	justify-content: space-around;
	-webkit-justify-content: space-around;
	-ms-flex-pack: justify;  /* IE 10 */
	flex-direction: row;
	-ms-flex-direction: row; /* IE 10 */
	height: 100%;
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE 10 */
}
.footer ul li {
	min-width: 1em;
}

.footer ul li a, .footer ul li a:active, .footer ul li a:hover, .footer ul li a:visited, .footer ul li a:link {
	color: #fff;
}

.error_img {
	width: 35px;
	height: 35px;
	background-repeat: no-repeat;
	background: url(../img/schalter.png ) -35px 0;
}

.success_img {
	width: 35px;
	height: 35px;
	background-repeat: no-repeat;
	background: url(../img/schalter.png ) 0 0;
}

.langswitch a, .langswitch a:active, .langswitch a:hover, .langswitch a:visited, .langswitch a:link  {
	color : #FFFFFF;
	text-decoration: underline;
}
.langswitch_active {
	color : #FFF;
	font-weight: bold;
	text-decoration: none;
}		
/*.ui-popup {
	background-color:#fff;
}

.ui-input-text, .ui-btn {
	max-width:95%;
}

.ui-btn {
	background-color:#1967B9;
	color: #fff;
}
.ui-icon-delete {
	background-color:#FF0000;
}*/

.input_error {
	background-color: #ffff92;
	border-color: #ff0000;
}
.error {
    color: #ff0000;
 	font-size: 0.9em;
}

.hinweis {
	color: #FE642E;
 	font-size: 0.9em;
}

.fa-stack {
	vertical-align: text-top;
}

/*.hinweis:after {
	content: "\A\A";
	white-space: pre-wrap;
}*/

div.table {
	display: table;
	border-collapse: collapse;
}

div.tr {
	display: table-row;
}

div.td {
	display: table-cell;
	border: 0;
	padding: 5px;
}

.messageContainer {
	display: flex;
	display: -ms-flexbox; /* IE 10 */
	justify-content: flex-start;
	-webkit-justify-content: flex-start;
	-ms-flex-pack: start;  /* IE 10 */
	align-items: center;
	-webkit-align-items: center;
	-ms-flex-align: center; /* IE 10 */
	max-width: 90%;
}
.messageContainer span {
	min-width: 40px;
	padding: 5px;
}

.messageContainer > span:first-of-type {
	margin-right:15px;
}

.hinweis {
	display: none;
}

.nobreak {
	white-space: nowrap;
}

.popupIcon {
	display: none;
}

/*.grecaptcha-badge {
	bottom: 10px;
}*/

/*form label:last-of-type {
	display:none;
}
form label:last-of-type + input  {
	display:none
}*/

@Media (max-width: 550px) {
	#logo {
		display: block;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		background: url(HSM_Logo_V_Bildmarke_blau.png) no-repeat;
		width: 102px; /* Width of new image */
		height: 93px; /* Height of new image */
		padding-left: 102px; /* Equal to width of new image */
	}
	
	.ausblenden {
		display:none;
	}

}

@Media (max-width: 400px) {
	
	.footer ul {
		align-items: flex-start;
		-webkit-align-items: flex-start;
		-webkit-align-content: flex-start;
		-ms-flex-align: start; /* IE 10 */
		flex-direction: column;
		-ms-flex-direction: column; /* IE 10 */
	}
	/*.grecaptcha-badge {
		bottom: 15vh;
	}*/

}

@Media (max-width: 600px) {
	div.td {
		display: block;
	}
}

@Media (max-width: 500px) {
	.anmerkungen {
		display:none !important;
	}
	.anmerkungen_fussnoten {
		display: none;
	}
	.popupIcon {
		display: inline-block;
	}
}

@Media (min-width: 501px) {	
		
	.hinweis {
		display: block;
	}
	/*.ui-input-text, .ui-btn {
		max-width:60%;
	}*/
}
@Media (min-width: 250px) {	
		
	/*.hinweis {
		display: block;
	}*/
	/*.ui-input-text, .ui-btn {
		max-width:60%;
	}*/
}