/*
Theme Name: BB4
Author: Kolja Buscher
Version: 1.0
*/

/**************************************************** RESET ****************************************************/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  box-sizing: border-box;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/**************************************************** VARIABLE ****************************************************/

:root {
  --padding-10: 10px;
  --padding-20: 20px;
  --animationspeed: 200ms;
}

@font-face {
  font-family: "Font";
  src: url("fonts/BB_BETA_GROTESK-Regular.woff");
  font-weight: normal;
  font-style: normal;
}

/**************************************************** BASIC ****************************************************/

* {
  font-size: 14px;
  line-height: 120%;
  font-weight: normal;
  font-family: "Font", Helvetica, Arial, sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-overflow-scrolling: touch;
  -webkit-text-size-adjust: 100%;
  -webkit-box-shadow: none;
  font-style: normal;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  text-transform: uppercase;
  touch-action: manipulation;
  letter-spacing: 0.03em;
  -webkit-backface-visibility: hidden;
}

/**************************************************** PADDING MARGIN ****************************************************/

.padding-10 {
  padding: 12px 10px 11px 10px;
}

.padding-20 {
  padding: 20px;
}

.padding-bottom-10 {
  padding-bottom: 11px;
}

.padding-top-10 {
  padding-top: 12px;
}

/**************************************************** TYPE ****************************************************/

.case-upper {
  text-transform: uppercase;
}

.align-right {
  text-align: right;
}

.align-center {
  text-align: center;
}

.case-mixed,
.case-mixed * {
  text-transform: none;
}

.list a,
.header a,
.footer a {
  color: inherit;
  text-decoration: none;
}

p,
ol,
ul {
  margin-bottom: 16.8px;
}

.columns {
  column-count: 2;
  padding-left: 0px;
  padding-right: 0px;
}

a {
  color: inherit;
}

/**************************************************** GRID ****************************************************/

.grid {
  display: flex;
  flex-flow: row wrap;
  flex-grow: 0;
  flex-shrink: 0;
  width: 100%;
  align-items: flex-start;
  align-content: flex-start;
}

.w-1-12 {
  width: calc(100% / 12 * 1);
}

.w-2-12 {
  width: calc(100% / 12 * 2);
}

.w-3-12 {
  width: calc(100% / 12 * 3);
}

.w-4-12 {
  width: calc(100% / 12 * 4);
}

.w-5-12 {
  width: calc(100% / 12 * 5);
}

.w-6-12 {
  width: calc(100% / 12 * 6);
}

.w-7-12 {
  width: calc(100% / 12 * 7);
}

.w-8-12 {
  width: calc(100% / 12 * 8);
}

.w-9-12 {
  width: calc(100% / 12 * 9);
}

.w-10-12 {
  width: calc(100% / 12 * 10);
}

.w-11-12 {
  width: calc(100% / 12 * 11);
}

.w-12-12 {
  width: calc(100% / 12 * 12);
}

img,
video {
  width: 100%;
  display: block;
}

/**************************************************** LINES ****************************************************/

.border-bottom {
  border-bottom: 2px solid black;
}

.border-top {
  border-top: 2px solid black;
}

hr {
  border:0px;
  outline:0px;
  height:2px;
  background:black;
  margin:12px 0px 11px 0px;
}

.extrapage p {
  margin-bottom:0px;
  text-transform: initial;
}

.extrapage {
  margin-bottom:0px;
  text-transform: initial;
}

/**************************************************** COLORS ****************************************************/

.white .border-bottom {
  border-bottom: 2px solid white;
}

.white .border-top {
  border-top: 2px solid white;
}

.white {
  color: white;
}

@keyframes blink-animation {
  to {
    visibility: hidden;
  }
}

@-webkit-keyframes blink-animation {
  to {
    visibility: hidden;
  }
}

.highlight {
  animation: blink-animation 1s steps(5, start) infinite;
}

/**************************************************** HEADER ****************************************************/

.header {
  position: -webkit-sticky;
  position: sticky;
  width: 100%;
  top: 0px;
  left: 0px;
  z-index: 100;
  height: 41px;
  overflow: hidden;
}

.background-white {
  background: white;
}

/**************************************************** MENU ****************************************************/

.menu-open {
  cursor: pointer;
}

.menu .cell div {
  padding-left: 0px;
}

.menu .cell:hover {
  padding-left: 20px;
}

/**************************************************** ROW ****************************************************/

.row {
  width: calc(100% - 40px);
  margin: 0 auto;
}

