:root {
  --box-shadow: 2px 2px 8px -1px rgba(0, 0, 0, 0.5), 0 2px 4px 0 rgba(0, 0, 0, 0.5);
  --card-shadow: -20px 0 60px 0 rgba(0, 0, 0, 0.3);
  --light-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  --issue-shadow: 2px 2px 8px -1px rgba(0, 0, 0, 0.5), 0 2px 4px 0 rgba(0, 0, 0, 0.5);
  --prim-thead-bg: linear-gradient(70deg, #23495d, #627f91);
  --alt-thead-bg: linear-gradient(70deg, rgb(157, 157, 158), rgba(157, 157, 158, 0.6));
  --border-pallete-thickness: 15px;
  --atl-thead-color: var(--atl-thead-color);
  --info-content-background: #EEFFFF;
  --pallete-passed: rgb(141, 250, 229);
  --pallete-errors: #f45e58;
  --pallete-warnings: rgb(242, 171, 1);
}
html {
  background-color: white;
  min-height: 100vh;
  min-width: 1080px;
  overflow-x: hidden;
}
body {
  min-height: inherit;
}
h2,
h3 {
  font-family: 'Montserrat';
  font-weight: 700;
}
.Odisseia {
  font-family: 'Odisseia';
  letter-spacing: 4px;
}

.error-item.deactive {
  opacity: 0.7;
}

.inventory-domain-info-content {
  background-color: rgb(93, 120, 137);
  font-family: 'Montserrat', monospace;
}
.info-legend-description {
  padding: 15px 30px;
  font-weight: bold;
  color: white;
}
.info-icon-text {
  font-family: 'Lobster Regular', monospace;
  font-weight: lighter;
  font-size: 1.5rem;
  text-align: center;
  vertical-align: middle;
  width: 30px;
  height: 30px;
  border-radius: 20px;
  background-color: #0276FD;
  color: white;
  border: 1px solid white;
}
.icon-text-pair {
  display: grid;
  grid-template-columns: max-content auto;
  gap: 20px;
}
.icon-text-pair > div,
.icon-text-pair > span {
  margin-block: auto;
}
.info-legend-description > div:last-child {
  font-size: 1.2rem;
}
.info-header-title div {
  font-size: 18px;
  font-weight: 800;
  opacity: 0.8;
}
.info-header-title small {
  display: flex;
  flex-direction: row;
  gap: 5px;
  font-weight: 500;
  font-size: 13px;
}
.info-legend-content {
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.issue-details {
  margin-inline: auto 0;
}
.inventory-domain-info-content .issue-details > div {
  display: flex;
  flex-direction: row;
  gap: 20px;
  font-weight: 600;
  font-size: 2rem;
}
.issue-details-overview {
  font-weight: bold;
  font-size: 20px;
  gap: 10px;
}
.issue-details-overview > div:first-child {
  opacity: 0.7;
}
.issue-details-overview > div:last-child::before {
  content: '|';
  margin-right: 10px;
}
.info-content-item {
  margin-top: 20px;
  margin-inline: 40px;
  border-bottom: 1px solid grey;
  padding-inline: 20px;
  border-radius: 30px;
  background-color: #d8d8d8;
}
.caution-cyclic-reference {
  background-image: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 40px,
    rgba(35, 73, 92, 0.1) 40px,
    rgba(35, 73, 92, 0.1) 80px
  );
}

.dimensions-40 {
  height: 40px;
  width: 40px;
}


.info:hover,
.help:hover {
  cursor: help;
}

.semi-bold {
  font-weight: 600;
}

.hidden,
.alt-hidden {
  display: none !important;
}

code {
  font-family: monospace !important;
  margin-inline: 8px;
  font-weight: normal;
  background-color: #c7c7c7;
  padding: 5px 10px;
  border-radius: 3px
}
code.as-block {
  display: block;
  margin: 0;
  margin-top: 10px;
}

.domain-path {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 20px;
  align-items: center;
}

/* Placeholder color */
::placeholder {
  color: white;
  opacity: 0.7;
}

/* Legend & Search */
#mobile-too-much-info {
  display: none;
}
#public-app {
  display: flex;
  flex-direction: column;
  min-height: inherit;
  overflow-y: scroll;
  grid-template-rows: auto;
  height: 100vh;
}

