html {
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

body {
    height: 100%;
    min-height: 100%;
    background-color: #e7eaee;
    font-size: 70%;

    color: #0a1422;

    padding: 0;
    margin: 0;
}

.page-container {
    min-height: 100%;
    position: relative;
}

.page-header {
    background-color: #ffffff;
}

.page-header, .page-contents, .page-footer {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
}

.page-menu-hidden {
    display: none;
    position: absolute;
    top: 45px;
    left: auto;
    min-width: 240px;
    max-width: 320px;
    overflow: hidden;
    color: black;
    background-color: white;
    padding: 0 0 16px 0;
    border-left: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    border-radius: 0 0 4px 4px;
    z-index: 999;
}

.page-menu-hidden .quick-search {
    background-color: #e7eaee;
    padding: 6px 10px 8px 10px;
    border-bottom: 1px solid #cccccc;
}

.page-menu-hidden .quick-search input[type="text"] {
    margin: 2px 0;
}

.page-menu-hidden .quick-search input[type="image"], .page-menu-hidden .quick-search img {
    top: 13px;
}

.page-menu-hidden .quick-nav {
    clear: both;
}

.page-menu-hidden .quick-nav > div {
    padding: 6px 10px 8px 10px;
}

.page-menu-hidden .quick-nav > div:hover {
    color: white;
    background-color: #1499d0;
}

.page-menu-hidden .quick-nav > div:hover .secondary-text {
    color: #cccccc;
}

.hidden {
    display: none;
}

.hidden-when-wide {
    display: none;
}

.hidden-when-not-narrow {
    display: none;
}

.hidden-when-not-tiny {
    display: none;
}

.show-more-link {
    color: #006699;
    text-decoration: none;
    border-bottom: 1px dashed;
    line-height: 28px;
}

.show-more-link:hover {
    color: #0a1422;
    cursor: pointer;
}

.show-more-content {
    display: none;
}

ul.long-text-list li,
ol.long-text-list li {
    margin-bottom: 6px;
}

.top-right-header {
    position: absolute;
    top: 0;
    right: 0;
    max-height: 50px;
    overflow: hidden;
}

.top-right-header div {
    padding: 0 14px;
}

.id-bar {
    min-height: 50px;
    background: white url("../gfx/2017/ecclesia-logo-header.png") no-repeat 56px 0;
    background-size: contain;
}

.id-bar .generic-links {
    display: inline-block;
    float: right;
}

.id-bar .generic-links a,
.id-bar .generic-links .menu-item {
    color: #848990;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
}

.id-bar .generic-links a:hover,
.id-bar .generic-links .menu-item:hover {
    cursor: pointer;
    color: black;
    background-color: rgba(255, 255, 255, 1);
}

.id-bar .identity-links {
    display: inline-block;
    white-space: nowrap;
    float: right;
}

.clear-both {
    clear: both;
}

.identity-links > a,
.id-bar .menu-item {
    position: relative;
}

.identity-links .client {
    margin-left: 31px;
}

.identity-links .client:before {
    content: "";
    display: block;
    background: url("../gfx/2017/top-symbol-group.png") no-repeat;
    -webkit-background-size: 31px;
    background-size: 31px;
    width: 31px;
    height: 20px;
    position: absolute;
    left: -20px;
    top: -4px;
}

.identity-links .visiting {
    color: red;
}

.identity-links .user {
    margin-left: 18px;
}

.identity-links .user:before {
    content: "";
    display: block;
    background: url("../gfx/2017/top-symbol-user.png") no-repeat;
    -webkit-background-size: 18px;
    background-size: 18px;
    width: 18px;
    height: 20px;
    position: absolute;
    left: -7px;
    top: -4px;
}

.identity-links .clickable .client span:hover {
    color: #006699;
    text-decoration: underline;
}

.dot {
    text-align: center;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
    background-color: #999999;
    color: white;
}

.warning-hint:after {
    content: "";
    display: block;
    background: url("../gfx/2017/icon-warning.png") no-repeat;
    -webkit-background-size: 8px;
    background-size: 8px;
    width: 8px;
    height: 8px;
    position: absolute;
    top: -4px;
    right: -10px;
}

.identity-links .warning-hint:after {
    right: 10px;
    top: -4px;
}

.tabs .warning-hint:after {
    top: 4px;
    right: 8px;
}

.id-bar .generic-links {
    padding-right: 0;
}

.id-bar .generic-links .menu-item {
    margin-left: 4px;
}

.id-bar .generic-links > a > span, .id-bar a.log-out > span {
    padding: 0 10px;
    line-height: 50px;
}

.id-bar .top-right-header a > span,
.id-bar .top-right-header .menu-item > span {
    padding: 0 8px;
    line-height: 50px;
    position: relative;
}

.id-bar .top-right-header .identity-links a > span,
.id-bar .top-right-header .identity-links .menu-item > span {
    padding: 0 16px;
}

.id-bar .log-out {
    display: inline-block;
    position: relative;
    float: right;
    padding-left: 56px;
    padding-right: 16px;
    background-color: #e6e7e8;
}

.id-bar .log-out:hover {
    cursor: pointer;
    color: white;
    background-color: #293240;
    text-decoration: none;
}

.id-bar .log-out:before {
    content: "";
    display: block;
    background: url("../gfx/2017/top-symbol-logout.png") no-repeat;
    -webkit-background-size: 20px;
    background-size: 20px;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 36px;
    top: 14px;
}

.id-bar .log-out:hover:before {
    background: url("../gfx/2017/top-symbol-logout-hover.png") no-repeat;
    -webkit-background-size: 20px;
    background-size: 20px;
}

.nav-bar {
    height: 47px;
    clear: both;
    background-color: #1499d0;
    border-top: 2px solid #117aa6;
    padding: 0 8px 0 46px;
}

.nav-bar .page-menu {
    display: inline-block;
    float: left;
    max-height: 45px;
    overflow: hidden;
}

.nav-bar .page-menu-title {
    padding: 0 10px;
    line-height: 45px;
    display: inline-block;
}

.nav-bar .page-menu-item {
    color: #ffffff;
    height: 45px;
}

.nav-bar .page-menu-item .page-menu-title {
    background-color: inherit;
    margin-top: 0;
    border-top: none;
}

.nav-bar .page-menu-item:hover .page-menu-title {
    background-color: #128cbe;
    margin-top: -2px;
}

.nav-bar .page-menu-item.current .page-menu-title {
    background-color: #128cbe;
}

.nav-bar .search {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    white-space: nowrap;
    max-height: 42px;
    overflow: hidden;
}

.search-input {
    display: inline-block;
    float: right;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    min-width: 280px;
    background-color: white;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    margin: 2px 0 0 0;
}

.search-input input[type="text"] {
    border: 0;
    margin: 4px 16px;
    width: 150px;
}

.search-button {
    display: inline-block;
    float: right;
    text-align: center;
    min-width: 80px;
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    color: white;
    background-color: #293240;
    border-color: #293240;
    -webkit-border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    -moz-border-radius-bottomright: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    margin: 2px 0 0 0;
}

#search_expand_button {
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}

.search-button:hover {
    background-color: orange;
    border-color: orange;
}

.standard-form {
    line-height: 36px;
}

.standard-form input[type="text"],
.standard-form select {
    height: 32px;
    padding: 2px 4px;
    margin: 2px 0;
}

.standard-form textarea {
    padding: 6px 4px;
}

.standard-form input[type=checkbox] {
    margin: 12px 3px;
}

.standard-form .inline-button {
    height: 32px;
    line-height: 32px;
}

.standard-form .click-to-expand:before,
.standard-form .click-to-collapse:before,
.standard-form .click-to-remove:before {
    margin-top: 14px;
}

.standard-form .input-disabled {
    line-height: 30px;
}

.standard-form .checkbox-container input[type=checkbox] {
     margin: 0 4px 0 2px;
     height: 36px;
     line-height: 36px;
     float: left;
     clear: left;
}

.standard-form br {
    clear: both;
}

.data-container .title {
    font-weight: bold;
    font-size: 14px;
}

.advanced-search .form_comment {
    padding-right: 6px;
}

.page-size {
    max-width: 1260px;
}

.page-contents {
    float: left;
    clear: both;
    width: 100%;
    padding: 30px 8px 90px 46px;
}

.page-contents .menu-section {
    float: left;
    clear: left;
    width: 24%;
    padding-right: 6px;
}

.menu-section .content-box {
    min-width: 220px;
}

.menu-section .support .face {
    width: 64px;
    height: 64px;
    border-right: 1px solid #d5d7da;
    float: left;
}

.menu-section .support .employee {
    cursor: pointer;
    width: 100%;
}

.menu-section .support .generic {
    width:calc(100% - 64px);
    height: 64px;
    padding: 14px;
    float: left;
}

.menu-section .support .staff .generic {
    border-top:1px solid #d5d7da;
}

.menu-section .support .generic .title {
    font-size: 16px;
}

.menu-section .support .unspecified .phone,
.menu-section .support .generic .phone,
.menu-section .support .generic .description {
    color: white;
    font-size: 16px;
    display: inline-block;
    padding: 4px 0;
}

.menu-section .support .unspecified .phone:before,
.menu-section .support .generic .phone:before {
    content: "";
    display: block;
    background: url("../gfx/2017/symbol-phone-white.png") no-repeat;
    -webkit-background-size: 16px;
    background-size: 16px;
    width: 16px;
    height: 20px;
    float: left;
    margin: 1px 5px 0 0;
}

.menu-section .support .phone-hours {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 8px;
    text-align: right;
    font-size: 11px;
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 8px 0 0 0;
}

.menu-section .support .phone-break {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25px;
    padding: 6px 8px;
    background-color: rgba(0, 0, 0, 0.4);
    text-align: left;
    font-size: 11px;
    color: white;
}

.menu-section .support .specific,
.menu-section .forum .buttons {
    float: left;
    clear: both;
    width: 100%;
    border-top: 1px solid #d5d7da;
}

.menu-section .support .specific a:first-child {
    border-right: 1px solid #d5d7da;
}

.menu-section .support .local {
    padding: 14px 10px;
    cursor:pointer;
}

.menu-section .support .local:hover {
    color: white;
    text-decoration: none;
    background-color: orange;
}

#support-buttons span,
.menu-section .forum .buttons span {
    float: left;
    display: inline-block;
    padding: 14px 10px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
}


#support-buttons span:hover,
.menu-section .forum .buttons span:hover {
    color: white;
    text-decoration: none;
    background-color: #0098d2;
}

#support-buttons span.not-allowed:hover {
    background-color: #cccccc;
}

#support-buttons span.message-button,
.menu-section .forum .buttons span:first-of-type {
    width: 50%;
}

#support-buttons span.help-button,
.menu-section .forum .buttons span:nth-of-type(2) {
    border-left: 1px solid #d5d7da;
    width: 50%;
}

#support-buttons span.add-user-button {
    border-top: 1px solid #d5d7da;
    width: 50%;
}

#support-message {
    padding: 12px 10px;
}

.page-contents .content-section {
    position: relative;
    float: right;
    clear: right;
    width: 76%;
    padding-left: 14px;
}

.main-column {
    float: left;
    width: 75%;
}

.layout-container {
    display: inline-block;
    float: left;
    padding-right: 12px;
    padding-bottom: 12px;
}

.function-column {
    float: right;
    width: 25%;
    padding: 8px 0 12px 12px;
}

.function-menu {
    float: left;
    clear: left;
    width: 100%;
    padding: 2px 10px 36px;
    min-height: 77px;
}

.function-menu span {
    display: inline-block;
    padding: 4px 0;
    margin-left: 18px;
}

.function-menu div span.level3:last-of-type {
    padding-bottom: 18px;
}

.function-menu .white,
.function-menu a.white,
.function-menu a.white:link,
.function-menu a.white:active,
.function-menu a.white:visited {
    color: #0a1422;
}

.function-menu span.function {
    position: relative;
    margin-left: 0;
}

.function-menu span:first-letter {
    text-transform: capitalize;
}

.function-menu span A:first-letter {
    text-transform: capitalize;
}

.function-menu .function a {
    display: inline-block;
    padding-left: 18px;
}

.function-menu .function:before {
    content: "";
    display: block;
    background: url("../gfx/2017/symbol-more.png") no-repeat;
    -webkit-background-size: 10px;
    background-size: 10px;
    width: 10px;
    height: 14px;
    float: left;
    margin: 3px -10px 0 0;
}

.quick-search {
    float: left;
    clear: left;
    width: 100%;
    padding: 10px;
}

.quick-search .half-when-wide {
    margin-bottom: 0;
}

.menu-section .quick-search .section-title:before {
    content: "";
    display: block;
    background: url("../gfx/2017/symbol-search.png") no-repeat;
    -webkit-background-size: 14px;
    background-size: 14px;
    width: 14px;
    height: 14px;
    float: left;
    margin: 4px 8px 0 0;
}

.menu-section .section-title {
    display: inline-block;
    font-size: 18px;
    margin-bottom: 20px;
}

.content-section .section-title {
    display: inline-block;
    font-size: 18px;
    margin: 8px 0;
}

.warning-container .section-title:after {
    content: "";
    display: inline-block;
    background: url("../gfx/2017/icon-warning.png") no-repeat;
    -webkit-background-size: 8px;
    background-size: 8px;
    width: 8px;
    height: 9px;
    margin-left: 10px;
}

