#monumentSubscriptionTable tr:nth-of-type(odd) {
    background-color: rgba(207,214,227,0.2);
}

#monumentSubscriptionTableFinal td {
    font-weight: bold; 
    border-top: 1px solid #cfd6e3;
}

#monumentSubscriptionTable th {
    border-bottom: 1px solid #cfd6e3;
}

#monumentSubscriptionTable {
    text-align: left;
    margin-bottom: 20px;
}

#monumentPageHeader {
    display: inline-block;
    width: 615px;
    overflow-x: auto;
    text-align: center;
}

#monumentPagePersonInfo {
    float: left;
    width: 300px;
    margin-right: 15px;
}

#monumentPagePersonInfo h2 {
    margin-top: 0;
}

a.gallery:not(:first-of-type) {
    display: none;
}

.monumentPageLeft {
    width: 300px;
    float:left;
}

.monumentPageCenter {
    width: 300px;
    display: inline-block;
    margin: 0 15px;
}

.monumentPageRight {
    width: 300px;
    display:inline-block;
    float: right;
}

#condolencesOverlay h3 {
    margin-top: 0;
}

#monumentPageTable {
    float: left;
    width: 615px;
}

#monumentPageTable td {
    vertical-align: top;
    width: 300px;
    padding-bottom: 20px;
}

#monumentPageTable tr td:first-of-type {
    width: 315px !important;
    padding-right: 15px;
}

#monumentPageTable h2 {
    text-align: center;
    margin-top: 0;
}

#monumentPageCondolencesTable td {
    padding-bottom: 15px;
}

#monumentPageAddGalleryImage i, #monumentPageAddDocument i, #monumentPageAddLink i {
    padding: 0 !important;
}

#monumentPageAddLink, #monumentPageAddDocument {
    position: absolute;
    right: 15px;
    top: 15px;
}

#monumentPageAddGalleryImage {
    position: absolute;
    bottom: 30px;
    right: 10px;
}

#galleryDiv, #graveyardImage {
    height: 320px;
    width: 300px;
    position: relative;
    text-align: center;
}

#galleryDiv img, #graveyardImage img {
    object-fit: contain;
}

#monumentPageCondolencesSubmit {
    float: right;
}

#monumentPageNewCondolences {
    margin-bottom: 15px;
    width: 100%;
}

#condolencesEntry {
    width: 100%;
    box-sizing: border-box;
}

#monumentPageButtonSettings {
    float: right;
}

#monumentSettingsTable td { 
    width: 300px;
    vertical-align: top;
    text-align: left;
}

#monumentPageTableCenter {
    padding-left: 15px;
    padding-right: 15px;
    width: 310px !important;
}

#monumentSettingsTable h3 {
    margin-top: 0;
    display: inline-block;
}

#monumentSettingsTable textarea {
    width: 100%;
    box-sizing: border-box;
    height: 300px;
}

#monumentSettingsTable .monumentImage_selector {
    float: right;
    margin-top: -2px;
}

.monumentSettingsSeparator {
    border-top: 1px solid gray;
    border-bottom: 0;
    margin: 15px 0;
    clear: both;
}

#accountCreditHistoryTable tr:nth-of-type(odd), #accountChangeRequestSentTable tr:nth-of-type(odd), .changeRequestTable tr:nth-of-type(odd) {
    background-color: rgba(207,214,227,0.2);
}

#accountCreditHistoryTableFinal td {
    font-weight: bold; 
    border-top: 1px solid #cfd6e3;
}

#accountCreditHistoryTable th, #accountChangeRequestSentTable th, .changeRequestTable th {
    border-bottom: 1px solid #cfd6e3;
}

#accountChangeRequestSentTable, .changeRequestTable {
    text-align: left;
}

.monumentPageSettingsGalleryTable {

}

.monumentPageSettingsGalleryTable td {
    width: 75px;
    padding-right: 5px;
    text-align: center;
}

#monumentPageMap {
    width: 300px;
    height: 240px;
}

#monumentPageCondolencesImage {
    width: 100%;
}

#monumentPageObeliskHeadBorder {
    width: 0;
    height: 0;
    border-left: 130px solid transparent;
    border-right: 130px solid transparent;
    border-bottom: 100px solid #888;
    margin-left: 20px;
}

#monumentPageObeliskHead {
    width: 0;
    height: 0;
    border-left: 129px solid transparent;
    border-right: 129px solid transparent;
    border-bottom: 99px solid #ecedef;
    position: relative;
    left: -129px;
    top: 1px;
}

#monumentPageObeliskHeadTitle {
    font-size: 20px;
    font-weight: bold;
    width: 260px;
    margin-left: -130px;
    text-align: center;
    line-height: 1.5;
    padding-top: 34px;
}

#monumentPagePersonCount {
    margin: 0;
    padding: 0;
    border: none;
    font-weight: bold;
    font-size: 20px;
    width: auto;
    height: auto;
    background-color: transparent;
    text-align: center;
}

#monumentPageObeliskBody {
    width: 260px;
    max-height: 230px;
    min-height: 40px;
    overflow-y: auto;
    background-color: #ecedef;
    margin-left: 20px;
    border: 1px solid #888888;
    border-bottom: none;
    padding: 10px 15px;
    box-sizing: border-box;
}

#monumentPageObeliskFooter1 {
    margin-left: 10px;
    width: 280px;
    height: 35px;
    background-color: #ecedef;
    box-sizing: border-box;
    border: 1px solid #888888;
    border-bottom: none;
    padding: 10px;
    text-align: center;
}

