.ui .flex-spread-stretch {
  display: flex !important;
  justify-content: space-between !important;
  align-items: stretch;
}

.flex-vertical-container {
  display: flex;
  flex-direction: column;
}

.ui.secondary.menu .item.fitted:first-child {
  margin-left: 0 !important;
}

.ui.secondary.menu .item.fitted:last-child {
  margin-right: 0 !important;
}

.ui.secondary.menu .item.fitted.right {
  flex: 0 1 auto;
  justify-content: flex-end;
  width: 100%;
}

.ui #remote-dropdown {
  margin: 0;
}

.ui no-background {
  background: none;
}

.ui .data-diff {
  padding: 0.5rem;
  font-size: 1rem;
}

.ui .data-diff:first-child:not(:only-child) {
  border-right: 1px solid #d4d4d5;
}

.ui .data-diff.del {
  background-color: var(--removed-color0);
  width: 100%;
}

.ui .data-diff.add {
  background-color: var(--added-color0);
  width: 100%;
}

.ui .attached.bottom.multi-merge {
  border-top: 0;
  background-color: white !important;
}

.ui .attached.top.multi-merge {
  border-bottom: 0;
}

.ui .merge.box.multi-merge {
  padding-top: 0;
  margin-top: 0;
}

.ui .bottom-separator {
  border-bottom: 1px solid rgba(34, 36, 38, .15);
  margin: 0 1rem 0 1rem;
}

.ui .missing-access-list {
  padding-inline-start: 1.5rem;
}

.ui .missing-access-list li {
  margin: 0 0 0.5rem 0;
}

.ui.grid > .column:not(.row) .icon-column {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui.grid > .column:not(.row) .content-column {
  padding-left: 0;
}

.ui.button.merge-pr-btn {
  border-width: 1px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.25);
  background: #f9fafb;
  color: rgba(0, 0, 0, 0.75);
  font-weight: 700 !important;
  padding: 8px 20px !important;
  transition: background-color 0.3s ease;
}

.ui.button.merge-pr-btn:hover {
  background: #eeeeee;
}
.ui.merge.segments {
  overflow: hidden;
}
.ui.merge.segment .text.green {
  color: #21ba45 !important;
}

.ui.button.green.merge-pr-btn {
  background: #21ba45;
  color: #fff;
}

.ui.button.green.merge-pr-btn:hover {
  background: #16ab39;
}

.view.issue > .ui.container:not(.fluid) {
  max-width: 1300px !important;
}

.view.issue > .ui.container.fluid {
  padding: 0 24px;
}

@media only screen and (min-width: 1500px) {
  .view.issue > .ui.container {
    width: unset;
  }
}


.view.issue .circular.label {
  margin-right: none !important;
}

.repository.view.issue .title h1 .ui.input {
  min-width: 75%;
}

.view.issue .title .edit-zone {
  margin-top: 5px;
}

#edit-title:hover {
  background-color: #21ba45 !important;
  color: #FFF !important;
}

.view.issue .ui.menu .item > .label {
  margin-top: -2px;
  margin-left: 7px;
  padding: 3px 5px;
}

.view.issue .comment-list .comment.starter .content .header {
  background-color: hsl(122deg 80% 96% / 84%) !important;
}

.view.issue .comment-list .comment.starter .content .header:after {
  border-right-color: hsl(122deg 80% 96% / 84%) !important;
}

.view.issue .comment-list .comment .content .header {
  background-color: hsl(191deg 68% 97% / 84%) !important;
}

.view.issue .comment-list .github-comment .content .header {
  background-color: #f6f8fa !important;
}

.view.issue .comment-list .comment .content .header:after {
  border-right-color: hsl(191deg 68% 97%) !important;
}

.repository.view.issue .comment-list .comment .content > .bottom.segment {
  background: #ffffff;
}

.view.issue .avatar .octicon-git-merge {
  color: #FFF !important;
  font-size: 35px;
  padding-left: 9px;
  width: 42px;
  height: 42px;
  border-radius: 0.35rem;
  padding-top: 3px;
}