.quick-search input[type="text"] {
    height: 32px;
    width: 100%;
    margin: 8px 0;
    padding: 0 12px;
    border-color: #c4c8cf;
}

.quick-search .search-element {
    position: relative;
}

.quick-search input[type="image"], .quick-search img {
    display: none;
    position: absolute;
    right: 8px;
    top: 19px;
    width: 10px;
}

.quick-search .active:after {
    content: "?";
}

.quick-search div.grave input[type="text"] {
    width: 25%;
    border-left: 0;
    border-radius: 0 0 0 0;
    -moz-border-radius: 0 0 0 0;
    -webkit-border-radius: 0 0 0 0;
}

.quick-search div.grave input[type="text"]:first-of-type {
    border-left: 1px solid #c4c8cf;
    border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    -webkit-border-radius: 4px 0 0 4px;
}

.quick-search div.grave .last-element {
    border-right: 1px solid #c4c8cf !important;
    border-radius: 0 4px 4px 0 !important;
    -moz-border-radius: 0 4px 4px 0 !important;
    -webkit-border-radius: 0 4px 4px 0 !important;
}

#quick_search_additional_fields_switch {
    display: block;
    font-weight: bold;
    width: 100%;
    padding: 16px 0 20px;
    border-bottom: 1px solid #d5d7da;
}

#quick_search_additional_fields_switch span:after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 9px;
    margin-left: 10px;
    background: url("../gfx/2017/symbol-more.png") no-repeat;
    -webkit-background-size: 10px;
    background-size: 10px;
}

.ui-datepicker {
    background-color: #989ea6;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    border: 1px solid #989ea6;
    width: 160px;
    overflow: hidden;
    display: none;
}

.ui-datepicker-header {
    color: white;
    text-align: center;
    font-size: 14px;
    padding: 6px;
}

.ui-datepicker A.ui-datepicker-prev {
    position: absolute;
    left: 6px;
    color: white;
}

.ui-datepicker A.ui-datepicker-next {
    position: absolute;
    right: 6px;
    color: white;
}

.ui-datepicker-calendar {
    width: 100%;
    background-color: white;
}

.ui-datepicker-calendar th {
    width:calc(100%/7);
}

.ui-datepicker-calendar td {
    text-align: right;
    padding-right: 3px;
    border: 1px solid white;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
}

.ui-datepicker-calendar td.ui-datepicker-today {
    border: 1px solid red;
}

.ui-datepicker-other-month A:link {
    color: #aaaaaa;
}

.ui-datepicker-calendar td:hover {
    filter: brightness(70%);
}

.ui-datepicker-event {
    background-color: #a1d6ed;
}

A.ui-state-active:link {
    font-weight: bold;
    text-decoration: underline;
}

.calendar-month, .calendar-week {
    width: 100%;
    padding: 0 5%;
    position: relative;
}

.calendar-day {
    width: 100%;
    padding: 0 12px 8px;
}

.calendar-day td {
    padding: 4px 12px;
}

.calendar-month > table, .calendar-week > table, .calendar-day > table {
    width: 100%;
}

.calendar-title {
    height: 40px;
    background-color: #f1f2f3;
    padding: 12px;
}

.generic-title {
    display: inline-block;
    font-size: 16px;
}

.generic-title:first-letter {
    text-transform: capitalize;
}

.calendar-header {
    width: 80%;
    position: absolute;
    right: 0;
    top: 0;
    text-align: right;
    white-space: nowrap;
    height: 40px;
    overflow: hidden;
}

.calendar-header > div > select {
    max-width: 50%;
    min-width: 40%;
    display: inline-block;
    margin: 8px 8px 8px 0;
    height: 24px;
}

.calendar-header > div {
    float: right;
    height: 40px;
    vertical-align: middle;
}

.calendar-header .month-button, .calendar-header .week-button {
    width: 40px;
}

.calendar-header > div > div {
    height: 100%;
    width: 100%;
}

.calendar-header > div > div:hover {
    background-color: #1499d0 !important;
}

.calendar-header > div > div.active {
    background-color: white;
    border-top: 2px solid orange;
    background-position-y: 10px;
}

.calendar-header > .month-button > div {
    background: url("../gfx/2017/calendar-button-month-inactive.png") no-repeat 10px 12px;
    background-size: 21px 17px;
}

.calendar-header > .week-button > div {
    background: url("../gfx/2017/calendar-button-week-inactive.png") no-repeat 10px 12px;
    background-size: 21px 17px;
}

.calendar-header > .month-button > div:hover {
    background-image: url("../gfx/2017/calendar-button-month-hover.png");
    background-size: 21px 17px;
}

.calendar-header > .week-button > div:hover {
    background-image: url("../gfx/2017/calendar-button-week-hover.png");
    background-size: 21px 17px;
}

.calendar-header > .month-button > .active {
    background-image: url("../gfx/2017/calendar-button-month-active.png");
    background-size: 21px 17px;
}

.calendar-header > .week-button > .active {
    background-image: url("../gfx/2017/calendar-button-week-active.png");
    background-size: 21px 17px;
}

.calendar {
    position: relative;
}

.calendar .time-cell, .calendar .date-cell, .calendar .week-cell {
    width: 12.5%;
    height: 24px;
    text-align: center;
    vertical-align: middle;
}

.calendar-week .event-row {
    padding-right: 1px;
}

.calendar .week-event {
    width: 100%;
    height: 11px;
    margin-bottom: 1px;
}

.calendar .calendar-week .week-event a {
    display: inline-block;
    text-align: center;
    width: 100%;
    height: 11px;
}

.calendar .calendar-week .week-event a span {
    display: inline-block;
    padding-top: 1px;
    font-family: Helvetica, sans-serif;
    font-size: 9px;
    text-decoration: none;
}

.calendar .calendar-week .week-event a:hover {
    color: white;
    text-decoration: none;
    background-color: #1499d0;
}

.calendar .calendar-week .one {
    background-color: #d0ebf6;
}

.calendar .calendar-week .many {
    background-color: #a1d6ed;
}

.calendar .date-cell {
    font-size: 13px;
}

.calendar-navigation {
    width: 100%;
    text-align: center;
    line-height: 40px;
}

.calendar-navigation a {
    display: inline-block;
    width: 40px;
    height: 40px;
}

.calendar-navigation a.previous-month {
    position: absolute;
    left: 0;
    top: 0;
}

.calendar-navigation a.next-month {
    position: absolute;
    right: 0;
    top: 0;
}

.calendar-navigation a.previous-year,
.calendar-navigation a.next-year {
    display: none;
}

.calendar-navigation a:hover {
    background-color: #1499d0 !important;
    text-decoration: none;
    color: white;
}

.calendar .day-header {
    text-align: center;
    font-size: 12px;
    font-weight: normal;
    width: 12.5%;
}

.calendar-buttons {
    position: absolute;
    right: 12px;
    bottom: -43px;
}

.calendar-buttons a {
    border: 1px solid #d5d7da;
    border-right: 0;
    background-color: transparent;
    cursor: pointer;
    padding: 0 20px;
    line-height: 32px;
    min-height: 32px;
    min-width: 80px;
    text-align: center;
    float: left;
}

.calendar-buttons a img {
    margin-top: 8px;
}

.calendar-buttons a:hover {
    text-decoration: none;
    color: white;
    background-color: #1499d0 !important;
    border-color: #1499d0 !important;
}

.calendar-buttons a:first-of-type {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-bottomleft: 4px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
}

.calendar-buttons a:last-of-type {
    border-right: 1px solid #d5d7da;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    -moz-border-radius-bottomright: 4px;
    -webkit-border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
}

.calendar .date-cell {
    padding: 2px;
}

.calendar .date-cell a {
    display: inline-block;
    position: relative;
    padding: 4px;
    width: 100%;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.calendar .date-cell a span {
    position: absolute;
    display: block;
    right: 6px;
    top: 2px;
    font-family: Helvetica, sans-serif;
    font-size: 9px;
}

.calendar .date-cell a.one {
    background-color: #d0ebf6;
}

.calendar .date-cell a.many {
    background-color: #a1d6ed;
}

.calendar .date-cell a.holiday {
    color: red;
}

.calendar .date-cell a.today {
    outline:1px solid red;
}

.calendar .date-cell a.selected {
    color: white;
    background-color: black;
}

.calendar .date-cell a:hover {
    text-decoration: none;
    background-color: orange;
}

.calendar .day-header:first-letter {
    text-transform: capitalize
}

.calendar-footer {
    border-top: 1px solid #d5d7da;
}

.click-to-remove {
    display: inline-block;
    margin-left: 6px;
    cursor: pointer;
}

.click-to-expand {
    display: inline-block;
    cursor: pointer;
}


.click-to-expand:before, .click-to-collapse:before, .click-to-remove:before {
    content: "";
    display: block;
    width: 10px;
    height: 14px;
    float: left;
    margin: 3px 8px 0 0;
}

.click-to-expand:before {
    background: url("../gfx/2017/symbol-more.png") no-repeat;
    -webkit-background-size: 10px;
    background-size: 10px;
}

tr.expandable:hover > td > .click-to-expand:before {
    background: url("../gfx/2017/icon-more-lighter.png") no-repeat;
    -webkit-background-size: 10px;
    background-size: 10px;
}

tr.expandable:hover .go-button,
tr.expandable:hover .small-button {
    filter: grayscale(50%) brightness(200%) contrast(50%);
}

.click-to-collapse:before {
    background: url("../gfx/2017/symbol-less.png") no-repeat;
    -webkit-background-size: 10px;
    background-size: 10px;
}

.click-to-remove:before {
    background: url("../gfx/2017/symbol-remove.png") no-repeat;
    -webkit-background-size: 10px;
    background-size: 10px;
}

.click-to-remove:hover:before {
    background: url("../gfx/2017/symbol-remove_over.png") no-repeat;
    -webkit-background-size: 10px;
    background-size: 10px;
}

tr.expandable:hover > td > .click-to-collapse:before {
    background: url("../gfx/2017/icon-less-lighter.png") no-repeat;
    -webkit-background-size: 10px;
    background-size: 10px;
}

td.expanded, .contents .menu-target {
    background-color: #e7f5fa;
}

.grave-menu {
    float: left;
    clear: left;
    width: 100%;
    padding: 10px;
    display: none;
}

.page-contents .overview {
    display: table-cell;
    height: 80px;
    padding-right: 180px;
    vertical-align: bottom;
    font-size: 22px;
    color: #29323f;
}

.page-contents .details {
    position: relative;
}

.page-contents .details .content-header {
    position: absolute;
    top: -71px;
    height: 60px;
    overflow: hidden;
    padding-left: 12px;
    width: 70%;
    z-index: 1;
}

.image-list-item {
    overflow:hidden;
}
.square-container {
    width: 100%;
    padding-top: 100%;
    position: relative;
}
.square-container-contents {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.image-delete-button {
    position:absolute;
    top:5px;
    right:5px;
}
div.image-main {
    border:1px solid orange;
}
div.image-not-main {
    border:1px dashed #cccccc;
}
div.image-not-main:hover {
    border:1px solid orange;
}
div.image-add-new:hover {
    cursor: pointer;
    background: url("../gfx/icon-photo-blue.png") transparent no-repeat left 50% top 50%;
    background-size: 80px 80px;
}
div.image-add-new {
    background: url("../gfx/icon-photo-white.png") #e3e5e7 no-repeat left 50% top 50%;
    background-size: 80px 80px;
}
.image-list-item .image {
    width: 100%;
}
img.image-not-main {
    filter: grayscale(50%) opacity(50%);
}
img.image-not-main:hover {
    filter: none;
    cursor: pointer;
}

.content-header .image-container {
    float: left;
    width: 60px;
    height: 60px;
    margin: 0 24px 0 0;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
}

.content-header .image-container div.image-add-new {
    background-color: #1499d0;
}

.content-header .image-container div.image-add-new:hover {
    background-color: white;
}


.content-header .text-container {
    display: table-cell;
    vertical-align: middle;
    height: 60px;
}

.content-header .image-container img {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

.content-header h1, .content-header h2 {
    font-weight: normal;
    padding: 0;
    margin: 0;
}

.content-header h1 {
    font-size: 24px;
    line-height: 28px;
}

.content-header h2 {
    font-size: 18px;
    line-height: 22px;
    color: #999999;
}

.map-container {
    position: relative;
    height: 1000px;
}

.contents .map-container {
    height: 270px;
    margin-top: 15px;
    margin-right: 0;
}

.map-container > div {
    width: 100%;
    height: 100%;
}

.map-container > iframe {
    position: relative;
}

.map-container > div.gis {
    position: absolute;
    left: 0;
    top: 0;
}

.map-container > div.logical > iframe,
.map-container > div.gis > div.map {
    width: 100%;
    height: 100%;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    border: 1px solid #d5d7da;
    overflow: hidden;
}

.map-container > div.gis > div.map iframe {
    background-color: white;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-container div.expand {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 42px;
    width: 42px;
    background: url("../gfx/2017/map-expand.png") transparent no-repeat left 0 top 0;
    background-size: 24px 24px;
}

.map-container div.expand:hover {
    background: url("../gfx/2017/map-expand-hover.png") transparent no-repeat left 0 top 0;
    background-size: 24px 24px;
    cursor: pointer;
}

.map-container div.switch {
    position: absolute;
    bottom: 0;
    right: 42px;
    height: 42px;
    width: 42px;
    background: url("../gfx/2017/map-switch.png") transparent no-repeat left 0 top 0;
    background-size: 24px 24px;
}

.map-container div.switch:hover {
    background: url("../gfx/2017/map-switch-hover.png") transparent no-repeat left 0 top 0;
    background-size: 24px 24px;
    cursor: pointer;
}

.page-footer {
    position: absolute;

    bottom: 0;
    width: 100%;
    background-color: #737b86;
    color: white;
    height: 50px;
    line-height: 50px;
    margin: 0;
    padding: 0 8px 0 46px;
}

.page-footer .copyright a, .page-footer .copyright a:hover, .page-footer .copyright a:visited {
    color: white;
}

.page-footer .copyright {
    float: left;
    padding: 0 10px;
}

.page-footer .stats {
    float: right;
    padding: 0;
    color: #cccccc;
}

.page-footer .print-friendly {
    float: right;
    padding: 0;
}

body, table, input, select, textarea {
    font-family: 'Roboto', sans-serif;
}

textarea {
    white-space: pre-wrap;
    word-wrap: break-word;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #d5d7da;
}

:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #d5d7da;
    opacity: 1;
}

::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #d5d7da;
    opacity: 1;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #d5d7da;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #d5d7da;
}

.quick-search ::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #999;
}

.quick-search :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #999;
    opacity: 1;
}

