.inputfield input {
  border: 1px solid #e6e6e6;
  outline: 0px;
  padding: 2px;
}

.label-row {
  display: inline;
}

.token-form-wrapper {
  font-size: 12px;
}

.personal-access-token-view, .ssh-public-keys-view {
  font-size: 12px;
}

.personal-access-token-view .button-field > button, .ssh-public-keys-view .button-field > button {
  margin-right: 5px;
}

.scope-check-wrapper {
  vertical-align: top;
  padding: 6px 0;
}

.scope-check-wrapper .account-form-label {
  display: inline-block;
  width: 175px;
}

/* accessible checkbox styles */
.scope-check-wrapper [type="checkbox"]:not(:checked),
.scope-check-wrapper [type="checkbox"]:checked {
  position: absolute;
  left: -9999px;
}

/* label */
.scope-check-wrapper [type="checkbox"]:not(:checked) + label,
.scope-check-wrapper [type="checkbox"]:checked + label {
  position: relative;
  cursor: pointer;
  padding: 4px 4px 0 30px;
}

/* checkbox base */
.scope-check-wrapper [type="checkbox"]:not(:checked) + label:before,
.scope-check-wrapper [type="checkbox"]:checked + label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 17px;
  height: 17px;
  border: 1px solid #007ACC;
}

.scope-check-wrapper [type="checkbox"]:checked + label:before {
  background-color: #007ACC;
}

/* checked */
.scope-check-wrapper [type="checkbox"]:not(:checked) + label:after,
.scope-check-wrapper [type="checkbox"]:checked + label:after {
  content: '\E977';
  font-family: 'bowtie';
  position: absolute;
  top: 6px;
  left: 3px;
  font-size: 14px;
  line-height: 0.8;
  color: #444;
  transition: all .3s ease;
  color: #fff;
}

/* disabled */
.scope-check-wrapper [type="checkbox"]:disabled:not(:checked) + label:before,
.scope-check-wrapper [type="checkbox"]:disabled:checked + label:before {
  box-shadow: none;
  border-color: #c8c8c8;
  background-color: #ebebeb;
}

.scope-check-wrapper [type="checkbox"]:disabled:checked + label:after {
  color: #999;
}

.scope-check-wrapper [type="checkbox"]:disabled + label {
  color: #aaa;
  cursor: not-allowed;
}

/* accessibility */
.scope-check-wrapper [type="checkbox"]:checked:focus + label:before,
.scope-check-wrapper [type="checkbox"]:not(:checked):focus + label:before {
  border: 1px dotted #868686;
}

/* hover */
.scope-check-wrapper label:hover:before {
  border: 1px solid #1BA1E2 !important;
}

.scope-check-wrapper [type="checkbox"]:disabled + label:hover:before {
  border-color: #c8c8c8 !important;
}

/* animation - optional */
.scope-check-wrapper [type="checkbox"]:not(:checked) + label:after {
  opacity: 0;
  transform: scale(0);
}

.scope-check-wrapper [type="checkbox"]:checked + label:after {
  opacity: 1;
  transform: scale(1);
}

/* High contrast settings on disabled state */
@media screen and (-ms-high-contrast: white-on-black) {
  .scope-check-wrapper [type="checkbox"]:disabled:checked + label:after {
    color: #3FF23F;
  }
  .scope-check-wrapper [type="checkbox"]:disabled:not(:checked) + label,
  .scope-check-wrapper [type="checkbox"]:disabled:checked + label {
    color: #3FF23F;
  }
}

@media screen and (-ms-high-contrast: black-on-white) {
  .scope-check-wrapper [type="checkbox"]:disabled:checked + label:after {
    color: #600000;
  }
  .scope-check-wrapper [type="checkbox"]:disabled:not(:checked) + label,
  .scope-check-wrapper [type="checkbox"]:disabled:checked + label {
    color: #600000;
  }
}

.token-form-input, .key-form-input {
  width: 200px;
  border: 1px solid #e6e6e6;
}

.token-container-content, .key-container-content {
  background-color: #9DC3E6;
  padding: 6px;
  margin-top: 5px;
  border: 0px none;
}

input[type=text].token-container-content::-ms-clear {
  display: none;
}

.token-container, .key-container {
  margin-top: 12px;
}

.pat-menu .toolbar, .key-menu .toolbar {
  margin: 0px;
}

