/* CSS Document */
html * {
  max-height:1000000px;
  scroll-margin-top: 250px;
}
html {
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}
body, html {
  scrollbar-gutter: stable;
}
body {
  margin: 0em auto;
  color: #000;
  background-color: #000;
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  text-align: left;
  /* overflow-x: hidden; */
  font-size: 21px;
}
body.modal-open {
    overflow: hidden;
}

div.ui-datepicker{
  font-size:11px;
}

h1, h2 , h3 {
  margin: 0;
  padding: 0;
}
h1 {
  font-size: 32px;
  color: inherit;
  font-weight: 600;
}
h2 {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 15px;
  color: inherit;
}
h3 {
  font-size: 28pt;
  color: #333333;
  font-weight: 400;
}
i {
  font-family: 'Open Sans', sans-serif;
  font-style: italic;
}
a {
  color: #333333;
  text-decoration: none;
}
a.active {
  color: #333333;
  text-decoration: none;
}
form {
  display: inline;
}
.center {
  text-align: center;
}
.italic {
  font-style: italic;
}
.bold, b, strong {
  font-weight: 700;
}
hr {
  width: 257px;
  border-top: 1px solid #666666;
}
p {
  margin: 0;
  padding: 0;
}
img {
  border: none;
  vertical-align: top;
}
.wrapper, .wrapper_nav {
  position: relative;
  margin: 0em auto;
  width: 890px;
}
.wrapper_nav {
  width: 940px;
  width: 775px;
}

#fix.fixed {
  position: fixed;
  z-index: 20000;
  width: 100%;
  margin: 0em auto;
  top: 0px;
}

#fix {
  height: 45px;
}

.trenner, .trenner2 {
  margin: 0em auto;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 80px;
}
.trenner2 {
  margin-top: 0;
  margin-bottom: 60px;
}

#top_navi {
  margin: 0em auto;
  width: 100%;
  max-width: 1200px;
  height: 55px;
  line-height: 55px;
  font-size: 20px;
  z-index: 2002;
  text-transform: uppercase;
  color: #000;
  background-color: #ecebea;
  text-align: right;
  padding-right: 50px;
  box-sizing: border-box;
  letter-spacing: 2px;
}

#navi_main {
  margin: 0em auto;
  width: 100%;
  max-width: 1200px;
  height: 55px;
  line-height: 55px;
  font-size: 25px;
  z-index: 2002;
  text-transform: uppercase;
  color: #000;
  background-color: #ecebea;
  letter-spacing: 1px;
}
#navi_main.mobile {
  display: none;
}
#navi_main ul {
  position: relative;
  float: right;
  width: 100%;
  margin: 0px;
  padding: 0px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}
#navi_main li {
  list-style: none;
  flex: 1 1 auto;
}
#navi_main li:last-child {
  border: 0;
}
#navi_main a {
  display: block;
  text-decoration: none;
  color: #000;
}
#navi_main a.active {
  color: #000;
  text-decoration: underline;
}
#navi_main_small {
  z-index: 200001;
  position: fixed;
  background-color: #000;
  top: 0;
  right: -700px;
  width: 700px;
  height: 100%;
  font-size: 50px;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -ms-transition: all 1s;
  -o-transition: all 1s;
  transition: all 1s;
  font-weight: 500;
  display: none;
  line-height: 100px;
  text-align: right;
}
#navi_main_small a {
  color: #fff;
}
#navi_main_small ul {
  padding: 0;
}
#navi_main_small.show {
  display: block;
}
#navi_main_small.open {
  right: 0;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -ms-transition: all 1s;
  -o-transition: all 1s;
  transition: all 1s;
}
#navi_main_small .close_nav {
  position: absolute;
  top: 35px;
  right: 35px;
  font-size: 60px;
  width: 60px;
  height: 60px;
  border-top: 0px;
  cursor: pointer;
  text-align: center;
  color: #fff;
  z-index: 100021;
}
#open_nav {
  position: fixed;
  top: 60px;
  right: 50px;
  /* transform: translateX(-50%); */
  font-size: 60px;
  width: 70px;
  height: 60px;
  border-top: 0px;
  cursor: pointer;
  text-align: center;
  color: #fff;
  z-index: 2001;
  background-color: #000;
  padding-top: 10px;
  border-radius: 5px;
}
#open_nav .line {
  margin: 0em auto;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 50px;
  height: 4px;
  background-color: #fff;
}
#navi_main_small .menu {
  position: absolute;
  top: 100px;
  right: 10%;
  width: 90%;
  height: 100%;
}
#navi_main_small ul {
  list-style: none;
}
#navi_main_small .close {
  position: absolute;
  right: 30px;
  top: 30px;
}
.logo_small {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
}
#logo {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
}

