  /* Basis-Reset */
* {
  box-sizing: border-box;
}



  .highlight-phone {
      color: #d63384; /* Bootstrap pink, anpassbar */
      font-weight: bold;
      font-size: 1.25rem;
    }
    .custom-box {
      max-width: 1250px;
      padding: 2rem;
      border-radius: 1rem;
      box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
      background-color: #fff;
    }
.fixed-img {
  height: 200px; /* oder beliebiger fixer Wert */
  object-fit: cover;
  width: 100%;
}

    .swiper {
      width: 100%;
      padding: 40px 0;
    }

    .swiper-slide {
      display: flex;
      justify-content: center;
    }

    .card {
      width: 95%;
      max-width: 500px;
    }

  .thumbnail-container {
  overflow-x: hidden;
  position: relative;
}
    .thumbnail-scroll {
      display: flex;
      gap: 0.5rem;
      transition: transform 0.3s ease;
    }

.card-img-top {           /* meine Einstellung für die Darstellung der Bilder auf der Seite Gedenken in den Cards */
  height: 300px;          /* größere Höhe erlaubt mehr Bildanteil */
  object-fit: cover;    /* zeigt das ganze Bild, mit evtl. Balken */
}

.myCardLink {
  text-decoration: none;  /* entfernt Unterstreichung */
  color: inherit;         /* übernimmt Textfarbe des Elternteils */
}

#thumbnailWrapper {
  display: flex;
  gap: 1rem;
  transition: transform 0.3s ease;
  overflow: hidden;
}

    .thumbnail-img {
      display: block;
      max-width: 180px;
      height: auto;
      object-fit: contain;
      cursor: pointer;
      flex-shrink: 0;
      border-radius: 0.25rem;
    }

    .thumbnail-img2 {
      width: 180px;
      height: auto;
      object-fit: contain;
      cursor: pointer;
      flex-shrink: 0;
      border-radius: 0.25rem;
    }


    .scroll-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      background-color: rgba(0,0,0,0.5);
      color: white;
      border: none;
      padding: 0.5rem 1rem;
      font-size: 1.5rem;
      cursor: pointer;
      border-radius: 50%;
    }

    .scroll-btn.left { left: 0; }
    .scroll-btn.right { right: 0; }

    .modal-img {
      width: 100%;
      max-height: 90vh;
      object-fit: contain;
    }

    .lightbox-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 2rem;
      color: white;
      background-color: rgba(0, 0, 0, 0.4);
      border: none;
      padding: 0.5rem 1rem;
      cursor: pointer;
      z-index: 1000;
    }

    .lightbox-nav.left { left: 0; }
    .lightbox-nav.right { right: 0; }


/* ================================
       Infobox & Overlay Styling
    ================================== */
     .overlay-backdrop {
      display: none;
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.4);
      z-index: 999;
    }

.infobox-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 80vw;          /* 80 % der Fensterbreite */
    max-width: 800px;     /* maximal 800 Pixel */
    max-height: 80vh;     /* 80 % der Fensterhöhe */

    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);

    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow-y: auto;     /* Scrollen bei langen Texten */
}

    .infobox-header {
      padding: 12px;
      font-weight: bold;
      background: #f5f5f5;
      border-bottom: 1px solid #ddd;
    }

    .infobox-content {
      flex: 1;
      overflow-y: auto;
      padding: 10px;
    }

    .infobox-content ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .infobox-content li {
      padding: 6px 8px;
      cursor: pointer;
      border-radius: 4px;
    }

    .infobox-content li:hover {
      background-color: #efefef;
    }
    .infobox-content li:after {
      background-color: #0c0c7b;
    }

    .infobox-content li.selected {
      background-color: #9de4fe;
    }

/*candle Sprüche Zitate*/
#itemListCandlePublic {
    list-style: none;
    margin: 0;
    padding: 0;
}

#itemListCandlePublic li {
    padding: 15px 18px;
    margin-bottom: 12px;
    background: #f8f9fa;
    border-left: 5px solid #8b6f47; /* warme Farbe */
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    line-height: 1.5;
}