.quick-search ::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #999;
    opacity: 1;
}

.quick-search :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #999;
}

.quick-search ::-ms-input-placeholder { /* Microsoft Edge */
    color: #999;
}

input[type="text"], input[type="password"], select, textarea, .input-disabled {
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    border: 1px solid;
    padding: 0 4px;
    margin: 2px 0;
}

.input-disabled {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
}

.input-container {
    display: inline-block;
    position: relative;
    min-width: 40px;
    max-width: 160px;
    overflow: hidden;
}

.input-container > input[type="text"],
.input-container > input[type="password"],
.input-container > select,
.input-container > textarea,
.input-container > .input-disabled {
    width: 100%;
}

.input-container > .go-button {
    position: absolute;
    right: 6px;
    top: 0;
    bottom: 0;
    margin: auto;
}

input[type="text"], input[type="password"], textarea {
    border-color: #737b85;
}

select {
    border-color: #d5d7da;
}

.warning-container textarea {
    border-color: #d5d7da;
}

input[type="text"], input[type="password"], .input-disabled {
    height: 32px;
}

select {
    height: 24px;
    margin: 3px 0;
}

select[multiple] {
    height: auto;
}

input.text::-ms-clear {
    display: none;
}

input.lookup:hover {
    border: 1px solid #ee9c00;
}

.login-box {
    max-width: 360px;
    margin: 20px auto;
    background-color: white;

    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    overflow: hidden;
}

.widget {
    border: 0;
    width: 100%;
    min-height: 100%;
}

.login-box .login-regular,
.login-box .agency-delivery,
.widget {
    border-top: 4px solid #1499d0;
}

.login-box .login-forgotten {
    border-top: 4px solid #ee9c00;
}

.login-box input[type="text"], .login-box input[type="password"], .login-box select {
    height: 32px;
    width: 100%;
    margin: 8px 0 12px;
    padding: 2px 8px;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    border: 1px solid #c4c8cf;
}

.login-box h1 {
    font-size: 23px;
    text-align: center;
    margin-bottom: 30px;
}

.login-box label {
    font-weight: bold;
    display: inline-block;
    margin: 4px 0;
}

.login-box > div {
    padding: 40px 32px 20px 32px;
}

.login-box > div input[type="submit"] {
    float: none;
}

.login-box .buttons {
    color: #c4c8cf;
    padding: 20px 0 10px;
    text-align: center;
}

.login-box .buttons > * {
    margin: 8px 0;
}

.login-box .buttons a {
    font-weight: bold;
    color: #747c86;
}

.login-box .agency-delivery-link a {
    color: #c4c8cf;
}

.login-box .click-to-remove:before {
    margin-bottom: -4px;
}

.content-box-container {
    position: relative;
    clear: both;
}

.content-box-container .content-box-container {
    margin-left: 10px;
    margin-right: 10px;
}

.content-box {
    width: 100%;
    margin-top: 10px;
    position: relative;

    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    border: 1px solid #d5d7da;
    overflow: hidden;
}

.content-box .expand-content-box {
    display: none;
}

.overflowing-contents .content-box, .overflowing-contents .content-box .contents {
    overflow: visible;
}

.scrollable-contents .content-box {
    overflow: scroll;
}

.scrollable-contents .content-box .contents > table {
    float: initial;
}

.scrollable-contents .content-box .expand-content-box {
    position: absolute;
    display: block;
    color: white;
    text-align: center;
    bottom: 5px;
    left: 914px;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    border: 1px solid #1499d0;
    height: 24px;
    width: 24px;
    background: url("../gfx/2017/map-expand.png") white no-repeat left 3px top 3px;
    background-size: 16px 16px;
}

.scrollable-contents .content-box .expand-content-box:hover {
    cursor: pointer;
    background-color: #1499d0;
}

textarea.content-box {
    padding: 15px;
    min-height: 80px;
    overflow-y: auto;
}

.content-box .tabs > div {
    display: inline-block;
}

.content-box .tabs {
}

.content-box .tabs .flip {
    cursor: pointer;
}

.content-box .contents {
    overflow-x: auto;
    background-color: white;
}

.content-box .contents > table {
    width: 100%;
    float: right;
}

.content-box select,
.content-box textarea,
.content-box input[type="text"],
.content-box input[type="password"] {
    background-color: white;
}

.content-box-menu-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1;
    text-align: left;
}

.content-box-menu-container > div {
    display: inline-block;
}

.content-box-menu, .table-row-menu {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 1;
    max-width: 320px;
    min-width: 240px;
    min-height: 60px;
    color: white;
    padding: 16px 12px;

    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;

    border-color: #1499d0;
    background: url("../gfx/2017/icon-menu-hover.png") #1499d0 no-repeat right 12px top 6px;
    background-size: 2px 12px;
}

.content-box-menu-button {
    position: absolute;
    top: 6px;
    right: 6px;
    height: 26px;
    width: 26px;
    text-align: center;

    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;

    background: url("../gfx/2017/icon-menu.png") no-repeat right 12px top 6px;
    background-size: 2px 12px;
}

.content-box-menu-button:hover,
.content-box-container:hover .content-box-menu-button {
    color: white;
    cursor: pointer;
    border-color: #1499d0;
    background: url("../gfx/2017/icon-menu-hover.png") #1499d0 no-repeat right 12px top 6px;
    background-size: 2px 12px;
}

.content-box-menu-single-function {
    position: absolute;
    top: 4px;
    right: 4px;
}

.content-box-menu-single-function a {
    display: inline-block;
    height: 28px;
    line-height: 28px;
    float: right;
    background-color: rgba(255, 255, 255, 0.2);

    border: 1px solid #d5d7da;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;

    padding: 0 8px;
    margin: 1px 12px 0;
}

.content-box-menu-single-function a:hover {
    color: white;
    text-decoration: none;
    border-color: #1499d0;
    background-color: #1499d0;
}

.content-box-menu > div, .table-row-menu > div {
    margin-bottom: 16px;
}

.content-box-menu span, .table-row-menu span {
    display: inline-block;
    padding: 4px 0;
    margin-left: 18px;
}

.content-box-menu div span.level3:last-of-type, .table-row-menu div span.level3:last-of-type {
    padding-bottom: 18px;
}

.content-box-menu span.function, .table-row-menu span.function {
    position: relative;
    margin-left: 0;
}

.content-box-menu span:first-letter, .table-row-menu span:first-letter {
    text-transform: capitalize;
}

.content-box-menu span A:first-letter {
    text-transform: capitalize;
}

.content-box-menu .function a, .table-row-menu .function a {
    display: inline-block;
    padding-left: 18px;
    font-weight: normal;
    color: white;
}

.content-box-menu div a, .table-row-menu div a {
    color: white;
}

.content-box-menu .function:before, .table-row-menu .function:before {
    content: "";
    display: block;
    background: url("../gfx/2017/icon-more-lighter.png") no-repeat;
    -webkit-background-size: 10px;
    background-size: 10px;
    width: 10px;
    height: 14px;
    float: left;
    margin: 3px -10px 0 0;
}

.table-row-menu-container {
    position: relative;
    text-align: left;
}

tr.expandable:hover > td,
tr.expandable:hover > .text-button,
tr.expandable:hover > .secondary-text,
tr.expandable:hover > td > .text-button,
tr.expandable:hover > td > .secondary-text,
.alternating tr.expandable:nth-of-type(1n):hover > td,
.alternating tr.expandable:nth-of-type(2n):hover > td {
    color: white;
    background-color: #1499d0;
}


.table-row-menu-button {
    position: absolute;
    top: 4px;
    right: 4px;
    height: 26px;
    width: 26px;
    text-align: center;

    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;

    background: url("../gfx/2017/icon-menu.png") no-repeat right 12px top 6px;
    background-size: 2px 12px;
}

tr.expandable:hover > td .table-row-menu-button {
    background: url("../gfx/2017/icon-menu-lighter.png") no-repeat right 12px top 6px;
    background-size: 2px 12px;
}

.table-row-menu-button:hover {
    color: white;
    cursor: pointer;
    border-color: #1499d0;
    background: url("../gfx/2017/icon-menu-hover.png") #1499d0 no-repeat right 12px top 6px;
    background-size: 2px 12px;
}

tr.expandable > td .table-row-menu-button:hover {
    background: url("../gfx/2017/icon-menu-hover.png") #1499d0 no-repeat right 12px top 6px;
    background-size: 2px 12px;
}

.main-front-section {
    width: 50%;
}

.menu-section .content-box {
    background-color: white;
}

.menu-section .content-box:first-of-type {
    margin-top: 0;
}

.menu-section .support, .menu-section .forum {
    padding: 10px 10px 20px;
}

.menu-section .forum .post {
    padding: 16px 12px;
    border-top: 1px solid #d5d7da;
}

.menu-section .forum .pale {
    background-color: #f1f2f3;
}

.menu-section .forum .post:first-of-type {
    border-top: 0;
}

.menu-section .forum .post .timestamp {
    display: inline-block;
    float: left;
    clear: left;
    width: auto;
    font-size: 11px;
}

.menu-section .forum .post .count {
    display: inline-block;
    float: right;
    clear: right;
    font-size: 11px;
}

.menu-section .forum .post .title {
    float: left;
    clear: both;
    font-weight: bold;
    padding: 2px 0;
}

.menu-section .forum .post .message {
    clear: both;
}

.single .tabs > div span.flip,
.single .tabs > div span.flip_inactive {
    text-align: left;
}

.multiple .tabs > div span.flip,
.multiple .tabs > div span.flip_inactive {
    text-align: center;
    overflow: hidden;
}

.tabs > div {
    text-align: left;
    padding: 0;
}

.tabs > div span {
    font-size: 16px;
    display: inline-block;
    padding: 8px 24px;
    width: 100%;
    font-weight: normal;
}

.tabs > div span.small {
    font-size: 13px;
    line-height: 20px;
}

.tabs > div span:first-letter {
    text-transform: capitalize
}

.tabs > div:first-of-type {
    border-left: 0;
}

/* Page specific css along with main-content-box div is needed for custom header and function menu */
.content_request_card .navigation #remove,
.content_grave_card .navigation #remove,
.content_site_card .navigation #remove,
.content_care_card .navigation #remove,
.content_order_card .navigation #remove,
.content_person .navigation #remove {
    display: none;
}

.content_grave_card .navigation #save_or_add_button,
.content_request_card .navigation #save_or_add_button {
    right: 68px;
}

.narrow-function-menu-container .content-box-menu {
    top: 1px;
    left: 0;
    display: none;
    padding-left: 40px;
    padding-top: 14px;
    background: url("../gfx/2017/icon-menu-hover.png") #1499d0 no-repeat left 20px top 15px;
    background-size: 2px 12px;
    z-index: 100;
}

.narrow-function-menu-container .content-box-menu:hover {
    background: url("../gfx/2017/icon-menu-hover.png") #1499d0 no-repeat left 20px top 15px;
    background-size: 2px 12px;
}

.main-content-box .tabs {
    display: none;
}

.main-content-box .content-box-menu-button {
    top: -52px;
    right: 16px;
    z-index: 1;
    height: 42px;
    width: 42px;
    border: 1px solid #d5d7da;
    background: url("../gfx/2017/icon-menu.png") no-repeat right 19px top 14px;
    background-size: 2px 12px;
}

.main-content-box .content-box-menu-button:hover,
.main-content-box .content-box-container:hover .content-box-menu-button {
    border: 1px solid #1499d0;
    background: url("../gfx/2017/icon-menu-hover.png") #1499d0 no-repeat right 19px top 14px;
    background-size: 2px 12px;
}

