.loading--image {
    position: absolute;
    background-image: url(../../img/30.gif) !important;
    width: 150px;
}

.decor-side .childrens-radio + .childrens-radio{
    padding-top: 8px;
    margin-top: 10px;
    border-top: 1px solid #dbdade;
}

.constr-scroll {
    overflow-y: auto;
    overflow-x: hidden;
}

.constr {
    max-width: 710px;
    width: 100%;
    margin: 0 auto;
    margin-top: 30px;
}

.constr img {
    display: block;
    margin: 0;
    max-width: 100%;
}

.constructor__title {
    margin-bottom: 20px;
    padding: 22px 52px 18px 30px;
}

.constructor__list {
    display: flex;
    flex-direction: column;
}

.constructor__item {
    margin-bottom: 12px;
}

.constructor__item:last-of-type {
    margin-bottom: 0;
    border-bottom: 0;
}

.constr-item__upload-image input[type="file"] {
    display: none;
}

.constr-item__title {
    padding: 11px 35px 11px 20px;
    background: #ebebeb;
    border-radius: 8px;
    display: flex;
    align-items: center;

    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.025em;
    font-weight: normal;
    position: relative;

    cursor: pointer;
}
.constr-item__title .title{
    font-size: 20px;
    line-height: 28px;
}

.constr-item__title::after {
    content: "";
    display: block;
    width: 18px;
    height: 10px;
    background-size: contain;
    position: absolute;
    right: 27px;
    top: 50%;
    transition: all 0.3s;
    background-image: url(../../img/icon/constr-arrow.svg);
    transform: translateY(-50%) rotate(180deg);
}

.constr-item__title .icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.constr-item__body {
    margin-top: -8px;
    display: none;
    align-items: flex-start;
    padding: 30px 34px;
    max-height: 575px;

    border: 1px solid #dbdade;
    border-radius: 0 0 8px 8px;
    border-top: 0;
}

.constr-item__body[style*="display: block"] {
    display: flex !important;
}

.constr-item__left {
    margin-right: 35px;
    flex: 1;
    flex: 1 0 calc(100% - 460px);
    max-width: calc(100% - 460px);
}

.constr-item__left.epitaph,
.constr-item__left.nameYears {
    max-height: 340px;
}

.constr-item__left.decor {
    flex: 1 0 calc(100% - 403px);
    max-width: calc(100% - 403px);
}

.constr-item__right.decor .divider {
    margin-top: 30px;
    margin-bottom: 15px;
}

.constr-item__image img {
    display: block;
    max-width: 100%;
}

.constr-item__info {
    margin-bottom: 24px;
}

.constr-item__info .title{
    font-size: 20px;
}
.constr-item__info .title span{
    font-size: 25px;
}

.constr-item__left .btn {
    width: 100%;
}

.constr-item__right .select--visible {
    margin-top: 0;
}

.constr-item__right {
    max-width: 420px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.constr-item__text-list textarea {
    height: 120px;
    width: 100%;
    resize: none;
}

.constr-item__radio-list {
    display: flex;
    flex-direction: column;
}

.constr-item__radio-list .custom-radio,
.constr-item__radio-list .custom-checkbox {
    margin-bottom: 10px;
}

.custom-radio input:disabled + span {
    opacity: 0.7;
}

.constr-item__radio-list .custom-checkbox span,
.constr-item__radio-list .custom-radio span {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.constr-item__toggle {
    width: 199px;
    margin-top: 20px;
}

.repeater-names {
    display: none;
}

.repeater-names .inputs-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.repeater-names .inputs-row label {
    max-width: 100%;
    width: 100%;
    margin-right: 20px;
}

.repeater-names .inputs-row input {
    display: block;
    width: 100%;
    padding: 8px 10px;
}

.repeater-names .inputs-row label.input-years {
    max-width: calc(100% - 75px);
}

.repeater-names__toggle {
    height: 36px;
    width: 36px;
    padding: 0;
    margin-top: auto;
}

.fonts__title {
    font-weight: bold;
    font-size: 16px;

    margin-bottom: 5px;
}

.fonts__list {
    display: flex;
    flex-direction: column;

    font-size: 16px;
    margin-left: 10px;
}

.fonts__item {
    cursor: pointer;
}

.fonts__item input {
    display: none;
}

.fonts__item input:checked + span {
    color: #fc5130;
}

.fonts__item span {
    display: block;
    line-height: 32px;
    padding-left: 10px;
}

.crazy-modal {
    max-width: 500px;
    width: 100%;
    background-color: #ffffff;
    min-height: 300px;
    margin: 0 auto;
    position: fixed;
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, calc(-50% + 50px));
    transition: 0.3s opacity, 0.5s transform;
    z-index: 1;
    visibility: hidden;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 31px 30px 32px;
}
.crazy-modal--closed {
    z-index: -1;
    visibility: hidden;
}
.crazy-modal__body {
    max-height: inherit;
}
.crazy-modal.js-active {
    opacity: 1;
    transform: translate(-50%, -50%);
    visibility: visible;
}
.crazy-modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}
.crazy-modal__overlay.js-active {
    opacity: 1;
    visibility: visible;
}
.crazy-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.crazy-modal__close::after,
.crazy-modal__close::before {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background-color: black;
    position: absolute;
}
.crazy-modal__close::after {
    transform: rotate(-45deg);
}
.crazy-modal__close::before {
    transform: rotate(45deg);
}
body.js-crazy-modal-active {
    overflow-y: hidden;
    height: 100vh;
    padding-right: 15px;
    width: 100%;
}

