/**
 * Content Category Consolidated CSS
 * Extracted from Work/Schema/Procs/Content.Category/ MOX files
 * Organized by functional areas for better maintainability
 * Search for --display-font to find areas to replace font if wanted
 */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
  /* Brand Colors (referenced in MOX files) */
  --primary-color: #00A5B5;
    --secondary-color: #00829B;
    --tertiary-color: #06262D;
    --primary-dark-grey: #222222;
    --primary-medium-grey: #5a646f;
    --light-grey: #8b9299;
    --lighter-grey: #c2c7cc;
    --off-white-1: #e8ebed;
    --off-white-2: #C5D9E7;
    --primary-font-color: #333;
    --secondary-font-color: #5a646f;
    --branded-peach: #FF595A;
    --branded-green: #7ADBD4;
    --branded-blue: #C5D9E7;
    --branded-yellow: #FDD756;
    --branded-pink: #fad9d9;
    --branded-violet: #ecdcf5;
    --display-font: "alternate-gothic-compressed", sans-serif;
    --primary-font: "Montserrat", sans-serif;
    
    /* Spacing Variables */
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
}

/* ========================================
   LAYOUT & STRUCTURE
   ======================================== */

/* Dashboard-specific layout adjustments */
.allbodies:has(.dashboard-account) {
  padding-top: 0;
}

/* Page Layout Adjustments */
.maintitle {
  display: none;
}

/* .hidden-print {
  display: none;
} */

/* Container Layouts */
.container-fluid.dashboard-account {
  background-color: var(--off-white-1);
  width: 100vw;
  position: relative;
  left: calc(-50vw + 50%);
}

.container-fluid.admin-account {
  background-color: var(--light-grey);
  width: 100vw;
  position: relative;
  left: calc(-50vw + 50%);
}

/* Sticky Navigation */
.sticky {
  position: fixed;
  top: 60px !important;
  background: #fff;
  z-index: 1;
  padding-top: 15px;
  padding-left: 0;
  padding-right: 0;
}

/* ========================================
   DASHBOARD SYSTEM
   ======================================== */

.dashboard-header {
  color: #000;
  font-size: 5.6em;
}

.dashboard-header span {
  color: var(--primary-color);
}

.dashboard-subheader {
  font-size: 2em;
  font-weight: 300;
  color: var(--primary-medium-grey);
}

.dashboard-section-header {
  font-size: 1.8em;
  font-weight: 300;
}

.dashboard-panel {
  padding: 16px 20px;
  height: 180px; /* Fixed height for consistency */
  cursor: pointer;
  background: white !important;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* Subtle shadow for modern depth */
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.dashboard-panel-body {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  flex: 1; /* Take up remaining space in parent flex container */
}

small.panel-text {
  color: var(--light-grey);
}

p.dashboard-panel-title {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.4em;
  margin-left: -15px;
}

.dashboard-panel-text {
  color: var(--light-grey);
  line-height: 1.6;
  font-size: 1.1em;
}

.panel-body.dashboard-panel-body {
  padding: 0;
  border-top: none !important; /* Remove unwanted top border from panel body */
}

/* Modern panel hover effects */
.dashboard-panel:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.dashboard-panel:hover .dashboard-panel-title a {
  color: var(--primary-color) !important;
  transition: color 0.3s ease;
}

/* Reports page panel styling */
#ReportBody .panel-heading {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
  color: white !important;
  border: none !important;
  border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
  padding: var(--space-md) !important;
  margin-bottom: 0 !important;
  font-family: var(--primary-font) !important; /* --display-font */
  font-weight: 300 !important; /* 500 */
  font-size: 14px !important; /* 18px */
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* Remove hover effects from reports page panels */
#ReportBody .panel-heading:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
  color: white !important;
}

/* Reports page panel body styling */
#ReportBody .panel-body {
  border-radius: 0 0 var(--radius-md) var(--radius-md) !important;
  border: 1px solid var(--light-grey) !important;
  border-top: none !important;
  padding: var(--space-md) !important;
  background: white !important;
}

/* Reports page flexible layout */
#ReportBody {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: var(--space-md) !important;
  width: 100% !important;
  margin-bottom: var(--space-xl) !important; /* Add space between panels and footer */
  justify-content: center;
}

/* Reports page panel container */
#ReportBody .panel {
  border: none !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  margin-bottom: 0 !important; /* Remove margin since grid handles spacing */
  padding: 0 !important; /* Remove any padding from panel container */
  display: flex !important;
  flex-direction: column !important;
  height: fit-content !important; /* Panel height exactly matches content */
}

/* Tablet responsive - 2 columns on medium screens */
@media (max-width: 1024px) {
  #ReportBody {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Mobile responsive - stack in single column on smaller screens */
@media (max-width: 768px) {
  #ReportBody {
    grid-template-columns: 1fr !important;
  }
}

/* Reports page button styling */
#ReportBody .btn-reports {
  display: block !important;
  width: 100% !important;
  margin-bottom: var(--space-sm) !important;
  text-align: left !important;
  padding: var(--space-sm) var(--space-md) !important;
  background: #f8f9fa !important;
  border: 1px solid var(--lighter-grey) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--primary-medium-grey) !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

#ReportBody .btn-reports:hover {
  background: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color) !important;
  text-decoration: none !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(0, 165, 181, 0.3) !important;
}

#ReportBody .btn-reports:last-child {
  margin-bottom: 0 !important;
}

#ReportBody .btn-reports .glyphicon {
  margin-right: var(--space-sm) !important;
  opacity: 0.7 !important;
}

/* .display-flex {
  min-height: 200px;
} */

@media (max-width: 600px) {
  .dashboard-header {
    font-size: 3.8em;
  }
}

/* ========================================
   BUSINESS DIRECTORY SYSTEM
   ======================================== */

/* Directory Layout */
.directory_row {
  border-top: 1px solid #ccc;
  padding: 24px 0;
}

.directory_content-col {
  border-right: 1px solid #ccc;
}

.directory_content-col > p {
  margin: 0;
}

h1.directory_header {
  font-weight: 700;
  font-size: 36px;
  color: #999;
}

/* Business Names and Titles */
.directory_business_name,
.directory_business-name {
  font-size: 24px;
  font-weight: 600;
  border-left: 4px solid var(--branded-blue);
  line-height: normal;
  padding-left: 8px;
  margin: 0 0 8px 0 !important;
  width: 93%;
  float: left;
}

.business-name {
  color: #222;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

.directory_role-title {
  font-size: 20px;
  font-weight: 300;
  border-left: 4px solid var(--off-white-2);
  line-height: normal;
  padding-left: 8px;
  margin: 0 0 8px 0 !important;
  width: 100%;
  float: left;
}

/* Business Information */
.directory_business_address,
.directory_business-address,
.directory_business_telephone,
.directory_business-telephone,
.directory_business_industry {
  color: #666;
  width: 100%;
  float: left;
}

.directory_business-description {
  color: #707070;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 4.5em;
  padding-top: 16px;
  width: 100%;
  float: left;
}

/* Category Pills and Badges */
.Category-Pills-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 16px;
}

.directory-badge {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  margin: 4px 4px 4px 0;
  padding: 6px 12px;
  background-color: #4884c2;
}

/* Logo and Image Containers */
.store-logo-container a {
  display: flex;
  justify-content: center;
  max-height: 360px;
}

.store-logo-container img {
  max-width: 75% !important;
  width: 75% !important;
  max-height: 360px;
  width: 540px;
  object-fit: contain;
}

/* ========================================
   SOCIAL MEDIA ELEMENTS
   ======================================== */