.pat-menu, .key-menu {
  margin: 0px;
}

.display-list-container, .createdby-list-container {
  float: right;
  padding: 2px;
}

.expired {
  font-weight: bold;
  color: #fe0000 !important;
}

span.expired {
  margin-right: 15px;
}

.disabled {
  color: #808080;
}

.token-add {
  color: #767676;
}

.authorization-label {
  width: 400px;
  display: block;
}

.authorized-scopes {
  margin-top: 25px;
}

.required {
  color: #ff0000;
}

input.input-visible, select.input-visible {
  width: 300px;
  border: 1px solid #7F7F7F;
  padding: 3px;
}

textarea.input-visible {
  width: 500px;
  border: 1px solid #7F7F7F;
  padding: 3px;
}

.account-check-wrapper {
  display: inline-block;
  margin-bottom: 5px;
  padding: 5px;
}

.radio-field {
  padding-left: 10px;
}

.all-scopes {
  padding-bottom: 5px;
}

.scopes {
  margin-top: 10px;
  margin-left: 20px;
  margin-right: 20px;
  padding: 5px;
  min-width: 830px;
  /* To force scopes to 3 columns always as each scope is 270px wide */
  max-width: 830px;
  /* 3 columns of 270px */
}

.scopes.disabled {
  background-color: rgba( 234, 234, 234 ,  1 );
  background-color: rgba( var(--palette-neutral-8,234, 234, 234) ,  1 );
}

.scope-check-wrapper {
  width: 270px;
  display: inline-block;
  margin-bottom: 5px;
}

.button-container {
  margin-top: 20px;
}

.button-container input {
  border: 1px solid #7F7F7F;
  padding: 7px 15px;
  color: #767676;
  margin-right: 7px;
}

.add-token-form, .add-key-form {
  padding-left: 10px;
}

.add-token-form .header-text-wrapper, .add-key-form .header-text-wrapper {
  margin-bottom: 25px;
  color: #8B8B8B;
}

.token-notice {
  background-color: rgba( 218, 218, 218 ,  1 );
  background-color: rgba( var(--palette-neutral-10,218, 218, 218) ,  1 );
  display: none;
  padding: 5px;
  padding-left: 10px;
}

/* used as the emphasis color in the token notice */
.blue-notice {
  color: #2F89C9;
}

.add-token .header-text-wrapper, .add-key .header-text-wrapper {
  margin-bottom: 15px;
  /* an additional 5px */
}

/* make the button extra wide */
.add-token .save-token-button, .add-key .save-key-button {
  padding-left: 15px;
  padding-right: 15px;
  margin-right: 5px;
}

.add-token .token-cancel-button, .add-key .cancel-key-button {
  padding-left: 10px;
  padding-right: 10px;
}

.pat-grid .token-container-message, .key-grid .key-container-message {
  margin-top: -7px;
  color: #C73436;
  font-weight: bold;
}

.pat-grid .grid-header .grid-header-column, .key-grid .grid-header .grid-header-column {
  font-weight: bold;
}

.pat-grid .grid-header .grid-header-column:focus,
.pat-grid .grid-header .grid-column-moving:focus {
  background-color: #eaeaea;
  color: #212121;
}

.pat-grid .grid-header .grid-header-column:focus .title::after,
.pat-grid .grid-header .grid-column-moving:focus .title::after,
.pat-grid .grid-header div:focus .title::after {
  bottom: 0;
  content: "";
  height: 0;
  left: 0;
  margin-left: calc(50% - 6px);
  position: absolute;
  width: 0;
  border-bottom: 6px solid #000000;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  top: auto;
}

.pat-grid .grid-header .bowtie-icon,
.pat-grid .grid-header i.bowtie-icon,
.pat-grid .grid-header .bowtie > i,
.pat-grid .grid-header .bowtie-fabric > i,
.pat-grid .grid-header .bowtie-fabric .bowtie-icon {
  line-height: normal;
}

.hidden {
  display: none;
}

.token-action-link, .key-action-link {
  display: inline-block;
  width: 60px;
}

.token-action-link.hidden, .key-action-link.hidden {
  display: none;
}

.hide-revoked-tokens {
  padding: 12px;
}

#pat-loadmore-id {
  position: absolute;
  left: 0;
}

.clearfix {
  margin-top: 10px;
}
