/*
Theme Name: Equit Custom Theme
Theme URI: https://equit-beratung.de
Author: Maximilian Holl
Author URI: https://maximilianholl.de
Description: Exclusive custom Wordpress Template for Dr. Thomas Equit, Text by Dr. Thomas Equit, Photography by Karl-Heinz Adams, Artwork by Michael Siffrin, Web-Design and Development by Maximilian Holl
Version: 0.1
License: Exclusive for Dr. Thomas Equit
License URI: LICENSE
Text Domain: Dr. Thomas Equit
 */

  html {
  font-family: sans-serif;
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
	scroll-behavior: smooth;
 }
 button,
 input,
 optgroup,
 select,
 textarea {
   font-family: inherit; /* 1 */
   font-size: 100%; /* 1 */
   line-height: 1.15; /* 1 */
   margin: 0; /* 2 */
 }

 /**
  * Show the overflow in IE.
  * 1. Show the overflow in Edge.
  */

 button { /* 1 */
  overflow: visible;
  all: unset
 }

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

 sub{
  vertical-align: top;
  font-feature-settings: 'subs';
 }



 /* Sections
 ========================================================================== */

 /**
  * Remove the margin in all browsers (opinionated).
  */

 body {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
 }



 /* Default Page Template Settings */

 .site-main .comment-navigation,
 .site-main .posts-navigation,
 .site-main .post-navigation {
  margin: 0 0 1.5em;
 }


h1, h3, h4, h5, h6{
  font-family: "Source Sans Pro", Helvetica, Verdana, sans-serif;
  font-style: normal;
  font-weight: 700;
  color: #0D0B60;
}

h2, p, a, li, ul {
   font-family: "Source Sans Pro", Helvetica, Verdana, sans-serif;
   font-weight: 400;
   font-style: normal;
   color: #0D0B60;
 }

p{
     line-height: 1.5em;
}

 h1{
   font-size: 34px;
 }

h2{
  font-size: 30px;
}

h3, .happyforms-form__title h3, .happyforms-styles{
  font-size: 22px !important;
  font-weight: 700 !important;
  font-style: normal !important;
}

h4{
  font-size: 18px;
}
 .container{
   position: relative;
   width: 100%;
   height: 100%;
 }

 .site-header{
   width: 100%;
   height: 65px;
   position: fixed;
   background-color: white;
   z-index: 5;
   box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
 }



 .navbar {
   padding: 0;
   margin: 0;
   max-width: 1180px;
   margin-right: auto;
   margin-left: auto;

 }

 .navbar > ul {
   list-style: none;
 }

 .navbar ul>li * {
   text-decoration: none;
   color: #0D0B60;
   display: inline-block;
 }

 .navbar ul>li *::after {
   content: '';
   margin-top: 3px;
   width: 0px;
   height: 1px;
   display: block;
   background: #5D5BEC;
   transition: 300ms;
 }

 .navbar ul>li *:hover{
   color: #5D5BEC;
 }

 .navbar ul>li *:hover::after{
   width: 100%;
 }

.desktop-navbar > #logo{
  padding-top: 5px;
}

.mobile-navbar > #logo{
  padding-top: 20px;
}

.menu-wrap > .burger{
  margin-top: 4px;
  margin-right: 5px;
}

 #logo{
   float: left;
   margin: 0;
   padding: 0;
   padding-left: 4vw;
 }

.link{
  text-decoration: none;
  cursor: pointer;
}

#logo > .link{
  color: inherit;
  font-size: 22px;
  font-weight: 700;
  font-style: normal;
}

#logo > .link:hover{
  color: #5D5BEC;
}

.link:hover{
  color: #5D5BEC;
}

 .flex{
   display: flex;
   justify-content: space-evenly;
 }

 .flex-right{
  display: flex;
  justify-content: flex-end;
 }

.flex-wrap{
  flex-wrap: wrap;
}

 #nav_menu > *{
   margin-top: 14px;
   margin-right: 5vw;
 }
.desktop-navbar{
  display: none;
}
.mobile-navbar{
     display: block;
   }



/* CODEPEN BURGERMENU OHNE JAVA */
/* ================================================== */
/* CODEPEN BURGERMENU OHNE JAVA */
/* ================================================== */
.menu-wrap {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1;
}

.menu-wrap .toggler {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  cursor: pointer;
  width: 50px;
  height: 50px;
  opacity: 0;
}

