html {
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}

#opt_out_breadcrumbs {
  margin: 15px 0 45px;
  padding: 0 120px;
}

.opt_out_breadcrumbs_inner {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f4f8fa;
  padding: 24px;
  column-gap: 10px;
  transition: background-color 0.3s ease-in-out;
}

html.dark .opt_out_breadcrumbs_inner {
  background-color: var(--say9-action-dark);
}

.opt_out_breadcrumbs_link {
  line-height: 30px;
  transition: color 0.3s ease-in-out;
}

.opt_out_breadcrumbs_txt {
  color: var(--say9-main-blue);
  line-height: 30px;
  transition: color 0.3s ease-in-out;
}

.opt_out_breadcrumbs_txt::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 4px;
  height: 4px;
  background-color: var(--say9-main-blue);
  margin-right: 6px;
  margin-top: -2px;
}

#opt_out_main {
  margin-bottom: 90px;
  padding: 0 120px;
}

.opt_out_main_inner {
  display: flex;
  column-gap: 70px;
}

#opt_out_toc_block {
  width: 340px;
  flex-shrink: 0;
  position: relative;
}

#opt_out_toc_wrapper {
  position: sticky;
  top: 100px;
  height: calc(80vh - 70px);
  overflow: hidden;
}

#opt_out_toc {
  background-color: #ffffff;
  padding: 10px 14px 14px;
  border-radius: 12px;
  border: 1px solid #07486266;
  max-height: 100%;
  margin-bottom: 2vh;
  overflow-y: auto;
  background-color: transparent;
}

@supports (-moz-appearance: none) {
  #opt_out_toc {
    scrollbar-color: var(--say9-main-orange) rgba(7, 72, 98, 0.2);
  }
}

#opt_out_toc::-webkit-scrollbar {
  width: 7px;
}

#opt_out_toc::-webkit-scrollbar-track {
  background-color: rgba(7, 72, 98, 0.2);
  border-radius: 0 12px 12px 0;
}

#opt_out_toc::-webkit-scrollbar-thumb {
  background-color: var(--say9-main-orange);
  border-radius: 0 12px 12px 0;
}

.opt_out_toc_title {
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  margin-bottom: 30px;
  transition: color 0.3s ease-in-out;
}

.opt_out_toc_list {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

.opt_out_toc_heading {
  padding: 4px 4px 4px 18px;
  position: relative;
  border-radius: 5px;
  border: 1px solid transparent;
  transition: border-color 0.3s ease-out;
}

.opt_out_toc_heading.active_heading {
  border-color: #50a2c866;
}

html.dark .opt_out_toc_heading.active_heading {
  border-color: rgba(45, 220, 255, 0.5);
}

.opt_out_toc_heading span {
  position: absolute;
  top: 13px;
  left: 8px;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
}

.opt_out_toc_heading span svg path {
  transition: stroke 0.3s ease-out;
}

html.dark .opt_out_toc_heading span svg path {
  stroke: rgba(252, 252, 252, 0.6);
}

html .opt_out_toc_heading.active_heading span svg path {
  stroke: var(--say9-main-blue);
}

.opt_out_toc_heading a {
  font-size: 14px;
  line-height: 30px;
  opacity: 0.8;
  transition: opacity 0.3s ease-out;
  display: block;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}

.opt_out_toc_heading.active_heading a {
  opacity: 1;
}

#opt_out_content {
  width: 100%;
}

#opt_out_content * {
  line-height: 30px;
  color: rgba(7, 72, 98, 0.8);
  transition: color 0.3s ease-in-out;
}

html.dark #opt_out_content * {
  color: rgba(252, 252, 252, 1);
}

.opt_out_content_block {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.opt_out_content_block:first-child {
  margin-top: -10px;
}

.opt_out_content_block:last-child {
  margin-bottom: 10px;
}

.opt_out_heading {
  font-size: 18px;
}

#opt_out_content p {
  font-size: 14px;
}

#opt_out_content p strong {
  font-weight: 600;
  font-size: 14px;
}

#opt_out_content a {
  font-size: 14px;
  text-decoration: underline;
}

.opt_out_subheading {
  font-size: 14px;
  font-weight: 600;
}