.view.issue .avatar.green .octicon-git-merge {
  background-color: #21ba45 !important;
}

.view.issue .avatar.purple .octicon-git-merge {
  background-color: #a333c8 !important;
}

.view.issue .avatar.yellow .octicon-git-merge {
  background-color: #FBBD08 !important;
}

.view.issue .avatar.grey .octicon-git-merge {
  background-color: #767676 !important;
}

.view.issue .avatar.red .octicon-git-merge {
  background-color: #db2828 !important;
}

.view.issue .comment-list .comment .content .header > span.text {
  font-size: 1.05em;
}

.view.issue .comment-list .comment .content .header > span.text > a:first-of-type {
  font-weight: 600;
}

.view.issue .comment-list .comment .content .header > span.text > a {
  color: hsl(191 5% 35% / 1);
}

.view.issue .tab.pull .metas {
  border: 0px;
}

.view.issue .pull.tabular.menu .octicon {
  color: hsl(191 5% 35% / 1);
}

.view.issue .title h1 {
  font-weight: 500 !important;
}

.view.issue .dropdown > div.text,
.view.issue .select-link > div.text {
  color: hsl(191 5% 35% / 1);
  display: flex;
  align-items: center;
  justify-content: space-between;

}

.view.issue .participants > span.text {
  color: hsl(191 5% 35% / 1);
}

.view.issue .metas {
  font-size: 0.912em;
}

.view.issue .metas > .dropdown,
.view.issue .metas > .select-link {
  cursor: pointer;
  display: block;
}

.view.issue .dropdown > .menu {
  left: auto;
  right: 0;
}

.view.issue .select-assignee > .selected > .item {
  color: #333;
  font-weight: 600;
}

.view.issue .select-assignee > .selected > .item > img {
  border-radius: 12px;
}

.view.issue .comment .avatar > img, .view.issue .participants a > img.avatar {
  border-radius: 20px;
}

#commits-table .message {
  padding: 0.625em 1em;
}

#commits-table .commit-message {
  font-size: 1.3em;
}

#commits-table .avatar.image {
  border-radius: 15px;
}

#commits-table .author {
  font-size: 0.9em;
  display: flex;
  align-items: center;
  padding-top: 0.2em;
}

#commits-table .author > img {
  height: 1.5em;
  width: 1.5em
}

#commits-table .author > span {
  padding: 0 2px;
}

#commits-table .author > a {
  font-weight: 600;
}

#commits-table tr:hover {
  background-color: #fafafa;
}

.repository.view.issue .pull .thirteen .merge.box .avatar {
  margin: 0;
}

/* Notebook diffing */


.repository.view.issue #file-content .header .octicon {
  padding-right: 5px;
}


.repository.view.issue #file-content .header .icon {
  font-size: 1em;
  margin-top: -2px;
}


.repository.view.issue #file-content .header .file-actions {
  padding-left: 20px;
}


.repository.view.issue #file-content .header .file-actions .btn-octicon {
  display: inline-block;
  padding: 5px;
  margin-left: 5px;
  line-height: 1;
  color: #767676;
  vertical-align: middle;
  background: transparent;
  border: 0;
  outline: none;
}


.repository.view.issue #file-content .header .file-actions .btn-octicon:hover {
  color: #4078c0;
}


.repository.view.issue #file-content .header .file-actions .btn-octicon-danger:hover {
  color: #bd2c00;
}


.repository.view.issue #file-content .header .file-actions .btn-octicon.disabled {
  color: #bbb;
  cursor: default;
}


.repository.view.issue #file-content .header .file-actions #delete-file-form {
  display: inline-block;
}


.repository.view.issue #file-content .view-raw {
  display: flex;
    justify-content: center;
    align-items: center;
}


.repository.view.issue #file-content .view-raw * {
  max-width: 100%;
}


.repository.view.issue #file-content .view-raw img {
  margin-bottom: -5px;
}


.repository.view.issue #file-content [id^='ipython-notebook'] {
  margin-left: 95px;
  padding-top: 1px;
}


