/* Additions and alterations, to be merged with main.css */

a {
  color: #363636;
}

p:not(:last-child) {
  margin-bottom: 1.5rem;
}

p a,
li a {
  /* color: #FB4A14; */
  font-weight: bold;
}

p.has-text-white a {
  color: white;
}

.has-background-darkgreen:not(.downloads-item) p,
.has-background-darkgreen:not(.downloads-item) p a,
.has-background-darkgreen:not(.downloads-item) p strong,
.has-background-darkgreen:not(.downloads-item) p em,
.has-background-darkgreen:not(.downloads-item) li,
.has-background-darkgreen:not(.downloads-item) li a {
  color: #fff;
}

.has-background-darkgreen ul {
  list-style-image: url("../assets/img/bullet-yellow.svg");
}

.has-text-yellow {
  color: #FFE211 !important;
}

.has-text-darkgreen {
  color: #1C404C !important;
}

.press-review {
  border-color: #363636;
}

.home-section-title {
  line-height: 1em;
  padding-bottom: 0.3em;
}

/* Home headline for Campaigns */
.campaign-title {
  text-transform: none;
  text-align: center;
  font-size: 10vh;
  /* padding-top: 30vh; */
  padding-top: 5vh;
  line-height: 1.3em;
}

/* Home headline on small displays */
@media screen and (max-width: 1024px) {
  .big-title {
    font-size: 8vh !important;
  }
  h1.campaign-title {
    text-shadow: 1px 1px 5px black;
  }
  .campaign-title {
    text-transform: none;
    text-align: center;
    font-size: 6vh;
  }
  .home-section-title {
    font-size: 3rem;
  }
}

/* Home headline on large displays */
@media screen and (min-width: 1920px) {
  .big-title {
    font-size: 8vh !important;
    padding-top: 25vh;
  }
  .campaign-title {
    text-transform: none;
    text-align: center;
    font-size: 10vh;
    padding-top: 30vh;
  }
}

.button-yellow-inverted {
  color: #FFE211 !important;
  background-color: transparent !important;
  text-transform: uppercase;
}

.column ul li {
  padding-bottom: 1rem;
  padding-left: 0.2rem;
}

.column ul li ul {
  padding-top: 1rem;
}

/*  Desktop navigation */
.navbar-item img {
  max-height: 4.75rem;
  width: auto;
}

/* Mobile navigation */
#navbar-burgermenu a {
  color: black !important;
}

#cross-icon-margin {
  margin-left: 6rem;
}

/* alliance partners */
.alliance-partner {
  max-width: 100%;
  min-height: 6rem;
}

@media screen and (min-width: 769px) {
  .alliance-partner {
    max-width: 20%;
  }
}

/* @media screen and (min-width: 769px) and (max-width: 1407px) {
  .alliance-partner img {
    max-width: 80%;
  }
} */

/* Hero Images */
.hero-body,
.hero {
  background-size: cover;
  background-position: center;
}

.hero-body-bundnispartner h1 {
  text-shadow: 1px 1px 5px black;
}

.hero.is-twothirdsheight {
  min-height: 67vh;
}

/* @media screen and (max-width: 1499px) { */
@media screen and (max-width: 1023px) {
  .hero-body-post {
    background-image: url("../assets/img/u4r-plain.png") !important;
    background-position-x: right;
  }
}


/* Hero Video */
#first-video {
  max-height: 100vh;
}

/* Calendar */
.calendar-icon {
  float: left;
}

/* FAQ */
.faq-item:not(:last-child) {
  border-bottom: 3px solid black;
  display: flex;
  flex-wrap: wrap;
}

.faq-item:last-child {
  padding-bottom: 2em;
  border: none;
}

.faq-item h2 {
  width: 100%;
}

/* Funding */
/* .funding-item {
  border-bottom: 3px solid black;
  width: 100%;
}

.funding-item:not(:last-child) {
  border-bottom: 3px solid black;
  display: flex;
  flex-wrap: wrap;
}

.funding-item:last-child {
  padding-bottom: 2em;
  border: none;
}

.funding-item h2 {
  width: 100%;
} */

/* Accordion */
.accordion-item {
  border-bottom: 3px solid black;
  width: 100%;
}

