/**********************

Content 
   1.Startseite
     1.1.Hauptthemen
	 1.2.Unterthemen
	 1.3.IconSelector
	 1.4.Login
   2.Themenseite
     2.1 adminHeader
     2.2 userHeader
	 2.3 userMenu

     2.4 Content
         2.4.1 boxen sis
         2.4.2 boxen dashboard
         2.4.3 breadcrumb
         2.4.4 Boxen allgemein und Grid-Anordnung
	Flyover-Menus
*/


/* ------------ */
/* 1.Startseite */
body.index {
	margin: 0px;
	padding: 0;
}

/* 1.1.Hauptthemen */
#NeuesHauptthema,
.templateHauptthema,
.hauptthemaIcon,
.hauptthemaTitle,
.NeuesUnterthema,
.templateUnterthema,
.unterthemaTitle {
	position:relative;
	cursor: pointer;
}

.hauptthemaTools {
	position: absolute;
	display: None;
	left: 0px;
	right: 0px;
	top: 0px;
	background: rgba(255, 255, 255, 0.5);
	border: solid 1px lightgrey;
	border-radius: 2px;
	padding: 1px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	padding: 0;
	margin: 7px;
	margin-right: 11px;
}

.hauptthemaTools img {
	display: inline-block;
	cursor: pointer;
	width: 32px;
	height: 32px;
	margin: 6px 2px 0;
}
.hauptthema:hover .hauptthemaTools {
	display: inline-block;
}
.hauptthemaTools img.ht-tools-truncate {
	display: None;
}
.trashbin .hauptthemaTools img {
	display: None;
}
.trashbin	.hauptthemaTools img.ht-tools-truncate {
	display: inline-block;
}


/* 1.2.Unterthemen */
.unterthema {
	position: relative;
}
.unterthema.is-dragging .unterthemaTitle {
	border: solid 1px black;
	border-radius: 10px;
	background: black;
	padding-left: 10px;
	padding-right: 10px;
}
.unterthemaTools {
	position: absolute;
	display: None;
	right: 0px;
	top: 0px;
	background: white;
	border: solid 1px lightgrey;
	border-radius: 2px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	padding: 0;
	margin: 0;
}

.unterthemaTools img {
	display:inline-block;
	cursor: pointer;
	width: 24px;
	height: 24px;
}
.unterthema:hover .unterthemaTools {
	display: inline-block;
}
.unterthemaTools img.ut-tools-remove {
	display: None;
}
.trashbin .unterthemaTools img {
	display: None;
}
.trashbin .unterthemaTools img.ut-tools-remove,
.trashbin .unterthemaTools img.ut-tools-move
{
	display: inline-block;
}
.trashbin .lineindex,
.trashbin .NeuesUnterthema
{
	display: None;
}

/* 1.3.IconSelector */
body.index .iconSelector,
body.index .iconSelector .iconSelectorBody,
body.index .iconSelector .boxContent,
body.index .iconSelector .boxTitle,
body.index .iconSelector .boxClose {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 0;
	background: white;
}
body.index .iconSelector {
	display:none;
	position: fixed;
	z-index: 19;
	background: rgba(255,255,255,0.6);
}

body.index .iconSelector .iconSelectorBody {
	margin: 150px 50px 150px 200px;
	border-radius:3px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.6);
	overflow: hidden;
}

body.index .iconSelector .boxContent {
	top: 42px;
	padding: 2%;
	overflow: auto;
	height: auto; /* calc(100% - 84px) */
}

body.index .iconSelector .boxContent img.themenIcon {
	padding: 8px;
	width: 120px;
	height: 120px;
	background-color: white;
	margin: 5px;
	border:solid 2px white;
	cursor:pointer;
}

body.index .iconSelector .boxContent img.themenIcon:hover {
	border: solid 2px blue;
}

