.alterna-cx-card-actions button.alterna-cx-trigger-prev,
.alterna-cx-card-actions button.alterna-cx-trigger-prev:not(:disabled):hover {
  color: #c92027 !important;
  background: #fefefe !important;
}

.alterna-cx-card-actions button.alterna-cx-trigger-next,
.alterna-cx-card-actions button.alterna-cx-trigger-next:not(:disabled):hover {
  color: #fefefe !important;
  background: #c92027 !important;
}

.alterna-cx-choice-other .alterna-cx-char-counter {
  color: #000000 !important;
}

.alterna-cx-choice input:checked+.alterna-cx-choice-other {
  background: #fff !important;
}

.alterna-cx-choice input:checked+.alterna-cx-choice-label>label, .alterna-cx-choice input:checked+.alterna-cx-choice-other>label, .alterna-cx-choice input:checked+.alterna-cx-choice-label>label::before, .alterna-cx-choice input:checked+.alterna-cx-choice-other>label::before, .alterna-cx-choice input:checked+.alterna-cx-choice-label>label::after, .alterna-cx-choice input:checked+.alterna-cx-choice-other>label::after {
  color: #fefefe !important;
}

.alterna-cx-choice .alterna-cx-choice-label>label, .alterna-cx-choice .alterna-cx-choice-other>label, .alterna-cx-choice .alterna-cx-choice-label>label::after, .alterna-cx-choice .alterna-cx-choice-other>label::after {
  color: #000000 !important;
}

.alterna-cx-choice .alterna-cx-choice-label>label:hover, .alterna-cx-choice .alterna-cx-choice-other>label:hover, .alterna-cx-choice .alterna-cx-choice-label>label:hover::after, .alterna-cx-choice .alterna-cx-choice-other>label:hover::after {
  color: #fefefe !important;
}

.alterna-cx-textarea, .alterna-cx-textinput{
  color: #000000 !important;
}

.alterna-cx-choice .alterna-cx-choice-other .alterna-cx-textarea{
  color: #000000 !important;
}

@media only screen and (max-width: 650px) {
  .alterna-cx-web-body {
    padding-bottom: 0 !important;
    height: -webkit-calc(100% - 4em) !important;
    height: -moz-calc(100% - 4em) !important;
    height: -ms-calc(100% - 4em) !important;
    height: -o-calc(100% - 4em) !important;
    height: calc(100% - 4em) !important;
    max-height: -webkit-calc(100% - 4em) !important;
    max-height: -moz-calc(100% - 4em) !important;
    max-height: -ms-calc(100% - 4em) !important;
    max-height: -o-calc(100% - 4em) !important;
    max-height: calc(100% - 4em) !important;
  }
  .alterna-cx-rank-order .alterna-cx-subquestion {
    padding-top: 0 !important;
  }
  .alterna-cx-rank-order .alterna-cx-subquestion .alterna-cx-question-text {
    padding: .5em .5em .5em 1em !important;
    height: auto;
  }
  .alterna-cx-rank-order .alterna-cx-subquestion .alterna-cx-choice-group-h,
  .alterna-cx-rank-order .alterna-cx-subquestion .alterna-cx-choice-icon-group,
  .alterna-cx-rank-order .alterna-cx-subquestion .alterna-cx-input-group {
    padding: .5em .5em !important;
  }
  .alterna-cx-rank-order .alterna-cx-subquestion .alterna-cx-label-top .alterna-cx-choice-icon .alterna-cx-choice-label>label {
    padding: 0 !important;
    line-height: 1.5em;
  }
  .alterna-cx-rank-order .alterna-cx-subquestion:first-child .alterna-cx-label-top .alterna-cx-choice-icon .alterna-cx-choice-label>label:after {
    top: 1.2em !important;
  }
  .alterna-cx-rank-order .alterna-cx-subquestion:first-child .alterna-cx-label-top .alterna-cx-choice-icon .alterna-cx-choice-label>label {
    overflow: visible;
  }
  .alterna-cx-rank-order .alterna-cx-subquestion .alterna-cx-label-top .alterna-cx-choice-icon .alterna-cx-choice-label>label:after {
    margin-left: -0.45em !important;
  }
}

@media only screen and (max-height: 600px) {
  .alterna-cx-container {
    font-size: 14px !important;
  }
  .alterna-cx-completionRatio {
    bottom: 35px !important;
  }
  .alterna-cx-survey .alterna-cx-card-body {
    height: -webkit-calc(100% - 35px) !important;
    height: -moz-calc(100% - 35px) !important;
    height: -ms-calc(100% - 35px) !important;
    height: -o-calc(100% - 35px) !important;
    height: calc(100% - 35px) !important;
  }
  .alterna-cx-survey .alterna-cx-card-body .alterna-cx-card-content {
    height: -webkit-calc(100% - 35px);
    height: -moz-calc(100% - 35px);
    height: -ms-calc(100% - 35px);
    height: -o-calc(100% - 35px);
    height: calc(100% - 35px);
  }
}