.main-content-box .content-box-menu {
    top: -52px;
    right: 16px;
    z-index: 2;
    border: 1px solid #1499d0;
    background: url("../gfx/2017/icon-menu-hover.png") #1499d0 no-repeat right 19px top 14px;
    background-size: 2px 12px;
}

.narrow-function-menu-container {
    width: 42px;
    padding: 0;
}

.narrow-function-menu-container > div {
    width: 42px;
    position: relative;
}

.narrow-function-menu-button {
    position: absolute;
    top: 1px;
    left: 0;
    display: inline-block;
    z-index: 1;
    height: 42px;
    width: 42px;
    background: url("../gfx/2017/icon-menu.png") #ffffff no-repeat right 19px top 14px;
    background-size: 2px 12px;
    border: 1px solid #d5d7da;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    cursor: pointer;
}

.narrow-function-menu-button:hover {
    border: 1px solid #1499d0;
    background: url("../gfx/2017/icon-menu-hover.png") #1499d0 no-repeat right 19px top 14px;
    background-size: 2px 12px;
}

.narrow-function-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    min-width: 120px;
    min-height: 60px;
}

.tabs div.flip {
    background-color: white;
}

.tabs div.flip_inactive {
    color: #666666;
    background-color: transparent;
}

.tabs div.flip_inactive:hover {
    background-color: #d0d4d9;
}

.tabs div.flip img, .tabs div.flip_inactive img {
    height: 19px;
    display: inline-block;
    margin-bottom: -3px;
    margin-right: 3px;
}

.tall-box-header .tabs div.flip, .tall-box-header .tabs div.flip_inactive {
    padding: 12px 0;
}

.tall-box-header .content-box-menu-single-function {
    top: 8px;
}

.tall-box-header .content-box-menu-single-function a {
    height: 40px;
    line-height: 40px;
}

td.flip span.flip, td.flip_inactive span.flip_inactive {
    padding: 4px 8px;
    border-top: 1px solid #d5d7da;
    border-left: 1px solid #d5d7da;
    border-right: 1px solid #d5d7da;
    border-bottom: 1px solid white;
    border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
}

td.flip span.flip {
    background-color: white;
}

.tabs span.flip > strong,
.tabs span.flip_inactive > strong,
.generic-title strong,
.generic-links strong {
    display: inline-block;
    position: relative;
}

.tabs span.flip > strong div,
.tabs span.flip_inactive > strong div,
.generic-title strong.count div,
.generic-title strong.count0 div,
.generic-links strong.count div
{
    position: absolute;
    top: -16px;
    display: inline-block;
    text-align: center;
    color: black;
    background-color: orange;
    border-radius: 10px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    margin-left: 6px;
    font-size: 12px;
}
.generic-links strong.count {
    margin-left: 4px;
    margin-right: 12px;
}

.generic-links strong.count div {
    top: 14px;
    padding: 0;
    margin-left: 0;
}

.generic-title strong.count0 div {
    background-color: #d0d4d9; !important;
}

.tabs span.flip > strong.count0 div {
    background-color: #d0d4d9;
}

.tabs span.flip_inactive > strong.count0 div {
    background-color: #d0d4d9;
}

.tabs div.flip_inactive:hover span.flip_inactive > strong.count0 div {
    background-color: #e7eaee;
}

table, input, select, textarea {
    font-size: 100%;
}

table {
    border: 0;
}

thead {
    display: table-header-group;
}

tr {
    page-break-inside: auto;
}

form {
    margin-bottom: 0;
}

div.inline {
    display: inline-block;
}

div.input-element,
div.inline-element {
    display: inline-block;
    position: relative;
    white-space: nowrap;
    height: 36px;
}

div.input-element {
    width: 100%;
}

div.inline-element {
    width: 33%;
}

div.input-element label,
div.inline-element label {
    display: inline-block;
    margin-right: 4px;
    line-height: 36px;
    overflow: hidden;
}

div.input-element label {
    width: 120px;
}

div.inline-element label {
    width: calc(50% - 4px);
    text-align: right;
    margin-bottom: -4px;
}

div.inline-element label.checkbox,
div.inline-element label.radio {
    display: inline-block;
    width: calc(100% - 36px);
    text-align: left;
    margin-left: 20px;
    margin-right: 16px;
}

div.inline-element label.left {
    text-align: left;
}

div.inline-element label.checkbox-and-text,
div.inline-element label.radio-and-text {
    display: inline-block;
    width: calc(50% - 24px);
    text-align: left;
    margin-left: 20px;
    margin-right: 4px;
}

div.input-element .input-disabled,
div.inline-element .input-disabled {
    line-height: 30px;
}
div.inline-element .input-disabled {
    margin-bottom: -10px;
}

div.input-element input[type=text],
div.input-element select,
div.input-element .input-disabled {
    width: calc(100% - 124px);
    min-width: 100px;
    position: absolute;
    top: 0;
    right: 0;
}

div.inline-element input[type=text],
div.inline-element select,
div.inline-element .input-disabled {
    width: calc(50% - 16px);
    min-width: 100px;
    margin-right: 16px;
    position: absolute;
    top: 0;
    left: 50%;
}

div.inline-element input[type=text].half,
div.inline-element select.half,
div.inline-element .input-disabled.half {
    width: 25%;
    min-width: 50px;
}

div.inline-element select {
    top: 3px;
}

div.inline-element input[type=checkbox] {
    position:absolute;
    top: 0;
    left: 0;
    height: 100%;
    margin: auto 0;
}

.half-when-wide div.inline-element {
    width: 100%;
}

td {
    padding: 0;
    margin: 0;

    vertical-align: top;
}

img {
    border: 0;
}

A, A:link, A:visited, .action-link {
    color: #000000;
    text-decoration: none;
}

A.visible, A.visible:link, A.visible:visited {
    color: #007EAD;
    text-decoration: underline;
}

A:active {
    color: #007EAD;
}

A:hover, .action-link:hover {
    color: #006699;
    text-decoration: underline;
    cursor: pointer;
}

.secondary-text A, .secondary-text A:link, .secondary-text A:visited, .secondary-text .action-link {
    color: #007EAD;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

.top, .contents td.top {
    vertical-align: top;
}

.bottom {
    vertical-align: bottom;
}

.middle {
    vertical-align: middle;
}

.indent_left {
    padding-left: 10px;
}

.indent_right {
    padding-right: 10px;
}

.indent_top {
    padding-top: 10px;
}

.indent_bottom {
    padding-bottom: 10px;
}

tr.space_below_row > td {
    padding-bottom: 12px;
}

.padding-left {
    padding-left: 12px;
}

.padding-right {
    padding-right: 12px;
}

.padding-top {
    padding-top: 16px;
}

.padding-bottom {
    padding-bottom: 16px;
}

.padded {
    padding: 16px 12px;
}

.space_left {
    margin-left: 10px;
}

.space_right {
    margin-right: 10px;
}

.space_top {
    margin-top: 10px;
}

.space_bottom {
    margin-bottom: 10px;
}

.small {
    font-size: 10px;
}

.distance_right {
    margin-right: 80px;
}

.cremation_stats_padding_right {
    padding-right: 45px;
}

img.status {
    margin-right: 6px;
    margin-top: 4px;
}

.icon {
    width: 80px;
    text-align: center;
    vertical-align: top;
}

.go-button, .edit-button {
    width: 10px;
    height: 10px;
}

.ssn-button {
    width: 16px;
    height: 26px;
    margin-bottom: -6px;
    cursor: pointer;
}

.small-button {
    width: 10px;
    height: 10px;
}

.phonebook-button {
    width: 18px;
    height: 18px;
    margin-bottom: -6px;
    cursor: pointer;
}

.overlay-button-container {
    position: relative;
}

div.overlay-button-container {
    display: inline-block;
}

div.overlay-button-container .go-button {
    position: absolute;
    right: 10px;
    top: -10px;
}

div.overlay-button-container input + .go-button {
    top: 13px;
    right: 6px;
}

div.overlay-button-container .edit-button {
    position: absolute;
    right: 26px;
    top: -10px;
}

td.overlay-button-container .go-button,
td.overlay-button-container .small-button{
    position: absolute;
    right: 10px;
    top: 11px;
}

div.overlay-button-container .click-to-remove {
    position: absolute;
    right: 0;
    top: 0;
}

.overlay-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 100%;
    max-height: 40%;
    overflow: hidden;
    padding: 4px;
    background-color: rgba(255,255,255,0.7);
}

.overlay-icon-remove {
    position: absolute;
    top: 6px;
    right: 32px;
    height: 20px;
    width: 20px;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    background: url("../gfx/2017/trash-bin.png") rgba(255,255,255,0.7) no-repeat left 2px bottom 2px;
    background-size: 16px 16px;
}

.overlay-icon-remove:hover {
    cursor: pointer;
    background: url("../gfx/2017/trash-bin-hover.png") rgba(243,250,253,1) no-repeat left 2px bottom 2px;
    background-size: 16px 16px;
}

.overlay-icon-expand {
    position: absolute;
    top: 6px;
    right: 6px;
    height: 20px;
    width: 20px;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    background: url(../gfx/2017/map-expand.png) rgba(255,255,255,0.7) no-repeat left 2px top 2px;
    background-size: 16px 16px;
}
.overlay-icon-expand:hover {
    cursor: pointer;
    background: url("../gfx/2017/map-expand-hover.png") rgba(243,250,253,1) no-repeat left 2px top 2px;
    background-size: 16px 16px;
}

.info, .error, .warning {
    width: 100%;
    border-top: 0;
    border-bottom: 1px solid gray;
    border-left: 1px solid gray;
    border-right: 1px solid gray;
}

.error {
    color: #007EAD;
    font-weight: bold;
}

.warning-container {
    border: 1px solid #ded1b9;
    background-color: #faedd0;
    padding: 12px;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
}

.debug-container {
    clear: both;
    padding: 10px;
}

.debug-message-section:hover {
    background-color: white;
    cursor: pointer;
}

.menu-section td.comp_full_content,
.menu-section .content-box .contents {
    background-color: transparent;
}

.menu-section .debug-container .content-box {
    background-color: #f1f2f3;
}


.debug-copy-link {
    display: none;
}

.debug-message-section:hover .debug-copy-link {
    display: inline-block;
    float: right;
    margin-left: 10px;
    color: #007EAD;
}

.warning-container .link {
    color: #916601;
}

.content-box .warning-container,
.comp_content .warning-container {
    border: 3px solid #faedd0;
}

.dashed-container {
    border: 3px dashed #e7f5fa;
    padding: 12px;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
}

hr.dashed {
    border-top: 1px dashed #006699;
    border-bottom: none;
    border-left: none;
    border-right: none;
    color: transparent;
    background-color: transparent;
}

.data-container, .generic-container, .inactive-container, .error-container {
    border: 1px solid #cbd9de;
    padding: 12px;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
}

.data-container {
    background-color: #e7f5fa;
}

.content-box .inactive-container,
.comp_content .inactive-container,
.inactive-container {
    background-color: #f1f2f3;
    border-color: #f1f2f3;
}

.error-container {
    background-color: #cc0000;
    color: white;
}

.error-container a, .error-container .link {
    color: white;
    text-decoration: underline;
}

.error-container a:hover, .error-container .link:hover {
    color: pink;
    text-decoration: none;
}


.generic-container {
    background-color: #ffffff;
}

.content-box .data-container,
.comp_content .data-container,
.content-box .generic-container,
.comp_content .generic-container {
    border: 3px solid #e7f5fa;
}

.menu-section .data-container,
.menu-section .warning-container {
    border: 0;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
}

.data-container table.list {
    width: 100%;
    margin-top: 6px;
}

.data-container table.list th {
    padding: 2px 6px;
    color: white;
    background-color: #1499d0;
    line-height: 24px;
}

.data-container table.list td {
    padding: 2px 6px;
    background-color:white;
    line-height: 18px;
}

.data-container table.list tr.sum > td,
.data-container table.list tr.sum:nth-of-type(2n+1) > td {
    font-weight: bold;
    background-color:#eeeeee;
}

.data-container table.list tr:nth-of-type(2n+1) > td {
    background-color:#ECFAFF;
}

tr.sum > td {
    border-top: 1px solid #666666;
    text-transform: uppercase;
}

.data-container table.list tr.sum > td {
    border-top: 1px solid #1499d0;
}

.alternating tr:nth-of-type(2n).sum > td {
    background-color: white;
}

.bold {
    font-weight: bold;
}

.italic {
    font-style: italic;
}

.highlight, #page_status td.highlight {
    background-color: #ee9c00;
    color: #ffffff;
}

.highlight A, .highlight A:visited {
    color: #ffffff;
    text-decoration: underline;
}

.highlight A:hover {
    color: #ededed;
}

.white-on-black {
    background-color: #000000;
    color: #ffffff;
}

#page_content .content-box input[type=submit].highlight,
#page_content .content-box input[type=button].highlight {
    background-color: rgb(238, 156, 0);
    border-color: rgb(238, 156, 0);
    color: white;
}

#page_content .content-box .highlight {
    background-color: #F5C467;
    color: #ffffff;
}

#page_actions {
    padding-top: 8px;
}

#page_actions .inline-button {
    margin-bottom: 6px;
}

.clickable {
    cursor: pointer;
}

