h1, h2, h3, h4, h5, h6{
    font-family: Old_Standard_TT;
    font-weight: 600;
}

h1.title,
h2.title,
h3.title,
h4.title,
h5.title,
h6.title{
    text-transform: uppercase;
    color: #444;
    font-weight: 700;
}

h1.title_c,
h2.title_c,
h3.title_c,
h4.title_c,
h5.title_c,
h6.title_c{
    text-align: center;
    letter-spacing: 0.85px;
    font-weight: 600;
    font-family: Old_Standard_TT;
}

.intermission_section {
    margin: 2.5em auto;
}
.intermission_section_text {
    margin: 0 auto;
    padding: 2em;
    max-width: 40em;
    text-align: justify;
    font-size: 1.05em;
}
@media (max-width: 768px) {
    .intermission_section_text {
        font-size: 0.85em;
    }
}

.floating_diamonds_wrap{
    position: absolute;
    z-index: -1;
    overflow: hidden;
    width: 100%;
}

.floating_diamonds{
    position: absolute;
    width: 100%;
    height: 100%;
}

html, body, .main_wrapper, .main_panel{
    /*height: 100%;*/
}
.custom-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.custom-checkbox label.custom-control-label {
    background-image: none;
}

.no-select {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}

button:focus{
    outline: none;
}

.main_panel {
    min-height: 100vh;
    flex-grow: 1;
    width: 100%;
}

.DimScreenWrap {
    position: fixed;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    display: flex;
    justify-content: center;
    align-items: center;
}

.EditableFieldInput {
	margin: 0;
}
.EditableField {
	cursor: pointer;
	background: #0000001a;
	border: 1px solid #0003;
	padding: 0 1em;
	width: 100%;
	border-radius: 6px;
    min-height: 1.25em;
}


.image_gallery_dialog_sides {
    display: flex;
}

.image_gallery_dialog_right {
    flex-grow: 1;
}
.image_gallery_dialog_left,
.image_gallery_dialog_right {
    padding: 0.25em;
}
.image_gallery_dialog_months {
    border: 3px double #aaa;
    padding: 0.5em;
    width: 18em;
}
.image_gallery_dialog_months .image_gallery_dialog_month_wrap {
    margin-bottom: 0.5em;
}
.image_gallery_dialog_months .image_gallery_dialog_month_wrap:last-child {
    margin-bottom: 0;
}
.image_gallery_dialog_month {
    padding: 0.5em;
    border: 1px solid #888;
    box-shadow: 1px 1px 2px #555;
    background: #fff;
    cursor: pointer;
}
.image_gallery_dialog_images_wrap {
    border: 3px double #aaa;
    max-height: 30em;
    overflow: auto;
}
.image_gallery_dialog_images{
    padding: 0.5em;
}
.image_gallery_dialog_images_title_wrap {
    border-bottom: 1px solid #888;
}
.image_gallery_dialog_month_selected {
    background: #00ff83;
    color: #1d5e29;
}
.image_gallery_dialog_images_title {
    background: #1a1a1a;
    color: #fff;
    text-shadow: 1px 1px 1px #333;
    padding: 0 0.5em;
    font-size: 1.15em;
}
.image_gallery_dialog_image {
    display: inline-block;
    padding: 0.5em;
}
.image_gallery_dialog_img_wrap {
    width: 8em;
    height: 8em;
    padding: 0.5em;
    border: 1px solid #aaa;
    position: relative;
}
.image_gallery_dialog_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image_gallery_dialog_image_pick_btn_wrap {
    margin-top: 0.25em;
}
.image_gallery_dialog_image_pick_btn {
    padding: 0.25em 0.5em;
    width: 100%;
}
.image_gallery_dialog_image_pick_btn:hover{
    background: #eee;
}

.generic_overlay_window_wrap {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1500;
    background: #0006;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
}

.generic_overlay_window {
    padding: 2em;
    width: auto;
    height: 100%;
    max-width: 100em;
    max-height: 75em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.generic_overlay_window_content {
    background: #222;
    border: 3px double #666;
    width: 100%;
    max-height: 100%;
    overflow: auto;
    box-shadow: 0px 0px 2px 1px #000;
    padding: 2em;
}
.image_gallery_dialog_wrap {
    width: 75em;
}


.Checkbox:checked + label::before, .Radiobox:checked + label::before,
.Checkbox:checked + span::before, .Radiobox:checked + span::before,
.Checkbox.checked + label::before, .Radiobox.checked + label::before,
.Checkbox.checked + span::before, .Radiobox.checked + span::before {
    background: #28b779;
    color: #ffffff;
}


#ConfirmationScreen{
    display: table;
    background: rgba(0,0,0,0.65);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

#ConfirmationMsgWrap{
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
    padding: 0.5em;
}