.opt_out_subheading_sm {
  font-size: 14px;
  font-weight: 500;
}

#opt_out_content ol {
  list-style-type: decimal;
  padding-left: 20px;
}

#opt_out_content li {
  font-size: 14px;
}

#opt_out_content ul li {
  position: relative;
  padding-left: 20px;
}

#opt_out_content ul li::before {
  content: "";
  width: 2px;
  height: 2px;
  background-color: #074862cc;
  border-radius: 50%;
  position: absolute;
  left: 10px;
  top: 15px;
  transition: background-color 0.3s ease-in-out;
}

html.dark #opt_out_content ul li::before {
  background-color: rgba(252, 252, 252, 1);
}

.contact_details p {
  font-weight: 500;
}

/* Preferences */

.preferences {
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.preference {
  border-radius: 10px;
  border: 1px solid #07486266;
  background-color: #fff;
  overflow: hidden;
  background-color: transparent;
  transition: border-color 0.3s ease-in-out !important;
}

html.dark .preference {
  border-color: rgba(252, 252, 252, 0.3);
}

.preference_question {
  padding: 30px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

#opt_out_content .preference_question .content {
  font-size: 20px;
  line-height: 1.5em;
  font-weight: 600;
  color: var(--say9-text-blue);
}

.preference_answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out !important;
}

.preference .icon {
  transform: rotate(0deg);
  transform-origin: 7px 8px;
  transition: transform 0.3s ease-in-out !important;
  transform-origin: center center;
  width: 21px;
  height: 21px;
}

.preference .icon svg path {
  fill: var(--say9-text-blue);
  transition: fill 0.3s ease-in-out !important;
}

.preference.active .icon {
  transform: rotate(180deg);
  position: relative;
}

.preference.active .preference_answer {
  padding: 0 20px 20px;
}

#opt_out_content .preference_answer_heading {
  line-height: 1.5em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--say9-text-blue);
}

#opt_out_content .preference_answer_subheading {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5em;
  color: var(--say9-text-blue);
}

.preference_answer_block {
  display: flex;
  column-gap: 20px;
  margin: 20px 0;
}

.preference_answer_item {
  max-width: 50%;
  width: 100%;
}

#opt_out_content .preference_answer_item_txt,
#opt_out_content .preference_answer_item_txt a {
  font-size: 14px;
  line-height: 1.5em;
  font-weight: 500;
  color: var(--say9-text-blue);
}

.preference_answer_table {
  border-radius: 11px;
  overflow: hidden;
}

.preference_answer_table.preference_answer_table_mob {
  display: none;
}

#opt_out_content .preference_answer .preference_answer_table {
  margin-bottom: 20px;
}

#opt_out_content .preference .preference_answer_table:last-child {
  margin-bottom: 0;
}

.preference_answer_table table {
  border-collapse: inherit;
  border-spacing: 0;
  border: 1px solid #07486299;
  border-radius: 11px;
  width: 100%;
  transition: border-color 0.3s ease-in-out !important;
}

html.dark .preference_answer_table table {
  border-color: rgba(252, 252, 252, 0.6);
}

#opt_out_content .preference_answer_table th,
#opt_out_content .preference_answer_table td {
  padding: 10px 10px 10px 20px;
  line-height: 1.5em;
  color: var(--say9-text-blue);
}

#opt_out_content .preference_answer_table td a {
  line-height: 1.5em;
}

.preference_answer_table th {
  border: 1px solid #07486299;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  background-color: #f4f8fa;
  width: 33%;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, border-color 0.3s ease-in-out !important;
}

html.dark .preference_answer_table th {
  background-color: var(--say9-action-dark);
  border-color: rgba(252, 252, 252, 0.6);
}

.preference_answer_table td {
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #07486299;
  width: 33%;
  transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out !important;
}

html.dark .preference_answer_table td {
  border-color: rgba(252, 252, 252, 0.6);
}

#opt_out_content .preference_answer_table td a {
  color: var(--say9-text-blue);
}

.preference_answer_table th:first-child {
  border-top-left-radius: 11px;
}

.preference_answer_table th:last-child {
  border-top-right-radius: 11px;
}

