/* standard.css */

/* Normalization of some styles */
main {
  display: block;
}

h1 {
  font-size: 200%;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

b,
strong {
  font-weight: bolder;
}

code,
pre,
kbd,
samp {
  font-family: monospace; /* 1 */
  font-size: 100%; /* 2 */
}

small {
  font-size: 80%;
}

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15em; /* 1 */
  margin: 0; /* 2 */
}

button,
input { /* 1 */
  overflow: visible;
}

button,
select { /* 1 */
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}
/* End of Normalization */


/* Standard Settings */
ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  border: none;
}

form {
  margin: 0;
}

blockquote {
  margin: 1em 2.5em;
}

ul {
  display: block;
  margin-bottom: 1em;
  margin-top: 1em;
  padding-left: 2.5em;
  list-style: disc outside;
}

ol {
  display: block;
  margin-bottom: 1em;
  margin-top: 1em;
  padding-left: 2.5em;
  list-style: decimal outside;
}
/* End of Standard Settings */


/* Allgemeines */
html, body {
}

body {
  padding: 0;
  margin: 1em auto;
  width: 84%;
}

body, td, a, input, select, textarea, button {
  font-family: Arial,Helvetica,sans-serif;
  color: black;
}

.standard_icon {
  height: 2em;
  width: 2em;
  vertical-align: middle;
}

.search_icon {
  height: 1.2em;
  width: 1.2em;
  vertical-align: middle;
}

.list_icon {
  height: 1.2em;
  width: 1.2em;
  vertical-align: middle;
}

.list_file_icon {
  height: 1.8em;
  width: 1.8em;
  vertical-align: middle;
}



/* Headline */
#screenheader {
  width: 100%;
  border-bottom: 2px solid black;
  position: relative;
  top: -1em;
}

#screenheader h1 {
  color:#6c1a66;
  text-align: right;
  margin-bottom: 0;
  font-family: serif;
  font-size: 2.7em;
}

#screenheader h4 {
  color:#49297a;
  text-align: right;
  margin-top: 0;
  font-size: 1em;
}

/* Menu-Rows */
#screenheadmenu {
/*  padding-bottom: 2em;*/
}


/* Styles fuer das waagerechte Menu */
#headmenu {
  width: auto;
  height: 1.2em;
  color: white;
  background: #286ca6 url(/images/ecke_rechts_18.png) no-repeat right;
}

#headmenu ul {
  float: right;
  margin: 0 16px 0 0;
  padding: 0;
}

#headmenu li {
  position: relative;
  list-style: none;
  float: left;
  border-left: 1px solid #FFFFFF;
}

#headmenu a {
  padding: 0 3px 0 3px;
  display: block;
  color: white;
  text-decoration: none;
}

#headmenu a:hover {
  color: #286ca6;
  background: #FFFFFF;
}

#headmenu a.here {
  color: #286ca6;
  background: #FFFFFF;
}


#headmenu1 {
}

#headmenu1 ul {
  display: flex;
  flex-wrap: wrap;
  /*flex-direction: column;*/
  list-style: none;
  // Safari hack, see https://www.scottohara.me/blog/2019/01/12/lists-and-safari.html
  list-style: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'/%3E");  
  margin: 0;
  padding: 0;
}

#headmenu1 li {
  margin: 0;
  padding-right: 1em;
}

/*
@media (min-width: 45em) {
  #headmenu1 ul {	
    flex-direction: row;  
  }
  #headmenu1 li {
    font-size: 1em;
  }  
}
*/

#headmenu1 a {
  text-decoration: none;
  color: black;
  font-size: 100%;
  white-space: nowrap;
  padding-left: 0;
  padding-right: 0;
}

#headmenu1 a:hover, a:focus {
  color: white;
  background: #355699;
}

#headmenu1 a[aria-current=page] {
  color: black;
  background: #BDE0FE;
}


/* Mainpart */
#screenmain {
  width: 100%;
}

#screenmainmiddle {
}

#main_flex-container {
  display: flex;
  width: 100%;
  background-color: white;
  color: black;
}

#left_flex_content {
  flex: auto;
  min-width: 12em;
  background: white url(/images/verlauf-160.png) no-repeat top left;
  padding-top: 20px;
}

#right_flex_content {
  flex: auto;
  margin-top: 1em;
  min-height: 420px;
