.ui.checkbox input[disabled] ~ label .af-popup-tooltip {
  pointer-events: auto;
}
.ui.menu.af-docs-header {
  background: #1c2225;
  box-shadow: 0 0 10px 0 rgb(28 34 37 / 100%);
}
.ui.menu.af-docs-header + .ui {
  margin-top: 70px;
}
.af-logo-sitename {
  font-family: sans-serif;
  margin-left: 5px;
  font-weight: bold;
  color: #fff;
  font-size: 24px;
}

.af-root.af-loading {
  visibility: hidden;
}
.af-root.af-loading.af-loaded {
  visibility: visible;
}

.af-word-break-all {
  display: inline-block;
  word-break: break-all;
}
.af-hidden {
  display: none;
}
.af-block.af-hidden {
  display: none;
}
.af-block {
  display: block;
}
.af-inline-block {
  display: inline-block;
}
.af-inline-block.af-hidden {
  display: none;
}
.af-row-flex {
  display: flex;
  flex-direction: row;
}
.af-row-flex.af-hidden {
  display: none;
}
.af-col-flex {
  display: flex;
  flex-direction: column;
}
.af-align-center {
  text-align: center;
  justify-content: center;
}
.af-content-center {
  justify-content: center;
}
table.ui td.af-align-center {
  text-align: center; /* semantic.css の inherit が優先されてしまう問題対策 */
  justify-content: center;
}
.af-align-between {
  justify-content: space-between;
}
.af-align-right {
  text-align: right;
  justify-content: right;
}
.af-col-flex.af-hidden {
  display: none;
}
.af-flex {
  flex-grow: 1;
}
.af-flex-2 {
  flex-grow: 2;
}

/* grid */
.af-grid {
  display: grid;
}
.af-grid-row-one {
  grid-row: 1;
}
.af-grid-row-two {
  grid-row: 2;
}
.af-grid-row-three {
  grid-row: 3;
}
.af-grid-row-four {
  grid-row: 4;
}
.af-grid-row-five {
  grid-row: 5;
}
.af-grid-column-one {
  grid-column: 1;
}
.af-grid-column-two {
  grid-column: 2;
}
.af-grid-column-three {
  grid-column: 3;
}
.af-grid-column-four {
  grid-column: 4;
}

.af-text {
  color: #c8c8c8;
}
.af-link-text {
  color: #e8e8e8;
}
.af-text-container {
  text-align: left;
  max-width: 60em;
  margin: auto;
}

.ui.af-v-middle, /* .ui.button よりも優先度を上げるため */
.af-v-middle {
  vertical-align: middle;
}
.af-left-icon {
  vertical-align: middle;
  padding-right: 3px;
}
.af-right-icon {
  vertical-align: middle;
  padding-left: 3px;
}

.af-button {
  cursor: pointer;
  border: none;
  background: inherit;
  outline: 0;
  text-decoration: none;
  margin: 1px;
  padding: 1px 7px;
  font-size: 12px;
  color: #ddd;
}
.af-button:hover {
  text-decoration: none;
}
.af-button-cancel,
.af-button-submit,
.af-button-danger {
  display: inline-block;
  line-height: initial;
  border-radius: 3px;
  margin: 5px 10px;
  padding: 5px 15px;
}
.af-button-cancel {
  border: 1px solid #111;
  background-color: #111;
}
.af-button-cancel:hover {
  border-color: #222;
  background-color: #222;
}
.af-button-submit {
  border: 1px solid #070;
  background-color: #070;
}
.af-button-submit:hover {
  border-color: #373;
  background-color: #373;
}
.af-button-danger {
  border: 1px solid #b11;
  background-color: #b11;
}
.af-button-danger:hover {
  border-color: #b33;
  background-color: #b33;
}
.af-single-column-form {
  max-width: 600px;
  margin: auto;
}

.af-table {
  border: 1px solid #333;
  padding: 5px;
}
.af-table.af-no-padding {
  padding: 0;
}
.af-table.af-right-aligned {
  text-align: right;
}

