/* Basic page styling */
html body .printonly
{
    display:none;
}
@media print
{
    .printonly{
        display:inherit !important ;
    }
    .noprint,.unprintable, .devonly{
        display:none !important;
    }
} 
.devonly
{
    border:1px solid blue  ;
    background:#11994411 ;
    padding:2px ; 
}
.devonly:hover
{
    border:2px solid blue  ;
    background:#11994433 ;
     
}
body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  line-height: 1.5;
} 

div.section, div.header {
  padding: 2rem 1rem; 
  margin: auto;
      display: flex;
  align-items:center;
} 
div.section{
    justify-content: space-around; 
    flex-direction: column;
    padding-left:10px;
    padding-right:10px;
}
h1, h2, h3 {
  margin: 0.5em 0;
  width:fit-content;
} 

/* Buttons */
button {
  margin: 0.5rem 0.5rem 0 0;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  cursor: pointer;
}

/* Feature Grid */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -0.5rem; /* gutter compensation */
}

.feature-item {
  flex: 1 1 calc(33.333% - 1rem); /* three per row */
  max-width: calc(33.333% - 1rem);
  margin: 0.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-item img {
  width: 100%; 
  object-fit: contain;
  margin-bottom: 0.5rem;
  border:2px solid #bbb;
  border-radius:4px;
}

.feature-caption {
  font-weight: bold;
  margin: 0.5rem 0 0.25rem;
}
#membership-form div {
  display: flex;
  align-items: center;
}

#membership-form div div label {
  min-width: 120px;
  font-weight: 600; /* optional */
}

form input[type="text"],
form input[type="email"],
form select,
form textarea {
  padding: 0.75rem;
  font-size: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  max-width:98%;
}

/* Mobile override: stack one item per row, image left, text right */
@media screen and (max-width: 640px) {
  .features-grid {
    flex-direction: column;
  }

  .feature-item {
    flex-direction: row;
    text-align: left;
    max-width: 100%;
  }

  .feature-item img {
    width: 50%;
    margin: 0 1rem 0 0;
  }

  .feature-text {
    flex: 1;
  }

  .feature-caption {
    margin-top: 0;
  }

  /* Fix header wrapping on mobile */
  .text-nav a {
    font-size: 14px;
  }

  .text-nav ul {
    white-space: nowrap;
  }
}

/* Header & Hamburger */
.site-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem; 
  border-bottom: 1px solid #ddd;
  z-index:10;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  max-height: 40px;
  width: auto;
}

.menu-toggle {
  display: inline-block;
  cursor: pointer;
}
.text-nav{
 display:block;
 width:calc(100% - 75px);
 text-align:right;
 white-space: nowrap;
}
.text-nav ul {
 padding-right: 10px;
}
.text-nav li{
 display:inline-block;
}
.text-nav a{
    text-decoration:none;
    font-weight:bold;
    font-size:larger;
    color: black;
}

@media (max-width: 500px) {
  .text-nav {
    font-size: 14px;
  }
  .text-nav a {
    font-size: 15px;
  }
  .text-nav ul {
    padding-right: 15px;
  }
}
.text-nav a:visited{ 
    color: black;
}
.text-nav a:hover{ 
    color: blue;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: black;
  margin: 5px 0;
  transition: 0.3s;
}

.main-nav {
  display: none;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  margin: 0.5rem 0;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

body.menu-open .main-nav {
  display: block;
  position: absolute;
  top: 60px;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  padding: 1rem;
}

.nav-flyout-parent {
  position: relative;
}

.nav-flyout-submenu {
  display: none;
  position: absolute;
  right: 100%;
  top: 0;
  background: #fff;
  border: 1px solid #ddd;
  padding: 0.5rem 0;
  margin: 0;
  list-style: none;
  white-space: nowrap;
  min-width: 200px;
  z-index: 100;
}

.nav-flyout-submenu li {
  margin: 0;
  padding: 0;
}

.nav-flyout-submenu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

.nav-flyout-submenu a:hover {
  background: #f5f5f5;
}

.nav-flyout-parent:hover .nav-flyout-submenu {
  display: block;
}

/* Marketplace Specific */
.marketplace-main {
  background: #fafafa;
  padding: 2rem 1rem;
}

.marketplace-main h2 {
  margin-top: 1rem;
}

.marketplace-footer {
  background: #fff;
  padding: 1rem;
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 0.875rem;
  color: #666;
}

.alert-error{
    background:#ffbbbb;
    color:red;
    font-weight:bold;
    padding:4px;
}
.alert-notice{
    background:orange;
    color:white;
    font-weight:bold;
    padding:4px;
}
.alert-ok{
    background:#ceffd4;
    color:green;
    font-weight:bold;
    padding:4px;
}
    .section-block.section-600
    { 
        max-width: 600px;
    }
  .section-block {
    color: #1a1a1a;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    margin: 20px 0;
    max-width: 99%;
    background:#f9f9f9; 
    padding:20px; 
    border-radius:10px;
    margin:20px 0;
  }

  .section-block h2 {
    margin-bottom: 10px;
    font-size: 1.8em;
    color: #1a3324;
  }

  .section-block p {
    margin-bottom: 20px;
    font-size: 1em;
    color: #444;
  }

  .section-block label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
  }

  .section-block input[type='text'],
  .section-block input[type='email'],
  .section-block input[type='tel'],
  .section-block textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
  }
  .section-block input[type='text'].phone_us
  {
    width:150px;
  }

  .section-block textarea {
    resize: vertical;
  }

  .section-block input[type='submit'] {
    padding: 12px 24px;
    background: #1a3324;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1em;
    margin-top: 10px;
  }

  .section-block input[type='submit']:hover {
    background: #2c4a38;
  }
  div.article
  {
    width:fit-content;
  }

  @media (max-width: 640px) {
    .section-block {
      padding: 20px;
    }
    .section-block h2 {
      font-size: 1.5em;
    }
  }
