.modal__deceased-condolence *,
.modal__shared-comments *,
.ui-dialog.popup-message-edit-send-flowers * {
    font-family: 'neosanspro', sans-serif;
}

.modal__deceased-condolence  {
    padding: 0 !important;
}

.modal__deceased-condolence .modal-dialog,
.modal__shared-comments .modal-dialog {
    width: 80%;
    max-width: max-content;
}

.modal__deceased-condolence .modal-header {
    justify-content: flex-end;
    border: 0;
    padding: 0 16px;
}

.modal__deceased-condolence .modal-header .close {
    margin-top: 7px;
    font-size: 40px;
    color: var(--color-secondary-08);
    opacity: 1;
    text-shadow: none;
}

.modal__deceased-condolence .title__section h2,
.modal__deceased-condolence .title__section h3,
.modal__deceased-condolence .title__section .title__section-heading {
    display: flex;
    font-size: 24px;
    font-weight: 400;
    margin-top: 16px;
    font-style: normal;
    color: #555;
    line-height: 50px;
}

.modal__deceased-condolence .title__section h2 span,
.modal__deceased-condolence .title__section h3 span,
.modal__deceased-condolence .title__section .title__section-heading span {
    padding-right: 6px;
    font-weight: 500;
    font-style: normal;
}

.modal__deceased-condolence .title__section p {
    margin: 0;
    font-size: 16px;
    font-weight: 300;
}

.modal__deceased-condolence .checkbox__custom {
    width: 99%;
    margin: 1%;
    margin-top: 0;
    margin-bottom: 0;
}

.modal__deceased-condolence .checkbox__custom .form-check-input {
    margin-top: 6px;
    flex: none;
}

.modal__deceased-condolence .checkbox__custom label {
    font-size: 16px;
    font-weight: 300;
    line-height: 26px;
}

.modal__deceased-condolence div#edit-datos-personales--description p {
    font-size: 12px;
    line-height: 18px;
}

.modal__deceased-condolence .form-item-difunto {
    display: none;
}

.modal__deceased-condolence .form-item-centro {
    display: none;
}

.modal__deceased-condolence .link__view-more {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 10px 0;
    padding: 0 30px;
}

.modal__deceased-condolence .link__view-more .webform-element-more--link {
    padding-bottom: 10px;
}

.modal__deceased-condolence #webform-element-more--content p {
    font-size: 12px;
    line-height: 18px;
}

.modal__deceased-condolence #webform-element-more--content p a {
    cursor: pointer;
    text-decoration: none;
}

.modal__deceased-condolence .container__buttons-modal {
    display: flex;
    justify-content: end;
    gap: 16px;
}

.modal__deceased-condolence .container__buttons-modal .button__cancel,
.modal__deceased-condolence .container__buttons-modal .button__submit {
    width: fit-content;
}

.modal__deceased-condolence .container__buttons-modal .button__cancel {
    width: fit-content;
    border: 1px solid var(--color-primary-07);
    border-radius: 100px;
    display: flex;
    align-items: center;
}

.modal__deceased-condolence .container__buttons-modal .button__cancel .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
}

.modal__deceased-condolence .container__buttons-modal .button__cancel .btn.btn-secondary {
    background: transparent;
    color: var(--color-primary-07);
    border: none;
    box-shadow: none;
    font-size: 16px;
    font-weight: 500;
    padding: 0;
    font-family: 'neosanspro', sans-serif;
    padding: 8px 40px;
}

.modal__deceased-condolence .container__buttons-modal .button__submit {
    background-color: var(--color-primary-07) !important;
    color: var(--color-white);
    border-radius: 100px;
    width: fit-content;
    border: 1px solid var(--color-primary-07);
    display: flex;
}

.modal__deceased-condolence .container__buttons-modal .button__submit .btn-primary {
    background: transparent !important;
    border: none !important;
    padding: 0;
    display: flex;
    padding: 8px 40px;
    font-size: 16px;
    font-weight: 500;
}