body.index .iconSelector .boxTitle {
	height: 38px;
	padding: 2px 20px;
	background: lightgrey;
	font-size: 24px;
	font-weight: 400;
}
body.index .iconSelector .boxClose {
	left:auto;
	width: 25px;
	height: 25px;
	z-index: 21;
	border: solid 1px black;
	background: white;
	cursor: pointer;
}

/* 1.4.Login */
.sidebar {
	height: 0px; /* Animate JS */
	width: 187px;
	position: fixed;
	z-index: 1;
	top: 0px;
	right: 40px;
	background-color: lightgrey;
	text-decoration: none;
	overflow-y: hidden;
	padding-top: 0px;
	transition: 0.5s;
	padding:0;
	margin:0
}
.sidebar>.row {
	margin:5px
}

.sidebar a {
	padding: 14px 14px 14px 14px;
	text-decoration: none;
	font-size: medium;
	text-shadow: 3px 3px 4px #FFFFFF;
	color: #818181;
	display: block;
	transition: 0.3s;
}

.sidebar a:hover {
	color: #f1f1f1;
}

.sidebar .closebtn {
	position: absolute;
	top: -3px;
	right: 0px;
	font-size: 24px;
}

.openbtn {
	font-size: 20px;
	height: 50px;
	right: 40px;
	cursor: pointer;
	color: white;
	background-color: transparent;
	padding: 10px 15px;
	border: none;
}

.openbtn:hover {
	color: black;
} 

/* 2.Themenseite */
body .themenseite, body.sis, body.dashboard {
	position: absolute;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	margin: 0;
	padding: 0;
}
body.sis {
	background-image:url('../pics/blue_bg1920light.jpg');
	background-color: #9acefe;
}
body.dashboard {
	overflow: hidden; /* Hide scrollbars */
}

/* 2.1 adminHeader */
body.dashboard .admin-header {
	position: fixed;
	top: 0;
	left: 0;
	height:32px;
	width: 100%;
	min-width: 600px;
	z-index: 18;
	padding-left: 5px;
	direction: ltr;
	color: white; /* #ccc;*/
	font-size: 13px;
	font-weight: 400;
	line-height: 2.46153846;
	background: #23282d;
}

body.dashboard .admin-header > div {
	position: absolute;
	/*display: inline-block;*/
	top: 0; 
	height: 32px;
	margin: 0;
	padding: 0;
	line-height:32px;
}

body.dashboard .admin-header .admin-header-back {
	left: 0;
}

body.dashboard .admin-header .admin-header-back svg {
	padding: 2px;
	width: 28px;
	height: 28px;
	fill: white;
}

body.dashboard .admin-header .user-header-state {
	left:40px;
	width:280px;
}

body.dashboard .admin-header .user-header-state .title {
	padding: 3px 7px;
}

body.dashboard .admin-header .user-header-state .state {
	position: absolute;
	background: darkgrey;
	width: 160px;
	height: 32px;
	left: 60px;
	text-align: center;
}

body.dashboard .admin-header .user-header-state .options {
	position: absolute;
	display: none;
	background-color: #23282d; /*#f9f9f9;*/
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	padding: 0; /* 10px 10px 10px 10px; */
	z-index: 1;
	top: 0; /* 32px; */
	left: 30px;
	width: 220px;
}

body.dashboard .admin-header .user-header-state:hover .options {
	display: inline-block;
}

body.dashboard .admin-header .user-header-state .options li {
	background-color: #23282d;
	cursor: pointer;
	text-decoration: none;
	width: 220px;
	margin: 0;
	padding: 3px 0; 
	text-align: center
}

body.dashboard .admin-header .user-header-state .options li:hover {
	background-color: darkgrey;
	cursor: pointer
}

body.dashboard .admin-header .user-header-state .options li img {
	position: relative;
	top: 0;
	height: auto;
	margin: 0;
	padding: 0;
	vertical-align: middle;
}
body.dashboard .admin-header .user-header-height {
	left:280px;
}

