﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

@font-face {
    font-family: 'Crimson Pro';
    src: url('../lib/fonts/crimsonpro-variablefont_wght.woff2') format('woff2'),
         url('../lib/fonts/crimsonpro-variablefont_wght.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../lib/fonts/opensans-variablefont_wdthwght.woff2') format('woff2'),
         url('../lib/fonts/opensans-variablefont_wdthwght.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sans Italic';
    src: url('../lib/fonts/opensans-italic-variablefont_wdthwght.woff2') format('woff2'),
         url('../lib/fonts/opensans-italic-variablefont_wdthwght.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.btn-link {
    color: #006ee5;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: small;
    position: relative;
}
@media (min-width: 768px) {
  html {
    font-size: 14px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
main { 
    padding: 3rem 0 0;
}
h1, h2, h3, h4 {
    font-family: "Crimson Pro", serif !important;
    font-optical-sizing: auto;
    font-weight: 400;
    line-height: 1;
}
.h1, h1 {
    font-size: xxx-large;
}

/* Customized CSS for jQuery UI: simple info button and box. */

.ui-dialog {
    background-color: rgba(0, 0, 0, .7); 
    position: fixed; 
    z-index: 2; 
    height: 100%; 
    width: 100%; 
    display: grid; 
    place-content: center; 
    top: 0; 
    left: 0;
}
.ui-widget-header {
    background: #f1f1f1 !important;
    padding-left: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 4px !important;
    border-top-right-radius: 4px !important;
}
.ui-widget-content:not(.ui-dialog) {
    border: none !important;
    border-bottom-left-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}
.ui-widget-header, .ui-widget-content:not(.ui-dialog) {
    width: 900px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
@media screen and (max-width: 900px) {
   .ui-widget-header, .ui-widget-content:not(.ui-dialog) {
        min-width: 90vw;
        width: calc(100% - 20px);
    }
    .ui-widget-header {
        margin-top: 10px;
    }
}

.ui-dialog-content {
    background-color: #ffffff !important;
    border: none !important; 
    padding: 1.5rem !important;
    max-height: 90vh !important; 
    overflow-y: scroll;
}
.ui-dialog-title {
    font-weight: bold;
    text-transform: uppercase;
    color: #696969 !important;
}

/* trim space around info button */
.ui-button-text-only .ui-button-text {
    padding: 0px;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {


}

/* changing dialog close button */
.ui-dialog-titlebar-close {
    display: grid;
    place-content: center;
    background-color: transparent;
    border: none;
    font-size: 1.5rem;
    float: right;
    color: #b2b2b2 !important;
    filter: drop-shadow(0px 2px 0px white);
    padding: 1rem 2rem;
}

/* changing dialog close button */
.ui-dialog-titlebar-close:hover,
.ui-dialog-titlebar-close:focus {
    color: #000 !important;
}

/* hide the default "x" close image */
.ui-dialog-titlebar-close span {
    display: none !important;
}

/* translucent background */
.ui-dialog {
    opacity: .99;
}

.ui-grid-header {
    background: #66c6e3 !important;
    color: #ffffff !important;
    font-weight: normal !important;
}


/* -- Moved from the HTML --*/
#map {
    height: 280px;
    width: 100%;
}

.gridButtons {
    background-color: #949587;
    color: #fff;
    border-color: #585858;
}

.gridButtonsRound {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding: 0;
    margin: 2px;
}

.gridButtonsRound .fa-caret-right {
    margin-right: -2px;
}
.gridButtonsRound .fa-forward {
    margin-right: -4px;
}
.gridButtonsRound .fa-caret-left {
    margin-left: -2px;
}
.gridButtonsRound .fa-backward {
    margin-left: -4px;
}

/* ---- OTHER Design Updates --- */

.row-search-custom {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
}
.search-buttons {
    white-space: nowrap;
}
@media screen and (max-width:  768px) {
    .search-buttons {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        white-space: nowrap;
    }
}
#btnSearch {
    font-family: "Crimson Pro", "Times New Roman", serif;
    min-width:  120px;
    text-transform: uppercase;
}
/* -- Search button -- */
#btnSearch:before {
    display: inline-block;
    font: normal normal normal 14px / 1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family:'FontAwesome';
    content: "\f002";
}

button {
    background: transparent;
    border: none;
}
button:focus { 
    outline: none !important;
}

/*-- QR Code -- */
.col-qr {
    display: grid;
    place-content: center;
    border: 1px solid #dee2e6;
}
#largeQRCodeLink {
  display: block;
  max-width: 300px;
}

.table td, .table th {
    vertical-align: middle;
    text-align: left !important;
}

.table tbody th button {
    display: block;
    float: left;
    padding-top: 3px;
    padding-bottom: 3px;
}
.table thead th {
    font-family: "Crimson Pro", "Times New Roman", serif;
    vertical-align: middle;
    font-size: large;
    text-align: left!important; 
    line-height: 1;
}
.table tbody th {
    text-align: left!important;
    vertical-align: middle;
    font-family: "Crimson Pro", "Times New Roman", serif;
    font-size: x-large;
    line-height: 1.1;
    font-weight: normal;
}
@media screen and (max-width: 768px) {
    .table tbody th {
        font-size: large;
        font-weight: 600;
    }
}
#BurialDetails.table thead th:nth-child(1) {
    padding-left: 2rem;
}
#BurialDetails.table thead th:nth-last-child(1),
#BurialDetails.table tbody td:nth-last-child(1) {
    text-align: center !important;
}
#BurialDetails.table tbody td:nth-last-child(1) img {
    border: 3px solid transparent;
}
#BurialDetails.table tbody td:nth-last-child(1):hover img {
    border: 3px solid #007bff;
}

#otherBurialDetails.table thead th:nth-child(1) {
    padding-left: 2rem;
}
#otherBurialDetails.table thead th:nth-last-child(1),
#otherBurialDetails.table tbody td:nth-last-child(1) {
    text-align: center !important;
}

#otherBurialDetails.table tbody td:nth-last-child(1) img {
    border: 3px solid transparent;
}

#otherBurialDetails.table tbody td:nth-last-child(1):hover img {
    border: 3px solid #007bff;
}
.table th:hover {
    cursor: pointer;
}
.container {
    width: 100% !important;
    max-width: 1000px !important;
}
@media screen and (max-width: 768px) {
    .h1, h1 {
        font-size:  xx-large;
    }
    .table thead th {
        font-size: medium;
    }
    .container {
        max-width: 90% !important;
    }
    #BurialDetails tr:not(:nth-last-child(1)) td,
    #BurialDetails th:not(:nth-child(1)) {
        white-space: wrap !important;
        line-height: 1;
    }
    #otherBurialDetails tr:not(:nth-last-child(1)) td,
    #otherBurialDetails th:not(:nth-child(1)) {
        white-space: wrap !important;
        line-height: 1;
    }
    .table tbody th {
        display: flex;
        align-items: center;
    }

/*    #BurialDetails tr:not(:nth-last-child(1)) td,
    #BurialDetails th:not(:nth-child(1)) {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    } */
}
@media screen and (max-width: 430px) {
    #BurialDetails tr:not(:nth-last-child(1)) td {
        font-size:  smaller;
    }
    #otherBurialDetails tr:not(:nth-last-child(1)) td {
        font-size: smaller;
    }
    .table tbody th, .table thead th {
        font-size: small;
    }
    #BurialDetails th {
        white-space:  wrap !important;
    }
    #otherBurialDetails th {
        white-space: wrap !important;
    }
    .container {
        max-width: 100%!important;
    }
}
