/*img {
 width: 80%;
 height: 100%;
} */
.header {
	width: 200px;
	height: 200px;
}
.bg-custom-orange {
  background-color: #fd7e14 !important; /* Bootstrap's default orange color */
  color: white !important;
}
.vertical-center {
  min-height: 100%;  /* Fallback for browsers do NOT support vh unit */
  display: flex;
  align-items: center;
}
/* UTILITIES */
*{
  padding: 0;
  margin: 0;
  text-decoration: none;
  /*list-style: none;*/
  box-sizing: border-box;
}
a {
 text-decoration: none;
}
/* li {
 margin-left: 100;
} */
.map-container {
  width: 100%;
  height: 800px;
}


.tab-pane {
  visibility: hidden;
  position: absolute;
  display: none;
  z-index: -1;
}

.tab-pane.active {
  display: block;
  visibility: visible;
  position: relative; /* Restore normal flow */
  z-index: 1;
}

.navbar {
  background-color: var(--bs-success);
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 250px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
  transition: transform 0.3s ease-in-out;
  z-index: 9999 !important;
}

.navbar.collapsed {
  transform: translateX(-100%);
}

.navbar h2 {
  color: white;
  margin-bottom: 20px;
}

.nav-link {
  color: white;
  background-color: transparent !important;
}

.nav-link:hover {
  background-color: #155724;
  color: #e9ecef !important;
}

.nav-tabs .nav-link.active {
  background-color: #0b5132 !important;
  color: #e9ecef !important;
}

.nav-tabs .nav-link {
  background-color: var(--bs-success) !important; /* Match sidebar color */
  color: white;
  border: none;
  border-radius: 0;
}

.nav-pills.active {
  background-color: #d4edda;
}

.content {
  margin-left: 250px;
  padding: 20px;
  height: 100vh;
  overflow-y: auto;
  background-color: #ffffff;
  color: #212529;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: margin-left 0.3s ease-in-out;
  position: relative;
  z-index: 1;
}
/* Adjust for mobile */
@media (max-width: 768px) {
  .content {
    margin-left: 200px; /* Remove margin shift on smaller screens */
  }
  .content.collapsed {
    margin-left: 0px;
  }
  
}

.content.collapsed {
  margin-left: 50px;
}

/* Mobile styles */
@media (max-width: 768px) {
  .navbar {
    width: 200px; /* Slightly smaller width on mobile */
    transform: translateX(-100%);
  }

  .navbar.show {
    transform: translateX(0);
  }

  .toggle-btn {
    display: block;
  }
}

.toggle-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1050;
  background-color: var(--bs-success);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 15px;
  cursor: pointer;
}

.toggle-btn:hover {
  background-color: #155724;
}

/* (B) HORIZONTAL MENU ITEMS */
#hamitems { display: flex; background-color: white; font-weight: bolder; }
#hamitems a {
  flex-grow: 1;
  flex-basis: 0;
  padding: 10px;
  color: black;
  text-decoration: none;
  text-align: center;
}
#hamitems a:hover { background: #af0d0d; }

/* (C) HIDE HAMBURGER */
#hamnav label, #hamburger { display: none; }


/* [ON SMALL SCREENS] */
@media screen and (max-width: 768px){
  /* (A) BREAK INTO VERTICAL MENU */
  #hamitems a {
    box-sizing: border-box;
    display: block;
    width: 100%;
    border-top: 1px solid #333;
  }
 
  /* (B) SHOW HAMBURGER ICON */
  #hamnav label { 
    display: inline-block; 
    color: black;
    background: #a02620;
    font-style: normal;
    font-size: 1.2em;
    padding: 10px;
  }

  /* (C) TOGGLE SHOW/HIDE MENU */
  #hamitems { display: none; }
  #hamnav input:checked ~ #hamitems { display: block; }
}
/* END NAV BAR */
/* Space out content a bit */
body {
  padding-top: 20px;
  padding-bottom: 20px;
  color: #212529;
  background-color: #f8f9fa;
  margin: 0;
  overflow: hidden;
}
/* Everything but the jumbotron gets side spacing for mobile first views */
.header,
.marketing,
.footer {
  padding-right: 15px;
  padding-left: 15px;
}

/* Custom page header */
.header {
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}
/* Make the masthead heading the same height as the navigation */
.header h3 {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 40px;
}

/* Custom page footer */
.footer {
  padding-top: 19px;
  color: #777;
  border-top: 1px solid #e5e5e5;
}

/* Customize container */
@media (min-width: 768px) {
  .container {
    /*max-width: 730px;*/
  }
}
.container-narrow > hr {
  margin: 30px 0;
}

/* Main marketing message and sign up button */
.jumbotron {
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
}
.jumbotron .btn {
  padding: 14px 24px;
  font-size: 21px;
}