.dark-on-hover:hover {
    filter: grayscale(50%) brightness(50%) contrast(150%);
}

.secondary-text, a.secondary-text, .secondary-text-small {
    color: #747c86;
}

.secondary-text-small {
    line-height: normal;
    font-size: 11px;
}

.filters > span {
    display: inline-block;
    padding: 5px 10px;
    margin: 5px 5px 5px 0;
    border: 1px solid #747c86;
    border-radius: 10px;
}

.filters > span:hover {
    cursor: pointer;
    color: white;
    background-color: #1499d0;
    border-color: #1499d0;
}

.filters > span.filter-active {
    font-weight: bold;
    color: white;
    background-color: #1499d0;
    border-color: #1499d0;
}

.filters > span.filter-inactive {
    color: #747c86;
    border-style: dashed;
}

.filters > span.filter-inactive:hover {
    color: white;
}

.import-current-values {
    line-height: normal;
}

.import-current-values > span {
    display: inline-block;
    padding: 0 0 5px 5px;
    color: #747c86;
    font-size: 11px;
}

.import-current-values > span.difference {
    color: rgb(238, 156, 0);
}

.import-source-header {
    border-bottom: 1px solid #1499d0;
    text-align:center;
}

.import-target-header {
    text-align:center;
}

.highlight .secondary-text, .highlight a.secondary-text {
    color: #666666;
}

.erased {
    text-decoration: line-through;
}

div.transparent {
    position: absolute;
    height: 60px;
    width: 140px;
    padding-top: 5px;
    padding-left: 5px;
    background-color: #0073A6;
    color: #ffffff;
    filter: alpha(opacity=75);
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=75);
    -moz-opacity: 0.75;
    opacity: 0.75;
}

.odd {
    background-color: #ffffff;
}

.even {
    background-color: #e3e5e7;
}

.separate-with-borders > tr:first-child > td {
    border-top: 1px solid #e3e5e7;
}

.separate-with-borders > tr:last-child > td {
    border-bottom: 1px solid #e3e5e7;
}

.alternating > tr:nth-of-type(2n) > td {
    background-color: #e3e5e7;
}

.alternating > tr:nth-of-type(2n+1) > td {
    background-color: #ffffff;
}

.alternating > tr.highlight:nth-of-type(2n) > td {
    background-color: #ce9532;
}

.alternating > tr.highlight:nth-of-type(2n+1) > td {
    background-color: #ee9c00;
}

.alternating > tr.darker:nth-of-type(2n) > td {
    background-color: #c2d1d0;
}

.alternating > tr.darker:nth-of-type(2n+1) > td {
    background-color: #d7e6e5;
}

#page_content .alternating > tr:nth-of-type(2n) > td.highlight {
    background-color: #ce9532;
}

.td_highlight {
    background-color: #c2d1d0;
}

table.layout, table.layout-with-top-margin, table.form {
    width: 100%;
}

.full-width {
    width: 100%;
}

table.layout-with-top-margin, table.form, input.form, table.map {
    margin-top: 10px;
}

img.frontpage_list_icon {
    height: 10px;
    width: 10px;
}

td.frontpage_list {
    font-size: 100%;

    border-top: 1px solid #d5d7da;
    border-bottom: 1px solid #d5d7da;
    padding: 2px 3px 5px 8px;

    margin-bottom: 2px;
}

img.frontpage_separator {
    height: 5px;
    width: 10px;
}

img.frontpage_list_separator {
    height: 2px;
}

input.print-friendly {
    width: 163px;
    height: 19px;
}

tr.header th, tr.header td {
    vertical-align: bottom;
    padding: 8px 12px;
    font-weight: bold;
    border-bottom: 2px solid #e3e5e7;
}

td.header_default, td.header_front, td.header_right, td.header_margin {
    height: 62px;
}

td.header_default, td.header_front {
    text-align: right;
    padding-left: 20px;
    padding-right: 0;
}

td.header_default, td.content, table.content {
    width: 750px;
}

td.header_right, td.header_default {
    color: white;
    vertical-align: bottom;
    padding-right: 4px;
}

td.main_header {
    color: white;
    font-family: Arial, Tahoma;
    font-size: 26px;
    font-weight: normal;
    text-align: left;
    vertical-align: bottom;
    padding-bottom: 13px;
    padding-left: 3px;
    width: 300px;
}

td.header_right_elements {
    color: white;
    font-weight: bold;
    white-space: nowrap;
}

td.header_front {
    width: 920px;
}

span.logout {
    color: white;
}

td.comp_content_left {
    background-color: #c2d1d0;
    border-bottom: 1px solid #d5d7da;
    padding: 10px 2px 20px 10px;
}

td.comp_content_left {
    border-right: 1px solid #d5d7da;
}

span.menu_level_0 {
    font-size: 100%;
    font-weight: bold;

    padding-left: 0;
}

span.menu_level_1 {
    font-size: 100%;

    padding-left: 5px;
}

span.menu_level_2 {
    font-size: 100%;
    font-style: italic;

    padding-left: 10px;
}

td.menu_bottom {
    padding-top: 20px;
    padding-bottom: 10px;
}

td.content, td.content_front {
    background-color: #ffffff;
    vertical-align: top;
    padding-left: 20px;
    padding-right: 0;
}

td.content_margin {
    background-color: #ffffff;
    width: 100%;
}

td.navigation_bar {
    line-height: 40px;
}

.navigation .border_left {
    border-left: 0;
}

.navigation {
    position: relative;
}

td.navigation_bar, td.navigation_bar_top {
    white-space: nowrap;
    padding-top: 1px;
    padding-bottom: 1px;
}

.navigation td.border_right {
    display: none;
}

.navigation span {
    border: 1px solid #d5d7da;
    background-color: transparent;
    cursor: pointer;
    padding: 0 20px;
    min-width: 80px;
    text-align: center;
    float: left;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    margin-right: 20px;
    margin-bottom: 5px;
}

.navigation span:first-letter {
    text-transform: capitalize;
}

.navigation span.nav-button {
    text-transform: capitalize;
}


.navigation span:hover {
    color: white;
    background-color: #1499d0;
    border-color: #1499d0;
}

.navigation span.highlight {
    background-color: #ee9c00;
    border: 1px solid #ee9c00;
}

.navigation span.highlight:hover {
    background-color: #cf8a01;
    border-color: #cf8a01;
}

.navigation #first, .navigation #last,
.navigation #previous, .navigation #next {
    background-color: white;
}

.navigation #first:hover, .navigation #last:hover,
.navigation #previous:hover, .navigation #next:hover {
    background-color: #1499d0;
    border-color: #1499d0;
}

.navigation #first {
    border-right: 0;
    border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    -webkit-border-radius: 4px 0 0 4px;
    margin-right: 0;
}

.navigation #previous, .navigation #next {
    border-radius: 0 0 0 0;
    -moz-border-radius: 0 0 0 0;
    -webkit-border-radius: 0 0 0 0;
    border-right: 0;
    margin-right: 0;
}

.navigation #last {
    border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    -webkit-border-radius: 0 4px 4px 0;
}

.navigation #create {
    float: right;
    margin: 0;
}

.navigation #remove {
    position: absolute;
    bottom: -80px;
    right: 100px;
    margin: 0;
}

.navigation #save_or_add_button {
    position: absolute;
    bottom: -80px;
    height: 40px;
    right: 0;
    margin: 0;
}

.navigation #save_or_add_button, .navigation #ok {
    color: white;
    border-color: #293240;
    background-color: #293240;
}

.custom-upload {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.navigation #create:hover, .navigation #remove:hover,
.navigation #save_or_add_button:hover, .navigation #ok:hover, .inline-button:hover,
input[type="submit"]:hover, input[type="button"]:hover,
input[type="submit"].default:hover, input[type="button"].default:hover,
.button-row .inline-button:hover, .custom-upload + label:hover, .tag-with-options .tag-option:hover {
    color: white;
    background-color: #1499d0;
    border-color: #1499d0;
}

.inline-button, input[type="submit"], input[type="button"], .custom-upload + label {
    display: inline-block;
    cursor: pointer;
    float: right;
    text-align: center;
    min-width: 80px;
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    background-color: #e7eaee;
    border: 1px solid #d5d7da;
    box-shadow: none;
    -webkit-appearance: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin: 2px 8px 0;
}

.form_grid .inline-button {
    height: 20px;
    line-height: 20px;
    min-width: 10px;
    padding: 0 5px;
    margin: -2px 0 0 4px;
}

.form_grid .inline-button:hover {
    background-color: #1499d0;
}

.alternating tr:nth-of-type(2n) > td.form_grid .inline-button {
    background-color: #d5d7da;
    border-color: #989ea6;
}

.alternating tr:nth-of-type(2n) > td.form_grid .inline-button:hover {
    background-color: #1499d0;
    border-color: #1499d0;
}

.tags  {
    padding-bottom: 4px;
}

.tag-with-options {
    display: inline-block;
    line-height: 16px;
    cursor: pointer;
    padding: 0;
    color: #666666;
    background-color: #e7eaee;
    border: 1px solid #d5d7da;
    box-shadow: none;
    -webkit-appearance: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin: 0 4px 0 0;
    overflow: hidden;
}

.tag-with-options:hover {
    background-color: #cccccc;
    border-color: #1499d0;
}

.tag-with-options .tag-option {
    display: inline-block;
    padding: 2px 4px;
}

.tag-with-options .tag-option:first-of-type {
    padding-left: 8px;
}

.tag-with-options .tag-option:last-of-type {
    padding-right: 8px;
}

#page_content > div > .inline-button {
    margin-top: 20px;
}

.custom-upload + label {
    float: none;
}

.custom-upload:focus + label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

input[type="submit"].default, input[type="button"].default, span.default {
    color: white;
    border-color: #293240;
    background-color: #293240;
}

.button-row .inline-button {
    margin: 2px 2px 4px 8px;
    background-color: transparent;
}

.text-button {
    cursor: pointer;
    color: #006699;
    text-decoration: none;
}

.text-button:hover {
    text-decoration: underline;
}

.single .button-row {
    position: relative;
}

.single .button-row .inline-button {
    position: absolute;
    top: -30px;
    right: 0;
}

#page_content > .inline-button {
    background-color: white;
    float: left;
    margin: 12px 12px 0 0;
}

#page_content > .inline-button:hover {
    background-color: #1499d0;
}

td.form_header_title, td.form_header_links, td.form_footer, td.navigation_bar_top, td.underline {
    border-bottom: 1px solid #d5d7da;
}

span.form_header_title {
    font-weight: bold;
    padding-left: 9px;
    padding-right: 1px;
    border-top: 1px solid #d5d7da;
}

td.form_header_links {
    text-align: right;
}

img.form_header_link, input.form_header_link, img.form_header_title {
    height: 14px;
}

img.form_header_link, input.form_header_link {
    margin-left: 10px;
}

td.form_content, td.form_footer, td.frontpage_list {
    width: 100%;
}

td.comp_content, td.comp_full_content, td.comp_footer, td.form_content, td.form_footer, td.frontpage_list, .dynamic_text, .invisible {
    background-color: white; /* was #e4e2d8; */
}

td.navigation_bar_top {
    background-color: #c2d1d0;
}

td.comp_header_menu, td.comp_header_right, td.flip_spacer {
    text-align: right;
    border-bottom: 1px solid #d5d7da;
}

td.comp_footer {
    -webkit-border-bottom-left-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    -moz-border-radius-bottomright: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;

    border-left: 1px solid #d5d7da;
    border-right: 1px solid #d5d7da;
    border-bottom: 1px solid #d5d7da;
}

td.comp_header_menu {
    text-align: left;
    width: 10px;
}

td.comp_header_right {
    white-space: nowrap;
}

td.comp_header_left {
    text-align: left;
    background-color: white;

    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;

    border-top: 1px solid #d5d7da;
    border-left: 1px solid #d5d7da;
    border-right: 1px solid #d5d7da;
}

td.comp_content, td.comp_full_content, td.comp_footer {
    position: relative;
}

span.flip_inactive, A.flip_inactive, A.flip_inactive:link, A.flip_inactive:visited, A.flip_inactive:hover, A.flip_inactive:active {
    color: #666666;
    font-weight: normal;
    text-decoration: none;
    white-space: nowrap;
}

td.flip_button {
    color: #ffffff;
    background-color: #007dad;
    border-top: 1px solid #d5d7da;
    border-left: 1px solid #d5d7da;
}

span.flip, A.flip, A.flip:link, A.flip:visited, A.flip:hover, A.flip:active {
    color: #000000;
    text-decoration: none;
    white-space: nowrap;
}

span.comp_link, span.comp_link_edit {
    font-size: 80%;
}

.section_link, .section_link_hover {
    font-size: 11px;
}

span.comp_header {
    font-size: 15px;
    display: inline-block;
    padding: 8px 24px;
    width: auto;
    margin-top: 0;
    margin-bottom: 0;
}

span.comp_header:first-letter {
    text-transform: capitalize
}

span.comp_link, span.comp_link_edit, .section_link, .section_link_hover, .ajax_popup_button_confirm, .ajax_popup_button_cancel {
    display: inline-block;
    width: auto;
    cursor: pointer;
}