#itemListCandlePublic li:hover {
    background: #ececec;
}

#itemListCandlePublic li.selected {
    background: #f8f1de;
    border-left: 5px solid #b38b2d;
    color: #5f4714;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
/* Infobox candle_upload close button */
.infobox-overlay {
    position: relative;
}

.infobox-close {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 48px;
    height: 48px;
    padding: 0;

    border: 3px solid #000;
    border-radius: 50%;
    background-color: #fff;

    cursor: pointer;
    z-index: 2100;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.infobox-close::before,
.infobox-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;

    width: 22px;
    height: 3px;

    background-color: #000;
    border-radius: 2px;
}

.infobox-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.infobox-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.infobox-close:hover {
    transform: scale(1.08);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
}



/* Infobox close button */
    


.infobox-footer {
      padding: 10px;
      border-top: 1px solid #ddd;
      background: #f5f5f5;
      text-align: right;
    }

    button {
      padding: 6px 12px;
      font-size: 14px;
      cursor: pointer;
    }

.radio-image-group {
    display: flex;
    gap: 1rem;
  }
  .radio-image {
    position: relative;
    cursor: pointer;
    outline: none;
  }

  /* Verstecke die echten Radios */
  .radio-image input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .radio-image img {
    display: block;
    width: 150px;
    height: auto;
    transition: outline 0.2s ease;
    border-radius: 8px;
    object-fit: cover;
  }

  .preserve {
  /*white-space: pre-wrap; /* bewahrt Zeilenumbrüche und bricht bei Bedarf um */
  white-space: pre-line;
}

.card-bodyCandle {
  /* kein Scrollen, alles was übersteht wird versteckt */
  overflow: hidden;

  /* für sauberen Zeilenumbruch, damit es rechts nicht rausläuft */
  word-break: break-word;
  white-space: normal;
}

/* optional: sanftes Ausblenden am unteren Rand (statt harten Schnitt) */
.card-bodyCandle {
  position: relative;
}

/* Fade-out am unteren Rand */
.card-bodyCandle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3em; /* wie stark der Fade sein soll */
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
}

/* ================================
       Candle_Kondolenz-Blog Uebersicht
    ================================== */

.kondolenz-block {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 2rem;
  background: #f9f9f9;
  border-left: 4px solid #444;
  font-family: "Georgia", serif;
  color: #333;
}

.kondolenz-block h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.kondolenz-block .hinweis {
  font-style: italic;
  color: #555;
  margin-bottom: 1.5rem;
}

.kondolenz-form label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}

.kondolenz-form input,
.kondolenz-form textarea {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.3rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

.kondolenz-form button {
  margin-top: 1rem;
  padding: 0.7rem 1.2rem;
  background: #444;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.kondolenz-form button:hover {
  background: #222;
}

.kondolenz-eintraege {
  margin-top: 2rem;
  border-top: 1px solid #ccc;
  padding-top: 1rem;
}

.kondolenz-eintraege .eintrag {
  margin-bottom: 1.2rem;
  padding-left: 1rem;
  border-left: 3px solid #999;
}

.kondolenz-eintraege .text {
  margin: 0;
  font-style: italic;
}

.kondolenz-eintraege .autor {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: #555;
}

.navbar {
    font-size: .95rem;
  }
  .navbar .btn-primary {
    font-weight: 600;
    border-radius: .5rem;
    padding: .5rem 1rem;
  }

  .navbar .nav-link.active {
    color: #ffd54f !important;   /* Gold */
    font-weight: 700;
    border-bottom: 2px solid #ffd54f;
}

.navbar .nav-link:hover {
    color: #ffe082 !important;
}

  :root {
  --bg: #f9f9f9;
  --card-bg: #ffffff;
  --text: #2c2c2c;
  --muted: #6e6e6e;
  --border: #e3e3e3;
  --accent: #555555;
  --radius: 12px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: "Helvetica Neue", Arial, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.45;
  margin: 0;
  padding: 2rem;
  -webkit-font-smoothing: antialiased;
}
body {
      background-image: url('/static/bilder/Hintergrund2_pixabay.jpg'); /* Pfad zum Bild ersetzen */
      background-size: cover;           /* Bild skaliert, so dass es die Fläche füllt */
      background-position: center;      /* zentriert */
      background-repeat: no-repeat;
      background-attachment: fixed;     /* fixiert beim scrollen */
      /* optional: dunkel überlagern für besseren Kontrast */
      position: relative;
      z-index: 0;
    }




.memorial-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 2rem 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.memorial-header {
  text-align: center;
  margin-bottom: 1rem;
}

.name {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text);
}