#ConfirmationMsg{
    max-width: 32em;
    padding: 1.5em;
    margin: 0 auto;
    background: #f9f9f9;
    border-radius: 6px;
    box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.58);
}
#ConfirmationMsgTitle{
    font-size: 1.5em;
    margin-bottom: 0.5em;
}
#ConfirmationMsgText{
    font-size: 1.05em;
    margin-bottom: 1.25em;
}

.ConfirmationMsgBtn{
    font-size: 1em;
    display: inline-table;
    margin: 0 0.5em;
    width: 5.5em;
    padding: 0.25em 1em;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
	border: 1px solid #777;
    border: 1px solid #00000044;
}

.ConfirmationMsgBtn.no{
    background: #fff;
    color: #555;
}
.ConfirmationMsgBtn.yes{
    background: #28b779;
}

.GenericCommentWrap{
    padding: 0.5em 0;
    width: 100%;
    position: relative;
}


.generic_editor_inputwrap {
    margin-bottom: 0.5em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #ccc;
}
.generic_editor_inputwrap:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}
.generic_editor_label {
    font-weight: 600;
    color: #666;
}

.page_node_editor {
    border: 3px double #0000004d;
    background: #fff;
    margin-bottom: 1em;
    display: flex;
}
.page_node_editor_right {
    flex-grow: 1;
}
.generic_editor_handle,
.page_node_editor_handle {
    cursor: move;
    padding: 0.5em;
    height: 100%;
    display: flex;
    align-items: center;
    background: #bbbbbb;
    font-size: 1.75em;
}
.generic_editor_handle_wrap,
.page_node_editor_handle_wrap {
    height: 100%;
    border: 1px solid #666;
}
.html_content_editor_save_btn_wrap {
    padding: 0.25em;
}
.html_content_editor_save_btn {
    margin: 0;
    width: 100%;
}
.document_collection_editor_docs {
    list-style: none;
}
.doc_editor_sides {
    display: flex;
    align-items: center;
}
.doc_editor {
    margin: 0.5em;
    border: 1px solid #aaa;
    position: relative;
}
.doc_editor_outer_sides {
    display: flex;
}
.doc_editor_handle {
    cursor: move;
    padding: 0.5em;
    height: 100%;
    display: flex;
    align-items: center;
    background: #bbbbbb;
    font-size: 1.25em;
}
.doc_editor_handle_wrap {
    height: 100%;
}
.doc_editor_outer_right {
    flex-grow: 1;
    padding: 0 1em;
}
.document_collection_editor_title {
    margin: 0;
}
.document_collection_editor_title_wrap {
    padding: 0.5em;
}

.image_collection_editor_title_wrap {
    padding: 0.5em;
}
.image_collection_editor_display_type_wrap {
    padding: 0.5em;
}
.image_collection_editor_title {
    margin: 0;
}
.image_collection_editor_images {
    padding: 1em;
}
.image_collection_editor_image {
    display: inline-block;
    width: 8em;
    height: 8em;
    padding: 0.5em;
    margin: 0.25em;
    border: 1px solid #aaa;
    position: relative;
}

.generic_exclude_btn{
    width: 1.5em;
    height: 1.5em;
    position: absolute;
    right: 0;
    top: 0;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #666;
    cursor: pointer;
    border: 1px solid #444;
    font-size: 1.05em;
    text-shadow: 1px 1px 1px #000;
    box-shadow: 1px 1px 1px #000;
    transition: 0.25s;
    opacity: 0;
}
.image_collection_editor_image:hover
.image_collection_editor_image_exclude_btn,
.doc_editor:hover
.doc_exclude_btn{
    opacity: 1;
}

.image_collection_editor_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image_upload_outer_wrap,
.document_upload_outer_wrap{
    padding: 0.25em;
}

.image_upload_wrap,
.document_upload_wrap{
    margin: 0;
    width: 100%;
}
.image_upload,
.document_upload{
    display: none;
}

.age_restriction_wrap {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    background: #0002;
    font-size: 1.35rem;
    margin: 0.5em 0px;
}

.image_gallery_dialog_sides {
    display: flex;
}