body.dashboard .admin-header .user-header-height input.state {
	background: darkgrey;
	border: 0;
	outline: none;
	width: 30px;
	height: 32px;
	margin: 0;
	padding: 0 7px;
	text-align: right;
	color: white;
	font-weight: 400;
}

body.dashboard .admin-header .user-header-height input.state:hover,
body.dashboard .admin-header .user-header-height input.state:focus {
	background: white;
	color: black;
}

body.dashboard .admin-header .user-theme-select {
	left:380px;
	width: 180px;
}

body.dashboard .admin-header .user-theme-select .title {
	padding: 3px 7px;
}

body.dashboard .admin-header .user-theme-select .state {
	display:inline-block;
	background: darkgrey;
	width: 60px;
	height: 32px;
	left: 60px;
	text-align: center;
}

body.dashboard .admin-header .user-theme-select .options {
	display: none;
	position: absolute;
	background-color: #23282d; /*#f9f9f9;*/
	min-width: 60px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	padding: 0; /* 10px 10px 10px 10px; */
	z-index: 1;
	top: 0;/* 32px; */
	left: 30px;
	width: 90px;
}

body.dashboard .admin-header .user-theme-select:hover .options {
	display: inline-block;
}

body.dashboard .admin-header .user-theme-select .options li {
	background-color: #23282d;
	cursor: pointer;
	text-decoration: none;
	width: 120px;
	margin: 0;
	padding: 3px 0; /*  30px; */
	text-align: center
}

body.dashboard .admin-header .user-theme-select .options li:hover {
	background-color: darkgrey;
	cursor: pointer
}

/* 2.2 userHeader */
body.dashboard .user-header .boxContent {
	display: table;
	width: 100%;
	max-height: 100%;
	margin: 0;
	padding: 0;
	border-spacing: 10px;
}
.user-header .boxContent div {
	display: table-cell;
	vertical-align: middle;
	width: 33%;
	font-size: 32px;
	color: #000000;
	/*text-shadow: 3px 3px 4px grey;*/
	white-space: nowrap
}
.user-header .boxContent .links {
	text-align: left;
}
.user-header .boxContent .mitte {
	text-align: center;
}
.user-header .boxContent .rechts {
	text-align: right;
}
body.dashboard.admin .user-header .boxContent div input.user-header-title ,
body.dashboard.admin .user-header .boxContent div:hover .title {
	height: 40px;
	width: 100%;
	min-width: 400px;
	font-size: inherit;
	font-family: inherit;
	font-weight: inherit;
	color: inherit;
	text-align: inherit;
	text-shadow: inherit;
	border: solid 1px black;
	padding: 1px;
	display: inline-block;
	cursor:text;
}

body.dashboard.admin .user-header .boxContent div input.user-header-title {
	margin: -2px;
}

body.dashboard.admin .user-header .boxContent div:hover .title {
	margin: 2px -2px;
}

/* 2.3 userMenu */
nav.overview-menu {
	position: absolute;
	z-index: 23;
	background-color: rgb(248,248,248);
	border: solid 1px darkgray;
	border-radius: 3px;
	box-shadow: rgba(0,0,0,0.4) 10px 10px;
}
nav.overview-menu div.unterthema {
	text-align: center;
}
nav.overview-menu div.unterthema > a.unterthemaTitle {
	position: relative;
	vertical-align: middle;
	font-size: 32px;
	font-weight: 700;
	color: #000000;
	/*text-shadow: 3px 3px 4px grey;*/
	white-space: nowrap;
	width: 100%;
	display: block;
}
nav.overview-menu div.unterthema > a.unterthemaTitle:hover {
	background-color: darkgrey
}
nav.overview-menu div.unterthema > a.unterthemaTitle:visited {
	color: rgb(96,96,96)
}
.user-header nav.menu div {
	position:absolute;
	display:block;
}

/* 2.4 Content */
.Geoware {
	position: absolute;
	width: 100%;
} body.sis .Geoware {
	top: 52px;
}