.af-modals,
.af-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.af-modals {
  display: none;
  z-index: 2000;
  font-size: 16px;
}
.af-modal .af-button {
  font-size: 32px;
}
.af-modals.af-modals-show {
  display: block;
}
.af-modal-black {
  background-color: rgb(0 0 0 / 85%);
}
.af-modal-red {
  background-color: rgb(102 0 0 / 85%);
}
.af-modal-green {
  background-color: rgb(0 34 0 / 85%);
}
.af-modal-blue {
  background-color: rgb(0 0 136 / 85%);
}
.af-modal-yellow {
  background-color: rgb(102 102 0 / 85%);
}
.af-modal-orange {
  background-color: rgb(102 34 0 / 85%);
}
.af-modal-header {
  font-size: 25px;
  color: #f0f0f0;
  font-weight: bold;
}
.af-modal-list-item {
  text-align: left;
}
.af-tasks-modal-table-container {
  max-height: 600px;
  overflow-y: auto;
  padding: 0 10px;
}
.af-tasks-modal-table {
  max-width: 1200px;
  width: 100%;
}
.af-tasks-modal-table th,
.af-tasks-modal-table td {
  padding: 0.25em 1em;
}

.af-error-info {
  display: block;
  color: black;
  background-color: white;
  width: 700px;
  height: 180px;
}
.af-error-info::selection {
  background-color: #accef7;
  color: black;
}

.ui.secondary.menu .af-align-self-auto {
  align-self: auto;
}

.icon.filter.af-filter-icon {
  width: 0.5em;
}

