.grid-container-content {
  margin: 8px;
  counter-reset: my-rank-counter;
  margin-bottom: 50px;
}

.grid-container-request {
  margin: 0px 0px;
  display: grid;
  grid-template-rows: repeat(3, auto);
}

.grid-container-request-form {
  grid-row: 2;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 100, "GRAD" 200, "opsz" 20;
  font-size: 32px;
  margin-left: 4px;
}

.material-symbols-tiny {
  font-size: 12px;
  font-weight: bolder;
  display: inline;
}

.purgechannel {
  text-align-last: end;
}

.socialmedia {
  float: right;
  margin: 0px 4px;
}
.socialmedia:hover {
  box-shadow: 0px 0px 12px 4px var(--border-color-highlight);
  cursor: pointer;
}

.socialmedia img {
  min-width: 28px;
  max-width: 28px;
}

#share-copy {
  padding-top: 0;
  margin-top: 0;
}

#share-copy span:hover {
  cursor: pointer;
}

#share-copy span:active {
  width: 120%;
}

.grid-container-request-feedback-error {
  background-color: var(--background-color-baseline);
  color: var(--font-color-title);
  font-size: small;
  font-weight: normal;
  transition: opacity 500ms;
  width: 96%;
  padding: 8px;
  position: fixed;
  bottom: 48px;
  z-index: 99999;
  left: 45%;
  transform: translateX(-45%);
  text-align: center;
  box-shadow: inset 0px 0px 5px 0px var(--border-color-highlight);
}

.keyword-search,
.channel-search {
  background-color: inherit;
  display: grid;
  align-items: center;
  padding-bottom: 8px;
}
.keyword-search-1,
.channel-search-1 {
  grid-column: 1 / span 10;
  grid-row: 2;
  border: none;
  text-align: left;
  margin: 4px 0;
}

/* enable custom filters */
.custom-filters {
  cursor: pointer;
  margin-top: 8px;
}
/* result count */
.keyword-search-2 {
  grid-column: 1;
  grid-row: 1;
  margin: 0px 0px;
  border: none;
  justify-self: start;
  font-size: x-small;
}
.keyword-search-2:hover {
  box-shadow: 0px 0px 12px 4px var(--border-color-highlight);
}

.keyword-search-2 input[type="number"]::-webkit-inner-spin-button,
.keyword-search-2 input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
.keyword-search-2 input[type="number"] {
  max-width: 2rem;
  font-weight: bolder;
  color: var(--font-color-title);
}
.criteria-maxresults {
  background-color: var(--select2-color-highlight);
  text-align: center;
  border: none;
  padding: 4px 0px;
  border-radius: 5px;
}
/* remove border on input box when focussed*/
.criteria-maxresults:focus,
select:focus {
  border: none;
  outline: none;
}

/* duration */
.keyword-search-3,
.channel-search-3 {
  display: grid;
  grid-template-columns: repeat(5, minmax(auto, 1fr));
  grid-column: 2 / span 9;
  grid-row: 1;
  border: none;
  margin: 5px 0px;
  text-align: center;
  font-size: x-small;
}
.keyword-search-3 label,
.channel-search-3 label {
  padding: 4px 4px;
  margin: 0px 0.2rem;
  border-radius: 5px;
  box-shadow: inset 1px 1px 5px 0px var(--select2-color-highlight);
}
.keyword-search-3 label:hover,
.channel-search-3 label:hover {
  /* background: var(--background-color-hover); */
  box-shadow: 0px 0px 12px 4px var(--border-color-highlight);
  cursor: pointer;
}
.keyword-search-3 input[type="checkbox"],
.channel-search-3 input[type="checkbox"] {
  opacity: 0;
  display: none;
}
.keyword-search-3 input:checked + label,
.channel-search-3 input:checked + label {
  background-color: var(--select2-color-highlight);
  font-weight: bolder;
  color: var(--font-color-title);
}

/* enable share button */
.socialmediaShare {
  cursor: pointer;
  border: none;
  text-align: left;
  margin-top: 8px;
}

