/* admin
	text-decoration: line-through
*/
 :root {
     --rot: #f03030;
     --trans: .3s;
     --trans2: .5s;
}
html {
font: 1em/120% arial, sans-serif;
scroll-behavior: smooth;
}
html,blockquote,body,div,dl,dt,dd,fieldset,form,
h1,h2,h3,h4,h5,h6,ol,p,ul,li,center,hr,pre,img,
table,tr,td,th,thead,tbody,tfoot,caption  {
margin:0;
padding:0;
border:0 none;
outline: none;
box-sizing: border-box;
}

div,
nav,
main,
section,
header,
article,
aside,
footer {
display: block;
position: relative;
box-sizing: border-box;
}

body {
color: black;
overflow: auto;
background-color: #fff;

}
h1 {
	padding: .5em 0;
	border-bottom: 1px solid black;
	margin-bottom: 1em
}
h2 {
 margin: 0 0 1rem;
}
h3 span {
 display: block;
 font-weight: normal
}
p,h3 {
margin: 0 0 1em 0;
line-height: 140%
}
a {
  color: black
}
table {
border-collapse: collapse
}
td {
vertical-align:top
}
.tc {
text-align: center
}
.tr {
text-align: right
}
ul {
padding-left: 16px
}
li {
}
hr {
	border-bottom: 1px solid black;
    margin-bottom: .5em
}
.clear {
	clear: both;
}
.hide {
	display: none
}

.red,
.rot {
 color: red;
}

.admin_flow {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-between;
align-items: center; 
align-content: space-between; 
padding: 0 20px;
margin: 0 0 -10px;
}
.admin_flow + div {
 margin-top:-20px;
 padding-top: 0;
}

#wrapper {
  min-height: 100vh;
  padding-top:0;
  margin: 0 auto;
  justify-content: flex-start;
  border-radius: 10px;
  max-width: 1200px
}


#contentwrapper {    
width: 100%;
min-height: calc(100vh - 40px);
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: flex-start;  
/* flex-start flex-end center space-between space-around space-evenly */
align-items: stretch; 
/* flex-start flex-end center stretch */
}
#left {
min-width: 300px;
display: flex;
flex-flow: column nowrap;
align-content: space-between;
padding: 20px 20px 40px 20px;
margin:0;
}

#content{
padding: 40px 50px 40px;
display: inline-block;
width: calc(100% - 300px);
}
#content img {
width: 100%;
max-width:770px;
margin-bottom: .5em
}
#left {
    width: 40%;
    min-width: 400px;
}


#content .bildlinks,
#content .floatleft {
max-width: calc(50% - 10px);
float: left;
clear: left;
margin: 0 10px 1rem 0
}
#content .bildrechts,
#content .floatright {
max-width: calc(50% - 10px);
float: right;
clear: right;
margin: 0 0 1rem 10px
}
#content .half {
 float: right; 
}
form {
 display: flow-root;
	background-color: transparent;
 margin-bottom: 20px
}
#loginform{
	width: 200px;
 position: fixed;
 top: calc(40vh - 120px);
 left: calc(50vw - 100px);
 padding: 10px 20px;
 border: 1px solid black;
 border-radius: 10px;
 background-color: white
}
#loginform input {
 margin: 0 0 15px;
}
#logoutform,
#form_dbbak  {
	padding: 0;
	background-color: transparent
}
#setupform {
    margin-left: 20px;
    float: right;
}

#left {
	width: 250px;
	padding-top: 20px
}
#content-and-right {
width: calc(100% - 270px);
}
#content {
	padding-top: 20px;
	width: 100%
}
#content > div {
background-color: #e0e0e0;
padding: 10px;
border-radius: 10px
}

#content > div#titles {
 background-color: transparent;
 border: 1px solid black;
}
#titles h3 {
 margin-bottom: 0
}
nav form {
	display: inline-block;
	width: 50%;
	float: left;
}
#chlangform select {
 padding: 4px 0 4px 10px;
}
#adminform {
clear: both;
max-width: 700px;
padding: 1rem 0
}
#adminform > div {
 margin-top: 2px
}
#adminform input,
#adminform #form_teaser,
#adminform select,
#adminform textarea  {
	font-family: 'franklin', arial;
	font-size: 1em;
	margin: 0 0 1em;
 padding: 4px 8px
}
#adminform textarea,
#adminform #form_teaser {
 margin: 0;
 height: 80px
}

code {
 line-height: 80%
}
form > div {
background-color: #f0f0f0;
}
input, textarea,select {
	width: calc(100% - 20px);
}
#adminform select {
 display: block;
 
 margin-top: 10px
}

#form_meta_desc {
	min-height: 50px
}
#adminform .short {
	width: calc(50% - 40px);
 margin: 2px 2px 10px 20px;
	min-width: 80px;
	display: inline-block
}
#adminform .short:first-of-type {
    margin-left: 0;
    float:left;
}

#adminimglist {
 display: flow-root
}
#adminimglist div,
.imglist div {
width: 150px;
height: 150px ;
background: #e0e0e0 url('/img/style/blind.gif') center top no-repeat; 
background-size:  130px auto; 
 float:left;
 margin: 4px;
 border: 10px solid #e0e0e0;
}