.cell {
  padding-left: 0px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.cell.align-right {
  padding-right: 0px;
}

.list a {
  width: 100%;
}

/**************************************************** LIST ****************************************************/

.snapping {
  -webkit-scroll-snap-type: y mandatory;
  -moz-scroll-snap-type: y mandatory;
  scroll-snap-type: y mandatory;
}

.page-list {
  -webkit-scroll-padding-top: 41px;
  -moz-scroll-padding-top: 41px;
  scroll-padding-top: 41px;
}

.list {
  min-height: calc(100vh - (244px + 41px));
}

.list .w-1-12,
.table-header .w-1-12,
.table-header .w-6-12 {
  padding-right: 0px;
}

.snappy {
  -webkit-scroll-snap-align: start;
  -moz-scroll-snap-align: start;
  scroll-snap-align: start;
}

.list .row:not(.table-header):hover .cell {
  padding-left: 20px;
}

/**************************************************** SINGLE ****************************************************/

.section {
  width: 100%;
  height: calc(var(--vh, 1vh) * 100) !important;
  position: relative;
  background: black;
}

.section .slider {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
}

.section .slide {
  height: 100%;
  width: 100%;
}

.section .slide img,
.section .slide video {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.section .slide.cover img,
.section .slide.cover video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.flickity-slider {
/*  transform: none !important;*/
}

.slide {
 /* left: 0 !important; */
  transition: opacity var(--animationspeed) ease-in-out;
  z-index: -1;
}

.slide.is-selected {
  opacity: 1;
  z-index: 0;
}

.lazy {
  filter: blur(10px);
  transition: var(--animationspeed) filter ease-in-out;
}

.flickity-lazyloaded {
  filter: blur(0px);
}

.section::after {
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0) 30%,
      rgba(0, 0, 0, 0.5) 100%);
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 20%;
  content: " ";
  display: block;
  pointer-events: none;
}

.section .caption {
  position: absolute;
  top: 41px;
  width: calc(100% - 40px);
  padding-left: 0px;
  z-index: 100;
  left: 20px;
}

.flickity-page-dots {
  display: flex;
  flex-flow: row;
  flex-wrap: nowrap;
  position: absolute;
  top: 72px;
  width: calc(100% - 36px);
  padding-left: 0px;
  z-index: 100;
  left: 18px;
  bottom: auto;
}

.flickity-page-dots .dot {
  width: 100%;
  height: 2px;
  background: white;
  display: inline-block;
  opacity: 0.5;
  border-radius: 0px;
  margin: 0 2.5px;
  margin-top: 8px;
}

.flickity-page-dots .dot.is-selected {
  opacity: 1;
}

.flickity-prev-next-button {
  background: none !important;
  z-index: 2;
  border-radius: 0px;
  pointer-events: initial !important;
}

.flickity-prev-next-button svg {
  display: none;
}

.flickity-prev-next-button {
  height: calc(var(--vh, 1vh) * 100) !important;
  width: 50vw;
}

.flickity-prev-next-button.previous {
  left: 0px;
}

.flickity-prev-next-button.next {
  right: 0px;
}

.flickity-viewport {
  width: 100%;
}

.autoplay-button {
  position: sticky;
  top: 93px;
  right: 20px;
  z-index: 1;
  color: white;
  cursor: pointer;
  display: none !important;
}

.flickity-prev-next-button.next:disabled {
  pointer-events: none !important;
}

.flickity-prev-next-button.previous:disabled {
  pointer-events: none !important;
}

.imagecaption {
  position: absolute;
  bottom: 0px;
  left: 0px;
}

.back {
  display: none;
}

.topleft:hover .back {
  display: initial;
}

.topleft:hover .title {
  display: none;
}

.section.text .slide {
  display: flex;
  align-items: center;
}

/**************************************************** ABOUT ****************************************************/

#about {
  padding-top: 0px;
  padding-bottom: 0px;
  min-height: calc(100vh - (244px + 41px));
}

.page-about .header,
.page-privacy-policy .header {
  background: white;
}

/**************************************************** COOKIE ****************************************************/

.type-post .cookie-bar *{
color:white;
}

.type-post .border-top {
  border-top: 2px solid white;
}

.cookie-bar {
  position: sticky;
  bottom: 0px;
  width: 100%;
  z-index: 100;
  background:black;
}

.cookie-bar .grid {
  display: flex;
  justify-content: space-between;
  justify-items: space-between;
  flex-flow: row;
  align-items:center
}

.cookie-bar .padding-10 {
  padding-left: 0px;
  padding-right: 0px;
}

.cookie-bar .button {
  padding-left: 20px;
  cursor:pointer;
}

/**************************************************** MOBILE ****************************************************/

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

  body,
  html {
    position: fixed;
    height: 100%;
    width: 100%;
    overflow: auto;
  }

  .section,
  .slide,
  .slide img,
  .slide video {
    height: calc(var(--vh, 1vh) * 100) !important;
  }

  .desktop {
    display: none;
  }

  .row .w-4-12 {
    width: 50%;
  }

  .row {
    width: calc(100% - 20px) !important;
  }

  .section .caption {
    width: calc(100% - 20px) !important;
    left: 10px;
  }

  .padding-20 {
    padding: 10px;
  }

  .flickity-page-dots {
    width: calc(100% - 16px);
    left: 8px;
  }
}