﻿::-webkit-scrollbar {
  width: 4px;
  margin-right: 10px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px #F2F2F2;
}

::-webkit-scrollbar-thumb {
  background-color: #0054FA;
  height: 24px;
}

.click {
  cursor: pointer;
}

.arrow {
  transform: rotate(-90deg);
}
.arrow path:hover {
  fill: var(--primary-bg-color);
}

.arrow-back {
  transform: rotate(90deg);
}
.arrow-back path:hover {
  fill: var(--primary-bg-color);
}

.category {
  position: relative;
  width: 160px;
  cursor: pointer;
  font-size: 16px;
  line-height: 24px;
  color: #111111;
}

.category-current {
  padding: 10px 16px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.04), 0px 2px 6px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
  border-radius: 8px;
}
.category-current .category-current__text {
  margin: 0;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.category-choice {
  display: none;
  position: absolute;
  width: 100%;
  top: 0;
  padding: 10px 16px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.04), 0px 2px 6px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  z-index: 15;
  background: #FFFFFF;
}

.input-category input {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #111111;
  border: none;
  outline: none;
  width: 100%;
}

.category-choice__current {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}
.category-choice__current .category-list__name:hover {
  color: var(--primary-bg-color);
}

.category-list {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 300px;
  padding: 4px 0;
}
.category-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.category-list li span:hover {
  color: var(--primary-bg-color);
}

.show {
  display: block;
}

.list li {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  padding: 8px 0px;
}

.list li:hover {
  cursor: pointer;
  color: #0054FA;
}

.search-input-block {
  position: relative;
  display: flex;
  align-items: center;
  padding: 16px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.04), 0px 2px 6px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  height: 44px;
  width: 160px;
}

.search-input {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #111111;
  border: none;
  width: 100%;
}

.search-input:focus {
  border: none;
  outline: none;
}

.search-item-list {
  display: none;
  position: absolute;
  top: 50px;
  right: 0;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 20px 20px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-height: 200px;
  overflow-x: hidden;
  overflow-y: scroll;
  z-index: 15;
  background: #FFFFFF;
}

.icon-clear {
  cursor: pointer;
}

.show {
  display: block;
}

.search-item-list::-webkit-scrollbar {
  width: 4px;
  margin-right: 10px;
}

.search-item-list::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px #F2F2F2;
}

.search-item-list::-webkit-scrollbar-thumb {
  background-color: #0054FA;
  height: 24px;
}

.cd-input-keywords {
  position: relative;
}

.cd-list-keywords {
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 10px;
}

.cd-item-keyword {
  display: flex;
  gap: 8px;
  background: #F5F5F5;
  border-radius: 16px;
  padding: 8px 12px;
}

.cd-item-keyword span {
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.4px;
  color: #585E6A;
}

.cd-clear-all {
  display: none;
  cursor: pointer;
  padding: 8px 12px;
}

.cd-clear-all span {
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  color: #0054FA;
}

.cd-remove-button,
.icon-clear {
  cursor: pointer;
}

.cd-input-search-block {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 11px 16px;
  border: 1px solid #DCDFE3;
  border-radius: 0px 4px 4px 0px;
  height: 44px;
}

.cd-input-search {
  border: none;
  outline: none;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: rgb(0, 0, 0);
  width: 100%;
}

.show {
  display: block;
}

.keywords-list-show {
  display: none;
}

.cd-choice-search-block {
  position: relative;
  cursor: pointer;
  width: 100%;
  display: inline-block;
  height: 40px;
}

.cd-change-search-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #3B3E45;
  background-color: #FCFCFC;
}

.change-search-border {
  border-radius: 4px;
}

.cd-change-search-list {
  display: none;
  position: absolute;
  background-color: #FCFCFC;
  width: 100%;
  margin-top: 4px;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 20px 20px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
}

.cd-change-search-list ul {
  padding: 8px 16px;
  list-style-type: none;
}

.cd-change-search-list ul li {
  padding: 8px 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
}