body.dashboard .grid-container {
	position: fixed
}


/* 2.4.1 boxen sis */
body.sis .boxContent {
	margin: 10px;
	width: calc(100% - 20px);
	max-height: calc(100% - 35px);
}

body.sis .boxHeader {
	text-align: left;
	font-size: medium;
	text-shadow: 3px 3px 4px #888888;
	padding-top: 3px;
} 


/* 2.4.2 boxen dashboard */
.boxContent {
	position: absolute;
	background-color: transparent;
	height: 100%;
	max-width: 100%;
	left: 0;
	right: 0;
	top: 25px;
	bottom: 0;
	padding: 0;
	margin: 0;
	max-height: calc(100% - 25px);
	overflow: auto
}

.box-content-range {
	position: absolute;
	bottom: 0;
}

body.dashboard .user-header .boxContent {
	top: 0;
	max-height: 100%;
}

body.dashboard .boxTitle {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 25px;
	padding: 0;
	margin: 0;
	z-index: 9;
	max-width: 100%;

	text-align: left;
	white-space: nowrap;
	font-size: 18px;
	font-weight: bolder;
	overflow: hidden;
	text-overflow: ellipsis;
} 

/* 2.4.3 breadcrumb */
li.breadcrumb_untermenu {
	white-space: nowrap;
} 

.breadcrumb_untermenu_active {
    background: #F0F0F0;
	white-space: nowrap;
	pointer-events: none;
    /* display:none; */
    /* border:solid 1px blue; */
}

.breadcrumb_separator {
	vertical-align: middle;
	display: inline-block;
	line-height: 50px;
	height: 25px;
	width: 25px
} 
  
h1.noBoxesApplied {
	font-size: medium;
} 
  
.imgcloseinit {
  display: none;
} 
  
.centerobj {
  display: grid;
  align-items: center;
  justify-content: center;
  height: 91%;
} 
  
.line {
	border-bottom: 1px solid #DDDDDD;
	margin-left: -20px;
	margin-right: -20px;
} 
	
.lineindex {
	border-bottom: 1px solid #DDDDDD;
	padding: 2px;
	margin-bottom: 2px;
} 
  
.auto-style1 {
	text-align: right;
	text-shadow: 3px 3px 4px #000000
} 
  
.titletext {
	text-align: left;
	text-shadow: 3px 3px 4px #000000
} 
  
.hauptthemaTitle {
	color: #FFFFFF;
	/*text-shadow: 3px 3px 4px #000000*/
}

.boxiconmenu {
	height: 25px;
	width: 25px;
	float: right;
} 

.boxiconmenu2 {
	height: 25px;
	width: 25px;
	float: right;
	padding: 0px 5px 2px 0px;
} 

.textflow {
	white-space: nowrap;
	width: calc(100% - 125px);
	overflow: hidden;
	text-overflow: ellipsis;
	display: inline-block;
	padding: 0px 5px;
} 

.auto-style-title {
	text-align: left;
	font-size: medium;
	color: #FFFFFF;
	text-shadow: 3px 3px 4px #000000;
	position:relative;
	z-index:9;
} 