span.comp_link, span.comp_link_edit {
    border-right: 1px solid #d5d7da;
    border-top: 1px solid #d5d7da;
    padding: 1px 3px 2px;
    margin-top: 0;
    margin-bottom: 0;
}

span.comp_link {
    border-left: 1px solid #d5d7da;
    margin-left: 6px;
    margin-right: 0;
}

.deep_blue, span.comp_link_edit {
    color: #ffffff;
    background-color: #1499d0;
    border-top: 0;
    border-right: 0;
    margin-left: 0;
    margin-right: 0;
}

.blue {
    color: #ffffff;
    background-color: #489dbb;
}

.light_blue {
    color: #000000;
    background-color: #c2d1d0;
}

span.ajax_popup_button_confirm, span.ajax_popup_button_cancel {
    background-color: #f2f2ef;
    color: #666666;
    border: 1px solid #d5d7da;
    padding: 2px 5px;
}

.section_link_hover {
    color: #ffffff;
    background-color: #0073A6;
    font-style: italic;
}

a.comp_link:hover {
    color: #ffffff;
    background-color: #ee9c00;
    font-style: italic;
}

span.button_small, span.button_small_hover {
    background-color: #f2f2ef;
    color: #666666;
    font-weight: bold;
    width: 14px;
    height: 12px;
    font-size: 10px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid #d5d7da;
    padding: 1px 3px 1px 4px;
    margin-left: 0;
    margin-right: 2px;
}

span.button_small_hover {
    background-color: #ee9c00;
    color: #ffffff;
}

.section_link, .section_link_hover {
    padding: 1px 5px 2px 4px;
    margin: 2px 0;
}

.section_link, .section_link_hover {
    border-right: 1px solid black;
}

.border_right {
    border-right: 1px solid #d5d7da;
}

.no_border_right {
    border-right: 0;
}

.border_left {
    border-left: 1px solid #d5d7da;
}

.no_border_left {
    border-left: 0;
}

.borders {
    border: 1px solid #d5d7da;
}

.dynamic_text, .invisible {
    border: 0;
}

.invisible {
    color: white; /* was #e4e2d8; */
}

.inactive_text {
    color: #999999;
}

.inactive, .input-disabled,
.content-box .contents .inactive,
input[type="button"].not-allowed,
.not-allowed {
    color: #666666;
    background-color: #f3f3f3;
    border-color: #d5d7da;
}

.not-allowed,
input[type="button"].not-allowed:hover {
    cursor: not-allowed;
}

input[type="button"].not-allowed:hover {
    background-color: #cccccc;
}

.content-box .contents .expanded .inactive,
.content-box .contents .menu-target .inactive {
    background-color: rgba(243,250,253,0.58);
}

td.comp_content, td.comp_full_content, td.form_content {
    padding: 15px;
}

td.comp_content {
    border-left: 1px solid #d5d7da;
    border-right: 1px solid #d5d7da;
}

.single td.comp_full_content {
    padding-top: 0;
}

td.comp_full_content {
    padding-bottom: 15px;
}

td.narrow {
    padding-left: 2px;
    padding-right: 2px;
}

th.form_heading {
    text-align: left;
}

th.form_heading:first-letter {
    text-transform: capitalize
}

td.form_comment, td.form_input, td.form_comment_padded {
    vertical-align: middle;
    white-space: nowrap;
    line-height: 28px;
}

td.form_comment_padded {
    padding: 0 4px;
}

td.form_info {
    vertical-align: middle;
    white-space: normal;
}

td.form_footer {
    text-align: right;
    height: 15px;
}

img.form_footer {
}

th {
    text-align: left;
}

table.form-grid th A, table.form-grid th A:active, table.form-grid th A:visited, table.form-grid th A:hover,
th.form_grid A, th.form_grid A:active, th.form_grid A:visited, th.form_grid A:hover {
    color: white;
    font-weight: normal;
}

table.form-grid th, th.form_grid {
    background-color: #989ea6;
    color: #ffffff;
}

table.form-grid th .small-button, th.form_grid .small-button {
    filter: grayscale(100%) brightness(200%) contrast(100%);
}

th.form_grid_inverse {
    color: #989ea6;
}

table.form-grid th, th.form_grid, th.form_grid_inverse {
    font-size: 110%;
    font-weight: normal;
    white-space: nowrap;
    padding: 8px 12px;
}

table.form-grid th:first-letter, th.form_grid:first-letter {
    text-transform: capitalize;
}

th.form_grid_explanation {
    border-left: 1px solid #d5d7da;
    border-right: 1px solid #d5d7da;
    border-top: 1px solid #d5d7da;

    font-size: 100%;
    white-space: nowrap;
    font-style: italic;
    font-weight: normal;
}

th.form_grid_wrap {
    background-color: #999999;
    color: #ffffff;
    font-size: 100%;
}

table.form-grid td, td.form_grid {
    vertical-align: top;
    padding: 8px 12px;
}

td.form_grid_content, td.form_grid_content_tight {
    vertical-align: top;
    padding-left: 2px;
    height: 20px;
}

td.form_grid_content, td.form_grid_content_tight {
    padding-right: 2px;
    border-bottom: 1px solid white;
}

td.form_grid_content {
    padding-bottom: 10px;
}

.responsibles td.form_grid_content {
    padding: 15px;
}

img.form_grid_icon {
    height: 11px;
    width: 11px;
    margin-top: 4px;
    margin-bottom: 5px;
}

table.urne {
    height: 17px;
    width: 17px;
}

img.urne {
    height: 3px;
    width: 3px;
}

img.monument, img.monument_thumb {
    border: 1px solid #d5d7da;
}

table.monument, img.monument {
    width: 120px;
}

img.monument_thumb {
    width: 60px;
}

td.comment {
    font-style: italic;
}

table.map {
    background-color: white;
}

table.map .selected .background-layer {
    border-color: #1499d0;
    background-color: #1499d0;
}

table.map .background-layer img {
    width: 100%;
    margin-top: 19px;
    opacity: 0.3;
}

table.map .map_square_25 .background-layer img {
    margin-top: 14px;
}

table.map .unselected .background-layer {
    background-color: #e7eaee;
}

table.map .grave {
    position: relative;
    vertical-align: bottom;
}

table.map .grave .background-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

