@import url('/static/fonts/pt-sans/pt-sans.css');

@font-face {
  font-family: "JetBrains Mono";
  src: url('/static/fonts/JetBrainsMono.woff2') format('woff2');
}

html, body {
  overscroll-behavior: none;
}

body {
  font-size: 0.875rem;
}

main {
  min-height: calc(100vh - 54px);
}

.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

.break-word {
  word-break: break-word;
}

/* колоры */
.bg-blue {
  background-color: #007bff14 !important;
}

.border-blue {
  border-color: #007bff38 !important;
}

.bg-light-second {
  background-color: #f8f9fa !important;
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 0 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
}

@media (max-width: 767.98px) {
  .sidebar {
    /*top: 5rem;*/
  }
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: 100vh;
  /*height: calc(100vh - 48px);*/
  /*padding-top: .5rem;*/
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}

.sidebar .nav-link {
  color: #333;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #999;
}

.sidebar .nav-link.active {
  color: #007bff;
  border-right: 1px solid #dee2e6 !important;
  background-color: #f3f4f5 !important;
}

.sidebar .nav-link:hover {
  border-right: 1px solid #dee2e6 !important;
  background-color: #f8f9fa !important;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
}

.sidebar-user-info {
  width: calc(100% - 50px);
}

.sidebar-user-info a {
  text-overflow: ellipsis;
  display: block;
  overflow: hidden;
}

.nav-item-dot {
  width: 7px;
  height: 7px;
  color: #fff;
  /*background-image: linear-gradient(#54a3ff, #006eed);*/
  background-color: #54a3ff;
  /*background-clip: padding-box;*/
  border-radius: 50%;
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, 0.25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25);
}

.navbar .navbar-toggler {
  top: 0.25rem;
  right: 1rem;
}

