/* v 20210423 */

html,body {
	font-family: helvetica, arial, sans-serif;
	background-color: black;
	color: white;
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
	overflow:hidden;
}

#bodyflex {
	display: flex;
	flex-direction: column;
	height: 100%;
}

#willkommen {
	display: flex;
	flex-direction: column;
	height: 100%;
}

#willkommen_text {
	font-size: 1.2em;
	color: silver;
	animation: fadeIn 5s;
}


.bodyflexhead {
	flex-grow: 0;
	min-height: 2em;
}

.bodyflexmain {
	background-color: white;
	min-width: 97%;
}

.bodyflexwetter {
	flex-grow: 0;
	width: 100%;
}

#wetterflex {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding-bottom: 0.5em;
	min-height: 2.5em;
}

.wetteritem {
	flex-grow: 0;
	font-size: 1.6em;
}

.wetterinfo {
	font-size: 0.7em;
	font-style: italic;
}

.wetterwarntext {
	font-size: 1.5em;
}

#warnung_balken {
	width: 100%;
	height: 2em;
	display: none;
}

.warn_event {
	color: white;
}
.warn_headline {
	font-weight: bold;
	text-decoration: underline;
	font-size: 110%;
	padding: 5px;
	text-align: left !important;
}
.warn_region {
	font-weight: bold;
	font-size: 80%;
	padding: 5px;
	text-align: left !important;
}
.warn_message {
	font-weight: normal;
	font-size: 100%;
	padding: 5px;
	text-align: left !important;
}
.warn_time {
	font-weight: normal;
	font-style: italic;
	font-size: 75%;
	padding: 5px;
	text-align: left !important;
}

.bodyflexfoot {
	flex-grow: 0;
	min-height: 2em;
}

/* Header */

#header {
	display: flex;
	justify-content: space-between;
	flex-flow: row wrap;
	align-items: center;
	padding: 0.5em;
	background-color: #202020;
}

.headerflex {
	flex-grow: 1;
}

#header_org {
	text-align: left;
	color: silver;
	font-size: 1.5em;
	font-weight: bold;
}
#header_teil {
	text-align: center;
	color: red;
	font-size: 2.0em;
	font-weight: bold;
}
#header_display {
	text-align: right;
	color: yellow;
	font-size: 1.5em;
	font-weight: bold;
}

/* Footer */

#footer {
	display: flex;
	justify-content: space-between;
	flex-flow: row wrap;
	align-items: center;
	padding: 0;
	background-color: #202020;
	width: 100%;
	/* min-height: 1.8em; */
}

.footerflex {
	flex-grow: 1;
}

#footer_copy{
	text-align: left;
	color: silver;
	font-size: 1.2em;
	font-weight: bold;
	padding: 0.2em;
}
#footer_info {
	text-align: center;
	color: silver;
	font-size: 0.7em;
	/* font-weight: bold; */
	padding: 0.2em;
}

#footer_debug {
	text-align: center;
	color: red;
	font-size: 0.7em;
	/* font-weight: bold; */
	padding: 0.2em;
}

#footer_zeit {
	text-align: right;
	color: silver;
	font-size: 1.2em;
	font-weight: bold;
	padding: 0.2em;
}

/* MAIN BODY */

.mainflex {
	padding: 0;
	margin: auto;
	background-color: black;
	display: flex;
	flex-direction: column;
	min-height: 80%;
}

.flexrow {
	display: flex;
	justify-content: space-between;
	flex-flow: row wrap;
	align-items: center;
	padding: 0.1em;
}

.flexrow div {
	text-align: center;
	margin: auto;
	flex-grow: 0;
}

.alarm_flex {
	background-color: #202020;
	border-radius: 5px;
	padding: 0.2em;
}


.infoalarm_flex {
	background-color: #202020;
	border-radius: 5px;
	padding: 0.2em;
}

/* ALARM */

#alarm {
	border: solid 0.75em red;
	padding: 0.4em;
	background-color: white;
	height: 100%;
	display: flex;
	flex-direction: column;
	height: 100%;
}

#alarm_info {
	text-align: center;
	vertical-align: center;
	background-color: red;
	/*flex-grow: 0 !important;*/
	min-height: 4em;
}