#public-app #header-banner-container {
  display: none;
  grid-template-columns: minmax(auto, 1fr) 200px minmax(auto, 1fr);
  background-color: rgb(35, 73, 92);
}
#public-app #header-banner-container .adb-logo {
  width: auto;
  margin: auto;
}
#public-app #header-banner-container .rating-container {
  margin: auto auto auto 20px;
}
#public-app #header-banner-container .rating-container > span {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}
#public-app #header-banner-container .rating-container .text {
  text-transform: uppercase;
  font-family: 'Montserrat';
  font-weight: 700;
  color: white;
  font-size: 14px;
  margin-top: 3px;
}
#public-app .stars {
  position: relative;
  display: block;
  height: auto;
}
#public-app .stars > span {
  display: block;
  position: relative;
}
#public-app .stars span .span-star {
  display: inline-block;
  vertical-align: middle;
  width: 26px;
  height: 26px;
  margin-right: 5px;
}
#public-app #header-banner-container .adb-logo a {
  display: block;
  width: 180px;
}
#public-app #header-banner-container .other-links {
  margin: auto 20px auto auto;
}
#public-app #header-banner-container .other-links > div {
  display: inline-block;
  vertical-align: middle;
  position: relative;
}
#public-app #header-banner-container .other-links > div.seperator {
  width: 1px;
  height: 28px;
  background-color: #627f91;
  margin: auto 14px;
}
#public-app #header-banner-container .other-links > div.right {
  height: 30px;
}
#public-app #header-banner-container .other-links > div span {
  position: relative;
  display: inline-block;
  height: fit-content;
  width: 30px;
  margin: auto auto auto 10px;
  background-color: transparent;
}
#public-app #header-banner-container .other-links > div span:first-child {
  margin-left: auto;
}
#public-app #header-banner-container .other-links > div span img {
  width: 100%;
  position: relative;
}
#public-app #header-banner-container .other-links > div span .reddit:hover img {
  filter: invert(26%) sepia(98%) saturate(7155%) hue-rotate(5deg) brightness(94%) contrast(125%);
}
#public-app #header-banner-container .other-links > div span .linkedin:hover img {
  filter: invert(32%) sepia(100%) saturate(539%) hue-rotate(176deg) brightness(93%) contrast(93%);
}
#public-app #header-banner-container .other-links > div.left {
  display: inline-grid;
  grid-template-columns: auto auto;
}
#public-app #header-banner-container .other-links > div.left span:first-child {
  margin-right: 20px;
}
#public-app #header-banner-container .other-links > div.left span:last-child {
  margin-right: 0;
}
#public-app #header-banner-container .other-links > div.right span {
  width: 25px;
}

#footer-banner-container {
  width: 100%;
  background-color: white;
  color: white;
  font-size: 14px;
  display: flex;
  margin-block: auto 0;
}
#footer-banner-container > hr {
  border-top: 2px solid white;
  margin-bottom: 10px;
}
#footer-banner-container .footer-items {
  display: grid;
  margin-block: auto 0;
  grid-template-columns: 1fr 1fr 1fr;
  background-color: rgba(37, 55, 73, 1);
  padding: 30px 10px;
  width: calc(100% - 20px);
}

#footer-banner-container .footer-items > div {
  margin: auto;
}

#public-app .adb-logo img {
  display: block;
  margin: auto;
  width: 500px;
  filter: brightness(0) invert(1);
}
#public-app #page-top-container {
  display: none;
}
#public-app #ads-txt-root > div:last-child {
  display: none;
}
#public-app .haystack-search-box {
  display: grid;
  width: unset;
  margin: 0;
  padding-top: 48px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(./imgs/code-bg.jpg);
  background-position: center;
  background-size: cover;
}
#public-app:not(.domain) .haystack-search-box {
  height: calc(100% - 126px);
}
#public-app:not(.domain) .cards-container,
#public-app:not(.domain) .to-page-top,
#public-app.invalid .cards-container,
#public-app.invalid .to-page-top,
#public-app.loading .cards-container,
#public-app.loading .to-page-top {
  display: none;
}
#public-app.loading #summary-overview-box.cards-container,
#public-app.invalid #summary-overview-box.cards-container {
  display: block;
}
#public-app .haystack-search-box .content {
  margin: 6% auto auto auto;
  max-width: 1000px;
  width: 100%;
  transition: 0.2s linear transform;
}
#public-app .haystack-search-box .adb-logo {
  margin: auto auto 100px auto;
  width: 500px;
}
#public-app .haystack-search-box .header {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: white;
}
#public-app .haystack-search-box .search-bar-container,
#public-app .haystack-search-box .search-bar-container * {
  border-color: transparent;
}
#public-app .haystack-search-box .search-bar-container {
  display: grid;
  grid-template-columns: 100px auto 200px;
}
#public-app .haystack-search-box .search-bar-container span {
  display: grid;
  width: 100%;
  border-radius: 20px 0 0 20px;
}
#public-app .haystack-search-box .search-bar-container span,
#public-app .haystack-search-box .search-bar-container input {
  background-color: rgba(255, 255, 255, 0.2);
}
#public-app .haystack-search-box .search-bar-container span img {
  width: auto;
  margin: auto;
}
#public-app .haystack-search-box .search-bar-container input {
  margin: 0;
  color: white;
  outline-color: transparent;
  outline-style: initial;
}
#public-app .haystack-search-box .search-bar-container button {
  border-radius: 0 20px 20px 0;
  border-color: transparent;
  outline-color: transparent;
  outline-style: initial;
}

