.button-img {
  height: 25px;
}

.button-background {
  color: white;
  background-color: #1c1c1c !important;
}

.navbar-brand-img {
  height: 50px;
}

.navbar-background {
  background-color: #1c1c1c !important;
}

.button-tweak-one {
  font-size: 30px;
  border: none;
  display: inline-block;
  padding: 4px 8px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background-color: inherit;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

.ButtonTweak2 {
  background-color: #1c1c1c !important;
  color: white !important;
}

.ButtonTweak2:hover {
  background-color: transparent !important;
  border: 2px solid #1c1c1c !important;
  color: #1c1c1c !important;
}

.ButtonTweak {
  background-color: #1c1c1c !important;
  border-color: #1c1c1c !important;
  color: white !important;
  padding-right: 2%;
}

.between-cell {
  border: none !important;
  width: 9%;
}

.bag-one-padding {
  padding-top: 15%;
  padding-left: 0%;
  padding-right: 0%;
  padding-bottom: 15%;
}

.bag-one-width {
  width: 75%;
}

.bag-three-width {
  width: 92%;
}

.custom-card-width {
  width: 100%;
}

.bag-two-padding {
  padding-top: 5.5%;
  padding-left: 0%;
  padding-right: 0%;
  padding-bottom: 5.5%;
}

.bag-two-width {
  width: 88%;
}

.custom-bottom-margin-1 {
  margin-bottom: 12%;
}

.custom-bottom-margin-2 {
  margin-bottom: 26% !important;
}

.custom-bottom-margin-3 {
  margin-bottom: 20% !important;
}

.buttonspan:hover {
  color: lightgrey;
}

button:hover {
  color: lightgrey !important;
}

.preview-table {
  width: fit-content;
}

.preview-table-cell {
  width: 50px;
  height: 50px;
}

.preview-table-selected-cell {
  background-color: #ffd54d !important;
}

/*
.custom-table{
  border-color: transparent !important;
  border-width: 0px !important;
}

.custom-table th, .custom-table td { 
  border-color: transparent !important;
  border-width: 0px !important;
}*/

@media screen and (max-width: 759px) {
  #rightpart {
    height: max-content !important;
    min-height: auto !important;
  }

  .width-card-div {
    width: 100% !important;
  }

  .do-not-show-mobile {
    display: none;
  }

  .scrollable {
    flex-wrap: nowrap !important;
    gap: 10px !important;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: auto;
    scrollbar-color: #1c1c1c #b3b3b3;
    scrollbar-width: thin;
    width: 100%; /* Use the full width available */
  }
  /*
.select-card {
  display: flex !important;
  flex-direction:  column  !important;
  flex-wrap: nowrap !important;
  padding: 5px !important;
    min-width: 20vw !important;
    width: 200px !important;
    height: 54vh !important;
   /* min-height: 20vh !important;*/

  .select-card {
    display: inline-block !important;
    min-width: 50% !important;
    width: auto;
  }
}

@media screen and (max-width: 700px) {
  .select-card {
    display: inline-block !important;
    min-width: 60% !important;
    width: auto;
  }
}

@media screen and (max-width: 580px) {
  .select-card {
    display: inline-block !important;
    min-width: 80% !important;
    width: auto;
  }
}

@media screen and (max-width: 485px) {
  .select-card {
    display: inline-block !important;
    min-width: 100% !important;
    width: auto;
  }
}

@media screen and (min-width: 760px) {
  .bag-one-max-width {
    max-width: 33%;
  }

 
  .bag-four-max-width {
    max-width: 65%;
  }

  .bag-two-max-width {
    max-width: 65%;
  }

  .bag-one-width {
    width: 80%;
  }

  .bag-three-width {
    width: 92%;
  }

  .custom-card-width {
    width: 90%;
  }

  .bag-one-padding {
    padding-top: 5%;
    padding-left: 0%;
    padding-right: 0%;
    padding-bottom: 5%;
  }

  .bag-two-width {
    width: 90%;
  }

  .bag-two-padding {
    padding-top: 5.5%;
    padding-left: 0%;
    padding-right: 0%;
    padding-bottom: 5.5%;
  }

  .custom-bottom-margin-1 {
    margin-bottom: 5%;
  }

 
}

.scrollable::-webkit-scrollbar-thumb {
  background-color: #1c1c1c !important;
}

.scrollable::-webkit-scrollbar-track {
  background-color: #b3b3b3;
}

.scrollable::-webkit-scrollbar-corner {
  background-color: #b3b3b3;
}

.scrollable::-webkit-scrollbar {
  width: 0.5rem;
  height: 0.5rem;
}

.scrollable {
  overflow: scroll;
  -ms-overflow-style: auto;
  scrollbar-color: #1c1c1c#b3b3b3;
  scrollbar-width: thin;
}

#main-body {
  padding: 30px;
}

.main-title {
  font-weight: bold;
  margin-bottom: 25px;
}

.select-card,
.item-card {
  border: none;
  border-radius: 25px;
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.4);
  transition: 0.3s;
  margin: 10px 0px 25px 0px;
}

.item-card {
  padding: 20px 25px 10px 25px;
}

.select-card {
  padding: 20px 10px 10px 10px;
}

.select-card:hover,
.item-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 32px 0 rgba(0, 0, 0, 0.6);
}

.select-card .sub-title,
.item-card .sub-title {
  font-weight: bold;
  opacity: 0.5;
}

.select-card .card-title,
.item-card .card-title {
  font-weight: bold;
}

.select-card .spacing-cell,
.item-card .spacing-cell {
  width: 50px;
  height: 50px;
}

.select-card .selected-cell,
.item-card .selected-cell {
  background-color: #ffd54d;
}

.select-card .card-info-col,
.item-card .card-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.select-card td {
  border: 2px solid black;
}

.select-card .space-card {
  width: 50px;
  height: 50px;
  margin: 2px;
  border: none;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.4);
}

#rightpart {
  display: flex;
  gap: 5px;
  flex-direction: row;
  flex-wrap: wrap;
  min-height: 70vh;
  overflow: scroll;
  padding: 30px;
}

.width-card-div {
  width: 300px;
}

@media screen and (min-width: 1600px) {
  .width-card-div {
    width: 390px;
  }

  .bag-three-max-width {
    max-width: 60%;
    padding-top: 3% !important;
  }

  .bag-four-max-width {
    max-width: 50%;
    padding: 8% 7% 8% 7% !important;
  }

}

.overlay {
  
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent white background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensure it's above other content */
}

.overlay .spinner-border {
  width: 4rem; /* Customize spinner size */
  height: 4rem; /* Customize spinner size */
}

.overlay .spinner-border.spinner-border-fast {
  animation: spinner-border .75s linear infinite; /* Customize animation speed */
}

.overlay .spinner-border.spinner-border-slow {
  animation: spinner-border 2s linear infinite; /* Customize animation speed */
}

@keyframes spinner-border {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