.menu-wrap .burger {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 23px;
  height: 23px;
  padding: 1rem;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger Line */
.menu-wrap .burger > div {
  position: relative;
  flex: none;
  width: 100%;
  height: 3px;
  background: #0D0B60;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

/* Hamburger Lines - Top & Bottom */
.menu-wrap .burger > div::before,
.menu-wrap .burger > div::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -8px;
  width: 100%;
  height: 3px;
  background: inherit;
}

/* Moves Line Down */
.menu-wrap .burger > div::after {
  top: 8px;
}

/* Toggler Animation */
.menu-wrap .toggler:checked + .burger > div {
  transform: rotate(135deg);
  background-color: #fff;
}

/* Turns Lines Into X */
.menu-wrap .toggler:checked + .burger > div:before,
.menu-wrap .toggler:checked + .burger > div:after {
  top: 0;
  transform: rotate(90deg);
  background-color: #fff;
}

/* Show Menu */
.menu-wrap .toggler:checked ~ .menu {
  visibility: visible;
}

.menu-wrap .toggler:checked ~ .menu > div {
  transform: scale(1);
  transition-duration: 0.8s;
}

.menu-wrap .toggler:checked ~ .menu > div > div {
  opacity: 1;
  transition:  opacity 0.1s ease 0.4s;
}

.menu-wrap .menu{
  position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   visibility: hidden;
   overflow: hidden;
   display: flex;
   align-items: center;
   justify-content: center;
}

.menu-wrap .menu > div {
  background: #0D0B60;
  border-radius: 50%;
  width: 260vw;
  height: 260vw;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: all 0.4s ease;
}

.menu-wrap .menu > div > div {
  max-width: 90vw;
  max-height: 100vh;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.menu-wrap .menu > div > div > ul{
  display: flex;
  flex-direction: column;
  padding-left: 0.6%;
}

.menu-wrap .menu > div > div > ul > li {
  list-style: none;
  padding: 1.2rem;
}

.menu-wrap .menu > div > div > ul > li > a {
  color: #fff;
  text-decoration: none;
  transition: color 0.4s ease;
  visibility: visible;
  font-size: 1.8rem;
}

   /* ================================================== */
    /* mobile menu ende */

.site-footer{
  width: 100%;
  background-color: #0D0B60;
  min-height: 130px;
  padding-top: 30px;
}

.footer-navbar{
  width: 100%;
  height: auto;
  max-width: 90vw;
  float: left;
}

.layout-width{
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.layout-width > div{
  padding-left: 4vw;
  padding-right: 4vw;
}


.footer-navbar > h3{
  padding: 0;
  margin: 0;
  color: white;
  font-size: 18px;
}

.footer-navbar > #logo{
  font-size: 16px !important;
  margin-left: 30px;
}

.menu-footer > div > ul{
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-start;
  max-width: 90vw;
}

.menu-footer > div > ul > li{
  list-style: none;
  margin-left: 3vw;
  margin-top: 5px;
}

.menu-footer > div > ul > li > *{
  color: white;
}

#menu-footer-menu{
  margin-top: 45px;
}

.menu-footer-menu-container > ul > li > a:hover{
  color: #9DA5F7;
}

.menu-footer-menu-container > ul > li > a::after{
  color: #9DA5F7;
}

.hero-img{
  width: 100%;
  background-position: center top;
  background-repeat: no-repeat;
  min-height: 300px;
  background-size: 100%;
}

.hero-inner{
  position:relative;
  float: left;
}

.hero-text{
  position: relative;
  margin-top: 160px;
  max-width: 550px;
  min-width: 90vw;
  margin-bottom: 60px;
}

.hero-text h1, .hero-text h2{
  margin: 0;
  max-width: 80vw;
}

.hero-text p{
  margin-top: 30px;
}

.focus-section{
  padding-top: 20px;
  padding-bottom: 50px;
}

.focus-text{
  max-width: 680px;
}

.junction-section{
  background-color: #efefef;
  padding-top: 30px;
  padding-bottom: 0px;
  margin-top: 30px;
}

.junction-wrapper{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  width: 100%;
}

.junction-section_sub{
  padding-top: 30px;
  padding-bottom: 80px;
  position: relative;
}

.junction-section_bg{
  position: absolute;
  background-color: #efefef;
  width: 100%;
  min-height: 800px;
  margin-top: 80px;
}

.junction-section_flex{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.junction-container{
  width: 300px;
  background-position: center top;
  background-repeat: no-repeat;
  height: 300px;
  background-size: 100%;
  position: relative;
  margin-right: 0;
  transition: transform .5s ease;
  overflow: hidden;
  margin-bottom: 40px;
}

.junction-container >  h3{
  position: absolute;
  width: 100%;
  top: 35%;
  text-align: center;
  color: white !important;
}

.junction-popup{
  position: absolute;
  bottom: 0px;
  background-color: #fff;
  width: 100%;
  height: 0px;
  transition: height 0.35s ease-in-out;
  overflow: hidden;

}
.junction-container:hover{
  transform: scale(1.05);
  cursor: pointer;
}

.junction-container:hover > .junction-popup{
  display: block;
  height: 120px;
}

.junction-popup > p {
  width: 72%;
  text-align: center;
  margin-left: 14%;
  margin-top: 13%;
  opacity: 0;
  transition: opacity 0.35s ease-in-out;
}

.junction-container:hover > .junction-popup > p {
  opacity: 1;
}


.contact-mail{
  width: 100%;

  padding-top: 60px;
  padding-bottom: 80px;
}

.whitespace{
  width: 100%;
  height: 50px;
}

.contact-mail_text{
  max-width: 600px;
	margin-left: auto;
	margin-right: auto;
  padding-left: 4vw;
  padding-right: 4vw;
  text-align: center;
}

.mail > a{
  text-decoration: none;
}

.mail > a:hover{
color: #5D5BEC;
text-decoration: underline;
}

.home-content-wrapper{
  width: 100%;
  background-color: #efefef;
  padding-top: 30px;
  padding-bottom: 50px;
}
.home-content-wrapper > div{
    max-width: 1180px !important;
    margin-left: auto;
    margin-right: auto;
}

.happyforms-form{
  padding-left: 4vw;
  padding-right: 4vw;
}

.happyforms-button--submit{
  background-color: #0D0B60 !important;
}

.happyforms-button--submit:hover{
  background-color: #5D5BEC !important;
}

.label{
  color: #0D0B60 !important;
}


	
	.post-it{
	position: absolute;
  z-index: 1 !important;
  top: 250px;
  left: 4vw;
  right: auto;
  width: 220px;
  height: 55px;
  background-color: #0D0B60;
  float: left;
	}
	
	.post-it-bottom{
	height: 280px;
	padding-bottom: 50px;
	}


:target {
  display: block;
  position: relative;
  top: -120px; 
  visibility: hidden;
}

.post-it-container{
display: block;
  position: relative;
  width: 100%;
	height: auto;
}



.post-it:hover{
  background-color: #5D5BEC;
}

.post-it p{
  margin-top: 14px;
    text-align: center;
    vertical-align: center;
    color: #fff;
    text-decoration: none;
}

.hero-section{
  position: relative;
  z-index: 1;
}

@media only screen and (min-width: 360px){
.post-it{
  
	top: 180px;
}
	
.post-it-bottom{
	height: 210px;
	padding-bottom: 50px;
}
	
}

.junction-section, .contact-mail, .contact-form, .home-content-wrapper{
  position: relative;
  z-index: 3;
}

.junction-section, .contact-mail, .contact-form{
  background-color: #fff;
}

/* =============================== */
/* Content Sub // Unterseite */

.header-container{
  width: 100%;
  min-height: 200px;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 100% cover;
}

.header-inner{
  position: relative;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  min-height: 200px;

}

.header-inner > * {
  position: absolute;
  bottom: 0px;
  left: 4vw;
  color: white;
}

.quote_container{
  min-height: 150px;
}
.quote_inner{
  margin-top: 50px;
  max-width: 450px;
}

.quote{
  font-size: 20px;
  color: grey;
  font-style: italic;

}

.txt-img_container{
  position: relative;
  display: flex;
  flex-wrap: wrap-reverse;

}

.txt-img_image-container > img{
  margin-top: -40px;
  max-width: 400px;
  height: auto;
  z-index: 2;
}

.txt-img_bg{
  position: relative;
  width: 100%;
  background-color: #efefef;
  height: auto;
  z-index: 1;
  margin-top: 20px;
  padding-top: 30px;
  padding-bottom: 30px;
  margin-bottom: 60px;
}

.txt-img_inner{
  max-width: 500px;
}

.txt-img_text{
  max-width: 500px;
}

.references_inner{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 30px;
}

.references_title{
  width: 200px;
  margin-right: 20px;
}

.references_text{
  max-width: 550px;
}

.text_container{
  margin-top: 40px;
  margin-bottom: 80px;
}
.text_headline *{
  margin: 0;
}

.text_inner{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 20px;
}

.text_inner_left{
  max-width: 650px;
  margin-right: 4vw;
  order: 0;
}

.text_inner_right{
  max-width: 300px;
  order: 1;
}

.em_txt{
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.25em;
margin-top: 0px;
}

.site-content{
margin-top: 65px;
}

/* End Content Sub // Ende Unterseite */
/* =============================== */
 @media only screen and (min-width: 600px){
	 .em_txt{
		 margin-top: 20px;
	 }
	 
.txt-img_image-container > img{
  margin-top: -80px;
}
	 
.post-it-bottom{
height: 20px;
padding-bottom: 50px;
}
	 
.post-it-container{
  position: relative;
  width: 100%;
}

.post-it{
  position: absolute;
  z-index: 1 !important;
  top: -25px;
  left: 4vw;
  right: auto;
  width: 220px;
  height: 55px;
  background-color: #0D0B60;
  float: left;
}
	 
   .txt-img_image-container > img{
     max-width: 35vw;
     min-width: 300px;
   }

   .footer-navbar{
     width: 100%;
     height: auto;
     max-width: 1180px;
     float: none;
   }

   .footer-navbar > #logo{
     font-size: 18px !important;
     margin-top: -3px;
   }


   p{
        font-size: 1.15em;
        line-height: 1.5em;
   }

    h1{
      font-size: 42px;
    }

   h2{
     font-size: 40px;
   }

   h3, .happyforms-form__title h3, .happyforms-styles{
     font-size: 28px !important;
     font-weight: 700 !important;
     font-style: normal !important;
   }

   h4{
     font-size: 20px;
   }

.site-header{
  height: 80px;
}

.desktop-navbar{
     display: block;
   }

.mobile-navbar{
     display: none;
   }

 .menu-wrap, .mobile-navbar{
   display: none;
 }


 .site-content{
 margin-top: 80px;
 }

 .hero-img{
   background-position: center top;
   background-repeat: no-repeat;
   background-size: 100% cover;
   min-height: 550px;
 }

 .hero-inner{
   position: relative;
   float: none;
 }

 .hero-text{
   position: absolute;
   margin-top: 0;
   top: 120px;
   min-width: 550px;
 }

 .hero-text h1, .hero-text h2{
   margin: 0;
   max-width: 100vw;
 }

 .hero-text p{
   margin-top: 30px;
 }

 .footer-navbar > #logo{

   font-size: 20px !important;
   margin-top: -3px;
 }

 .junction-section{
   background-color: #efefef;
   padding-top: 60px;
   padding-bottom: 60px;
   margin-top: 30px;
 }


 .junction-container{
   width: 150px;
   height: 150px;
 }

  .junction-container > h3{
    top: 30%;
    font-size: 22px !important;
  }

  .junction-section_bg{
    min-height: 300px;
  }

  .junction-popup > p {
    font-size: 16px;
    width: 95%;
    margin-left: 4%;
    margin-top: 19px;
  }

.header-container{
  min-height: 280px;
}

.header-inner{
  min-height: 280px;
}

  /* ================================================== */
  /* mediaquery ende */
}

