.gift-page {
    margin-top: 0px;
}
.gift-page .bg-tabs {
    bottom: 0;
}

/* Nudge tabs down slightly to cover the green strip below the tab row */
.gift-page .nav-customer {
    position: relative;
    top: 1px;
    z-index: 1;
}

.tab-items .gift-image-top {
    width: 100%;
    overflow: hidden;
    padding: 0 0 0 0;
}
.tab-items .gift-empty {
    display: flex;
    min-height: 300px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.tab-items .gift-empty .text {
    color: var(--text-color-green);
    font-size: var(--fsize-15);
    font-family: var(--font-family);
    font-weight: 600;
    line-height: var(--line-height-16);
    word-wrap: break-word;
    margin-bottom: 40px;
}

.box-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--bg-item-color);
    border-radius: 10px;
    min-height: 120px;
    position: relative;
    padding: 25px 15px;
    margin: 15px;
}
.box-item:before,
.box-item:after {
    width: 100%;
    height: 0px;
    display: block;
    position: absolute;
    left: 0px;
    right: 0px;
    content: " ";
}
.box-item:before {
    top: 12px;
}
.box-item:after {
    bottom: 12px;
}

.gifted-box-item:before,
.gifted-box-item:after{
    border-top: 1px var(--gift-color-blue) dashed;
}

.received-box-item:before,
.received-box-item:after{
    border-top: 1px var(--gift-color-red) dashed;
}

.candidate-box-item:before,
.candidate-box-item:after{
    border-top: 1px var(--gift-color-gray) dashed;
}

.box-icon {
    width: 22px;
    height: 22px;
    justify-content: flex-start;
}
.box-image {
    width: 56px;
    height: 56px;
    margin-left: 10px;
}
.box-right {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    margin-left: 10px;
    gap: 5px;
}
.box-line {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
}
.box-line > * {
    display: flex;
    width: auto;
    justify-content: flex-start;
}

.box-price {
    color: #444444;
    font-size: var(--fsize-11);
}

.box-event {
    align-items: center;
    gap: 5px;
}
.box-event .event {
    height: 18px;
    background: #EEEEEE;
    border-radius: 4px;
    justify-content: center;
    align-items: center;
    display: inline-flex;
}
.box-event .event > .name {
    padding: 5px;
    color: var(--text-color);
    font-size: var(--fsize-11);
    font-family: var(--font-family-n);
    font-weight: 600;
    line-height: 12px;
    word-wrap: break-word;
}
.box-event .birthday {
    color: #9E9E9E;
    font-size: var(--fsize-11);
    font-family: var(--font-family);
    font-weight: 600;
    line-height: 13px;
    word-wrap: break-word;
}
.box-bouquet {
    color: var(--text-color);
    font-size: var(--fsize-15);
    font-family: var(--font-family);
    font-weight: 600;
    line-height: var(--line-height-18);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    width: 100%;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.box-direct {
    color: #82B697;
    font-size: var(--fsize-11);
    font-family: var(--font-family);

    line-height: var(--line-height-16);
    word-wrap: break-word;
}
.box-direct .direct {
    font-weight: 300;
    margin-right: 5px;
}
.box-direct .direct-text {
    font-weight: 600;
}
.btn.btn-green-border-radius-white {
    width: 90%;
    padding: 0px;
}
.btn.btn-green-border-radius-white > .btn-text {
    display: block;
    margin-left: 5px;
    margin-right: 5px;
}

.btn-event-name {
    background-color: #eee;
    color: #525252;
    font-weight: 600;
    text-align: left;
}
.btn-event-name:hover {
    background-color: #ddd;
    color: #333;
}
.nav-item .nav-link {
    cursor: pointer;
}

/* Modal */
.list-group-item {
    border-bottom: 1px dashed var(--border-color) !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}
.list-group-item:empty {
    border-bottom: none !important;
}
.dialog-choice-events .event-right-text {
    white-space: nowrap;
    width: auto;
    display: inline-block;
    flex-shrink: 0;
    margin-left: auto;
}
.list-group-item .sticky-switch {
    flex-shrink: 0;
}

.dialog-choice-events .modal-body {
    padding-left: 0;
    padding-right: 0;
}

.dialog-choice-events .list-group-item.custom-ls-group-item.has-bg {
    background-color: #F8FBF9;
}