.dates {
  font-size: 0.95rem;
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-style: italic;
}

.divider {
  width: 80px;
  height: 2px;
  background: var(--accent);
  margin: 1.5rem auto;
  border-radius: 1px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 1.5rem 0 0.75rem;
  letter-spacing: 0.7px;
  text-align: left;
  color: var(--text);
}


/* Modal contant - close button - gedenkseite-details.html */
/* Schließen-Button */
.modal-content .btn-close {
    position: absolute;
    top: -18px;
    right: -18px;

    width: 48px;
    height: 48px;
    padding: 0;

    border: 2px solid #000;
    border-radius: 50%;
    background-color: #fff;
    background-size: 18px;
    opacity: 1;

    z-index: 1100;

    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.modal-content .btn-close:hover {
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(0,0,0,.35);
}

.modal-content .btn-close:focus {
    box-shadow: 0 0 0 .25rem rgba(255,255,255,.35);
}


/* Zeitplan-Tabelle */
.fixedTerminIntern-table {
    table-layout: fixed;
    width: 100%;
}

.colTermineGPS-fixed{
    width: 150px;
    word-wrap: break-word;
    white-space: normal;
}

.gpsOrtLinks{
    text-decoration: none;
    color: var(--bs-card-color);
}


.schedule {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.schedule thead th {
  text-align: left;
  padding: 12px 14px;
  background: #fafafa;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
}


.schedule tbody tr {
  border-bottom: 1px solid var(--border);
}

.schedule tbody tr:last-child {
  border-bottom: none;
}

.schedule td {
  padding: 12px 14px;
  vertical-align: top;
}

.schedule tbody tr:nth-child(odd) {
  background: #fcfcfc;
}

.note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

@media (max-width: 900px) {
  .memorial-card {
    padding: 1.5rem 1.75rem;
  }

  .name {
    font-size: 1.9rem;
  }

  .schedule thead {
    display: none;
  }

  .schedule, 
  .schedule tbody, 
  .schedule tr, 
  .schedule td {
    display: block;
    width: 100%;
  }

  .schedule tr {
    margin-bottom: 1rem;
    background: #fdfdfd;
    border-radius: 8px;
    padding: 0.5rem;
  }

  .schedule td {
    padding: 8px 12px;
    position: relative;
  }

  .schedule td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.75rem;
    color: var(--accent);
  }
}

 .image-box {
      flex: 0 1 120px; /* Basisbreite 200px, schrumpfbar, umbruchsicher */
      /* alternativ: width: 200px; */
    }

    .image-box img {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 0.5rem;
      object-fit: cover;
      
    }

/* === DokumenteListe neutralisieren === */
#DokumenteListe li,
#DokumenteListe li:hover,
#DokumenteListe a,
#DokumenteListe a:hover {
  background: none !important;
  color: inherit !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline !important;
  border: none !important;
  text-decoration: underline !important;
  cursor: pointer;
}

/* komplette Liste */
.dok-liste {

    list-style: none;
    padding: 0;
    margin: 0;
}

/* einzelnes Listenelement */
.dok-item {
  display: list-item;
  list-style-type: disc;
  padding: 10px 14px;
  background-color: #fff;
  }

/* letzte Linie entfernen */
.dok-item:last-child {
    border-bottom: none;
}

/* horizontale Ausrichtung */
.dok-row {
    display: flex !important;           /* Bootstrap-Fix */
    
    gap: 12px;
}