.modal__deceased-condolence #edit-nota-de-pesame-con-rosas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 16px;
    padding-top: 16px;
}

.modal__deceased-condolence .webform-options-display-buttons .webform-options-display-buttons-wrapper {
    margin: 0;
    border: 0;
}

.modal__deceased-condolence .webform-entity-radios--wrapper.fieldgroup .form-item-nota-de-pesame-con-rosas {
    padding: 0;
    margin: 0;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-white);
    cursor: pointer;
    height: 100%;
}

.modal__deceased-condolence .webform-entity-radios--wrapper.fieldgroup .form-item-nota-de-pesame-con-rosas.active {
    box-shadow: 0px 0px 15px 0px rgb(0 105 167 / 10%);
    border: 1px solid var(--color-primary-07);
}

.modal__deceased-condolence .webform-entity-radios--wrapper.fieldgroup .form-item-nota-de-pesame-con-rosas label {
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 4fr;
    grid-template-rows: auto 1fr auto auto;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    height: 100%;
    cursor: pointer;
    margin: 0;
    border: 0;
}

.modal__deceased-condolence .webform-entity-radios--wrapper.fieldgroup .form-item-nota-de-pesame-con-rosas .form-check-input[disabled]~.form-check-label {
    opacity: .5;
    cursor: not-allowed;
}

.modal__deceased-condolence .webform-entity-radios--wrapper.fieldgroup .form-item-nota-de-pesame-con-rosas label .views-field-field-portada {
    grid-area: 1 / 1 / 2 / 2;
}

.modal__deceased-condolence .webform-entity-radios--wrapper.fieldgroup .form-item-nota-de-pesame-con-rosas label .views-field-field-portada img {
    width: 100%;
    height: auto;
}

.modal__deceased-condolence .webform-entity-radios--wrapper.fieldgroup .form-item-nota-de-pesame-con-rosas label .views-field-title {
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    color: var(--color-secondary-08);
    display: flex;
    align-items: center;
    grid-area: 1 / 2 / 2 / 3;
}

.modal__deceased-condolence .webform-entity-radios--wrapper.fieldgroup .form-item-nota-de-pesame-con-rosas label .views-field-field-descripcion {
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding-top: 10px;
    padding-bottom: 20px;
    width: 100%;
    grid-area: 2 / 1 / 3 / 3;
}

.modal__deceased-condolence .webform-entity-radios--wrapper.fieldgroup .form-item-nota-de-pesame-con-rosas label .views-field-field-descripcion span {
    display: block;
}

.modal__deceased-condolence .webform-entity-radios--wrapper.fieldgroup .form-item-nota-de-pesame-con-rosas label span.views-field.views-field-price__number {
    width: 100%;
    text-align: justify;
    font-size: 20px;
    color: var(--color-primary-07);
    font-weight: 500;
    grid-area: 3 / 1 / 4 / 3;
}

.modal__deceased-condolence .webform-entity-radios--wrapper.fieldgroup .form-item-nota-de-pesame-con-rosas label .views-field-nothing {
    width: 100%;
    margin-top: 16px;
    grid-area: 4 / 1 / 5 / 3;
}

.modal__deceased-condolence .webform-entity-radios--wrapper.fieldgroup .form-item-nota-de-pesame-con-rosas label .views-field-nothing span {
    width: 100%;
    display: block;
    text-align: center;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    color: var(--color-primary-07);
    background-color: var(--color-white);
    border: 1px solid var(--color-primary-07);
    border-radius: 100px;
}

.modal__deceased-condolence .webform-entity-radios--wrapper.fieldgroup .form-item-nota-de-pesame-con-rosas.active label .views-field-nothing span {
    background-color: var(--color-primary-07);
    color: var(--color-white);
}

.modal__deceased-condolence .js-webform-image-file.webform-image-file.js-form-managed-file {
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
}

.modal__deceased-condolence .js-webform-image-file.webform-image-file.js-form-managed-file button {
    background-color: var(--color-primary-07) !important;
    color: var(--color-white);
    border-radius: 100px;
    width: fit-content;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 40px;
    border: 1px solid var(--color-primary-07);
}