#alarm_uhr {
	color: white;
	font-weight: bold;
	font-size: 3.5em;
	padding: 0.1em;
	text-align: center;
	font-family: monospace;
}

#alarm_zeiter {
	color: yellow;
	font-weight: bold;
	font-size: 4em;
	padding: 0.1em;
	text-align: center;
	font-family: monospace;
}

#alarm_zeit {
}

#alarm_id {
	display: none;
}

#alarm_timer {
	color: green;
	font-weight: bold;
	font-size: 3.5em;
	padding: 0.1em;
	text-align: center;
	font-family: monospace;
}

#alarm_fixtext {
	color: red;
	font-weight: bold;
	font-size: 4.2em;
	padding: 0.1em;
	text-align: center;
	margin-top: 0.2em;
	margin-bottom: 0.2em;
}

#alarm_meldung {
	color: black;
	font-weight: bold;
	font-size: 4.5em;
	padding: 0.1em;
	text-align: center;
	margin-top: 0.2em;
	margin-bottom: 0.5em;
	flex-grow: 1;
}

#alarm_aao_box {
	font-size: 1.2em;
	font-weight: bold;
}

#alarm_aao div {
	font-size: 1.5em;
	font-weight: bold;
	border: solid 1px red;
	margin: 0.2em;
	background-color: red;
	border-radius: 5px;
}

#alarm_history_box {
z-index: 1000;
	font-size: 1.0em;
	font-weight: bold;
}

.history_header {
	color: lime;
}

#alarm_history {
	flex-direction: column;
}

#alarm_history div {
	/*font-size: 1.5em;*/
	margin: 0.2em;
	font-size: 1em;
}

#alarm_iframe {
	display: none;
}

/* INFO */

#infoalarm {
	border: solid 0.75em blue;
	padding: 0.4em;
	background-color: white;
	height: 100%;
	display: flex;
	flex-direction: column;
	height: 100%;
}

#infoalarm_info {
	text-align: center;
	vertical-align: center;
	background-color: blue;
	/*flex-grow: 0 !important;*/
	min-height: 4em;
}

#infoalarm_uhr {
	color: white;
	font-weight: bold;
	font-size: 3.5em;
	padding: 0.1em;
	text-align: center;
	font-family: monospace;
}

#infoalarm_zeiter {
	color: yellow;
	font-weight: bold;
	font-size: 4em;
	padding: 0.1em;
	text-align: center;
	font-family: monospace;
}

#infoalarm_zeit {
}

#infoalarm_id {
	display: none;
}

#infoalarm_timer {
	color: red;
	font-weight: bold;
	font-size: 3.5em;
	padding: 0.1em;
	text-align: center;
	font-family: monospace;
}

#infoalarm_fixtext {
	color: blue;
	font-weight: bold;
	font-size: 4.2em;
	padding: 0.1em;
	text-align: center;
	margin-top: 0.2em;
	margin-bottom: 0.2em;
}

#infoalarm_meldung {
	color: black;
	font-weight: bold;
	font-size: 4.5em;
	padding: 0.1em;
	text-align: center;
	margin-top: 0.2em;
	margin-bottom: 0.5em;
	flex-grow: 1;
}

#infoalarm_aao_box {
	font-size: 1.2em;
	font-weight: bold;
}

#infoalarm_aao div {
	font-size: 1.5em;
	font-weight: bold;
	border: solid 1px red;
	margin: 0.2em;
	background-color: red;
	border-radius: 5px;
}

#infoalarm_history_box {
z-index: 1000;
	font-size: 1.0em;
	font-weight: bold;
}
#infoalarm_history {
	flex-direction: column;
}

#infoalarm_history div {
	/*font-size: 1.5em;*/
	margin: 0.2em;
	font-size: 1em;
}

#infoalarm_iframe {
	display: none;
}


.big {
	font-size: 5.4em !important;
}
.normal{
	font-size: 4.8em !important;
}
.small1{
	font-size: 4.4em !important;
}
.small2 {
	font-size: 3.8em !important;
}

/* STANDBY */

#standby {
	color: darkgrey;
	font-weight: bold;
	font-size: 10em;
	padding: 0.1em;
	text-align: center;
}

