

/* define variables for the primary colors */
:root {
  --bg-main: #f4f4f4;
  --bg-input: #ffffff;
  --bg-input-hover: #fafafa;
 
  --border-light: #dcdcdc;
  --border-medium: #bdbdbd;
  --border-dark: #2b2b2b;

  --text-main: #111111;
  --text-muted: #6b6b6b;
  --text-placeholder: #9a9a9a;

  --focus-ring: rgba(0, 0, 0, 0.15);
}
/*================================== navbar===========================*/
/* navbar default */
nav {
  display: grid; grid-template-columns: auto auto 60px 60px; 
  padding: 5px 10px; position: fixed; width: 100%; top: 0; z-index: 100; 
}
/*navbar with icons */
nav {
  display: grid; grid-template-columns: auto auto 50px 50px;
  grid-column-gap: 8px; padding: 5px 10px; position: fixed;
  width: 100%; top: 0; z-index: 100; color: white;
  height:30px; /*box-shadow: 0px 0px 4px #505359; background:#2E2E33; background-color:#45454D; */
}
nav div {
  margin:2px 10px;
}
.drop1 { position: relative; }
.drop-l { display: none; position: absolute; right:-25px; max-width: calc(100vw - 20px); box-sizing: border-box; }
.drop-h:hover { cursor: pointer; }
.frm-login { 
    display: grid; grid-template-columns: 100%;
    grid-row-gap: 5px; text-align: center;
}
.navtitle { grid-column: 1/3; text-align: start; font-size: 1.2em; }
.navicon { padding-top:2px; }
.show {  
    z-index: 10; width: 152px; /*background: #2E2E33;*/ 
    margin:0px 5px; padding: 5px; display: grid;

 }
 .mtit { color:white; }
a { text-decoration: none; color:white; }
/* Style for the dropdown container */


/* Style for the dropdown menu */
.dropdown-menu {
    max-height: 0; overflow: hidden; position: absolute; top: 100%;
    left: 0; background-color: #333; list-style-type: none; padding: 0;
    margin: 0; width: 122px; transition: max-height 0.3s ease-in-out; border-radius:0 0 2px 0;
    /* Add transition for max-height and opacity */
}
.dropdown-menu.active {
    max-height: 200px; /* Adjust the max-height based on your content */
    opacity: 1;
}
.dropdown-menu {
   /* display: grid; grid-template-columns: auto auto; grid-gap: 3px 3px; for box icon */
}
.dropdown-menu li {
    padding: 2px 10px; 
}
.dropdown-menu li a { color:white; /*font-size: 1.5em;*/ }

/* Style for the dropdown title */
.dropdown-title {
    color: white; height: 30px; 
    text-decoration: none;
    padding: 3px 7px;
    background-color: #333;
    cursor: pointer;            
    justify-content: space-between;
    align-items: center;
    /*transition: color 0.3s ease; /* Add transition for color */
}

/* Style for the toggle symbol */
.toggle-symbol {
    font-size: 1.1em; position: relative; top: 2px;
    margin-left: 7px;
    /*transition: transform 0.3s ease; /* Add transition for transform */
}

/* Style for the opened state */
.dropdown.opened .dropdown-menu {
    max-height: 200px; /* Adjust the max-height based on your content */
    
}

.dropdown.opened .dropdown-title {
    /*color: #ff5733; /* Change title color when opened */
}
.box-btns { background: none; border: none; color: white; font-size: 1.3em; cursor: pointer; }
.btn-box-log { background: transparent; color: white; border: none; padding: 0; cursor: pointer; }


/*a:any-link, a:hover { text-decoration: none; color:white; }*/
/*For hover drop down links*/
/*.drop:hover .drop-l { display:grid; grid-template-columns:auto;
  z-index: 10; width: 100%; background: lightgrey;
 }*/


.navbox {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 35px;
    background: #333;
    color: white;
}
.navit { color:white;}
.tool-box {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 50px;
    justify-content: center;
    margin-top: 7px;
    padding: 0;
    list-style: none;
}
.tool-box li span { font-size:1.5em; cursor:pointer; }
.subt { color: black; display:inline; }
/*=========BODY STUFF=============================================================   body: f5f5f5 e6e6e6*/
html {
  scroll-behavior: smooth;
}

/* Site-wide responsive primitives */
*, *::before, *::after { box-sizing: border-box; }
img, video, canvas, svg { max-width: 100%; height: auto; }
iframe { max-width: 100%; }