.social-media {
  float: left;
  margin-right: 5px;
  font-size: 18px;
}

.social-media-row {
  padding: 0;
  width: 100%;
  max-height: 30px;
}

.social-media-row > i {
  color: #999;
  font-size: 20px;
  margin-right: 8px;
  cursor: pointer;
}

.social-media-row > i:hover {
  color: #FF9700;
}

.social_heart {
  font-size: 22px;
  float: right;
  width: 7%;
}

.social-media > a > i {
  color: #0da5b5;
  border: 1.5px solid #c9ddeb;
  border-radius: 50px;
  padding: 6px;
  font-size: 12px;
}

.social-media > a > img {
  height: 29px;
}

.website-icon {
  color: #666;
  font-size: 17px;
  margin-right: 10px;
  cursor: pointer;
  float: left;
  margin-top: -2px;
}

.website-icon > i:hover {
  color: var(--primary-color);
}

/* ========================================
   NAVIGATION & TABS
   ======================================== */

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
  color: #555;
  cursor: default;
  background-color: #ff7f00;
  border: 1px solid #ff7f00;
  border-bottom-color: transparent;
  color: #fff;
}

.tab-content {
  margin: 10px;
}

.tab-content .tab-pane {
  padding: 30px;
}

.SignUp-pagination > li.active a {
  background: #ff7f00;
}

/* ========================================
   BUTTONS & INTERACTIVE ELEMENTS
   ======================================== */

.sell-info-btn {
  border: 1px solid var(--primary-color);
  border-radius: var(--radius-sm);
  background: var(--primary-color);
  cursor: pointer;
  display: inline-block;
  margin-right: 10px;
  overflow: hidden;
  padding: 6px 12px;
  position: relative;
  color: white;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.sell-info-btn:hover,
.sell-info-btn:focus {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 165, 181, 0.4);
  text-decoration: none;
}

.sell-info-btn span {
  display: block;
  float: left;
  position: relative;
  z-index: 2;
  padding: 11px 20px;
  font-size: 15px;
  color: #fff;
  font-weight: normal;
}

.req-btn {
  background-color: #999;
}

.join-btn {
  background-color: #f68b21;
}

#MiscBtn {
  margin-top: -30px;
  margin-right: 30px;
  float: right;
}

@media only screen and (max-width: 600px) {
  #MiscBtn {
    display: block;
    margin: 20px 0;
    float: none;
  }
}

/* ========================================
   FAQ & ACCORDION PANELS
   ======================================== */

.panel-group .panel {
  border-radius: 0;
  box-shadow: none;
  border-color: #EEEEEE;
}

.panel-default > .panel-heading {
  padding: 0;
  border-radius: 0;
  color: #212121;
  background-color: #FAFAFA;
  border-color: #EEEEEE;
}

.panel-title {
  font-size: 14px;
}

.panel-title > a {
  display: block;
  padding: 15px;
  text-decoration: none;
}

.more-less {
  float: right;
  color: #ffffff !important; /* Force white to match text */
  transition: transform 0.3s ease;
  transform-origin: center;
}

/* Chevron rotation when expanded - rotate 180 degrees */
.panel-heading:not(.collapsed) .more-less {
  transform: rotate(180deg);
}

.panel-default > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #EEEEEE;
}

/* Add spacing between panel header and content when expanded */
.panel-sortable .panel-body {
  padding-top: var(--space-sm) !important;
}

/* Border radius for first and last panels using medium radius variable */
.panel-sortable .panel:first-child {
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}

.panel-sortable .panel:first-child .panel-heading {
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}

.panel-sortable .panel:last-child {
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}

.panel-sortable .panel:last-child .panel-heading {
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}

/* Drag handle for sortable panels - matches header text styling */
.panel-sortable .panel-heading.ui-sortable-handle::before {
  content: "⋮⋮";
  color: #ffffff; /* Match header text color - no hover change */
  font-weight: bold;
  font-size: 1rem;
  line-height: inherit;
  letter-spacing: 1px; /* Spread out the dots more */
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%); /* Center vertically */
  z-index: 1;
}

/* Better spacing and layout for panel headers */
.panel-sortable .panel-heading {
  position: relative;
  padding: 0; /* Remove default padding since we handle it in the link */
}

.panel-sortable .panel-heading .panel-header-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-left: 10px;
  text-decoration: none;
  color: inherit;
}

.panel-sortable .panel-heading .panel-header-link:hover,
.panel-sortable .panel-heading .panel-header-link:focus {
  text-decoration: none;
  color: inherit;
}

.faq {
  padding-top: 60px;
  padding-bottom: 60px;
}

.faqs-description {
  font-family: monserrat, sans-serif;
  font-size: 14px;
  font-weight: 300;
}

.panel-heading a:hover {
  color: #fff;
}

.anchor {
  padding-top: 90px;
}

/* ========================================
   FORM ELEMENTS
   ======================================== */

#billing-address,
#payment-form {
  min-height: auto;
}

/* Sign-up Form Layout */
.onboarding-right-col .form-group:nth-child(3),
.onboarding-right-col .form-group:nth-child(4),
.onboarding-right-col .form-group:nth-child(5),
.onboarding-right-col .form-group:nth-child(6),
.onboarding-right-col .form-group:nth-child(7),
.onboarding-right-col .form-group:nth-child(8),
.onboarding-right-col .form-group:nth-child(9),
.onboarding-right-col .form-group:nth-child(10) {
  width: 50%;
  clear: none;
  float: left;
}

.onboarding-right-col .form-group:nth-child(9) {
  clear: both;
}

#Captcha {
  width: auto;
  height: 100%;
}

/* Form Validation Styling */
select:required:invalid {
  color: gray;
}

option[value="Business Type"],
option[value="Local Community Marketplace"] {
  display: none;
}

option {
  color: black;
}

label {
  padding: 6px 15px;
  text-align: left !important;
}

#MemTabOrgRegions {
  height: 65px;
}

/* Form Controls */
input.chkPassedQCReview,
input.chkPassedQCComment,
input.chkPassedQCPost {
  width: 20px;
  height: 20px;
}

.review-image {
  width: 100px;
}

/* ========================================
   BACKGROUND IMAGES & HEROES
   ======================================== */

.bg-rtn-head {
  max-width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right;
}

