* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



html,
body {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

main {
    margin: 40px 0px;
    flex-grow: 1;
}

.tablebodytext {
    display: none;
}

.container {
    padding: 0 !important;
}

.row {
    margin: 0 !important;
}

.swiper-slide {
	display: flex !important;
    justify-content: center;
    width: 100%;
}

.swiper-button-next, .swiper-button-prev {
	font-weight: bold;
}

.swiper-slide:hover {
	cursor: pointer;
}

body {
    color: #000000 !important;
    background-color: #FFF;
    font-family: "Montserrat";

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    background-color:#FFF;
    padding: 25px;
    display: flex;
    justify-content: center;
    box-shadow: 0 0 47px 4px rgba(44, 30, 27, 0.16);

    flex-shrink: 0;
}

footer p {
    margin-bottom: 0 !important;
    color: #000000 !important;
}

.header-main {
    height: 50vh;
    width: 100%;
    background: url("img/background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    display: flex;
    justify-content: center;
}

.header-main-content {
    height: 100%;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.detail-desc h5 {
    margin: 0px !important;
    padding: 5px !important;
    font-weight: bold;
    text-align: center;
}

.extra-buttons {
    display: flex;
    justify-content: center;
    padding: 10px 0px;
}

.navbar-nav  {
    flex-wrap: wrap;
    justify-content: center;
}


.header-block {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 25px;
}

.header-block p {
    margin-bottom: 0 !important;
}

.header-main-content p {
    margin-bottom: 0 !important;
    color: #FFF !important;
    font-size: 30px;
    text-shadow: 2px 2px #000000;
    text-transform: uppercase;
}

.header-heading {
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 3px 3px #000000;
    margin: 0 !important;
    font-size: 72px;
    text-align: center;
}

.header-heading a {
    text-decoration: none !important;
    color: #FFF !important;
}

div.modern-page-navigation {
    padding: 20px !important;
}


.nav-link {
    color: #000000 !important;
    display: flex;
    align-items: center;
}

.navbar-collapse {
    justify-content: center;
}

.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    padding: 10px 0px !important;
    background-color: #FFF;
    box-shadow: 0 0 47px 4px rgba(44, 30, 27, 0.16);
}

.dropdown-menu a {
    color: #000 !important;
    text-decoration: none !important;
    width: 100%;
  display: block;
}

.dropdown-menu {
    padding: 0 !important;
    width: max-content;
    left: unset !important;
    right: 0 !important;
}

.dropdown-item {
    padding: 0 !important;
    transition: 0.2s;
    white-space: normal !important;
}

.dropdown-item a {
    padding: 10px !important;
}

.dropdown-menu .dropdown-item:hover {
    background: rgba(0, 0, 0, 0.15);
    transition: 0.2s;
}

.main-block {
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.main-block-search {
    border-radius: 5px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;

}

.main-block-location {
    display: flex;
    border-radius: 5px;

}

.main-block-search h2 {
    margin-bottom: 20px;
}

.main-block-search-block {
    display: flex;
    justify-content: center;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.main-block-search-element {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main-block-search-element p {
    margin-bottom: 0 !important;
    font-size: 18px;
}

.main-block-search input {
    border: 1px solid #ced4da;
    border-radius: 5px;
    width: 100%;
    height: 40px;
    padding: 10px;
    outline: none !important;
}

.find-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    font-size: 16px;
    text-align: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    cursor: pointer;
    text-decoration: none !important;
    color: #FFF !important;
    transition: 0.3s;
    min-width: 200px;
    background: #008080 !important;
    -webkit-box-shadow: 6px 6px 10px 0px rgba(34, 60, 80, 0.10);
    -moz-box-shadow: 6px 6px 10px 0px rgba(34, 60, 80, 0.10);
    box-shadow: 6px 6px 10px 0px rgba(34, 60, 80, 0.10);
}

.find-button:hover {
    background: rgb(0, 150, 150) !important;
    transition: 0.3s;
}

.find-button img {
    max-height: 20px;
}

.find-button p {
    margin-bottom: 0 !important;
}

.search-find .main-block-search-element {
    align-items: end;
    justify-content: end;
}

.swiper-button-next, .swiper-button-prev {
    color: teal !important;
}

.swiper-pagination-bullet-active {
    background: teal !important;
}



.main-block-burials p {
    margin-bottom: 0 !important;
    font-size: 18px;
    text-align: center;
}

.main-block-burials-element-wrapper {
    padding: 20px !important;
    height: 200px;
    height: auto;
}

.main-block-burials-element {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    gap: 15px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    height: 100%;
}

.main-block-burials-element-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.main-block-burials-element-image {
    width: 100%;
}

h2 {
    margin-bottom: 10px !important;
    text-align: center;
}

.main-block-burials-element img {
    max-height: 250px;
    width: 100%;
    object-fit: cover;
    padding: 5px;
}

.main-block-burials-element p {
    margin-bottom: 0 !important;
    font-size: 18px;
    text-align: center;
}

@keyframes ani {
    0% {opacity: 0;}
    100% {opacity: 1;}
  }

.burials-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 5px;
}

.burials-element-dates {
    font-size: 16px !important;
}

.burials-nav a {
    padding: 5px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    font-size: 18px;
}

.burials-nav p {
    margin-bottom: 0 !important;
    padding: 5px;
}

.detail-img {
    display: flex;
    justify-content: center;
    padding: 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.detail-img img {
    min-height: 100%;
    max-height: 600px;
    object-fit: cover;
}

.detail-desc {
    padding-left: 30px !important;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.swiper-pagination-bullet {
    height: 15px !important;
    width: 15px !important;
}


.detail-block p {
    margin-bottom: 0 !important;
    font-size: 20px;
    font-weight: 400;
}

.detail-name {
    font-size: 30px !important;
    font-weight: 700;
    margin: 0px 0px 30px 0px !important;
}

.detail-desc-item {
    padding: 5px 0px;
    font-size: 16px;

}

.detail-desc-item:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.detail-desc-block {
    display: flex;
    gap: 5px;
    flex-direction: column;
}


.admin-main {
    display: flex;
    flex-direction: column;
}

.admin-bio-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-bio-element {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: rgba(0, 0, 0, 0.075);
    padding: 10px;
}

.places-button {
    color: #FFF !important;
    background: #754e08 !important;
    -webkit-box-shadow: 6px 6px 10px 0px rgba(34, 60, 80, 0.10);
    -moz-box-shadow: 6px 6px 10px 0px rgba(34, 60, 80, 0.10);
    box-shadow: 6px 6px 10px 0px rgba(34, 60, 80, 0.10);
}

.places-button:hover {
    background: #a06c0b !important;
}

.red-text {
    color: red;
}

.about-loading {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-bio-element p {
    margin-bottom: 0 !important;
}

.admin-buttons-info {
    padding-top: 10px;
}

.admin-buttons-info:not(:first-child) {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.admin-block {
    display: flex;
    padding: 0px 50px 50px 50px;
}

.admin-block:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.bio-necr {
    flex-direction: column;
}


.admin-block-element {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 5px !important;;
    font-size: 18px;
}

.admin-block p {
    margin-bottom: 0 !important;
    font-size: 18px;
}

.admin-block-suc {
    color: rgb(0, 120, 0);
    font-weight: 500;
}

.admin-block-err {
    color: rgb(120, 0, 0);
    font-weight: 500;
}

.admin-button {
    border: 0 !important;
    padding: 10px;
}

.small-text {
    font-size: 12px !important;
    font-weight: 500;
}

.main-block-search-element input {
    transition: 0.4s;
}

.main-block-search-element input:hover {
    -webkit-box-shadow: 6px 6px 10px 0px rgba(34, 60, 80, 0.10);
    -moz-box-shadow: 6px 6px 10px 0px rgba(34, 60, 80, 0.10);
    box-shadow: 6px 6px 10px 0px rgba(34, 60, 80, 0.10);
    transition: 0.4s;
}

.page-cont {
    box-shadow: 0 0 47px 4px rgba(44, 30, 27, 0.10);
    padding: 25px !important;
}

.org-element {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin: 0 !important;
    padding: 0px 20px 20px 20px !important;
}

.org-element:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.dropdown-item:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.org-element-text {
    display: flex;
    flex-direction: column;
    padding: 0px 20px !important;
    position: relative;
    gap: 10px;
}

.org-element-img {
    display: flex;
    justify-content: center;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 6px 6px 10px 0px rgba(34, 60, 80, 0.10);
    -moz-box-shadow: 6px 6px 10px 0px rgba(34, 60, 80, 0.10);
    box-shadow: 6px 6px 10px 0px rgba(34, 60, 80, 0.10);
}

.org-element-img img {
    height: max-content;
}

.org-heading {
    margin: 25px 0px 0px 0px !important;
    padding: 0px 27px !important;
    width: 100%;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
}

.element-date-add {
    margin: 0px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 15px;

}

.element-date-add:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding-bottom: 10px;
}

.org-element p {
    margin-bottom: 0px !important;
}

.org-element-text-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.not-found {
    padding: 25px;
    margin-bottom: 0 !important;
    width: 100%;
    text-align: center;
}

.cem-row img {
    max-height: 200px !important;
}

.cem-row .org-element, .cem-row .org-element-img {
    padding: 15px !important;
}


.bx-breadcrumb {
    display: flex;
}

.bx-breadcrumb-item span  {
    padding: 0px 10px;
}

.bx-breadcrumb-item {
    font-weight: 500 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}


.bx-breadcrumb-item span:not(:last-child) {
    border-right: 1px solid rgba(0, 0, 0, 0.15);
}

.bx-breadcrumb .fa {
    font-size: 20px;
}

.bx-breadcrumb {
    text-decoration: none;
    color: #000 !important;
    transition: 0.2s;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
    cursor: default !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.mfeedback input, .mfeedback textarea {
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    margin: 5px 0px 10px 0px;
    border-radius: 5px;
    outline: none;
}

.mf-name, .mf-email {
    width: 100% !important;
    max-width: 500px;
    margin: 5px 0px;
}

.mf-message {
    width: 100% !important;
    margin: 5px 0px;
}

.mf-text {
    margin: 5px 0px;
}

.mf-name input, .mf-email input {
    width: 100% !important;
}

.mf-message textarea {
    width: 100% !important;
}

.mf-req {
    color: red;
}

.mfeedback image {
    margin: 5px 0px;
}

h5, h4, h3 {
    width: 100%;
    text-align: center;
    margin: 30px 0px;
}

.document-element {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    transition: 0.2s;
}

.document-element:not(:first-child) {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.document-element a {
    font-size: 18px;
    text-decoration: none;
    color: #000 !important;
    transition: 0.2s;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}


.document-element:hover {
    transition: 0.2s;
    background: rgba(0, 0, 0, 0.075);
}

.document-element-img {
    display: flex;
    justify-content: center;
    width: 45px;
}

.document-element img {
    max-width: 35px !important;
    max-height: 30px;
    object-fit: cover;
}

.document-elements-block {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

.navbar-toggler {
    background: white;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.fa-align-justify::before {
    content: none !important;
}

.detail-memory-book {
    padding-top: 30px;
}

.detail-memory-book h5 {
    background: rgba(0, 0, 0, 0.075);
    padding: 10px;
}

.detail-memory-book-bio-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0px;
}

.detail-memory-book-bio p, .detail-memory-book-necrolog p {
    margin-bottom: 0 !important;
}

.detail-memory-book-bio-element:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding: 0px 0px 20px 0px;
}

.detail-memory-book-bio-element {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-memory-book-info-text {
    font-size: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding-bottom: 20px;
    font-style: italic;
}

.detail-memory-book-button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.add-page-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.add-page-block {
    font-size: 18px;
}

.add-page-err {
    color: red;
}

.add-page-suc {
    color: green;
}

.memory-book-form {
    width: 100%;

    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: start;
    padding: 30px 0px;
    display: flex;
}

.memory-book-form textarea {
    width: 100%;
    height: 150px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    outline: none !important;
}

.memory-book-form input {
    border: 1px solid rgba(0, 0, 0, 0.15);
    outline: none !important;
    padding: 5px;
    min-width: 500px;
    max-width: 700px;
}

.memory-book-form p {
    margin-bottom: 0 !important;
}

.bio-page-block {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
}

.bio-page-block-element-heading-fio {
    font-weight: 700;
    font-size: 16px;
    width: 100%;
    text-align: center;
}

.bio-page-block p {
    margin-bottom: 0 !important;
}

.bio-page-block-element {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.bio-page-block-element-info {
    padding: 15px;
}

.bio-page-block-element-heading {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.075);
}

.bio-page-block-element-heading-info {
    display: flex;
    justify-content: space-between;
}

.bio-page-block-element-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bio-page-block-element-info a {
    text-align: center;
}

.search-input {
    border: 1px solid rgba(0, 0, 0, 0.15);
    outline: none !important;
    padding: 5px;
    width: 100%;
}

#search-results-main {
    display: flex;
    flex-direction: column;
    gap: 7.5px;
}

.search-form {
    padding: 20px 0px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

.search-element {
    padding: 10px 0px;
    width: fit-content;
    text-decoration: none;
}

.search-element:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.search-results {
    display: flex;
    flex-direction: column;
}

.search-results-main-element {
    padding: 10px 0px;
    display: flex;
    flex-direction: column;
}

.search-results-main-element a {
    width: fit-content;
}

.search-results-main-element:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.search-results-main-element-text {
    font-size: 14px;
}

.search-results-main-element p {
    margin-bottom: 0 !important;
}

.search-results-main-element a {
    font-size: 18px;
    text-decoration: none;
}

.alphavite-block {
    display: flex;
    gap: 7px;
    padding: 25px 0px;
    justify-content: center;
    margin: 20px 0px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    flex-wrap: wrap;
}

.alphavite-block a {
    text-decoration: none;
}

.cem-place {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 20px;
}

.cem-place img {
    max-height: 800px;
}

.cem-detail-page .org-element {
    padding: 0 !important;
    justify-content: space-between;
    padding-top: 20px !important;
}

.cem-detail-page .org-element .org-element-text p {
    padding-bottom: 5px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.place-persons {
    display: flex;
    flex-direction: column;
}

.person-block {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 5px 0px;
}

.person-block-dates {
    font-size: 14px !important;
}

.person-block-name a {
    text-decoration: none;
}

.person-block-name {
    margin-bottom: 0 !important;
}

.person-block:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

@media (max-width: 1366px) { 
    .header-heading {
        font-size: 56px;
    }

    .header-main-content p {
        font-size: 26px;
    }

    .main-block-search-element p, .find-button {
        font-size: 16px;
    }

    .main-block-burials-element p, .detail-block p {
        font-size: 18px;
    }

    .detail-name {
        font-size: 26px;
        margin-bottom: 20px !important;
    }

    
}

@media (max-width: 768px) { 
    .bx-breadcrumb {
        display: flex;
        margin-bottom: 20px !important;
    }
    
    .dropdown-menu {
        width: fit-content;
    }

    .alphavite-block {
        padding: 10px 0px;
    }

    .navbar {
        display: flex;
        justify-content: start;
        padding: 10px !important;
    }

    .nav-item:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .navbar-toggler {
        margin: 0px 10px;
    }

    .navbar-nav {
        padding: 10px !important;
        position: fixed;
        width: 100%;
        background: #FFF;
        left: 0;
    }

    .dropdown-menu {
        width: 100%;
    }

    .main-block-search-block {
        width: 100% !important;
    }

    .main-block-burials-element-wrapper {
        width: 100% !important;
    }

    .header-heading {
        font-size: 30px;
        text-shadow: 2px 2px #000;
        padding: 10px;
    }

    .header-main-content p {
        font-size: 22px;
        text-shadow: 2px 2px #000;
    }

    .search-find {
        width: 100% !important;
    }

    .search-form {
        flex-direction: column;
    }
    
    .search-form input {
        max-width: 100% !important;
    }

    .document-element a {
        font-size: 18px !important;
    }

    .document-element img {
        max-width: 35px !important;
        max-height: 30px;
    }

    .search-buttons {
        justify-content: center !important;
        align-items: center !important;
    }

    .header-main {
        height: 25vh;
    }

    .main-block-search {
        padding: 0px !important;
    }

    .main-block-burials-element-wrapper {
        padding: 10px !important;
    }

    .main-block-burials-element img {
        max-height: 200px !important;
    }

    .main-block-burials-element {
        gap: 15px !important;
    }

    .main-block-burials-element p {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .find-button {
        width: 100%;
        padding: 5px !important;
    }

    .find-button img {
        display: none !important;
    }

    .main-block-search-element {
        gap: 5px !important;
    }

    .search-find .main-block-search-element {
        gap: 15px !important;
    }

    .detail-block .row {
        flex-direction: column;
    }

    .detail-block, .detail-memory-book {
        padding: 0px !important;
    }

    .detail-img, .detail-desc {
        width: 100%;
        padding: 10px !important;
    }

    .find-button {
        max-width: 250px !important;
    }

    .main-block {
        align-items: center;
        gap: 15px !important;
    };

    .admin-block {
        flex-direction: column;
        padding: 0 !important;
    }
	.memory-book-form input {
		min-width: 100% !important;
	}

	.main-block-search-block {
		margin: 0px 0px 10px 0px !important;
	}

	.search-find {
		margin-top: 10px !important;
	}

    .org-element {
        flex-direction: column;
        padding: 0 !important;
        gap: 20px;
    }

    .org-heading {
        margin: 15px 0px !important;
    }

    .org-element-img, .org-element-text {
        width: 100% !important;
    }

    .org-element-text {
        padding: 0 !important;
    }

    .org-element-img {
        padding: 0px !important;
    }
}