/* region Callout */
.zf-callout {
    --bd-callout-link: 10, 88, 202;
    --bd-callout-code-color: #ab296a;

    --bs-link-color-rgb: var(--bd-callout-link);
    --bs-code-color: var(--bd-callout-code-color);
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--bd-callout-color, inherit);
    background-color: var(--bd-callout-bg, var(--bs-gray-100));
    border: 0;
    border-left: 0.25rem solid var(--bd-callout-border, var(--bs-gray-300));
}

.zf-callout-warning {
    --bd-callout-color: var(--bs-warning-text-emphasis);
    --bd-callout-bg: var(--bs-warning-bg-subtle);
    --bd-callout-border: var(--bs-warning-border-subtle);
}

.zf-callout-danger {
    --bd-callout-color: var(--bs-danger-text-emphasis);
    --bd-callout-bg: var(--bs-danger-bg-subtle);
    --bd-callout-border: var(--bs-danger-border-subtle);
}

.zf-callout-info {
    --bd-callout-color: var(--bs-info-text-emphasis);
    --bd-callout-bg: var(--bs-info-bg-subtle);
    --bd-callout-border: var(--bs-info-border-subtle);
}

.zf-callout h4 {
    margin-bottom: .25rem
}

.zf-callout > :last-child {
    margin-bottom: 0
}

.zf-callout + .zf-callout {
    margin-top: -.25rem
}

.zf-callout .highlight {
    background-color: rgba(0,0,0,0.05)
}


/* endregion */

.zf-hero-floating {
    margin-top: -97px;
    position: relative;
    z-index: 100;
}

/* region base lists */
ul.zf-ul {
    list-style: none;
}

ul.zf-ul li::before {
    content: "\25A0";
    color: var(--bs-primary);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}
/* endregion */

.zf-svg-accent {
    fill: var(--zf-svg-accent);
}

.zf-undraw svg {
    height: 100%;
    width: 100%;
}

.zf-encrypted {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

.zf-encrypted > span {
    /*font-size: 0.9rem;*/
    filter: blur(3px);
    /*color: var(--bs-secondary);*/
    cursor: not-allowed;
    pointer-events: none;
    text-align: center;
}

.zf-encrypted > i {
    position: absolute;
    font-size: 1.2rem;
    text-align: center;
    /*opacity: 0.45;*/
    z-index: 1;
    width: 100%;
    color: var(--bs-danger);
}

.zf-event-type {
    border: 3px solid #e0e6ed;
    height: 80px;
    width: 80px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all ease .2s;
    transition-delay: .3s;
}

.show .zf-event-type .zf-event-indicator {
    transform: scale(1);
    opacity: 1;
}

.show .zf-event-type .zf-event-indicator:has(i.fa) {
    transform: scale(0.85);
}

.zf-event-type.warning {
    color: var(--bs-white);
}

.zf-event-type.danger {
    color: var(--bs-white);
}

.zf-event-type.success {
    color: var(--bs-white);
}

.show .zf-event-type.warning {
    border-color: var(--bs-warning);
    background-color: var(--bs-warning);
}

.show .zf-event-type.success {
    border-color: var(--bs-success);
    background-color: var(--bs-success);
}

.show .zf-event-type.danger {
    border-color: var(--bs-danger);
    background-color: var(--bs-danger);
}

.show .zf-event-type {
    border-color: #e0e6ed;
    background-color: #e0e6ed;
}

.zf-event-type .zf-event-indicator {
    transition: all cubic-bezier(0,.89,.44,1) .2s;
    transform: scale(0);
    opacity: 0;
    transition-delay: .5s;
    font-size: 3rem;
}




.zf-bg-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    --overlay-opacity: 0.15;
}

.zf-bg-img > div {
    position: relative;
}

.zf-bg-img.zf-bg-img-overlay:before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, var(--overlay-opacity));
}

.zf-btn-emphasis {
    letter-spacing: 1px;
    font-size: 90%;
}

hr.dashed {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px dashed rgba(0, 0, 0, .6);
}

.zf-tooltip-danger {
    --bs-tooltip-bg: var(--bs-danger);
}

.zf-tooltip-success {
    --bs-tooltip-bg: var(--bs-success);
}

.zf-tooltip-warning {
    --bs-tooltip-bg: var(--bs-warning);
}

.zf-tooltip-primary {
    --bs-tooltip-bg: var(--bs-primary);
}

.zf-unavailable {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.zf-presence:before {
    display: block;
    position: absolute;
    background: #fff;
    content: "";
    border-radius: 50%;
    width: 1rem;
    height: 1rem;
    top: -5px;
    right: -5px;
    border: 1px solid #fff;
}

.zf-presence-online:before {
    background: var(--bs-success);
}

.zf-presence-offline:before {
    background: var(--bs-danger);
}

.zf-presence-busy:before {
    background: var(--bs-warning);
}

.zf-presence-away:before {
    background: var(--bs-light-text);
    content: "-";
    font-size: 1rem;
    line-height: 1rem;
    text-align: center;
}

/* Draws a dot grid to help over any background to display some sort of preview */
.zf-preview-bg {
    background-size: 5px 5px;
    background-image: radial-gradient(rgba(0, 0, 0, 0.1) 0.5px, transparent 0);
    background-position: -19px -19px;
}

.zf-code-bg {
    background-color: #3D4451 !important;
}

.zf-form-bg {
    background-color: var(--zf-form-background) !important;
}

/* Code example */
.zf-code-example-wrapper {
    overflow: auto;
}

.zf-code-example-wrapper > div:first-of-type {
    border-top-right-radius: 1rem;
    border-top-left-radius: 1rem;
    border: 1px solid var(--bs-border-color);
    background-color: var(--bs-body-bg);
    padding-inline: 1rem;
    padding-block: 1rem;
}

.zf-code-example-wrapper > div:last-of-type pre[class*=language-],
.zf-code-example-wrapper > div:last-of-type {
    margin: 0;
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
}
