body {
  background-color: #f5f5f5 !important;
}

.row {
  margin-top: 5%;
}

.form-control:focus {
  border-color: #1d764a !important;
  box-shadow: none !important;
}

.form-control {
  background-color: rgba(0, 0, 0, 0.05) !important;
}
.disabled {
  pointer-events: none;
  filter: grayscale(1);
}

#survey {
  display: none;
  max-width: 1200px;
  min-width: 730px;
  margin: auto;
  border-radius: 10px;
  border: solid rgba(46, 46, 46, 0.25) 1px;
  margin-top: 40px;
  margin-bottom: 20px;
  width: 45%;
  overflow: hidden;
  height: auto;
  background-color: white;
  border-left: #222222 solid 15px;
  box-shadow: 0 4px 12px 0px rgba(0, 0, 0, 0.15);
}
#survey-content {
  font-family: "Roboto", sans-serif;
  margin-top: 5%;
  margin-left: 12%;
  margin-right: 12%;
}

#alueorganisaatio {
  cursor: not-allowed;
}

#survey-content label {
  font-weight: 500;
  font-size: 1.05em;
}

.required::after {
  content: "*";
  color: #309060;
  display: inline-block;
  width: 0.5em;
  text-align: center;
}

#survey-content h1 {
  font-size: 2.35em;
  word-break: break-word;
  color: #101010;
}
#survey-content table {
  text-align: center;
}
#survey-content th {
  font-weight: normal;
  word-break: break-word;
  padding: 1rem;
  vertical-align: top;
}
.table thead th {
  font-weight: bold !important;
  border-top: none !important;
}
th:nth-child(1) {
  width: 60%;
  text-align: left;
}
.short-first-col th:nth-child(1) {
  width: 40%;
  word-break: keep-all;
}

.short-first-col thead th {
  font-weight: normal !important;
}

input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}
#survey-content h5 {
  margin-bottom: -2%;
  color: #535353;
}

.kuvaus {
  color: rgb(77, 77, 77);
  font-size: 0.9em;
  margin-top: 15px;
}

.form-check-label {
  cursor: pointer;
}

.form-check-label:hover {
  background-color: #f1f1f1;
}

#logo {
  width: 25%;
  margin-bottom: 5px;
}

#Varaus_Lisäkysymykset,
#VisitFinlandAbroadMarketQuestion {
  display: none;
  background-color: rgb(250, 250, 250);
  padding: 25px;
  margin: 0px 10px 0px 10px;
  height: auto;
  width: 100%;
  border: 1px solid #00000033;
  border-radius: 8px;
}

#kielteinen_kv_markkinointi_selvennys {
  display: none;
  padding: 0px 25px;
}

.asteikko {
  width: auto !important;
  text-align: center !important;
  font-size: 0.85em;
  vertical-align: top !important;
}

#success-screen {
  display: none;
  font-family: "Roboto", sans-serif;
  position: relative;
  padding: 5%;
  background-color: rgb(255, 255, 255);
  max-width: 50%;
  box-shadow: 0 4px 12px 0px rgba(0, 0, 0, 0.137);
  margin: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow-wrap: "anywhere";
}

#y_tunnus {
  margin-bottom: 10px;
}

#steadyInstructions {
  display: none;
}

#readyInstructions {
  display: none;
}

#goInstructions {
  display: none;
}

.liiketoimintaInstructions {
  padding: 0px 10px;
  margin-top: 10px;
  border-left: 5px solid #eb3c99;
}

.tiedollajohtaminenInstructions {
  padding: 0px 10px;
  margin-top: 10px;
  border-left: 5px solid #eb806c;
}

.startInstructions {
  padding: 0px 10px;
  margin-top: 10px;
  border-left: 5px solid #ffa1e4;
}

.goInstructions {
  padding: 0px 10px;
  margin-top: 10px;
  border-left: 5px solid #eb3c99;
}

#success-screen-content {
  padding: 8px 20px;
  background-color: #80808008;
}

#success-screen li {
  margin-bottom: 10px;
}

#success-screen hr {
  border-top: 1px solid rgb(19, 19, 19);
}

@media only screen and (max-width: 1100px) {
  #success-screen {
    max-width: 75%;
  }
}

@media only screen and (max-width: 750px) {
  #success-screen {
    max-width: 100%;
  }
  #success-screen p {
    font-size: 0.9em !important;
  }
}

@media only screen and (max-width: 500px) {
  #survey {
    width: 100%;
    min-width: auto;
    margin-top: 0;
    font-size: 1.25em;
    border-left: #151515 solid 10px;
  }
  #survey-content {
    margin-right: 8%;
    margin-left: 8%;
  }
  h1 {
    font-size: 1.35em !important;
  }
  .kuvaus {
    font-size: 0.65em !important;
  }
  p {
    font-size: 0.75em !important;
  }
  thead th {
    word-break: break-word;
    font-size: 0.75em;
    padding: 0.3rem !important;
  }
  #survey-content label {
    font-size: 0.85em;
  }
  #Varaus_Lisäkysymykset {
    padding: 2%;
  }
  .asteikko {
    font-size: 0.65em !important;
    padding: 0.25rem !important;
  }
}

@media only screen and (max-width: 370px) {
  #survey {
    border-left: #151515 solid 8px;
  }
  .asteikko {
    font-size: 0.6em !important;
    padding: 0.2rem !important;
  }
}
@media only screen and (max-width: 320px) {
  .asteikko {
    font-size: 0.5em !important;
  }
}
