@tailwind base;
@tailwind components;
@tailwind utilities;

/*

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

*/
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS 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/SCSS
 * 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.
 *


 */

.stuck-top {
  container-type: scroll-state;

  .stuck-top-nav {
    @container scroll-state(stuck: top) {
      background-color: var(--color-indigo-50);
      border-width: 1px;
      border-color: var(--color-indigo-200);
      padding-top: 1rem;
      padding-bottom: 1rem;
    }
  }
}

[x-cloak] {
  display: none !important;
}

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

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

.flickr_pagination {
  text-align: center;
  padding: 0.3em;
  cursor: default;
}
.flickr_pagination a, .flickr_pagination span, .flickr_pagination em {
  padding: 0.5em 0.75em;
  border-radius: .25rem;
}
.flickr_pagination .disabled {
  color: #aaaaaa;
}
.flickr_pagination .current {
  font-style: normal;
  font-weight: bold;
  color: rgba(219, 39, 119, 1);
}
.flickr_pagination a {
  border: 1px solid #dddddd;
  color: rgba(29, 78, 216, 1);
  text-decoration: none;
}

.flickr_pagination a:hover, .flickr_pagination a:focus {
  border-color: #003366;
  background: rgba(96,165,250,1);
  color: white;
}

.flickr_pagination .page_info {
  color: #aaaaaa;
  padding-top: 0.8em;
}

.flickr_pagination .previous_page, .flickr_pagination .next_page {
  border-width: 1px;
}

.flickr_pagination .previous_page {
  margin-right: 1em;
}

.flickr_pagination .next_page {
  margin-left: 1em;
}

.flickr_pagination .pagination {
  line-height: 40px;
}

.ql-toolbar.ql-snow {
  border-top-right-radius: 0.5rem;
  border-top-left-radius: 0.5rem;
}