.preference_answer_table tr + tr th,
.preference_answer_table tr + tr td {
  border-top: 0;
}

.preference_answer_table th + th,
.preference_answer_table th + td,
.preference_answer_table td + th,
.preference_answer_table td + td {
  border-left: 0;
}

.preference_answer_table th:first-child,
.preference_answer_table td:first-child {
  border-left: 0;
}

.preference_answer_table th:last-child,
.preference_answer_table td:last-child {
  border-right: 0;
}

.preference_answer_table tr:first-child th,
.preference_answer_table tr:first-child td {
  border-top: 0;
}

.preference_answer_table tr:last-child td {
  border-bottom: 0;
}

@media screen and (max-width: 1440px) {
  #opt_out_main {
    margin-bottom: 60px;
  }
}

@media screen and (max-width: 1200px) {
  #opt_out_breadcrumbs,
  #opt_out_main {
    padding: 0 60px;
  }
}

@media screen and (max-width: 1100px) {
  .opt_out_main_inner {
    column-gap: 30px;
  }
  
  #opt_out_toc_block {
    width: 280px;
  }
}

@media screen and (max-width: 1024px) {
  #opt_out_breadcrumbs {
    margin: 20px 0 30px;
    padding: 0 16px;
  }

  #opt_out_main {
    padding: 0 16px;
  }

  .opt_out_main_inner {
    flex-direction: column;
    row-gap: 50px;
  }

  #opt_out_toc_wrapper {
    height: unset;
  }

  #opt_out_toc_block {
    width: 100%;
  }

  #opt_out_toc {
    margin-bottom: 12px;
  }

  #opt_out_toc_wrapper {
    position: static;
  }

  .opt_out_content_block:first-child {
    margin-top: 0;
  }
}

@media screen and (max-width: 768px) {
  .opt_out_breadcrumbs_inner {
    padding: 10px;
  }

  #opt_out_main {
    margin-bottom: 40px;
  }

  .opt_out_heading {
    font-size: 16px;
  }

  .preferences {
    row-gap: 14px;
  }

  .preference_question {
    padding: 17.5px 15px 17.5px 10px;
  }

  #opt_out_content .preference_question .content {
    font-size: 16px;
  }

  .preference .icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .preference .icon svg {
    width: 16px;
  }

  .preference_answer {
    padding: 0 10px;
  }

  .preference.active .preference_answer {
    padding: 0 10px 10px;
  }

  #opt_out_content .preference_answer_heading {
    font-size: 15px;
  }

  #opt_out_content .preference_answer_subheading {
    font-size: 14px;
  }
}

@media screen and (max-width: 650px) {
  .preference_answer_table:not(.preference_answer_table_mob) {
    display: none;
  }

  .preference_answer_table.preference_answer_table_mob {
    display: block;
  }

  #opt_out_content .preference_answer_table tr:nth-child(6n - 5) td,
  #opt_out_content .preference_answer_table tr:nth-child(6n - 4) td,
  #opt_out_content .preference_answer_table tr:nth-child(6n - 3) td {
    background-color: var(--say9-action-dark);
  }

  #opt_out_content .preference_answer_table td:nth-child(odd) {
    font-size: 15px;
    padding: 8.5px 10px;
  }

  #opt_out_content .preference_answer_table td:nth-child(even) {
    padding: 9.5px 10px;
    width: 67%;
    word-break: break-word;
  }

  #opt_out_content .preference_answer_table tr:first-child td:first-child {
    border-top-left-radius: 11px;
  } 

  #opt_out_content .preference_answer_table tr:first-child td:last-child {
    border-top-right-radius: 11px;
  } 

  #opt_out_content .preference_answer_table tr:last-child td:first-child {
    border-bottom-left-radius: 11px;
  } 

  #opt_out_content .preference_answer_table tr:last-child td:last-child {
    border-bottom-right-radius: 11px;
  } 

  .preference_answer_block {
    flex-direction: column;
    row-gap: 10px;
  }

  .preference_answer_item {
    max-width: 100%;
  }
}

@media screen and (max-width: 450px) {
  #opt_out_content .preference_question .content {
    font-size: 14px;
  }

  .preference .icon svg {
    width: 10px;
  }
} 