/* Start: Recommended Isotope styles */

/**** Isotope Filtering ****/

.img-rounded {
  width: 100%;
}

/**** Isotope CSS3 transitions ****/

/**** disabling Isotope CSS3 transitions ****/

/* End: Recommended Isotope styles */

/* disable CSS transitions for containers with infinite scrolling*/

/**** Base styles ****/

.iso-ul {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Arial, sans-serif;
  font-size: 13px;
  line-height: 1.7em;
  color: #000;
  margin-left: 1.5em;
}

h1, h2, p, ul {
  margin-bottom: 0.6em;
  margin-top: 0.6em;
}

h1, h2, .element {
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

h1 {
  font-size: 1.3rem;
  line-height: 1.1em;
    font-weight: bold;

}

h2 {
  font-size: 14px;
  line-height: 1.1em;
}

/**** Isotope styles ****/

/* required for containers to inherit vertical size from window */
html, body {
  height: 100%;
}

#container {
  /* border: 1px solid #666; */
}


.col-sm-4.offset-md-1.py-4.boxed .list-unstyled a {
    font-size: 1.25rem !important;
    font-weight: 500;
    transition: color 0.3s ease;
    color: #ffffff !important;
    text-decoration: underline;
}

.element {
  width: 170px;
  margin: 5px;
  overflow: hidden;
  background: #E30613;
  color: #222;
  -webkit-border-top-right-radius: 1.2em;
  -moz-border-radius-topright: 1.2em;
  border-top-right-radius: 1.2em;
  -webkit-border-bottom-right-radius: 1.2em;
  -moz-border-radius-bottomright: 1.2em;
  border-bottom-right-radius: 1.2em;
  -webkit-border-top-left-radius: 1.2em;
  -moz-border-radius-topleft: 1.2em;
  border-top-left-radius: 1.2em;
  -webkit-border-bottom-left-radius: 1.2em;
  -moz-border-radius-bottomleft: 1.2em;
  border-bottom-left-radius: 1.2em;
  -webkit-box-shadow: 5px 0px 5px rgba(0,0,0,0.2);
-moz-box-shadow: 5px 0px 10px rgba(0,0,0,0.2);
  box-shadow: 8px 8px 12px rgba(0,0,0,0.2);
}
.element h2 { font-size: 1rem;; left: 0.5em; bottom: 2.5em; }
.element h1 { font-size: 1.3rem;; left: 0.5em; bottom: 2.5em; }
.element p { font-size: 1rem;; left: 0.5em; bottom: 2.5em; }

.clickable .element:hover h2 {
  text-shadow: 0 0 10px white, 0 0 10px white;
  color: white;
  cursor: pointer;
}

.clickable .element:hover h1 {
  text-shadow: 0 0 10px white, 0 0 10px white;
}

.sold, .dead { 
  background: grey;
}

/* ==========================================================================
   ===== FIXED FILTER BAR (Works for Watches & People Pages) =====
   ========================================================================== */

#options {
    margin: 10px 10px 20px;
    padding: 0;
    display: block;
    clear: both;

}

/* Base styling for filter sections across all pages */
#options .option-combo {
    display: flex;
    flex-direction: column; /* Forces title on top, buttons below */
    align-items: flex-start;
    width: 100%;
    margin-bottom: 20px;

}

/* Style the headings ('Select', 'Time', 'Price') cleanly */
#options .option-combo h1 {
    display: block !important;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
    padding: 0;

}

/* Clean, horizontally-scrolling track for buttons */
#options .option-combo ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    list-style: none;
    margin: 0;
    padding: 0 0 8px 0;
    width: 100% !important;
    gap: 8px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

#options ul::-webkit-scrollbar {
    height: 4px;
}

/* Prevents buttons from getting squished or breaking lines */
#options .option-combo li {
    flex: 0 0 auto !important;
    float: none !important;
    margin: 0;
}

/* Button Appearance */
#options li a {
    display: block;
    padding: 8px 14px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    transition: all .2s ease;
}

/* Active & Hover States (Official Swiss Red #E30613) */
#options li a:hover,
#options li a.selected {
    color: #fff !important;
    background-color: #E30613 !important;
    border-color: #E30613 !important;
}

/* ===== COMBO FILTERS CORRECTION (NO SPACE) ===== */
/* This specifically ensures the multi-row layout on the People page behaves */
#options.combo-filters .option-combo {
    margin-bottom: 10px;

}

/**** Horizontal ****/

/**** Doc page nav ****/

/**** Sites using Isotope ****/

/* Clearfix */
.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  z-index: 1;
}


.text-box { margin: 5px; color: #fff; float: left; font-size: 10px; line-height: 1.7em; padding: 10px; }

.flag-swiss-sm {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' fill='%23E30613'/%3E%3Cpath d='M 13,6 H 19 V 13 H 26 V 19 H 19 V 26 H 13 V 19 H 6 V 13 H 13 Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}


/*
==================================================
 Bootstrap custom styles
 Extracted from HTML <style> block
==================================================
*/


/* Placeholder image helpers */


/* Divider example */


/* Vertical example block */


/* Bootstrap Icons alignment */


/* Horizontal navigation scroller */

/* Overrides style.clean.use.css for external links inside text-box h2 tags */
.text-box h2 a[href^="https://"] {
    color: #ffffff !important;
  font-weight: bold;
}

/* Visited state */
.text-box h2 a[href^="https://"]:visited {
    color: #ffffff !important;
}

/* Hover state */
.text-box h2 a[href^="https://"]:hover {
    color: #000 !important;
}

.text-muted {
    color: #ffffff !important;
}


h4 {
  text-align: center;
}

h5 {
  font-size: 1rem !important;
  background-color: red !important;
  text-align: center;
}

h6 {
  font-size: 1rem !important;
  color: #ffffff;
  background-color: blue !important;
  text-align: center;
}