.navbar .form-control {
  padding: 0.75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

/*конец общих стилей*/

.w-10 {
  width: 10% !important;
}

.w-15 {
  width: 15% !important;
}

.w-85 {
  width: 85% !important;
}

.w-90 {
  width: 90% !important;
}

.mw-85 {
  max-width: 85% !important;
}

.mw-90 {
  max-width: 90% !important;
}

.day-commit {
  border-left: 2px solid #dee2e6 !important;
}

.commit-item:hover {
  background-color: #f6f8fa;
}

.commit-date {
  margin-left: -0.5rem !important;
  background-color: #fff;
}

.btn-xs,
.btn-group-xs > .btn {
  padding: 0.15rem 0.3rem;
  font-size: 0.75rem;
  line-height: 1.5;
  border-radius: 0.5rem;
}

.btn-xs + .dropdown-toggle-split,
.btn-group-xs > .btn + .dropdown-toggle-split {
  padding-right: 0.175rem;
  padding-left: 0.175rem;
}

.underline-nav {
  color: #6c757d;
  overflow-x: auto;
  white-space: nowrap;
}

.underline-nav > div {
  color: #6c757d;
  border: 0;
  border-bottom: 2px solid rgba(209, 213, 218, 0);
  transition: border-bottom-color 0.36s ease-in;
}

.underline-nav > div > a {
  color: #6c757d;
  display: inline-block;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
}

.underline-nav > div:hover {
  color: #6c757d;
  border-bottom: 2px solid #dee2e6;
  transition: border-bottom-color 0.36s ease-out;
}

.underline-nav > div.active {
  color: #343a40;
  border-bottom: 2px solid;
  border-color: #17a2b8;
}

.underline-nav > div.active > a {
  color: #343a40;
  text-decoration: none;
}

/*навигация меню настроек проекта*/
.setting-nav > a {
  border-top: 1px solid #dee2e6 !important;
  background-color: #f8f9fa !important;
  border-left: 1px solid #dee2e6 !important;
  border-right: 1px solid #dee2e6 !important;
}

.setting-nav > a:hover {
  background-color: #f3f4f5 !important;
}

.setting-nav > a:first-child {
  border-top: 1px solid #dee2e6 !important;

  border-top-left-radius: 0.25rem !important;
  border-top-right-radius: 0.25rem !important;
}

.setting-nav > a:last-child {
  border: 1px solid #dee2e6 !important;
  border-bottom-left-radius: 0.25rem !important;
  border-bottom-right-radius: 0.25rem !important;
}

.setting-nav > a.active {
  /*border-left: 2px solid;*/
  border-right: 2px solid #17a2b8 !important;
  /*border-color: #17a2b8;*/
  background-color: #ffffff !important;
}

/* select 2 bug fix */
.form-group > .select2-container {
  width: 100% !important;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow {
  height: 25px !important;
  width: 30px !important;
  top: 3px !important;
  right: 0 !important;
  background-image: url('/static/image/icons/angle-down.svg') ;
  background-repeat: no-repeat;
  background-position: calc(100% - 7px) center;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b {
  display: none;
}

.files-title {
  background-color: #007bff14 !important;
  border-color: #007bff38 !important;
}

.code-title {
  background-color: #007bff14 !important;
  border-color: #007bff38 !important;
}

.chunk-num {
  width: 1%;
  min-width: 30px;
  padding-right: 10px;
  padding-left: 10px;
  /*font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;*/
  line-height: 1.6;
  font-family: "JetBrains Mono";
  font-size: 12px;
  /*color: rgba(27,31,35,.3);*/
  text-align: right;
  white-space: nowrap;
  vertical-align: top;
  /*cursor: pointer;*/
  /*-webkit-user-select: none;*/
  /*-moz-user-select: none;*/
  /*-ms-user-select: none;*/
  /*user-select: none;*/
}

.chunk-num.no-select {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */
}

.chunk-num > a {
  color: inherit;
}

.chunk-line {
  white-space: break-spaces;
  line-height: 1.6;
  font-family: "JetBrains Mono";
  font-size: 12px;
  padding-left: 1.5rem !important;
  border: none !important;
  position: relative;
}

.code-line {
  white-space: break-spaces;
  line-height: 1.6;
  font-family: "JetBrains Mono";
  font-size: 12px;
  padding-left: 0.5rem !important;
  border: none !important;
  position: relative;
}

.code-line.highlighted {
  background-color: rgba(7, 250, 71, 0.22);
}

.chunk-operation-none > .header {
  color: #6c757d;
  background-color: #f8f9fa;

  white-space: break-spaces;
  line-height: 1.6;
  font-family: "JetBrains Mono";
  font-size: 12px;
  padding-left: 1.5rem !important;
  border: none !important;
  position: relative;
}

.chunk-operation-add > td {
  background-color: #e6ffec;
  border-right: 1px solid #28a745;
}

.chunk-operation-add > td.chunk-line {
  background-color: #e6ffec;
}

.chunk-operation-add > td.chunk-line:before {
  content: "+";
  position: absolute;
  left: 0.5em;
}

.chunk-operation-remove > td {
  background-color: #ffd9d9;
  border-right: 1px solid #dc3545;
}

.chunk-operation-remove > td.chunk-line {
  background-color: #ffd9d9;
}

.chunk-operation-remove > td.chunk-line:before {
  content: "-";
  position: absolute;
  left: 0.5em;
}

.chunk-operation-none > td {
  background-color: #f8f9fa;
  border-right: 1px solid #dee2e6;
}

.chunk-operation-none > td.chunk-line {
  background-color: #ffffff;
}

.chunk-btn-holder {
  width: 1px;
  border: none !important;
}

.chunk-line-btn {
  padding: 0 0.25rem;
  font-size: 0.65rem;
  line-height: 1.5;
  border-radius: 0.2rem;
  margin-left: -10px;
  margin-top: 3px;
  position: absolute;
}

.repo-breadcrumb {
  list-style: none;
}

.repo-breadcrumb > li:last-child:after {
  content: "";
}

.repo-breadcrumb > li:after {
  display: inline-block;
  padding: 0 3px;
  color: #999;
  content: "/";
}

.branch-list {
  display: flex;
  width: calc(25%);
  gap: 5px;
  align-items: center;
}

.branch-title {
  background-color: #f6f8fa !important;
  border-color: #e1e4e8 !important;
}

.project-badge {
  font-size: 0.75rem;
  padding: 0 7px;
  font-weight: 500 !important;
  height: fit-content;
}

.branch-name-tag {
  background-color: #eaf5ff !important;
  color: #0366d6 !important;
  text-overflow: ellipsis;
  overflow: hidden;
  display: inline-block;
  padding: 2px 6px;
  border-radius: 6px;
  max-width: calc(25%);
}

.branch-active {
  max-width: calc(65%);
}

/*font size*/
@media (max-width: 768px) {
  .f1 {
    font-size: 32px !important;
  }

  .f2 {
    font-size: 24px !important;
  }

  .f3 {
    font-size: 20px !important;
  }
}

.f1 {
  font-size: 26px !important;
}

.f2 {
  font-size: 22px !important;
}

.f3 {
  font-size: 18px !important;
}

.f4 {
  font-size: 16px !important;
}

.f5 {
  font-size: 14px !important;
}

.f6 {
  font-size: 12px !important;
}

/*language color*/

.repo-language-color {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(27, 31, 35, 0.1);
  border-radius: 50%;
}

.lang-color-none {
  background-color: #ededed;
}

.wpx-250 {
  width: 250px !important;
}

.wpx-300 {
  width: 300px !important;
}

.wpx-350 {
  width: 350px !important;
}

/* табы для дропдауна для скачивания проекта */
.code-tab-line-nav {
  color: #6c757d;
  font-size: 0.75rem;
  border-bottom: none;
}

.code-tab-line-nav > li {
  color: #6c757d;
  border: 0;
  padding: 0.5rem 0.75rem;
  border-bottom: 2px solid rgba(209, 213, 218, 0);
  transition: border-bottom-color 0.36s ease-in;
}

.code-tab-line-nav > li > a {
  color: #6c757d;
  text-decoration: none;
}

.code-tab-line-nav > li > a:hover {
  color: #6c757d;
  border-bottom: 2px solid #dee2e6;
  transition: border-bottom-color 0.36s ease-out;
}

.code-tab-line-nav > li > a.active {
  color: #343a40;
  border-bottom: 2px solid;
  border-color: #17a2b8;
  text-decoration: none;
}

.ssh-key-list > div {
  border-bottom: 1px solid #dee2e6 !important;
}

.ssh-key-list > div:last-child {
  border-bottom: none !important;
}

.label-color-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
}

/* ---- дискуссии --- */

.discussion-block:last-child {
  border-bottom: 1px solid #dee2e6 !important;
}

.discussion-holder p {
  margin-bottom: 0 !important;
}

.profile__avatar-container {
  position: relative;
  width: 100%;
}

.profile__avatar-container:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.profile__avatar-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.font-weight-middle {
  font-weight: 600 !important;
}

/*Markdown styles*/
.markdown-comment p:last-child {
  margin-bottom: 0;
}

.markdown-body pre {
  padding: 8px;
  overflow: auto;
  font-size: 85%;
  line-height: 1.45;
  background-color: #f6f8fa;
  border-radius: 6px;
}

.markdown-body img {
  max-width: 100%;
  box-shadow: 5px 5px 5px rgb(0 0 0 / 25%);
  margin-bottom: 1rem;
}

.markdown-body blockquote {
  border-left: 0.25rem solid #9ba0a6;
  padding: 0 1rem;
  color: #8b949e;
}

.markdown-body table {
  display: block;
  overflow-x: auto;
}

.cursor-pointer {
  cursor: pointer;
}

/* лэндинг */
.h1-land {
  font-size: 3.25rem;
}

.custom-button-land {
  font-size: 20px;
  padding-top: 17px;
  padding-bottom: 17px;
  padding-left: 57px;
  padding-right: 57px;
}

.h-slide-land {
  font-size: 2.5rem;
  font-weight: bold;
}

.slide-img {
  width: 410px !important;
}

@media (max-width: 768px) {
  .h1-land {
    font-size: 2rem;
  }

  .h-slide-land {
    font-size: 2rem;
    font-weight: bold;
  }

  .slide-img {
    width: 200px !important;
  }

  .custom-button-land {
    font-size: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 50px;
    padding-right: 50px;
  }
}

.custom-file-input ~ .custom-file-label::after {
  content: "Обзор";
}

.sidebar-brand {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 1rem;
}

/*нотификация*/

.notification-unread-indicator {
  width: 8px;
  height: 8px;
  background: none;
}

.notification-unread {
  background-color: #007bff;
}

.mail-status.unread {
  display: inline-block;
}

.mail-status {
  position: absolute;
  top: 6px;
  left: 12px;
  z-index: 2;
  display: none;
  width: 12px;
  height: 12px;
  color: #fff;
  background-image: linear-gradient(#54a3ff, #006eed);
  background-clip: padding-box;
  border: 2px solid #343a40 !important;
  border-radius: 50%;
}

.font-variant-ligatures-none {
  font-variant-ligatures: none;
}

@-moz-document url-prefix() {
  .font-weight-middle,
  .font-weight-bold,
  .font-weight-bolder {
    font-weight: 500 !important;
  }

  .badge {
    font-weight: 500 !important;
  }
}

.badge.badge--mod {
  top: -30%;
  padding: 0.25em 0.55em;
  font-size: 12px;
  line-height: 12px;
}


.bd-links {
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-right: -15px;
  margin-left: -15px;
}

.nav-c {
  margin-bottom: 0;
  list-style: none;
  padding-left: 15px;
  padding-bottom: 10px;
}

.nav-h {
  margin-bottom: 0;
  list-style: none;
  padding-left: 15px;
  padding-bottom: 2.5px;
  color: black;
}

.nav-h-color {
  color: rgb(92, 105, 117);
}

.nav-anchor {
  position: sticky;
  top: 4rem;
  height: calc(100vh - 2rem);
}

.bd-sidenav {
  display: none;
}

.bq-black {
  color: black;
  background-color: #f6f8fa;
}

.style-description {
  font-size: 16px;
  color: rgb(136, 153, 168);
}


.badge-gf-tag {
  background-color: #007bff14;
  color: #007bff;
  font-size: 14px;
  padding: 0.3rem 0.8rem;
  margin: 0 0.25rem 0.25rem 0;
}

.project__project-desc, .project__project-desc-realises a {
  font-size: 15px;
}

.project__project-desc-link {
  font-size: 16px;
}

.project__project-desc-icon {
  width: 16px;
  height: 16px;
  color: #6c757d;
}

.project__breadcrumbs-buttons .btn {
  border-color: #c2c4c7 !important;
}

.project__project-desc-pipelines .project__project-desc-icon > span {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(27, 31, 35, 0.1);
  border-radius: 50%;
}

.header__search input {
  width: 184px !important;
  transition: width .31s cubic-bezier(0.5, 0.7, 0.03, 1.31);
}

.header__search input:focus {
  width: 260px !important;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.docs_body {
  font-size: 16px;
  line-height: 20px;
}

.docs_body h2 {
  margin: 0 0 1rem 0;
}

.docs_body h5 {
  margin: 1rem 0;
}

.docs_body h5 > a::before {
  display: block;
  content: "";
  height: 5rem;
  margin: -5rem 0 0;
}

.docs_body p {
  margin-bottom: 10px;
  text-align: justify;
}

.docs_body table {
  table-layout: fixed;
  width: auto;
  border-collapse: collapse;
  text-align: center;
  margin: 20px;
}

.docs_body tbody tr:nth-child(odd) {
  background-color: #eeeaea;
}

.docs_body tbody tr:nth-child(even) {
  background-color: #ffffff;
}

.docs_body th {
  padding: 10px;
  border: 1px solid #d0d0d0;
}

.docs_body td {
  padding: 10px;
  border: 1px solid #d0d0d0;
}

@media (max-width: 768px) {
  .docs_body table {
    margin: 1rem 0;
    width: 100%;
  }

  .docs_body th, td {
    padding: 3px;
  }
}

.repo-settings__memory-value {
  font-size: 16px;
}

.disabled {
  cursor: not-allowed !important;
  pointer-events: none !important;
  opacity: 0.5 !important;
}

.btn.disabled {
  background: rgba(59, 59, 59, 0.3) !important;
  border: rgba(118, 118, 118, 0.3) !important;
}


tr.tr-selection {
  animation: selection 1.4s;
}

@keyframes selection {
  90% {
    background: #e0e2e4;
  }
}

.commit-list .day-commit .input-group-text {
  min-width: 92px;
  justify-content: center;
}

.oauth-btn-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

.btn-oauth {
  height: 25px;
}

.btn-oauth > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.js-start-timer::after {
  content: attr(data-timer);
  position: relative;
  font-weight: bold;
  color: #FFF;
}

.js-start-timer-on-click::after {
  content: attr(data-duration);
  position: relative;
  font-weight: bold;
  color: #FFF;
}

.btn-yandex {
  position: relative;
  background: #000 url(../images/oauth/yandex-btn.svg) no-repeat center;
  height: 31px;
}

a[href="#js-complaint-popup"] {
  height: 31px;
  font-size: 15px;
  line-height: 15px;
  padding: 9px;
}

#pills-repo-url-tab {
  width: fit-content;
}

.content-layout {
  width: 100%;
  max-width: 2000px;
  margin: 0 auto;
}

.v-select.vs--multiple .vs__dropdown-toggle .vs__selected-options {
  flex-wrap: wrap;
}

.alert-notification {
  top: 1rem;
  right: 0;
  z-index: 1;
  transition: transform .5s;
  transform: translateX(-20px);
  animation: notificationTransition 1s;
}

@keyframes notificationTransition {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.project-description {
  overflow: hidden;
  text-overflow: ellipsis;
  width: 50%;
}

@media (max-width: 768px) {
  .project-description {
    width: 100%;
  }
}


.fixed-width {
  width: max-content;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 1rem;
}

.gf-has-empty:empty {
  display: none;
}

.merge-request-item-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  word-break: break-word;
}

.user-label-item-info {
  width: calc(75%);
}

.user-label-item-info-username {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.files-username {
  width: calc(30%);
}

.branch-info {
  max-width: 40%;
}

@media (max-width: 768px) {
  .branch-info {
    max-width: 30%;
    display: none !important;
  }

  .branch-name-tag {
    max-width: 50%;
  }

  .branch-list {
    width: 80%;
  }

  .branch-active {
    max-width: 90%;
  }
}

@media (max-width: 576px) {
  .branches__navbar {
    flex-direction: column;
  }
  .branches__create-button {
    margin-top: 0.75rem;
  }
}

.webhook-settings label {
  margin-bottom: 0;
}

.paginator-ellipsis {
  pointer-events:none
}

.height-fit-content {
  height: fit-content;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('/static/image/icons/angle-down.svg') ;
  background-repeat: no-repeat;
  background-position: calc(100% - 6px) center;
}

.branch-protection__table-branch {
  vertical-align: middle !important;
}