/*
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;
}
.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;
    padding: 0 15px 15px 15px;
    margin-top: 15px;
}
.sidebar {
    width: 280px;
    flex: 0 2 280px;
    margin: 10px;
    background-color: #383838;
    color: #fff;
}
.sidebar__header {
    padding: 15px;
    height: 45px;
    background-color: #282828 !important;
    justify-content: space-between;

}
.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;
}
.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;
}
.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 {
  font-size: 22px;
  color: var(--bs-tertiary-color);
}
.keywords .nav-icons 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;
}

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







#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 {
	scrollbar-gutter: stable;
	margin-bottom: 5px;
}

.js-query-block-1col {
	max-width: 280px;
	min-width: 220px;
}

.js-query-block-2-3col {
	width: 50px;
	margin-left: 10px;
}

.js-query-block-4col {
	width: 50px;
	margin-left: 10px;
}


/*
.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 {
    padding-left: 15px;
}

.queries-list-header img {
	margin-top: -7px;
}

.queries-list-1col
{
	width: 50px;
	margin-left: 10px;
}

.queries-list-2col
{
	width:50px;
	margin-left: 10px;
}

.queries-list-3col
{
	width:50px;
	margin-left: 10px;
	margin-right: 15px;
}

.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;
}

/*
.task-modal {

}
*/

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

.tablesorter-header-inner .tablesorter-icon {
  margin-right: 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;
}
