/* Loaded with the user-selected mobile media query by WordPress. */
#tgh-contact-dock,
.tgh-contact-dock-spacer {
    --tgh-dock-mobile-effective-height: max(56px, var(--tgh-dock-mobile-height, 64px), calc(var(--tgh-dock-mobile-icon-size, 22px) + var(--tgh-dock-mobile-font-size, 11px) * 1.2 + 18px));
}

#tgh-contact-dock,
#tgh-contact-dock[data-side="left"] {
    top: auto;
    right: 0;
    bottom: var(--tgh-dock-mobile-bottom, 0px);
    left: 0;
    width: auto;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    border-top: 1px solid #d5b665;
    border-radius: 0;
    background: var(--tgh-dock-mobile-bg, #124d40);
    box-shadow: 0 -5px 24px rgba(15, 48, 39, .10);
    transform: none;
    font-size: var(--tgh-dock-mobile-font-size, 11px);
}

#tgh-contact-dock[data-mobile-enabled="1"] {
    display: block;
}

#tgh-contact-dock[data-mobile-enabled="0"] {
    display: none;
}

#tgh-contact-dock .tgh-contact-dock__items {
    display: grid;
    grid-template-columns: repeat(var(--tgh-dock-mobile-count, 5), minmax(0, 1fr));
    gap: 0;
    width: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: visible;
}

#tgh-contact-dock .tgh-contact-dock__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: var(--tgh-dock-mobile-effective-height);
    margin: 0;
    padding: 7px 1px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font: inherit;
    line-height: 1.2;
    text-align: center;
    transition: background-color .18s ease, color .18s ease;
}

#tgh-contact-dock .tgh-contact-dock__item[data-mobile="0"],
#tgh-contact-dock .tgh-contact-dock__label--desktop {
    display: none;
}

#tgh-contact-dock .tgh-contact-dock__label--mobile {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow-wrap: normal;
}

#tgh-contact-dock .tgh-contact-dock__icon,
#tgh-contact-dock[data-side="left"] .tgh-contact-dock__icon {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    flex: 0 0 var(--tgh-dock-mobile-icon-size, 22px);
    width: var(--tgh-dock-mobile-icon-size, 22px);
    height: var(--tgh-dock-mobile-icon-size, 22px);
    transform: none;
}

#tgh-contact-dock .tgh-contact-dock__item:focus-visible {
    outline-offset: -3px;
}

.tgh-contact-dock-spacer[data-enabled="1"] {
    display: block;
    width: 100%;
    height: calc(var(--tgh-dock-mobile-effective-height) + var(--tgh-dock-mobile-bottom, 0px) + env(safe-area-inset-bottom) + 1px);
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    pointer-events: none;
}

@media print {
    #tgh-contact-dock,
    .tgh-contact-dock-spacer {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #tgh-contact-dock .tgh-contact-dock__item {
        transition: none;
    }
}