table.map .grave .text-layer {
    border: 1px solid #000000;
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

table.map .selected .text-layer {
    border-color: #1499d0 !important;
    color: white;
}

table.map .selected .text-layer p.due {
    background-color: #1499d0 !important;
}

table.map .grave .text-layer div {
    margin: 0 0 4px 0;
    padding: 1px 2px;
}

table.map .grave .monument-symbol {
    position: absolute;
    bottom: 77%;
    left: 0;
    height: 20%;
    margin: 0 25%;
    cursor: pointer;
}

table.map .grave .text-layer div.status {
    position: absolute;
    bottom: 0;
    right: 0;
    margin-bottom: 0;
    width: 100%;
}

table.map .grave .text-layer div.due {
    color: white;
    background-color: #999999;
}

table.map .grave .text-layer div.protected {
    color: white;
    background-color: red;
}

table.map .grave .text-layer div.available {
    color: white;
    background-color: green;
}

table.map .grave .text-layer div.reduced {
    color: black;
    background-color: yellow;
}

table.map .grave .text-layer:hover {
    background-color: #1499d0;
    color: white;
    cursor: pointer;
}

table.map .grave .text-layer:hover div.due {
    background-color: black;
}

table.map .grave .text-layer:hover div.reduced {
    background-color: #99ff99;
}

table.map .grave .action-layer {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.map_square div.grave {
    width: 64px;
    height: 128px;
}

.map_square_25 div.grave {
    width: 32px;
    height: 64px;
}

.map_square_900 div.grave {
    width: 192px;
    height: 384px;
}

table.map .map_square, table.map .map_square_25, table.map .map_square_900 {
    text-align: center;
    vertical-align: top;
}

table.map .map_square {
    height: 140px;
    width: 70px;
}

table.map .map_square_25 {
    width: 32px;
    height: 64px;
}

table.map .map_font_25 {
    font-size: 78%
}

table.map .map_square_900 {
    width: 192px;
    height: 384px;
}

.map_comment {
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
}

.map_comment_2 {
    color: #ffffff;
    text-align: center;
    vertical-align: middle;
}

td.map_grave_content_name {
    text-align: left;
    vertical-align: top;
    font-size: 85%;
    padding-top: 5px;
}

div.map_grave_info {
    text-align: left;
    font-size: 90%;
}

div.map_grave_info_25 {
    text-align: left;
    font-size: 9px;
    padding: 0;
}

td.map_buried_name {
    width: 55px;
    word-wrap: break-word;
    text-align: left;
    font-size: 85%;
    padding-left: 1px;
    padding-top: 3px;
}

.map_spacer_25, .map_spacer_100, .map_spacer_900 {
    height: 1px;
}

.map_spacer_25 {
    width: 4px;
}

.map_spacer_100 {
    width: 20px;
}

.map_spacer_900 {
    width: 80px;
}

.map_monument, .map_coffin, .map_urn {
    width: 90%;
}

.map_monument {
    height: 20%;
}

.map_coffin {
    height: 75%;
}

.map_urn {
    height: 35%;
}

td.color1 {
    background-color: #dcb039;
}

td.color2 {
    background-color: #eb9200;
}

td.color3 {
    background-color: #999999;
}

td.color4 {
    background-color: #6aa4cb;
}

span.menu {
    color: #333333;
    width: 100%;
    font-size: 100%;
}

span.function {
    font-weight: bold;
}

span.print-friendly {
}

span.open {
}

span.closed {
}

span.selected {
    font-size: 150%;
    font-weight: bold;
}

span.level1 {
    padding-left: 0;
}

span.level2 {
    padding-left: 10px;
}

span.level3 {
    padding-left: 20px;
    font-style: italic;
}

span.level4 {
    padding-left: 30px;
}

table.journal_report {
    font-size: 10px;
    border: 0 solid black;
    border-collapse: collapse;
}

.break {
    page-break-after: always;
}

.break_before {
    page-break-before: always;
}

td.page-break-trigger {
    height: 1px;
    font-size: 1px;
    overflow: hidden;
}

td.journal_report {
    border: 1px solid black;
    empty-cells: show;
    padding-left: 5px;
    padding-right: 5px;
}

td.journal_balance {
    empty-cells: show;
    padding-left: 5px;
    padding-right: 5px;
    border-top: 2px solid black;
    border-bottom: 3px solid black;
}

th.journal_report {
    border: 1px solid black;
    border-bottom: 2px solid black;
    empty-cells: show;
    padding-left: 5px;
    padding-right: 5px;
}

td.journal_header {
    width: 100%;
    font-size: 135%;
    font-weight: bold;
    margin-bottom: 25px;
}

table.journal_amount {
    font-size: 10px;
}

td.single_line {
    border-bottom: 1px solid black;
    empty-cells: show;
}

td.single_line_top {
    border-top: 1px solid black;
    empty-cells: show;
}

td.solid_line_top {
    border-top: 2px solid black;
    empty-cells: show;
}

td.double_line {
    border-bottom: 3px solid black;
    empty-cells: show;
}

input.alert {
    background-color: #F1AB00;
}

table.request_notice {
    width: 100%;
    border: 2px solid black;
}

table.request_notice_comment {
    width: 100%;
    height: 60px;
    border: 1px solid black;
    vertical-align: top;
}

td.request_notice_descr {
    font-size: 120%;
    vertical-align: middle;
    width: 25%;
}

td.request_notice {
    font-size: 125%;
    vertical-align: middle;
}

td.request_notice_copy_to {
    font-size: 125%;
    vertical-align: middle;
    padding-top: 3px;
    padding-left: 3px;
    padding-bottom: 3px;

}

th.request_notice_descr {
    font-size: 120%;
    vertical-align: middle;
    text-align: left;
    padding-right: 10px;

    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 2px solid #000000;
}

.black {
    color: black;
}

.white, a.white, a.white:link, a.white:active, a.white:visited {
    color: white;
}

.nobreak {
    white-space: nowrap;
}

td.grave_notice_descr {
    font-size: 120%;
    vertical-align: top;
    font-weight: bold;
    white-space: nowrap;

}

td.grave_notice_value {
    font-size: 120%;
    vertical-align: top;
    white-space: nowrap;
}

.attention, a.attention {
    color: #ff0000;
}

input.attention,
.content-box input.attention {
    background-color: #F85050;
    color: #ffffff;
}

.ajax_popup_block {
    background-color: #ffffff;
    padding: 6px;
    border: 1px dotted #999999;
    position: relative;
}

.ajax_popup_close {
    float: right;
    font-weight: bold;
    color: #C2D1D0;
    top: -5px;
}

.ajax_popup_close a {
    font-weight: bold;
    color: #999999;
}

td.ajax_popup_action, td.slot_grid_available {
    background-color: #009c00;
    color: #ffffff;
}

td.ajax_popup_action_reserved, td.slot_grid_reserved {
    background-color: #F1AB00;
    color: #ffffff;
}

td.ajax_popup_action_reserved:hover, td.slot_grid_reserved:hover {
    background-color: #ffffff;
    color: #000000;
    cursor: pointer;
}

td.ajax_popup_action, td.ajax_popup_action_reserved, td.ajax_popup_action_not_allowed {
    text-align: center;
    vertical-align: middle;
    margin: 2px;
}

td.ajax_popup_action:hover, td.slot_grid_available:hover {
    background-color: #00ff00;
    cursor: pointer;
}

td.ajax_popup_action_not_allowed,
td.ajax_popup_action_not_allowed a.hint,
td.slot_grid_not_allowed,
td.slot_grid_not_allowed a.hint {
    background-color: #F85050;
    color: #ffffff;
    border-bottom: 0;
}

table.event_list_popup td.form_grid,
table.ceremony_list td.form_grid {
    vertical-align: middle;
}

.ceremony_list .form_comment {
    width: 150px;
}

.ceremony_list div.ajax_popup_block {
    margin: 10px;
    width: 400px;
}

td.form_grid.slot_grid_not_allowed a:hover,
td.ajax_popup_action_not_allowed a.hint:hover {
    border-bottom: 1px dashed;
}

.ajax_popup_action a {
    color: #ffffff;
}

table.event_availability {
    border-left: 1px solid #C2D1D0;
    border-top: 1px solid #C2D1D0;
}

table.event_availability td {
    border-right: 1px solid #C2D1D0;
    border-bottom: 1px solid #C2D1D0;
    width: 10px;
    height: 15px;
    background-color: #ffffff;
}

th table.event_availability td {
    color: #666666;
    font-weight: normal;
}

table.event_availability td.active {
    background-color: #489dbb;
}

table.event_availability td.weekend {
}

div.checkbox {
    width: 13px;
    height: 13px;
    margin: auto;
    border: 1px solid #333333;

}

div.disabled_filter {
    width: 100%;
    position: absolute;
    z-index: 10;
    top: -80px;
    left: 0;
}

div.scanner_gui {
    position: relative;
    font-size: 20px;
    width: 100%;
    min-height: 640px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    border: 1px solid #d5d7da;
}

.scanner_gui a {
    color: #007EAD;
}

div.scanner_input {
    position: absolute;
    margin: 100px 150px;
}

div.scanner_close_button {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 24px;
    height: 30px;
    width: 30px;
    text-align: center;
    border: 1px solid black;
    font-weight: bold;
    color: white;
    background-color: red;
    cursor: pointer;
}

div.scanner_close_button:hover {
    background-color: #ffcccc;
}

div.scanner_lost_focus {
    background-color: #ee9c00;
    color: white;
}

div.scanner_lost_connection {
    background-color: red; !important;
    color: white;
}

div.scanner_lost_focus div.scanner_history > div {
    background-color: #737b86;
}

div.scanner_lost_focus div.scanner_history > div a {
    color: white;
}

div.scanner_lost_focus div.scanner_history > div.placeholder {
    background-color: transparent;
    color: transparent;
}

div.scanner_history {
    font-size: 16px;
}

div.scanner_history > div {
    background-color: #e7eaef;
    padding: 10px;
    margin: 10px 1% 10px 0;
    width: 49%;
    min-height: 160px;
    float: left;
}

div.scanner_history > div:nth-of-type(2) {
    float: right;
    margin-right: 0;
}

div.scanner_history > div.placeholder {
    padding-top: 60px;
    text-align: center;
    background-color: transparent;
    border: 4px dashed #e7eaef;
    color: #848990;
}

div.scanner_history > div.invalid_content {
    background-color: #ee9c00;
    color: white;
}

div.scanner_log {
    clear: both;
}

.scan_result td {
    padding: 3px 20px 3px 3px;
}

.urn_schema_calendar td.form_grid {
    height: 25px;
    padding: 5px;
    vertical-align: middle;
}

.link_add {
    background: url("../gfx/form_button_add.png") no-repeat 0 3px;
    padding-left: 15px;
    cursor: pointer;
}

.link_add_over {
    background: url("../gfx/form_button_add_over.png") no-repeat 0 3px;
    padding-left: 15px;
    cursor: pointer;
}

.link_view_pdf, .link-pdf {
    background: url("../gfx/icon_small_document_pdf.png") no-repeat 0 2px transparent;
    padding-left: 20px;
    padding-top: 3px;
    cursor: pointer;
}

.link_view_excel, .link-xls {
    background: url("../gfx/icon_small_document_excel.png") no-repeat 0 2px transparent;
    padding-left: 20px;
    padding-top: 3px;
    cursor: pointer;
}

.link-txt, .link-csv, .link-asc, .link-edi {
    background: url("../gfx/icon_small_document_txt.png") no-repeat 0 2px transparent;
    padding-left: 20px;
    padding-top: 3px;
    cursor: pointer;
}

.link-xml {
    background: url("../gfx/icon_small_document_xml.png") no-repeat 0 2px transparent;
    padding-left: 20px;
    padding-top: 3px;
    cursor: pointer;
}

.link-html {
    background: url("../gfx/icon_small_document_html.png") no-repeat 0 2px transparent;
    padding-left: 20px;
    padding-top: 3px;
    cursor: pointer;
}

.link-grave {
    background: url("../gfx/2017/icon-small-grave.png") no-repeat 0 0 transparent;
    background-size: 14px 14px;
    padding-left: 20px;
    cursor: pointer;
}

.link-grave:hover {
    background: url("../gfx/2017/icon-small-grave-hover.png") no-repeat 0 0 transparent;
    background-size: 14px 14px;
}

.link-site {
    background: url("../gfx/2017/icon-small-site.png") no-repeat 0 2px transparent;
    background-size: 14px 14px;
    padding-left: 20px;
    cursor: pointer;
}

.link-site:hover {
    background: url("../gfx/2017/icon-small-site-hover.png") no-repeat 0 2px transparent;
    background-size: 14px 14px;
}

.link-care {
    background: url("../gfx/2017/icon-small-care.png") no-repeat 0 2px transparent;
    background-size: 14px 14px;
    padding-left: 20px;
    cursor: pointer;
}

.link-care:hover {
    background: url("../gfx/2017/icon-small-care-hover.png") no-repeat 0 2px transparent;
    background-size: 14px 14px;
}

.link-monument {
    background: url("../gfx/2017/icon-small-monument.png") no-repeat 0 2px transparent;
    background-size: 14px 14px;
    padding-left: 20px;
    cursor: pointer;
}

.link-monument:hover {
    background: url("../gfx/2017/icon-small-monument-hover.png") no-repeat 0 2px transparent;
    background-size: 14px 14px;
}

.link-order {
    background: url("../gfx/2017/icon-small-order.png") no-repeat 0 2px transparent;
    background-size: 14px 14px;
    padding-left: 20px;
    cursor: pointer;
}

.link-order:hover {
    background: url("../gfx/2017/icon-small-order-hover.png") no-repeat 0 2px transparent;
    background-size: 14px 14px;
}

.link-with-icon {
    position: relative;
    cursor: pointer;
    padding-left: 20px;
}

.link-with-icon:before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    filter: brightness(250%) contrast(50%);
    cursor: pointer;
}

.link-with-icon:hover:before{
    filter: brightness(100%) contrast(100%);
}

.link-icon-unprocessed:before {
    background: url("../gfx/2017/icon-small-unprocessed.png") no-repeat 0 0/14px 14px transparent;
}

.link-icon-import:before {
    background: url("../gfx/2017/icon-small-import.png") no-repeat 0 0/14px 14px transparent;
}

.link-icon-dgm:before {
    background: url("../gfx/2017/icon-small-dgm.png") no-repeat 0 0/14px 14px transparent;
}

.link-icon-warning:before {
    background: url("../gfx/2017/icon-small-warning.png") no-repeat 0 0/14px 14px transparent;
}

.link-icon-error:before {
    background: url("../gfx/2017/icon-small-error.png") no-repeat 0 0/14px 14px transparent;
}


.link-person {
    background: url("../gfx/2017/icon-small-person.png") no-repeat 0 2px transparent;
    background-size: 14px 14px;
    padding-left: 20px;
    cursor: pointer;
}

.link-person:hover {
    background: url("../gfx/2017/icon-small-person-hover.png") no-repeat 0 2px transparent;
    background-size: 14px 14px;
}

.link-request {
    background: url("../gfx/2017/icon-small-request.png") no-repeat 0 2px transparent;
    background-size: 14px 14px;
    padding-left: 20px;
    cursor: pointer;
}

.link-request:hover {
    background: url("../gfx/2017/icon-small-request-hover.png") no-repeat 0 2px transparent;
    background-size: 14px 14px;
}

.link-letter {
    background: url("../gfx/2017/icon-small-letter.png") no-repeat 0 2px transparent;
    background-size: 14px 14px;
    padding-left: 20px;
    cursor: pointer;
}

.link-letter:hover {
    background: url("../gfx/2017/icon-small-letter-hover.png") no-repeat 0 2px transparent;
    background-size: 14px 14px;
}

.link-generic {
    background: url("../gfx/2017/icon-small-generic.png") no-repeat 0 1px transparent;
    background-size: 14px 14px;
    padding-left: 20px;
    cursor: pointer;
}

.link-generic:hover {
    background: url("../gfx/2017/icon-small-generic-hover.png") no-repeat 0 1px transparent;
    background-size: 14px 14px;
}

.link-refresh {
    padding-left: 20px;
    line-height: 24px;
    cursor: pointer;
}

.list-no-padding td {
    line-height: 24px;
}

A.link, .link {
    color: #006699;
}

.link:hover {
    cursor: pointer;
    text-decoration: underline;
}

A.hint, span.hint, label.hint {
    color: #006699;
    text-decoration: none;
    border-bottom: 1px dashed;
}

.hint_wrapper {
    display: block;
    position: relative;
}

.hint_message {
    padding: 10px;
    background: white url("../gfx/hint-bg.png") 6px 6px;
    border-radius: 3px 3px 3px 3px;
    border: solid 1px #999;
}

.hint_helper {
    height: 4px;
    width: 30px;
    float: left;
    background: url("../gfx/hint-helper.png") no-repeat scroll right bottom transparent;
}

.qtip-container {
    margin-top: 5px;
}

.inline_header {
    display: block;
    font-weight: bold;
    padding: 20px 0 5px 0;
}

.inline_message {
    background-color: white;
    padding: 5px;
    margin-top: 5px;
    width: 300px;
    white-space: normal;
}

.person_edit_form select {
    height: 32px;
    margin: 3px 0;
}

.person_edit_form input[type="text"] {
    margin: 3px 0;
}

.edit_form input {
    margin: 2px 2px;
    clear: none;
}

.edit_form select {
    margin: 2px 2px;
    height: 32px;
}

.edit_form input.button, .edit_form img.button {
    margin: 5px 0 0 3px;
}

.edit_form .title {
    float: left;
    font-size: 12px;
    padding: 2px;
}

.edit_form td.form_input {
    white-space: nowrap;
}

a.dayplan_alert {
    color: #cc0000;
/ / #ff8000;
    display: inline-block;
    width: 10px;
}

.status .form {
    margin: 0 0 12px;
}

.status .form .comp_header_left {
    display: none;
}

.status .form .comp_content {
    border: 1px solid #d5d7da;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    overflow: hidden;
}

.status .form .comp_footer {
    display: none;
}

#please_wait {
    z-index: 10;
    display: none;
    width: 300px;
    height: 120px;
    padding: 6px 0;
}

#please_wait img {
    float: left;
    margin-right: 4px;
}

#please_wait span {
    line-height:32px;
}

.half-when-wide {
    width: 49%;
    margin-bottom: 10px;
}

.right-when-wide {
    text-align: right;
}

.responsive > .half-when-wide {
    float: left;
    width: 49%;
}

.responsive > .half-when-wide:nth-of-type(2n){
    margin-left: 1%;
    margin-right: 0;
}

.responsive > .half-when-wide:nth-of-type(2n+1){
    clear: left;
    margin-left: 0;
    margin-right: 1%;
}

.third-when-wide {
    width: 32%;
    margin-right: 1%;
    margin-left: 1%;
    margin-bottom: 10px;
    float:left;
}

.third-when-wide:nth-of-type(3n+1) {
    margin-left: 0;
    clear:left;
}

.third-when-wide:nth-of-type(3n+3) {
    margin-right: 0;
}

.fourth-when-wide {
    width: 24%;
    margin-right: 1%;
    margin-left: 0;
    margin-bottom: 10px;
    float:left;
}

.fourth-when-wide:nth-of-type(4n+1) {
    margin-left: 0;
    clear:left;
}

.fourth-when-wide:nth-of-type(4n+4) {
    margin-right: 0;
}

.content-box .half-when-wide,
.content-box .third-when-wide,
.content-box .fourth-when-wide {
    margin-bottom: 0;
}

table.grave_protocol {
    width: 100%;
    font-size: 100%;
    border-right: 1px solid black;
    border-top: 1px solid black;
}

.grave_protocol thead {
    display: table-header-group;
}

.grave_protocol tr {
    page-break-inside: avoid;
}

.grave_protocol td.soft_header {
    font-size: 150%;
    padding-top:    5px;
    padding-left:   5px;
    padding-bottom: 3px;
}

.grave_protocol table.grave_protocol_header {
    font-size: 150%;
    margin-top: 0px;
    margin-bottom: 15px;
    width: 100%;
    border-bottom: 2px solid black;
}


.grave_protocol td {
    vertical-align: top;
    border-left: 1px solid black;
    border-bottom: 1px solid black;
}