.grid-container-request-share {
  position: fixed;
  bottom: 8px;
  left: 45%;
  transform: translateX(-45%);
  z-index: 10;
  text-align: center;
}

/* SELECT2 SECTION */

.select2-container {
  width: 100% !important;
}

/* select2 cleanup background */
.select2-selection,
.select2-selection--clearable,
.select2-selection--multiple,
.select2-selection--single,
/* .select2-results__option--selectable, */
.select2-dropdown--below,
.select2-search__field {
  border: none !important;
  background-color: var(--background-color-baseline) !important;
}

.select2-results__option--selectable {
  border-radius: 5px;
}

.select2-dropdown--below {
  width: fit-content !important;
}

.select2-selection--multiple,
.select2-selection--single {
  display: grid !important;
  align-items: center !important;
  padding-right: 0px !important;
}

.select2-selection__rendered {
  grid-row: 1;
  margin: 0;
  margin-bottom: 8px;
  color: var(--font-color-text) !important;
  font-size: small;
}

#select2-criteriaChannels-container {
  border: 2px solid var(--select2-color-baseline);
  border-radius: 10px;
}

.select2-selection__arrow {
  top: 0 !important;
  height: 24px !important;
  right: 2px !important;
  border-radius: 5px;
}

/* select2 make selections more prominent */
.select2-results__option--highlighted[aria-selected],
.select2-selection__choice {
  border: none !important;
  background-color: var(--select2-color-highlight) !important;
  text-align: left;
  display: inline-grid;
  align-items: center;
}

.select2-results__option--highlighted[aria-selected] {
  width: 100%;
}

/* light border around the select options box */
.select2-results {
  border: var(--border-color-thin) !important;
  width: fit-content;
  text-align: left;
}

.select2-selection__choice__display,
.select2-selection__choice__remove,
.select2-selection__choice__remove span {
  border-radius: 0 !important;
  background-color: transparent !important;
  vertical-align: middle !important;
  line-height: 1.2;
  padding-top: 2px !important;
}
.select2-selection__choice__display {
  border-right: 1px solid var(--font-color-text) !important;
  border-radius: 0 !important;
  color: var(--font-color-title);
}

.select2-selection__choice {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  padding-left: 4px !important;
  padding-right: 20px !important;
  margin: 8px !important;
  margin-left: 0px !important;
  border-radius: 5px !important;
  font-weight: bolder;
}
.select2-selection__choice:hover {
  box-shadow: 0px 0px 12px 4px var(--border-color-highlight);
}

.select2-selection__choice__remove {
  left: auto !important;
  right: 2px !important;
  border-right: none !important;
}
.select2-search--inline,
.select2-search__field,
.select2-search--dropdown {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  line-height: 1;
  border: 2px solid var(--select2-color-baseline);
  width: 100%;
  grid-row: 2;
  grid-column: 1;
  align-self: end;
  margin-bottom: 5px;
  padding-left: 12px;
}

.select2-search--inline {
  border-radius: 10px;
  padding-top: 4px !important;
  padding-bottom: 8px !important;
}

.select2-search__field {
  margin: 0;
  width: 98% !important;
}

.select2-selection__clear {
  margin: 0 !important;
}

.select2-results__message {
  border: 1px solid var(--select2-color-baseline);
}

/* RESPONSE SECTION */

.splash-intro {
  text-align: left;
  list-style: none;
  font-size: small;
  margin: 8px 0px;
}
.splash-intro * {
  color: var(--font-color-text-dark) !important;
}
.splash-intro li {
  padding: 8px;
}

#order-cta {
  width: 100%;
  text-align: center;
}

.splash-cta {
  margin: 8px auto;
}

.splash-ctas {
  display: inline-block;
  padding: 4px;
  height: auto;
  width: auto;
  text-align: center;
}

.splash-videos {
  float: right;
}

.floatright {
  float: right;
}

.floatleft {
  float: left;
}

.centerTXT {
  font-size: small;
  font-weight: bolder;
}

.grid-container-response {
  display: grid;
  /* margin-top: 10px; */
}

.grid-container-response a {
  text-decoration: none;
}