@media only screen and (min-width: 860px){

  .junction-wrapper{
    justify-content: center;
    margin-left: 4vw;
    margin-right: 4vw;

  }

  .junction-container{
    width: 200px;
    height: 200px;
    margin-right: 80px;
  }

  .junction-container > h3{
    top: 30%;
    font-size: 24px !important;
  }

  .junction-section_bg{
    min-height: 300px;
  }

  .junction-popup > p {
    font-size: 16px;
    width: 95%;
    margin-left: 3%;
    margin-top: 15%;
  }

  .menu-footer > div > ul{
    justify-content: space-evenly;
  }

  .txt-img_image-container > img{
    max-width: 370px;
    min-width: 350px;
  }
  /* ================================================== */
   /* mediaquery ende */
}



@media only screen and (min-width: 999px){
	
	.post-it-bottom{
height: 0px;
padding-bottom: 0px;
}
	
	.focus-section{
    padding-top: 20px;
    padding-bottom: 50px;
  }
  
  .hero-section{
    z-index: 3;
  }


  .post-it-container{
    position: relative;
    width: 100%;
  }

  .post-it{
    position: fixed;
    z-index: 1 !important;
    top: 150px;
    right: 20px;
    left: auto;
    width: 220px;
    height: 55px;
    background-color: #0D0B60;
    float: right;
  }


  .junction-container{
    width: 250px;
    height: 250px;
  }

  .junction-container > h3{
    top: 30%;
    font-size: 28px !important;
  }

  .junction-section_bg{
    min-height: 300px;
  }

  .junction-popup > p {
    font-size: 18px;
    width: 90%;
    margin-left: 5%;
    margin-top: 12%;
  }

  .text_inner_left{
    order: 0;
  }

  .text_inner_right{
    order: 1;
  }


  /* ================================================== */
   /* mediaquery ende */
}

@media only screen and (min-width: 1200px){

  .junction-container{
    width: 300px;
    height: 300px;

  }

  .junction-section_bg{
    min-height: 400px;
  }

  .junction-popup > p {
    font-size: 18px;
    width: 72%;
    margin-left: 14%;
    margin-top: 12%;
  }


  /* ================================================== */
   /* mediaquery ende */
}