/* Supporting marketing content */
.marketing {
  margin: 40px 0;
}
.marketing p + h4 {
  margin-top: 28px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .header,
  .marketing,
  .footer {
    padding-right: 0;
    padding-left: 0;
  }
  /* Space out the masthead */
  .header {
    margin-bottom: 30px;
  }
  /* Remove the bottom border on the jumbotron for visual effect */
  .jumbotron {
    border-bottom: 0;
  }
}



.btn-subtle {
  background-color: #e6f7e6;  /* Subtle green */
  color: #040f06;  /* Dark green text for good contrast */
  border: 1px solid #c3e6cb;  /* Soft green border */
}

.btn-subtle:hover {
  background-color: #d4f3d4;  /* Slightly darker green on hover */
  color: #0b3d0b;
}

.btn-subtle:focus, .btn-subtle:active, .btn-subtle:focus-visible {
  background-color: #d4f3d4;  /* Same color as hover or active state */
  color: #0b3d0b;
  border-color: #c3e6cb;
  outline: none;  /* Optional: Remove the focus outline */
  box-shadow: none;  /* Prevents Bootstrap's default focus shadow */
}

 /* RD: making vertical align great again*/
.table > tbody > tr > td {
     vertical-align: middle;
}

.accordion-container {
  position: relative; /* Ensure z-index works properly */
  z-index: 10;        /* Ensure accordion is on top */
}

.equal-height {
  display: flex;
  flex-direction: column;
  height: 50%;
}

.table-wrapper {
  display: flex;
  flex-direction: column;
  height: 560px; /* Adjust this height based on your layout */
}

.table-container {
  flex-grow: 1;
  /* overflow-y: auto; Scroll the table if content overflows */
}

.pagination-container {
  flex-shrink: 1; /* Pagination stays at the bottom */
}

.crop {
  position: absolute;
    left: -1000%;
    right: -1000%;
    top: -1000%;
    bottom: -1000%;
    margin: auto;
    min-height: 100%;
    min-width: 100%;
}

.even-page {
  background-color: rgb(245, 245, 247);
}



/* Custom CSS */
/* card img top 10px height, card body height 250px */
.card-img-top {
  background-color: #20c997;
}

.card-img-top-2 {
  background-color: #c9be20;
  height: 100px;
}

.card-img-top-icon {
  width: 50px;
  height: 50px;
  margin-top: 25px;
}
.card {
  padding-right: 0px;
  padding-left: 0px;
  /* height: 350px; WHAT THE HELL*/
}

.frontcard {
  height: 350px;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.item-not-avail {
  height: 12px;
  width: 12px;
  background-color: #9c2d2d;
  border-radius: 50%;
  display: inline-block;
}

.item-avail {
  height: 12px;
  width: 12px;
  background-color: #20c997;
  border-radius: 50%;
  display: inline-block;
}

.tags-input {
  border: 1px solid #ced4da;
  padding: 5px;
  display: flex;
  flex-wrap: wrap;
}

.tag {
  background-color: #86c0ff;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  margin-right: 5px;
  margin-bottom: 5px;
  cursor: pointer;
}

.tag small {
  font-size: 10px;
  display: block;
}

/*
.form-control {
  border: none;
  outline: none;
  flex: 1;
}*/



/* Show in Large desktops and laptops */

@media (min-width: 1000px) {
  .logo-div {
    width: 700px;
    height: 960px;
    background-color: rgba(0, 255, 0, 0.2); /* Test visibility */
    background: url("/static/images/logo_center.fd8e6f389067.png");
    background-repeat: no-repeat;
    overflow: hidden;
    margin: auto;
    position: absolute;
    top: 0;
    right: -30%;
    left: -10%;
    z-index:0;
    background-size: 960px 960px
  }
  .card-img-top {
    height: 100px;
  }
  .single-page{
    height: 960px;
  }
  .secondary-page {
    height: 650px;
  }
  .cardrow {
    display: flex;
    justify-content: space-between;
  }
  .cardrow-btn {
    display: flex;
    justify-content: space-between;
  }
}

  /*Hide in Other Small Devices */
  
  /* Landscape tablets and medium desktops */
@media (max-width: 999px) {
  /* .logo-div {
        background-image: none;
    } */
  .cardrow {
    /* flex-direction: row;
    align-items: flex-start; */
    display: flex;
    justify-content: center;
  }
  .cardrow-btn {
    /* flex-direction: row;
    align-items: flex-start; */
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  .btn-tkr {
    display:flex;
    width: auto;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  /* .container {
    height: 1500px;
  } */
  /* .single-page {
    height: auto;
  } */
  /* .card-img-top {
    height: 10px;
  } */
}

.dotted-box {
  border: 2px dotted #007bff;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  position: relative;
}
.dotted-box:hover {
  background-color: #f8f9fa;
}
.down-arrow {
  font-size: 1.5rem;
  color: #007bff;
  transition: transform 0.3s ease;
}
.down-arrow.rotate {
  transform: rotate(180deg);
}
.additional-info {
  display: none;
  margin-top: 10px;
}