#main {
  transition: margin-left .5s;
}
/*
ul {
  text-align: left;
  display: inline;
  margin: 0;
  padding: 5px 4px 5px 0px;
  list-style: none;
  cursor: default;
} 

ul li {
  font: 16px;
  display: inline-block;
  margin-right: -14px;
  margin-left: -10px;
  position: relative;
  padding: 0px 20px;
  background: #31495A;
  cursor: pointer;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
  text-decoration: underline;
  text-underline-offset: 4px;
} 

ul li:hover {
  background: #31495A;
  text-shadow: 3px 3px 4px #000000;
  color: #fff;
} 

ul li ul {
  padding: 0px 10px;
  position: absolute;
  top: 50px;
  left: 0;
  width: 200px;
  -webkit-box-shadow: 8px 3px 6px #000000;
  -moz-box-shadow: 8px 3px 6px #000000;
  box-shadow: 8px 3px 6px #000000;
  display: none;
  opacity: 0;
  visibility: hidden;
  -webkit-transiton: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -ms-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  -transition: opacity 0.2s;
  z-index: 1;
} 

ul li ul li { 
  background: #999999; 
  display: block; 
  color: #fff;
  text-shadow: 3px 3px 4px #000000;
  line-height: 35px;
  text-decoration: none;
} ul li ul li:hover {
  color: #fff;
  background: #888888;
  text-shadow: 3px 3px 4px #000000;
} ul li:hover ul {
  display: block;
  opacity: .98;
  visibility: visible;
} .houseicon {
	height: 32px;
	width: 32px;
	vertical-align: middle;
	display: inline-block;
	line-height: 50px;
} a {
	color: #FFFFFF;
	text-decoration: none;
} a:visited {
	color: #FFFFFF;
	text-decoration: none;
} a:active {
	color: #FFFFFF;
	text-decoration: none;
} a:hover {
	color: #FFFFFF;
	text-decoration: none;
}
	*/

/* 2.4.4 Boxen allgemein und Grid-Anordnung */
.grid-container {
	display: grid;
} 
body.sis .grid-container {
	grid-gap: 20px;
	padding: 20px;
} 
body.dashboard .grid-container {
	/*height:calc(100vh - 40px);*/
	/*width:calc(100vw - 40px);*/
	/*grid-gap: 20px;*/
	/*padding: 20px;*/
} 
.webbox {
	position: relative;
	background-color: transparent;
	text-align: center;
	font-weight: bold;
	overflow: hidden;
	display: none
} body.sis .webbox {
	border-radius: 5px;
	box-shadow: 5px 5px 5px #333333;
}
.webbox .boxContent img {
	max-width: 100%;
	max-height: 100%;
}
/* Flyover-Menus */
.box-tools, .site-tools, .user-box-tools {
	background-color: lightgrey;
	border: 0;
	color: #173C93;
	float: left;
	font-size: 14px;
	font-weight: bold;
	margin: 0;
	padding: 0;
	text-align: center;
	text-decoration: none;
	height: 25px;
	z-index: 9
}
.user-box-tools {
	float: right;
}
.user-box-tools > img, .box-tools > img.box-tools-img, .site-tools > img.site-tools-img {
	display: inline-block;
	width: 25px;
	height: 25px;
	margin: 0;
	border: 0;
	cursor: pointer;
} 
.box-tools > img.box-tools-move {
	cursor: move;
}
.box-tools > img.box-tools-bin {
	margin-left: 20px;
} 
/* Drag-Drop-Placeholder */
.dashboard-placeholder {
	display: none;
	position: absolute;
	z-index: 17;
	border: solid 4px orange;
	color: red;
	font-size: 20px;
	padding: 0;
	overflow: visible;
}
.sis-placeholder {
	display: none;
	position: absolute;
	z-index: 17;
	border: solid 4px orange;
	color: red;
	font-size: 20px;
	padding: 0;
	overflow: visible;
}
/* Drag-Drop-Sizing: boxSplitter */
.boxSplitter {
	display: none;
	position: absolute;
	z-index: 17;
	background: orange;
	margin: 0;
	padding: 0; 
	border: 0
}
/* debugInfo */
.debugInfo {
	display: none;
	left:0;
	top:0;
	position: absolute;
	z-index: 999;
	font-size: 16px;
	background: white;
	border: solid 1px darkgrey;
	padding: 5px;
	margin: 40px;
	border-radius: 5px;
	box-shadow: 7px 7px 7px 1px rgba(0, 0, 0, 0.3);
}
/* sis grid und boxen*/
body.sis .BoxS {
	grid-column: span 2;
	grid-row: span 1;
} body.sis .BoxM {
	grid-column: span 2;
	grid-row: span 2;
} body.sis .BoxL {
	grid-column: span 3;
	grid-row: span 3;
} @media only screen and (min-width: 0px) and (max-width: 768px) {
	body.sis .grid-container {
		grid-template-columns: auto auto;
	}

	body.sis .BoxS {
		width: calc(100vw - 60px);
		height: calc(50vw - 40px);
	}

	body.sis .BoxM {
		width: calc(100vw - 60px);
		height: calc(100vw - 60px);
	}

	body.sis .BoxL {
		width: calc(100vw - 60px);
		height: calc(100vw - 60px);
	}
} @media only screen and (min-width: 769px) and (max-width: 1280px) {
	body.sis .grid-container {
		grid-template-columns: auto auto auto auto;
	}

	body.sis .BoxS {
		width: calc(50vw - 40px);
		height: calc(25vw - 30px);
	}

	body.sis .BoxM {
		width: calc(50vw - 40px);
		height: calc(50vw - 40px);
	}

	body.sis .BoxL {
		width: calc(100vw - 58px);
		height: calc(100vw - 58px);
	}
} @media only screen and (min-width: 1281px) {
	body.sis .grid-container {
		grid-template-columns: auto auto auto auto auto auto;
	}

	body.sis .BoxS {
		width: calc(33.33vw - 30px);
		height: calc(16.66vw - 25px);
	}

	body.sis .BoxM {
		width: calc(33.33vw - 30px);
		height: calc(33.33vw - 30px);
	}

	body.sis .BoxL {
		width: calc(66.66vw - 38px);
		height: calc(66.66vw - 38px);
	}
}