.modal__deceased-condolence .form-check-input[type=radio] {
    display: none;
}


.modal__shared-comments .modal-header {
    border-bottom: 0;
}

.modal__shared-comments .modal-header .btn-close {
    font-size: 14px;
    color: var(--color-secondary-08);
    opacity: 1;
}

.modal__shared-comments .modal-body {
    padding-top: 0;
}

.modal__shared-comments .modal-body form#comment-form {
    padding-top: 0;
}

.modal__shared-comments h3.titulo-pasos-comentarios {
    text-align: left;
    color: var(--color-secondary-09);
    font-weight: 500;
}

.modal__shared-comments .subtitulo-pasos-comentarios {
    text-align: left;
    color: var(--color-secondary-09);
    font-size: 16px;
    font-weight: 300;
}

.modal__shared-comments #edit-subject-wrapper {
    text-align: left;
    color: var(--color-secondary-09);
    font-size: 16px;
    font-weight: 300;
}

.modal__shared-comments #edit-field-body-wrapper .js-form-type-textarea label,
.modal__shared-comments #edit-field-nombre-autor-wrapper .js-form-type-textfield label,
.modal__shared-comments #edit-field-email-autor-wrapper .js-form-type-email label {
    display: none;
}

.modal__shared-comments #edit-field-imagen-comentario-wrapper #edit-field-imagen-comentario summary {
    text-align: left;
    color: var(--color-primary-07);
}

.modal__shared-comments #edit-field-imagen-comentario-wrapper #edit-field-imagen-comentario summary::marker {
    color: var(--color-secondary-06);
}

.modal__shared-comments #edit-field-imagen-comentario-wrapper #edit-field-imagen-comentario .details-wrapper .image-widget-data {
    width: 100%;
}

.modal__shared-comments #edit-field-email-autor-wrapper {
    padding-bottom: 48px !important;
}

.modal__shared-comments .form-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 0 24px 0 40px;
}

.modal__shared-comments .form-actions .comments-epr {
    text-align: justify;
    width: 100%;
    padding-bottom: 40px;
}

.modal__shared-comments .form-actions .comments-epr .commments-epr__link {
    color: var(--color-primary-07);
    border-bottom: 0;
}

.modal__shared-comments .form-actions .comments-epr .commments-epr__link::before {
    content: "► ";
    font-size: 0.8em;
    cursor: pointer;
    color: var(--color-secondary-06);
}

.modal__shared-comments .form-actions .btn.btn-secondary {
    border: 1px solid var(--color-primary-07);
    border-radius: 100px;
    background: transparent;
    color: var(--color-primary-07);
    box-shadow: none;
    font-size: 16px;
    font-weight: 500;
    font-family: 'neosanspro', sans-serif;
    padding: 8px 40px;
    align-self: flex-end;
    margin-right: 16px;
}

.modal__shared-comments .form-actions .btn.btn-primary {
    border: 1px solid var(--color-primary-07);
    border-radius: 100px;
    background-color: var(--color-primary-07) !important;
    color: var(--color-white);
    font-size: 16px;
    font-weight: 500;
    font-family: 'neosanspro', sans-serif;
    padding: 8px 40px;
    align-self: flex-end;
}

/* START - MODAL EDIT MESSAGE SEND FLOWERS */
.ui-dialog.popup-message-edit-send-flowers {
    border-radius: 8px;
}

.ui-dialog.popup-message-edit-send-flowers .ui-dialog-titlebar {
    background: transparent;
    border: none;
    padding: 16px;
}

.ui-dialog.popup-message-edit-send-flowers .ui-dialog-title {
    position: absolute;
    top: 28px;
    left: 28px;
    text-align: justify;
    font-size: 22px;
}

