.tippy-box[data-theme='ds-balloon-theme'][data-theme='ds-balloon-theme'] {
    position: relative;
    background-color: transparent;
    border-radius: 0px;
    outline: 0;
    color: initial;
    font-size: initial;
    line-height: initial;
    transition-property: initial;
}

.tippy-box[data-theme='ds-balloon-theme'] .et_pb_section.ds_balloon-inner {
    padding: 0 !important;
    margin: 0 !important;
}

.tippy-box[data-theme='ds-balloon-theme'] .tippy-content {
    position: relative;
    padding: 0;
}

.tippy-box[data-theme='ds-balloon-theme'] .tippy-content .et_pb_section.ds_balloon-inner {
    background: transparent !important;
}

.ds-ballon-on-top {
    z-index: 9999 !important;
}

.ds-ballon-on-top-removing {
    z-index: 9990 !important;
}

.ds-ballon-on-top header .et_builder_inner_content {
    z-index: 10000;
}

.ds_balloon-inner {
    display: flex;
    justify-content: center;
}

.ds_balloon-inner>.ds_balloon {
    flex-shrink: 0;
}

.ds-balloon-wrap {
    background-color: #FFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-style: solid;
    padding: 20px;
    margin-left: auto;
    margin-right: auto;
}

.ds-alignment-left {
    align-items: flex-start;
    text-align: left;
}

.ds-alignment-center {
    align-items: center;
    text-align: center;
}

.ds-alignment-right {
    align-items: flex-end;
    text-align: right;
}

.ds-balloon-image-icon {
    line-height: 0;
}

.ds-balloon-image-icon:not(:last-child),
.ds-balloon-icon:not(:last-child),
.ds-balloon-description:not(:last-child),
.ds-balloon-cta-wrap:not(:last-child) {
    margin-bottom: 15px;
}

.ds-balloon-title {
    margin-bottom: 0;
}

.ds-balloon-title:last-child {
    padding-bottom: 0;
}

.ds-balloon-image {
    border-style: solid;
}

body.et-fb .tippy-arrow {
    left: 50% !important;
    transform: translate(0px, 0px) !important;
    position: absolute;
    width: 16px;
}

[data-tippy-root] {
    max-width: calc(100vw - 10px)
}


.tippy-box[data-theme='ds-balloon-theme'] .tippy-arrow {
    width: 16px;
    height: 16px;
}

.tippy-box[data-theme='ds-balloon-theme'] .tippy-arrow:before {
    content: "";
    position: absolute;
    border-color: transparent;
    border-style: solid
}

.tippy-box[data-theme='ds-balloon-theme'][data-placement^=top]>.tippy-arrow {
    bottom: 0
}

.tippy-box[data-theme='ds-balloon-theme'][data-placement^=top]>.tippy-arrow:before {
    bottom: -8px;
    left: 0;
    border-width: 8px 8px 0;
    border-top-color: initial;
    transform-origin: center top;
}

.tippy-box[data-theme='ds-balloon-theme'][data-placement^=bottom]>.tippy-arrow {
    top: 0;
}

.tippy-box[data-theme='ds-balloon-theme'] .tippy-box-bottom {
    width: 100%;
    height: 0px;
}

.tippy-box[data-theme='ds-balloon-theme'][data-placement^=bottom]>.tippy-arrow:before,
.tippy-box[data-theme='ds-balloon-theme'] .tippy-box-bottom.tippy-arrow:before {
    top: -8px;
    left: 0;
    border-width: 0 8px 8px;
    border-bottom-color: initial;
    transform-origin: center bottom;
}

.tippy-box[data-theme='ds-balloon-theme'] .tippy-box-bottom.tippy-arrow:before {
    margin-left: -8px;
}

.tippy-box[data-theme='ds-balloon-theme'][data-placement^=left]>.tippy-arrow {
    right: 1px;
}

.tippy-box[data-theme='ds-balloon-theme'][data-placement^=left]>.tippy-arrow:before {
    border-width: 8px 0 8px 8px;
    border-left-color: initial;
    right: -8px;
    transform-origin: center left;
}

.tippy-box[data-theme='ds-balloon-theme'][data-placement^=right]>.tippy-arrow {
    left: 1px;
}

.tippy-box[data-theme='ds-balloon-theme'][data-placement^=right]>.tippy-arrow:before {
    left: -8px;
    border-width: 8px 8px 8px 0;
    border-right-color: initial;
    transform-origin: center right;
}

/**
 * Animations
 */
.tippy-box[data-theme='ds-balloon-theme'][data-animation=fade][data-state=hidden] {
    opacity: 0
}

.tippy-box[data-theme='ds-balloon-theme'][data-animation=scale][data-placement^=top] {
    transform-origin: bottom
}