.bg-top-cta {
  background: url("/Image/Img/Restaurants/partner-dfs22.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-btm-cta {
  background: url("/Image/Img/Restaurants/join-dfs.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

/* Benefits Page Specific Backgrounds */
.bg-rtn-footer {
  background: url(/Image/Img/Benefits-1.jpg);
  max-width: 100%;
  height: auto;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* Benefits background override for .bg-rtn-head */
.benefits-bg-head {
  background: url(/Image/Img/Benefits-2.jpg);
  max-width: 100%;
  height: auto;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.about-description {
  padding: 20px 20px;
}

.img-resp {
  width: 90%;
  height: auto;
  margin: 10px;
}

/* ========================================
   TICKET SYSTEM
   ======================================== */

/* Loading Animation */
.loader {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #3498db;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.modal-footer {
  text-align: center;
}

/* Ticket Layout */
.ticket {
  display: table;
}

.ticket-left,
.ticket-right {
  text-align: center;
  height: 535px;
  border: 3px solid;
  float: left;
  padding: 35px;
}

.ticket-left {
  width: 80%;
  border-right: none;
}

.ticket-right {
  width: 20%;
  border-left: 3px dashed #000;
}

.ticketContent {
  position: relative;
  height: auto;
}

.ticketContent.date {
  width: 30%;
  float: left;
  border-right: 3px dashed #bbb;
  padding: 0 30px 0 0;
}

.dayOfWeek {
  color: #f00;
  font-size: 25px;
}

.ticketNotice {
  border: 10px solid;
  border-radius: 50%;
  width: 165px;
  height: 165px;
  font-weight: bold;
  padding: 5px;
  text-align: center;
  margin: 0 auto;
  font-size: 100px;
}

.ticketNotice:after {
  display: inline-block;
}

/* ========================================
   VIDEO & CAMERA CONTROLS
   ======================================== */

#video-container {
  overflow: hidden;
}

video {
  width: 400%;
  height: 95vh;
  object-fit: contain;
  margin-top: -50px;
  margin-left: -140%;
}

.scan-region-highlight {
  width: 200px !important;
  height: 200px !important;
  top: 55% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

/* ========================================
   VENDOR SPECIFIC STYLES
   ======================================== */

.review-container {
  height: 25px;
}

.vendor-city {
  padding-left: 15px;
}

h3.about-seller-title {
  white-space: unset;
}

.description .padding-lg {
  margin-bottom: 15px;
}

/* ========================================
   SEARCH COMPONENTS
   ======================================== */

.following {
  color: #ff7f00 !important;
}

.unfollow {
  color: grey !important;
}

#SearchContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}

#SearchBar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#market-input-group {
  display: flex;
  flex: 1;
  position: relative;
  border: none;
  border-bottom: 1px solid #FF9700;
  border-radius: 0;
  padding-left: 10px;
  padding-right: 20px;
}

#market-form-control {
  position: relative;
  border: none !important;
  box-shadow: none !important;
  font-size: 16px !important;
  margin-bottom: 0 !important;
}

#market-search {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background-color: transparent;
  border-left: 0;
  color: #999;
}

.market-search-icon {
  padding-top: 4px;
}

.directory_search-col {
  padding-right: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media screen and (max-width: 1500px) {
  .sticky {
    top: 95px !important;
  }
}

@media screen and (max-width: 767px) {
  .directory_content-col {
    border-right: none;
  }
  
  .store-logo-container {
    padding-bottom: 16px;
  }
  
  .reimagine_header_container {
    height: 95px !important;
  }
  
  .sticky {
    padding-left: 12% !important;
    padding-right: 12% !important;
  }
  
  #SearchBar {
    padding-left: 11.5%;
    padding-right: 11.5%;
  }
  
  .directory_search-col {
    padding-right: 15px;
  }
}

@media (max-width: 768px) {
  .slider-section-title {
    font-size: 8vw;
  }
}

@media (max-width: 767px) {
  .bg-rtn-head {
    background-size: 100% 80%;
  }
}

@media (max-width: 479px) {
  .bg-rtn-head {
    background-size: 100% 70%;
  }
  
  section#page-content {
    margin: -80px 0px;
  }
}

@media (max-width: 375px) {
  .container.banner-slider-info {
    margin-top: -15%;
  }
  
  .bg-rtn-head {
    background-size: 100% 55%;
  }
  
  section#page-content {
    margin: -80px 0px;
  }
}

/* ========================================
   ACCESS CONTROL STYLES
   ======================================== */

.access-control-container {
  padding: var(--space-lg) var(--space-xl) var(--space-lg) var(--space-xl);
  margin-bottom: var(--space-lg);
}

.access-control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
  gap: var(--space-md);
}

@media (max-width: 576px) {
  .access-control-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .access-control-actions {
    width: 100%;
    margin-top: var(--space-sm);
  }
}

.access-control-content {
  margin-bottom: var(--space-md);
}

.access-control-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.access-control-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.access-control-content {
  background-color: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--lighter-grey);
}

.access-control-filter {
  margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
  .access-control-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
  
  .access-control-actions {
    width: 100%;
    justify-content: flex-start;
  }
  
  .access-control-container {
    padding: var(--space-md);
  }
  
  .access-control-content {
    padding: var(--space-md);
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Common colors referenced in inline styles */
.text-white { color: #ffffff !important; }
.text-orange { color: #ff7f00 !important; }
.text-primary { color: var(--primary-color) !important; }

/* Common spacing utilities */
.mb-10 { margin-bottom: 10px !important; }
.mt-60 { margin-top: 60px !important; }
.pt-60 { padding-top: 60px !important; }
.pt-26 { padding-top: 26px !important; }
.pt-40 { padding-top: 40px !important; }

/* Display utilities */
.d-inline-flex { display: inline-flex !important; }

/* Width utilities */
.w-350 { width: 350px !important; }

/* Font utilities */
.fw-600 { font-weight: 600 !important; }
.fs-3rem { font-size: 3rem !important; }
.fs-16 { font-size: 16px !important; }

/* ========================================
   HOME PAGE STYLES
   ======================================== */

/* Product cards slider */
.product-cards-slider {
  margin: 10px;
  position: relative;
}

@media (min-width: 1920px) {
  .product-cards-slider {
    max-width: 400px;
  }
}

/* Reimagine components */
.reimagine_navbar {
  margin-bottom: 0px !important;
}

.logo-div {
  min-height: 200px;
  max-height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.logo-bg-div > a > img {
  display: block;
  margin: auto;
}

.ribbon-lg {
  width: 150px;
  height: 150px;
  overflow: hidden;
  position: absolute;
  top: -10px;
  right: -9px;
  z-index: 10;
}

.reimagine_featuredin-item > h3 {
  font-size: 18px !important;
}

.reimagine_section {
  border-top: none !important;
  margin-top: 80px;
}

.panel.reimagine_panel-prod-item {
  margin: auto;
}

/* Layout overrides - removed problematic mainbody display:none rule that was hiding Dashboard content */

.footer-top > .container-fluid {
  padding: 0px !important;
  margin: 0px !important;
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

.contact-header {
  background-size: 96% 100%;
  padding: 100px;
  margin: 10px;
}

.contact-header h1.breadcrumbs-title {
  color: #AAA;
}

.contact-row > div {
  cursor: pointer;
}

.message-box {
  border-radius: 5px;
  border: 2px solid whitesmoke;
}

.message-box input {
  width: 80%;
  height: 28px;
  border-radius: 3px;
}

.custom-textarea {
  border-radius: 3px;
  height: 60px;
}

@media only screen and (max-width: 991px) {
  .img-col-2 {
    width: 100%;
  }
}

@media only screen and (min-width: 992px) {
  .img-col-2 {
    max-width: 100%;
  }
}

/* ========================================
   CHAMBER ONBOARDING STYLES
   ======================================== */

/* Dynamic form layout styles (ChamberOnboarding.mox) */
.onboarding-right-col .form-group:nth-child(2),
.onboarding-right-col .form-group:nth-child(3),
.onboarding-right-col .form-group:nth-child(4),
.onboarding-right-col .form-group:nth-child(6),
.onboarding-right-col .form-group:nth-child(7),
.onboarding-right-col .form-group:nth-child(8),
.onboarding-right-col .form-group:nth-child(13),
.onboarding-right-col .form-group:nth-child(14),
.onboarding-right-col .form-group:nth-child(15) {
  width: 50%;
  clear: none;
  float: left;
}

.onboarding-right-col .form-group:nth-child(14) {
  margin-top: 18px;
}

#Capcha {
  width: auto;
  height: 100%;
}

@media (min-width: 1200px) {
  .onboarding-right-col .form-group:nth-child(14) {
    margin-top: 6px;
  }
}

/* Success registration styles */
.btn-default.chamber-signup {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.btn.chamber-signup {
  border-radius: 0;
  background-image: none;
  border: none;
  outline: none;
  text-shadow: none;
  padding: 14px 40px;
  font-weight: 400;
  letter-spacing: .1em;
}

.register-success {
  text-align: center;
}

.checkmark__circle {
  stroke-dasharray: 216;
  stroke-dashoffset: 216;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #7ac142;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
  width: 155px;
  height: 155px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #fff;
  stroke-miterlimit: 10;
  margin: 80px auto;
  box-shadow: inset 0px 0px 0px #7ac142;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 98;
  stroke-dashoffset: 98;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 80px #7ac142;
  }
}

/* ========================================
   DELIVERY FILTERS (Deliveries.mox)
   ======================================== */

#delivery-filters input {
  margin-right: 10px;
}

#delivery-filters label, 
#delivery-filters span > b {
  margin-right: 20px;
}

/* ========================================
   INVENTORY STATUS STYLES
   ======================================== */

#DataTableroutepricingOutput1_wrapper { 
  margin-top: 10px; 
}

#product-image { 
  transition: all .2s ease-in-out; 
}

#product-image:hover { 
  transform: scale(1.1); 
  cursor: pointer; 
}