/* Link */
.dok-link {
    flex: 1;
    text-decoration: none;
    color: #0d6efd;                      /* Bootstrap primary */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dok-link:hover {
    text-decoration: underline;
}

.dok-delete{
  cursor: pointer;
  color:  rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
}


/* === Bild mit class zoom-img anclickbar und groß in einer Box darstellen === */
.overlay {
    display: none; /* anfangs unsichtbar */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.overlay-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/*imoressum und datenschutz Seite*/


.impressum-card-body {
    line-height: 1.6;
}

.legal-card {
    background-color: #fff;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.legal-card-body {
    line-height: 1.65;
}


.quote-box {

    background:#fafafa;

    padding:20px;

    border-radius:15px;

    font-style:italic;

}



.editor-card {

    background:white;

    padding:25px;

    border-radius:20px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);

}



.editor-section {

    margin-top:25px;

    padding-bottom:20px;

    border-bottom:1px solid #eee;

}

/* ================================
       Kundenportal - Verstorbenen-Termine
    ================================== */
    .termin-editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.termin-preview-wrapper,
.termin-editor-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.termin-preview-wrapper {
    padding: 24px;
    position: sticky;
    top: 20px;
}

.termin-preview-header {
    padding-bottom: 18px;
    margin-bottom: 8px;
    border-bottom: 1px solid #ececec;
}

.termin-preview-item {
    padding: 20px 0;
    border-bottom: 1px solid #ececec;
}

.termin-preview-item:last-child {
    border-bottom: 0;
}

.termin-preview-title {
    margin-bottom: 7px;
    font-size: 1.1rem;
    font-weight: 600;
}

.termin-preview-date {
    margin-bottom: 4px;
    font-weight: 500;
}

.termin-preview-place {
    margin-bottom: 5px;
    color: #555;
}

.termin-preview-description {
    margin-bottom: 0;
    color: #777;
    white-space: pre-line;
}

.termin-preview-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.9rem;
}

.termin-preview-empty {
    padding: 28px 10px;
    color: #777;
    text-align: center;
}

.termin-editor-card {
    padding: 24px;
    margin-bottom: 20px;
}

.termin-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ececec;
}

.termin-system-label {
    color: #777;
    font-size: 0.85rem;
}

.termin-editor-card input[readonly],
.termin-editor-card textarea[readonly] {
    background-color: #f7f7f7;
    cursor: not-allowed;
}

