@import "cc.css";

.cc-tool--option button[data-state="yes"]:after {
  background-image: url(check-blista.svg);
}

.cc-tool--option button[disabled]:after {
  background-color: white;
  background-image: url(check-grau.svg);
}

.cc-tool--option button:focus {
  box-shadow: 0 0 1px black, 0 0 3px #4cc059;
}

.cc-tool h2 {
  background: transparent;
  color: black;
  font-family: FrutigerBook, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 40px;
}

.cc-tool {
  font-family: Frutiger, Roboto, Arial, sans-serif;
}

.cc-tool h2,
.cc-tool--over > div {
  padding: 30px 40px;
}

.cc-tool h2 {
  padding-bottom: 18px;
}

.cc-tool h2 + div {
  padding-top: 0;
}

.cc-tool h3 {
  padding: 0;
}

.cc-tool p {
  font-size: 18px;
}

.cc-tool--option {
  flex-direction: row-reverse;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.cc-option-bar .cc-tool--option button {
  margin-right: 20px;
  margin-left: 0;
}

.cc-tool--buttons.cc-tool--buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.cc-button--details.cc-button--details {
  margin-right: auto;
  font-size: 16px;
}

.cc-tool--buttons .cc-button--save:not(:last-child) {
  color: black !important;
  font-family: Frutiger, Roboto, Arial, sans-serif;
}

.cc-tool--buttons .cc-button--save:not(:last-child):focus,
.cc-tool--buttons .cc-button--save:not(:last-child):hover {
  background-color: black !important;
  box-shadow: inset 0 0 0 2px black;
}

.cc-button--accept.cc-button--accept {
  background-color: white !important;
  color: black !important;
  box-shadow: inset 0 0 0 2px currentColor;
}

.cc-button--accept.cc-button--accept:hover,
.cc-button--accept.cc-button--accept:focus {
  color: white !important;
  background-color: black !important;
  box-shadow: inset 0 0 0 2px black;
}

.cc-tool--buttons button {
  font-size: 16px !important;
  padding: 1em 2em;
}

.cc-tool a {
  color: black !important;
  text-decoration: underline !important;
}

.cc-tool a:hover,
.cc-tool a:focus {
  background-color: black !important;
  color: white !important;
}


@media (max-width: 1023px) {
  .cc-button--details.cc-button--details {
    text-align: left;
    margin-bottom: 1em;
    margin-right: 50%;
  }
}
@media (max-width: 768px) {
  .cc-button--details.cc-button--details {
    margin-right: 30%;
  }
}


@media (max-width: 600px) {
  .cc-tool h2,
  .cc-tool--over > div {
    padding: 10px;
  }
  .cc-tool h2 {
    font-size: 18px;
  }
  .cc-tool p {
    font-size: 11px;
  }
  .cc-option-bar--wrap .cc-option-bar,
  .cc-tool--option {
    margin-bottom: 10px;
  }
  .cc-option-bar h3 {
    font-size: 12px !important;
  }
  .cc-tool--buttons button {
    font-size: 2.666vw !important;
  }
  .cc-option-bar .cc-tool--option {
    margin-top: 4px;
    margin-bottom: 4px;
  }
}