/*  padding: 1em 1em 1em 2em;
  overflow: hidden scroll;*/
}


/* Hauptmenu */
#menu {
  color: #286ca6;
  background: #d3e7eb;
  width: 140px;
  padding-bottom: 20px;
  background: #d3e7eb url(/images/verlauf2-140.png) no-repeat bottom left;
}

#menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#menu li {
  line-height: 1.4em;
  width: 100%;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
}

#menu a {
/*  color: #286ca6;*/
  color: black;
  text-decoration: none;
  padding-left: 1em;
  display: block;
  font-size: 1em;
}

#menu a:hover       {color: #d3e7eb; background: #286ca6;}
#menu li.here       {background: url(/images/pfeil_rot_10_15.png) no-repeat 5px 4px;}
#menu ul ul a       {padding-left: 30px;}
#menu ul ul li      {background: #d3e7eb;}
#menu ul ul li.here {background: #d3e7eb url(/images/quadrat_cc3300_21_15.png) no-repeat 5px 4px;}


/* Copyright-Line */
#screenfooter {
  text-align: center;
  width: 100%;
  line-height: 2em;
  vertical-align: middle;
  font-size: 0.5625em;
  border-top: 1px dotted #ccc;
  margin-top: 2em;
}


#loginpanel {
  margin-top: 10em;
}

.buttonpanel {
  margin-top: 2em;
}


/* Gestaltung von Listen */
.feldnamen_row {
  background: #d3dce3;
  line-height: 20px;
  font-size: 0.8125em;
}

.feldnamen_row th {
  padding: 5px;
}

.local_link {
/*  background: url(/images/pfeil_rot.png) no-repeat center;*/
  display: none;
}

.extern_link {
  text-align: center;
}

.even_row {
  background: #ccc;
}

.odd_row {
  background: #eee;
}

.select_row {
  background: #ffc;
}


#liste th, td {
  padding: 5px;
  border: 1px solid white;
  vertical-align: middle;
}

#liste thead {
  font-size: 0.9em;
}

#liste thead tr {
  background: #d3dce3;
  line-height: 20px;
}

#liste tbody {
  font-size: 0.8em;
}

#liste tbody tr:nth-child(even) {
  background-color: lightgrey;     /* #f2f2f2; */
}

#liste tbody tr:nth-child(odd) {
  background-color: white;  /* #f8f8f8 */
}

/* Achtung! Reihenfolge beachten */
#liste tbody tr:hover, tr:focus {
  background-color: #ff8;
  cursor: pointer;
}

.list_end_sum {
  border-top: 1px solid black;
}

.list_insert_button {
  width:180px;
}

.list_copy_button {
  width:180px;
}

.list_filter {
  margin-left: 40px;
}

.list_exports {
  width:150px;
}

.list_combined {
  float: left;
  margin-right: 20px;
}

.dateiliste td {
  padding: 5px;
  font-size: 0.8em;
  vertical-align: top;
}

.table-scrollable {
  width: 100%;
  overflow-y: auto;
  margin: 0 0 1em;
}

.table-scrollable::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
}

.table-scrollable::-webkit-scrollbar-thumb {
  border-radius: 8px;
  border: 3px solid #fff;
  background-color: rgba(0, 0, 0, .3);
}


/* Gestaltung von Formularen */
.formularfehler {
  margin-left: 1em;
  color: red;
  background-color: transparent;
  font-weight: bold;
}

.fehlertext {
  color: red;
  background-color: transparent;
}

.eingabezeile {
  font-size: 0.8em;
}

.eingabezeile label {
  width: 10em;
  display: inline-block;
  margin-top: 0.5em;
  vertical-align: top;
}

.eingabefeld[type="text"] {
  width: 40em;
}

.eingabezeile textarea {
  width: 44.4em;
}

fieldset {
  padding: 5px;
  border-top: 1px solid #999;
}

.editor_textarea_div {
  display: inline-block;
}


.entryclass {
/*  margin-top: 2em;*/
  margin-bottom: 2em;
}

.article_service-group {
  width: 100%;
  text-align: right;
}

.article_service-group a:hover, a:focus{
  text-decoration: none;
  color: white;
  background: white;
}

#usrscreenmainmiddle {
  margin-top: 4em;
}