.accordion-item:not(:last-child) {
  border-bottom: 3px solid black;
  display: flex;
  flex-wrap: wrap;
}

.accordion-item:last-child {
  padding-bottom: 2em;
  border: none;
}

.accordion-item h2 {
  width: 100%;
}

/* ul */
/* Reset main.css values, messes up log list pagination */
ul span {
  position: unset;
  left: unset;
}

ul.pagination-list {
  padding-left: 0;
}

.pagination-link.is-current {
  background-color: #1C404C;
  border-color: #1C404C;
  color: #fff;
}

.pagination-previous:focus,
.pagination-next:focus,
.pagination-link:focus {
  border-color: #FB4A14;
}

/* Privacy banner */

.privacywire {
  z-index: 10;
}

.privacywire-wrapper {
  font-size: 90%;
  color: #666;
  line-height: 1.5em;
}

.privacywire-buttons button {
  background: #888;
  color: #fff;
  border: none;
  padding: 0.5em;
  margin-right: 0.5em;
  border: none;
}

.privacywire-buttons {
  margin-top: 0.5em;
}

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

  .privacywire-text {
    width: 90%;
  }

}

/* alliance partner form */
#become-alliance-partner input,
#become-alliance-partner textarea {
  text-transform: none;
}

label.checkbox {
  display: block;
  padding-left: 1.2em;
  text-indent: -1.2em;
}

/* .field:not(:first-child) {
    margin-top: 2em;
} */

.field {
  margin-top: 2em;
}


/* alliance partner modal */
.modal-content {
  padding: 60px;
  width: 100%;
  background-color: rgba(251, 74, 20, 0.9);
}

/* Navbar fix */
@media (min-width: 769px) {
  #navbar-burgermenu {
    display: flex;
  }
}

/* Navigation links */
a.home-nav-links:hover {
  color: #FFE211
}

/* Navbar U4R logo */
@media (min-width: 1024px) {
  .navbar-brand {
    margin-top: -3em;
  }
}

/* Home */
.p-home {
  font-size: 1.75rem;
}

/* Headlines */
h1,
h2,
h3 {
  font-family: "Oswald";
  font-weight: 600;
}

.subtitle {
  font-weight: 600;
  line-height: 1.75em;
  letter-spacing: 0.025em;
}

/* Hero Images */
.hero-body-home {
  background-image: url("../assets/img/waves.jpg");
}

/* Buttons */
.is-darkgreen {
  background-color: #1C404C;
  border-color: #1C404C;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
}

/* Line breaks for buttons with long text */
.button {
  height: auto;
  white-space: normal;
}

/* Yellow button hover */
a.button.is-yellow:hover {
  background-color: white !important;
  border: 1px solid #1C404C !important;
  color: #1C404C !important;
}

/* Dark green button hover */
a.button.is-darkgreen:hover {
  background-color: white !important;
  border: 1px solid #1C404C !important;
  color: #1C404C !important;
}

/* Search button */
#button-search {
  height: 100%;
}