#standby_zeit {
	padding: 0.1em;
	margin: auto;
	font-size: 1.0em;
	font-weight: bold;
}
#standby_alarm {
	padding: 0.8em;
	margin: auto;
	font-size: 0.3em;
	font-family: monospace;
	font-weight: normal;
	color: orange;
}
#standby_text {
	padding: 0.2em;
	margin: auto;
	font-size: 0.6em;
	color: whitesmoke;
	font-weight: normal;
}

/* MODAL */

.modal {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color:rgba(0, 0, 0, 0.8);
}

.modal-content {
	/* background-color: #252525; */
	background-color: rgba(160,25,25,0.8);
	margin: auto;
	margin-top: 15%;
	/*width: 60%;*/
	max-width: 50%;
	min-height: 50%;
	color: white;
	font-size: 2em;
	padding: 0.5em;
	border-radius: 10px;
}

.modal-content input {
	font-size: 1.5em;
	background-color: #353535;
	color: darkgrey;
	border: none;
	margin: 0.2em;
	max-width: 100%;
}

.modal-content .password{
	max-width: 73%;
}

.modal-content button {
	font-size: 1.1em;
	background-color: #353535;
	color: darkgrey;
	border: none;
	margin: 0.3em;
	border-radius: 5px;
}

.modal-content button:hover {
	background-color: #666666;
	color: white;
}

#auth_message {
	text-align: center;
	color: silver;
	font-family: monospace;
	font-size: 0.6em;
	padding: 0.2em;
	width: 100%;
}

.bg-green {
	background-color: green;
}

.bg-red {
	background-color: red;
}

.cpointer {
	cursor: pointer;
}

.cprogress{
	cursor: progress;
}

.chelp {
	cursor: help;
}

.inline {
	display: inline;
}




/* TOOLTIP */
.tooltip {
	position: relative;
	display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
	visibility: hidden;
	min-width: 150px;
	max-width: 25%;
	background-color: rgba(160,25,25,0.8);
	text-align: center;
	padding: 5px 0;
	border-radius: 6px;
	bottom: 1.5em;
	color: white;
	/* Position the tooltip text - see examples below! */
	position: absolute;
	z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
	visibility: visible;
}

#player {
	display:none;
}

#changelog_head {
	font-size: 0.7em;
	padding-bottom: 0.3em;
}

#changelog_cont {
	width: 90%;
	height: 60%;
}
#changelog_txt {
	max-height: 90% ;
	overflow: auto;
	color: black;
	background-color: white;
	font-family: monospace;
	font-size: 0.6em;
	white-space: nowrap;
}

/* CONTEXT-MENUE */

#ctxMenu{
    display:none;
    z-index:100;
}

menu {
    position: absolute;
    display: block;
    left: 0px;
    top: 0px;
    height: 20px;
    width: 20px;
    padding: 0.2em;
    margin: 0;
    border: 1px solid black;
    background-color: #606060;
    font-weight: normal;
    white-space: nowrap;
	color: silver;
	text-align: center;
}
menu:hover{
    font-weight: bold;
	background-color: #555555;
	color: white
}
menu:hover > menu{
    display: block;
}
menu > menu{
    display: none;
    position: relative;
    top: -20px;
    left: 100%;
    /*width: 55px;*/
	width: 8em;
	margin: 0;
	border: none;
}
menu[title]:before{
    content:attr(title);
}
menu:not([title]):before{
    content:"\2630";
	color: red;
	font-weight: bold;
}

#msgbox_head {
	font-size: 0.8em;
	margin-bottom: 0.6em;
	color: silver;
	background-color: #202020;
	padding: 0.2em;
	text-align: center;
}

#msgbox_text {
	text-align: center;
	font-size: 0.8em;
	font-weight: normal;
	margin-bottom: 0.6em;
}

.flex {
	display: flex;
	justify-content: center;
	align-items: center;
}

.flexcol {
	padding: 0;
	display: flex;
	flex-direction: column;
}

.withmap {
	display: inline;
	width: 50% !important;

}

.alarm_map {
	width: 25em !important;
	height: 25em !important;
	margin: 0.3em;
}

.alarm_map_label {
	color: black;
	font-weight: bold;
	margin: 0.3em;
	text-align: center;
}

