/*
https://coolors.co/palette/f8f9fa-e9ecef-dee2e6-ced4da-adb5bd-6c757d-495057-343a40-212529
*/

.semantic-content__wrapper {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
    min-width: 1260px;
    max-width: 1700px;
    margin: 0 auto;
    font-size: 15px;
}
body.semantic-sidebar-collapsed .semantic-content__wrapper {
    min-width: 1000px;
}
.semantic-content {
    flex: 1;
    display: flex;
    overflow: hidden;
    padding-bottom: 10px;
    margin-top: 0;
}
.semantic-column {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}
.block-header {
    height: 45px;
    background-color: #e9ecef;
    padding: 15px 15px 15px 15px;
    display: flex;
    align-items: center;
}
.block-header i {
    padding: 1px;
}
.scrollable-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    padding: 0 15px 15px 15px;
    margin-top: 15px;
}
.semantic-panel-footer {
    position: relative;
    bottom: 0;
    margin: 10px 0 0 0;
    padding: 0 4px;
    padding-top: 4px;
    height: 40px;
}
.sidebar {
    width: 280px;
    flex: 0 2 280px;
    margin: 10px;
    background-color: #383838;
    color: #fff;
    transition: width 0.2s ease, flex-basis 0.2s ease;
}
.sidebar--collapsed {
    width: 20px;
    flex: 0 0 20px;
    border-radius: 4px;
    background-color: #e9ecef;
    cursor: pointer;
}
.sidebar--collapsed:hover {
    background-color: rgba(56, 56, 56, 0.25);
}
.sidebar__header {
    padding: 15px;
    height: 45px;
    background-color: #282828 !important;
    justify-content: space-between;

}
.sidebar--collapsed .sidebar__header,
.sidebar--collapsed .scrollable-content {
    display: none;
}
.sidebar--collapsed .sidebar__footer {
    justify-content: center;
    opacity: 0.45;
    padding: 0;
    background-color: transparent;
}
.sidebar__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 15px;
    background-color: #282828;
    margin-top: auto;
    transition: opacity 0.2s ease;
}
.sidebar__collapse-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: transparent;
    border: none;
    border-radius: 50%;
    padding: 0;
    flex-shrink: 0;
}
.sidebar__collapse-btn i {
    transition: transform 0.2s ease;
}
.sidebar--collapsed .sidebar__collapse-btn i {
    transform: rotate(180deg);
    color: #000;
}
.sidebar__collapse-btn:hover,
.sidebar__collapse-btn:focus {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
}
.sidebar--collapsed .sidebar__collapse-btn {
    margin: 0 auto;
    background-color: transparent;
}
.sidebar--collapsed .sidebar__collapse-btn:hover,
.sidebar--collapsed .sidebar__collapse-btn:focus {
    background-color: transparent;
}
.sidebar a{
    color: #fff;
    text-decoration: none;
}
.sidebar__rubric--deep-1 {
    padding-left: 0;
    font-weight: bold;
}
.sidebar__rubric--deep-2 {
    padding-left: 15px;
}
.sidebar__rubric--deep-3 {
    padding-left: 30px;
}
.sidebar__rubric-count {
    flex: 0 0 30px;
    color: #aaa9a9;
    font-size: 14px;
    text-align: right;
}
.js-rubric-block {
    padding: 2px 15px;
    margin: 2px -15px;
    display: flex;
    justify-content: space-between;
}
.js-rubric-block:hover {
    background: #282828;
}
.js-rubric-block .edit-rubric-link {
    display: none;
}
.js-rubric-block:hover .edit-rubric-link {
    display: block;
    flex: 0 0 30px;
    text-align: right;
}
.js-rubric-block:hover .sidebar__rubric-count {
    display: none;
}
.js-rubric-name {
    padding-right: 5px;
}
/* Стили для Chrome, Safari, Edge */
.dark-scroll::-webkit-scrollbar-track {
    background: #383838;
}

.dark-scroll::-webkit-scrollbar-thumb {
    background-color: #888;
}

