body {
  background: #EEE;
  font-family: 'Roboto', sans-serif;
}

.dropzone {
  width: 98%;
  margin: 1%;
  border: 2px dashed #3498db !important;
  border-radius: 5px;
  transition: .2s;
}
  
.dropzone.dz-drag-hover {
  border: 2px solid #3498db !important;
}  

.dz-message.needsclick img {
    width: 50px;
    display: block;
    margin: auto;
    opacity: .6;
    margin-bottom: 15px;
}
  
span.plus {
  display: none;
}
.dropzone.dz-started .dz-message {
  display: inline-block !important;
  width: 120px;
  float: right;
  border: 1px solid rgba(238, 238, 238, 0.36);
  border-radius: 30px;
  height: 120px;
  margin: 16px;
  transition: .2s;
  span.text {
    display: none;
  }
  span.plus {
    display: block;
    font-size: 70px;
    color: #AAA;
    line-height: 110px;
  }
}

.kuva:hover {
    cursor: pointer;
}
  .amp-active {
    iframe {
      height: 0;
      max-height: 100%;
      max-width: 100%;
      min-height: 100%;
      min-width: 100%;
      width: 0;
    }
  }

  iframe.i-amphtml-fill-content {
    height: 0;
    max-height: 100%;
    max-width: 100%;
    min-height: 100%;
    min-width: 100%;
    width: 0;
  }

.square-container {
    width: 200px; /* Or any size you want */
    height: 200px;
    overflow: hidden;
    position: relative;
}

.square-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Or whatever object-fit you want */
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, 0%);
}

.question-mark {
    background-color: #FFCC00; /* Change to your desired color */
}

.checked-question-mark {
    background-color: red; /* Change to your desired color */
}

.kuvax {
    max-width: 100%;
    max-height: 100vh; /* 100% viewportin korkeudesta */
    height: auto;
    width: auto;
}

/* uusi */
.modal-overlay {
    display: none; /* Piilota oletusarvoisesti */
    position: fixed; /* Kiinteä sijainti */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25); /* Puoliläpinäkyvä tausta */
    z-index: 1000; /* Varmistetaan, että se on muiden elementtien päällä */
  }
  
  .spinner {
   /* border: 50px solid #4B5D2A; */
   border: 50px solid orange; 
   border-top: 50px solid #fff;
    border-radius: 50%;
    width: 10rem;
    height: 10rem;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    /* Muuta spinnerin sijaintia keskelle */
    transform: translate(-50%, -50%);
  }
 
  @keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
  }
  
  .disabled-link {
    pointer-events: none;
    color:red
}

.image-container {
    max-width: 100%;
    max-height: 60vh; /* or any other value you prefer */
    overflow: auto;  /* This will add scroll bars when needed */
}
.valittu {
    background-color :#383 !important;
    color: #fff !important;
}

.info {
  /* Valitse joko haalean keltainen tai vaaleansininen tausta */
  background-color: #fffacd; /* Haalean keltainen */
  /* background-color: #add8e6;  Vaaleansininen */

  border: 1px solid #bbb689; /* Tummahko ääriviiva */
  border-radius: 10px; /* Pyöristetyt kulmat */
  padding: 10px; /* Sisäinen tyhjä tila */
  display: flex;
  align-items: top;
  margin-bottom:0.5em;
}

.info svg {
  fill: #333; /* SVG-kuvakkeen väri */
  margin-right: 10px; /* Väli kuvakkeen ja tekstin välillä */
}