.heading {
  text-align: center;
  margin: 8px 0px;
  border-radius: 0px;
}

.heading-grp4 {
  color: goldenrod;
  border: 1px solid goldenrod;
}
.heading-grp5 {
  color: gold;
  border: 1px solid gold;
}
.heading-grp3 {
  color: lightgray;
  border: 1px solid lightgray;
}
.heading-grp2 {
  color: darkgray;
  border: 1px solid darkgray;
}
.heading-grp1 {
  color: gray;
  border: 1px solid gray;
}

.response-channel {
  display: grid;
  grid-template-columns: 1fr 6fr;
  grid-template-rows: repeat(2, auto);
  border: 2px solid var(--background-color-hover);
  margin: 4px 0px;
}
.response-channel:target,
.response-channel:focus,
.response-channel:hover {
  border: 2px solid var(--font-color-link);
  box-shadow: 0px 0px 12px 4px var(--border-color-highlight);
  cursor: pointer;
}

.channel-image {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding: 4px;
  max-width: fit-content;
}

.channel-image img {
  max-width: 70px;
  border: 2px solid var(--background-color-baseline);
  border-radius: 50%;
}

.channel-text {
  grid-column: 2;
  grid-row: 1;
  margin: 4px 0;
  font-size: 0.6rem;
  text-align: left;
}

.channelName {
  color: var(--font-color-title);
  font-size: larger;
  font-weight: bolder;
}

#responseTitle {
  color: var(--font-color-title);
  font-size: small;
  display: inline-block;
  margin-bottom: 4px;
}

.responseKeywords {
  color: var(--font-color-title);
  font-size: small;
  font-weight: bolder;
  display: inline-block;
  vertical-align: text-top;
}

.channelRank {
  float: right;
  display: grid;
  grid-column: 6;
  grid-row: 1 / span 2;
  margin: 6px 4px;
  align-items: baseline;
  font-size: 8px;
}
.channelRank::before {
  counter-increment: my-rank-counter;
  content: "#" counter(my-rank-counter) " ";
}

.channelStats {
  font-size: x-small;
  color: var(--font-color-slogan);
  padding-left: 4px;
  margin-top: 4px;
}

.tinyicon {
  font-size: medium !important;
}

.tinyicon:hover {
  border: none;
  cursor: pointer;
  box-shadow: 0px 0px 12px 4px var(--border-color-highlight);
}

.channel-vids {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: start;
  column-gap: 8px;
}

.channel-vids img:hover {
  border: 1px solid var(--border-color-highlight);
  box-shadow: 0px 0px 12px 4px var(--border-color-highlight);
  cursor: pointer;
}

img.noChannels {
  min-width: 30px;
  max-width: 30px;
}
img.noChannels:hover {
  border: none;
}

.Overflow {
  overflow: hidden;
  text-overflow: ellipsis;
}

.Truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 234px;
}

.TruncateKeyword {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 65px; /* 20px; */
}

.response-channelranking {
  /* border: 2px solid var(--border-color-baseline); */
  /* border: 2px solid var(--background-color-hover); */
  border: 2px solid var(--border-color-highlight);
}

.response-channelranking-id {
  display: grid;
  grid-template-columns: max-content auto;
  justify-content: start;
}

.channelranking-image {
  padding: 8px;
  max-width: fit-content;
  position: relative;
}

.channelranking-image a img {
  width: 88px;
  aspect-ratio: 1/1;
  border: 2px solid var(--background-color-baseline);
  border-radius: 50%;
  transition: opacity 1s ease-in-out;
}

.channelranking-image a img:hover,
.channelranking-image a img:focus {
  content: url("/img/youtube.webp");
  cursor: pointer;
}

.channelranking-name {
  color: var(--font-color-title);
  font-size: large;
  font-weight: bolder;
  text-align: left;
  display: flex;
  align-items: center;
}

