/*!
 * DJH v1.0 (https://www.jugendherberge.de/)
 * Copyright 2024 DIA Digital Consulting
*/

:root {
  --bs-primary: #4F105B;
  --bs-secondary: #2a0831;
  --bs-tertiary: #9D214B;
  --bs-grey: #737373;
  --bs-primary-rgb: 0, 118, 115;

  --bs-font-sans-serif: "Poppins", sans-serif;

  --bs-body-color: #262626;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;

  --bs-heading-color: var(--bs-primary);

  --bs-border-color: var(--bs-grey);
  --bs-border-radius: 0;

  --bs-nav-link-color: var(--bs-primary);
  --bs-link-color-rgb: var(--bs-tertiary);
  --bs-link-hover-color-rgb: #7E1A3C;

  --bs-btn-bg: var(--bs-primary); 
  --bs-btn-hover-bg: var(--bs-black);
  --bs-btn-padding-x: 1.25rem;
  --bs-btn-padding-y: 0.5rem;

  --bs-accordion-btn-padding-x: 0px;
  --bs-accordion-active-color: var(--bs-primary);
  --bs-accordion-active-bg: var(--bs-white);
  --bs-accordion-body-padding-x: 0px;
  --bs-accordion-btn-focus-box-shadow: 0px;

  --bs-input-btn-padding-y: 2rem;
  --bs-input-btn-padding-x: 2rem;
  
 

}

@media (max-width: 768px) {
    header a.d-sm-none {
        font-size: 12px; 
        padding-left: 20px;
    }

}

@media (max-width: 480px) {
    /*.hero.nlsub {
        background-image: url('https://image.email.moebel-martin.de/lib/fe30117373640478761776/m/1/8f717f39-75f5-4ea5-a982-294412902e87.jpg')!important;
        background-position: center;
        background-size: cover;
        min-height:320px;
    }

    .hero.prefc {
        background-image: url('https://image.email.moebel-martin.de/lib/fe30117373640478761776/m/1/24125e9a-d75a-4fe2-a4fc-080b48e5d896.jpg')!important;
        background-position: center;
        background-size: cover;
        min-height:320px;
    }

    .hero.wedoi {
        background-image: url('https://image.email.moebel-martin.de/lib/fe30117373640478761776/m/1/6720b583-bce5-48e7-b18b-99eb4e48caa3.jpg')!important;
        background-position: center;
        background-size: cover;
        min-height:320px;
    }*/

    .style-item {
        flex: 0 0 calc(50% - 10px) !important; /* 2 columns with spacing */
        max-width: calc(50% - 10px) !important;
    }
}

/* Header */

header {
  align-items: center;
}

.logo {
  height: 80px;
  width: auto;
}

/* Hero */

.hero {
  background-position: center;
  background-size: cover;
  /* min-height: 480px; */
  height: calc(100vw / 3.2);
  width: 100%;
}

/*.hero.nlsub {
    background-image: url('https://image.email.moebel-martin.de/lib/fe30117373640478761776/m/1/7465315a-b935-4671-ae0f-75e337573647.jpg');
}

.hero.prefc {
    background-image: url('https://image.email.moebel-martin.de/lib/fe30117373640478761776/m/1/97ae637b-c6b9-4ab9-ac07-c9ccaeadb63f.jpg');
}

.hero.wedoi {
    background-image: url('https://image.email.moebel-martin.de/lib/fe30117373640478761776/m/1/51279716-1081-4a58-b173-ead1bedcb7c3.jpg');
}*/

.hero h1 {
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  color: var(--bs-white);
  padding: 10px 0;
  position: absolute;
  top: calc(50% - 48px);
  left: 0;
  width: 100%;
  z-index: 10;
}

.hero:before {
  content: '';
  /*background-color: rgba(0, 0, 0, 0.2); no overlay */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}

/* Form */

.form-label {
  font-size: 0.875em;
  color: var(--bs-body-color);
  font-weight: 700;
}

.form-control {
  padding: .5rem 1rem;
  border-radius: 20px;
}

.form-select {
  height: 42px;
  border-radius: 20px;
}

.accordion-header {}
.accordion-button {
  padding: .5em 0px;
  font-size: inherit;
}

.accordion-button:not(.collapsed) {
  box-shadow: inherit;
  background-color: transparent;
  color: var(--bs-primary);
}

.accordion-button:focus { 
  box-shadow: inherit;
}

.accordion-body { 
  padding-left: 0px;
  padding-right: 0px;
}