#img-container { 
  display: block; 
  margin-left: auto; 
  margin-right: auto; 
  max-height: 100%; 
  max-width: 100%; 
}

.singleline {
  white-space: nowrap;
  width: 634px;
  text-overflow: ellipsis;
  cursor: pointer;
  overflow: hidden;
}

.section-header {
  padding: 30px 50px 10px; 
  padding-bottom: 30px;
}

/* ========================================
   BUNDLE MANAGEMENT STYLES
   ======================================== */

#productListing {
  margin-top: 15px;
  height: 250px;
  overflow: auto;
}

#loadMore {
  display: none;
}

#bundleProducts {
  height: 500px;
  overflow: auto;
}

#photoArea img {
  width: 500px;
  height: 100%;
  padding: 5px;
}

.qty-btn {
  width: 20px;
  font-size: 12px;
  float: left;
  padding: 2px;
}

.qty-display {
  width: 25px;
  text-align: center;
  margin-top: 6px;
  color: #0da5b5;
  font-weight: bold;
  float: left;
}

.product-qty-display {
  width: 80px;
  height: 25px;
  text-align: center;
  padding: 5px 10px;
  margin-top: 6px;
  border-radius: 5px;
  font-size: 12px;
  color: #000;
  background: #ffffe3;
  border: 2px solid #eeee2c;
  font-weight: bold;
  float: left;
}

.product-price-display {
  float: left;
  padding: 8px;
  font-weight: bold;
  color: #000;
}

.product-name-display {
  padding: 5px;
  background: #FF7F00;
  color: #fff;
  width: 300px;
  font-weight: bold;
  text-align: center;
}

.product-desc-display {
  padding: 5px;
  color: #666;
  width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-border {
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  padding: 0px 10px 10px 10px;
}

.bundleDisplayRow {
  border: 2px dashed var(--primary-color);
  border-radius: 15px;
  margin: 15px;
  background: #fcfcfc;
}

/* ========================================
   BUSINESS MANAGEMENT STYLES
   ======================================== */

.message-box-section {
  margin-bottom: 20px;
}

#Subscribed {
  cursor: default;
}

#cancel-sub {
  cursor: not-allowed;
}

.active-cancel {
  color: crimson;
  cursor: pointer !important;
}

.btn-group-conf-no {
  display: flex;
}

/* Cart modals */
.cart-plus-minus {
  display: inline-block;
}

/* Marketplace join styles */
ul.pay-proc-list li {
  list-style: unset; 
  color: gray;
}

.no-btn {
  background: #dcdcdc none repeat scroll 0 0; 
  color: dimgray;
}

/* ========================================
   EVENT MANAGEMENT STYLES
   ======================================== */

.panel-default > .panel-heading {
  background-image: unset;
  text-shadow: unset;
  background-color: var(--primary-color);
  color: #fff;
  padding: var(--space-md);
  font-weight: 600;
  font-size: 14px;
}

.panel-default > .panel-body {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  border: 1px solid var(--light-grey);
  border-top: none;
  padding: var(--space-md);
  background: white;
}

/* Fix button text visibility in panels */
.panel-default .btn-default,
.panel-default .btn-default[target="_blank"] {
  background: var(--primary-color) !important;
  color: white !important;
  border: 1px solid var(--primary-color) !important;
  margin-right: 8px !important;
  margin-bottom: 8px !important;
  padding: 8px 16px !important;
  display: inline-block !important;
  text-decoration: none !important;
  font-weight: normal !important;
  transform: none !important;
  box-shadow: none !important;
  margin-top: 0 !important;
}

.panel-default .btn-default:hover {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: white !important;
}

/* Remove hover effects from non-collapsible panel headings */
.panel-default > .panel-heading:hover {
  background-color: var(--primary-color) !important;
  background-image: unset !important;
}

/* ========================================
   ME.MOX - USER PROFILE STYLES
   ======================================== */

/* Saved Cards Functionality */
#btnSavedCards {
  padding: 0px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
}

a#btnSavedCards:hover {
  color: var(--off-white-1);
}

.saved-card {
  margin: 10px auto;
  padding: 10px;
  border: 1px solid var(--off-white-1);
  border-radius: 5px;
}

.saved-card-details {
  border-right: 1px solid var(--off-white-1);
}

.saved-card-btn {
  padding: 10px 0px;
}

.saved-card-auto-note {
  color: var(--tertiary-color);
}

.card-delete {
  color: var(--branded-peach);
}

.btn-edit {
  padding: 7px 15px;
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
  border-radius: var(--radius-sm);
}

.btn-edit:hover,
.btn-edit:focus {
  background: var(--tertiary-color);
  border-color: var(--tertiary-color);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 165, 181, 0.4);
  text-decoration: none;
}

.btn-delete {
  padding: 7px 15px;
  background: var(--branded-peach);
  border-color: var(--branded-peach);
  color: white;
  border-radius: var(--radius-sm);
}

.btn-delete:hover,
.btn-delete:focus {
  background: #e04848;
  border-color: #e04848;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 89, 90, 0.4);
  text-decoration: none;
}

/* Profile Form Layout */
.form-group:last-child > div {
  display: flex;
  flex-direction: column;
  margin: 10px;
  max-width: 100% !important;
}

.form-horizontal#SignupSave > .form-group > .col-lg-6 > button {
  width: 100%;
}

.form-horizontal#SignupSave > .form-group > .col-lg-6 > button > a {
  color: white;
}

.form-horizontal#SignupSave > .form-group > .col-lg-6 > button > a:hover {
  color: #337ab7;
}

@media only screen and (max-width: 450px) {
  .form-group:last-child {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
  }
  
  .form-group:last-child > div {
    display: flex;
    flex-direction: column;
    margin: 10px;
    padding: 0;
    max-width: 100% !important;
  }
  
  .col-lg-6.changepassword.btn.btn-default {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* ========================================
   MEMBERSHIPS.MOX - MARKETPLACE STYLES
   ======================================== */

/* Product Display Elements */
.toggleMoreLess, 
.readMoreModal {
  color: #337ab7;
  transition: all 0.3s ease-out 0s;
  cursor: pointer;
}

.product-check {
  color: #4caf50;
}

.product-info {
  height: auto;
}

div.product-item {
  height: auto;
  flex-direction: unset;
}

/* Black Friday Banner Styles */
.bf-jumbotron {
  border-radius: 0 !important;
  cursor: pointer;
  background-image: url("/Black-Friday/black-friday.jpg");
  background-size: cover;
  background-position: center;
  height: min-content;
  position: relative;
}

.bf-jumbotron::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.85);
}