@media (max-width: 1199.98px) {
    .termin-preview-wrapper {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .termin-editor-header {
        align-items: stretch;
        flex-direction: column;
    }

    .termin-card-header {
        align-items: stretch;
        flex-direction: column;
    }

    .delete-termin-btn {
        align-self: flex-start;
    }
}

/* ================================
       Gedenkseite - für kleine Bildschirme optimieren
    ================================== */
    /* Der innere Inhalt soll immer die komplette Breite der custom-box nutzen */
.cards-box > .row {
    width: 100%;
}

/* Smartphone im Hochformat */
@media (max-width: 575.98px) {
    .cards-box {
        width: 100vw;

        /* Aus dem begrenzten Bootstrap-Container ausbrechen */
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;

        padding-left: 10px;
        padding-right: 10px;
    }

    .cards-box > .row {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .cards-box .col-12 {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .cards-box .card {
        width: 100%;
    }
}
@media (max-width: 575.98px) {
    .cards-box .mb-5 {
        margin-bottom: 1.5rem !important;
    }
}

/* =========================================
   GEDENKSEITE DETAIL – KOPFBEREICH
========================================= */

.memorial-detail-header {
    width: 100%;
    padding: 24px 28px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.98),
            rgba(247, 245, 241, 0.98)
        );

    border: 1px solid rgba(66, 58, 50, 0.11);
    border-radius: 26px;

    box-shadow:
        0 14px 38px rgba(46, 40, 35, 0.1),
        0 3px 10px rgba(46, 40, 35, 0.05);
}


/* Profilbild */

.memorial-detail-image {
    display: block;

    width: 230px;
    height: 230px;
    max-width: 100%;

    margin: 0 auto;

    object-fit: cover;
    object-position: center;

    border: 7px solid #ffffff;
    border-radius: 50%;

    box-shadow:
        0 12px 30px rgba(51, 45, 40, 0.2),
        0 0 0 1px rgba(70, 60, 52, 0.1);

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.memorial-detail-image:hover {
    transform: scale(1.025);

    box-shadow:
        0 16px 36px rgba(51, 45, 40, 0.24),
        0 0 0 1px rgba(70, 60, 52, 0.12);
}


/* Textbereich */

.memorial-detail-content {
    max-width: 720px;
    padding: 10px 16px;
}

.memorial-detail-name {
    margin: 0;

    color: #332f2b;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: 0.01em;
}

.memorial-detail-birthname {
    margin-top: 9px;

    color: #827a73;

    font-size: 1rem;
    font-style: italic;
}


/* Lebensdaten */

.memorial-detail-dates {
    margin-top: 22px;
    padding: 17px 20px;

    color: #57514b;
    background: rgba(255, 255, 255, 0.58);

    border-top: 1px solid rgba(78, 68, 60, 0.12);
    border-bottom: 1px solid rgba(78, 68, 60, 0.12);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    line-height: 1.85;
}

.memorial-detail-symbol {
    display: inline-block;
    min-width: 18px;

    color: #6f675f;

    font-weight: 600;
}


/* Beisetzung */

.memorial-detail-funeral {
    margin-top: 22px;
    padding: 16px 20px;

    color: #554e48;
    background: #ece8e3;

    border-radius: 16px;

    font-size: 0.98rem;
    line-height: 1.65;
}

.memorial-detail-funeral-title {
    margin-bottom: 4px;

    color: #3f3a35;

    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.memorial-detail-funeral i {
    margin-right: 4px;
}

.memorial-detail-divider {
    margin: 0 8px;
    color: #9e958c;
}

.memorial-detail-location {
    margin-top: 3px;
}


/* Abschiedsworte */

.memorial-detail-quote {
    position: relative;

    margin-top: 24px;
    padding: 22px 24px;

    color: #5d5650;
    background: rgba(255, 255, 255, 0.7);

    border-left: 4px solid #aea39a;
    border-radius: 4px 17px 17px 4px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.65;
}

.memorial-detail-quote-icon {
    display: block;

    margin-bottom: 4px;

    color: #a69c93;
    font-size: 1.7rem;
    line-height: 1;
}


/* WhatsApp-Teilen */

.memorial-detail-share {
    display: flex;
    justify-content: flex-end;

    margin-top: 18px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 767.98px) {

    .memorial-detail-header {
        padding: 24px 16px;
        border-radius: 20px;
    }

    .memorial-detail-image {
        width: 180px;
        height: 180px;
    }

    .memorial-detail-content {
        max-width: none;
        padding: 0 4px;

        text-align: center;
    }

    .memorial-detail-name {
        font-size: 2.1rem;
        text-align: center;
    }

    .memorial-detail-birthname {
        text-align: center;
    }

    .memorial-detail-dates {
        text-align: center;
    }

    .memorial-detail-funeral {
        text-align: center;
    }

    .memorial-detail-quote {
        padding: 20px 18px;

        text-align: center;
    }

    .memorial-detail-share {
        justify-content: center;
    }
}


@media (max-width: 575.98px) {

    .memorial-detail-header {
        padding: 20px 12px;
    }

    .memorial-detail-image {
        width: 155px;
        height: 155px;

        border-width: 5px;
    }

    .memorial-detail-name {
        font-size: 1.8rem;
    }

    .memorial-detail-dates {
        padding: 14px 10px;
        font-size: 0.96rem;
    }

    .memorial-detail-funeral {
        padding: 14px 12px;
        font-size: 0.92rem;
    }

    .memorial-detail-quote {
        font-size: 0.98rem;
    }
}