.sv_progress, .sd-progress {
  margin-top: 0px;
  margin-bottom: 48px;
  background-color: #f2f2f2;
  border-radius: 6px;
}

.likert-question>fieldset>.nps-button:nth-child(2),
.likert-question>fieldset>.radio-button:nth-child(2) {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.likert-question>fieldset>.nps-button:last-child,
.likert-question>fieldset>.radio-button:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.likert-question>fieldset>.nps-button.active>.nps-label,
.likert-question>fieldset>.radio-button.active>.radio-button-label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  color: white;
  background-color: var(--color-primary);
  border-radius: 50%;
}

.likert-question {
  width: 100%;
}

.action-button:focus {
	outline: 0;
}

.sd-html{
  text-align: center;
}

.sd-selectbase__label .sd-radio__control,
.sv_q_radiogroup_control_item,
.sd-checkbox__control,
.sv_q_checkbox_control_item {
  display: none;
}

.sd-radio,
.sv_q_radiogroup,
.sd-checkbox,
.sv_q_checkbox {
  background-color: #DFE2E3;
  border: 2px solid #DFE2E3;
  margin-bottom: 8px;
  max-width: 600px;
  cursor: pointer;
}

label.sd-selectbase__label,
label.sv_q_radiogroup_label,
label.sd-checkbox__label,
label.sv_q_checkbox_label {
  margin-bottom: 0;
  cursor: pointer;
  font-weight: normal;
  font-size: 14px;
  line-height: 20px;
  padding: 6px 12px;
  padding-left: 24px;
}

.sd-radio:hover,
.sv_q_radiogroup:hover,
.sd-checkbox:hover,
.sv_q_checkbox:hover {
  border-color: var(--color-primary);
}

.sd-selectbase__item.sd-radio--checked,
.sv_q_radiogroup.checked,
.sd-checkbox--checked,
.sv_q_checkbox.checked {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  background-image: url('/images/check.svg');
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: 8px 10px;
}

textarea.sd-selectbase__other,
textarea.sv_q_other {
  width: 100%;
  border: 0;
  padding: 12px;
  min-height: 120px;
  border-radius: 4px;
  color: #333;
  border: 1px solid var(--color-primary) !important;
}

.sd-radio .form-group,
.sd-checkbox .form-group,
.sv_q_radiogroup .form-group,
.sv_q_checkbox .form-group {
  padding: 0 12px;
}

.sv-action--hidden, .sd-checkbox__svg {
  display: none;
}

.sv_main, .sv-visuallyhidden {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px !important;
  width: 1px !important;
}

.sd-question__title--required,
.sd-question__title--answer{
  margin-bottom: 16px;
}

.sd-action-bar,
.sv_q_description {
  margin-bottom: 16px;
  line-height: 1;
  font-size: 12px;
  text-align: center;
}

.sd-matrix__cell,
.sv_q_m_cell {
  text-align: center;
  padding: 10px 0;
}

.sv_q_dropdown__value {
  float: left;
}

.sv-svg-icon.sv_q_dropdown_clean-button-svg {
  height: 26px;
  position: absolute;
}

.sv_main span{
  word-break: normal !important;
}

.sd-matrix__table thead tr th,
.sv_q_matrix thead tr th {
  vertical-align: baseline;
  padding: 0 12px;
}

.sd-matrix__table tbody tr:nth-child(odd),
.sv_q_matrix tbody tr:nth-child(odd) {
  background-color: rgba(0,0,0,0.05);
}

.sd-matrix__table tbody tr td:first-child,
.sv_q_matrix tbody tr td:first-child {
  padding: 0 12px;
}

.sd-matrix__label input,
.sv_q_m_label input {
  transform: scale(1.5);
  accent-color: gray;
}

.sd-matrix__label,
.sv_q_m_label {
   padding: 8px 0;
}

.question.top-label {
  margin-bottom: 16px;
  text-align: center;
}

.sv_row:nth-child(2) .sv_q_description,
.sv_row:nth-child(2) .question-title {
  /*display: none;*/
}