/* When status is shown */
#public-app.domain #header-banner-container {
  position: sticky;
  display: grid;
  width: 100%;
  top: 0;
  min-height: 48px;
  z-index: 100;
}
#public-app.domain .haystack-search-box {
  height: auto;
}
#public-app.domain .haystack-search-box .adb-logo {
  display: none;
}
#public-app.domain #page-top-container {
  display: block;
}
#public-app.domain #ads-txt-root > div:last-child {
  display: block;
  background-color: white;
}
#public-app.domain .haystack-search-box .content {
  padding: 40px 0 80px 0;
}
#public-app.domain .haystack-search-box .search-bar-container {
  border: 2px solid rgb(240, 170, 0);
  border-radius: 22px;
  box-shadow: 0 0 1px 0 rgb(240, 170, 0) inset, 0 0 1px 0 rgb(240, 170, 0);
}
.cards-container.haystack {
  min-width: 900px;
  max-width: 1440px;
  padding: 0 20px;
  margin-inline: auto;
  box-sizing: border-box;
}
.cards-container.haystack .graph-card,
.cards-container.haystack .graph-card .card-main-header {
  margin: 0;
  width: 100%;
  border-bottom: none;
}
.cards-container.haystack .graph-card {
  margin-top: 40px;
  box-shadow: var(--card-shadow);
}
#path.domain.invalid .cards-container.haystack .graph-card {
  font-weight: 500;
}
.card-header-title-grp.custom-header .padding {
  padding: 40px 40px 0 40px;
  background-color: rgb(93, 120, 137);
}
.card-header-title-grp.custom-header .faq-btn {
  color: white;
  font-size: 20px;
}
.card-header-title-grp.custom-header .legend-header {
  display: grid;
  color: white;
  background-color: inherit;
  grid-template-columns: 1fr 1fr;
}
.card-header-title-grp.custom-header .legend-header.ok {
  padding-bottom: 40px;
}
.card-header-title-grp.custom-header .legend-header .left {
  margin: auto 0;
}
.card-header-title-grp.custom-header h2 {
  margin: 10px 0;
}
.card-header-title-grp.custom-header h2 span {
  font-size: 2rem;
}
.card-header-title-grp.custom-header h2.status span {
  text-transform: uppercase;
  font-weight: bolder;
}
.card-header-title-grp.custom-header h3 {
  font-size: 20px;
}
.card-header-title-grp.custom-header span {
  display: inline-block;
  width: auto;
  vertical-align: middle;
  font-size: inherit;
  font-family: inherit;
}
.card-header-title-grp.custom-header .issue-summary {
  display: block;
  font-size: 1.3rem;
  font-weight: bold;
}
.card-header-title-grp.custom-header .issue-summary > span:first-child {
  color: rgba(255, 255, 255, 0.5);
}
.card-header-title-grp.custom-header .issue-summary > span:not(:last-child) {
  margin-right: 10px;
}
.card-header-title-grp.custom-header .issue-summary > span > span:first-child {
  margin-right: 5px;
}

.card-header-title-grp.custom-header .legend-header .right {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin: auto;
}
.card-header-title-grp.custom-header .legend-header .right div {
  display: grid;
  grid-template-rows: 62px 30px 30px;
  padding: 20px;
}
.card-header-title-grp.custom-header .legend-header .right span:first-child {
  font-family: 'SF Semibold';
  font-size: 3rem;
  color: white;
  text-align: center;
}
.card-header-title-grp.custom-header .legend-header .right span:nth-child(2) {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}
.card-header-title-grp.custom-header .legend-header .right span:last-child {
  width: 28px;
  height: 28px;
  border-radius: 100%;
  margin: auto;
  box-shadow: var(--box-shadow);
}
.pallete-passed {
  background-color: var(--pallete-passed);
  border-top-color: var(--pallete-passed);
}
.pallete-errors {
  background-color: var(--pallete-errors);
  border-top-color: var(--pallete-errors);
}
.pallete-warnings {
  background-color: var(--pallete-warnings);
  border-top-color: var(--pallete-warnings);
}
.inventory-partner-issue-item {
  padding: 15px;
  font-size: 30px;
  width: 60px;
  text-align: center;
  border-top-width: 5px;
  border-top-style: solid;
  background-color: inherit;
}
.card-header-title-grp.custom-header span.over-all-status {
  font-family: 'Montserrat';
  font-weight: 700;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background-color: rgb(141, 250, 229);
  margin-left: 20px;
  box-shadow: var(--box-shadow);
}
.card-header-title-grp.custom-header span.over-all-status.error {
  background-color: #f45e58;
}
.card-header-title-grp.custom-header span.over-all-status.warning {
  background-color: rgb(242, 171, 1);
}

.legend-content .collapse-banner {
  display: grid;
  background-color: rgb(93, 120, 137);
}
.legend-content .collapse-banner .collapse-text {
  padding: 10px 40px;
  width: auto;
  margin: 0 0 0 auto;
}
.legend-content.collapse .collapse-banner .collapse-text img {
  transform: rotate(180deg);
}
.legend-content .collapse-banner .collapse-text span:first-child {
  font-family: 'SF Semibold';
  color: white;
  font-size: 1rem;
  margin-right: 10px;
}

.legend-content .error-legend {
  padding: 20px;
  border: 15px solid rgb(93, 120, 137);
  border-top-width: 0;
  background-color: #d8d8d8;
}
.legend-content.collapse .error-legend {
  display: none;
}

.error-legend span:not(:first-child) {
  font-size: inherit;
  font-family: inherit;
  margin-left: 10px;
}
.error-legend-item {
  margin: 10px auto 10px 30px;
}
.error-legend-item h3 {
  margin: 0;
  padding: 0 0 10px 0;
  font-size: 24px;
  color: #243747;
}
.error-legend-item h4 {
  margin: 0;
  padding: 0;
  font-size: 22px;
  color: #243747;
}
.legend-count-icon > span,
.error-legend-item h3 > span,
.error-legend-item h4 > span {
  display: inline-block;
  vertical-align: middle;
}
.error-legend-item > div {
  margin-left: 70px;
}
.error-legend-item .second-layer-container {
  padding-left: 40px;
}