.dark-scroll::-webkit-scrollbar-thumb:hover {
    background-color: #383838;
}

/* Стили для Firefox */
.dark-scroll {
    scrollbar-color: #282828 #383838;
}



.groups {
    width: 400px;
    flex: 1 3 400px;
    margin: 10px 5px 10px 5px;
    background-color: #F8F9FA;
}
.groups__header {
    padding: 15px;
    height: 45px;
}
.js-page-block {
    display: flex;
    min-height: 33px;
    justify-content: space-between;
    align-items: center;
    margin: 0 -15px;
    padding: 1px 15px;
}
.js-page-block a {
    color: var(--bs-body-color);
    text-decoration: none;
}
.js-page-block:hover {
    background-color: #e9ecef;
}
.js-page-block:hover .js-pages-wordstat {
    display: none;
}
.groups__menu--link {
    display: none;
}
.js-page-block:hover .groups__menu--link {
    display: block;
    flex: 0 0 70px;
    width: 70px;
    text-align: right;
}
.js-page-block.selected {
    background-color: lightyellow;
}
.js-page-block.active {
    background-color: #ccc;
}
.js-page-block.selected .groups__menu--link {
    display: block;
}
.js-pages-name {
    padding-right: 15px;
    word-wrap: break-word;
}



.keywords {
  flex: 1 5 550px;
  min-width: 550px;
  margin: 10px;
  background-color: #fff;
  --semantic-query-columns: minmax(0, 1fr) 96px 80px 80px 56px;
}
.keywords__header {
  padding: 0 0 0 0;
  height: 45px;
  background-color: #e9ecef;
}
.keywords .nav-tabs {
  margin-top: 3px;
  height: 42px;
}
.keywords .nav-tabs .nav-link:hover {
  border-color: #fff; /* Цвет обводки при наведении */
}
.keywords .nav-tabs .nav-link {
  color: var(--bs-secondary-color);
}

.keywords .nav-tabs li:first-child {
  margin-left: 15px;
}
.keywords .nav-link {
  line-height: 1;
  padding: 5px 15px;
}
.js-active-group-tab {
  min-width: 0;
  flex: 0 1 82px;
}

.js-active-group-tab .nav-link {
  max-width: 82px;
  padding-left: 8px;
  padding-right: 8px;
}

.js-active-group-tab-label {
  display: inline-block;
  max-width: 66px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.keywords__footer {
  background-color: #eaecef;
}

.semantic-filter-input {
    padding-right: 1.8rem;
}

.semantic-filter-clear {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
}

#page_filters_toggle.semantic-filter-toggle-active,
#query_filters_toggle.semantic-filter-toggle-active {
  color: #3d7bfd !important;
}

.semantic-query-filters-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.semantic-query-filter-group {
  min-width: 0;
}

.semantic-query-range-input {
  width: 100%;
  min-width: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

.semantic-query-range-input::-webkit-outer-spin-button,
.semantic-query-range-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.semantic-query-filter-apply {
  flex: 1 1 auto;
}

.semantic-query-filter-reset {
  width: 31px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid transparent;
  color: #495057;
  background: transparent;
}

.semantic-query-filter-reset:hover,
.semantic-query-filter-reset:focus {
  color: #343a40;
  background-color: rgba(108, 117, 125, 0.08);
  border-color: rgba(108, 117, 125, 0.16);
}

.move-to-group-list {
  max-height: 48vh;
  overflow-y: auto;
}

.move-to-group-list .list-group-item {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.move-to-group-list .min-w-0 {
  min-width: 0;
}

@media (max-width: 1400px) {
  .semantic-query-filters-grid {
    grid-template-columns: 1fr;
  }
}

.keywords .nav-item-count {
  font-size: 11px;
  margin-top:0;
}
.keywords .nav-icons {
  height: 100%;
  border-bottom: 1px solid var(--bs-border-color);
}
.keywords .nav-icons i,
.page-nav-options i {
  font-size: 22px;
  color: var(--bs-tertiary-color);
}
.keywords .nav-icons a:hover i,
.page-nav-options a:hover i {
  color: var(--bs-secondary-color);
}
.keywords__search {
  margin: 10px 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--bs-border-color);
}
.keywords .scrollable-content {
  font-size: 15px;
}

.keywords .scrollable-content.js-queries {
  margin-top: 0;
  padding: 0 0 15px;
}

.js-queries-list {
  min-width: 0;
}

.js-query-block a {
    color: var(--bs-body-color);
    text-decoration: none;
}

.js-page-name,
.js-query-name {
    cursor: pointer;
}







#login, #registration {
    padding-top: 50px
}
#login .form-wrap {
    width: 300px;
    margin: 0 auto;
}
#login h1, #registration h1 {
    font-size: 22px;
    text-align: center;
    font-weight: bold;
    padding-bottom: 20px;
}
#login .form-group, #registration .form-group {
    margin-bottom: 25px;
}