#alarm_map_route {
	font-size: 100%;
}

/* Widget-Part */

#colorpicker.widget {
	position: absolute;
	top: 25%;
	left: 50%;
	display: none;
	z-index: 5000;
}

#main.widget {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	width: 100%;
	zoom: 1;
}

#info.widget {
	color: grey;
	font-size: 0.75em;
	font-family: serif;
	font-style: italic;
	padding: 2em;
	text-align: center;
	display: none;
}

.widget .button {
	padding: 0.1em;
	margin: 0.1em;
	font-size: 0.9em;
	border: solid white 1px;
	border-radius: 4px;
	width: 1em;
	height: 1em;
	display: inline-block;
	text-align: center;
	background: rgba(88 ,88 ,88, .75);
}

#control.widget {
	position: absolute;
	top: 1em;
	right: 1em;
}

#footer.widget {
	position: absolute;
	bottom: 0;
/*	background: rgba(0,0,0,.10);	*/
	
	background-image: linear-gradient(to bottom, transparent, rgba(0,0,0)50%);
	
	text-align: center;
	width: 100%;
}

#abruf.widget {
	color: darkgrey;
	font-size: 0.5em;
	font-family: sans-serif;
	padding: 0.5em;
	margin: auto;
}

#msg_fixtext.widget {
	color: red;
	font-size: 2.5em;
	font-family: sans-serif;
	font-weight: bold;
	padding: 0.2em;
	text-align: center;
}

#msg_fixtext.alarm {
	color: white;
	background-color: rgba(255, 0, 0, .25);
	width: 95%;
	margin-left: auto;
	margin-right: auto;
}

#msg_fixtext.info {
	color: white;
	background-color: rgba(0, 0, 255, .25);
	width: 95%;
	margin-left: auto;
	margin-right: auto;
}

#msg_meldung.widget {
	color: white;
	font-size: 4em;
	font-family: monospace;
	padding: 0.2em;
	text-align: center;
}

#msg_alarmzeit.widget {
	color: white;
	font-size: 2em;
	font-family: sans-serif;
	font-weight: bold;
	padding: 0.2em;
	text-align: center;
}

#meldung.widget {
	width: 100%;
	display: none;
}

#meldungen.widget {
	width: 100%;
	display: none;
}

#msg_table.widget {
	vertical-align: center;
	text-align: center;
	margin: 0 auto;
	border-collapse: collapse;
	width: 95%;
}

#msg_table.widget tr {
	/* border-bottom: dotted thin rgba(255, 255, 255, .15); */
}

#msg_table.widget tr:last-child  {
	border-bottom: 0;
}

#msg_table.widget tr.info  {
	background-color: rgba(0, 0, 255, .15);
}

#msg_table.widget tr.alarm  {
	background-color: rgba(255, 0, 0, .15);
}

.widget .td_msg_fixtext {
	color: yellow;
	font-size: 1em;
	font-family: sans-serif;
	padding: 0.2em;
	text-align: center;
	font-weight: bold;
}

.widget .td_msg_meldung {
	color: white;
	font-size: 1.5em;
	font-family: sans-serif;
	padding: 0.2em;
	text-align: center;
}

.widget .td_msg_alarmzeit {
	color: yellow;
	font-size: 0.75em;
	font-family: sans-serif;
	padding: 0.2em;
	text-align: center;
}

#auth.widget {
	display: none;
}

#auth_info.widget {
	font-size: 2em;
	font-weight: bold;
	text-align: center;
	color: red;
}

#auth.widget input,button {
	display: block;
	padding: 0.2em;
	font-size: 1.5em;
	border-radius: 4px;
	margin: 0.2em;
	margin-top: 0em;
	background: rgba(88 ,88 ,88, .75);
	color: white;
}

#auth.widget label {
	display: block;
	margin-top: 0.5em;
	margin-bottom: 0em;
	font-size: 0.75em;
	font-weight: bold;
}

#auth.widget fieldset {
	margin: 0.5em;
	padding: 0.5em;
}

#auth.widget legend {
	font-size: 1em;
	font-weight: bold;
	color: yellow;
}

#willkommen_text.widget {
	width: 90%; 
	font-weight: bold; 
	font-style: italic;
}