body {
  padding: 0 0 3.333em;
  font-family: arial, sans-serif;
  font-size: 14px;
}

a {
  text-decoration: none;
  color: #000;
}

a:hover {
  cursor: pointer;
  text-decoration: underline;
}

h2 {
  font-size: 2em;
  margin: 0 0 .2em 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}

.headnav {
  color: #878787;
  padding-bottom: 10px;
}

#layoutchange-toggle{
  padding: 5px 0 5px 5px;
  cursor: pointer;
}

.layoutchange-inactive > .layoutchange-first {
  font-size: 0.75em;
}

.layoutchange-active > .layoutchange-first {
  font-size: 1.85em;
}

.ndslogo {
  padding-top: 10px;
  background-size: auto 100%;
  float: right;
}

/*Not part of the original template*/

header {
  padding: 1em 0.5em 0 0.5em;
}

ul {
  list-style: none;
}

ul#top-list {
  padding-left: 0;
}

/* For screenreader compatibility */
.hidden {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}

@keyframes fadeIn {
  0% {opacity: 0.3}
  50% {opacity: 0.8}
  100% {opacity: 1}
}

.fade-in-after-hide {
  opacity: 1;
  animation: fadeIn 0.5s;
}

.show-only-if-js-enabled {
  display: none;
}

.ordner-name {
  margin-top: 0.25em;
}

.ordner-placeholder {
  cursor: pointer;
}

.container_wrap {
  padding: 1.25em 0 0 0;
  width: 988px;
  margin-left: auto;
  margin-right: auto;
}

.container_head {
  margin-left: auto;
  margin-right: auto;
  width: 988px;
  margin-bottom: 1.167em;
  padding-bottom: 0;
  padding-top: 0;
}

header:after {
  content: '';
  border-bottom: 1px dotted #c6c6c6;
  padding-top: 20px;
  display: block;
}

div.font-size-container {
  float: right;
  display: inline-block;
  margin-right: 3em;
}

.font-size-container  .font-size-label {
  display: inline-block;
  padding: 0.583em 0.667em 0 0;
}

.go-to-noscript-site {
  float: right;
  display: inline;
  margin-bottom: 0.25em;
  text-align: right;
}

.container {
  border-top: 1px dotted #000;
}

.container-preview {
  background: #fff url("../img/preview_text.svg") repeat-y center;
  padding-top: 2.25em;
}

section {
/* Not part of the original theme */
  line-height: 1.5em;
}

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: text-top;
}

.archiv-download-link {
  font-size: larger;
  margin-top: 10px;
}

.archiv-download-link-disabled {
  opacity: 0.7;
}

.ausleg-overview-verfahren-list {
  padding-left: 0;
}

.ausleg-overview-verfahren-item {
}

.ausleg-overview-verfahren-item-container {
  position: relative;
  margin-top: 20px;
  min-height: 3em;
  display: flex;
  flex-direction: row;
}

.ausleg-overview-verfahren-item:after {
  content: ' ';
  padding-top: 20px;
  display: block;
  border-bottom: 1px dotted #bcbcbc;
}

.ausleg-overview-verfahren-item-icon {
  color: white;
  font-size: 100px;
  width: 180px;
  height: 180px;
  margin-left: 15px;
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.ausleg-overview-verfahren-item-body {
  width: 777px;
  margin-left: 11px;
}

.ausleg-overview-verfahren-link {
  display: block;
  font-size: 1.5em;
  font-weight: bold;
  margin: .5em 0 .2em 0;
}

.ausleg-overview-verfahren-link:before {
  content: ' ';
  width: 5px;
  height: 100%;
  background-color: #e50046;
  color: #ffffff;
  left: 0;
  top: 0;
  position: absolute;
}

.ausleg-overview-verfahren-caption {
}

/*
 * Zugangscode-Eingabe EnterZugangscode.html
 */
.zugangscode-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-left: auto;
  margin-right: auto;
  max-width: 260pt;
}

.footer {
  padding: 20px 0 50px 0;
  margin-top: 60px;
  clear: both;
  border-top: 1px dotted #878787;
  position: relative;
  z-index: 500;
}

.footer a {
  font-size: .85em;
  color: #878787
}

ul.withindicators {
  list-style: initial;
}

.explicit-link {
  color: blue;
  text-decoration: underline;
}

.explicit-link:hover {
  color: #3e48ff;
}

/*
 * TAN Request
 */
.konsultation-nav {
  padding-top: 1em;
  padding-bottom: 1em;
}

.go-to-tan-request-page {
}

.go-to-beteiligungsformular-page {
}

#beteiligungsblock:after {
  content: '';
  border-bottom: 1px dotted #c6c6c6;
  padding-top: 20px;
  display: block;
}

.result-backlink {
  display: block;
  margin-top: 0.25em;
  margin-bottom: 0.25em;
  text-align: right;
}

#email {
  min-width: 22em;
}

/*
 * Beteiligungsformular
 */
.beteiligung-form {
  display: grid;
  grid-template-columns: [label] 30% [input] auto;
  padding-top: 1.5em;
  row-gap: 0.5em;
}

.beteiligung-form label {
  grid-column: label;
  padding-top: 0.5em;

}

.beteiligung-form .inputelem {
  grid-column: input;
  height: 2em;
}


.beteiligung-form textarea.inputelem {
  height: auto;
}

#tan-label {

}

#request-tan-link {
  grid-column: input;
}

#buerger-name-label {

}

#buerger-existing-beteiligung-label {

}

#buerger-existing-beteiligung {
  max-width: 12em;
}

#buerger-new-beteiligung-reason-label {

}

#message-label {

}

#form-submit-btn, #cancel-link, #formular-mail-hinweis {
  grid-column: input;
  justify-self: end;
}