#login .btn.btn-custom, #registration .btn.btn-custom {
    font-size: 14px;
    margin-bottom: 20px;
}
#login .forget {
    font-size: 13px;
    text-align: left;
    margin: -15px 0 20px 0;
    display: block;
}

#login .wtf, #registration .wtf {
    font-size: 13px;
    text-align: center;
    display: block;
}

#registration .form-wrap {
    width: 300px;
    margin: 0 auto;
}




.js-query-block {
    display: grid;
    grid-template-columns: var(--semantic-query-columns);
    align-items: center;
    gap: 0;
    scrollbar-gutter: stable;
    margin-bottom: 0;
    padding: 4px 15px;
    line-height: 1.25;
    transition: background-color 0.12s ease;
}

.js-queries-list .js-query-block:nth-child(even) {
    background-color: #fbfcfe;
}

.js-query-block:hover {
    background-color: #e9ecef;
}

.js-queries-list .js-query-block:nth-child(even):hover {
    background-color: #e9ecef;
}

.js-query-block.selected {
    background-color: #fff3cd;
}

.semantic-query-drag-helper {
    z-index: 2000 !important;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 280px;
    padding: 10px 12px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    opacity: 0.72;
    pointer-events: none;
}

.semantic-query-drag-helper__badge {
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background-color: #212529;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
    flex-shrink: 0;
}

.semantic-query-drag-helper__content {
    min-width: 0;
}

.semantic-query-drag-helper__title,
.semantic-query-drag-helper__more {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.35;
}

.semantic-query-drag-helper__title {
    font-size: 13px;
    color: #212529;
}

.semantic-query-drag-helper__more {
    margin-top: 2px;
    font-size: 12px;
    color: #6c757d;
}

.semantic-query-drag-helper--multiple {
    background:
        linear-gradient(rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.98)) padding-box,
        linear-gradient(135deg, rgba(13, 110, 253, 0.2), rgba(13, 110, 253, 0.05)) border-box;
    border: 1px solid transparent;
}

.semantic-query-drag-source {
    opacity: 0.45;
    transform: scale(0.99);
}

.js-query-block-1col {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
    padding-right: 10px;
}

.js-query-block-2-3col {
    box-sizing: border-box;
    padding: 0 8px;
    justify-self: stretch;
    font-size: 14px;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    overflow: hidden;
}

.js-query-block-4col {
    box-sizing: border-box;
    padding: 0 8px;
    justify-self: stretch;
    font-size: 14px;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    overflow: hidden;
}

.js-query-block-1col input[type="checkbox"] {
    flex: 0 0 auto;
    margin: 4px 0 0;
}

@media (pointer: coarse) {
    .js-query-block-1col {
        align-items: center;
    }

    .js-query-block-1col input[type="checkbox"] {
        margin-top: 0;
    }
}

.js-query-name {
    display: block;
    flex: 1 1 auto;
    font-size: 14px;
    min-width: 0;
    word-break: break-word;
    line-height: 1.25;
}