body { background: #e6e6e6; font-family: 'Roboto Condensed', sans-serif; background: #f4f4f4; }
body { 
  /* 1. Point to your cardboard texture file (.webp is recommended) */
  background-image: url('media/bcbgmel.jpg');

  /* 2. THE CRITICAL FIX: This stops the browser from zooming/stretching. */
  background-size: 300px;

  /* 3. This tells the browser to tile the image infinitely like wallpaper. */
  background-repeat: repeat;

  /* 4. This keeps the background still while the text moves over it (Optional). */
  background-attachment: fixed;
}
body {
  /* 1. We create a solid white base */
  background-color: #3b3b3b;

  /* 2. We load the image twice. The 'linear-gradient' acts as a bleach 
     to make the whole thing lighter and more subtle. */
  background-image: 
    linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.6)), 
    url('media/bcbgmel.jpg'), 
    url('media/bcbgmel.jpg');

  /* 3. This is the trick: The second image is shifted to the center,
     which places the 'middle' of the paper over the 'edges' of the first. */
  background-position: 0 0, 0 0, 50% 50%;

  /* 4. This shrinks the fibers so they aren't 'blown up' */
  background-size: auto, 500px, 500px;

  /* 5. Blending helps the two layers merge into one smooth surface */
  background-blend-mode: overlay;
  
  background-repeat: repeat;
  background-attachment: fixed;
}
.rlist { display: grid; }
a.lyks { color:#2e2e33; margin:0 10px; }
a { color:#2E2E33; } 
#content { opacity:0; margin:60px auto; max-width: 1000px; width: 100%; display: grid; 
  grid-template-columns: 90%; grid-row-gap: 50px; justify-content: center; text-shadow: 1px 2px 5px rgba(0,0,0,.2); }
.feat-box { /*display: grid; grid-column-gap:15px;*/ margin-top:50px; margin-bottom:50px; }
.feat-box a, .reason-box a { border-bottom: 2px dotted black; font-size: 1.1em; font-weight: 600; }
.feat-box h3 { font-size:1.2em; }
.reason-box { display: grid; grid-template-columns: auto auto; grid-column-gap:15px; margin-top:50px;  }
.d-bord { /*border-bottom: 7px dashed black; border-top: 7px dashed black;*/ padding: 5px 33px; /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);*/ }

#search:focus { outline:none; }
#stage {
  opacity: 0; margin:60px auto; width: 85%; display: grid; 
  grid-template-columns: 90%; justify-content: center;
}
h1, h2, h3, h4, h5, h6 { display: inline; }
b { font-family: 'Roboto Condensed', sans-serif;}

ul { padding: 0; }
li { list-style: none; }
.bpoints { padding-left:17px; }
.bpoints li { list-style:circle; }

.tog-on {
  display:grid; grid-template-columns:auto;
  z-index: 10; width: 100%; background: lightgrey;
 }
.basic-bite { display: grid; grid-template-columns: 60% auto; 
  padding: 10px; grid-column-gap: 10px; }
.mid-bite { display: grid; grid-template-columns: auto auto; 
  padding:10px; grid-column-gap: 10px; }
.mp-bit { text-align: center; background:white; padding: 20px 0; 
display: grid; grid-template-columns: auto auto; }
.mp-bit.lt { padding:0 0; }
.mp-bit.lt > div { display: grid; }
.mp-bit.rt { display: grid; grid-template-columns: 100%; padding: 0; }
.mp-bit.rt table { width:100%; }
.mp-bit.lt > div div:first-child { font-size: 1.3em;
    padding: 8px; background: #2c2c31; margin:0;
    color: white; display: inline; 
}
.mp-bit.lt > div span:last-child { 
  font-size:.71em; padding: 0px; 
  background: #e31515; background: unset; color: white; color:red;
  text-shadow: 0px 0px 3px red; line-height: 12px;
}
.mp-bit.lt > div div:first-child { 
  display: grid;
}
.mp-bit.lt > div:first-child{
  border-right: 1px dotted lightgrey;
}
.mp-bit.lt > div div h4 { margin:0; }
.sp-bit div:first-child { padding: 8px; background: #2c2c31; margin:0;
    color: white; }
.mp-bit.lt > div div:first-child { height: 47px; }
.mp-bit.lt div > h3 { border-bottom: 1px solid lightgrey; 
  width: 130px; margin-left: auto; margin-right: auto; padding: 5px 0; 
  height:70px;}
.sp-bit { background: white; }
.tblh { height:40px; }
.tblh th { padding-top:15px; background: #2c2c31; color:white; }
div iframe { width:100%; }
.gallery, .vid { overflow: hidden; height: 400px; }
/*div img { max-width: 100%; height: auto;}*/
div img { max-width: 100%; height: auto; object-fit: cover;}
a.infoa { color: black; text-decoration: underline; font-weight: bold; 
          font-size:1.2em;}
.sp-content { padding: 10px; }
.sp-content h5 a { color:black; text-decoration: underline; }
.refln { border-bottom: 3px dotted black; font-size: 0.8em; padding: 3px 9px;}
.cmarks { text-align:center; } /*Icons that visually represent the topic- purely design*/


.bcaltbiz { display: grid; grid-template-columns: auto auto auto; grid-column-gap: 5px; }
.alt-entry { width:120px; margin:5px; padding: 5px; }
.alt-box-wrapper {}
.alt-actions { }
.bcaltbizhead { font-size:1em; }
.bcaddaltbiz { width:250px; max-width:100%; margin: 10px; }
.bctag { width:100%; }
.bcdelete-btn { padding: 5px; }
.toolbelt { 
  display: grid; grid-template-columns: auto; grid-auto-flow: column; justify-content: start;
}
.tool { margin: 0 5px; cursor: pointer; }
.toolbelt b { } /*like/dislike/save/share?/*/
.toolbar { font-size: 1.3em; display: grid; grid-auto-flow: column; grid-auto-columns: auto; justify-content: stretch; margin:10px; }
.fa-bookmark-o, .fa-bookmark { margin:8px; }
.reason-list {
  
}
.reason-card {
  border: 1px solid #ddd; padding: 1em; margin-bottom: 1em; background: #fff;
}

/*gallery items (for animating)*/
.gitem { position: relative; height: auto; }
/*.gitem img { position: absolute; }*/
.gitem div { position: absolute; }
#b { width: 100%; height: 400px; background:url("media/rocksteady.jpg") no-repeat;
  background-size:cover;
}
#b img { object-fit: cover; }
.vid { width: 100%; height: 400px; }
.vid video { width:100%; height: 400px; object-fit: cover; }
/*end gallery items*/


