/*
 * Provides a drop-in pointer for the default Trix stylesheet that will format the toolbar and
 * the trix-editor content (whether displayed or under editing). Feel free to incorporate this
 * inclusion directly in any other asset bundle and remove this file.
 *
*/

/*
 * We need to override trix.css’s image gallery styles to accommodate the
 * <action-text-attachment> element we wrap around attachments. Otherwise,
 * images in galleries will be squished by the max-width: 33%; rule.
*/
.trix-content .attachment-gallery > action-text-attachment,
.trix-content .attachment-gallery > .attachment {
  flex: 1 0 33%;
  padding: 0 0.5em;
  max-width: 33%;
}

.trix-content .attachment-gallery.attachment-gallery--2 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--2 > .attachment, .trix-content .attachment-gallery.attachment-gallery--4 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--4 > .attachment {
  flex-basis: 50%;
  max-width: 50%;
}

.trix-content action-text-attachment .attachment {
  padding: 0 !important;
  max-width: 100% !important;
}

.trix-content p {
  color: #4d4d4d;
}
/*! @algolia/ui-components-horizontal-slider-theme 1.2.1 (UNRELEASED acd5a1b) | MIT License | Â© Algolia, Inc. and contributors | https://github.com/algolia/ui-components */
:root {
    --aui-primary-color: #9698c3;
    --aui-muted-color: #c4c4c4;
    --aui-dark-color: #0f0f0f
}

.uic-HorizontalSlider-container {
    position: relative;
}

.uic-HorizontalSlider-navigation {
    align-items: center;
    background: #f1f1f1;
    border: 1px solid #fff;
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(90, 94, 154, .44);
    color: #9698c3;
    color: var(--aui-primary-color);
    cursor: pointer;
    display: flex;
    height: 40px;
    justify-content: center;
    outline-color: #9698c3;
    outline-color: var(--aui-primary-color);
    padding: 0;
    position: absolute;
    top: 35%;
    transition: opacity .15s;
    width: 32px;
    z-index: 1
}

@media (hover: none) and (pointer: coarse) {
    .uic-HorizontalSlider-navigation {
        display: none
    }
}

.uic-HorizontalSlider-container:hover .uic-HorizontalSlider-navigation:not([hidden]) {
    opacity: 1;
    visibility: visible
}

.uic-HorizontalSlider-navigation, .uic-HorizontalSlider-navigation[hidden] {
    opacity: 0;
    visibility: hidden
}

.uic-HorizontalSlider-navigation--previous {
    left: 0;
    transform: translateX(-25%)
}

.uic-HorizontalSlider-navigation--next {
    right: 0;
    transform: translateX(25%)
}

.uic-HorizontalSlider-list {
    display: grid;
    grid-gap: .5rem;
    gap: .5rem;
    list-style: none;
    margin: 0;
    outline-color: #9698c3;
    outline-color: var(--aui-primary-color);
    outline-offset: .5rem;
    scroll-behavior: smooth;
    -ms-scroll-snap-type: mandatory;
    scroll-snap-type: mandatory;
    grid-auto-columns: 42%;
    grid-auto-flow: column;
    overflow-x: auto;
    padding: 0 0 .5rem;
    -ms-scroll-snap-type: x proximity;
    scroll-snap-type: x proximity;
    scrollbar-color: #0f0f0f #c4c4c4;
    scrollbar-color: var(--aui-dark-color) var(--aui-muted-color);
    scrollbar-width: thin
}

.uic-HorizontalSlider-list::-webkit-scrollbar {
    height: 2px
}

.uic-HorizontalSlider-list::-webkit-scrollbar-track {
    background-color: #c4c4c4;
    background-color: var(--aui-muted-color)
}

.uic-HorizontalSlider-list::-webkit-scrollbar-thumb {
    background-color: #0f0f0f;
    background-color: var(--aui-dark-color)
}

@media (min-width: 999px) {
    .uic-HorizontalSlider-list {
        grid-auto-columns: 30%
    }
}

.uic-HorizontalSlider-item {
    scroll-snap-align: start
}

.uic-HorizontalSlider-item * {
    outline-color: #9698c3;
    outline-color: var(--aui-primary-color);
    outline-offset: 3px
}
@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
.show-when-disabled {
    display: none;
}

[disabled] .show-when-disabled {
    display: initial;
}

.show-when-enabled {
    display: initial;
}

[disabled] .show-when-enabled {
    display: none;
}
.tippy-box[data-animation=fade][data-state=hidden] {
    opacity: 0
}

[data-tippy-root] {
    max-width: calc(100vw - 10px);
    z-index: 9999 !important;
}

.tippy-box {
    position: relative;
    background-color: white;
    color: black;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
    white-space: normal;
    outline: 0;

    transition-property: transform, visibility, opacity;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 5px;
    /*overflow: clip;*/
}

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

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

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

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

.tippy-box[data-placement^=left] > .tippy-arrow {
    right: 0
}

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

.tippy-box[data-placement^=right] > .tippy-arrow {
    left: 0
}

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

.tippy-box[data-inertia][data-state=visible] {
    transition-timing-function: cubic-bezier(.54, 1.5, .38, 1.11)
}

.tippy-arrow {
    width: 16px;
    height: 16px;
    color: white
}

.tippy-arrow:before {
    content: "";
    position: absolute;
    border-color: transparent;
    border-style: solid
}

.tippy-content {
    position: relative;
    padding: 5px 9px;
    z-index: 1;
    background-color: white;
    border-radius: 5px;
    overflow: clip;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

@import "vendor/swiper.css";

@layer utilities {

    /* Chrome, Safari and Opera */
    .no-scrollbar::-webkit-scrollbar {
        display: none;
    }

    .no-scrollbar {
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }
}

/* Bazaarvoice inline ratings: hide until loaded */
div[data-bv-show="inline_rating"] {
    display: none !important;
}

div[data-bv-show="inline_rating"]:has(div):not(:has(div.bv_hide_visibility)) {
    display: flex !important;
}