.tippy-box[data-theme='ds-balloon-theme'][data-animation=scale][data-placement^=bottom] {
    transform-origin: top
}

.tippy-box[data-theme='ds-balloon-theme'][data-animation=scale][data-placement^=left] {
    transform-origin: right
}

.tippy-box[data-theme='ds-balloon-theme'][data-animation=scale][data-placement^=right] {
    transform-origin: left
}

.tippy-box[data-theme='ds-balloon-theme'][data-animation=scale][data-state=hidden] {
    transform: scale(.5);
    opacity: 0
}

/**
 * Dummy Element
 */
.ds_balloon.et_pb_module {
    margin: 0 auto !important;
    height: auto;
}

.ds_balloon .et-waypoint:not(.et_pb_counters),
.ds-balloon .et-waypoint:not(.et_pb_counters) {
    opacity: 1 !important;
}

.ds_balloon .et_pb_section,
.ds-balloon .et_pb_section {
    width: 100%;
}

.ds-balloon-alert {
    background-color: #fff9f9;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #888;
    border: 1px solid #ffe6e6;
    margin-bottom: 15px;
}


#top-menu>li:last-of-type {
    padding-right: 0;
}

.tippy-box[data-theme='ds-balloon-theme'] .tippy-arrow {
    z-index: 99
}

.tippy-box[data-theme='ds-balloon-theme'][data-animation='ds-fadeInUp'][data-state='hidden'],
.tippy-box[data-theme='ds-balloon-theme'][data-animation='ds-fadeInDown'][data-state='hidden'],
.tippy-box[data-theme='ds-balloon-theme'][data-animation='ds-fadeInLeft'][data-state='hidden'],
.tippy-box[data-theme='ds-balloon-theme'][data-animation='ds-fadeInRight'][data-state='hidden'],
.tippy-box[data-theme='ds-balloon-theme'][data-animation='ds-scale'][data-state='hidden'] {
    opacity: 0;
}

.tippy-box[data-theme='ds-balloon-theme'][data-animation='ds-fadeInUp'][data-state='hidden'] {
    transform: translateY(10px);
}

.tippy-box[data-theme='ds-balloon-theme'][data-animation='ds-fadeInDown'][data-state='hidden'] {
    transform: translateY(-10px);
}

.tippy-box[data-theme='ds-balloon-theme'][data-animation='ds-fadeInRight'][data-state='hidden'] {
    transform: translateX(-10px);
}

.tippy-box[data-theme='ds-balloon-theme'][data-animation='ds-fadeInLeft'][data-state='hidden'] {
    transform: translateX(10px);
}

.tippy-box[data-theme='ds-balloon-theme'][data-animation='ds-scale'][data-state='hidden'] {
    transform: scale(.95);
}

.ds_balloon .ds_counter_number_wrapper,
.tippy-box[data-theme='ds-balloon-theme'] .ds-balloon-wrap .ds_counter_number_wrapper {
    display: block !important;
    opacity: 1 !important;
}

.et_pb_section .et_pb_row .et_pb_column .et_pb_module.ds-balloon-last-element {
    margin-bottom: 0;
}

.ds_balloon .et_animated {
    opacity: 1;
}

/* Phone: never let a balloon be wider than the viewport, whatever width the user set. */
@media (max-width: 767px) {
    .tippy-box[data-theme='ds-balloon-theme'][data-theme='ds-balloon-theme'] {
        max-width: calc(100vw - 20px) !important;
    }
}

.ds-layoutcomponent-notice {
    background-color: #fff9f9;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #888;
    border: 1px solid #ffe6e6;
    margin-bottom: 15px;
}
/*
 * Divi 5 Add Module modal: the Divi Sensei folder tile.
 *
 * Scoped to the folder button only (value="divi-sensei", exact match) so module
 * tiles (button[value^="ds/"]) keep their own icon colors. Colors come from
 * the picker's theme variables, matching the standard module tiles.
 */
.et-vb-module-picker-option[value="divi-sensei"] {
    background-color: var(--ds-vb-module-selection-background-color) !important;
    color: var(--ds-vb-module-selection-text-color) !important;
    font-size: 10px !important;
    padding: 10px 5px !important;
    border-color: transparent !important;
}

.et-vb-module-picker-option[value="divi-sensei"].et-vb-module-picker-option--selected {
    background-color: hsl(from var(--ds-vb-module-selection-background-color) h s l / 0.9) !important;
    border-color: var(--ds-vb-module-selection-border-color) !important;
}

.et-vb-module-picker-option[value="divi-sensei"] svg {
    fill: var(--ds-vb-module-selection-icon-color) !important;
    scale: 0.8;
    stroke: var(--ds-vb-module-selection-icon-color) !important;
    stroke-width: 0;
}