.bf-container {
  position: relative;
  z-index: 2;
}

.bf-header-row {
  display: flex;
}

.bf-header-flex-1, 
.bf-header-flex-2 {
  display: inline-flex;
}

.bf-col-deals-start {
  text-align: center;
}

.bf-wrapper {
  color: #fff !important;
  background-color: #ff1616 !important;
  display: inline-block;
  padding: 4px 24px;
  margin-top: 24px;
}

.bf-wrapper > * {
  color: #fff;
  margin: 0;
  padding: 0;
}

.bf-wrapper h3 {
  font-size: 38px;
  line-height: .8;
}

.bf-wrapper p {
  line-height: 1;
  font-size: 18px;
  font-weight: 100;
  margin-bottom: 0 !important;
  padding-top: 8px;
}

@media (min-width: 992px) {
  .row.bf-header-row {
    max-width: max-content;
    margin: auto;
  }
  
  .bf-header-flex-1 {
    margin: auto 0 auto auto;
    flex-shrink: 0;
  }
  
  .bf-header-flex-2 {
    margin: auto auto auto 0;
    padding-left: 20px;
  }
  
  .bf-heading-1 {
    font-size: 70px!important;
    color: white !important;
    font-weight: 400 !important;
    letter-spacing: -1px !important;
    position: relative;
    display: inline-block;
    border-bottom: 4px solid #ff1616;
    border-top: 4px solid #ff1616;
  }
  
  .bf-heading-2 {
    line-height: 1 !important;
    color: #ff1616 !important;
    font-weight: 600 !important;
    letter-spacing: -1px !important;
    display: inline-block;
    font-size: 128px !important;
  }
}

@media (max-width: 992px) {
  .row.bf-header-row {
    flex-direction: column;
  }
  
  .bf-heading-1 {
    color: white !important;
    white-space: nowrap;
    font-size: 9vw !important;
    border-bottom: 4px solid #ff1616;
    border-top: 4px solid #ff1616;
  }
  
  .bf-heading-2 {
    line-height: .8 !important;
    color: #ff1616 !important;
    font-weight: 600 !important;
    letter-spacing: -1px !important;
    display: inline-block;
    font-size: 128px !important;
  }
  
  .bf-header-flex-1, 
  .bf-header-flex-2 {
    display: inline-flex;
    justify-content: center;
  }
}

/* ========================================
   ABOUT.MOX - ABOUT PAGE STYLES
   ======================================== */

.featured-content-container {
  border-bottom: 1px solid #eee;
  margin-top: 40px;
  margin-bottom: 40px;
  padding-bottom: 50px;
}

.uppercase {
  text-transform: uppercase;
  text-align: center;
  margin-top: 30px;
}

.contact-row > div {
  cursor: pointer;
}

.featured-row {
  height: 220px;
}

.tenant-email,
.tenant-website,
.tenant-phone {
  text-align: center;
}

#box-contain {
  max-height: 230px;
}

#overview-text p,
#about-text p {
  font-weight: unset;
}

.tenant-overview {
  padding: 3% 6%;
  height: 100%;
  justify-content: center;
}

.section-title-dark {
  margin: unset;
}

.row.bw-header-row {
  flex-direction: column;
}

/* Banner Styles for About */
.bw-header-row {
  display: flex;
}

.fitwidth {
  width: 100%;
}

.bw-col-deals-start {
  text-align: center;
}

.bw-wrapper {
  color: #fff !important;
  background-color: #ff1616 !important;
  display: inline-block;
  padding: 4px 24px;
  margin-top: 24px;
}

.bw-wrapper > * {
  color: #fff;
  margin: 0;
  padding: 0;
}

.bw-wrapper h3 {
  font-size: 34px;
  line-height: .8;
  font-weight: 500;
}

.bw-wrapper p {
  line-height: 1;
  font-size: 16px;
  font-weight: 100;
  margin-bottom: 0 !important;
  padding-top: 8px;
}

#navtopcontainer {
  background-color: #fff;
  margin-top: 5px;
  padding-left: 0;
  padding-right: 0;
  position: relative;
  top: 0;
  z-index: 10;
  padding-top: 10px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.bw-header-flex-1, 
.bw-header-flex-2 {
  display: flex;
  justify-content: center;
  justify-items: center;
  flex-wrap: nowrap;
}

p {
  font-size: inherit;
  color: inherit;
}

.single-brand-product img {
  width: 50%;
  margin: 0 auto;
}

.col-xs-12.col-sm-6.col-md-3.blog.blog-item.slick-slide.slick-active {
  padding: 0;
}

.experience-wrapper {
  overflow: auto;
}

@media only screen and (max-width: 540px) {
  /* Scrollbar */
  ::-webkit-scrollbar {
    height: 2px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: rgb(204, 204, 204);
    background-clip: content-box;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #999999;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #464646;
  }
}

/* ========================================
   BLOG.MOX - BLOG SYSTEM STYLES
   ======================================== */

.caption {
  margin: 0px 0px 0px 15px;
}

.dangerarea {
  display: none;
}

#successArea2 {
  display: none;
}

.del {
  width: 2%;
  float: left;
}

.comments-section > * {
  font-family: "Montserrat", sans-serif !important;
}

.main-blog-heading {
  font-family: "Montserrat", sans-serif !important;
}

.search-row {
  float: right;
}

.page-heading {
  text-align: center;
}

.page-heading > p {
  color: #838383;
}

.Blog-search-col {
  float: right;
  margin: 0px 30px 0px 0px;
}

.Comment-heading {
  padding: 10px;
  text-transform: uppercase;
  font-size: 35px !important;
}

.comment-heading-2 {
  text-transform: uppercase;
  font-size: 16px !important;
}

.comment-desc {
  font-weight: unset;
}

.blog-heading {
  text-align: center;
  padding: 10px;
  text-transform: uppercase;
  font-size: 24px !important;
  text-overflow: ellipsis;
  word-wrap: break-word;
  overflow: hidden;
  max-height: 90px;
  line-height: 1.2em;
  font-weight: 500;
  min-height: 90px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-family: "Montserrat", sans-serif;
}

#bloglist {
  margin-top: 10px;
  margin-bottom: 10px;
  min-height: 550px;
}

.blog-type {
  color: #838383;
  text-align: center;
  font-size: 12px;
  font-family: "Montserrat", sans-serif !important;
  padding: 10px;
  width: 100%;
}

.blog-type > p {
  width: 35%;
  border-top: 1px solid grey;
  border-bottom: 1px solid grey;
  padding: 7px;
  margin-left: 32%;
  text-transform: uppercase;
}

.blog-date {
  color: #838383;
  text-align: center;
  font-size: 15px;
  font-family: "Montserrat", sans-serif !important;
  margin-top: 15px;
}

.blog-details-area > .blog-details-photo {
  padding: 0px !important;
}

.blog-page-heading {
  text-align: center;
  padding: 10px;
  text-transform: uppercase;
  font-size: 35px !important;
  display: block;
  line-height: 1.1em;
  font-weight: 500;
}

.share-btn-blogs {
  display: flex;
  justify-content: center;
  align-items: center;
}

.share-modal-btn {
  border: 1px solid #999999;
  border-radius: 50px;
  height: 50px;
  width: 50px;
  padding-right: 10px;
}

