
/* --- start form buttons */
.choice-button-selected {
  color: #ffffff;
    background-color: #ec0046;
    text-decoration: none;
    display: inline-block;
    padding: 2em 5em;
    text-align: center;
    border: solid 1px #ec0046;
    border-radius: 20px;
    font-weight: bold;
}

.choice-button-unselected {
    background-color: #ffffff;
    text-decoration: none;
    display: inline-block;
    padding: 2em 5em;
    text-align: center;
    border: solid 1px #ec0046;
    border-radius: 20px;
    font-weight: bold;
}

.button-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

/* --- Opslag box --- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
}

.imagePlaceholder {
  margin: 1em;
  float: left;
  text-overflow: wrap;
  max-width: 20em;
  min-height: fit-content;
}

.imagePlaceholder p {
  color: #0000006E;
}

.imagePlaceholder__box {
  width: 22em;
  justify-self: left;
}

.postBox {
  margin: 5em 0em;
  padding: 2em;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 7px 7px 7px #57443540;
}

.postBox__questions__layout {
  background-color: #ffffff;
  display: inline-block;
  padding: 1.5em 1em 1.5em 1em;
  width: 49.5em;
  border: solid 1px #ec0046;
  border-radius: 20px;
  margin:  1em;
}


/* --- radio button --- */
.radio-style {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.radio-style input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 50%;

  border: 1px solid gray;
}

/* On mouse-over, add a grey background color */
.radio-style:hover input ~ .checkmark {
  background-color: #ccc;
}

/* --- When the radio button is checked, add a background color --- */
.radio-style input:checked ~ .checkmark {
  background-color: #f32121;
}

/* --- Create the check dot --- */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.radio-style input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.radio-style .checkmark:after {
 	top: 9px;
	left: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
}





/* --- image layout --- */
.postBox-images {
  margin: 5em;
  padding: 8em;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 7px 7px 7px #57443540;
}

.image-grid-layout {
  gap: 10em;
}




/* rename and edit to fit */
.genstande-donation-grid{
  margin: 2em;
 display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 25px;
}

.genstande-donation-grid img {
  width: 90%;
  height: 90%;
  display: block;
border-radius: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.genstande-item{
overflow: hidden;
}

.genstande-item img{
width: 100%;
height: 90%;
display: block;
object-fit: cover;
border-radius: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

/* bruges til at gemme (visuelt fjerne) de ting der ikke er valgt. */
.hidden {
display: none;
}



/* --- selecting items --- */
.item-selected {
  border: 2px solid #EC0046;
}

.selection-button {
  background-color: #ffffff;
  padding: 1.5em 1em;
  border-radius: 20px;
  border: 2px solid #EC0046;
  float: right;
}
.selection-button:hover{
  background-color: #EC0046;
  padding: 1.5em 1em;
  border-radius: 20px;
  border: 2px solid #EC0046;
  color: #ffffff;
  float: right;
}


.brug-billede-inaktiv {
  background-color: #ffffff;
  padding: 2em 3em;
  border-radius: 20px;
  border: 2px solid #EC0046;
  float: right;
}

/* --- ! This will be a "when image has been selected, the button will be red and pressable" kind of button !--- */
.brug-billede-aktiv {
  background-color: #EC0046;
  padding: 2em 3em;
  border-radius: 20px;
  border: 2px solid #EC0046;
  color: #ffffff;
  float: right;
}