#adminimglist img {
 width: 100%;
 height: auto;
}
#adminimglist img {
 width: 100%;
 height: auto;
}
#adminimglist div {
width: 150px;
height: 150px ;
background: #e0e0e0 url('/img/style/blind.gif') center top no-repeat; 
background-size:  130px auto; 
 float:left;
 margin: 4px;
 border: 10px solid #e0e0e0;
}
#adminimglist input {
 position: absolute; 
 width: calc(100% - 5px);
 bottom: 0;
 left: 0
}
#adminimglist input.delbutton {
 top: 0; 
 left: 4px;
 width: 15px;
 bottom: auto;
}
#adminform #form_header {
	font-size: 1.1rem;
	font-weight: bold;
 padding: .5rem;
}
#demo {
	float:left; 
	margin: 0 10px 5px 0;
}
#meldung,
#meldungok,
#adminmeldung {
	font-size: 1rem;
	padding: 10px;
	border: 1px solid black;
	background-color: var(--rot);
	color: white;
	font-weight: bold; 
	border-radius: 10px;
	margin: -1.5em 0 0 0;
	position: fixed; 
	top: 50px;
right: 10%;
opacity: 0;
animation: fadeout 8s;
}
@keyframes fadeout {
  0% {opacity: 1;}
  75% {opacity: 1;}
  100% {opacity: 0;}
}

#adminmeldung {
	color: black;
	background-color: white;
	z-index: 11
}

#content #meldung {
	background-color: red;
}
#meldungok {
    background-color: green;
}
#meldungok p,
#meldungok ul,
#meldung p,
#meldung ul {
	margin: 0;
}
#form_title {
	font-weight: bold;
}
textarea.form_content {
    min-height: 200px
}
#adminnav {
	display: block;
	position: relative;
	border: 1px solid black;
border-radius: 10px;
margin-bottom: 1em;
padding: .5em 0;
max-width: 400px;
background-color: #e0e0e0;
}
#mainlinks,
#adminnav button {
	font-weight: bold;
}
#mainlinks a.ac {
 background-color: #f0f0f0
}
#adminnav form {
	margin: 10px
}
#adminnav a,
#adminnav p {
display: block;
clear: both;
text-decoration: none;
padding: 4px 10px ;
}

#adminnav tr:hover,
#adminnav a:hover {
 background-color: #f0f0f0;
 color: black
}
#adminnav div.active,
#adminnav tr.active,
#adminnav tr.active a  {
background-color: var(--rot);
color: white;
}
#adminnav .active a:hover {
background-color: var(--rot);
	
}
#adminnav .out {
border-right: 4px solid black
}
#adminnav .rot {
 text-align: center;
 background-color:  var(--rot);
 color: white
}
img {
	display: inline;
	width: auto;
	height: auto
}

label,
button {
	display: block;
	margin: 5px 0 ;
	padding: 0 0 .5em 0
}
button {
	padding: 4px 10px
}
button#save1,
button#save,
button#reload,
button#savegal {
display: block;
margin: 10px 0 .5em 0;
min-width: 120px;
background-color: var(--rot);
color: white;
font-weight: bold;
font-size: 16px;
padding: 4px 10px;
border-radius:18px;
	transition: .2s
}
button#save:hover,
button#save:active,
button#save:focus,
button#save1:hover,
button#save1:active,
button#save1:focus  {
	background-color: #f09018
}
button#ren_file {
	height: 20px;
	width: 20px; 
	display: inline-block;
	border: 0 none;
	margin-left: 20px;
	background:  url('/img/style/rename.png') 0 0 no-repeat; 
	background-size: contain; 
}
button#copy_page {
	height: 20px;
	width: 20px; 
	display: inline-block;
	border: 0 none;
	margin-left: 20px;
	background:  url('/img/style/copy.png') 0 0 no-repeat; 
	background-size: contain; 
}
.button {
 padding:5px 20px;
 background:var(--rot);
 color:#white;
	border-radius:5px;
 text-decoration:none;
 font-weight:bold
}
.button:hover {
 color: white;
}
#adminform #rename {
	width: 300px;
	margin-left: 20px
}
form div {
	padding: 10px;
}
form div.redback,
#adminform div.redback label {
	background-color: var(--rot);
	color: white;
	font-weight: bold
}
#adminform div.redback input {
 float: right;
}

input[type=checkbox],
input[type=radio] {
display: block;
float: left;
width: 40px;
margin: 3px 10px 0 0
}
input.small {
	width: 100px;
	display: inline-block;
}

#admin_upload {
    width: 410px;
    height: 240px;
    overflow: auto;
    border: none
}

.off,
.off a,
.off h3,
.off p {
	color: red;
}