input[type="checkbox"] {
  appearance: none; /* Removes default checkbox style */
  background-color: #fff; /* White background when unchecked */
  border: 1px solid #999999; /* Light border */
  cursor: pointer;
  display: inline-block;
  position: relative;
}

input[type="checkbox"]:checked {
  background-color: var(--bs-primary); /* Dark background when checked */
  border: 1px solid var(--bs-primary);
}

/* Custom styling for radio buttons */
input[type="radio"] {
  appearance: none; /* Remove default styling */
  -webkit-appearance: none; /* For WebKit browsers */
  background-color: #ffffff; /* White background for unselected state */
  border: 1px solid #999; /* Light gray border */
  border-radius: 4px; /* Square shape with slight rounding */
  width: 20px; /* Square size */
  height: 20px;
  display: inline-block; /* Keep alignment consistent */
  cursor: pointer; /* Pointer cursor for interactivity */
  transition: all 0.3s ease; /* Smooth transitions for hover/focus */
}

/* Selected state */
input[type="radio"]:checked {
  background-color: #000; /* Black background for selected state */
  border-color: #000; /* Black border for selected state */
}


/* Footer */

footer {
  font-size: 0.875em;
  border-top: 1px solid #EFEFEF;
}

footer h5 {
  font-size: 1em;
  font-weight: 700;
}

footer .footer-meta {
 background: var(--bs-primary);
 color: var(--bs-white);
}

footer .footer-meta a {
 color: var(--bs-white);
}

footer .socials {
  padding: 0;
  margin: 0;
}

footer .socials li img {
  width: 40px;
  height: auto;
}

/* Buttons */

.btn {
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
}

.btn-primary {
  background: #9D214B;
  border-color: #9D214B;
  color: var(--bs-white);
}

.btn-primary:hover {
  background: #7E1A3C;
  border-color: #7E1A3C;
}

.btn-tertiary {
  background: var(--bs-tertiary);
  border-color: var(--bs-tertiary);
  color: var(--bs-white);
}

.btn-tertiary:hover {
  background: #7E1A3C;
  border-color: #7E1A3C;
  color: var(--bs-white);
}

/* To align on subscription page switch and checkbox */
.form-check-label {
    display: block;
    margin-top: 0.2rem;
}

/* CUSTOM */

.confirmation-message {
    background-color: #f1f3e4; /* Light green background */
    border: 1px solid #d9e0ce; /* Slightly darker green border */
    padding: 15px;
    margin-top:30px;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #333;
}

.confirmation-message p {
    margin: 0;
    padding-bottom: 10px;
}

.confirmation-message a {
    color: #363636;
    text-decoration: underline;
    font-weight: bold;
}

.confirmation-message a:hover {
    text-decoration: none;
    color: #363636;
}

.error-message {
    background-color: #f9aeae; /* Light red background */
    border: 1px solid #d62929; /* Slightly darker red border */
    padding: 15px;
    margin-top:30px;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #333;
}

.error-message p {
    margin: 0;
    padding-bottom: 10px;
}

.general-consent {
    margin-top: 0rem!important;
}

/* Custom style for the toggle checkbox when checked to go green */
input[type="checkbox"].toggle-checkbox:checked {
    background-color: #4F105B; 
    border-color: #4F105B;
}

/* CONTENT */

h3 {
    font-size: 23px;
}

/* Scoped styles for the accordion style grid */

/* Style the flex container */
.style-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

/* Style individual items */
.style-item {
  position: relative;
  flex: 0 0 calc(20% - 10px); /* Ensure 5 columns with spacing */
  max-width: calc(20% - 10px);
  text-align: center;
}

/* Make the label the clickable area */
.style-label {
  display: block;
  position: relative;
  cursor: pointer;
  text-align: center;
}

/* Style the images */
.style-image {
  width: 100%;
  height: auto;
  border: 2px solid transparent;
  transition: border 0.3s ease;
}

/* Highlight the image when the checkbox is checked */
input.style-checkbox:checked + .style-image {
  border: 2px solid var(--bs-secondary);
}

/* Properly position the checkbox inside the image container */
.style-item input.style-checkbox {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 20px;
  height: 20px;
  z-index: 10;
  appearance: none;
  background-color: #fff;
  border: 2px solid var(--bs-primary);
  cursor: pointer;
}

/* Change background and border color when checked */
.style-item input.style-checkbox:checked {
  background-color: var(--bs-secondary);
  border-color: var(--bs-secondary);
}

/* Caption styling */
.style-label span {
  font-size: 14px;
  font-weight: 500;
  color: var(--bs-primary);
  margin-top: 5px;
}

p a {
  color: #9d214B;
}

p a:hover {
  color: #7E1A3C;
}