#feature{
  background: blue; border:1px black solid; display:grid;
  height:450px;
}
#products {
  display:grid; grid-template-columns: auto auto auto auto; 
  justify-content:space-around; margin:50px 0;
}
.product {
  background: blue; width:200px; height: 360px; border:1px black solid;
}
.product:first-child {
  /*just to remove alerts*/
  color:inherit;
}
#news {
  margin:50px 0;
}

/*======= ICONS =============================================*/
.icon-thumb_up_off_alt, .icon-thumb_down_off_alt { font-size: 1.3em; }
.icon-thumb_down_alt, .icon-thumb_up_alt { font-size: 1,2em; }

/*====== CAMPAIGN CARDS (.campaign-grid) =======================================*/
 
.campaign-section {
    margin: 24px 0;
}
.campaign-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}
.campaign-title {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin: 0;
}
.campaign-see-all {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1px;
}
.campaign-see-all:hover {
    color: var(--text-main);
    border-bottom-color: var(--text-main);
}
 
/* Grid — 3 columns on wide, 2 on mid, 1 on narrow */
.campaign-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
@media (max-width: 640px) {
    .campaign-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}
@media (max-width: 400px) {
    .campaign-grid {
        grid-template-columns: 1fr;
    }
}
 
/* Card */
.campaign-card {
    display: block;
    text-decoration: none;
    color: var(--text-main);
    background: var(--card-bg, #fff);
    border: 0.5px solid var(--border-light);
    
    overflow: hidden;
    transition: border-color 0.15s;
}
.campaign-card:hover {
    border-color: var(--border-medium);
}
 
/* Image — 4:3 ratio, always same size, cover crop */
.campaign-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--border-light);
}
.campaign-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* .campaign-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%) brightness(0.92);
} */
/* Caption body — subtle, connected to image */
.campaign-body {
    padding: 9px 12px 12px;
    border-top: 0.5px solid var(--border-light);
}
.campaign-name {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    margin: 0 0 6px;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.campaign-stats {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 7px;
}
.campaign-withheld {
    font-weight: 500;
    color: var(--text-main);
}
.campaign-bar-wrap {
    height: 3px;
    background: var(--border-light);
    border-radius: 2px;
    overflow: hidden;
}
.campaign-bar {
    height: 100%;
    width: 100%;
    background: var(--text-main);
    border-radius: 2px;
    opacity: 0.6;
}
/* .campaign-card:hover .campaign-img-wrap img {
    filter: grayscale(60%) brightness(0.92);
} */
/*====== END CAMPAIGN CARDS ====================================================*/


/*======= FEED =========================================*/
.feedhead, .feedbelt, .feedfoot, .feedbody { margin:10px;}
.feed-card { margin:50px 0; padding: 5px; border: 1px solid #ccc;}
.card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 1px; padding: 24px; margin-bottom: 24px;
}
.card { background: #ffffff; border: 1px solid #e6e6e6; border-radius: 0; padding: 24px; margin-bottom: 26px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.feedbelt {
  display: grid; grid-template-columns: auto auto auto; margin: 10px; width: 280px;
}
.feedbody { margin: 20px 10px; max-height: 570px; overflow: auto;}
.feedfoot { 
  display:grid; grid-template-columns:auto auto auto;
  margin: 10px;
}
.feed-reason { max-width: 550px; }
.feed-size { font-size: 1.1em; }
.feed-item { margin:20px; }
.feed-tab { display: none; }
.feed-tab.active { display: block; }
.altbix { 
  display: inline-block;
  width: 100px; /* Fixed width to match button */
  padding: 8px 0; /* Adjusted padding to fit fixed width */
  background-color: #b3b3b3; /*#444 Dark grey base */
  color: #f7f7f7; /* Light grey text */
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1em; font-weight: bold;
  text-align: center; margin: 5px; border: 1px solid #a9a8a8;
}
.toggle-link {
  margin-right: 10px; text-decoration: none; font-weight: bold; color: #2E2E33;
}
.toggle-link.active {
  color: white;
  background-color:#2E2E33;/*  */
}
.tutorial {
    transition: opacity 0.18s ease; min-height: 200px; border: 3px dashed #ddd; 
    padding: 10px 14px; margin-bottom: 14px;
}
.tutorial.fade-out { opacity: 0; }
.tutorial.fade-in  { opacity: 1; }

#tutorial-title {
    font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    margin: 0 0 8px; color: #2E2E33;
}
#tutorial-desc {
    margin: 0; padding: 0;
}
#tutorial-desc ul {
    margin: 0; padding: 0 0 0 16px; list-style: disc;
}
#tutorial-desc ul li {
    font-size: 13px; line-height: 1.55; margin-bottom: 5px; color: #444;
}
#tutorial-desc p {
    font-size: 13px; line-height: 1.55; margin: 0; color: #444;
}
#tutorial-desc strong {
    color: #2E2E33; font-weight: 700;
}
.apexcharts-svg {  
  
  padding-top: 8px; background: #fff; box-shadow: 0 22px 35px -16px rgba(0,0,0, 0.1);
  width: 100% !important;
}
.apexcharts-canvas {
  width: 100% !important; max-width: 100%;
}
.apexcharts-gridline {
  stroke: #1A1105 !important; stroke-width: .3px !important;
}
.chart-wrapper {
  width: 100%; max-width: 600px; height: 400px;
}
.rsss { display: grid; grid-template-columns: 100%;}
.feedbox { display:grid; grid-template-columns: auto; }
.feed-chart { order:2; }