.twolabels {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex-wrap: nowrap;
	margin-bottom: 0;
	padding-bottom: 0
}
.twolabels label {
    display: block;
   padding:  10px 10px 0;
   margin: 0;
   width: 50%;
}
#flexleft td.listhead {
	background-color: #e0e0e0;
	padding: 2px 2px 2px 10px;
	font-weight: bold
}
#flexleft tr {
	border-bottom: 1px solid #a0a0a0
} 
#flexleft tr:last-of-type {
	border: none
}
#flexleft td {
	padding: 4px 6px 4px 0;
}
span.small {
    display: block;
	font-weight: normal;
	clear: both;
}
#list_pages {
 margin-top: 1rem;
	width: 100%;
 border-top: 1px solid black
}
#list_pages tr:first-of-type td a {
 padding: 10px 10px;
 background-color: #f0f0f0
}

#list_pages a > span {
	display: block;
	font-size: .8rem;
	padding: 0 5px 0 20px
}

#list_pages > span.forw {
	padding-left: 4px
} 
#list_pages span span {
	display: inline;
   	color: #a0a0a0;
	padding: 0
}
#list_pages div.parken {
	padding: 4px 10px;
	width: 45px
}
#flexleft div {
	margin: 0 0 1em 0
}
#flexleft div a {
	margin: 0;
	padding: 3px 0
}
nav a,
nav p {
	margin: 0
}
#illulist, 
#headerlist {
	display: flow-root;
	width: 100%;
}
#illulist div{
	display: block;
	float:left;
	clear: none;
	width: 100px;
	height: 100px;
 margin: 0 10px 30px 0;
 font-size: 13px;
 overflow: hidden;
 background-color:  #e0e0e0
}

#headerlist div {
	display: block;
	float:left;
	clear: none;
	width: 140px;
	height: 80px;
 margin: 0 10px 30px 0;
 font-size: 13px;
 overflow: hidden;
 
}
#illulist img, 
#headerlist img {
	display: block;
	margin-bottom: 0;
 max-height: 100px;
 max-width: 100px;
 width: auto;
}
#illulist input,
#headerlist input {
	position: absolute;
	top: 3px;
	right: 3px ;
	width: 18px;
	height: 18px;
}
#headerlist input {
 right: 15px
}
#illulist span;
#headerlist span {
	display: block;
	font-size: 12px;
	background-color: white;
	padding: 2px 4px;
	margin: 0
}
#form_content_ifr,
#form_text1_ifr {
	min-height: 400px
}

#topbutton {
    position: fixed;
    opacity: 0;
    bottom: 0px;
    right: 0px;
    width: 60px;
    height: 60px;
    background: transparent url('/img/style/top.svg') center center no-repeat; 
    background-size: contain; 
    transition: var(--trans);
    z-index: 200
}
#topbutton:hover,
#topbutton:focus {
    opacity: 1!important
}
#topbutton a {
    display: block; 
    width: 60px;
    height: 60px;
    
}
#topbutton span {
visibility: hidden
}

#h1wrap,
#right,
#head,
address,
#hamburger-button,
#nav  {
    display: none;
}

#adminform label{
background-color: #c0c4e0;
padding: 4px 10px;
margin: 0 0 5px
}

#adminform input[type="checkbox"] {
	display: inline-block;
	width: 20px;
	margin: 3px 1em 0 0
}
#sortable,
.flowroot {
 display: flow-root;
}
 #sortable div {
  display: block; 
  padding: 5px 10px;
  background-color: #f0f0f0;
  border: 1px #666 dotted;
  border-radius: 10px;
  margin: 5px;
  font-size: 1rem;
  line-height: 110%;
 }

#sortable div:hover {
font-weight: bold;
box-shadow: 1px 2px 4px rgba(0,0,0,.3);
transition: .3s
}
#sortable div.upage {
 margin-left: 30px;
 width: calc(100% - 30px;)
}
footer {
 position: fixed;
 bottom: 0;
 right: 0;
 left: 0;
 background-color: #f0f0f0;
 padding: 5px 70px 0px 30px;
 font-size: 11px;
 color: #404040;
 border-top: 1px solid #909090;
 display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
align-items: center; 
align-content: stretch; 
}
#choose_lang1 img,
#choose_lang2 img {
 display: inline-block;
 position: baseline;
 width: 30px;
 height: auto;
 margin: 0 10px 0 0;
}

#content #versions {
 width: 180px;
 float: right;
 background-color: transparent
}
#versions form {
 padding: 0
}
#versionsfulllist {
 position: fixed;
 right: 10px;
 top: 20px;
 height: calc(100vh - 40px);
 width: 180px;
 
}
#session-overlay {
position:fixed;
top:0;
left:0;
width:100vw;
height:100vh;
background:rgba(0,0,0,0.5);
z-index:9999;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
}
#overlaytxt {
 color:white;
 font-size:24px;
 margin-bottom:20px;
}

@media screen AND (max-width: 980px) {
#contentwrapper {
	display: block;
}
#flexleft {
	padding: 20px
	
}
#left {
	position: relative;
	width: 100%;
	
}
#content-and-right,
#content,
#right,
#left	{
	width: 100%;
	
}
#content {
padding: 20px;
width: auto;

}
@media screen AND (max-height: 640px) {
#loginform {
 top: 130px;
 
}
}
}