/*
 * CSS  
 * responsive 
 * by dta 22.11.2021 
 */


:root {
--d-pagewidth: 1400px;
--d-color1: #f1f1f1;
--d-rowitems: 5;
--d-width: calc((var(--d-pagewidth) - var(--d-rowitems) * 20px) / var(--d-rowitems));
--d-bgacc: #2e9a6a;
--d-bgacc: linear-gradient(to bottom, #2e9a6a 0%,#011901bb 100%);
--d-fg-on-bgacc: #222c;

--d-bgbutton: #319965;
--d-fgbutton: #f1f1f1;

--d-menuwidth: 320px;

--d-menuhover-bg: #91966e;
--d-ahover-bg: #91966e;

--d-textzoom: 1.2;

--d-sidebarwidth: 290px;

--d-bgcolor1: #542022;
/* --d-bgcolor1: #744042; */

--d-bgcolor2: #895d5a;

}



.none {   display: none; }
.NONE {   display: none !important; }


html {
  font-family: helvetica,arial,verdana,sans-serif;
  font-size: 1rem;
  line-height: 150%;
  color: #333;  
}


body.bg_wrapper {
  background-color: #f4faf4;
  background-color: var(--d-bgcolor2);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  min-height: 1000px;
  max-width: var(--d-pagewidth);
  margin: 0 ;
}

p,div {
  margin: 0;
  padding: 0;
}
li {
  margin-left: 25px;
}

h1,h2,h3,h4,h5 {
  margin: 0;
  padding: 0;
  font-family: Caveat;
}



h1 {  font-size: calc( 2.2rem * var(--d-textzoom) ); }
h2 {  font-size: calc( 1.98rem * var(--d-textzoom) ); }
h3 {  font-size: calc( 1.3rem * var(--d-textzoom) ); }
h4 {  font-size: calc( 1.1rem * var(--d-textzoom) ); }
h5 {  font-size: calc( 1rem * var(--d-textzoom) ); }

p,div {  font-size: calc( 1rem * var(--d-textzoom) ); }

div { border: 0px solid #f00; }

/* clearfix */
.cf:before, .cf:after {
	content: "";
	display: table;
}
.cf:after {
	clear: both;
}



p {
  margin-bottom: 1.5em;
  line-height: 150%;
  color: #000;  
}

article {
  margin: 1em 0 0 0;
  padding: 10px 20px;
  clear: both;
}

button {
  background: var(--d-bgbutton);
}



#main {
  border: 0px solid #f00;
  position: relative;
  left: 0;
  width: 100%;
  padding: 0;
  transition: left 1s, width 1s;
}

#xxxmain.mopen {
  left: var(--d-menuwidth);
  width: calc(100% - var(--d-menuwidth));
}

#main>section:first-child {
  padding-top: 16px;
  padding-top: 1rem;
}


/* sub classes  */

.-fl:first-letter {
  font-size: 150%;
  font-weight: bold;
}
.-fl:first-letter,
.-fl p:first-letter {
  font-size: 190%;
  font-weight: normal;
  font-style: italic;
  float: unset;
  padding: 0 2px 4px 0;
  vertical-align: text-bottom;
}

.illu-right {
  max-width:255px;
  float: right;
  height:auto; 
  padding: 4px;
  border-radius: 20px 120px 20px 120px;
}
.illu-left {
  max-width:255px;
  float: left;
  height:auto; 
  padding: 4px 10px 4px 0;
  border-radius: 50px 10px 120px 20px;
}


/* overwrite hyperspace */

#sidebar {
	width: var(--d-sidebarwidth);
}  
#sidebar + #wrapper {
  margin-left: var(--d-sidebarwidth);
}  
#sidebar + #wrapper + #footer {
  margin-left: var(--d-sidebarwidth);
}


.spotlights > section:nth-child(odd) {
  background: var(--d-bgcolor1);
}
.spotlights > section:nth-child(odd)  p {
  color: #f0f0f0;
}

.spotlights > section:nth-child(even) {
  background: var(--d-bgcolor2);
}

.spotlights > section.inactive > .image::before {
  background: var(--d-bgcolor1);
  opacity: .85;
}


#header {
  background-color: var(--d-bgcolor1);
}

#footer {
  background-color: var(--d-bgcolor1);
  color: #eee;
}

h1.major {
}

h1.major:after {
  background-image: linear-gradient(to right, #7F7F7F, #7F7F7F22);
}

.text a {
  text-decoration: underline;
}


@media screen and  (max-width: 768px) {

:root {
--d-bgcolor5: #f00; 
}

#page > nav {
  display: none;
}

section {
  background: inherit;
}

.illu-right, .illu-left {
  max-width:150px;
}

#sidebar {
	display:none;
}  
#sidebar + #wrapper {
	margin-left: 0;
}  

#intro p br {
	display: initial;
}

}


