
body {
  font-family: specialfont, Arial, Helvetica, sans-serif;
  background-color: #f4f4f4;
  overscroll-behavior: none;
}

[v-cloak] {
  display: none;
}

code {
  display: inline;
  padding: .5em;
  color: #666;
  font-family: monospace;
  background: #f4f4f4;
}

pre {
  @extend code;
  display: block;
  max-width: 100%;
  margin-bottom: 1.6em;
  padding: 1em 1.5em;
  overflow: auto;
  font-size: 12px;
  line-height: 1.1;
  word-wrap: break-word;
  page-break-inside: avoid;
  border: 1px solid #ddd;
  border-left: 3px solid #f36d33;
}

.subTitle {
  font-size: 17px;
  font-weight: 500;
  color: $--color-primary--fade;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.emptyList {
  font-style: italic;
  color: lightgray;
  text-align: center;
  padding: 15px;
  font-size: 20px;
  font-weight: 100;
  background: #fafafa;
  border-radius: 5px;
}

.kebab-button {
  font-size: 14px;
  padding-left: 6px;
  padding-right: 6px;
  vertical-align: middle;
  margin-bottom: 0;
  border: none;
  background-color: transparent;

  i {
    margin: 0;
    transform: rotate(-90deg);
  }

  &.el-button--mini {
    font-size: 12px;
    padding-left: 5px;
    padding-right: 5px;
  }
  &.el-button--small {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.color-danger {
  color: $danger-color !important;
}
.color-warning {
  color: $warning-color;
}
.color-primary {
  color: $primary-color;
}
.color-info {
  color: $info-color;
}
.color-success {
  color: $success-color;
}

.infoIcon {
  font-size: 1.1rem;
  color: $primary-color;
}

/**
 * Status pills
 * large green pills example: class="status-success status-large"
 */
%status {
  display: inline-block;
  vertical-align: text-top;
  width: 15px;
  height: 15px;
  line-height: 18px;
  border-radius: 25px;
  background: gray;
}
.status-primary {
  @extend %status;
  background: $primary-color;
}
.status-success {
  @extend %status;
  background: $success-color;
}
.status-warning {
  @extend %status;
  background: $warning-color;
}
.status-danger {
  @extend %status;
  background: $danger-color;
}
.status-info {
  @extend %status;
  background: $info-color;
}
.status-large {
  width: 18px;
  height: 18px;
  line-height: 22px;
}
.status-small {
  width: 10px;
  height: 10px;
  line-height: 15px;
}

%box-clickable {
  cursor: pointer;
  transition: box-shadow .28s cubic-bezier(0.4,0,1,1);

  &:hover,
  &:focus {
    box-shadow: 0 0 2px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.24);
    transition: box-shadow .15s cubic-bezier(0,0,0.2,1);
  }
}

%big-box-clickable {
  cursor: pointer;
  transition: box-shadow .4s cubic-bezier(0.4,0,1,1);

  &:hover,
  &:focus {
    box-shadow: 0 5px 5px -3px rgba(0,0,0,0.2), 0 8px 10px 1px rgba(0,0,0,0.14), 0 3px 14px 2px rgba(0,0,0,0.12);
    transition: box-shadow .15s cubic-bezier(0,0,0.2,1);
  }
}

%cheetahBoxShadow {
  box-shadow: 0 1px #FFFFFF inset, 1px 2px 5px rgba(34, 25, 25, 0.1);
  //box-shadow: 0 1px #FFFFFF inset, 0 1px 3px rgba(34, 25, 25, 0.4);
  //box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
}

.remoteError-message {
  width: 500px;
  //max-width: 90%;
}

.remoteError-list {
  display: inline-block;
  text-align: left;
  padding-left: 25px;
}

.flex {
  display: flex;
  align-items: flex-start;
}
.flex-1 {
  flex: 1;
}
.inline-flex {
  display: inline-flex;
}

.align-center {
  align-self: center;
}

/**
 * Make sure Sweetalert popup apear over element-ui Dialog
 */
.swal2-container {
  z-index: 2100 !important;
}

a {
  text-decoration: none;
}