/* Auswertungen */
svg.dxc .dx-title {
	display: none
}
svg.dxm .dxm-title {
	display: none
}
svg.dxm .dxm-background {
	fill: inherit ;
	stroke: inherit
}
/* RangeSelector bei Auswertungen > 20 Werte */
.tooltipRangeSelector {
	font-size: 14px;
	text-align: center;
	border: solid 1px black;
	background-color: lightgrey;
	padding: 2px;
}
/* Einzelwerte bei Tabellen */
.single-value-grid .dx-datagrid-table {
	width: 100%;
}
.single-value-grid .dx-datagrid-table .dx-row td {
	font-size: 2vh;
}
.single-value-grid .dx-datagrid-table .dx-row:first-child td {
	font-size: 4vh;
}
.single-value-grid .dx-datagrid-table .dx-row:first-child td.row-count-2 {
	font-size: 5vh;
}
.single-value-grid .dx-datagrid-table .dx-row:first-child td.row-count-1 {
	font-size: 6vh;
}
@media (max-device-width: 450px)/*,(max-device-height: 450px)*/ {
	body.dashboard {
		overflow-y:scroll;
	}
	.grid-container {
		position: relative;
	}
	.user-header .boxContent div {
		display: table-row
	}
	.user-header .boxContent div * {
		display: table-cell
	}
	.user-header .boxContent .title,
	.user-header .boxContent nav.menu,
	.user-header .boxContent .thema,
	.user-header .boxContent .logo {
		position: absolute;
		top: 0;
		left: 0;
		width: 50%;
		margin: 0;
		padding: 0;
		text-align:left;
		white-space:nowrap;
		display: inline-block;
		font-size: 20px;
	}
	.user-header .boxContent .title {
		top: 36px;
	}
	.user-header .boxContent nav.menu,
	.user-header .boxContent .thema {
		top: 0px;
	}
	.user-header .boxContent img.menu {
		float:left;
		margin-right :10px;
	}
	.user-header .boxContent .logo {
		left: 50%;
		object-fit: cover;
	}
	/* Kein Login in der mobilen Version */
	.openbtn{
		display:none
	}
}

@media (max-width: 600px) /*,(max-device-height: 450px)*/ {
	/* Kein Login in der mobilen Version */
	.openbtn {
		display: none
	}
}


 