/* Dropdown navigation */
.navbar-dropdown {
  /* background-color: #1C404C !important; */
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.navbar-link .home-nav-links {
  background-color: #1C404C !important;
}

.navbar-white.navbar-item.has-dropdown:focus .navbar-link,
.navbar-item.has-dropdown:hover .navbar-link,
.navbar-item.has-dropdown.is-active .navbar-link {
  background-color: transparent !important;
}

@media screen and (min-width: 1024px) {
  .navbar-dropdown a.navbar-item {
    /* padding-right: 3rem; */
    padding-right: 1rem;
    padding-top: 0.7rem;
  }
}

/* Ship: Facesheet numbers */
@media screen and (max-width: 768px) {
  .box-icon .is-4 {
    font-size: 1rem !important;
  }

  .box-icon .is-xl {
    font-size: 3rem !important;
  }
}

/* Figures and captions */
figure figcaption {
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

/* Header arrow */
#arrow-down {
  position: absolute;
  bottom: 6%;
  left: 50%;
  z-index: 2;
  text-shadow: 1px 1px 5px black;
}

/* Image gallery */
.mfp-figure figure figcaption,
figcaption.gallery__caption {
  font-size: 0.8rem;
  margin-bottom: 0rem;
}

/* Slider */
.splide__arrow svg {
  fill: #fff !important;
  filter: drop-shadow(1px 1px 3px rgb(0 0 0 / 0.5));
}

.splide figcaption {
  color: #fff;
  background-color: rgba(0, 0, 0, .4);
  position: absolute;
  bottom: 0px;
  right: 0px;
  padding: 2px 10px 2px 10px;
}

/* Footer */
.footer-transparency {
  width: 100%;
}

.footer-transparency img {
  max-width: 16rem;
  padding: 0.8rem 0 0.8rem 0;
}

/* Donation progress */
.donation-progress {
  position: relative;
  width: 100%;
  height: 9em;
}

.donation-progress div {
  position: absolute;
  background-color: #ffe211;
}

.d-wave {
  background-image: url('/site/templates/assets/img/campaign-wave.svg');
  background-repeat: repeat-x;
  background-position-y: 75%;
  height: 100%;
  width: 100%;
  z-index: 0
}

.d-anchor {
  top: 55%;
  width: 3em;
  z-index: 1;
}

.d-anchor .icon {
  font-size: 2em;
}

.d-goal {
  right: 0em;
  top: 25%;
  padding: 2em 0 2em 2em;
  z-index: 2;
}

.d-ship {
  left: 3%;
  text-align: center;
  z-index: 3;
}

.d-ship img {
  min-width: 16rem;
}

@media screen and (max-width: 768px) {
  .d-wave {
    background-size: 10%;
    background-position-y: 45%;
  }

  .d-anchor {
    top: 36%;
    width: 2em;
  }

  .d-anchor .icon {
    font-size: 1.5rem !important;
  }

  .d-goal {
    top: 10%;
    padding-left: 0.5em;
  }

  .d-goal .title.is-4 {
    font-size: 1rem !important;
  }

  .d-ship {
    left: 20%;
    text-align: center;
    z-index: 3;
  }
  .d-ship img {
    min-width: 10rem;
  }
}

/*
.shipsheip {
  background-color: #ffe211; 
  position: relative;
  animation: launch 5s;
  animation-fill-mode: forwards;
}

#div5 {animation-timing-function: ease-in-out;}

@keyframes launch {
  from {left: 0px;}
  to {left: 300px;}
}
*/

/* Photo Book */
.photobook-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

.photobook-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* Donation Bar Form */

/* Frequenz-Optionen übereinander anordnen */
.donation-bar-frequency-options .radio {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Styling für die versteckten Radio-Buttons */
.donation-bar-hidden-radio {
  display: none;
}

/* Styling für die Spendenbeträge */
.donation-bar-amount-option {
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1em;
  color: #000;
  text-align: center;
  transition: border 0.2s ease, color 0.2s ease;
  display: inline-block;
}

.donation-bar-amount-option span {
  display: inline-block;
  vertical-align: middle;
}

.donation-bar-amount-option:hover {
  color: #FB4A14;
}

/* Styling für die ausgewählte Option */
.donation-bar-hidden-radio:checked + span {
  padding: 5px 10px;
  border: 2px solid black;
  font-weight: bold;
}


/* Styling für die ausgewählte Option */
.donation-bar-hidden-radio:checked + input.donation-bar-custom-amount {
  border: 2px solid black;
}

/* Styling für das Eingabefeld "anderer Betrag €" */
.donation-bar-custom-amount {
  display: block;
  width: 80px;
  height: 37px;
  border: 2px solid #ccc;
  font-size: 0.96em;
  outline: none;
  appearance: textfield;
  text-align: right;
}

.donation-bar-input-symbol-euro {
  position: relative;
}
.donation-bar-input-symbol-euro input {
  padding-right: 24px;
}
.donation-bar-input-symbol-euro:after {
  position: absolute;
  top: 6px;
  content:"€";
  right: 10px;
}

.donation-bar-custom-amount::placeholder {
  color: #ccc;
  font-style: italic;
}

.donation-bar-custom-amount:focus {
  border-color: black;
}

/* Styling, wenn das Feld über den Radio-Button aktiviert wird */
.donation-bar-hidden-radio:checked + .donation-bar-custom-amount {
  border-color: black;
}