.share-modal-btn:hover {
  border-color: #ff7f00;
}

.del:hover {
  color: #ff7f00;
}

.edit-comment {
  float: left;
}

.edit-comment:hover {
  color: #ff7f00;
}

.share-blog-heading {
  padding-top: 20px;
  text-transform: uppercase;
  font-size: 22px !important;
}

.blog-description > p > a {
  color: #ff7f00;
}

@media screen and (max-width: 767px) {
  .mobile-blogview {
    padding: 15px;
  }
  
  #BlogPagination {
    margin-top: 10px;
  }
  
  .Blog-search-col {
    float: none;
    margin: 0px;
  }
  
  .blog-heading {
    min-height: unset;
  }
}

@media screen and (max-width: 700px) {
  .edit-comment {
    float: left;
    margin-left: 12px;
  }
}

/* ========================================
   PRODUCT.MOX - PRODUCT PAGE STYLES
   ======================================== */

.event-description img {
  float: none !important;
  max-width: 145px;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media only screen and (max-width: 600px) {
  #optionSelect {
    margin-bottom: 0px !important;
  }
}

/* ========================================
   QUALITY CONTROL STYLES
   ======================================== */

input.chkPassedQC, 
input.chkPassedVV, 
input.chkProductSA, 
input.chkVendorSA, 
input.chkPassedCtgQC, 
input.chkCtgSA {
  width: 20px;
  height: 20px;
}

#vendor-filters input {
  margin-right: 10px;
}

#vendor-filters label, 
#vendor-filters span, 
.product-filters label, 
.product-filters span, 
#ctg-filters label, 
#ctg-filters span {
  margin-right: 20px;
}

div#menu-vendors-qc,
div#menu-products-qc {
  margin: 10px;
}

div#vendor-filters {
  padding-left: 13px;
}

#exportbtn, 
#accesscontrolbtn {
  margin-top: -75px;
  margin-left: 15px;
  padding-left: 14px;
  padding-right: 14px;
}

@media (max-width: 330px) {
  a#exportbtn, 
  a#accesscontrolbtn {
    font-size: 12px;
  }
  
  button.btn.btn-default {
    font-size: 12px;
  }
}

.overview-criteria {
  margin-bottom: 4px;
}

/* ========================================
   REPORTS.MOX - REPORTS STYLES
   ======================================== */

#ReportContainer {
  margin: 0 5vw;
}

small.info {
  color: var(--light-grey);
}

span.warning {
  color: var(--branded-yellow);
}

span.danger {
  color: var(--branded-peach);
}

ul#summaryLegend, 
ul#summaryLegend > li {
  list-style-type: disc;
}

a.invoice-num {
  color: #ff7f00;
}

/* ========================================
   REVENUE DASHBOARD STYLES
   ======================================== */

.negative-value {
  color: #C00;
}

.low-value {
  color: #800;
}


/* Tab Navigation - Match NavBox Header Style */
.nav-tabs {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  border: none !important;
  margin-bottom: var(--space-md);
  padding: 0 var(--space-md);
}

/* Allow mb-30 class to override default margin-bottom */
.nav-tabs.mb-30 {
  margin-bottom: 16px !important;
  min-height: 20px !important; /* Set shorter minimum height */
}

/* Fix gap when nav-tabs is immediately followed by tab-content */
.nav-tabs + .tab-content {
  margin-top: -16px;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  padding: 0;
}

.nav-tabs.mb-30 + .tab-content {
  margin-top: -16px;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  padding: 0;
}

.nav-tabs > li {
  margin-bottom: -1px;
}

.nav-tabs > li > a {
  color: rgba(255, 255, 255, 0.8) !important;
  border: none !important;
  background: transparent !important;
  padding: 6px var(--space-md) !important;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-top: 4px;
  display: block;
  text-decoration: none;
}

.nav-tabs > li > a:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  border: none !important;
  text-decoration: none;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
  background: white !important;
  color: var(--primary-font-color) !important;
  border: none !important;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  margin-top: 4px;
  text-decoration: none;
}

/* Tab Content - Match NavBox Body */
.tab-content {
  background: white;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--light-grey);
  border-top: none;
}

.tab-content .tab-pane {
  padding: 0;
}

/* Form Styling - Match NavBox List Items */
.form-horizontal .form-group {
  margin: 0;
  padding: var(--space-md) 0;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
}

.form-horizontal .form-group:last-child {
  border-bottom: none;
}

/* Remove border from form groups immediately before hr elements */
.form-horizontal .form-group + hr {
  margin-top: var(--space-md);
}

.form-horizontal .form-group:has(+ hr) {
  border-bottom: none;
  margin-bottom: var(--space-sm);
}

/* Handle form groups that contain hr elements */
.form-horizontal .form-group:has(hr) {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* Remove border from form groups immediately before form groups with hr */
.form-horizontal .form-group:has(+ .form-group hr) {
  border-bottom: none;
  margin-bottom: var(--space-sm);
}

/* Fallback for browsers that don't support :has() */
.form-horizontal .form-group:nth-last-child(2) {
  border-bottom: none;
  margin-bottom: var(--space-sm);
}

.form-horizontal .form-group:hover {
  background: rgba(0, 165, 181, 0.02);
}

.form-horizontal .control-label {
  color: var(--primary-medium-grey);
  font-weight: 500;
  padding-top: 8px;
}

.form-horizontal .form-control {
  border: 1px solid var(--lighter-grey);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  width: 100%;
  display: block;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  box-sizing: border-box;
}

.form-horizontal .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 165, 181, 0.1);
  outline: 0;
}

/* Ensure select elements match input width exactly */
.form-horizontal select.form-control {
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  border: 1px solid var(--lighter-grey);
  border-radius: var(--radius-sm);
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 12px;
  padding-right: 32px;
}

.form-horizontal select.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 165, 181, 0.1);
  outline: 0;
}

/* Ensure text inputs match select width exactly */
.form-horizontal input[type="text"].form-control,
.form-horizontal input[type="email"].form-control,
.form-horizontal input[type="password"].form-control,
.form-horizontal input[type="number"].form-control,
.form-horizontal input[type="tel"].form-control,
.form-horizontal input[type="url"].form-control {
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  border: 1px solid var(--lighter-grey);
  border-radius: var(--radius-sm);
  box-sizing: border-box;
}

/* Textarea styling - allow proper height and resizing */
.form-horizontal textarea.form-control {
  width: 100%;
  height: auto;
  min-height: 80px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  border: 1px solid var(--lighter-grey);
  border-radius: var(--radius-sm);
  box-sizing: border-box;
  resize: vertical;
  overflow-y: auto;
}

.form-horizontal textarea.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 165, 181, 0.1);
  outline: 0;
}

/* Checkbox Styling - Fix positioning and alignment */
.form-horizontal .checkbox {
  position: relative;
  display: block;
  margin-top: 0;
  margin-bottom: 0;
}

.form-horizontal .checkbox label {
  display: flex;
  align-items: flex-start;
  font-weight: normal;
  cursor: pointer;
  text-align: left;
  padding-left: 0;
  padding-top: 0;
  margin-bottom: 0;
  min-height: 20px;
  gap: 8px;
}

.form-horizontal .checkbox input[type="checkbox"] {
  position: static;
  margin: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}

.form-horizontal .checkbox label span {
  flex: 1;
  line-height: 1.4;
}

/* Fix checkbox form-group alignment */
.form-horizontal .form-group .checkbox {
  margin-top: 0;
  margin-bottom: 0;
}

.form-horizontal .form-group:has(.checkbox) {
  display: block;
}