.one-row-matrix>thead>tr>td:first-child,
.one-row-matrix>tbody>tr>td:first-child {
  display: none !important;
}

.highlight-response {
  color: #FC4C02;
}

.sd-matrix__cell,
.sv_q_m_cell {
  padding: 0;
}

.sd-matrix__label,
.sv_q_m_label {
  margin: 0;
  border: 1px solid transparent;
}

.sd-matrix__table thead tr th,
.sv_q_matrix thead tr th {
  font-size: 14px;
  font-weight: 400;
  padding: 2px 4px;
  vertical-align: bottom;
  width: 20%;
}

.sd-matrix__label:hover,
.sv_q_m_label:hover {
  border: 1px dashed currentColor;
}

.sv_q_dropdown_control {
  width: 100%;
  appearance: none;
  border-radius: 4px;
  padding: 6px 12px;
  border: 1px solid lightgray;
  font-size: 14px;
  line-height: 20px;
  height: 36px;
}

.sv_q_dropdown_control:hover {
  border: 1px solid gray;
}

.sd-matrix__table,
.sv_q_matrix {
  width: 100%;
  margin-bottom: 16px;
}

.question-input.wide {
  display: block;
  width: 100%;
}

.sd-matrix__table.full-matrix thead tr th,
.sv_q_matrix.full-matrix thead tr th {
  width: 13%;
}

.sd-matrix__table.full-matrix tbody tr td:first-child,
.sv_q_matrix.full-matrix tbody tr td:first-child {
  text-align: left;
  padding-top: 16px;
  padding-bottom: 16px;
}

.lang-selector {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.privacy-policy-link {
  position: fixed;
  left: 0;
  bottom: 16px;
  width: 24px;
  height: 32px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  background-color: var(--color-primary);
  background-image: url('/images/privacy-policy.png');
  background-repeat: no-repeat;
  background-position: center center;
}

.sd-dropdown {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-inline-end: calc(6 * var(--sjs-base-unit, var(--base-unit, 8px)));
  padding-inline-start: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
  opacity: 1;
  display: flex;
  justify-content: space-between;
}

.sv-dropdown_select-wrapper {
  position: relative;
}

.sd-dropdown__filter-string-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  max-width: 100%;
  border: none;
  outline: none;
  padding: 0;
  font-family: var(--sjs-font-editorfont-family, var(--font-family));
  font-weight: var(--sjs-font-editorfont-weight, 400);
  color: var(--sjs-font-editorfont-color, var(--sjs-general-forecolor, rgba(0, 0, 0, 0.91)));
  font-size: var(--sjs-font-editorfont-size, calc(1 * var(--sjs-font-size, var(--sjs-font-size, 16px))));
  line-height: calc(1.5 * var(--sjs-font-editorfont-size, calc(1 * var(--sjs-font-size, var(--sjs-font-size, 16px)))));
  background-color: rgba(0,0,0,0);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  appearance: none;
  height: 100%;
}

.sd-input.sd-dropdown:focus-within .sd-dropdown__filter-string-input {
  z-index: 2000;
}

.sd-dropdown__value {
  width: 100%;
  min-height: calc(1.5 * var(--sjs-font-editorfont-size, calc(1 * var(--sjs-font-size, var(--sjs-font-size, 16px)))));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: calc(1.5 * var(--sjs-font-editorfont-size, calc(1 * var(--sjs-font-size, var(--sjs-font-size, 16px)))));
  font-family: var(--sjs-font-editorfont-family, var(--font-family));
  font-weight: var(--sjs-font-editorfont-weight, 400);
  color: var(--sjs-font-editorfont-color, var(--sjs-general-forecolor, rgba(0, 0, 0, 0.91)));
  font-size: var(--sjs-font-editorfont-size, calc(1 * var(--sjs-font-size, var(--sjs-font-size, 16px))));
  position: relative;
}

.sv-dropdown-popup {
  height: 0;
}

.sv-popup {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  outline: none;
  z-index: 2000;
  height: 100vh;
}

