.btn-primary {
    color: #fff;
    background-color: #333333;
    border-color: #333333;
}

.btn-primary:hover {
    color: #fff;
    background-color: #000000;
    border-color: #000000;
}

.btn-primary:focus, .btn-primary.focus {
    color: #fff;
    background-color: #000000;
    border-color: #000000;
    box-shadow: 0 0 0 0.2rem #000000;
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #000000;
    border-color: #000000;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #000000;
  border-color: #000000;
}

.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem #000000;
}

#toastMessage, .toast-message{
  display: inline-block;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background-color: darkgreen;
  padding: 10px;
  border-radius: 5px;
  z-index: 2000;
}

#toastErrorMessage, .toast-error-message{
  display: inline-block;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background-color: darkred;
  padding: 10px;
  border-radius: 5px;
  z-index: 2000;
}

.div-overflow{
  max-height: 40vh;
  width: 100%;
  overflow: auto;
}

.modal-xxl {
  max-width: 80%; /* Adjust width as needed */
}

.modal-body-scale {
  max-height: 75vh;
  padding: 0;
  margin: 0;
}

.modal-body-scale-60 {
  max-height: 60vh;
  padding: 0;
  margin: 0;
}

.modal-body-scale-overflow-scroll{
  overflow-y: auto;
}

.scaled-container {
  display: block;
  justify-content: center;
  width: 100%;
  overflow-y: auto;
  overflow-x: visible;
}

.scaled-content {
  transform: scale(0.95);
  transform-origin: top center;
}

/* custom dropdown */
.custom-dropdown-wrapper{
  display: inline-block;
  position: relative;
}

.custom-dropdown{
  display: none;
  position: absolute;
  right:0;
  z-index: 1000;
  background-color: white;
  width:200px;
}

.custom-dropdown-wrapper:hover .custom-dropdown{
  display: block;
}

.custom-dropdown-content{
  display: inline-block;
  border-top:1px solid gray;
  border-left:1px solid gray;
  border-right:1px solid gray;
  border-radius: 5px;
}

.custom-dropdown-content-item{
  padding: 5px 10px;
  border-bottom:1px solid gray;
}

.dropdown-last-item{
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.custom-dropdown-content-item:hover{
  background-color: #ccc;
  cursor: pointer;
}

.custom-dropdown-content-item a{
  text-decoration: none;
  display: block;
  color:black;
  font-size: 0.8em;
}

body{
    font-size:0.9em;
}

.small-text{
  font-size:1em;
}

.font-bold{
  font-weight: bold;
}

.font-italic{
  font-style: italic;
}

.item-existing-message{
  background-color: lightcoral;
  color:white;
  margin: 0 10px;
  padding: 10px 10px;
}
