@import "https://cdn.jsdelivr.net/npm/slim-select@1.27.1/dist/slimselect.css";
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer components{
    .gp-btn{
        @apply rounded bg-indigo-600 px-2 py-2 text-xs font-semibold  text-center text-white shadow-md hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600;
    }

    .mini-cart {
        grid-template-rows: 2em;
        grid-template-columns: 2.5em auto 3.5em;
    }

    .ss-main {
        @apply relative w-full rounded-xl border border-gray-200 bg-white text-sm text-gray-900 shadow-sm;
    }

    .ss-main .ss-single-selected {
        @apply flex items-center justify-between px-3 py-2;
    }

    .ss-main .ss-arrow {
        @apply flex items-center text-gray-400 transition-transform duration-150;
    }

    .ss-main .ss-arrow span {
        content: "";
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid currentColor;
        display: block;
        margin-left: 6px;
    }

    .ss-main.ss-open-below .ss-arrow,
    .ss-main.ss-open-above .ss-arrow {
        @apply rotate-180;
    }

    .ss-main .placeholder {
        @apply text-gray-500;
    }

    .ss-main .ss-arrow {
        @apply text-gray-400;
    }

    .ss-content {
        @apply z-10 mt-1 w-full rounded-xl border border-gray-200 bg-white shadow-lg;
    }

    .ss-content .ss-search input {
        @apply w-full border-0 border-b border-gray-100 px-3 py-2 text-sm text-gray-900 focus:ring-0;
    }

    .ss-content .ss-list {
        @apply max-h-60 overflow-y-auto py-1;
    }

    .ss-content .ss-option {
        @apply cursor-pointer px-3 py-2 text-sm text-gray-900;
    }

    .ss-content .ss-option:hover {
        @apply bg-indigo-50 text-indigo-700;
    }

    .ss-content .ss-option.ss-selected {
        @apply bg-indigo-50 text-indigo-700;
    }

    .ss-content .ss-option.ss-disabled {
        @apply cursor-not-allowed text-gray-400;
    }



}

/*

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

*/
.glide {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}
.glide * {
  box-sizing: inherit;
}
.glide__track {
  overflow: hidden;
}
.glide__slides {
  position: relative;
  width: 100%;
  list-style: none;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  touch-action: pan-Y;
  overflow: hidden;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  display: flex;
  flex-wrap: nowrap;
  will-change: transform;
}
.glide__slides--dragging {
  user-select: none;
}
.glide__slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  white-space: normal;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
.glide__slide a {
  user-select: none;
  -webkit-user-drag: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.glide__arrows {
  -webkit-touch-callout: none;
  user-select: none;
}
.glide__bullets {
  -webkit-touch-callout: none;
  user-select: none;
}
.glide--rtl {
  direction: rtl;
}

/*# sourceMappingURL=glide.core.css.map */
.glide__arrow {
  position: absolute;
  display: block;
  top: 50%;
  z-index: 2;
  color: white;
  text-transform: uppercase;
  padding: 9px 12px;
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  box-shadow: 0 0.25em 0.5em 0 rgba(0, 0, 0, 0.1);
  text-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.1);
  opacity: 1;
  cursor: pointer;
  transition: opacity 150ms ease, border 300ms ease-in-out;
  transform: translateY(-50%);
  line-height: 1;
}
.glide__arrow:focus {
  outline: none;
}
.glide__arrow:hover {
  border-color: white;
}
.glide__arrow--left {
  left: 2em;
}
.glide__arrow--right {
  right: 2em;
}
.glide__arrow--disabled {
  opacity: 0.33;
}
.glide__bullets {
  position: absolute;
  z-index: 2;
  bottom: 2em;
  left: 50%;
  display: inline-flex;
  list-style: none;
  transform: translateX(-50%);
}
.glide__bullet {
  background-color: rgba(255, 255, 255, 0.5);
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 300ms ease-in-out;
  cursor: pointer;
  line-height: 0;
  box-shadow: 0 0.25em 0.5em 0 rgba(0, 0, 0, 0.1);
  margin: 0 0.25em;
}
.glide__bullet:focus {
  outline: none;
}
.glide__bullet:hover, .glide__bullet:focus {
  border: 2px solid white;
  background-color: rgba(255, 255, 255, 0.5);
}
.glide__bullet--active {
  background-color: white;
}
.glide--swipeable {
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}
.glide--dragging {
  cursor: grabbing;
  cursor: -moz-grabbing;
  cursor: -webkit-grabbing;
}

/*# sourceMappingURL=glide.theme.css.map */
/*


 */
/*
 * 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.
 *


 */



.trix-content{
    h1{
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }
    ul{
        list-style-type: disc;
        margin-left: 1.5rem;
        margin-bottom: 1rem;
    }

    a{
        text-decoration: underline;
    }
}

/*suppresses mapbox js warning: https://github.com/mapbox/mapbox-gl-js/issues/9869 */
.mapboxgl-canary {
    background-color: salmon;
}

.blog-body .trix-content img {
    max-height: 25vh !important; /* Constrains Trix images while editing */
    width: auto;
    object-fit: contain;
}