.image_gallery_dialog_right {
    flex-grow: 1;
}
.image_gallery_dialog_left,
.image_gallery_dialog_right {
    padding: 0.25em;
}
.image_gallery_dialog_months {
    border: 3px double #aaa;
    padding: 0.5em;
    width: 18em;
}
.image_gallery_dialog_months .image_gallery_dialog_month_wrap {
    margin-bottom: 0.5em;
}
.image_gallery_dialog_months .image_gallery_dialog_month_wrap:last-child {
    margin-bottom: 0;
}
.image_gallery_dialog_month {
    padding: 0.5em;
    border: 1px solid #888;
    box-shadow: 1px 1px 2px #555;
    background: #fff;
    cursor: pointer;
}
.image_gallery_dialog_images_wrap {
    border: 3px double #aaa;
    max-height: 30em;
    overflow: auto;
}
.image_gallery_dialog_images{
    padding: 0.5em;
}
.image_gallery_dialog_images_title_wrap {
    border-bottom: 1px solid #888;
}
.image_gallery_dialog_month_selected {
    background: #00ff83;
    color: #1d5e29;
}
.image_gallery_dialog_images_title {
    background: #aaa;
    color: #fff;
    text-shadow: 1px 1px 1px #333;
    padding: 0 0.5em;
    font-size: 1.15em;
}
.image_gallery_dialog_image {
    display: inline-block;
    padding: 0.5em;
}
.image_gallery_dialog_img_wrap {
    width: 8em;
    height: 8em;
    padding: 0.5em;
    border: 1px solid #aaa;
    position: relative;
}
.image_gallery_dialog_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image_gallery_dialog_image_pick_btn_wrap {
    margin-top: 0.25em;
}
.image_gallery_dialog_image_pick_btn {
    padding: 0.25em 0.5em;
    width: 100%;
}
.image_gallery_dialog_image_pick_btn:hover{
    background: #eee;
}

.generic_overlay_window_wrap {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1500;
    background: #0006;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
}

.generic_overlay_window {
    padding: 2em;
    width: auto;
    height: 100%;
    max-width: 100em;
    max-height: 75em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.generic_overlay_window_content {
    background: #fff;
    border: 3px double #666;
    width: 100%;
    max-height: 100%;
    overflow: auto;
    box-shadow: 0px 0px 2px 1px #000;
    padding: 2em;
}
.image_gallery_dialog_wrap {
    width: 75em;
}
.box_background_editor_preview_wrap {
    height: 16em;
    margin-bottom: 1em;
}
.box_background_editor_set_image_btn, .box_background_editor_unset_image_btn{
    width: 100%;
}
.box_background_editor_sides {
    display: flex;
}
.box_background_editor_single_side .box_background_editor_sides{
    display: block;
}
.box_background_editor_left {
    flex-basis: 24em;
}
.box_background_editor_right {
    flex-grow: 1;
}
.box_background_editor_right, .box_background_editor_left {
    padding: 0.5em 0;
}
.box_background_editor_fields {
    padding: 0 1em;
}

.box_background_editor_wrap {
    margin-bottom: 0.75em;
}

.box_background_editor {
    border: 3px double #888;
    padding: 1em;
    background: #fdffe8;
    font-size: 0.875em;
}

.page_node_editor_top {
    display: flex;
    background: #888;
    color: #f5f5f5;
    padding: 0.25em 1em;
    font-size: 0.85em;
    align-items: center;
    justify-content: space-between;
    text-shadow: 1px 1px 1px #444;
    font-weight: 500;
    border: 1px solid #555;
    border-left: 0;
    border-right: 0;
}

.set_image_btn_wrap {
    padding: 0.25em;
}

.set_image_btn {
    margin: 0;
    width: 100%;
}
.page_node_editor_top_node_btn {
    padding: 0.15em 0.65em;
    background: #777;
    font-size: 1em;
    border: 1px solid #666;
    cursor: pointer;
}

.html_content img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.html_content iframe {
    max-width: 100%;
}

.html_content p:last-child{
    margin-bottom: 0;
}

.generic_doc_sides {
    display: flex;
    align-items: center;
}
.generic_doc_left {
    padding-right: 0.35em;
}
.generic_doc_right {
    flex-grow: 1;
}
.generic_doc_link {
    display: table;
    padding: 0 1em 0 0;
    transition: 0.25s;
    text-decoration: none;
}
.generic_doc_link:hover,
.generic_doc_link:focus{
    padding: 0 0 0 1em;
}
.generic_doc_link_wrap {
    font-size: 1.35em;
}
.generic_doc_icon {
    font-size: 1.85em;
}
.generic_doc_text {
    line-height: 1.15em;
}

ul.document_collection_docs {
    list-style: none;
    margin: 0;
}
ul.document_collection_docs li.document_collection_doc_wrap{

}
ul.document_collection_docs li.document_collection_doc_wrap:last-child{
    margin: 0;
}

.LoadingScreen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000044;
    z-index: 500;
    display: table;
    font-size: 0.5em;
}
.LoadingScreenInner {
    height: 100%;
    display: table-cell;
    width: 100%;
    text-align: center;
    vertical-align: middle;
}
.LoadingScreenSpinner{
    color: #fff;
    text-shadow: 0 0 2px #00000088,0 0 8px #00000022;
}