div.footer{
    display:flex;
    padding-left:40px;
    align-items: flex-start;
    /* align-content: center; */
    flex-direction: column;
}
.tinytext,.tiny-text
{
    font-size:10px;
}
form#login_form span
{
        font-size:0.7em; 
        display:inline-block;
        
}
form#login_form
{
    max-width:400px; 
    text-align:center;
}
form#login_form input[type=submit]:hover
{
    background:black;
    cursor:pointer;
    
}
form#login_form input[type=submit]
{
    font-size:20px;
    background:green;
    color:white;
    border:white;
    padding:10px;
} 

input[name=buydaypass]:hover
{
    background:black;
    cursor:pointer;
    
}
input[name=buydaypass]
{
    font-size:20px;
    background:blue;
    color:white;
    border:white;
    padding:10px;
}

/*----------------------------------------------------------------------------*/
/*	SCROLLTABS - Reusable horizontal scrolling tab navigation
/*----------------------------------------------------------------------------*/
.scrolltabs {
    width: 100%;
    background: #fff;
    border-bottom: 2px solid #e0e0e0;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.scrolltabs::-webkit-scrollbar {
    height: 6px;
}

.scrolltabs::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.scrolltabs::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

.scrolltabs::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

.scrolltabs.visible {
    transform: translateY(0);
}

.scrolltab {
    display: inline-block;
    padding: 15px 20px;
    border-bottom: 3px solid transparent;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    flex-shrink: 0;
}

.scrolltab:hover {
    background: #f5f5f5;
    color: #d32f2f;
}

.scrolltab.active {
    background: #d32f2f;
    color: #fff;
    font-weight: 700;
    border-bottom-color: #d32f2f;
}

@media (min-width: 768px) {
    .scrolltab {
        padding: 15px 25px;
        font-size: 14px;
    }
}

.scrolltabs-logo-container {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    flex-shrink: 0;
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 10;
    border-right: 1px solid #e0e0e0;
}

.scrolltabs-logo-link {
    display: flex;
    align-items: center;
}

.scrolltabs-logo {
    height: 35px;
    width: auto;
    display: block;
}

.scrolltabs-logo-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #d32f2f;
    width: 40px;
    height: 35px;
}

.scrolltabs-logo-desktop {
    display: none;
}

@media (min-width: 768px) {
    .scrolltabs-logo {
        height: 40px;
    }

    .scrolltabs-logo-desktop {
        display: block;
    }

    .scrolltabs-logo-mobile {
        display: none;
    }
}

/* Coupon Pricing Styles */
.coupon-price-original {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85em;
    margin-right: 8px;
}

.coupon-price-discounted {
    font-weight: bold;
    color: #d32f2f;
    font-size: 1.1em;
    margin-right: 8px;
}

.coupon-savings-badge {
    background: #2e7d32;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.85em;
    font-weight: 600;
}

.coupon-price-container {
    text-align: right;
}

.coupon-price-stacked .coupon-price-original {
    display: block;
    font-size: 14px;
}

.coupon-price-stacked .coupon-price-discounted {
    display: block;
    font-size: 20px;
}

.coupon-price-stacked .coupon-savings-badge {
    display: block;
    margin-top: 4px;
    font-size: 12px;
}

.note-text {
    white-space: pre-line;
    display: block;
}
.note-table {
    width: 100%;
    border-collapse: collapse;
    margin: 4px 0;
}
.note-table td {
    padding: 5px 8px;
    border: 1px solid #ddd;
}
.note-table tr:nth-child(odd) td {
    background: #f9f9f9;
}
.note-table tr:nth-child(even) td {
    background: #fff;
}
.note-amount {
    text-align: right;
    white-space: nowrap;
    width: 1%;
}