.ui-dialog.popup-message-edit-send-flowers .ui-dialog-titlebar-close {
    top: 20px;
    border: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 18 18' fill='none' %3E%3Cpath d='M11.25 1.8075L10.1925 0.75L6 4.9425L1.8075 0.75L0.75 1.8075L4.9425 6L0.75 10.1925L1.8075 11.25L6 7.0575L10.1925 11.25L11.25 10.1925L7.0575 6L11.25 1.8075Z' style='fill:%2329323A' /%3E%3C/svg%3E") !important;
}

.ui-dialog.popup-message-edit-send-flowers .ui-dialog-content {
    padding-top: 40px;
}

.ui-dialog.popup-message-edit-send-flowers .ui-dialog-content .form-type-textarea.form-item-mensaje {
    margin-bottom: 30px !important;
}

.ui-dialog.popup-message-edit-send-flowers .ui-dialog-content .form-actions.webform-actions {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.ui-dialog.popup-message-edit-send-flowers .ui-dialog-content .form-actions.webform-actions .webform-button--submit.button--primary {
    background-color: var(--color-primary-07) !important;
    background-image: none;
    font-size: 16px;
    font-weight: 500;
    font-family: 'neosanspro', sans-serif;
    line-height: 20px;
    text-decoration: none;
    color: var(--color-white);
    border: 1px solid var(--color-primary-07);
    border-radius: 30px;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: .5rem;
    width: fit-content;
}

.ui-dialog.popup-message-edit-send-flowers .ui-dialog-content .form-actions.webform-actions .dialog-cancel.button {
    font-size: 16px;
    font-weight: 500;
    font-family: 'neosanspro', sans-serif;
    line-height: 20px;
    text-decoration: none;
    color: var(--color-primary-07);
    background-color: var(--color-white) !important;
    border: 1px solid var(--color-primary-07);
    border-radius: 30px;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: .5rem;
    width: fit-content;
    background-image: none;
}
/* END - MODAL EDIT MESSAGE SEND FLOWERS */


@media (max-width: 1200px) {
    .modal__deceased-condolence #edit-nota-de-pesame-con-rosas {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .modal__deceased-condolence #edit-nota-de-pesame-con-rosas {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .modal__deceased-condolence .modal-dialog {
        width: 98%;
        margin: 0 auto;
    }

    .modal__deceased-condolence .container__buttons-modal {
        flex-direction: column;
        align-items: center;
    }

    .modal__deceased-condolence .container__buttons-modal .button__cancel,
    .modal__deceased-condolence .container__buttons-modal .button__submit {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .modal__deceased-condolence #edit-nota-de-pesame-con-rosas {
        display: flex;
        flex-direction: column;
    }

    .modal__deceased-condolence .webform-entity-radios--wrapper.fieldgroup .form-item-nota-de-pesame-con-rosas label {
        flex-direction: column;
        align-items: center;
    }

    .modal__deceased-condolence .webform-entity-radios--wrapper.fieldgroup .form-item-nota-de-pesame-con-rosas label .views-field-field-portada {
        width: 100%;
        text-align: center;
    }

    .modal__deceased-condolence .webform-entity-radios--wrapper.fieldgroup .form-item-nota-de-pesame-con-rosas label .views-field-title {
        width: 90%;
        justify-content: center;
        padding-top: 8px;
    }

    .modal__deceased-condolence .webform-entity-radios--wrapper.fieldgroup .form-item-nota-de-pesame-con-rosas label .views-field-field-descripcion {
        text-align: center;
        max-width: 90%;
    }

    .modal__deceased-condolence .webform-entity-radios--wrapper.fieldgroup .form-item-nota-de-pesame-con-rosas label span.views-field.views-field-price__number {
        text-align: center;
        padding: 0;
    }

    .modal__shared-comments .form-actions {
        flex-direction: column;
        align-items: center;
    }

    .modal__shared-comments .form-actions .btn.btn-secondary {
        align-self: auto;
        margin-right: 0;
        margin-bottom: 16px;
    }

    .modal__shared-comments .form-actions .btn.btn-primary {
        align-self: auto;
    }
}