.hide {
    display: none !important;
}

.doldig_candle-template-default .ast-container,
.doldig_chapel-template-default .ast-container,
.candle-template-default .ast-container,
.chapel-template-default .ast-container,
.page-template-archive-candle .ast-container,
.page-template-archive-chapel .ast-container,
.page-template-archive-vigil .ast-container,
.page-template-candle-countries .ast-container,
.page-template-candle-style .ast-container {
    max-width: none;
    padding: 0;
}

#primary {
    display: flex;
    background-size: cover;
    margin: 0 !important;
    width: 100%;
}

#main {
    width: 100%;
}

#primary .right-side-image {
    width: 33%;
    background-color: transparent;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: top left;
    /*background-size: 100% auto;*/
    background-size: auto;
    min-height: 90vh;
}

.left-side-content {
    width: 66%;
    color: #fff;
    padding: 40px;
}

.left-side-content h1 {
    color: #fff;
    margin-bottom: 1em;
}

.left-side-content p {
    margin-bottom: 1em;
    line-height: 1em;
}

.left-side-content p a {
    color: #E0D800;
    text-decoration: underline;
    cursor: pointer;
}

.left-side-content p a:hover {
    color: #fff;
}

.left-side-content .left-side-content-content,
.candle-form-instructions {
    font-size: 24px;
}

.single-chapel.vigil .left-side-content .left-side-content-content {
    display: flex;
    flex-flow: row;
    gap: 20px;
}

.left-side-content .candle-post-loop {
    display: flex;
    flex-flow: wrap row;
}

.left-side-content .candle-post-loop .candle-post-single {
    width: 33%;
    text-align: center;
}

.candle-post-image {
    width: 250px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    align-self: flex-start;
}

.candle-post-image .candle-actual {
    position: absolute;
    bottom: 36px;
    overflow: hidden;
    left: 26.5%;
    text-align: center;
}

.candle-post-image .candle-body {
    width: 120px;
    margin: 0 auto;
    max-width: 80%;
    display: block;
}

.trigger-candle-popup,
.finalize-candle-post {
    cursor: pointer;
}

.candle-post-popup {
    position: fixed;
    z-index: 99999999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.candle-post-popup .candle-post-popup-content {
    width: 50%;
    border: 15px solid #fff;
    background-size: cover;
    text-align: left;
    padding: 30px;
    max-height: 80%;
    overflow-y: auto;
    position: relative;
}

.candle-post-popup .candle-post-popup-content .close-candle-popup {
    cursor: pointer;
    position: absolute;
    right: 4px;
    top: 4px;
    color: #fff;
    background: #000;
    padding: 3px 9px;
    border-radius: 60px;
    border: 2px solid #fff;
    font-weight: bold;
}

.candle-post-popup .candle-post-popup-content .close-candle-popup.candle-button {
    position: static;
    right: 0;
    top: 0;
    color: #fff !important;
    background: #666 !important;
    border: 2px solid #666;
    padding: 12px 15px !important;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    border-radius: 10px;
    text-decoration: none !important;
    width: auto;
}

.candle-post-popup .candle-post-popup-content h2 {
    color: #fff;
}

.candle-popup-details {
    display: flex;
    flex-flow: wrap row;
}

.candle-popup-details .candle-content {
    width: calc(100% - 250px);
    font-size: 24px;
    color: #fff;
    padding-top: 1em;
}

.candle-popup-details .candle-content p {
    margin: 0 0 1em 2em;
}

.candle-popup-details .candle-content p:empty {
    display: none;
}

.left-side-content p a.trigger-candle-form-actual,
.candle_post_submission input[type="submit"],
.candle-button {
    color: #000 !important;
    background: #FEFCF9 !important;
    border: 2px solid #126699 !important;
    padding: 12px 15px !important;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    border-radius: 10px;
    text-decoration: none !important;
    width: auto;
}

#submit-candle-form {
    width: 1px;
    height: 1px;
    padding: 0 !important;
    margin: 0;
    background: transparent !important;
    border: none !important;
}

.left-side-content p a.trigger-candle-form-actual:hover,
.candle_post_submission input[type="submit"]:hover,
.candle-button:hover {
    background: #126699 !important;
    border-color: #fff !important;
    color: #fff !important;
}

.trigger-candle-form-actual {
    cursor: pointer;
}

form.candle_post_submission > * {
    display: block;
}

form.candle_post_submission .req {
    color: red;
    margin-left: 4px;
}

form.candle_post_submission label {
    font-size: 18px;
}

form.candle_post_submission input,
form.candle_post_submission select,
form.candle_post_submission textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 30px;
    font-size: 18px;
    color: #000;
    border: 2px solid #FFFFFF;
    border-radius: 4px;
    box-shadow: inset 0 0 3px 0 rgb(0 0 0 / 20%), 0 0 2px 0 rgb(0 0 0 / 30%);
}

form.candle_post_submission .candle_form_columns {
    display: flex;
}

form.candle_post_submission .candle_form_columns .candle_form_column {
    width: 50%;
}

