﻿body {
    padding-bottom: 50px;
}

.jumbotron {
    margin-bottom: 0;
}
.dp-navbar .navbar {
     padding-top: 16px;
    padding-bottom: 16px;
}

/*we cant use the bootstrap navbar-light|dark styles to style the icon as this may render it
invisible on existing designs (we are adding burgerisation post launch)
Doing it this way with a hardcoded white background means it should at least always be vsisible, and also stylable
    by campaign custom CSS if required
*/
.dp-navbar .navbar .navbar-toggler {
    background-color: #FFF;
    border-color: rgba(0,0,0,.1);
}

.dp-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


    .dp-navbar .row {
        height: 100%;
        margin-bottom: 0;
    }



a.dp-logo-link img {
    max-height: 80px;
}

.dp-dedication-card {
    margin-bottom: 25px;
}

.link-unstyled, .link-unstyled:link, .link-unstyled:hover {
    color: inherit;
    text-decoration: inherit;
}

.dp-photo-container {
    min-height: 1px; /*solve IE 11 bug case 17445*/
}
.dp-banner-image {
    background-color: transparent;
}
.dp-banner-container {
    text-align: center;
}
.dp-page-intro-text {
    margin: 3rem 0;
}


.dp-total-bar {
    padding: 1rem;
    font-size: 1.3rem;
}

.dp-total-bar-message {
    margin-bottom: auto;
    margin-top: auto;
}



.dp-dedication-date {
    text-align: right;
}
span.social-popover-link:hover {
    cursor: pointer;
}

span.social-popover-link:focus {
    outline: 0;
}

.social-popover-list  a:hover {
    text-decoration: none;
}

.popover.social-popover.bs-popover-top > .arrow:after {
    border-top-color: #f8f9fa;
}
.popover.social-popover.bs-popover-left > .arrow:after {
    border-left-color: #f8f9fa;
}
.popover.social-popover.bs-popover-right > .arrow:after {
    border-right-color: #f8f9fa;
}
.popover.social-popover.bs-popover-bottom > .arrow:after {
    border-bottom-color: #f8f9fa;
}

.text-pre-line {
    white-space: pre-line !important;
}

.grid-item-content.dp-dedication-card {
    cursor: pointer;
}

.dp-dedication-card-solo .dp-dedication-message {
    font-size:1.25rem;
    margin-top: 1.5rem;
    margin-bottom:1.5rem;
}
.dp-dedication-card-solo .dp-dedication-image{
    padding: 1rem;
}

.dp-dedication-card-solo .dp-dedication-image img {
    max-height: 600px;
    border-radius: .25rem;
}

.dedication-intro-message p{
    margin-bottom: 0;
}

.preview-msg-bar {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 12px;
    text-align: center;
    color: #fff;
    background-color: #17a2b8;
    height: 30px;
    line-height: 30px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 10000;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.tooltip-inner {
    background-color: white;
    color: black;
    border: 1px solid gray;
    font-size: 12px;
    border-radius: 0;
}

.tooltip.bs-tooltip-right .arrow::before {
    background-color: white !important;
    border-right-color: white;
}

body.modal-open {
    overflow: auto !important;
    padding-right: 0 !important;
}

.btn-clear-search {
    display: none;
    position: absolute;
    left: -39px;
    font-size: 1.25rem;
    padding: 9px 12px;
    cursor: pointer;
    outline: none;

}
/*https://stackoverflow.com/questions/1542320/margin-while-printing-html-page*/
@page {
    size: auto;
    margin: 25mm 25mm 25mm 25mm;
} 


@media print
{


    .dp-searchbox-row,
    .btn-donate {
        display: none;
    }

    /*disable masonry based on  https://stackoverflow.com/a/13955084 */
    .grid-item[style] {
        position: relative !important;
        display: block !important;
        left: 0 !important;
        top: auto !important;
        float: left;
        flex: unset;
        max-width: 50%;
    }

    .dp-dedications .grid[style] {
        height: auto !important;
    }

   

    .dp-banner-image {
        min-height: initial;
    }
    .jumbotron {
        padding: 0;
        margin: 0;
    }

    .dp-page-heading {
        margin-top: 0;
    }

    .grid-item-content.dp-dedication-card {
        border: 1px solid rgba(0,0,0,.125) !important;
        page-break-inside: avoid;
    }

}