.required-label:after {
    content: '*';
    color: red;
    display: inline-block;
    animation-name: pop;
    animation-duration: 0.3s;
    animation-timing-function: ease-out;

}

.bg-red {
  background-color: #ff00009f !important;
  color: #d7d7d7 !important;
}

.bg-gray {
  background-color: rgba(255, 72, 0, 0.1) !important;
  color: #808080 !important;
}

.bg-orange {
  background-color: #ffc966 !important;
  color: #888888 !important;
}

@keyframes pop {
    from { transform: scale(1); }
    to { transform: scale(1.5); }
}

.event-red {
  background-color: #e53935; /* Rød farge */
}

.event-orange {
  background-color: #43a047; /* Grønn farge */
}

.calendar-help {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: #DDDDDD;
  border-radius: 10px;
  padding: 5px;
  color: #555555;
  font-style: italic;
}

.calendar-legend {
  display: flex;
  flex-direction: column; /* Updated to display items vertically */
  justify-content: center;
  margin-top: 20px;
}

.legend-item {
  display: flex;
  align-items: flex-start;
  margin-right: 20px;
}

.legend-item2 {
  display: flex;
  align-items: flex-start;
  margin-right: 20px;
  background-color: #ededed;
}

.legend-color {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.calendar-wrapper {
  text-align: center;
}  

.custom-border {
    border: 1px solid #808080; /* Replace with your desired border color */
    padding: 5px; /* Add padding to the element if needed */
}

.selected-card {
    background-color: #9393ff; /* Set the background color for the selected card */
}

.unselected-card {
    background-color: #EEEEEE; /* Set the background color for the selected card */
}

#image-container {
  display: flex;
  flex-wrap: wrap;
}

.image-item {
  margin: 10px;
  cursor: move;
}

.image-container {
  position: relative;
  display: inline-block;
  margin: 10px;
  border: 2px solid black;
}

canvas {
  width: 100%;
  height: 200px; /* Juster etter behov */
  border: 2px solid black;
  touch-action: none; /* Hindrer uønsket scrolling på touch-enheter */
}