/*
  Survey UI template stylesheet overrides.

  Key behaviors:
  - Ensure links inside Survey UI and Survey Admin UI inherit surrounding text
    color while keeping an underline.
  - Style the optional footer Privacy Policy link the same way.

  Notes:
  - Intentionally does NOT change global link colors site-wide.
*/

a.survey-privacy-link,
 a.survey-privacy-link:visited,
 a.survey-privacy-link:hover,
 a.survey-privacy-link:active,
 a.survey-privacy-link:focus {
  color: inherit !important;
  text-decoration: underline !important;
}

/*
  End-user survey-rendered content (intro/outro/question HTML) can contain <a> tags.
*/
.survey-ui a,
.survey-ui a:visited,
.survey-ui a:hover,
.survey-ui a:active,
.survey-ui a:focus {
  color: inherit !important;
  text-decoration: underline !important;
}

/*
  Survey admin UI: apply the same behavior for plain links, but avoid
  interfering with links styled as buttons or nav items.
*/
.survey-admin-ui a:not(.btn):not(.nav-link):not(.dropdown-item),
.survey-admin-ui a:not(.btn):not(.nav-link):not(.dropdown-item):visited,
.survey-admin-ui a:not(.btn):not(.nav-link):not(.dropdown-item):hover,
.survey-admin-ui a:not(.btn):not(.nav-link):not(.dropdown-item):active,
.survey-admin-ui a:not(.btn):not(.nav-link):not(.dropdown-item):focus {
  color: inherit !important;
  text-decoration: underline !important;
}

.customizer-menu,
.customizer-sub-menu {
  z-index: 50;
}