.form-horizontal .form-group:has(.checkbox):hover {
  background: transparent;
}

/* Alert Styling - Keep Original Colors */
.alert {
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: var(--space-lg);
}

/* Hide empty alerts - prevent empty alert boxes from showing */
.alert:empty,
.alert-box:empty,
.alert .alert-message:empty {
  display: none !important;
}

/* Hide alerts with only empty paragraph */
.alert:has(.alert-message:empty),
.alert-box:has(.alert-message:empty) {
  display: none !important;
}

/* Fallback for browsers that don't support :has() - hide if only whitespace */
.alert .alert-message:empty {
  display: none;
}

.alert:has(.alert-message:only-child:empty) {
  display: none !important;
}

/* Additional fallback - hide alerts with no visible content */
.alert-box {
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: var(--space-lg);
}

.alert-box .alert-message:empty {
  display: none;
}

.alert-box:not(:has(> *:not(:empty))) {
  display: none !important;
}

/* Button Styling - Unified btn-info style with enhanced hover effects */
.btn {
  border-radius: var(--radius-sm);
  padding: 8px var(--space-md);
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1.42857143;
  user-select: none;
  margin-right: 6px;
  margin-bottom: 6px;
}

/* Remove button margins within button groups - they should be connected */
.btn-group .btn {
  margin-right: 0;
  margin-bottom: 0;
}

/* Button group styling */
.btn-group {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
  margin-right: 6px;
  margin-bottom: 6px;
  white-space: nowrap;
}

.btn-group > .btn:first-child {
  margin-left: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.btn-group > .btn:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.btn-group > .btn:not(:first-child):not(:last-child) {
  border-radius: 0;
}

/* Ensure buttons in group stay connected */
.btn-group > .btn + .btn {
  margin-left: -1px;
}

/* Dropdown toggle button in button group */
.btn-group > .dropdown-toggle {
  padding-left: 8px;
  padding-right: 8px;
  margin-left: -1px;
}

.btn-group > .btn + .dropdown-toggle {
  padding-left: 8px;
  padding-right: 8px;
  margin-left: -1px;
}

/* Ensure all buttons in group use our unified styling */
.btn-group > .btn {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1.42857143;
  user-select: none;
  margin-right: 0;
  margin-bottom: 0;
}

.btn-group > .btn:hover,
.btn-group > .btn:focus {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 165, 181, 0.4);
  text-decoration: none;
}

.btn-group > .btn:active {
  background: var(--tertiary-color);
  border-color: var(--tertiary-color);
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 165, 181, 0.3);
}

/* Handle small button sizing in groups */
.btn-group > .btn-sm {
  padding: 5px 10px;
  font-size: 12px;
}

/* Base button styles - btn-info appearance for all buttons */
.btn-default,
.btn-info,
.btn-primary,
.btn-success,
.btn-warning {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  font-size: 14px;
  padding: 6px 12px;
}

/* Delete/Danger buttons - red for clear visual distinction */
.btn-danger,
.btn-delete,
button[class*="delete"],
a[class*="delete"],
input[class*="delete"] {
  background: var(--branded-peach);
  border-color: var(--branded-peach);
  color: white;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1.42857143;
  user-select: none;
}

/* Secondary button styling - smaller size, better color */
.btn-secondary {
  background: var(--branded-blue);
  border-color: var(--branded-blue);
  color: var(--primary-dark-grey);
  font-size: 12px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1.42857143;
  user-select: none;
  margin-right: 6px;
  margin-bottom: 6px;
}

/* Enhanced hover effects - btn-info style animation */
.btn-default:hover,
.btn-default:focus,
.btn-info:hover,
.btn-info:focus,
.btn-primary:hover,
.btn-primary:focus,
.btn-success:hover,
.btn-success:focus,
.btn-warning:hover,
.btn-warning:focus {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 165, 181, 0.4);
  text-decoration: none;
}

/* Delete/Danger button hover effects */
.btn-danger:hover,
.btn-danger:focus,
.btn-delete:hover,
.btn-delete:focus,
button[class*="delete"]:hover,
a[class*="delete"]:hover,
input[class*="delete"]:hover,
button[class*="delete"]:focus,
a[class*="delete"]:focus,
input[class*="delete"]:focus {
  background: #e04848;
  border-color: #e04848;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 89, 90, 0.4);
  text-decoration: none;
}

/* Secondary button hover effects */
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(197, 217, 231, 0.4);
  text-decoration: none;
}

/* Active state */
.btn-default:active,
.btn-info:active,
.btn-primary:active,
.btn-success:active,
.btn-warning:active {
  background: var(--tertiary-color);
  border-color: var(--tertiary-color);
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 165, 181, 0.3);
}

/* Delete/Danger button active state */
.btn-danger:active,
.btn-delete:active,
button[class*="delete"]:active,
a[class*="delete"]:active,
input[class*="delete"]:active {
  background: #d32f2f;
  border-color: #d32f2f;
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(255, 89, 90, 0.3);
}

.btn-secondary:active {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(197, 217, 231, 0.3);
}

/* Disabled state */
.btn-default:disabled,
.btn-info:disabled,
.btn-primary:disabled,
.btn-success:disabled,
.btn-warning:disabled,
.btn-danger:disabled,
.btn-secondary:disabled,
.btn-default.disabled,
.btn-info.disabled,
.btn-primary.disabled,
.btn-success.disabled,
.btn-warning.disabled,
.btn-danger.disabled,
.btn-secondary.disabled {
  background: var(--lighter-grey);
  border-color: var(--lighter-grey);
  color: var(--light-grey);
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}



/* List Group Styling - Match NavBox Lists */
.list-group {
  border-radius: var(--radius-md);
  border: 1px solid var(--light-grey);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: var(--space-lg);
  overflow: hidden;
}

.list-group-item {
  border: none;
  border-bottom: 1px solid #f0f0f0;
  padding: var(--space-md);
  transition: all 0.2s ease;
  margin-bottom: 0;
}

.list-group-item:first-child {
  border-radius: 0;
}

.list-group-item:last-child {
  border-bottom: none;
  border-radius: 0;
}

.list-group-item:only-child {
  border-radius: 0;
}

.list-group-item:hover {
  background: rgba(0, 165, 181, 0.05);
}

/* Fix vertical alignment for remove buttons in list groups */
.list-group-item .row {
  display: flex;
  align-items: center;
}

/* Stack the first two columns vertically on the left */
.list-group-item .row > div:nth-child(1),
.list-group-item .row > div:nth-child(2) {
  flex: 0 0 auto;
  width: auto;
  margin-right: 0;
}

.list-group-item .row > div:nth-child(1) {
  order: 1;
}

.list-group-item .row > div:nth-child(2) {
  order: 2;
}

/* Create a wrapper for the left content */
.list-group-item .row {
  flex-wrap: wrap;
}

.list-group-item .row > div:nth-child(1) {
  width: calc(100% - 120px);
  margin-bottom: 4px;
}

.list-group-item .row > div:nth-child(2) {
  width: calc(100% - 120px);
  margin-bottom: 0;
}

/* Ensure form controls match width exactly */
.list-group-item .row > div:nth-child(1) .form-control,
.list-group-item .row > div:nth-child(2) .form-control {
  width: 100%;
  box-sizing: border-box;
}