.error-item {
  margin-top: 5px;
}
.error-item > * {
  display: inline-block;
  padding: 3px;
  width: auto;
  vertical-align: top;
}
.error-item .name-count-pair {
  margin-top: 5px;
  margin-left: 5px;
}
.error-item .name-count-pair span {
  font-family: 'Montserrat';
  font-weight: 700;
  display: block;
}
.error-item .name-count-pair span:first-child {
  font-size: 20px;
}
.error-item .name-count-pair span.text {
  font-size: 14px;
  color: #f45e58;
  margin-left: 0;
}
.error-item span.haystack-error-tag {
  width: auto;
  margin-top: 7px;
  padding: 5px 10px;
  border-radius: 30px;
  font-size: 14px;
  font-family: 'Open Sans';
  font-weight: 600;
}

.haystack-issues > span {
  display: inline-block;
  margin: 2px;
  font-size: 20px;
  width: 30px;
  height: 30px;
  border-radius: 100%;
  border: transparent;
  text-align: center;
  line-height: 1.4;
  box-shadow: var(--issue-shadow);
}
tr .haystack-issues > span {
  font-size: 16px;
  width: 24px;
  height: 24px;
  line-height: 1;
}
.haystack-issues > span.error.text,
.haystack-issues > span.warning.text {
  border-radius: unset;
  width: auto;
  height: 24px;
  font-size: 14px;
  padding: 2px 4px;
  min-width: 20px;
  box-sizing: border-box;
}
.haystack-issues > span.error,
.haystack-issues > span.secondary-error {
  background-color: #f45e58;
  color: white;
  border: 1px solid #f45e58;
}
.haystack-issues > span.warning,
.haystack-issues > span.secondary-warning {
  background-color: rgb(242, 171, 1);
  border: 1px solid rgb(242, 171, 1);
}
.haystack-issues.inline-header > span.warning,
.haystack-issues.inline-header > span.secondary-warning {
  font-size: 15px;
  width: 20px;
  height: 20px;
}
.error-legend-item h3 span.haystack-issues > span,
.error-legend-item h4 span.haystack-issues > span {
  width: auto;
  padding: 0 10px;
  border-radius: 30px;
}

#main-table-container.haystack {
  padding: 0;
  padding-bottom: 40px;
}
#main-table-header h3 {
  display: grid;
  grid-template-columns: auto 30px;
  margin: 0;
  padding-top: 10px;
  padding-bottom: 15px;
}
#main-table-header h3 > span:first-child > span:last-child,
#main-table-container.haystack h2.header > span:last-child {
  font-family: 'Montserrat';
  font-weight: 400;
}
#main-table-container.haystack h2.header > span span:first-child {
  color: #23495d;
}
#main-table-container.haystack h2.header > span span:last-child {
  color: #f2ab00;
}
.search-field {
  max-width: 500px;
  margin-bottom: 15px;
  border-radius: 15px;
  border-width: 2px;
  box-sizing: border-box;
  border-color: rgb(93, 120, 137);
  outline-color: transparent;
  outline-style: initial;
  padding: 5px 15px;
  box-shadow: var(--light-shadow);
}
#main-table-filter-container form.filter-form::before {
  content: '';
  width: 15px;
  height: 15px;
  position: absolute;
  top: 8px;
  left: 12px;
  opacity: 0.8;
  background-image: url(./imgs/filter.png);
  background-size: cover;
  z-index: 2;
}
#main-table-filter-container .search-field::placeholder {
  color: black;
}
#main-table-filter-container {
  padding-bottom: 20px;
  display: flex;
  box-sizing: content-box;
}
#main-table-filter-container > * {
  display: inline-block;
}
#main-table-filter-container .search-field {
  margin-bottom: 0;
  flex: 0 1 auto;
}
.filter-form input {
  padding-left: 30px;
}
#main-table-filter-container .legend-icon-grp {
  margin: auto 0 auto 10px;
  z-index: 2;
  flex: 0 0 auto;
  /* border: 1px solid rgb(93, 120, 137); */
  /* padding: 2px; */
  border-radius: 15px;
}
#main-table-filter-container .legend-icon-grp > div,
#main-table-filter-container .legend-icon-grp > div > span {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-left: 7px;
  border-radius: 100%;
  text-align: center;
  padding-top: 2px;
  font-size: 18px;
  font-weight: 700;
  z-index: 2;
}
#main-table-filter-container .legend-icon-grp > div {
  padding: 2px;
  border-radius: 34px;
  border: 1px solid #23495d;
}
#main-table-filter-container .legend-icon-grp > div > span {
  width: 24px;
  height: 24px;
  background-color: #f2ab00;
}
#main-table-filter-container .legend-icon-grp > div > span.publisher,
#main-table-filter-container .legend-icon-grp > div > span.sellers {
  border-radius: 24px;
  width: auto;
  font-size: 16px;
  padding: 4px 7px 0 7px;
  background-color: unset;
}
.error-item span.haystack-error-tag.publisher,
#main-table-filter-container .legend-icon-grp > div > span.publisher {
  background-image: var(--prim-thead-bg);
  color: white;
}
.error-item span.haystack-error-tag.sellers,
#main-table-filter-container .legend-icon-grp > div > span.sellers {
  background-image: var(--alt-thead-bg);
  color: var(--atl-thead-color);
}
#main-table-filter-container .legend-icon-grp > div > span.clear {
  background-color: lightgrey;
  width: 27px;
  height: 27px;
  padding-top: 3px;
  color: white;
  box-sizing: border-box;
}
#main-table-filter-container .legend-icon-grp > div > span.clear span {
  display: block;
  width: 20px;
  height: 1px;
  background-color: #243747;
  transform-origin: center;
  border-radius: 0;
  transform: translate(4px, 10px) rotate(45deg);
}
#main-table-filter-container .legend-icon-grp > div > span.clear span:last-child {
  transform: translate(4px, 10px) rotate(-45deg);
}
#main-table-filter-container .legend-icon-grp > div::after,
#main-table-filter-container .legend-icon-grp > div > span:not(:first-child)::after {
  content: '';
  width: 100%;
  position: absolute;
  left: -7px;
  height: 4px;
  background-color: #243747;
  z-index: 1;
  width: 7px;
  top: calc(50% - 2px);
}
#main-table-filter-container .legend-icon-grp span:first-child {
  margin-left: 0;
}
#main-table-filter-container .legend-icon-grp > div:first-child::after {
  width: 18px;
  left: -18px;
}
#main-table-filter-container .legend-icon-grp span.error {
  background-color: #f45e58;
  color: white;
}
#main-table-filter-container .legend-icon-grp span.deactive {
  opacity: 0.3;
}
.haystack table.custom {
  width: 100%;
}
.haystack table.custom,
.haystack table.custom tr > * {
  border: none;
}
.haystack table.custom tbody tr {
  background-color: white;
}
.haystack table.custom tbody tr.highlight-error td {
  border-color: #f45e58;
}
.haystack table.custom tbody tr.highlight-error td:not(.ignore-bg) {
  color: #f45e58;
}
.haystack table.custom tr > td {
  border-bottom: 1px solid #dfdfdf;
  vertical-align: middle;
  word-break: break-word;
}
.haystack table.custom td {
  word-break: break-word;
}
.haystack table.custom th {
  background-image: var(--prim-thead-bg);
  color: white;
  font-family: 'Open Sans';
}
.haystack table.custom th span {
  border-color: transparent;
}
.haystack table.custom th.secondary-header span path {
  fill: #23495d;
}
.haystack table.custom th.secondary-header {
  background-image: var(--alt-thead-bg);
  background-color: white;
  color: var(--atl-thead-color);
}