.af-nowrap {
  white-space: nowrap;
}
.af-ellipsis {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.af-loading-modal-spinner {
  display: inline-block;
  width: 128px;
  height: 128px;
}
.af-loading-modal-spinner::after {
  content: ' ';
  display: block;
  width: 96px;
  height: 96px;
  margin: auto;
  border-radius: 50%;
  border-style: solid;
  border-width: 10px;
  border-color: #222 #222 #222 #f0f0f0;
  animation: af-loading-modal-spinner 0.8s linear infinite;
}
@keyframes af-loading-modal-spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.header.item.af-organization-name {
  max-width: 300px;
  display: inline-block;
  flex-direction: column;
}

.header.item.af-organization-name > .af-header-title {
  width: 100%;
  font-size: 16px;
}

.ui.header.af-project-content-title {
  margin: 0;
  padding-bottom: 4px;
  line-height: 1em;
}
.af-project-affiliated-organization,
.af-project-content-minimized-title {
  margin-top: -19px;
  padding-bottom: 4px;
  align-items: center;
}

.ui.header.af-organization-content-title {
  margin-top: -19px;
  margin-bottom: 0;
  padding-bottom: 4px;
  line-height: 1em;
}
.af-organization-content-minimized-title {
  margin-top: -19px;
  padding-bottom: 4px;
}

.project-page-tab-menu,
.organization-page-tab-menu {
  padding-bottom: 12px;
}
.project-page-tab-menu > .tabular.menu,
.organization-page-tab-menu > .tabular.menu {
  border-bottom: 1px solid #ccc;
}
.project-page-tab-menu > .tabular.menu > .active.item,
.organization-page-tab-menu > .tabular.menu > .active.item {
  border-color: #ccc;
  color: #ccc;
}
.project-page-tab-menu > .tabular.menu > .active.item > .dropdown.item,
.organization-page-tab-menu > .tabular.menu > .active.item > .dropdown.item {
  color: #ccc;
  font-weight: 700;
}
.project-page-tab-menu > .tabular.menu > :not(.active).item > .dropdown.active.item,
.organization-page-tab-menu > .tabular.menu > :not(.active).item > .dropdown.active.item {
  color: rgb(255 255 255 / 80%);
  font-weight: 400;
}

@media screen and (width <= 950px) {
  .af-nav-label-supplemental {
    display: none;
  }
  .af-nav-label {
    font-size: 80%;
  }
}
@media screen and (width >= 950px) and (width <= 1100px) {
  .af-nav-label {
    font-size: 80%;
  }
}

.af-dropdown-username {
  max-width: 150px;
}

.af-modal .af-button .af-small {
  font-size: 20px;
}
.af-modal .af-button .af-smaller {
  font-size: 16px;
}

.ui.button .af-small {
  font-size: 0.9rem;
}

.af-note {
  font-size: small;
}

form.af-margin-top {
  margin-top: 1.5em;
}

img.af-logo {
  border-radius: 50%;
}

.ui.segment.af-vertically-divided-checkbox {
  padding: 0;
}

.ui.segment.af-vertically-divided-checkbox .ui.divider {
  margin: 0;
}

.ui.segment.af-vertically-divided-checkbox .ui.checkbox {
  display: block;
  padding: 1em;
}

.ui.tabular.menu.af-org-tab-menu {
  margin-bottom: 10px;
}

.ui.progress.af-progress {
  margin-bottom: unset;
}

.af-inline-text {
  width: 400px;
}

.af-code {
  border-radius: 2px;
  background-color: rgb(118 118 118 / 20%);
  border: solid 1px rgb(118 118 118);
  padding: 1px 6px;
  font-family: Monaco, Menlo, 'Ubuntu Mono', Consolas, source-code-pro, monospace, sans-serif;
  font-size: 0.875em;
  margin: 2px;
}

code.af-code {
  display: inline-block;
}

.ui.progress.af-progress-no-margin {
  margin: 0;
}

.af-underline {
  text-decoration: underline;
}

.af-lazy-display {
  animation-iteration-count: 1;
  animation-timing-function: linear;
  animation-duration: 5s;
  animation-name: af-lazy-display-fade-in;
}
@keyframes af-lazy-display-fade-in {
  0% {
    opacity: 0;
  }
  90% {
    opacity: 0;
  }
  91% {
    opacity: 0.1;
  }
  100% {
    opacity: 1;
  }
}

.af-pointer {
  cursor: pointer;
}

.ui.checkbox .af-checkbox-label,
.ui.radio .af-radio-label {
  cursor: pointer;
}

.af-notifications {
  margin-top: 59px;
  margin-bottom: 11px;
}

.af-search-sidebar {
  width: 200px;
  margin-right: 20px;
  flex-shrink: 0;
}
.af-search-contents {
  min-width: 0;
  flex-grow: 1;
}
.af-search-sidebar .tiny.menu .item {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

.af-contents-sticky-header {
  position: sticky;
  top: 0;
  /* larger than 800 for sticky and 101 for .ui.fixed.menu  see: html/semantic/src/site/globals/site.overrides */
  z-index: 804 !important;
  background-color: #1c2225;
}

.af-content-with-navigation-footer {
  /* フッターの高さ分だけ引く */
  min-height: calc(100vh - 200px);
}

.af-beginner-nav-progress {
  padding-bottom: 14px;
}
.af-beginner-nav-progress .ui.progress .bar {
  background-color: #0069d2;
}
.af-beginner-nav-progress .ui.progress {
  background-color: #787878;
}

.af-beginner-nav-group {
  width: 100%;
  border-right: 1px solid #e8e8e8;
  padding: 0 6px;
}
.af-beginner-nav-group:last-child {
  border-right: none;
}
.af-beginner-nav-group .af-nav-group-description {
  font-weight: bold;
  padding-bottom: 4px;
}
.af-nav-group-detail i {
  flex: 0 0;
  padding: 3px;
}
.af-nav-group-detail i.check.circle.icon {
  color: #0069d2 !important;
}
.af-nav-group-detail a {
  text-decoration: none;
}
.af-nav-group-detail a:hover {
  text-decoration: underline;
}
.af-beginner-nav-loading,
.af-beginner-nav-failed-to-load {
  height: 100%;
  align-items: center;
  justify-content: center;
}

.af-messages-page-link {
  text-decoration: none;
}
.af-messages-page-link-icon {
  position: relative;
}
.af-messages-page-link-badge {
  position: absolute;
  top: -3px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: #0cda09;
  border-radius: 50%;
}