form.candle_post_submission .candle_form_columns .candle_form_column:nth-child(1) {
    padding-right: 30px;
}

.candle-post-title a {
    color: #fff;
    font-size: 18px;
}

.chapel-image-link:hover {
    opacity: 0.8;
}

.sub_form_box {
    padding: 30px;
    border: 1px solid grey;
    margin-bottom: 30px;
}

h3.sub_form_header {
    font-size: 24px;
    color: #fff;
    position: relative;
    top: 21px;
    left: 17px;
    width: auto;
    background: #070F34;
    display: inline-block;
    padding: 0 10px;
}

.one-country {
    color: #fff;
    font-size: 24px;
}

.candle-pagination {
    margin: 30px auto 0;
    max-width: 90%;
    text-align: center;
}

.candle-pagination a {
    color: #fff;
}

.candle-pagination a:hover {
    color: #999;
}

.candle-pagination .prev {
    float: left;
}

.candle-pagination .next {
    float: right;
}

.candle-pagination .page-numbers {
    padding: 0;
    border-radius: 100px;
    display: inline-block;
    width: 32px;
    text-align: center;
    margin: 0 2px;
}

.candle-pagination .page-numbers.next,
.candle-pagination .page-numbers.prev {
    padding: 0 20px;
    border-radius: 60px;
    width: auto;
    font-size: 14px;
}

.candle-pagination .page-numbers:hover {
    color: #fff;
    opacity: 0.8;
}

.message-container {
    padding: 20px;
    margin-bottom: 30px;
    color: #000;
    background: #FEFCF9;
    border: 2px solid #fff;
    font-size: 18px;
    border-radius: 4px;
}

.message-container:empty {
    display: none;
}

.candle-social-buttons i::before {
    font-size: 1.5em;
    left: 100% !important;
    top: 28%;
}

/* Responsive */

@media only screen and (max-width: 1200px) {
    .left-side-content .candle-post-loop .candle-post-single {
        width: 50%;
    }

    .candle-popup-details .candle-post-image {
        max-width: 250px;
    }
}

@media only screen and (max-width: 1080px) {
    .candle-popup-details .candle-post-image,
    .candle-popup-details .candle-content {
        width: 100%;
    }
}

@media only screen and (max-width: 860px) {
    .left-side-content .candle-post-loop .candle-post-single {
        width: 100%;
    }

    form.candle_post_submission .candle_form_columns {
        display: block;
    }

    form.candle_post_submission .candle_form_columns .candle_form_column {
        width: 100%;
        padding-right: 0 !important;
    }
}

@media only screen and (max-width: 768px) {
    .candle-hide-mobile {
        display: none !important;
    }

    #primary .right-side-image {
        display: none;
    }

    #primary .left-side-content {
        width: 100%;
    }

    .left-side-content .candle-post-loop .candle-post-single {
        width: 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }

    .candle-post-popup .candle-post-popup-content {
        width: 90%;
    }

    .candle-popup-details .candle-post-image,
    .candle-popup-details .candle-content {
        width: 100%;
    }

    .candle-popup-details .candle-content p {
        margin-left: 0;
    }

    .candle-popup-details .candle-content ul {
        margin-left: 1em;
    }
}

/* Loading */

.candle-loading {
    /*opacity: 0.8;*/
    cursor: progress !important;
}

a.candle-button.finalize-candle-post {
    margin-right: 16px;
}

.candle-flame.preview {
    display: none;
}

/* Candle Search Form */
.candle_search_form {
    display: flex;
}

.candle_search_text {
    width: 75%;
}

.candle_search_results_list {
    margin: 30px 15px;
    min-height: 50vh;
}

.candle_search_results_list li {
    margin-bottom: 8px;
    font-size: 18px;
}

.candle_search_results_list li a {
    color: #fff;
}

.h-captcha {
    margin-bottom: 16px;
}

p.form-max-notice {
    text-align: right;
    margin-top: -28px;
    line-height: 34px;
}

.candle-map {
    width: 100%;
    height: 80vh;
    padding: 0;
    margin: 0 0 12px;
}

.page-template-candle-map .ast-container {
    max-width: none !important;
    padding: 0 !important;
    display: block !important;
}

.candle-map #map {
    width: 100%;
    height: 100%;
}

.map-marker {
    max-width: 50px;
}

.candle-map-details {
    background: #081438;
    color: #fff;
    border-radius: 5px;
    padding: 16px;
    max-width: 250px;
}

.candle-map-details h3 {
    font-size: 24px !important;
    line-height: 1.2em;
    color: #fff;
    margin: 12px 0 8px;
}

.candle-map-details p {
    font-weight: 400;
    margin-bottom: 0;
}

.candle-map-details .candle-map-details-image {
    max-width: 50%;
}

.candle-map-details .candle-map-details-image img {
    max-width: 100%;
}

.single-city.hide {
    display: none;
}

.toggle-city,
.toggle-country {
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
}

.one-country ul {
    display: none;
}

.one-country.show-city ul {
    display: block;
}
