/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
/** BASIC LAYOUT **/
body {
    overflow-x: hidden;
}
.sticky-navigation-logo a img {
  padding-left: 3px !important;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  max-height: 57.11px;
}
h1 mark.has-inline-color,
h2 mark.has-inline-color,
h3 mark.has-inline-color,
h4 mark.has-inline-color,
h5 mark.has-inline-color,
h6 mark.has-inline-color {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif !important;
}
/** VERLAGS SLIDER **/
.slick-wrapper {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}
.book-container {
  	width: 100%;
  	box-sizing: border-box;
}
.slick-slide {
	padding: 0 8px;
	box-sizing: border-box;
 }
.content-wrapper {
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-end;
}
.book-content {
    aspect-ratio: 2/3.5;
    position: relative;
    min-height: 300px;
    overflow: hidden;
    background-size: contain !important;
	  background-position: bottom !important;
    background-repeat: no-repeat !important;
  	display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}
.buchvorstellung {
  /*width: 100%;
  height: 100%;
  max-height: 200px;*/
  font-size: 16px;
}  
.cover {
    /*box-shadow: 3px 3px 5px rgba(0,0,0,0.3);
    background: white;
    height: var(--book-height); */
  	position: absolute;
    left: 0;
    bottom: 80px;
    z-index: 1;
    min-height: 100px;
    /*padding-left: 10px;*/
  	transition: all 0.6s cubic-bezier(0.12, 0, 0.39, 0);
    margin-right: 8px;
    text-align: center;
}
.cover img {
    box-shadow: 3px 3px 5px rgba(0,0,0,0.3);
    transition: all 0.6s cubic-bezier(0.12, 0, 0.39, 0);
}
.cover:hover {
    cursor:grab;
}
.cover:active {
    cursor:grabbing;
}
.cover-wrapper {
  display: flex;
}
.blur-bg {
  overflow: hidden;
}
.blur-bg img {
  	transition: all 0.6s cubic-bezier(0.12, 0, 0.39, 0);
  	filter: blur(5px);
    scale: 2;
}  
.book-grid {
	/*display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: auto;
	grid-column-gap: 0px;
	grid-row-gap: 0px;*/
  font-size: 14px;
}  
.book-info {
  border-radius: 10px;
  background: #ffffff;
  width: calc(100% - 28px);
  margin: 10px;
  /*padding: 15px;*/
  padding: 15px 0 15px 15px;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.12, 0, 0.39, 0);
  text-align: left;
  left: 0;
  bottom: -100%;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-height: 100%;
}
.book-info-contenet {
  height: 100%;
  width: 100%;
}
.book-info-contenet h3 {
  font-size: 25px;
}
.simplebar-content-wrapper {
  padding-right: 15px !important;
}
.toggle-btn:hover {
  top: -3px;
  transition: all 0.6s cubic-bezier(0.12, 0, 0.39, 0);
}
.toggle-btn.home-highlight-button:hover {
  top: -14px;
  transition: all 0.6s cubic-bezier(0.12, 0, 0.39, 0);
}
.toggle-btn.home-highlight-button {
  transition: all 0.6s cubic-bezier(0.12, 0, 0.39, 0);
  top: -35px;
}  
.home-highlight .cover img {
  box-shadow: unset !important;
}
.home-highlight .spitzentitel-info {
  bottom: 20px;
}
.home-highlight .book-info {
  width: calc(100% - 20px);
}
.toggle-btn {
  transition: all 0.6s cubic-bezier(0.12, 0, 0.39, 0);
  top: -20px;
  margin-left: calc(50% - 55px);
  position: relative;
  z-index: 0;
  font-size: 14px;
  color: white;
  cursor:pointer;
  background: url(https://www.buecherwege.de/wp-content/uploads/2025/07/bookmark.svg);
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-wrap: nowrap;
}
.home-highlight .toggle-btn {
  margin-left: 0 auto;
}
.home-highlight .cover {
  padding-left: 0;
  margin-right: 0;
}
.book-content {
  position: relative;
  width: 100%;
}
.book-info-contenet a {
    background: #006A32;
    color: white;
    padding: 5px 8px;
    margin-top: 10px;
    display: inline-block;
    width: auto;
}
.book-info-contenet a:hover {
    background-image: unset;
    background: #319EBE;
}
.book-content hr {
  margin-bottom: 15px;
  margin-top: 15px;
}
.book-info p {
  font-size: 14px;
  margin-bottom: 5px;
}  
.visible-info {
  border: 1px solid #efefef;
  transition: all 0.6s cubic-bezier(0.12, 0, 0.39, 0);
  position: relative;
  opacity: 1;
  left: 0;
  bottom: -18px;
}  
.height-line {
    display: none !important;
    position: relative;
    width: 1px;
    background-image: linear-gradient(to bottom, #000 50%, transparent 0%);
    background-size: 1px 6px;
    background-repeat: repeat-y;
    opacity: 1;
    height: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    margin-left: -4px;
}

.height-label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  font-size: 0.75em;
  color: #333;
  white-space: nowrap;
  background: #fff;
  padding: 2px 4px;
}
.slick-prev:before, .slick-next:before {
  font-size: 30px !important;
  line-height: 1.3 !important;
  color: black !important;
}
.slick-prev {
  left: -35px !important;
}
.slick-next {
  right: -35px !important;
}
.slick-prev, .slick-next {
  width: 35px !important;
  height: 35px !important;
}

.shelf {
  background:url('https://www.buecherwege.de/wp-content/themes/generatepress_child/shelf-front.jpg');
  background-size: 102%;
  background-position: center;
  background-repeat: no-repeat; 
  position: relative;
  z-index: 0;
  margin-top: -70px;
  width: 100%;
  height: 25px;
  /*background: #efefef;*/
  box-shadow: 20px 10px 35px rgba(0, 0, 0, 0.2);
}
.shelf:before {
  background: url(https://www.buecherwege.de/wp-content/themes/generatepress_child/shelf-top.jpg);
  background-size: 101%;
  background-repeat: no-repeat;
  background-position: bottom;   
  clip-path: polygon(90px 0, calc(100% - 90px) 0, 100% 20px, 100% 100%, 0% 100%, 0 20px);
  content: '';
  display: block;
  /* background: #e3e0e0; */
  width: 100%;
  margin-top: -50px;
  position: absolute;
  height: 50px;
  box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.2);
}    
a.shop-link {
  padding: 8px 10px;
  color: white;
  background:#8FBE95;
  width: 100%;
  display: flex;
  align-content: center;
  justify-content: center;
}
a.shop-link:hover {
  color: white;
  background: #5D9C9E;
}
.highlight-container a.shop-link {
  margin-top: 10px;
}
.highlight-container p {
  margin-bottom: 0;
}
.highlight-container .wp-block-table td, .highlight-container .wp-block-table th,
.highlight-container table {
  border-width: 0 !important;
  font-size: 14px;
}
.highlight-container table {
  margin-top: 35px;
}
.highlight-container:nth-child(even) {
  flex-direction: row-reverse;
}

.liebling-info {
    width: 85px;
    height: 80px;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: flex-end;
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 2; 
}

.neu-info {
    font-family: var(--gp-font--open-sans);
    background: #f59c00;
    width: 85px;
    height: 85px;
    border-radius: 50% 0% 50% 50%;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 10px;
    right: 10px;
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: 50% 30%;
    color: #00223b;
    font-weight: 600;
    font-size: 22px;
    line-height: 1;
    text-align: center;
    z-index: 2;
    flex-direction: row;
    flex-wrap: wrap;
    padding-bottom: 7px;
    font-weight: 800;    
    box-shadow: unset;    
}
.blog-info {
    width: 85px;
    height: 85px;
    position: absolute;
    top: 10px;
    left: 10px;  
    box-shadow: unset;    
}
.spitzentitel-info {
    background-image: unset;
    width: 85px;
    height: 80px;
    border-radius: 50% 50% 0 50%;
    position: absolute;
    bottom: 15px;
    left: 10px;
    z-index: 2;
    box-shadow: unset;
}
.spitzentitel-info img,
.liebling-info img,
.blog-info img {
  box-shadow: unset;
}
.highlight-cover {
    width: 100%;
    min-height: 200px;
    height: auto;
    position: relative;
    display: flex;
}

.highlight-image {
    display: flex;
    width: 100%;
    height: auto;
}
.highlight-cover .liebling-info,
.highlight-cover .spitzentitel-info {
    position: absolute;
    z-index: 2;
    right: 10px;
    bottom: 15px;
}

p.buch-autor {
  margin-bottom: 0;
}
p.buch-titel {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 10px;
}
p.buch-kurzvorstellung {
  font-size: 15px;
}
a.edit-book-link {
    display: block;
    text-align: center;
}
a.edit-book-link:hover {
    color: var(--global-color-11);
}
.slick-slide a.edit-book-link {
    margin-top: -21px;
    padding-top: 15px;
}    
/** PIN **/
.pushpin {
  position: relative;
  width: 30px;
  height: 55px;
  z-index: 1;
  margin-left: auto;
  margin-top: 0;
  margin-right: auto;
  margin-bottom: -90px;
}
.pushpin.tilted {
  -ms-transform: rotate(9deg);
  -moz-transform: rotate(9deg);
  -webkit-transform: rotate(9deg);
  -o-transform: rotate(9deg);
  transform: rotate(9deg);
}
.pinhead {
  background: darkred;
  width: 75%;
  height: 20%;
  border-radius: 100%;
  position: relative;
  left: 12.5%;
  top: 0;
}
.pinhead:after {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: red;
  position: absolute;
  top: -30%;
  left: 0;
}

.pinbase {
  background: darkred;
  width: 100%;
  height: 25%;
  border-radius: 100%;
  position: relative;
  left: 0;
  top: 30%;
}
.pinbase:after {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: red;
  position: absolute;
  top: -30%;
  left: 0;
}

.pinshaft {
  background: darkred;
  height: 30%;
  width: 50%;
  position: relative;
  border-radius: 0;
  top: -30%;
  left: 25%;
}

.pinshaft:after {
  content: "";
  width: 100%;
  height: 50%;
  border-radius: 50%;
  background: darkred;
  position: absolute;
  top: 75%;
}

.pinpoint {
  display: block;
  background: #999;
  height: 70%;
  width: 14%;
  position: absolute;
  border-radius: 0 0 20% 20%;
  z-index: -50;
  bottom: 0;
  left: 43%;
}
.footer-image {
  transform-origin: top center;
  animation: sway 3s ease-in-out infinite;
}

@keyframes sway {
  0%   { transform: rotate(-2deg); }
  50%  { transform: rotate(2deg); }
  100% { transform: rotate(-2deg); }
}
@media all and (min-width: 769px) and (max-width: 1600px) {
    .slick-wrapper {
      max-width: 90vw;
      margin: 0 auto;
    }
}
@media all and (max-width: 768px) {
    .shelf, .shelf:before {
        background-size: cover; 
    }
    .slick-wrapper {
      max-width: 80vw;
      margin: 0 auto;
    }
}
/** BOOK RATIOS 
.cover.ratio-0-75 {height: 75%;width: 100%;margin: 0 auto;}
.cover.ratio-0-78 {height: 78%;width: 100%;margin: 0 auto;}
.cover.ratio-0-78 {height: 78%;width: 100%;margin: 0 auto;}
.cover.ratio-0-80 {height: 80%;width: 100%;margin: 0 auto;}
.cover.ratio-0-83 {height: 83%;width: 100%;margin: 0 auto;}
.cover.ratio-0-84 {height: 83%;width: 100%;margin: 0 auto;}
.cover.ratio-0-60 {height: 60%;width: 100%;margin: 0 auto;}
.cover.ratio-1-11 img {aspect-ratio: 1/ 0.9;}  

.cover img {
  height: 100%;
  width: auto;
  margin: 0 auto;
  position: relative
}**/
.size-17-20 {
    max-width: 90%;
    margin: 0 auto;
    position: relative;
}
.size-12-16 {
    max-width: 80%;
    margin: 0 auto;
    position: relative;    
}
.size-9-12 {
    max-width: 60%;
    margin: 0 auto;
    position: relative;    
}
/** MEGA MENU **/
.mega-menu-item-object-page {
  display: none;
}
.mega-menu-item-type-widget {
  aspect-ratio: 1 / 1 !important;
  display: flex !important;
  flex-wrap: nowrap !important;;
  justify-content: center !important;
}    
.mega-menu-item-type-widget img {
    max-width: 100% !important;
    height: 100% !important;;
    width: auto !important;
}
.mega-ameet-verlag {
  background:#FFB300 !important;
}
.mega-von-hacht-verlag {
  background:#ffd7f5 !important;
}
.mega-atrium-kinderbuch-verlag {
  background:#FDAE88 !important;
}
.mega-nordsued-verlag {
  background:#FFA4AA !important;
}
.mega-sophie-verlag {
  background:#9CDA7B !important;
}
.mega-erich-kaestner {
  background:#FFF926 !important;
}

.mega-sub-menu:hover li {
  transition: all 1s ease;
  filter: saturate(50%);
}
.mega-sub-menu li:hover {
  transition: all 1 ease;
  filter: saturate(100%);
}

/** POST IT NOTES **/
.quote-container {
  margin-top: -15px;
  position: relative;
}

.quote-container:before, .quote-container:after {
  width: 100px;
  height: 40px;
  display: block;
  content: "";
  background: rgba(255,255,255,0.5);
  position: absolute;  
  z-index:1;
}
.quote-container:before {
  left: 0;
  top: -5px;
  transform: rotate(-10deg);
}
.quote-container:after {
  right: 0;
  top: -5px;
  transform: rotate(20deg);
}
.quote-container p {
  font-family: var(--gp-font--miniver);
  margin-bottom: 0;
}