/*
.seocore-navbar {
	background-color: #eeeeee;
    -webkit-box-shadow: 0px 1px 2px 0px #85909B;
    -moz-box-shadow: 0px 1px 2px 0px rgba(133, 144, 155, 1);
    box-shadow: 0px 1px 2px 0px #85909B;
}

.seocore-navbar-category {
	width: 260px;
	border-right: solid 1px #fff;
}

.seocore-navbar-group {
	width: 460px;
	border-right: solid 1px #fff;
}

.seocore-navbar-tabs {
	width: 510px;
	padding-left: 15px;
}

.seocore-navbar-tabs .nav-pills {
	margin: 5px 0 0 0;
}

.nav-pills>li:hover>a {
    background-color: #BACEDF;
}
*/

/*
.category-list {
	width: 260px;
	min-width: 260px;
	max-width: 260px;
	height: 100%;
	border-right: solid 1px #ccc;
	margin-left: 1px;
	font-size: 13px;
	padding-right: 15px;
}

.category-list .js-rubrics {
    overflow-y: scroll;
    height: 72vh;
    padding-right: 10px;
}

.category-list-header {
	margin: 10px 0 8px 0;
	border-bottom: solid 1px #ccc;
	padding: 0 0 12px 15px;
}

.groups-list-header .js-query-filter {
	width: 110px; margin-right: 10px;
}

.groups-list {
	width: 460px;
	min-width: 460px;
	max-width: 460px;
	border-right: solid 1px #ccc;
	padding: 0 15px 0 15px;
	font-size: 13px;
	height: 100%;
}

.groups-list-header {
	margin: 0 10px 10px 0;
	width: 100%;
	border-bottom: solid 1px #ccc;
	padding-bottom: 10px;
}

.groups-list-header-1 {
	width: 290px;
	margin-right: 15px;
}

.queries-list {
	min-width: 510px;
	max-width: 570px;
	width: 100%;
	padding: 0 0 0 15px;
	font-size: 13px;
}
*/

.queries-list-header {
    display: grid;
    grid-template-columns: var(--semantic-query-columns);
    align-items: center;
    gap: 0;
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #fff;
    padding: 0 15px 6px;
    margin-bottom: 5px;
    line-height: 1.25;
}

.queries-list-header::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0;
    border-bottom: 1px solid var(--bs-border-color);
}

.queries-list-header__title {
    display: flex;
    align-items: center;
    min-width: 0;
    margin: 0;
    padding-right: 10px;
}

.queries-list-header__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.queries-list-header__title input {
    margin: 0;
    cursor: pointer;
}

.queries-list-header__metrics {
    display: contents;
}

.queries-list-header a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.queries-list-header img {
	margin: -2px 2px 0 0;
}

.queries-list-header__caret {
    margin-left: 2px;
    font-size: 70%;
}