.cd-change-search-list ul li:hover {
  cursor: pointer;
  color: #0054FA;
}

.show {
  display: block;
  z-index: 5;
}

select:focus {
  border: 0px;
  outline: 0px;
}

.cd-table {
  border-collapse: collapse;
  width: 100%;
}

.cd-colum-sort {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
}

td,
th {
  border: 1px solid #EBEBEB;
  text-align: center;
}

th {
  color: #898989;
  padding: 15px;
  background-color: white;
  font-size: 14px;
  font-weight: 500;
}

td {
  padding: 24px 15px;
  color: rgba(0, 0, 0, 0.87);
  white-space: wrap;
}

tr:nth-child(odd) {
  background-color: #F9F9F9;
}

td:nth-child(2) {
  text-align: left;
}

tr:first-child th {
  border-top: none;
}

tr:last-child td {
  border-bottom: none;
}

tr td:last-child,
tr th:last-child {
  border-right: none;
}

tr td:first-child {
  width: 20px;
}

.cd-colum-sort img {
  cursor: pointer;
}

.serp-analysis-table {
  height: calc(100vh - 305px);
  overflow-y: scroll;
}

.serp-analysis-table::-webkit-scrollbar {
  width: 4px;
  margin-right: 10px;
}

.serp-analysis-table::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px #F2F2F2;
}

.serp-analysis-table::-webkit-scrollbar-thumb {
  background-color: #0054FA;
  height: 24px;
}

.dropdown-column.chevron-up {
  background: url("/static/products/assets/img/chevron-up.svg") no-repeat 100% center;
}
.dropdown-column.chevron-down {
  background: url("/static/products/assets/img/chevron-down.svg") no-repeat 100% center;
}

.dropdown-column-list {
  display: none;
  margin-top: 10px;
}
.dropdown-column-list ul > li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
}
.dropdown-column-list ul > li:last-child, .dropdown-column-list ul > li:first-child {
  padding: 0;
}

.avr-month-search-column {
  cursor: pointer;
  text-align: left;
}

.active-list {
  display: block;
}

td {
  vertical-align: top;
}

.input-serp-analysis {
  height: 100px;
}

.cd-input-keywords {
  height: 100px;
}

.sidebar {
  box-shadow: inset -1px 0px 0px #EBEBEC;
  width: 200px;
  grid-row-start: 1;
  grid-row-end: 3;
}

.cd-serp-analysis {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  grid-column-gap: 17px;
  grid-row-gap: 12px;
  margin: 0px 15px;
}

.query-input__keyword__row {
  display: flex;
  flex: 100%;
}
.query-input__keyword__row .query-input__keyword__place {
  flex: 100%;
}