.sv-popup__container {
  box-shadow: var(--sjs-shadow-large, 0px 8px 16px 0px rgba(0, 0, 0, 0.1));
  border-radius: calc(1 * var(--sjs-corner-radius, 4px));
  position: absolute;
  padding: 0;
}

.sv-popup__shadow {
  width: 100%;
  height: 100%;
  border-radius: calc(1 * var(--sjs-corner-radius, 4px));
}

.sv-popup__body-content {
  background-color: var(--sjs-general-backcolor, var(--background, #fff));
  border-radius: calc(1 * var(--sjs-corner-radius, 4px));
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  max-width: 100vw;
}

.sv-popup__scrolling-content {
  height: 100%;
  overflow: auto;
  display: flex;
  flex-direction: column;
}

.sv-popup__content {
  min-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.sv-list__empty-container {
  width: 100%;
  font-family: var(--font-family, var(--font-family));
  box-sizing: border-box;
  padding: calc(1.5 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(8 * var(--sjs-base-unit, var(--base-unit, 8px)));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sv-list {
  padding: 0;
  margin: 0;
  overflow-y: auto;
  background: var(--sjs-general-backcolor, var(--background, #fff));
  font-family: var(--font-family, var(--font-family));
  list-style-type: none;
}

.sv-list__item {
  width: 100%;
  align-items: center;
  box-sizing: border-box;
  color: var(--sjs-general-forecolor, var(--foreground, #161616));
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sd-dropdown_chevron-button {
  position: absolute;
  width: calc(5 * var(--sjs-base-unit, var(--base-unit, 8px)));
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-inline-end: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
}

.sd-dropdown_clean-button-svg {
  position: absolute;
  width: calc(5 * var(--sjs-base-unit, var(--base-unit, 8px)));
  top: 6px;
  bottom: 0;
  inset-inline-end: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-inline-end: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 12px)));
  right: 28px;
}

.sd-dropdown_chevron-button-svg, .sd-dropdown_clean-button-svg {
  width: calc(1.5 * var(--sjs-font-editorfont-size, calc(1 * var(--sjs-font-size, var(--sjs-font-size, 16px)))));
  height: calc(1.5 * var(--sjs-font-editorfont-size, calc(1 * var(--sjs-font-size, var(--sjs-font-size, 16px)))));
}

.sv-progressbar-percentage {
  display: flex;
  flex-direction: row;
  margin-top: 0px;
  margin-bottom: 48px;
  border-radius: 6px;
  align-items: center;
}

.sv-progressbar-percentage__indicator {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 95%;
  height: 12px;
  background-color: #f2f2f2;
  border-radius: 6px;
}

.sv-progressbar-percentage__value-bar {
  border-radius: 6px;
  height: 12px;
  background-color: var(--color-primary);
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
}

.sv-progressbar-percentage__value {
  margin-left: 6px;
  font-size: 16px;
  display: flex;
  font-weight: 600;
}

.sd-rating fieldset {
  gap: var(--sjs-base-unit, var(--base-unit, 8px));
}

.sd-rating__item-star {
  position: relative;
  width: calc(6*(var(--sjs-base-unit, var(--base-unit, 8px))));
  height: calc(6*(var(--sjs-base-unit, var(--base-unit, 8px))))
}

.sd-rating__item-star:not(:first-of-type) {
  padding-left: calc(0.5*(var(--sjs-base-unit, var(--base-unit, 8px))));
  margin-left: calc(-0.5*(var(--sjs-base-unit, var(--base-unit, -8px))))
}

.sd-rating__item-star:not(:last-of-type) {
  padding-right: calc(0.5*(var(--sjs-base-unit, var(--base-unit, 8px))));
  margin-right: calc(-0.5*(var(--sjs-base-unit, var(--base-unit, -8px))))
}

.sd-rating__item-star svg {
  stroke: var(--sjs-border-default, var(--border, #d6d6d6));
  fill: none;
  width: calc(6*(var(--sjs-base-unit, var(--base-unit, 8px))));
  height: calc(6*(var(--sjs-base-unit, var(--base-unit, 8px))));
  display: block
}

.sd-rating__item-star .sv-star-2 {
  display: none;
}

.sd-rating__item-star--small {
  width: calc(3*(var(--sjs-base-unit, var(--base-unit, 8px))));
  height: calc(3*(var(--sjs-base-unit, var(--base-unit, 8px))))
}

.sd-rating__item-star--small svg {
  width: calc(3*(var(--sjs-base-unit, var(--base-unit, 8px))));
  height: calc(3*(var(--sjs-base-unit, var(--base-unit, 8px))))
}

.sd-rating__item-star--selected svg {
  stroke: none;
  fill: var(--sjs-primary-backcolor, var(--primary, var(--color-primary)))
}

.sd-rating__item-star--error svg {
  stroke: none;
  fill: var(--sjs-special-red-light, var(--red-light, rgba(230, 10, 62, 0.1)))
}

.sd-rating__item-star--disabled {
  opacity: .5
}

.sd-rating__item-star--disabled svg {
  stroke: var(--sjs-border-default, var(--border, #d6d6d6));
  fill: none
}

.sd-rating__item-star--selected.sd-rating__item-star--disabled svg {
  stroke: none;
  fill: var(--sjs-border-default, var(--border, #d6d6d6))
}

.sd-rating__item-star:focus-within svg {
  stroke: var(--sjs-primary-backcolor, var(--primary, var(--color-primary)));
  fill: none
}

.sd-rating__item-star--unhighlighted svg {
  stroke: none;
  fill: var(--sjs-border-default, var(--border, #d6d6d6))
}

.sd-rating__item-star--highlighted svg {
  stroke: var(--sjs-border-default, var(--border, #d6d6d6));
  fill: var(--sjs-questionpanel-hovercolor, var(--sjs-general-backcolor-dark, rgb(248, 248, 248)))
}

.sd-rating__item-star--selected.sd-rating__item-star--unhighlighted:focus-within svg {
  stroke: var(--sjs-border-default, var(--border, #d6d6d6));
  fill: var(--sjs-border-default, var(--border, #d6d6d6))
}

.sd-rating__item-star--selected:focus-within svg {
  stroke: var(--sjs-primary-backcolor, var(--primary, var(--color-primary)));
  fill: var(--sjs-primary-backcolor, var(--primary, var(--color-primary)))
}

.sd-rating__item-star--selected:focus-within .sv-star {
  display: none
}

.sd-rating__item-star--selected:focus-within .sv-star-2 {
  display: block
}

.sd-description {
  text-align: center;
  margin-bottom: 6px;
  font-style: italic;
}

@media screen and (max-width: 479px) {
  .likert-question>fieldset>.nps-button.active>.nps-label {
    width: 20px;
    height: 20px;
  }
}

@media screen and (max-width: 767px) {
  td.sd-matrix__cell::after,
  td.sv_q_m_cell::after {
    content: attr(data-responsive-title);
    /*content: attr(title);*/
    padding-left: 32px;
  }
  td.sd-matrix__cell:first-child::after,
  td.sv_q_m_cell:first-child::after {
    content: '';
    padding: 0;
  }
  
  .full-matrix thead {
    display: none;
  }
  
  .sd-matrix__table tbody tr,
  .sv_q_matrix tbody tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 32px;
  }
  
  td.sd-matrix__cell,
  td.sv_q_m_cell {
    display: flex;
    flex-direction: row;
    padding: 4px 12px 4px 0px;
    align-items: center;
    position: relative;
  }
  
  label.sd-matrix__label,
  label.sv_q_m_label {
    /* margin-right: 8px; */
    /* left: 0; */
    display: flex;
    position: absolute;
    width: 100%;
    padding-left: 8px;
  }
  .sd-matrix__table.full-matrix tbody tr td:first-child,
  .sv_q_matrix.full-matrix tbody tr td:first-child {
    font-weight: 700;
  }
  .sd-matrix__table tbody tr td label,
  .sv_q_matrix tbody tr {
    background-color: transparent !important;
  }
  .sv_progress, .sd-progress {
    margin-top: 0px;
    margin-bottom: 16px;
  }
}