.repository.view.issue #file-content [id^='ipython-notebook'] .nb-notebook {
  line-height: 1.5;
}


.repository.view.issue #file-content [id^='ipython-notebook'] .nb-stdout,
.repository.view.issue #file-content [id^='ipython-notebook'] .nb-stderr {
  white-space: pre-wrap;
  margin: 1em 0;
  padding: 0.1em 0.5em;
}


.repository.view.issue #file-content [id^='ipython-notebook'] .nb-stderr {
  background-color: #FAA;
}


.repository.view.issue #file-content [id^='ipython-notebook'] .nb-cell + .nb-cell {
  margin-top: 0.5em;
}


.repository.view.issue #file-content [id^='ipython-notebook'] .nb-cell > .nb-output {
  overflow: auto;
}


.repository.view.issue #file-content [id^='ipython-notebook'] .nb-cell {
  position: relative;
}


.repository.view.issue #file-content [id^='ipython-notebook'] .nb-cell.nb-heading-cell {
  margin-top: 0.5em;
}


.repository.view.issue #file-content [id^='ipython-notebook'] .nb-cell img {
  max-width: 100%;
}


.repository.view.issue #file-content [id^='ipython-notebook'] .nb-raw-cell {
  white-space: pre-wrap;
  background-color: #f5f2f0;
  font-family: Consolas, Monaco, 'Andale Mono', monospace;
  padding: 1em;
  margin: .5em 0;
}


.repository.view.issue #file-content [id^='ipython-notebook'] .nb-input:before,
.repository.view.issue #file-content [id^='ipython-notebook'] .nb-output:before {
  position: absolute;
  font-family: monospace;
  color: #999;
  left: -7.5em;
  width: 7em;
  text-align: right;
  font-size: 14px;
}


.repository.view.issue #file-content [id^='ipython-notebook'] .nb-input:before {
  content: "In [" attr(data-prompt-number) "]:";
}


.repository.view.issue #file-content [id^='ipython-notebook'] .nb-input pre {
  background-color: #f7f7f7;
  margin-right: 10px;
  padding: 5px 10px;
}


.repository.view.issue #file-content [id^='ipython-notebook'] .nb-input pre code {
  min-height: 18px;
  line-height: 18px;
  font-size: 14px;
}


.repository.view.issue #file-content [id^='ipython-notebook'] .nb-output:before {
  content: "Out [" attr(data-prompt-number) "]:";
}


.repository.view.issue #file-content [id^='ipython-notebook'] .nb-output pre {
  padding: 5px 10px;
  font-size: 14px;
}


.repository.view.issue #file-content [id^='ipython-notebook'] .nb-output img {
  max-width: 100%;
}


.repository.view.issue #file-content [id^='ipython-notebook'] .nb-output table {
  border: 1px solid #000;
  border-collapse: collapse;
}


.repository.view.issue #file-content [id^='ipython-notebook'] .nb-output th {
  font-weight: bold;
}


.repository.view.issue #file-content [id^='ipython-notebook'] .nb-output th,
.repository.view.issue #file-content [id^='ipython-notebook'] .nb-output td {
  border: 1px solid #000;
  padding: 0.25em;
  text-align: left;
  vertical-align: middle;
  border-collapse: collapse;
}


.repository.view.issue #file-content [id^='ipython-notebook'] .nb-markdown-cell {
  margin-top: 10px;
  margin-right: 10px;
  padding: 10px;
}


.repository.view.issue #file-content [id^='ipython-notebook'] div[style="max-height:1000px;max-width:1500px;overflow:auto;"] {
  max-height: none !important;
}


.repository.view.issue #file-content .plain-text {
  font-size: 14px;
  padding: 15px 15px 10px 15px;
  font-family: Consolas;
}

.repository.view.issue #file-content .code-view [id^='ipython-notebook'] *:not(h1) {
  font-size: 14px;
}


.repository.view.issue #file-content .code-view table {
  width: 100%;
}


.repository.view.issue #file-content .code-view table tbody tr {
  padding: 0 !important;
}


