#cc-valinta {
  margin: 2rem auto;
}

.lms-selector-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.lms-consent-modal {
  display: none;
}

.lms-consent-modal.show {
  display: block;
  position: fixed;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 9999;
  padding: 30px;
  border-radius: 0px;
  background: #f5f5f5;
}

.lms-modal-body {
  padding: 10px 0 20px 0;
  font-weight: 400;
  color: #222f2c;
}

.lms-modal-title {
  color: #222f2c;
}

.lms-modal-actions {
  display: flex;
  flex-direction: column;
}

button.lms-select-button,
.lms-modal-actions button {
  background-color: #013f8b;
  color: #ffffff;
  text-align: center;
  transition: all 0.2s ease-in-out;
  border: 0;
  border-radius: 4px;
  box-shadow: none;
  cursor: pointer;
  display: inline-block;
  font-size: 1em;
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  text-align: center;
  text-decoration: none;
  word-break: break-word;
}

button.lms-select-button:hover,
.lms-modal-actions button:hover {
  background-color: #003c86;
  text-decoration: none;
}

.lms-select-action {
  margin-top: 1rem;
}

.lms-cookie-select {
  background-color: #f5f5f5;
  color: #222f2c;
  padding: 20px;
}

.lms-cookie-select.selected {
  background-color: #f5f5f5;
}

.lms-cookie-select h4 {
  color: #2d3134;
  margin: 0 0 10px 0;
}

@media only screen and (max-width: 761px) {
  .lms-modal-actions button {
    margin-bottom: 10px;
  }
}

@media screen and (min-width: 981px) {
  .lms-selector-container {
    grid-template-columns: 1fr 1fr;
  }

  .lms-modal-actions button:not(:last-child) {
    margin-right: 1rem;
  }

  .lms-modal-actions {
    flex-direction: row;
  }
}

.selected .lms-select-button span {
  display: none;
}
.selected .lms-select-button::after {
  content: "✔ Valittu ";
}