#monumentPageObeliskFooter2 {
    width: 300px;
    height: 44px;
    background-color: #ecedef;
    box-sizing: border-box;
    border: 1px solid #888888;
    text-align: center;
    padding: 10px;
}

#monumentPageObeliskFooter2 #search-text {
    width: 100%;
    box-sizing: border-box;
}

#monumentPagePersons {
    float: right;
    position: relative;
}

#monumentPageDescription div {
    max-height: 98px;
    overflow: auto;
    width: 600px;
    text-align: justify;
}

#monumentPageObeliskPersonList td {
    vertical-align: top;
}

.personSelect {
    width: 800px;
    height: auto;
    position: fixed;
    left: 50%;
    margin-left: -415px;
    border-radius: 5px;
    z-index: 103; /* 1px higher than the overlay layer */
    background-color: #fff;
    padding: 15px;
    overflow-y: auto;
    overflow-x: hidden;
}

.personSelect table {
    margin-bottom: 20px;
}

.personSelect h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.personSelect table{
    border-right: 1px solid #cfd6e3;
    margin-right: 30px;
    padding-right: 30px;
}

#personSearchInput{
    float: left;
}

#personSearchResult{
    width: 313px;   
}

#personFavorite{
    clear: both;
    float: none;
}

#personSearchResultSelect{
    height: 221px;
    margin-bottom: 10px;
    width: 100%;
}

#personFavoritesContainer{
    float: none;
    clear: both;
}

.radioLabel{
    font-weight: bold;
}

#personSearchContainer{
    display: none;
}

#personFavoritesContainer{
    display: none;
}

#qrPersonList {
    max-height: 62px;
    overflow-y: auto;
    padding-right: 15px;
    max-width: 180px;
}

.qrPersonListEntry {

}

.transferInput {
    width: 50px !important;
    cursor: pointer;
    text-align: center;
}

.personThickboxButtonClearer {
    clear: both;
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #cfd6e3;
}

#addressEditContainer table, #titleEditContainer table, #professionEditContainer table, #nicknameEditContainer table, #religionEditContainer table, #socialnetworkEditContainer table {
    margin-top: 10px;
    font-size: 13px;
}

#addressEditContainer table input, #edit_marriage_frame table input, #edit_mother_frame table input, #edit_father_frame table input, #edit_children_frame table input, #titleEditContainer table input, #professionEditContainer table input, #nicknameEditContainer table input, #religionEditContainer table input, #socialnetworkEditContainer table input  {
    width: 200px;
}

#addressEditContainer table select, #edit_marriage_frame table select, #edit_mother_frame table select, #edit_father_frame table select, #edit_children_frame table select, #titleEditContainer table select, #professionEditContainer table select, #nicknameEditContainer table select, #religionEditContainer table select, #socialnetworkEditContainer table select {
    width: 208px;
}

#addressEditContainer table td, #edit_marriage_frame table td, #edit_mother_frame table td, #edit_father_frame table td, #edit_children_frame table td, #titleEditContainer table td, #professionEditContainer table td, #nicknameEditContainer table td, #religionEditContainer table td, #socialnetworkEditContainer table td {
    width: 208px;
}

.personDataDateFields {
    width: 59px !important;
}

#search_marriage_search, #search_mother_search, #search_father_search, #search_children_search, #search_adoption_search {
    margin-top: 10px;
}

#marriage_data, #adoptee_data {
    width: 100%;
}

#select_marriage, #select_mother_select, #select_father_select, #select_children_select, #select_adoptee {
    width: 100%;
    margin-bottom: 10px;
    height: 221px;
}

#personResultListWrapper {
    position:relative;
}

.personDataButtonSubmit {
    background-color: #47a447 !important;
    float: right;
}

.personDataButtonSubmitNotPlausible{
    background-color: #ff8400 !important;
    float: right;
    margin-right: 11px;
}

#edit_marriage_frame table, #edit_mother_frame table, #edit_father_frame table, #edit_children_frame table {
    border-right: 1px solid #cfd6e3;
    padding-right: 30px;
    margin-right: 30px;
}

#select_marriage_container, #select_mother, #select_father, #select_children, #select_adoptee_container {
    width: 313px;
}

#select_mother_select, #select_father_select, #select_children_select {
    height: 248px !important;
}

#person_result_preview_content tr:nth-of-type(odd) {
    background-color: rgba(207,214,227,0.2);
}


#person_result_preview_content tr:last-of-type {
    background-color: #fff !important;
}

#person_result_preview.person_result_preview_thickbox {
    width: auto;
}

#person_result_preview.person_result_preview_thickbox table {
    width: 100%;
}

#person_result_preview.person_result_preview_thickbox h2 {
    display: none;
}

#person_result_preview.person_result_preview_thickbox .buttonCancel {
    height: 24px;
}

#person_result_preview.person_result_preview_thickbox .personEditMemorialPageLink {
    margin-top: 2px;
    margin-right: 5px;
}

.galleryNavigationNext {
    position: absolute;
    top: 125px;
    right: -3px;
    font-size: 50px;
}

.galleryNavigationPrev {
    position: absolute;
    top: 125px;
    left: -3px;
    font-size: 50px;
}

.monumentPagePersonListContent {
    width: 180px;
    white-space: nowrap;
}

.monumentPageSettingsAccordionContent {
    padding-left: 20px;
    margin-bottom: 10px;
}

.condolencesNotice {
    font-size: 10px;
    border-top: 1px solid #888;
    margin-top: 15px;
    padding-top: 15px;
}

#monumentPageMaintainerInfo {
    float: right;
    line-height: 30px;
}

#memorialPageCondolencesLoginDiv {
    border-top: 1px solid #888;
    margin-top: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
}