#secondary-table-container {
  display: none;
}
.show-nested #secondary-table-container {
  display: block;
  height: min-content;
  width: initial;
  padding: 14px;
  border: 1px solid lightgray;
  min-width: unset;
  z-index: 3;
  margin-top: -108px;
  top: 52px;
}
.show-nested #secondary-table-container h2 {
  padding-bottom: 62px;
}
#secondary-table-container .nested-table {
  max-height: 600px;
}
#secondary-table-container .position-container {
  flex: none;
  overflow-x: overlay;
}
#secondary-table-container .position-container h2 {
  padding-bottom: 15px;
  border-bottom: 1px solid #dfdfdf;
  margin-bottom: 15px;
}
#secondary-table-container .position-container thead {
  top: -12px;
}
.haystack table.custom th span,
#secondary-table-container .nested-table table.custom.nested-custom thead th .header-styling {
  display: grid;
  grid-template-columns: auto 10px;
}
#secondary-table-container.collapse {
  height: fit-content;
}
#secondary-table-container > div:not(:first-child) {
  border: solid rgba(240, 170, 0, 0.5);
  border-width: 0 4px;
  padding: 10px;
}
#secondary-table-container > div:last-child {
  border-bottom-width: 4px;
}
#secondary-table-container.collapse > div:not(:first-child) {
  display: none;
}
#secondary-table-container .header .expand-collapse-toggle {
  display: grid;
  padding: 10px 10px;
  background-color: rgba(240, 170, 0, 0.5);
  margin-top: 30px;
}
#secondary-table-container .header .expand-collapse-toggle span {
  color: #243747;
  margin: auto;
  font-size: 1rem;
  font-weight: 700;
  display: inline-block;
  vertical-align: middle;
}
#secondary-table-container .header .expand-collapse-toggle img {
  margin-left: 10px;
  width: 18px;
  filter: brightness(0) invert(15%) sepia(56%) saturate(438%) hue-rotate(166deg) brightness(101%) contrast(88%);
}
#secondary-table-container.collapse .header .expand-collapse-toggle img {
  transform: rotate(-180deg);
}
#secondary-table-container .btn.btn-close {
  position: absolute;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 100%;
  top: -3px;
  right: 0;
  border: 1px solid transparent;
}

.haystack table.custom th span .sort-icon {
  width: 100%;
  display: inline-block;
  margin-top: 2px;
}
.haystack table.custom th.sort-desc span .sort-icon .svg-lower,
.haystack table.custom th.sort-asc span .sort-icon .svg-upper {
  fill-opacity: 1;
}
#main-table-container tr.active {
  opacity: 1;
  background-color: #f7f4e4;
  color: #627f91;
  font-weight: bold;
}
#main-table-container tr.selected {
  background-color: #f2ab00;
  color: white;
}
#main-table-container tr.active td.ignore-bg,
#main-table-container tr.selected td.ignore-bg {
  background-color: white;
  font-weight: 400;
}
#main-table-container tr.active td.Odisseia,
#main-table-container tr.selected td.Odisseia {
  color: black;
}
.show-nested #main-table-container {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 10px
}
.show-nested #main-table-container .primary-table tbody tr {
  opacity: 0.7;
}
#main-table-container thead {
  position: sticky;
  z-index: 1;
}
#main-table-container .primary-table thead {
  top: 158px;
}