.queries-list-1col
{
    box-sizing: border-box;
    padding: 0 8px;
    justify-self: stretch;
	text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.queries-list-2col
{
    box-sizing: border-box;
    padding: 0 8px;
    justify-self: stretch;
	text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.queries-list-3col
{
    box-sizing: border-box;
    padding: 0 8px;
    justify-self: stretch;
	text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.active_page_rubric {
	background-color: #4c4c4c;
}

.js-pages-wordstat {
	flex: 0 0 70px;
	text-align: right;
	padding-right: 10px;
}

.js-pages-url {
	flex: 0 0 50px;
	width: 50px;
	flex-shrink: 0;
	text-align: right;
	margin-left: auto;
}

/*
.page-url {
	width:50px;
	margin: 9px 0 0 0;
}

.page-max-wordstat {
	width:50px;
	margin: 9px 10px 0 0;
}

.js-create-page {
	position: absolute;
	bottom: 0;
	margin: 10px 0 15px 0;
	padding: 10px;
	border: solid 1px #ccc;
	width: 440px;
	text-align: center;
	color: #666;
}
*/
.js-page-comment:hover {
    -webkit-box-shadow:inset 0px 0px 0px 1px #0e6efd;
    -moz-box-shadow:inset 0px 0px 0px 1px #0e6efd;
    box-shadow:inset 0px 0px 0px 1px #0e6efd;
    cursor: pointer;
}
/*
.js-page-queries td {
    background-color: white;
    padding: 3px 8px !important;
    border: 0 !important;
}
*/







/* -- Tasks -- */

.tasks-content__wrapper {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 60px);
    min-width: 1260px;
    max-width: 1700px;
    margin: 0 auto;
    font-size: 15px;
}
.tasks-content {
    flex: 1;
    display: flex;
    margin-top: 0;
}

.tasks-stages {
  width: 260px;
  flex: 0 2 260px;
  padding: 0 10px 0 10px;
  margin: 10px 0 0 10px;
  color: #000;
  background-color: #e8e8e8;
}

.tasks-stages__name {
  font-size: 14px;
  color: #a1a1a1;
  text-transform: uppercase;
  margin: 10px 0 5px 0;
}

.tasks-stages__nav a {
  background: #c4c4c4;
  margin: 0 0 5px 0;
  color: #000000;
}

.tasks-stages__nav a:first-child {
  background: #8b8b8b;
}

.tasks-stages__nav a:nth-child(2) {
  background: #a9a9a9;;
}

.tasks-stages__nav a:nth-child(3) {
  background: #c4c4c4;
}

.tasks-stages__nav a:last-child {
  background: #ffffff;
}

.tasks-stages__nav a:hover {
  background: #4c4c4c !important;
  color: #fff;
}

.tasks-stages__nav a.active {
  background: #383838 !important;
  color: #fff;
}

.tasks-list {
  flex: 1 1 940px;
  margin: 0 10px 0 0;
  color: #000;
}

.tasks-column {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tasks-block-header {
    height: 45px;
    background-color: #e9ecef;
    padding: 15px 15px 15px 15px;
    display: flex;
    align-items: center;
}

.tasks-table th {
  background: #e8e8e8;
}

.tasks-table tr {
  border-bottom: solid 5px #f8f9fa !important;
}






/*
.tasks-navbar .btn {
	padding: 6px 8px;
}

.task-navbar-separator {
	border-right: solid 2px #FFFFFF;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 5px;
    height: 35px;
    margin-right: 5px;
}

.task-navbar-group {
	margin: 0 5px 0 0;
}
*/

.task-table .btn-sm {
	padding: 0 10px;
}

.js-sort-trigger {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
  text-decoration: none !important;
}

.js-sort-trigger__label {
  text-decoration: underline;
}

.js-sort-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  min-width: 12px;
  text-align: center;
  flex: 0 0 12px;
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-color: transparent !important;
  text-decoration-thickness: 0 !important;
  text-decoration-skip-ink: none;
}

.content-group-header {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 100%;
}

.content-group-filter {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.content-group-filter__input {
  width: 100%;
  padding-left: 30px;
  height: 28px;
  font-size: 14px;
}

.content-group-filter__icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #8c95a1;
    font-size: 13px;
    pointer-events: none;
}
.content-category-header {
    display: flex;
    align-items: center;
    gap: 7px;
}
.content-category-th {
    overflow: visible;
    z-index: 12 !important;
}
.content-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: inherit;
    text-decoration: none !important;
    border-radius: 4px;
    flex: 0 0 22px;
}
.content-filter-toggle:hover,
.content-filter-toggle:focus {
    color: inherit;
    background-color: transparent;
}
.content-filter-toggle--active {
    color: #3d7bfd !important;
}
.content-category-dropdown {
    width: 340px;
    margin-top: 6px;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    z-index: 1200;
    font-size: 14px;
}
.content-category-dropdown__body {
    padding: 10px;
}
.content-category-dropdown__search {
    position: relative;
    margin-bottom: 10px;
}
.content-category-dropdown__search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #8c95a1;
    font-size: 13px;
    pointer-events: none;
}
.content-category-dropdown__search-input {
    padding-left: 30px;
    height: 38px;
    border-radius: 8px;
    font-size: 14px;
}
.content-category-dropdown__actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 12px;
}
.content-category-dropdown__actions .btn {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: 13px;
}
.content-category-dropdown__list {
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #fff;
}
.content-category-dropdown__list:empty {
    display: none;
}
.content-category-dropdown__empty {
    padding: 10px 12px;
    color: #6c757d;
    font-size: 13px;
}
.content-category-dropdown__footer {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid #e9ecef;
    background-color: #f8f9fa;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.content-category-option {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) 32px;
    align-items: start;
    column-gap: 12px;
    margin: 0;
    padding: 9px 12px;
    cursor: pointer;
    font-weight: 400;
}
.content-category-option:hover {
    background-color: #f8f9fa;
}
.content-category-option + .content-category-option {
    border-top: 1px solid #f1f3f5;
}
.content-category-option--special {
    margin-bottom: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}