.extra-options {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.extra-options .extra-options__dropdown__item {
  display: flex;
  gap: 4px;
}

.date-restrict {
  display: flex;
}
.date-restrict .date-restrict__value {
  align-items: center;
  width: 80px;
  padding: 11px 16px;
  border: 1px solid #DCDFE3;
  border-radius: 0px 4px 4px 0px;
  height: 44px;
}
.date-restrict .date-restrict__value input {
  border: none;
  outline: none;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: rgb(0, 0, 0);
  width: 100%;
}

.query-time__dropdown,
.type-query__dropdown {
  width: 160px;
  max-height: 42px;
}

.type-query__dropdown {
  border: 1px solid #DCDFE3;
  border-radius: 4px 0px 0px 4px;
  border-right: none;
}

.query-time__dropdown {
  border: 1px solid #DCDFE3;
  border-radius: 4px;
}

@media (min-width: 1199.98px) {
  .query-input {
    display: flex;
    gap: 4px;
  }
}
@media (max-width: 899.98px) {
  .extra-options {
    display: block;
  }
  .extra-options .extra-options__dropdown__item {
    justify-content: center;
  }
  .extra-options .cd-button {
    display: flex;
    margin: 40px auto;
  }
}
@media (max-width: 499.98px) {
  .extra-options__dropdown__item {
    flex-direction: column;
    align-items: center;
  }
}
.cd-table {
  border-collapse: collapse;
  width: 100%;
}

.cd-colum-sort {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
}

td,
th {
  border: 1px solid #EBEBEB;
  text-align: center;
}

th {
  color: #898989;
  padding: 15px;
  background-color: white;
  font-size: 14px;
  font-weight: 500;
}

td {
  padding: 24px 15px;
  color: rgba(0, 0, 0, 0.87);
  white-space: wrap;
}

tr:nth-child(odd) {
  background-color: #F9F9F9;
}

td:nth-child(2) {
  text-align: left;
}

tr:first-child th {
  border-top: none;
}

tr:last-child td {
  border-bottom: none;
}

tr td:last-child,
tr th:last-child {
  border-right: none;
}

tr td:first-child {
  width: 20px;
}

.cd-colum-sort img {
  cursor: pointer;
}

.td-text-left {
  text-align: left;
}

.keywords-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.related-queries__row {
  align-items: flex-start;
  display: flex;
  gap: 40px;
}

.table-block {
  max-height: 400px;
  overflow-y: auto;
  width: 100%;
  margin: 20px 0px;
}

.geomap-percent__row {
  display: flex;
  gap: 20px;
}

::-webkit-scrollbar {
  width: 4px;
  margin-right: 10px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px #F2F2F2;
}

::-webkit-scrollbar-thumb {
  background-color: #0054FA;
  height: 24px;
}

.sidebar-block {
  padding-right: 24px;
}

.sidebar-block span {
  color: #1B2430;
}

.collapsible {
  color: #1B2430;
  background-color: white;
  width: 100%;
  border: none;
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  line-height: 20px;
}
.collapsible.chevron-up {
  background: white url("/static/products/assets/img/chevron-up.svg") no-repeat 90% center;
}
.collapsible.chevron-down {
  background: white url("/static/products/assets/img/chevron-down.svg") no-repeat 90% center;
}

.collapsible:hover,
.sidebar-subitem-link:hover {
  background-color: #F1F7FF;
  border-radius: 8px;
  cursor: pointer;
}

.content {
  display: none;
  overflow: hidden;
}

.sidebar-item-link {
  display: block;
}

.sidebar-subitem-link {
  padding: 12px 16px 12px 24px;
  margin: 0;
  display: block;
}

.content-active {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.disabled-link {
  pointer-events: none;
}

.active-link {
  pointer-events: auto;
}

.query-input__keyword__row {
  display: flex;
  /*    margin-top: 40px;
      margin-bottom: 40px;
  */
}
.query-input__keyword__row .query-input__keyword__place {
  flex: 100%;
}

.extra-options {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.extra-options .extra-options__dropdown__item {
  display: flex;
  gap: 4px;
}

.date-restrict {
  display: flex;
}
.date-restrict .date-restrict__value {
  align-items: center;
  width: 80px;
  padding: 11px 16px;
  border: 1px solid #DCDFE3;
  border-radius: 0px 4px 4px 0px;
  height: 44px;
}
.date-restrict .date-restrict__value input {
  border: none;
  outline: none;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: rgb(0, 0, 0);
  width: 100%;
}

.date-restrict__dropdown {
  width: 150px;
}

.query-time__dropdown,
.type-query__dropdown {
  width: 220px;
}

.type-query__dropdown {
  border: 1px solid #DCDFE3;
  border-radius: 4px 0px 0px 4px;
  border-right: none;
}

.query-time__dropdown {
  border: 1px solid #DCDFE3;
  border-radius: 4px;
}

@media (max-width: 899.98px) {
  .extra-options {
    display: block;
  }
  .extra-options .extra-options__dropdown__item {
    justify-content: center;
  }
  .extra-options .cd-button {
    display: flex;
    margin: 40px auto;
  }
}
@media (max-width: 499.98px) {
  .extra-options__dropdown__item {
    flex-direction: column;
    align-items: center;
  }
}