/*======= BUTTONS =========================================*/
.rectangular-sign {
  display: inline-block; width: 100px; /* Fixed width to match button */ padding: 8px 0; /* Adjusted padding to fit fixed width */
  background-color: #5b5b5b; /*#444 Dark grey base */ color: #f7f7f7; /* Light grey text */ box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  font-family: 'Roboto Condensed', sans-serif; font-size: 1em; font-weight: bold; text-align: center;  margin: 5px auto;
}
.load-more-btn {
  margin:20px;
}
/* Remove the pseudo-element entirely */
.rectangular-sign::before {
  display: none;
}
.btn-clear { background: transparent; border:none; font-size: 2em; }
.btn-secondary {
    display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; font-size: 14px;
    color: #111; background: #fff; border: 1px solid #cfcfcf; border-radius: 0; cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.btn-style1 { padding: 10px 16px; background: #333; color: #fff; border: none; cursor: pointer; }
.btn-style2 {
    display: inline-flex; align-items: center; justify-content: center; padding: 0px 16px; font-size: 14px; font-weight: bold; 
    color: #fff; background: #333; border-radius: 0; cursor: pointer; height: 30px; border: none;
}
.btn-style3 { padding: 0px 16px; background: #333; color: #fff; border: none; cursor: pointer; font-weight: bold; 
  letter-spacing: 2px; height:35px; width:80%; }
.btn-style4 { 
    display: inline-flex; align-items: center; justify-content: center; padding: 0px 16px; font-size: 14px; font-weight: bold;
    color: #fff; background: #333; letter-spacing: 2px; border: none; cursor: pointer; height: 40px; }
.btn-style5 {  background: #333; color: #fff; border: none; cursor: pointer; height: 30px; padding:5px; }
.btn-style6 { background: #333; color: #fff; border: none; cursor: pointer; height: 30px; text-align: center;  padding: 3px; font-weight: bold; }



.btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; font-size: 13px; color: #444; background: transparent;
    border: 1px solid transparent; border-radius: 0; cursor: pointer;
}
/*======= TAB =========================================*/

.tab-nav { margin: 40px auto; display: flex; border-bottom: 2px solid #ccc; cursor: pointer; }
.tab-nav li { list-style: none; padding: 10px 20px; border: 1px solid #ccc; border-bottom: none; background: #f5f5f5; margin-right: 5px; }
.tab-nav li.active { background: #fff; font-weight: bold; }
.tab-content { display: none; padding: 20px;  }
.tab-content.active { display: block; }
.pagination { margin-top: 20px; display: flex; justify-content: center; gap: 10px; }
.pagination button { padding: 5px 10px; }


/*======== ANIMATIONS ========================================================*/

.float-up {
  position: absolute;
  color: green;
  font-weight: bold;
  font-size: 14px;
  animation: rise 0.6s ease-out forwards;
  pointer-events: none;
  transform: translateY(0);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

@keyframes rise {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}
.like-cm, .like-bc {
  position: relative;
}

/*======== BUTTONS =============================================================*/
.leave-btn { margin:0; }
.pbtn, .leave-btn, .join-btn { color:white; background:#2E2E33; border:none; border-radius: -1px; }
.pbtn { width: 45px; margin:3px; height: 20px; font-size: .92em; }
.boycott form button { margin:3px; width:20px; font-size:.95em; height:25px; }
button.leave-btn { color:#2E2E33; background:transparent; }
.leave-btn span { margin:0; font-size:1.4em; }
.leave-btn span:hover { cursor:pointer; }
.join-btn { width: 150px; height: 40px; font-size: 1.2em;  }
.join-btn:hover { cursor:pointer; }
.basic-btn { border: none; background: #2e2e2e; color: white; }
#toggleBtn { padding:5px; display:inline-block; }

/*======= ALERTS & HIGHLIGHTS =============================================*/
.alert { color: red; font-weight: bold; border:none; margin:10px 0; 
  box-shadow: none; padding: 10px 0;
}
.alrt { color:red; }
.att { font-weight: bold; font-size: 1.5em;}
.bgr {font-size: 1.2em; }
a.blk { color:black; font-weight: bold; text-decoration: underline; }
.bc-prompt { width:400px; max-width:100%; }
.bc-prompt p { display:inline; }
.bc-prompt div { display:grid; grid-template-columns:45px 45px; grid-column-gap:5px; }
.undrl { text-decoration: underline; color: black; background: transparent; font-size: 1.1em; }


/*======== TABS ========================================================*/
.tab-bar {
    display: grid; margin-bottom: 16px;
     font-size: .95em; grid-auto-flow: column;
}

/*======== PROFILE ========================================================*/
.tab-panel.active {
    display: grid;
    grid-template-columns: auto auto auto;
    margin: 20px 0;                            
}
.bc-details { display:grid; grid-template-columns:120px 120px 120px; justify-content: space-around; }
#charCount { padding-left:4px; font-size: .9em; }
.stat-answer { font-weight: 550; border-bottom: 1px dotted black;}
.bcmap-toggle {
  background: #111; color: #fff; border: none; padding: 6px 10px; font-size: 12px; cursor: pointer;
}

.card-title {
    font-size: 18px; font-weight: 600; margin-bottom: 16px; border-bottom: 1px solid #ddd; padding-bottom: 8px;
}
/* Profile section */
.profile-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}

.profile-item {
    display: flex; flex-direction: column;
}

.profile-label {
    font-size: 12px; color: var(--text-muted); margin-bottom: 4px;
}

.profile-value {
    font-size: 15px; font-weight: 500;
}
.profile-alert-label {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: bold;
}
.profile-alert-item {
    display: flex;
    flex-direction: column;
    margin:10px 0;
}
.profile-alert-value {

}
/* Groups table */
table {
    
}

thead th {
    text-align: left; font-size: 13px; font-weight: 600;
    /* color: var(--text-muted); */
    padding: 10px 8px; border-bottom: 1px solid var(--border);
}

tbody td {
    padding: 12px 8px; border-bottom: 1px solid var(--border); font-size: 14px;
}

tbody tr:hover {
    background: #fafafa;
}

.group-name {
    font-weight: 500; width: 120px;
}

.visit-link {
    color: var(--accent); text-decoration: none; font-size: 13px;
}

.visit-link:hover {
    text-decoration: underline;
}
/*======== MESSAGES/SURVEY ========================================================*/

.msg-container {
    position: fixed;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none; /* so clicks pass through except for the popups */
}

.msg-popup {
    background: #333;
    color: #fff;
    border-radius: 0px;    
    opacity: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    max-width: 280px;
    font-size: 14px;
    padding: 12px 16px;
    position: relative;
    pointer-events: auto;
    animation: fadeIn 0.3s ease;
}

/* Close button */
.msg-popup .close-btn {
    position: absolute;
    top: 6px;
    right: 10px;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
}

/* Container position variants */
.msg-container[data-position="bottom-right"] {
    bottom: 20px;
    right: 20px;
    align-items: flex-end;
}

.msg-container[data-position="bottom-left"] {
    bottom: 20px;
    left: 20px;
    align-items: flex-start;
}

.msg-container[data-position="top-right"] {
    top: 50px;
    right: 20px;
    align-items: flex-end;
}

.msg-container[data-position="top-left"] {
    top: 20px;
    left: 20px;
    align-items: flex-start;
}

.msg-container[data-position="top-middle"] {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
}

.msg-container[data-position="bottom-middle"] {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
}
.survey-options { display: grid; }
.survey-option { border-radius: 0px; border:none; margin:2px; cursor: pointer; }
@keyframes slide-in-right {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slide-in-right 0.5s ease-out forwards; animation-delay: 2s ;
}
/* Simple fade in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.search-area {
  display: grid; grid-auto-flow: column; grid-gap: 15px;
  justify-content: center; align-items: center; 
}
.search-result-card {
    display: block; border: 1px solid #d0d0d0; padding: 12px 14px;
    margin-bottom: 8px; background: #fff; text-decoration: none; color: inherit;
}
/*====== ACCORDION ========================================================*/
.actop { display: grid; grid-template-columns: auto 350px; padding: 10px; 
 grid-column-gap: 10px; }
.actop > div, .mp-bit, .sp-bit { box-shadow: 0px 0px 4px #505359; }
.acgal, .vid { background:white; height:400px; overflow: hidden; }
#gal2, #gal3, #gal4, #galoc { display: none; opacity: 0; }
#accordion { display: grid; grid-template-columns: auto; background:white; }

.acinfo {
  display: grid; grid-template-columns: auto; height:400px;
}
#a1h, #a2h, #a3h, #a4h { height: 44px; margin-top:8px; }
#a1h { margin-top: 0; }
#a2b, #a3b, #a4b { height: 0; padding:0 5px;}
#a1b { height: 200px; }
.abdy{ overflow: hidden; padding:0 4px; }
.abdy h5 { display: inline-block; }
#accordion h3:hover {
  cursor: pointer;
}
.ah { padding: 8px; background:#2c2c31; color:white; }
.ah:hover {cursor: pointer; }
.on { overflow-y: auto; }
.off { overflow: hidden; }

 
/*=====CAROUSEL==========================================================*/

.scroll-container {
  overflow-x: auto;               /* Enable scrolling */
  -ms-overflow-style: none;       /* Hide scrollbar in IE and Edge */
  scrollbar-width: none;          /* Hide scrollbar in Firefox */
}
.scroll-container::-webkit-scrollbar {
  display: none;                  /* Chrome, Safari, new Edge */
}

#carcontrols { justify-content: space-around;  width:100%; max-width:430px; height:40px; margin:0 auto; display: grid; grid-auto-flow:column; }
#articleControls { justify-content: space-around; width:100%; max-width:430px; height: 40px; margin: 0 auto; display: grid; grid-auto-flow: column; }
#rightBtn, #leftBtn, .artlftbtn, .artrtbtn { z-index: 1;  border:none; background:transparent; font-size: 2em;}
#leftBtn { z-index: 1; }


/*#rightBtn { position: absolute; top: 40%; right: 0; transform: translateY(-50%); z-index: 1; }
#leftBtn{ position: absolute; top: 40%; left: 0; transform: translateY(-50%); z-index: 1; }*/

.snipart { flex: 0 0 auto; width: 300px; max-width: 85vw; margin-right: 10px; text-align: left; border: 1px solid #ddd; background: #fefefe; padding: 10px; }
.line { background: #ddd; width: 150px; max-width: 30vw; height: 1px; box-shadow: 1px 0px 0px 0px white; margin: 10px; margin-top: 20px; }

/*=====GRAPHS ==========================================================*/

.mbar{
  width: 100%; max-height: 80px; background-color: green; /*position: absolute; bottom: 30px;*/ transition: transform 0.3s; cursor: pointer;
}
.avbar {
  width: 100%; max-height: 10px; background-color: blue; /*position: absolute; bottom: 20px;*/ transition: transform 0.3s; cursor: pointer;
}
.pbar {
  width: 100%; max-height: 40px; background-color: black; /*position: absolute; bottom: 0;*/ 
  transition: transform 0.3s; cursor: pointer;
}
.bar-graph {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 120px;
  gap: 5px;
}
.bcgraphlist {
  display: grid; grid-template-columns: auto auto auto;
  justify-content: space-around; grid-column-gap: 30px;
}
.graph-bar {
  width: 90%;
  margin: 0 5px;  
  transition: height 0.3s ease;
}

#bcucanwrap {
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 15px;
}
#bcugraph {
  width: 100%;
  max-width: 360px;
}

.bcu-details {
  border: 1px solid #ccc;
  padding: 1em;
  margin-bottom: 1em;
  background: #f9f9f9;
}

.graph-wrapper {
    width: 100%;
    max-width: 420px;
    margin: 10px;
    border-left:2px solid #dbdbdb;
    border-right:2px solid #dbdbdb;
}

.graph-wrapper canvas { width: 100%; }

.graph-header {
    display: grid; padding: 15px 3px;
    margin-bottom: 10px; border-bottom: 3px solid #c9c9c9;
    flex-wrap: wrap; border-top: 3px solid #c9c9c9;
    grid-auto-flow: column;
}
.grph-wrapper {    
    background: #fefefe; border: 1px solid #ddd; padding: 15px;
}
.grph-header {
    display: grid; padding: 5px 3px;
    margin-bottom: 10px; border-bottom: 1px solid #ddd;
    flex-wrap: wrap; grid-auto-flow: column;
}
.grph-header a { border-bottom: none; }
.grph-header > * {  margin: 0; }
.graph-header a { border-bottom: none; }
.graph-header p { font-size:1.4em; }
.graph-header > * {
  margin: 0;
}
.graph-header h3 { font-size: 1.4em; }
.graph-header span {
    display: flex; align-items: center; gap: 5px; color: #111;
}
.grph-ft { 
    display: grid; grid-auto-flow: column;
    grid-auto-columns: 45px 350px; border-top: 1px solid #ddd;
    padding: 10px 3px; 
}
.grph-ft span { font-size: 1.5em; }
.grph-ft p { margin:0; margin-left:10px; }
.create-btn { margin:20px; }
.scroll-container {  }
.feed-label {
  font-size: 11px; color: #444; background: #eaeaea;
  padding: 3px 8px; border-radius: 0;
  display: inline-block; margin-bottom: 10px;
  font-size: 11px;
  color: #222;
  background: #efefef;
  padding: 3px 8px;
  border-radius: 0;
  display: inline-block;
  margin-bottom: 10px;
  border: 1px solid #d3d3d3;
}
.feed-label span { font-size:1.6em; }
/*====== POPUPS =========================================================*/
.pop { display: grid; margin: 20px; grid-template-columns: 95%;
      justify-content: center; grid-row-gap:10px;
  }
.pop-content { display:grid; place-items:center; }

/*===== END POPUS =======================================================*/

/*===== FORMS STYLES =====================================================*/
form.sp-content input[type="submit"]{
  border:none; color:white; background: red; padding:4px 10px;
} 
form.sp-content input { 
  border-radius: 0; border:1px solid gray; padding: 3px;
  /*display: grid; grid-template-columns: auto;*/
}
.sup {  
    display: grid; grid-template-columns: 40% 40%;
    grid-column-gap: 10px;
  }
.sup-form { 
    display: grid; grid-template-columns: auto;
    justify-self: center; grid-row-gap: 6px;
    width: 225px;
    max-width: 100%;
  }
.set-form { 
  display: grid; grid-template-columns: minmax(0, 300px); margin:25px 3px;
  justify-self: center; grid-column-gap:10px;  
  max-width: 100%;
}

.sup-form h3 { margin:0; }
.set-form input, .set-form select { border:none; border-bottom:2px #222 solid; }
.sup-form input, .sup-form select { border:none; border-bottom:2px #222 solid; }
.frm-login input { font-size:.8em; height:28px; }
.frm-login a { color:#333; }
.frm-login { width:97%; margin-left:2px; }
.btnout {  margin-top: 10px; width: 100%; }
.fput { border: 1px solid #ddd; background: white; }
.form-grid {
    display: grid; gap: 14px;
}
.fput-txt { width:100%; max-width:350px; height: 200px; background:#f2f2f4; border:2px dotted #dfdfe0; }
.fput-txt:focus { outline:2px dotted #dfdfe0; }
#breason { border-bottom: 1px solid #ddd;  }
/*#box, #boxform { display:grid; grid-template-columns:auto; width:300px; }*/
.box { display:grid; grid-template-columns:auto; grid-row-gap:5px; width:300px; max-width:100%; }
.boycott form { margin-top:15px; }
#r1 { display:block; } #r2 { display:none; }
.w3-modal-content {
    width: 500px;
    max-width: 92vw;
}
.close-button {
  position: absolute; top: 0; right: 0; padding: 5px;
  cursor: pointer; font-size: 1.5em;

}
.error-box {
  position: relative; padding: 10px; background-color: #f44336; /* Red background color */ color: white; /* Text color */    
  margin: 10px; display: block; transition:opacity 0.5s; text-align: center;
}
input[type="text"], input[type="email"], input[type="password"], textarea, select {
  width: 100%; background: var(--bg-input); color: var(--text-main); border: 1px solid #ddd;
  border-radius: 1px; padding: 6px; outline: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}
.user-settings { display: grid; grid-template-columns: auto auto; margin-top: 60px;
  border-top: 1px solid #ddd; padding: 50px 0; grid-gap: 10px; }
/*===== USER OBJS/BCS Boycott page ==================================================*/

.boycotts {
  display:grid; grid-template-columns:100%; grid-gap: 30px;
}
.boycotts h2 { grid-column:1/3; }
.boycott { background:white; border-bottom:3px solid black; padding:4px; width:100%; }
.bc-box { display:grid; grid-row-gap:10px; }
.bc-chart { display:grid; grid-template-columns:140px 140px 140px; }
.bc-chart-item { font-size:.89em; width:100px; }
.bc-box > div { margin:10px 0; }
.rlist { margin:15px 0; }
.rlist p { margin:0; }
.bar-graph { width: 200px; height: 150px; display: flex; align-items: flex-end; }
.bar-money { width: 30px; background-color: #5fac57; margin: 0 0px; }
.bar-user { width: 15px; background-color: #55555a; margin: 0 1px; }
.bar-user:hover { background-color: #2E2E33; }
.bar-money:hover { background-color: darkgreen; }
#loadr { color:black; }
.bcbar { display: grid; grid-template-columns: 50px 50px 50px 50px; justify-content: space-between; place-items:center; }
form.info { margin:0; }
.boycott-summary {
    padding: 1em; background: #fff; border: 1px solid #ddd;
}
.bcbar { margin-top:15px; }

/*===== GENERIC LAYOUT/STYLE ===========================================================*/
.genhead { display: grid;grid-auto-flow: column; border-bottom: 1px solid #ddd; }
.ghitem { padding: 10px 0;}
.genhead h1, h2, h3, h4 { margin:0; padding: 0;}
.genhead span { font-size: 1.3em; }
.gensub { font-size: .9em; color:#666; }
/*===== SEARCH ===========================================================*/

#searchwindow{
  display: grid; justify-content: center; margin-top: 100px;
}
#search {
  height: 40px;
  width: 100%;
  border: none;
}
.search-box { 
  background: white;
  padding: 0 10px;
  display: grid;
  grid-template-columns: 1fr 20px;
  align-items: center;
  position: relative;
  margin: auto;
  width: 460px;       /* desktop default (keeps input near prior 420px) */
  max-width: 100%;    /* prevent overflow on narrow screens */
  box-sizing: border-box;
}
.min-search-btn { display: none; font-size:1.4em; }
#tt-search { display: grid; justify-content: center; height: 60px; }
#btn-search-menu {
  background: white; padding: 9px; color: black;
  border-bottom: 4px solid black;
}
#menu {
  display: grid; grid-template-columns: 80px 80px 80px; background: white; width: 100%;
  justify-content: space-around; margin-left: auto; margin-right: auto; padding: 10px;
}
.menu-list a {
  color:black;
}
/* ── Dropdown: match the full width of .search-box ─────────────────────────── */
.search-dropdown {
    position: static;  /* stays in flow so dropdown can use search-box as anchor */
}
.w3-dropdown-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;          /* flush below the search box */
    min-width: 0;       /* override the fixed 420px */
    width: 100%;        /* stretch to full search-box width */
    box-sizing: border-box;
    z-index: 100;
}

/* ── min-search-btn: hidden by default, shown below breakpoint ──────────────── */



/* ── Dropdown menu grid: responsive columns ─────────────────────────────────── */
#menu {
    grid-template-columns: repeat(3, 1fr);  /* equal columns inside available width */
    width: 100%;
}
.menu-show { display:grid!important; }
.w3-dropdown-content { right:0px; top:40px; width:420px; min-width:0; max-width: calc(100vw - 20px); box-sizing: border-box; }
.w3-dropdown-click { background:white; padding: 8px 0; }
.w3-dropdown-click:hover { background:white; }
.w3-button:hover { background-color:transparent!important}
#box-space {
  display: grid; grid-template-columns: auto; grid-column-gap: 10px; grid-row-gap: 10px;
}
#result-table {
  text-align: justify;
  margin: 0 auto;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
}
.boycott-box {
  width: 250px; height: 150px; margin:5px; padding:3px; background:#fff3; margin:25px 0;
}
.boycott-box a { color:black; }

.w3-container { display: grid;
    grid-template-columns: auto;
    /*justify-content: center;*/
    padding: 30px 10px; }

/*====== TABLES =============================================================*/

.bcutable {}
#bcuhead {
  background-color: #f9f9f9;
}
.bcu-table {
  width: 100%;
  border-collapse: collapse;
}
.bcu-table th, .bcu-table td {
  padding: 0.75em;
  border-bottom: 1px solid #ddd;
}
.bcu-table th {
  background: #efefef;
}
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Desktop table */
.table-responsive table {
    width: 100%;
    border-collapse: collapse;
    /*table-layout: fixed;*/
}

.table-responsive th,
.table-responsive td {
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;

    /* critical fixes */
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}
/*===== CUSTOM SCROLL ======================================================*/
::-webkit-scrollbar {
  width: 5px;
}
/* Track */
::-webkit-scrollbar-track {
  background: rgba(241, 241, 241, .6);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgba(136, 136, 136, .6);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}


/*======FOOTER=============================================================*/

footer { display: grid; grid-template-columns: auto auto auto; 
  background: #2E2E33;  padding: 5px 10px; position: fixed; 
  width: 100%; bottom: 0; left: 0; z-index: 100;
}
#ft-clear { background:none; padding: 0; }
#cp { transform: rotate(-90deg); transform-origin: top left; font-size:.6em; }
.flinks { text-align: center; }
.flinks a { color:white; }
/*======END FOOTER=============================================================*/
/*========================external links============================*/
a.xlnk { text-decoration: underline; color:black; }
a.xlnk:any-link, a.xlnk:hover{ text-decoration: underline; color:black; }
/*========================end external links============================*/



/*============ RESPONSIVENESS MEDIA =============================================================*/


@media (max-width:1499px){
}
@media (max-width: 1240px){
}
@media (max-width: 1100px){
  .basic-bite, .mid-bite, .actop { grid-template-columns: auto; 
    grid-row-gap: 10px; }
  .acinfo { grid-template-columns: auto; }
  .acgal { height:300px; }
  .vid video { height: 300px; width: 100%; object-fit: cover; }
  #accordion { height:400px; }
  form.sp-content { 
    display: grid; grid-template-columns: 100%;
    grid-gap: 3px;
  }
}
@media (max-width:975px){
}
@media (max-width: 940px){
  .tab-bar { display: grid; grid-auto-flow:unset; margin-bottom: 16px; grid-template-columns: auto auto auto auto auto; font-size: .9em; }
}
@media (max-width:860px){
  #content { grid-template-columns: 100%; }
}

@media (max-width: 790px){
    .tab-panel.active {
      display: grid;
      grid-template-columns: auto auto;
      margin: 20px 0;
  }
}
/* Mobile stacked layout */
@media (max-width: 768px) {

    .table-responsive table,
    .table-responsive thead,
    .table-responsive tbody,
    .table-responsive th,
    .table-responsive td,
    .table-responsive tr {
        display: block;
        width: 100%;
    }

    .table-responsive thead {
        display: none;
    }

    .table-responsive tr {
        margin-bottom: 16px;
        border-bottom: 1px solid #ddd;
        padding-bottom: 8px;
    }

    /* Charts/cards should not force horizontal overflow on mobile/tablet. */
    .bcgraphlist { grid-template-columns: 1fr; }
    #bcucanwrap { grid-template-columns: 1fr; }
    .graph-header, .grph-header { grid-auto-flow: row; row-gap: 6px; }

    .table-responsive td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
    }

    .table-responsive td::before {
        content: attr(data-label);
        font-weight: 600;
        flex-shrink: 0;
        color: #444;
    }
}
@media (max-width: 700px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 650px) {
  #bcucanwrap {
    display: grid; /* <-- important to reassert grid */
    grid-template-columns: auto;
    grid-gap: 10px; /* optional: slightly tighter on mobile */
  }
  .bcgraphlist {
    display: grid; grid-template-columns: auto;  
  }
  .graph-wrapper {
    width:380px;
  }
}
@media (max-width: 640px) {

    .groups-table thead {
        display: none;
    }
    .tab-panel.active {
        display: grid;
        grid-template-columns: auto;
        margin: 20px 0;
    }
    .groups-table,
    .groups-table tbody,
    .groups-table tr {
        display: block;
        width: 100%;
    }

    .groups-table tr {
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        padding: 0.75rem;
        margin-bottom: 0.75rem;
        background: #fff;
    }

    .groups-table td {
        display: flex;
        justify-content: space-between;
        padding: 0.4rem 0;
        border: none;
        font-size: 14px;
    }

    .groups-table td::before {
        content: attr(data-label);
        font-weight: 500;
        color: #666;
        padding-right: 1rem;
    }
}
@media (max-width: 620px) {
    .min-search-btn {
        display: inline-block; cursor: pointer; padding: 4px 6px;
    }
    #front-create-btn {
        display:none;
    }
    .search-box { grid-template-columns: auto 20px 20px; }
}
@media (max-width:580px){
  .user-settings { grid-template-columns:auto; }
}
  @media (max-width:545px){
    nav { grid-template-columns: auto auto 40px 40px;  }
    .tool-box { grid-auto-columns: 40px; justify-content: center; }
    .tab-bar { font-size: .9em; }
  }
  @media (max-width: 520px){
    /* Prevent the search row (search box + button) from forcing horizontal overflow. */
    .search-area { grid-auto-flow: row; justify-items: center; grid-template-columns: 95%; }
    .search-box { width: 100%; max-width: 460px; }
  }
@media (max-width: 500px){
  .tab-bar { font-size: .75em; }
  #cp { font-size:.58em; }
}
@media (max-width:480px){
  .navtitle { text-align: justify; }
}
@media (max-width: 420px){
  .navtitle { font-size:.9em; }
  .acgal, .vid video { height:158px; }
  .feat-box { grid-template-columns:auto; grid-row-gap:40px; }
  .search-box { width: 100%; max-width: 380px; grid-template-columns: auto 20px 20px; }
  #search { width:100%; }
  .w3-dropdown-content { width:100%; min-width:0; right:0; }
  .rectangular-btn {
        width: 120px; /* Match sign width on mobile */
        padding: 8px 0;
  }
  .rectangular-sign {
      width: 120px; /* Slightly smaller width on mobile */
      padding: 6px 0; font-size: 0.9em;
  }
  #menu {
      grid-template-columns: repeat(3, 1fr);
  }
  .w3-dropdown-content {
      min-width: 0;
  }

}
@media(max-width: 390px){
  .rsss { justify-content: center; }
}
@media (max-width:360px){
}