img.img-fit{
    object-fit: cover;
    object-position: top;
    width: 100%;
    height: 100%;
}
img.img-contain{
    object-fit: contain;
    width: 100%;
    height: 100%;
}
.captcha_pic{
    width: 100%;
    max-width: 10em;
    display: block;
}
.captcha_pic_wrap {
    margin-bottom: 0.5em;
}
.captcha_hint {
    line-height: 1.25em;
    display: block;
    margin-bottom: 0.25em;
}
.stand_by_screen {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}
.stand_by_screen_inner {
    display: flex;
    background: #fff;
    align-items: center;
    justify-content: center;
    padding: 2em 4em;
    border-radius: 0.5em;
    box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.25);
}
.stand_by_screen_spinner {
    line-height: 0;
    margin-right: 0.15em;
}
.stand_by_screen_text {
    font-size: 1.25em;
}
.Notice {
    padding: 2em;
    background: #fff;
}
.NoticeWrap {
    padding: 1em;
}
.form_comment {
    border: 2px dashed #ccc;
    background: #f6f6f6;
    text-align: center;
    padding: 1em;
    font-weight: 600;
    color: #666;
    border-radius: 6px;
}

.breadcrumbs {
    font-size: 0.85em;
    list-style: none;
    margin: 0;
    padding: 1em 0.5em;
    font-weight: 400;
    color: #231f20;
}
.breadcrumbs > li{
    display: inline;
}
.breadcrumbs > li span{
    color: #808080;
}
.breadcrumbs > li a,
.breadcrumbs > li a:hover{
    color: #231f20;
    text-decoration: none;
}

.breadcrumbs > li + li::before {
    content: "/";
    padding: 0 5px;
}


.pagination a, .pagination strong {
    padding: 0.25em;
    border: 1px solid #00000044;
    margin: 0.25em;
    min-width: 2em;
    display: inline-block;
    text-align: center;
    line-height: 1.35em;
    text-decoration: none;
    background: #00000004;
}

.pagination {
    display: table;
    margin: 0 auto;
    padding: 0 1em;
    border: 3px double #00000044;
    border-left: none;
    border-right: none;
    width: 100%;
    text-align: center;
}
.pagination_wrap{
    margin-top: 1em;
}

.hero_card {
    max-width: 16em;
    height: 20em;
    overflow: hidden;
    flex: 1 1 16em;
    margin: 0.5em;
}
.hero_card:hover {
    text-decoration: none;
}

.hero_card .hero_card_overlay, .hero_card .hero_card_image_wrap {
    top: 0;
    position: absolute;
}

.hero_card .hero_card_overlay{
    background-color: rgba(42, 42, 42, 0.78);
    z-index: 5;
    transition: 0.5s;
    opacity: 1;
}

.hero_card .hero_card_info {
    z-index: 10;
    position: relative;
    display: flex;
    text-align: left;
    padding: 1em;
    flex-direction: column;
    justify-content: flex-end;
}

.hero_card .hero_card_info .hero_card_name{
    text-align: left;
    font-size: 1.25em;
}

.hero_card .hero_card_image_wrap {
    transform: scale(1);
    transition: 0.5s;
}

.hero_card:hover .hero_card_image_wrap{
    transform: scale(1.05);
}

.hero_card:hover .hero_card_overlay{
    opacity: 0.5;
}

.hero_card_deck {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 4em auto;
}
.contact_editor_sides {
    display: flex;
}
.contact_editor_left,
.contact_editor_right{
    flex: 1 1 auto;
}
.contact_editor_left{
    flex: 0 1 auto;
}
.contact_editor {
    border: 3px double #888;
    margin: 0.5em auto;
}

.generic_editor_info_item {
    display: flex;
    align-items: center;
    margin: 0.35em auto;
}
.generic_editor_info_item_label {
    margin-right: 0.5em;
}
.generic_editor_info_item_val {
    border: 1px solid #888;
    padding: 0 0.5em;
    border-radius: 4px;
}