table.horizontal th {
  background-image: linear-gradient(160deg, rgba(242, 171, 1, 0.4), rgba(242, 171, 1, 1));
  color: var(--atl-thead-color);
}
.nested-table-container .footer table.horizontal td {
  white-space: initial;
}
table.horizontal tr:first-child > * {
  border-top: 1px solid #dfdfdf;
}
table.horizontal tr > * {
  padding: 0.4em 0.8em !important;
  border-bottom: 1px solid #dfdfdf;
}
table.horizontal tr > td:last-child {
  border-right: 1px solid #dfdfdf;
}

/* Feedback modal */
#modal-root-container .modal-poistion {
  max-width: 1200px;
  width: calc(100% - 50px);
  min-width: 900px;
  max-height: 720px;
  height: 82vh;
  box-shadow: 2px 12px 10px -2px rgba(0, 0, 0, 0.5), 0 2px 22px 0 rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
}
#modal-root-container .modal-poistion.thanks {
  height: fit-content;
}
#modal-root-container .modal-content {
  overflow: hidden;
}
#modal-root-container ::placeholder {
  color: grey;
}
.haystack-app .modal-content {
  display: grid;
  height: 100%;
  background-color: #d8d8d8;
  padding-bottom: 20px;
}
.feedback-container {
  display: block;
  padding: 40px 10%;
  margin: auto;
  height: 100%;
  overflow-y: overlay;
  overflow-x: hidden;
  box-sizing: border-box;
}
.feedback-container * {
  font-family: 'Montserrat';
}
.feedback-container .user-rating {
  display: grid;
  grid-template-columns: 200px auto;
}
.feedback-container .user-rating > span {
  padding: 20px;
  margin: auto auto auto 0;
  width: 100%;
}
.feedback-container .user-rating > span:first-child {
  font-size: 1.3rem;
  padding-left: 0;
  font-weight: 700;
}
#public-app .feedback-container .stars > span:not(:first-child) {
  position: absolute;
  opacity: 0;
  top: 0;
}
#public-app .feedback-container .stars > span.active {
  opacity: 1;
}
#public-app .thanks .feedback-container .stars > .clickable:hover {
  cursor: initial;
}
#public-app .feedback-container .stars span .span-star {
  width: 90px;
  height: auto;
}
#public-app .feedback-container .stars span .span-star svg .svg-border {
  stroke: rgb(35, 73, 92);
  stroke-width: 0;
  fill: rgb(35, 73, 92);
}
#public-app .feedback-container .stars span .span-star svg .svg-fill {
  fill: rgb(35, 73, 92);
}
#public-app .feedback-container .stars span.active .span-star svg .svg-fill {
  fill: rgb(240, 170, 0);
}
#public-app .feedback-container hr {
  margin: 20px 0 40px 0;
  border-top-width: 2px;
}
.feedback-container h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 20px 0 40px 0;
  text-align: center;
}
.feedback-container .label-field-grp textarea,
.feedback-container .label-field-grp input {
  padding: 5px 10px;
}
.feedback-container .label-field-grp {
  margin: 20px 0;
}
.feedback-container .label-field-grp h3 {
  margin: 0 0 10px 0;
  font-size: 1.3rem;
}
.feedback-container .label-field-grp textarea {
  resize: none;
  height: 70px;
}
.feedback-container .label-field-grp .email-option {
  position: relative;
}
.feedback-container .label-field-grp .email-option.invalid::after {
  content: '!';
  position: absolute;
  display: block;
  right: 10px;
  top: 8px;
  font-size: 20px;
  font-weight: 700;
  color: red;
}
.feedback-container .label-field-grp .email-option > input {
  border: 1px solid transparent;
  height: 40px;
  padding-right: 15px;
  outline-color: #d8d8d8;
}
.feedback-container .label-field-grp .email-option.invalid > input {
  border-color: red;
}
.feedback-container .label-field-grp .email-option span.checkbox {
  border: 1px solid black;
  background-color: white;
}
.feedback-container .label-field-grp .email-option span.checked {
  background-color: #f2ab00;
}
.feedback-container .label-field-grp .email-option .checkbox .text {
  font-size: 1.2rem;
  margin-left: 8px;
  font-weight: 700;
}
#public-app #header-banner-container .stars > span:not(:first-child) {
  position: absolute;
  top: 0;
  opacity: 0;
}
#public-app #header-banner-container .stars > span:hover,
#public-app #header-banner-container .stars:not(:hover) > span.active {
  opacity: 1;
}
#public-app #header-banner-container .stars:not(:hover) > span.active .span-star .svg-fill {
  stroke: orange;
  fill: orange;
}
#public-app #header-banner-container .stars > span:hover .span-star .svg-border {
  stroke: orange;
  fill: #243747;
}
.feedback-container button.submit {
  display: block;
  margin: 40px auto auto auto;
  height: 60px;
  font-size: 1.5rem;
  font-weight: 600;
  background-color: #23495d;
  color: #23495d;
  border: 4px solid #23495d;
  border-radius: 30px;
  text-align: center;
  padding: 0 40px;
  outline-color: transparent;
  outline-style: initial;
  background-image: radial-gradient(#f2ab00, #f2ab00);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% 100%;
  transition: all 0.2s linear;
}
.feedback-container button.submit:hover {
  background-size: 0% 0%;
  color: #f2ab00;
}
.firefox .feedback-container button.submit {
  margin-bottom: 30px;
}
.feedback-container .close-feedback {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 0;
  margin: 0;
  border: none;
  outline-color: transparent;
  outline-style: initial;
  opacity: 0.7;
  background-color: inherit;
  transition: opacity 0.2s ease-in-out;
}
.feedback-container .close-feedback:hover {
  opacity: 1;
}
.feedback-container .close-feedback > span {
  display: block;
  position: relative;
  width: 40px;
  height: 40px;
}
.feedback-container .close-feedback span span {
  display: block;
  position: absolute;
  width: 40px;
  height: 4px;
  transform: translateY(20px) rotate(45deg);
  transform-origin: center;
  background-color: #23495d;
}
.feedback-container .close-feedback span span:first-child {
  transform: translateY(20px) rotate(-45deg);
}

#dummy-copy-input {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#dummy-copy-input:hover {
  cursor: pointer;
}