.grave_protocol th{
    border-left: 1px solid black;
    border-bottom: 1px solid black;
}

.grave_protocol td.protocol_header {
    border: 0;
}

.grave_protocol th.protocol_header {
    border: 0;
    padding-right: 25px;
}

.grave_protocol h1 {
    font-size: 16px;
    text-align: center;
    display: block;
}


.grave_protocol td.police {
    font-size: 100%;
    border-left: 0;
    border-bottom: 0;
}

.grave_protocol td.police_address {
    font-size: 120%;
    border-left: 0;
    border-bottom: 0;
}

.grave_protocol td.police_header {
    font-size: 180%;
    border-left: 0;
    border-bottom: 0;
}

.grave_protocol td.response_header {
    font-size: 120%;
    padding-right: 100px;
    border-left: 0;
    border-bottom: 0;
}

.grave_protocol td.response_write {
    font-size: 100%;
    border-left: 0;
    width: 80px;
}

.grave_protocol td.response {
    font-size: 100%;
    border-left: 0;
    border-bottom: 0;
}


.grave_protocol td.response_signature {
    font-size: 100%;
    border-left: 0;
}

.grave_protocol th.police {
    font-size: 100%;
    border-left: 0;
    border-bottom: 0;
}

.pre {
    white-space: pre-wrap;       /* css-3 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

.hidden-when-not-print {
    display: none;
}

.memorial-grid td > div {
    min-height: 60px;
    margin: 8px;
    padding: 12px 6px;
    text-align: center;
}

.memorial-grid .in-use {
    background-color: #e7eaee;
}

.memorial-grid .in-use:hover,
.memorial-grid .reserved:hover {
    background-color: #1499d0;
    border: 0;
    color: white;
    cursor: pointer;
}

.memorial-grid .available {
    border: 1px dashed #e7eaee;
}

.memorial-grid .closed {
    border: none;
}

.memorial-grid .available:hover,
.memorial-grid .closed:hover {
    border: 1px dashed #666666;
}

.memorial-grid .available .monument-slot-action,
.memorial-grid .closed .monument-slot-action {
    display: none;
}

.memorial-grid .available:hover .monument-slot-action,
.memorial-grid .closed:hover .monument-slot-action {
    display: inline;
    cursor: pointer;
}

.memorial-grid .reserved {
    border: 1px dashed #666666;
}

.christmas {
    clear: both;
    background-color: #cc0000;
    color: white;
    padding: 16px 12px;
    cursor: pointer;
    background-image: url("/gfx/christmas-background.jpg");
    -webkit-background-size: 50%;
    background-size: 50%;
}

.dropzone-container {
    display: none;
}

.dropzone-container form {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.dropzone-container .dropzone .dz-preview .dz-error-message {
    top: 64px;
}

.dropzone-container .dropzone {
    border: 2px dashed #1499d0;
    background-color: transparent;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    padding: 0;
}

.dropzone-caption {
    font-style: italic;
    font-size: 90%;
    position: absolute;
    display: block;
    bottom: 0;
    padding: 20px;
}

.incoming-requests-new td {
    background-color: #ffffcc;
}

.incoming-requests-new .ok td {
    background-color: #ccffcc;
}

.incoming-requests-new .error td {
    background-color: #ffcccc;
}

.incoming-requests-new img {
    width: 24px;
    height: 24px;
}

@media print {
    body {
        background-color: white;
    }

    .page-header, .menu-section, .page-footer, .content-section .navigation, #page_navigation,
    .hidden-when-print, #page_status, .form_grid_inverse {
        display: none;
    }

    .page-header, .page-contents, .page-footer {
        font-family: 'Roboto', sans-serif;
        font-size: 11px;
    }

    .tabs > div span {
        font-size: 13px;
    }

    input[type="text"], input[type="password"], .person_edit_form input[type="text"], .input-disabled {
        height: 18px;
        margin: 3px 0;
    }

    select, .person_edit_form select, .edit_form select {
        height: 12px;
        margin: 3px 0;
    }

    td.form_input, td.form_comment {
        line-height: 18px;
    }

    table.form-grid td, table.form-grid th, th.form_grid, td.form_grid {
        padding: 2px 4px;
    }

    td.odd, td.even {
        border-top: 1px solid #cccccc;
    }

    .tall-box-header .tabs div.flip, .tall-box-header .tabs div.flip_inactive {
        padding: inherit;
    }

    .hidden-when-not-print {
        display: block;
    }

    .content-section .always-print {
        display: block;
    }

    .content-section .half-when-wide {
        width: 49%;
        margin-bottom: 10px;
    }

    .content-section .third-when-wide {
        width: 32%;
        margin-right: 1%;
        margin-left: 1%;
        margin-bottom: 10px;
        float:left;
    }

    .content-section .third-when-wide:nth-of-type(3n+1) {
        margin-left: 0;
        clear:left;
    }

    .content-section .third-when-wide:nth-of-type(3n+3) {
        margin-right: 0;
    }

    .content-section .third-when-wide:nth-of-type(2n){
        margin-left: initial;
        margin-right: initial;
    }

    .content-section .third-when-wide:nth-of-type(2n+1){
        clear: initial;
        margin-left: initial;
        margin-right: initial;
    }

    .page-contents .content-section {
        float: left;
        width: 100%;
        padding: 0;
    }

    .page-contents .overview {
        margin-top: 0;
        height: initial;
    }

    .page-contents {
        margin-top: 30px;
        padding: 0;
    }

    .page-contents label {
        color: lightgrey;
    }

    .main-column {
        width: 100%;
    }

    .function-column {
        display: none;
    }

    .inline-button, .small-button, .go-button, .ssn-button, .phonebook-button,
    .content-box-menu-button, .content-box-menu-single-function a {
        display: none;
    }

    select {
        -moz-appearance: none;
        -webkit-appearance: none;
    }

    input[type="text"], input[type="password"], select, .input-disabled {
        border: 0;
    }

    .click-to-expand:before, .click-to-collapse:before {
        display: none;
    }

    .table-row-menu-button {
        display: none;
    }

    .content-box .contents {
        overflow-x: hidden;
    }

    div.inline-element {
        max-width: 200px;
        height: 18px;
        line-height: 18px;
    }

    div.inline-element .input-disabled,
    div.inline-element label {
        line-height: 18px;
        height: 18px;
    }

    div.inline-element input[type=text],
    div.inline-element select,
    div.inline-element .input-disabled {
        height: 18px;
        line-height: 18px;
        top: -2px;
    }

    div.inline-element input[type=checkbox] {
        height: inherit;
        margin-top: 2px;
    }

    table.map .grave .text-layer div.status {
        position: absolute;
        bottom: 0;
        right: 0;
        margin-bottom: 0;
        width: 100%;
    }

    table.map .background-layer img {
        opacity: 0.5;
    }

    table.map .grave .text-layer div {
        color: black;
        text-shadow: -1px 1px #ffffff;
    }

    table.map .grave .text-layer div.due {
        color: #666666;
        border-bottom: 1px solid #999999;
    }

    table.map .grave .text-layer div.protected {
        color: red;
        background-color: white;
        border-top: 1px solid red;
    }

    table.map .grave .text-layer div.available {
        color: green;
        background-color: white;
        border-top: 1px solid green;
    }

    table.map .grave .text-layer div.reduced {
        color: orange;
        background-color: white;
        border-top: 1px solid orange;
    }

    .map-container {
        max-height: 940px;
    }

    .memorial-grid .in-use {
        border: 1px solid #999999;
    }

    ::-webkit-input-placeholder { /* WebKit browsers */
        color: transparent;
    }
    :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
        color: transparent;
    }
    ::-moz-placeholder { /* Mozilla Firefox 19+ */
        color: transparent;
    }
    :-ms-input-placeholder { /* Internet Explorer 10+ */
        color: transparent;
    }
    .scrollable-contents .content-box .expand-content-box {
        display: none;
    }
}

@media (max-width: 1040px) {
    .menu-section {
        display: none;
    }

    .hidden-when-wide {
        display: inherit;
    }

    .page-contents .content-section {
        float: left;
        width: 100%;
    }

    .page-contents {
        padding-left: 0;
    }

    .id-bar, .nav-bar {
        padding-left: 24px;
    }

    .id-bar {
        background-position-x: 24px;
    }

    .page-footer {
        padding-left: 8px;
    }
}

@media (max-width: 800px) {
    .half-when-wide,
    .responsive > .half-when-wide {
        width: 100%;
    }

    .right-when-wide {
        text-align: initial;
    }

    .responsive > .half-when-wide:nth-of-type(1n){
        margin-left: 0;
        margin-right: 0;
    }

    .third-when-wide, .fourth-when-wide {
        width: 49%;
    }

    .third-when-wide:nth-of-type(3n+1) {
        clear: initial;
    }

    .fourth-when-wide:nth-of-type(4n+1) {
        clear: initial;
    }

    .third-when-wide:nth-of-type(2n), .fourth-when-wide:nth-of-type(2n){
        margin-left: 1%;
        margin-right: 0;
    }

    .third-when-wide:nth-of-type(2n+1), .fourth-when-wide:nth-of-type(2n+1){
        clear: left;
        margin-left: 0;
        margin-right: 1%;
    }

    .hidden-when-narrow {
        display: none;
    }

    .clear-both-when-narrow {
        clear: both;
    }

    .hidden-when-not-narrow {
        display: inherit;
    }

    .content-header h2 {
        font-size: 14px;
        line-height: 18px;
    }

    .content-header h1 {
        font-size: 18px;
        line-height: 20px;
    }

    .navigation #first {
        display: none;
    }

    .navigation #last {
        display: none;
    }

    .navigation #previous {
        border-right: 0;
        border-radius: 4px 0 0 4px;
        -moz-border-radius: 4px 0 0 4px;
        -webkit-border-radius: 4px 0 0 4px;
        margin-right: 0;
    }

    .navigation #next {
        border-right: 1px solid #d5d7da;
        border-radius: 0 4px 4px 0;
        -moz-border-radius: 0 4px 4px 0;
        -webkit-border-radius: 0 4px 4px 0;
    }

    .page-contents .details .content-header {
        width: 60%;
    }

    div.inline-element, .half-when-wide div.inline-element {
        width: 49%;
    }

    .nav-bar {
        font-size: 80%;
        padding-left: 0;
    }

    .nav-bar .page-menu-item {
        padding: 0;
        margin: 0;
        float: left;
    }

    .nav-bar .page-menu-title {
        padding: 0 8px 0 6px;
        border-right: 1px solid #128cbe;
        display: inline-block;
    }

    .nav-bar .page-menu-item:hover .page-menu-title {
        margin-top: 0;
    }

    .top-right-header div {
        padding: 0;
    }

    .id-bar {
        font-size: 80%;
    }

    .id-bar .logo {
        display: none;
    }

    .id-bar {
        background-image: url("/gfx/icon-ecclesia/apple-touch-icon.png");
        background-position: 4px 8px;
        background-size: 32px;
        background-repeat: no-repeat;
    }

    .id-bar .generic-links .menu-item {
        margin-left: 0;
    }

    .id-bar .top-right-header .identity-links .menu-item > span,
    .id-bar .top-right-header .identity-links a > span{
        padding: 0 8px;
    }

    .id-bar .top-right-header .generic-links .menu-item > span {
        border-right: 1px solid #eeeeee;
    }

    .id-bar .generic-links {
        margin-left: 0;
    }

    .id-bar .generic-links > a {
        background: rgba(255, 255, 255, 0.5);
    }

    .id-bar .identity-links {
        margin-left: 0;
    }

    .id-bar .identity-links > a,
    .id-bar .menu-item {
        display: inline-block;
        max-width: 100px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.5);
    }

    .id-bar .identity-links > a > span,
    .id-bar .menu-item > span {
        padding: 0 8px;
    }

    .identity-links .client:before {
        left: -24px;
    }

    .identity-links .user:before {
        left: -12px;
    }

    .warning-hint:after {
        right: 0;
    }
}

@media (max-width: 480px) {
    .main-column {
        width: 100%;
    }

    .function-column {
        display: none;
    }

    .third-when-wide {
        width: 100%;
    }

    .third-when-wide:nth-child(1n) {
        margin-left: 0;
        margin-right: 0;
    }

    .hidden-when-tiny {
        display: none;
    }

    .hidden-when-not-tiny {
        display: inherit;
    }

    .content-header h2 {
        font-size: 12px;
        line-height: 18px;
    }

    .content-header h1 {
        font-size: 16px;
        line-height: 20px;
    }

    .content-header .image-container {
        margin-right: 12px;
    }

    .calendar-buttons a {
        padding: 0 10px;
        min-width: 40px;
    }

    .search-input {
        min-width: 200px;
    }

    div.inline-element, .half-when-wide div.inline-element {
        width: 100%;
    }

    .page-contents .overview {
        padding-right: 90px;
        position: absolute;
        top: 52px;
    }

    .navigation #create,
    .navigation #remove,
    .navigation #save_or_add_button
    {
        position: inherit;
        float: right;
        margin: 0 0 4px 6px;
    }

    .navigation .navigation_bar {
        height: 124px;
    }

    .navigation span {
        padding: 0;
        min-width: 70px;
    }

    .contents .map-container {
        height: 200px;
    }
}