.response-channelranking-title {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  font-size: x-small;
  font-weight: bolder;
  border-top: 1px solid var(--background-color-hover);
  border-radius: 0;
  padding: 2px 8px;
}
.response-channelranking-keyword {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  font-size: small;
  padding: 2px 8px;
  border-radius: 0px 0px 10px 10px;
  border-top: 1px solid var(--background-color-hover);
}
.channelranking-keyword {
  columns: 1;
  display: flex;
  justify-content: left;
  font-weight: bolder;
  text-align: left;
  width: fit-content;
  padding: 4px 4px;
  align-items: center;
  cursor: pointer;
}
.channelranking-keyword:hover {
  box-shadow: 0px 0px 12px 4px var(--border-color-highlight);
}
.channelranking-kw {
  columns: 1;
  display: flex;
  justify-content: left;
  align-items: center;
}
.channelranking-rank {
  columns: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.channelranking-star {
  columns: 3;
  display: flex;
  justify-content: center;
  align-items: center;
}
.channelranking-star img {
  width: 12px;
  aspect-ratio: 1 / 1;
  padding: 0;
}
.lowball {
  opacity: 40%;
}

#req-cta-contact,
#req-cta-keyword {
  font-weight: bold;
}
#req-cta-contact::before {
  content: "💌 ";
}
#req-cta-contact::after {
  content: " 💌";
}

.channelranking-vcount {
  columns: 4;
  display: flex;
  justify-content: center;
  align-items: center;
}
.channelranking-ocount {
  columns: 5;
  display: flex;
  justify-content: center;
  align-items: center;
}
.channelranking-viewcount {
  columns: 6;
  display: flex;
  justify-content: center;
  align-items: center;
}
.response-channelranking-videos {
  font-size: small;
  padding: 0 8px;
  border-top: 1px solid var(--background-color-hover);
}
.channelranking-vids {
  padding: 8px 8px;
  justify-content: end !important;
  grid-column: 1 / span 6 !important;
}

.response-videodisplay {
  position: relative;
  height: 0;
  padding-bottom: calc(56.25% * 0.95);
  width: 95%;
  margin: 4px auto;
}
.response-videodisplay iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 11;
}

#grid-container-response-loader {
  border: 4px solid var(--font-color-text);
  border-top: 16px solid var(--select2-color-highlight);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  margin-left: auto;
  margin-right: auto;
  animation: spin 2s linear infinite;
}

.statsV {
  float: left;
}
.statsV::after {
  content: "   ";
}
.flright {
  float: right;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ############################################# VIEW PORT Desktop ############################################  */
@media screen and (min-width: 360px) {
  .channel-text {
    font-size: 0.8rem;
  }
}
@media screen and (min-width: 700px) {
  .Truncate,
  .TruncateKeyword {
    max-width: 700px;
  }
  .channel-vids {
    grid-template-columns: repeat(6, 1fr);
  }
  .channel-vids a img {
    max-width: 120px;
  }
  .channel-image,
  .channel-image a,
  .channel-image a img {
    min-width: 90px;
    max-width: 100px;
  }
  .channelRank {
    margin: 8px 8px;
    font-size: 10px;
  }
  .channel-text {
    font-size: 1rem;
  }
  .channelStats {
    font-size: small;
  }
  .keyword-search-2,
  .keyword-search-3,
  .channel-search-3 {
    font-size: small;
  }
  .splash-intro {
    font-size: small;
  }
  #responseTitle {
    font-size: medium;
  }
  .responseKeywords {
    font-size: medium;
  }
  .response-channelranking-title {
    font-size: smaller;
  }
  .channelranking-image {
    padding: 24px;
  }
  .channelranking-image a img {
    width: 176px;
  }
  .channelranking-name {
    font-size: xx-large;
  }
  .channelranking-star img {
    width: 20px;
    aspect-ratio: 1 / 1;
    padding: 0;
  }
  .grid-container-request-share {
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
  }
  .grid-container-request-feedback-error {
    left: 50%;
    transform: translateX(-50%);
    width: 98%;
    font-size: medium;
    max-width: 700px;
  }
  .response-channelranking-keyword {
    padding: 16px 24px;
  }
  .response-channelranking-title {
    padding: 8px 24px;
  }
  .response-videodisplay iframe {
    z-index: 1;
  }
}
