/* input(52,37): run-time error CSS1046: Expect comma, found '0'
input(52,41): run-time error CSS1046: Expect comma, found '/'
input(261,37): run-time error CSS1046: Expect comma, found '0'
input(261,41): run-time error CSS1046: Expect comma, found '/'
input(346,37): run-time error CSS1046: Expect comma, found '0'
input(346,41): run-time error CSS1046: Expect comma, found '/' */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity));
}

.preline {
    white-space: pre-line;
}

.banner-section {
    background-image: url(../img/banner.jpg?v=6iZA_Rm2VZv8GLro_cXAcVuurZM);
    background-size: cover;
}

body.homepage .banner-section .container {
    margin-top: 100px;
    margin-bottom: 200px;
}

body:not(.homepage) .banner-heading,
body:not(.homepage) .banner-subheading {
    display: none;
}

.tribute-listings {
    display: flex;
    flex-direction: column;
    min-height: 1820px;
}

.tribute-listing {
    margin-bottom: 2rem;
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #ddd;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
    background-color: #fff;
    position: relative;
    cursor: pointer;
    text-align: center;
}

    .tribute-listing:hover {
        background-color: #f8f9fa;
    }

.tribute-listing-summary-inner p{
    display:inline; /*needed so line clamp works in mobile safari when content has p tags*/
}
.tribute-listing-summary-inner {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tribute-listing-main-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tribute-listing-grid > div {
    margin-bottom: 1.25rem;
}

    .tribute-listing-grid > div:last-child {
        margin-bottom: 0;
    }

.tribute-listing-partner img {
    max-width: 120px;
    max-height:100%;
}

.tribute-listing .btn-donate {
    border-radius: 50px;
}

.tribute-avatar img {
    max-height: 100px;
    border-radius: 0.5rem;
}

.tribute-listing-funeral > span {
    display: block;
    margin-bottom: 0.25rem;
}

    .tribute-listing-funeral > span:last-child {
        margin-bottom: 0;
    }

@media (min-width: 768px) {
    .tribute-listing-grid {
        display: grid;
        grid-template-columns: 150px auto 150px 150px;
        grid-template-rows: 40px 80px 30px;
        height: 150px;
    }

    .tribute-listing {
        padding: 0;
        text-align: unset;
    }

    .tribute-listing-grid > div {
        margin-bottom: 0;
    }

    .tribute-listing-funeral {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

        .tribute-listing-funeral > span {
            display: inline-block;
            margin-bottom: 0;
            padding-right: 1rem;
        }

    .tribute-avatar {
        grid-row: 1/4;
        grid-column: 1/1;
    }

        .tribute-avatar img {
            width: 100%;
            max-height: unset;
            object-fit: cover;
            border-radius: 0;
            border-top-left-radius: 15px;
            border-bottom-left-radius: 15px;
        }

    .tribute-listing-name {
        grid-row: 1/1;
        grid-column: 2/4;
        padding: 8px 12px 8px 12px;
    }

    .tribute-listing-partner {
        display: flex;
        align-items: center;
        grid-row: 2/3;
        grid-column: 4/4;
        padding: 10px 12px;
    }

        .tribute-listing-partner img {
            max-width: 100%;
        }

    .tribute-listing-funeral {
        grid-row: 3/3;
        grid-column: 2/5;
        padding: 0 12px 10px 12px;
    }

    .tribute-listing-links {
        display: flex;
        align-items: start;
        grid-row: 1/3;
        grid-column: 4/4;
        padding: 10px 12px;
    }

        .tribute-listing-links a {
            position: relative;
            z-index: 101;
        }

    .tribute-listing-summary {
        grid-row: 2/2;
        grid-column: 2/4;
        padding: 8px 12px 8px 12px;
        overflow: hidden;
    }



    .tribute-listing .btn-donate {
        transform: translate(0, -20px);
    }

        
}

.alpha-sort-bar {
    display: grid;
    grid-template-columns: 200px auto 150px;
    align-items: center;
}

.alpha-sort-bar-name-toggle {
    grid-column: 1/3;
    grid-row: 1/2;
    margin-bottom: 0.5rem;
}

.alpha-sort-bar-letters {
    grid-column: 1/4;
    grid-row: 2/2;
    text-align: center;
}

.alpha-sort-bar-ordering {
    grid-column: 3/3;
    grid-row: 1/2;
    margin-bottom: 0.5rem;
}

@media (min-width: 1200px) {

    .alpha-sort-bar {
        display: grid;
        grid-template-columns: 200px auto 150px;
        align-items: center;
    }

    .alpha-sort-bar-name-toggle {
        grid-column: 1/3;
        grid-row: 1/1;
        margin-bottom: 0;
    }

    .alpha-sort-bar-letters {
        grid-column: 2/3;
        grid-row: 1/1;
    }

    .alpha-sort-bar-ordering {
        grid-column: 3/3;
        grid-row: 1/1;
        margin-bottom: 0;
    }
}


.activity-feed {
    border-radius: 15px;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
}

.activity-feed-item {
    cursor: pointer;
}

    .activity-feed-item:hover {
        background-color: #f8f9fa;
    }


a.lnk-startswith {
    display: inline-block;
    padding: 0.25rem 0.35rem;
    text-decoration: none;
    font-weight: bold;
    color: #c3c5c9 !important;
    cursor: pointer;
}

    a.lnk-startswith:hover,
    a.lnk-startswith.selected {
        color: #5c636a !important;
    }

.tribute-search-pager {
    font-size: 1.5rem;
}


.funeral-notice {
    display: block;
}

    .funeral-notice > div {
        margin-bottom: 30px;
    }

@media (min-width: 992px) {
    .funeral-notice {
        display: grid;
        grid-template-columns: auto 370px;
        grid-template-rows: auto 370px auto;
        row-gap: 30px;
        column-gap: 30px;
    }

        .funeral-notice > div {
            margin-bottom: 0;
        }
}


.funeral-notice-heading {
    grid-column: 1/3;
    grid-row: 1/1;
}

.funeral-notice-details {
    grid-column: 1/2;
    grid-row: 2/4;
    align-self:start;
}

.funeral-notice-details-raw table{
    max-width: 100%; /*some FDs paste tables with fixed widths in here, breaking smaller screen sizes*/
}

.funeral-notice-avatar {
    grid-column: 2/3;
    grid-row: 2/3;
}

.funeral-notice-right-col {
    grid-column: 2/3;
    grid-row: 3/4;
}

    .funeral-notice-right-col > div {
        margin-bottom: 30px;
    }

.funeral-notice .card {
    border: 1px solid #ddd;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
    border-radius: 15px;
}

.funeral-notice .card-header {
    background-color: unset;
    border-bottom: 0;
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

    .funeral-notice .card-header h4 {
        margin-bottom: 0;
    }

.funeral-notice .card-body {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.funeral-notice-avatar .card-body {
    padding: 1.5rem;
}

.funeral-notice-avatar img {
    max-width: 300px;
    width: 100%;
}

.funeral-notice img.google-map {
    max-width: 390px;
    width: 100%;
}


.feed-candle {
    color: #ffe66d;
    opacity: 0.7;
}

.feed-donation {
    color: #9f3cb3;
    opacity: 0.7;
}

.feed-thought {
    color: #ababab;
    opacity: 0.7;
}

.feed-image {
    color: #97d3d9;
    opacity: 0.7;
}
.fade-in {
    animation: fadeIn 1s;
    -webkit-animation: fadeIn 1s;
    -moz-animation: fadeIn 1s;
    -o-animation: fadeIn 1s;
    -ms-animation: fadeIn 1s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fade-out {
    animation: fadeOut 1s;
    -webkit-animation: fadeOut 1s;
    -moz-animation: fadeOut 1s;
    -o-animation: fadeOut 1s;
    -ms-animation: fadeOut 1s;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-moz-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-o-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-ms-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