#headimage {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  width: 100%;
  height: 630px;
  max-width: 1200px;
  overflow: hidden;
}

#container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0em auto;
  /* overflow-x: hidden; */
  background-color: #fff;
  /* min-height: 1200px; */
  z-index: 1000;
  padding: 50px 0 50px 0;
}
#container.home {
  background-color: #000;
  text-align: center;
  padding: 0;
  color: #fff;
}

/* Home */
#home {
  display: grid;
  height: 100vh;
  align-items: center;
}
#home a {
  color: #fff;
}
#home img {
  margin-bottom: 50px;
}

#kanzlei {
  margin-bottom: 50px;
}

#kanzlei_bilder {
  background-color: #ecebea;
  display: grid;
  padding: 50px 0;
  margin-bottom: 50px;
}

#kanzlei_bilder .wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
}
#kanzlei_bilder div {
  margin-top: 20px;
}

#vitae .beschreibung {
  width: 730px;
}

#fachgebiete .block {
  height: 800px;
  background-repeat: no-repeat;
  text-align: center !important;
  display: grid;
  justify-items: center;
  align-items: center;
  margin-bottom: 20px;
}
#fachgebiete .rahmen {
  width: 800px;
  background-color: rgba(255,255,255,0.7);
  border: 2px solid #000;
  padding: 80px;
}
#fachgebiete img, #fachgebiete h1 {
  margin-bottom: 20px;
}
#fachgebiete .beschreibung {
  text-align: center !important;
}
#fachgebiete ul {
  list-style-position: inside;
  padding: 0;
}

#kontakt .left {
  position: relative;
  float: left;
  width: 500px;
  height: 400px;
}
#kontakt .right {
  float: right;
  width: 350px;
  margin-top: 110px;
}

#agb h2 {
  font-size: 40px;
  margin-bottom: 20px;
  line-height: 40px;
}
#impressum {
  padding-bottom: 200px;
}
#impressum .einleitung {
  margin-top: 50px;
  margin-bottom: 50px;
}
#impressum h1 {
  margin-bottom: 30px;
}
#impressum .block {
  margin-bottom: 50px;
}

.headline {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  font-size: 25px;
}
.headline h1 {
  margin: 0 20px;
}
.beschreibung {
  margin: 0em auto;
  text-align: justify;
}

#impressum, #versand {
  padding-bottom: 100px;
}
#impressum .text, #versand .text {
  margin-top: 50px;
}
.impressum_block {
  margin-bottom: 35px;
}
.impressum_block .headline {
  margin: 0em auto;
  font-size: 30px;
  margin-bottom: 15px;
}
.impressum_block .text {
  padding-left: 40px;
  padding-right: 40px;
}

#bottom {
  position: relative;
  margin: 0em auto;
  width: 100%;
  max-width: 1200px;
  margin: 0em auto;
  background-color: #ecebea;
  color: #000;
  z-index: 1001;
  padding: 15px 0;
}
#bottom .wrapper {
  /* width: 980px; */
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 40px;
}
#bottom .kontaktdaten {
  text-align: left;
}
#bottom .oeffnungszeiten {
  text-align: right;
}
#bottom .logo {
  text-align: right;
}

#bottom a {
  display: inline;
}
#bottom .impressum {
  width: 100%;
  font-size: 20px;
  margin-top: 70px;
}

#bottom .block:nth-child(4)
{
  margin-right: 0px;
}
#bottom .block .headline
{
  font-weight: 700;
  margin-bottom: 10px;
}

.clear
{
  clear: both;
}

.hidden{
     opacity:0;
}
.visible{
     opacity:1;
}

.scrollToTop
{
	width:45px; 
	height:48px;
	text-align:center; 
	position:fixed;
	bottom:30px;
	right:30px;
	display:none;
  z-index: 5000;
}

.decker {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3000;
  background-color: rgba(255,255,255,0.8);
}
.decker .close {
  position: absolute;
  z-index: 3002;
  top: 50px;
  right: 50px;
  font-size: 60px;
  cursor: pointer;
}
.decker .content {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3001;
}
.privacy-msg {
    position: absolute;
    top: 0;
    left: 0;
    width: 498px !important;
    height: 398px !important;
    border: 1px solid black;
    padding: 15px;
    text-align: center;
    background-color: rgba(0,0,0,0.1);
    box-sizing: border-box;
}
.privacy-msg a {
  color: #000;
}
.privacy-msg a:hover {
  text-decoration: underline;
}
.privacy-msg p {
    position: relative;
    top: 50%;
    font-size: 16px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    cursor: pointer;
}