.content-category-option .form-check-input {
    margin: 2px 0 0;
}
.content-category-option__main {
    min-width: 0;
}
.content-category-option__label {
    display: block;
    min-width: 0;
    line-height: 1.3;
}
.content-category-option__label-text {
    display: block;
    color: #1f2937;
    word-break: break-word;
    font-size: 14px;
}
.content-category-option__count {
    color: #8c95a1;
    font-size: 12px;
    text-align: right;
    line-height: 1.5;
    padding-top: 1px;
}

/*
.task-modal {

}
*/

.tablesorter-header-inner {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.tablesorter-header-inner .tablesorter-icon {
  order: 2;
  margin-left: 5px;
  color: #ccc;
}

.table-separated {
  border-collapse: separate;
  border-spacing: 0 10px;
  background: #f8f9fa;
  margin-top: -10px;
}

.table-separated thead th {
  position: sticky;      /* Заголовок прилипает */
  top: 0;                /* На 0px от верхней границы контейнера */
  background: #fff;      /* Чтобы текст не сливался при прокрутке */
  z-index: 10;           /* Лучше поставить выше, если есть элементы поверх */
}

.table-separated tbody tr > td {
  background-color: #fff;
}

.position {
    font-size: 70%;
    vertical-align: super;
}

.position__same {
    color: grey;
}

.position__increase {
    color: blue;
}

.position__decrease {
    color: red;
}

/*
.top-style2 > span{
	line-height: 32px;
}
.top-style2 > .btn-group{
	margin-top: 1px;
}
.top-style2 > * {
	float: none;
	display: inline-block;
	vertical-align: top;
	white-space: normal;
}
.top-style2{
	white-space: nowrap;
	overflow: auto;
}
*/

/* Projects list on main page */

.project_item {
    min-width: 300px;
}
.project_item_link {
    display: inline-block;
    margin-right: 10px;
}
.project_edit {
    margin-top: -2px;
}

.project_edit a {
   color: var(--bs-list-group-action-color);
   text-decoration: none;
}

.js-page-priority .js-current {
    width: 100%;
    max-width: 90px;
    padding-left: 4px;
}

.js-page-priority-select {
    width: 100%;
    max-width: 90px;
}

.page-priority-label {
    display: inline-block;
    min-width: 80px;
    padding: 0 10px 0 10px;
    text-align: center;
}

.page-priority-low {
    background-color: #e6e6e6;
    color: #3d3d3d;
}

.page-priority-middle {
    background-color: #12734b;
    color: #d3edbc;
}

.page-priority-high {
    background-color: #b00202;
    color: #ffcfc9;
}


/* -- Keyword Difficulty -- */

.kd-circle {
    border-radius: 5%;
    height: 10px;
    width: 3px;
    display: inline-block;
    margin-right: 3px;
    margin-bottom: 3px;
    vertical-align: middle;
}

.kd-na {
    background-color: #e0e1e9
}

.kd-very-easy {
    background-color: #009f81;
}

.kd-easy {
    background-color: #59ddaa;
}

.kd-possible {
    background-color: #fdc23c;
}

.kd-difficult {
    background-color: #ff8c43;
}

.kd-hard {
    background-color: #ff4953;
}

.kd-very-hard {
    background-color: #d1002f;
}

.lang-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-toggle {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
}

.lang-toggle:hover,
.lang-toggle:focus {
    color: rgba(255, 255, 255, 0.75);
    background: transparent;
    box-shadow: none;
}