/* Responsive stacking for small screens */
@media (max-width: 768px) {
  .list-group-item .row > div:nth-child(1) {
    width: 100%;
    margin-bottom: 8px;
    order: 1;
  }
  
  .list-group-item .row > div:nth-child(2) {
    width: 100%;
    margin-bottom: 8px;
    order: 2;
  }
  
  .list-group-item .row > div:nth-child(3) {
    position: static !important;
    width: 100%;
    transform: none !important;
    top: auto !important;
    right: auto !important;
    display: flex;
    justify-content: center;
    margin-top: 8px;
    order: 3;
  }
  
  .list-group-item .row {
    flex-direction: column;
  }
}

/* Keep remove button on the right */
.list-group-item .row > div:nth-child(3) {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
}

.list-group-item .pull-right {
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Well Styling - Match NavBox Design */
.well {
  background: #fafafa;
  border: 1px solid var(--off-white-1);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-bottom: var(--space-lg);
}

/* Section Headers - Match NavBox Headers */
h1, h2, h3 {
  color: var(--primary-medium-grey);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

/* Style hr elements to match design */
hr {
  border: none;
  border-top: 2px solid var(--primary-color);
  margin: var(--space-md) 0 var(--space-md) 0;
}

/* Reduce top margin for hr elements inside form groups */
.form-group hr {
  margin-top: var(--space-sm);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .nav-tabs {
    padding: 0;
  }
  
  .nav-tabs > li {
    float: none;
    display: block;
  }
  
  .nav-tabs > li > a {
    border-radius: 0;
    margin-top: 0;
  }
  
  .nav-tabs > li.active > a {
    margin-top: 0;
    border-radius: 0;
  }
  
  .tab-content {
    padding: var(--space-md);
  }
}

/* ========================================
   FORM HOVER EFFECTS
   ======================================== */

/* Disable hover effects on read-only form fields */
.form-control[readonly]:hover,
.form-control[disabled]:hover {
    cursor: default;
    border-color: var(--lighter-grey) !important;
    background-color: #f9f9f9 !important;
}

/* Prevent parent form-group hover effects on read-only fields */
.form-group:has(.form-control[readonly]):hover,
.form-group:has(.form-control[disabled]):hover {
    background-color: transparent !important;
}

/* Disable hover effects on form-groups that contain headings (h1-h6) */
.form-group:has(h1):hover,
.form-group:has(h2):hover,
.form-group:has(h3):hover,
.form-group:has(h4):hover,
.form-group:has(h5):hover,
.form-group:has(h6):hover {
    background-color: transparent !important;
}

/* Style read-only fields to look different */
.form-control[readonly] {
    background-color: #f9f9f9;
    cursor: default;
    opacity: 0.8;
}

.form-control[disabled] {
    background-color: #f9f9f9;
    cursor: not-allowed;
    opacity: 0.6;
}

/* ========================================
   PAGE REORDERING SORTABLE ELEMENTS
   ======================================== */

/* Main sortable container */
#ContentCustomList {
    padding: 0;
    margin: 0;
    list-style: none;
    background: var(--off-white-1);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Sortable item styling */
.ui-sortable {
    padding: 0;
}

.sortable-item {
    background: white;
    border: 2px solid var(--lighter-grey);
    border-radius: var(--radius-sm);
    margin: 10px 0;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: move;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sortable-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 165, 181, 0.15);
}

.sortable-item.ui-sortable-helper {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: none;
    opacity: 1 !important;
    visibility: visible !important;
    background: white !important;
    border: 2px solid var(--primary-color) !important;
}

/* Sortable item text */
.sortable-item p {
    margin: 0;
    font-weight: 500;
    color: var(--primary-font-color);
    font-size: 1.1rem;
    flex-grow: 1;
}

/* Sortable item buttons */
.sortable-item .btn {
    margin-left: 10px;
    padding: 8px 15px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.sortable-item .btn-default {
    background: var(--primary-color);
    color: white;
}

.sortable-item .btn-default:hover {
    background: var(--secondary-color);
}

.sortable-item .btn-clear {
    background: var(--branded-peach);
    color: white;
}

.sortable-item .btn-clear:hover {
    background: #e74c3c;
}

.sortable-item .btn-danger {
    background: var(--branded-peach);
    color: white;
}

.sortable-item .btn-danger:hover {
    background: #e74c3c;
}

.sortable-item .btn a {
    color: white !important;
    text-decoration: none;
}

.sortable-item .btn .glyphicon {
    margin-right: 5px;
}

/* Dropdown styling */
.sortable-dropdown {
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    margin: 15px 0;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 165, 181, 0.1);
    cursor: move;
    position: relative;
}

/* Create a drop zone below the last dropdown */
.sortable-dropdown:last-child::after {
    content: "";
    display: block;
    height: 40px;
    width: 100%;
    position: absolute;
    bottom: -50px;
    left: 0;
    background: transparent;
    border: 2px dashed var(--lighter-grey);
    border-radius: var(--radius-sm);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.sortable-dropdown .dropdown-text {
    display: block;
    padding: 20px;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--primary-color);
    background: var(--branded-blue);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sortable-dropdown .dropdown-text:hover {
    background: var(--primary-color);
    color: white;
}

.sortable-dropdown:hover {
    box-shadow: 0 6px 16px rgba(0, 165, 181, 0.2);
    transform: translateY(-2px);
}

/* Dropdown content */
.ContentCustomDropdown {
    padding: 10px;
    margin: 0;
    list-style: none;
    background: var(--off-white-2);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    position: relative;
}

.ContentCustomDropdown .sortable-item {
    margin: 8px 0;
    padding: 12px 15px;
    background: white;
    border: 1px solid var(--lighter-grey);
    border-left: 4px solid var(--primary-color);
}

.ContentCustomDropdown .sortable-item:hover {
    border-left-color: var(--secondary-color);
}

/* Drag and drop visual indicators */
.sortable-item::before {
    content: "⋮⋮";
    color: var(--light-grey);
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.2rem;
    line-height: 1;
    letter-spacing: -2px;
}

.sortable-item:hover::before {
    color: var(--primary-color);
}

/* Simple sortable list styling (for FieldOrderList and similar) - exclude dropdown elements */
.ui-sortable li.ui-sortable-handle:not(.sortable-dropdown):not(.sortable-item) {
    background: white;
    border: 2px solid var(--lighter-grey);
    border-radius: var(--radius-sm);
    margin: 10px 0;
    padding: 15px;
    cursor: move;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-weight: 500;
    color: var(--primary-font-color);
    font-size: 1.1rem;
    list-style: none;
}

.ui-sortable li.ui-sortable-handle:not(.sortable-dropdown):not(.sortable-item):hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 165, 181, 0.15);
}

.ui-sortable li.ui-sortable-handle:not(.sortable-dropdown):not(.sortable-item).ui-sortable-helper {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: none;
}

/* Drag and drop visual indicators for simple lists - exclude dropdown elements */
.ui-sortable li.ui-sortable-handle:not(.sortable-dropdown):not(.sortable-item)::before {
    content: "⋮⋮";
    color: var(--light-grey);
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.2rem;
    line-height: 1;
    letter-spacing: -2px;
}

.ui-sortable li.ui-sortable-handle:not(.sortable-dropdown):not(.sortable-item):hover::before {
    color: var(--primary-color);
}

/* Responsive design */
@media (max-width: 768px) {
    .sortable-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    
    .sortable-item p {
        margin-bottom: 10px;
    }
    
    .sortable-item .btn {
        margin-left: 0;
        margin-right: 5px;
        margin-bottom: 5px;
    }
    
    #ContentCustomList {
        padding: 15px;
    }
    
    .ui-sortable li.ui-sortable-handle:not(.sortable-dropdown):not(.sortable-item) {
        padding: 12px;
        font-size: 1rem;
    }
}