#main-table-header {
  padding: 0;
  padding-top: 16px;
  margin-top: 40px;
  position: sticky;
  background-color: white;
  top: 48px;
  z-index: 3;
}
.show-variables #main-table-header {
  border-bottom: 1px solid lightgray;
}
.show-nested:not(.show-variables) #main-table-header > * {
  width: 50%;
}
#main-table-header #main-title-container {
  padding-bottom: 15px;
}
#main-table-header #main-table-filter-container {
  padding-bottom: 16px;
}

/* Tab effects */
.show-records #variable-list-container {
  display: none;
}
.show-variables #main-table-container,
.show-variables #main-table-filter-container {
  display: none;
}
#tab-selector-container .tab-list {
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding-bottom: 10px;
  width: fit-content;
  position: absolute;
  top: -40px;
  right: 40px;;
}
#tab-selector-container .tab-item {
  width: 150px;
  padding: 5px;
  color: black;
  font-size: 1.2rem;
  text-align: center;
  border: 1px solid rgb(35, 73, 92);
  border-radius: 20px;
}
.show-records #tab-selector-container .tab-item.tab-records,
.show-variables #tab-selector-container .tab-item.tab-variables {
  background-color: rgb(35, 73, 92);
  color: white;
}

/* Variable effects */
.variable-item-container {
  margin-top: 20px;
}
.variable-item-container h2.title {
  margin-bottom: 20px;
  padding-block: 20px;
  border-bottom: 1px solid gray;
}
.variable-item-container .content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.variable-item-container .content.no-grid {
  display: block;
}
.variable-container {
  min-width: 500px;
  max-width: 700px;
  display: block;
  padding: 20px;
  border: 1px solid rgba(35, 73, 92, 0.2);
  border-radius: 10px;
}
.variable-container.variable-record-value {
  max-width: unset;
}
.variable-container.caution-cyclic-reference {
  padding-bottom: 0;
}
.variable-container.caution-cyclic-reference .circular-issue-desc {
  margin-bottom: 20px;
  padding: 20px;
  background-color: white;
  font-size: 20px;
  font-family: 'Montserrat';
  font-weight: 600;
}
#inventory-partner-domain-container .variable-container.variable-record-value {
  margin-bottom: 20px;
}
#inventory-partner-domain-container .nested.variable-content {
  max-height: 400px;
  overflow-y: scroll;
  overflow-y: overlay;
}
#inventory-partner-domain-container .nested.variable-content thead {
  position: sticky;
  top: 0;
  z-index: 1;
}
h3.variable-title {
  margin-bottom: 20px;
  font-size: 16px;
}
h3.variable-title .see-faq {
  width: 20px;
  height: 20px;
  color: white;
  background-color: #23495d;
  display: inline-block;
  margin-left: 10px;
  text-align: center;
  border-radius: 50%;
}
.optimization h3.variable-title {
  position: sticky;
  padding-block: 20px;
  top: 109px;
  background-color: white;
  z-index: 2;
  border-bottom: 1px solid lightgray;
}
/* line number */
.variable-container table tr th:nth-child(2) {
  width: 50px;
}
#inventory-partner-domain-container .variable-container table tr th:nth-child(2) {
  width: 100px;
}

/* FAQ */
.faq-modal .modal-poistion {
  max-height: unset;
  height: 96vh;
  /* max-width: unset; */
}

#faq-container {
  display: flex;
  padding: 20px;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  overflow-y: scroll;
}
#faq-container .box-container {
  margin: 0;
  padding: 0;
}
#faq-container .box-container * {
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}
#faq-container .box-container.qa {
  margin-bottom: 20px;
}
#faq-container .box-container.qa:last-child {
  margin-bottom: 0;
}
#faq-container .box-container > * {
  padding: 10px 30px;
  overflow: hidden;
}
#faq-container .box-container.qa > * {
  padding-left: 0;
  padding-right: 0;
}
#faq-container .box-container > div {
  transition: all 0.4s ease-in-out;
}
#faq-container .box-container.collapsed > div {
  height: 0px;
  padding-top: 0;
  padding-bottom: 0;
}

#faq-container .box-container .header {
  font-family: 'Montserrat';
  font-weight: 700;
  font-size: 26px;
  color: rgb(35, 73, 92);
  display: grid;
  grid-template-columns: auto 60px;
}

