/*
 Theme Name:   Frauke Rautenberg
 Description:  Individuelles Theme für Frauke Rautenberg
 Author:       AH-Mechanics
 Author URI:   https://ah-mechanics.com
 Template:     soho
 Version:      1.0
 Text Domain:  soho
*/

/* Seitenleiste */
#header {
  scrollbar-width: none;
}

#leftbar .menu li{
  display: inline-block;
  width: auto;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
#leftbar .menu li>a{
  text-decoration: none;
}

#leftbar .widget_media_image img{
  width: 50%;
}
#leftbar .widget_media_image img:hover{
  filter: none;
}

#header ul#bottommainnav2 li.current-menu-item>a{
  font-weight: bold;
  text-decoration: underline;
}
#header .mmenu ul#bottommainnav2 li a{
  transition: none;
}
#header .mmenu ul#bottommainnav2 li:hover a:hover{
  font-weight: bold;
}

/* Logo */
#header img.custom-logo{
  max-width: 50%;
}

/* Seite */
#content{
  background: rgba(255,255,255,.85);
}

#contentinner{
  margin-top: 6rem;
}

#contentinner .intro{
  margin-bottom: 4rem;
}

#contentinner p, ul li{
  font-weight: 400;
}

/* Überschriften */
h1, h1.portfoliotitle, h1.entry-title{
  margin-bottom: 4rem;
}

h2 {
  margin-top: 6rem;
  margin-bottom: 3rem;
  text-align: center;
  color: gray;
}
.entry h2:first-of-type{
  margin-top: 2rem;
}

h3{
  font-family: serif;
  font-style: italic;
  font-weight: 100;
  color: midnightblue;
  text-transform: none;
}

/* Buttons */
.wp-block-button.is-style-outline>a:hover, .wpcf7 input.wpcf7-submit:hover{
  background-color: black;
  color: white;
}
.link-highlight a{
  text-decoration: none;
}
.link-highlight{
  border-radius: 1rem;
  padding: 1rem;
  transition: background ease 0.4s;
}
.link-highlight:hover{
  background: rgba(255, 255, 255, 0.7);
}
/*.wp-block-gallery.gallerie-highlight figure.wp-block-image figcaption {
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 3rem;
  padding: 1rem;
  top: 0;
  margin-top: 50%;
}
.gallerie-highlight figure a:after{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  content: "";
}*/

/* Zitate */
figure.wp-block-pullquote{
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}
figure.wp-block-pullquote>blockquote{
  border-left: none;
  border-right: none;
}

/* Listen */
ul{
  padding-inline-start: 1rem;
}
ul>li>ul{
  margin-left: 1.5rem;
}

@media screen and (max-width: 1120px){
  #logo{
    width: 20rem;
  }
  #leftbar .button-hinweis{
    opacity: 1 !important;
  }
}


/* vorübergehende Hilfsmittel */
.postdate {
  display: none !important;
}

/* muss angepasst werden sobald "project/" nicht mehr Teil der URL ist */
.postid-76 .entry .wp-block-group-is-layout-constrained:first-of-type .wp-block-spacer:first-of-type{
  display: none;
}

/* Firmenbranding */
body.postid-331 #header{
  /* background-color: #0E7086; */
}
#leftbar .wp-block-button a{
  text-decoration: none;
}
#leftbar .wp-block-button a:hover{
  border: 2px solid;
}
#leftbar .button-hinweis{
  margin-top: -1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#leftbar .hinweis-trigger:hover .button-hinweis{
  opacity: 1;
}