.repository.view.issue #file-content .code-view .lines-num {
  vertical-align: top;
  text-align: right;
  color: #999;
  background: #f5f5f5;
  width: 42px;
}

.repository.view.issue #file-content .code-view .lines-num span {
  line-height: 20px;
  padding: 0 10px;
  cursor: pointer;
  display: block;
}


.repository.view.issue #file-content .code-view .lines-num,
.repository.view.issue #file-content .code-view .lines-code {
  display: table-cell !important;
  padding: 0 !important;
}

.repository.view.issue #file-content .code-view .lines-num pre li,
.repository.view.issue #file-content .code-view .lines-code pre li,
.repository.view.issue #file-content .code-view .lines-num ol li,
.repository.view.issue #file-content .code-view .lines-code ol li,
.repository.view.issue #file-content .code-view .lines-num .hljs li,
.repository.view.issue #file-content .code-view .lines-code .hljs li {
  display: inline-block;
  width: 100%;
}


.repository.view.issue #file-content .code-view .lines-num pre li.active,
.repository.view.issue #file-content .code-view .lines-code pre li.active,
.repository.view.issue #file-content .code-view .lines-num ol li.active,
.repository.view.issue #file-content .code-view .lines-code ol li.active,
.repository.view.issue #file-content .code-view .lines-num .hljs li.active,
.repository.view.issue #file-content .code-view .lines-code .hljs li.active {
  background: #ffffdd;
}


.repository.view.issue #file-content .code-view .lines-num pre li:before,
.repository.view.issue #file-content .code-view .lines-code pre li:before,
.repository.view.issue #file-content .code-view .lines-num ol li:before,
.repository.view.issue #file-content .code-view .lines-code ol li:before,
.repository.view.issue #file-content .code-view .lines-num .hljs li:before,
.repository.view.issue #file-content .code-view .lines-code .hljs li:before {
  content: ' ';
}

.repository.view.issue #file-content .notebook-diff > div:first-of-type {
  border-right: 1px solid #ccc;
}

.repository.view.issue .notebook-diff-box > h4 {
  margin-bottom: 0 !important;
  padding-bottom: .78571429rem !important;
  border-radius: var(--roundness) var(--roundness) 0 0 !important;
  border: 1px solid #d4d4d5 !important;
}

.repository.view.issue .notebook-diff-box > h4:not(.active) {
  border-radius: var(--roundness) !important;
}

.repository.view.issue .notebook-diff-box > h4 + div:not(.active) {
  padding: 0;
  border: 0;
}

.pull .repository,
.pull .bottom.attached.pull.segment.tab {
  padding: 0;
}

.repository.view.pull.file.diff .diff-file-box img {
  width: 100%;
}

.clipboard {
  opacity: 0.7;
}

.clipboard:hover {
  cursor: pointer;
  opacity: 1;
}

.view.issue .metas > .select-link > .popup {
  width: 400px !important;
  max-width: unset;
  cursor: default;
  overflow: visible;
}

.view.issue .metas > .select-link > .popup > .dropdown {
  overflow: visible;
}

.view.issue .metas > .select-link > .popup > .dropdown > .menu > .item {
  display: flex;
  flex-direction: column;
}

.view.issue .metas > .select-link > .popup > .dropdown > .menu > .item > .issue,
.view.issue .metas > .select-link-list > .issue {
  display: flex;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  align-items: baseline;
}

.view.issue .metas > .select-link-list {
  margin: 1em 0;
}

.view.issue .metas > .select-link-list > .issue > a {
  color: var(--homepage-overlay-section);
  font-weight: 700;
  flex-grow: 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.view.issue .metas > .select-link > .popup > .dropdown > .menu > .item > .issue > .octicon,
.view.issue .metas > .select-link-list > .issue > .octicon {
  margin-right: 5px;
}

.view.issue .metas > .select-link > .popup > .dropdown > .menu > .item > .repo {
  font-size: 12px;
  color: #606060;
  margin: 5px 0 0 20px;
}

.delete-link {
  cursor: pointer;
}