#faq-container .box-container h3.header {
  font-size: 24px;
  font-weight: 600;
}
#faq-container .box-container h4.header {
  font-size: 22px;
  font-weight: 600;
}
#faq-container .box-container .answer {
  font-family: 'Montserrat';
  font-size: 18px;
  line-height: 1.5;
}
#faq-container .box-container .answer ul {
  padding: 10px 30px;
}
#faq-container .box-container p:not(:first-child) {
  margin-top: 20px;
}
#faq-container .box-container .answer a {
  text-decoration: underline;
}

#modal-root-container.faq-modal .modal-poistion {
  max-height: unset;
  height: 96vh;
}


hr.category-divide {
  margin-top: 40px;
  border-color: rgb(35, 73, 92);
  width: calc(100% - 60px);
  background-color: inherit;
}
hr.qa-divide {
  margin-top: 20px;
  width: 400px;
  border-color: rgb(240, 170, 0);
  background-color: inherit;
}

button.close-faq {
  position: fixed;
  top: 10px;
  right: 10px;
  padding: 0;
}
button.close-faq > span {
  display: block;
  width: 32px;
  height: 32px;
  position: relative;
}
button.close-faq > span > span {
  width: 28px;
  height: 3px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  background-color: black;
}
button.close-faq > span > span:last-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.haystack table.custom.ads-text-grid tr td {
  min-width: 50px;
}

.haystack table.custom.ads-text-grid tr td .haystack-issues {
  display: block;
  min-width: 75px;
}

@media (max-width: 1300px) {
  html {
    overflow-x: scroll;
    overflow-x: overlay;
  }
  .nested-table-container.show-nested .left-panel {
    width: 50%;
    flex: 0 1 auto;
  }
}

@media (max-height: 650px) {
  #public-app .haystack-search-box .content {
    margin-top: auto;
    transform: scale(0.8) translateY(-15%);
  }
}

@media (max-width: 1080px), (max-height: 400px) {
  html {
    min-width: 300px;
  }
  .desktop-view-only {
    display: none !important;
  }
  #public-app #header-banner-container {
    position: fixed;
    display: grid;
    width: 100%;
    top: 0;
    min-height: 48px;
    z-index: 100;
    grid-template-columns: 10px auto 120px;
  }
  #public-app .haystack-search-box {
    height: auto;
  }
  #public-app .haystack-search-box .adb-logo {
    display: none;
  }
  #public-app #page-top-container {
    display: block;
  }
  #public-app #ads-txt-root > div:last-child {
    display: block;
    background-color: white;
  }
  #public-app .haystack-search-box .content {
    padding: 40px 0;
  }
  #public-app .haystack-search-box .search-bar-container {
    border: 2px solid rgb(240, 170, 0);
    border-radius: 22px;
    box-shadow: 0 0 1px 0 rgb(240, 170, 0) inset, 0 0 1px 0 rgb(240, 170, 0);
  }
  #public-app #ads-txt-root {
    display: none;
  }
  #public-app #header-banner-container .rating-container span {
    display: none !important;
  }
  #mobile-too-much-info {
    display: block;
    margin: auto;
    padding: 20px;
    max-width: 500px;
    width: 100%;
  }
  #mobile-too-much-info p:first-child {
    padding: 20px;
    font-size: 35px;
    letter-spacing: 1.5;
    line-height: 1.5;
  }
  #mobile-too-much-info p:last-child {
    padding: 20px;
    font-size: 22px;
  }
}

/* Domain color palletes - START */
.border-pallete {
  border-top-width: var(--border-pallete-thickness);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.pallete-1 {
  background-color: #093145;
  color: white;
}
.border-pallete-1 {
  border-color: #093145;
}

.pallete-2 {
  background-color: #107896;
  color: white;
}
.border-pallete-2 {
  border-color: #107896;
}

.pallete-3 {
  background-color: #829356;
  color: white;
}
.border-pallete-3 {
  border-color: #829356;
}

.pallete-4 {
  background-color: #3C6478;
  color: white;
}
.border-pallete-4 {
  border-color: #3C6478;
}

.pallete-5 {
  background-color: #43ABC9;
  color: white;
}
.border-pallete-5 {
  border-color: #43ABC9;
}

.pallete-6 {
  background-color: #BCA136;
  color: white;
}
.border-pallete-6 {
  border-color: #BCA136;
}

.pallete-7 {
  background-color: #C2571A;
  color: white;
}
.border-pallete-7 {
  border-color: #C2571A;
}

.pallete-8 {
  background-color: #9A2617;
  color: white;
}
.border-pallete-8 {
  border-color: #9A2617;
}

.pallete-9 {
  background-color: #F58B4C;
  color: white;
}
.border-pallete-9 {
  border-color: #F58B4C;
}

.pallete-10 {
  background-color: #CD594A;
  color: white;
}
.border-pallete-10 {
  border-color: #CD594A;
}

.ssp-overload-message {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  width: max-content;
  margin-top: 10px;
  position: absolute;
  display: flex;
  flex-direction: row;
  padding: 10px 20px;
  margin-inline: auto;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 16px;
  font-size: 1.2rem;
}
.ssp-overload-message.before-status {
  background-color: var(--btn-bg-prim);
  position: relative;
  width: auto;
  margin-top: 0;
  border-radius: 0;
  font-size: 1.4rem;
}
.ssp-overload-message span,
.ssp-overload-message span * {
  font-size: inherit;
}
/* Domain color palletes - END */
