/**
 * Dont change this file!
 * It has been generated by RockFrontend and will be updated when the
 * source file has been changed. That means if you change this file your
 * changes might get lost on a next update.
 */
:root {
  --body-padding-x: 0px;
  --body-padding-y: 20px;
  --navbar-height: 3.3em;
  --footer-height: 10em;
  --image-width: calc(100vh - var(--navbar-height) - 240px);
  --image-min-width: 300px;
  --breakpoint-sm: 480px;
  --content-padding-x: 15px;
  --entry-meta-margin-top: clamp(10px, 10px + 5 * ((100vw - 360px) / (1440 - 360)), 15px);
  --entry-meta-padding-top: clamp(15px, 15px + 5 * ((100vw - 360px) / (1440 - 360)), 20px);
}
html,
body {
  font-family: "Gotham SSm A", "Gotham SSm B", sans-serif;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  min-height: calc(100vh + var(--footer-height));
  padding-bottom: var(--footer-height);
  height: fit-content;
  position: relative;
  padding: var(--body-padding-y) var(--body-padding-x);
}
body.kiosk {
  min-height: 0;
  height: inherit;
}
@media (max-width: var(--breakpoint-sm)) {
  body {
    padding: 0;
  }
}
#topnav {
  height: var(--navbar-height);
  background-image: url(/site/templates/img/gradient.png);
  padding-top: 0.3em;
  background-size: 100% 0.3em;
  background-repeat: no-repeat;
}
#topnav .brand img {
  height: 2em;
  width: auto;
}
#content {
  padding-top: calc(3em - 20px);
  margin: 0 auto;
  max-width: 100%;
  width: fit-content;
  min-height: calc(100vh - (3em - 20px));
}
.body-content {
  padding-left: var(--content-padding-x);
  padding-right: var(--content-padding-x);
  padding-top: 20px;
  padding-bottom: calc(var(--footer-height) + 20px);
}
.body-content a {
  color: black;
  text-decoration: underline;
  box-shadow: none;
  transition: all 0.3s;
}
.body-content a:hover {
  text-decoration: none;
}
.tpl-basic-page #content,
.tpl-submission #content {
  width: 100%;
  max-width: 1000px;
}
.buttonBlack,
.good-share-modal-buttons .btn {
  background-color: #000000;
}
.content-padding-x {
  padding-left: var(--content-padding-x);
  padding-right: var(--content-padding-x);
}
body.kiosk .hide-kiosk {
  display: none;
}
.entry {
  position: relative;
  height: calc(100vh - var(--navbar-height));
  max-height: calc(100vh - var(--navbar-height));
  max-width: 100%;
  display: flex;
  flex-direction: column;
  width: var(--image-width);
  min-width: var(--image-min-width);
  overflow-x: hidden;
}
.entry-image {
  /* flex-grow: 1; */
  aspect-ratio: 1;
  height: auto;
  width: var(--image-width);
  max-width: 100%;
  flex-grow: 0;
  flex-shrink: 0;
  min-width: var(--image-min-width);
  position: relative;
  margin-bottom: 0.8em;
  /* flex-grow: 1; */
  /* max-height: calc(100vh - 24em); */
}
.entry-image img {
  width: 100%;
  height: 100%;
}
.entry-image .entry-image-copyright {
  position: absolute;
  right: 0;
  bottom: -1.8em;
  font-size: 0.8em;
}
.entry-row {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  /* Behält die Höhe bei */
}
.entry-meta {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  height: 64px;
}
.entry-percent {
  font-size: 1.4rem;
  font-weight: bold;
  width: 84px;
}
.entry-percent.up {
  text-align: left;
}
.entry-percent.down {
  text-align: right;
}
.button-icon {
  padding: 0;
  border-radius: 50%;
  margin: 0;
  display: block;
  height: 64px;
  width: 64px;
  background-size: 44px 44px;
  background-position: center;
  background-repeat: no-repeat;
}
.button-icon.padding {
  padding: 10px;
}
.entry-nav .button,
.entry-nav .placeholder {
  font-size: 2rem;
  display: block;
  line-height: 1.4em;
  margin: 0 -15px;
}
.entry-meta .space {
  flex-grow: 1;
}
.entry-nav .button {
  margin-top: 0 !important;
}
.img-icon {
  width: 64px;
  height: 64px;
  display: block;
  padding: 10px;
}
.img-icon.up {
  transform: rotate(180deg);
}
.button-thumb {
  margin: 0;
}
.button-thumb.down:hover .img-thumb {
  /* transform: scale(1.3); */
}
.button-thumb.up:hover .img-thumb {
  /* transform: scale(1.3); */
}
.entry-description-actions-container {
  border-top: 1px solid #000;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: var(--entry-meta-padding-top);
  margin-top: var(--entry-meta-margin-top);
}
.entry-description {
  font-size: clamp(14px, 14px + 2 * ((100vw - 360px) / (1440 - 360)), 16px);
  margin-top: 5px;
}
.entry-description .location {
  margin-bottom: 10px;
}
.entry-description .location strong {
  width: 43px;
  display: inline-block;
}
.entry-description .initial-vote {
  position: absolute;
  margin-left: -16px;
  margin-top: -11px;
}
.entry-description .comment {
  margin-left: 48px;
}
.entry-actions {
  margin-left: 10px;
  margin-right: -6px;
  display: flex;
  flex-direction: column;
}
.entry-actions .button-icon {
  padding: 0;
  --action-width: 44px;
  --action-padding: 12px;
  height: var(--action-width);
  width: var(--action-width);
  background-size: calc(var(--action-width) - var(--action-padding)) calc(var(--action-width) - var(--action-padding));
}
#footer {
  position: absolute;
  bottom: 0.6em;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}
#footer .bk-logo-img {
  height: 8em;
  width: auto;
}
.good-share-modal {
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 10px;
  display: none;
  left: 50%;
  max-width: 550px;
  padding: 50px 30px 30px;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  visibility: hidden;
  width: 90%;
}
.good-share-modal-open .good-share-modal {
  animation: fade 200ms;
  display: block;
  visibility: visible;
  z-index: 1000;
}
.good-share-modal-open .good-share-overlay {
  animation: fade 200ms;
  background: rgba(17, 17, 17, 0.2);
  height: 100%;
  position: fixed;
  top: 0;
  transition: all 0.2s;
  width: 100%;
  z-index: 900;
}
.close-btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  height: 30px;
  position: absolute;
  right: 10px;
  top: 10px;
  transition: opacity 0.2s;
  width: 30px;
}
.close-btn:hover {
  opacity: 0.5;
}
.close-btn:before {
  background-color: #848484;
  content: "";
  height: 25px;
  left: 14px;
  position: absolute;
  top: 2px;
  transform: rotate(45deg);
  width: 2px;
}
.close-btn:after {
  background-color: #848484;
  content: "";
  height: 25px;
  left: 14px;
  position: absolute;
  top: 2px;
  transform: rotate(-45deg);
  width: 2px;
}
.good-share-modal-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.good-share-modal-buttons .btn {
  align-items: center;
}
.good-share-modal-buttons .btn svg {
  margin-right: 8px;
  pointer-events: none;
  width: 20px;
}
.facebook-btn svg path {
  fill: #0077f9;
}
.twitter-btn svg path {
  fill: #1da1f2;
}
.email-btn svg rect {
  fill: #d14836;
  stroke: #ffffff;
}
.email-btn svg path {
  stroke: #ffffff;
}
/* CSS Animations */
@keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* Media Queries */
@media only screen and (max-width: 400px) {
  .good-share-modal-buttons .btn {
    width: 100%;
  }
}