.crazy-modal img {
    max-width: 100%;
    display: block;
}

#crop-image {
    max-width: 650px;
    width: 100%;

    /* max-height: 80vh; */
    margin: 20px 0;
    /* height: 100%; */
    overflow: hidden;
}

#crop-image .crop-image {
    margin: 30px 0;
    /* max-height: 100%; */
}

#crop-image .crop-image img {
    max-width: unset;
    display: inline-block;
}

#crop-image .crop-image__clip {
    margin: 0 auto;
}

.cropper-dashed {
    opacity: 0;
}

.product_single-bottom .left_canvas .cards .body .photo {
    margin: 0 auto;
    width: fit-content;
    background-color: #000000;
}

.imagePreview {
    margin-top: 10px;
}
.imagePreview img {
    max-width: 100%;
    width: 100%;
    display: block;
    filter: grayscale(1);
}

.scroll-decor {
    max-height: 350px;
}

.decors__list {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.decors__title {
    font-weight: bold;
    font-size: 16px;
}

.decors__item {
    width: 68px;
    height: 65px;
    margin: 0px 5.5px 8px;
}

.decors__item input {
    display: none;
}

.decors__image {
    display: block;
    max-width: 100%;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    border: 2px solid transparent;
}

.decors__item input:checked + .decors__image {
    border: 2px solid #fc5130;
}

.decors__image img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product_single-bottom .left_canvas .cards .body {
    padding: 48px 0 42px;
}

body.disable-scroll {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding-right: 15px;
}

.product_single-top .left {
    overflow: hidden;
}

.product--item .photo img {
    object-fit: cover;
}

.product_single-top .left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dropdown {
}

.dropdown__name {
    margin-bottom: 12px;
    cursor: pointer;
}

.dropdown .dropdown__name span {
    display: inline-block;
    position: relative;
    padding-left: 26px;
    line-height: 19px;
}

.dropdown .dropdown__name span::after {
    position: absolute;
    content: "";
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 1;
    left: 0;
    background: #ffffff;
    border: 1px solid #dbdade;
    border-radius: 3px;
    width: 16px;
    height: 16px;
}

.dropdown .dropdown__name span::before {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    z-index: 2;
    top: 5px;
    left: 3px;
    background-image: url(../../img/icon/check.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 1;
}

.dropdown.active .dropdown__name span::after {
    background: #274341;
    border-color: #274341;
}

.dropdown__list {
    display: none;
}

.constr-item__right.memorial {
    max-width: 100%;
}

.memorial-categories {
    display: flex;
    flex-wrap: wrap;

    margin-bottom: 40px;
}

.memorial-categories__item {
    max-width: 185px;
    width: 100%;
}
.memorial-categories__item input {
    display: none;
}

.memorial-categories__image {
    margin-bottom: 10px;
}

.memorial-categories__name {
    color: #274341;
    font-size: 16px;
}

.memorial-categories__item label {
    display: block;
    padding: 15px 24px 8px;
    border: 1px solid transparent;
}
.memorial-categories__item input:checked + label {
    border-color: #274341;
}

.memorial-categories-relationship__item {
    display: none;
}

.memorial-categories-relationship__item.is-visible {
    display: block;
}

.memorial-post {
    margin-bottom: 7px;
}

.memorial-post > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.docor-imgs {
    max-height: 520px;
    overflow: hidden;
    overflow-y: auto;
}

img {
    display: block;
    max-width: 100%;
}

.decor-categories {
    overflow: hidden;
    overflow-y: auto;

    max-height: 320px;
}

.decor-custom-radio label,
.decor-custom-checkbox label {
    cursor: pointer;
    padding-left: 26px;
    position: relative;
}

.decor-side__name {
    margin-bottom: 5px;
}

.decor-custom-radio input[type="radio"],
.decor-custom-checkbox input[type="checkbox"] {
    display: none;
}

.decor-side__list {
    display: none;
}

.decor-side__item .decor-side__name {
    display: none;
}

.decor-side__item.is-visible .decor-side__name {
    display: block;
}

.decor-side__item.is-opened > .decor-side__list {
    display: block;
}

.decor-custom-radio input[type="radio"] + label::before {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    background: transparent;
    z-index: 2;
    top: 7px;
    left: 3px;
    border-radius: 100%;
    opacity: 1;
}
.decor-custom-radio input[type="radio"] + label::after {
    position: absolute;
    content: "";
    top: 4.4px;
    z-index: 1;
    left: 0;
    background: #f6f6f6;
    border: 1px solid #dbdade;
    border-radius: 100%;
    width: 16px;
    height: 16px;
}

.decor-custom-radio input[type="radio"]:checked + label::before {
    background: #274341;
}

.decor-custom-checkbox input[type="checkbox"] + label::before {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    z-index: 2;
    top: 50%;
    margin-top:-5px;
    left: 3px;
    background-image: url(../../img/icon/check.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 1;
}
.decor-custom-checkbox input[type="checkbox"] + label::after {
    position: absolute;
    content: "";
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 1;
    left: 0;
    background: #ffffff;
    border: 1px solid #dbdade;
    border-radius: 3px;
    width: 16px;
    height: 16px;
}

.decor-custom-checkbox input[type="checkbox"]:checked + label::after {
    background: #274341;
    border-color: #274341;
}

.decor-custom-checkbox .span-has-price,
.decor-custom-radio .span-has-price,
.decor-custom-radio label,
.decor-custom-checkbox label {
    display: flex;
    width: 100%;
}

.span-has-price {
    justify-content: space-between;
}

.decor-categories__filter {
    border-bottom: rgba(0, 0, 0, 0.4);
    margin-bottom: 15px;
}
.decor-categories .decor-hint{
    display: block;
    font-size: 12px;
    margin-bottom: 6px;
}

.decor-img {
    display: none;
    margin-bottom: 10px;
}

.decor-img__list {
    display: flex;
    flex-wrap: wrap;
    margin: -4px -5px;
}

.decor-img__item {
    flex: 0 0 65px;
    width: 65px;
    height: 65px;
    width: 100%;
    border-radius: 3px;

    overflow: hidden;

    margin: 4px 5px;
}

.decor-img__item input {
    display: none;
}

.decor-img__item input + label {
    content: "";
    position: relative;
    display: block;
    border: 2px solid transparent;
    border-radius: 3px;

    width: 100%;
    height: 100%;
}

.decor-img__item input:checked + label {
    border-color: #fc5130;
}

.decor-img__item img {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.decor-img__title {
    font-weight: bold;
    font-size: 16px;
    color: #274341;

    margin-bottom: 10px;
}

.decor-categories .decor-categories__body {
    display: none;
}

@media ( max-width: 768px ) {
    .constr-item__body {
        flex-direction: column;
    }
    .constr-item__info .title span{
        font-size: 20px;
    }
    .constr-item__left {
        flex: unset;
        max-width: unset;
        width: fit-content;
        margin: 0 auto 20px;
    }

    .constr-item__right {
        max-width: 100%;
        width: 100%;
    }

    .constr-item__body {
        max-height: unset;
    }

    .constr-item__left.epitaph,
    .constr-item__left.nameYears {
        flex: unset;
        max-width: 100%;
        width: 100%;
        overflow: hidden;
        overflow-x: auto;
    }
    
    .fonts__list {
        display: block;
        columns: 3;
    }

    .memorial-categories__item {
        max-width: 145px;
    }

    .memorial-categories__name {
        font-size: 14px;
    }

    .memorial-categories__item label {
        padding: 10px;
    }

    .constr-item__left.decor {
        max-width: 100%;
        flex: unset;
        width: 100%;
    }

    .decor-img__item {
        flex: 0 0 68px;
        width: 68px;
        height: 68px;
    }
}

@media ( max-width: 576px ) {
    .constr-item__title {
        padding: 15px;
        padding-right: 50px;
    }

    .constr-item__body {
        padding: 30px 15px;
    }

    .constr-item__title .icon {
        flex: 0 0 30px;
    }

    .memorial-categories__item {
        margin: 0 auto;
    }

    .constr-item__title {
        align-items: flex-start;
    }

    .fonts__list {
        columns: 2;
    }

    .product_single-bottom .left_canvas .cards .body {
        padding: 40px 0 20px;
    }
}

@media ( max-width: 375px ) {
    .fonts__list {
        column-count: 1;
    }

    .decor-img__item {
        flex: 0 0 79px;
        width: 79px;
        height: 79px;
    }
}

.crazy-modal__overlay.js-active {
    z-index: 99999;
}
.crazy-modal.js-active {
    z-index: 99999;
}

@media ( max-width: 576px ) {
    .crazy-modal {
        padding: 15px;
    }

    .crazy-modal__close {
        width: 15px;
        height: 15px;
    }

    #crop-image .crop-image {
        max-height: 300px;
    }
}
