.gulu-button {
  box-sizing: border-box;
  height: 32px;
  padding: 0 12px;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  background: white;
  color: #333;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  transition: background 250ms;
}
.gulu-button + .gulu-button {
  margin-left: 8px;
}
.gulu-button:hover, .gulu-button:focus {
  color: #40a9ff;
  border-color: #40a9ff;
}
.gulu-button:focus {
  outline: none;
}
.gulu-button::-moz-focus-inner {
  border: 0;
}
.gulu-button.gulu-theme-link {
  border-color: transparent;
  box-shadow: none;
  color: #40a9ff;
}
.gulu-button.gulu-theme-link:hover, .gulu-button.gulu-theme-link:focus {
  color: #73c0ff;
}
.gulu-button.gulu-theme-text {
  border-color: transparent;
  box-shadow: none;
  color: inherit;
}
.gulu-button.gulu-theme-text:hover, .gulu-button.gulu-theme-text:focus {
  background: #f2f2f2;
}
.gulu-button.gulu-size-big {
  font-size: 24px;
  height: 48px;
  padding: 0 16px;
}
.gulu-button.gulu-size-small {
  font-size: 12px;
  height: 20px;
  padding: 0 4px;
}
.gulu-button.gulu-theme-button.gulu-level-main {
  background: #40a9ff;
  color: white;
  border-color: #40a9ff;
}
.gulu-button.gulu-theme-button.gulu-level-main:hover, .gulu-button.gulu-theme-button.gulu-level-main:focus {
  background: #0d92ff;
  border-color: #0d92ff;
}
.gulu-button.gulu-theme-button.gulu-level-danger {
  background: red;
  border-color: red;
  color: white;
}
.gulu-button.gulu-theme-button.gulu-level-danger:hover, .gulu-button.gulu-theme-button.gulu-level-danger:focus {
  background: #cc0000;
  border-color: #cc0000;
}
.gulu-button.gulu-theme-link.gulu-level-danger {
  color: red;
}
.gulu-button.gulu-theme-link.gulu-level-danger:hover, .gulu-button.gulu-theme-link.gulu-level-danger:focus {
  color: #cc0000;
}
.gulu-button.gulu-theme-text.gulu-level-main {
  color: #40a9ff;
}
.gulu-button.gulu-theme-text.gulu-level-main:hover, .gulu-button.gulu-theme-text.gulu-level-main:focus {
  color: #0d92ff;
}
.gulu-button.gulu-theme-text.gulu-level-danger {
  color: red;
}
.gulu-button.gulu-theme-text.gulu-level-danger:hover, .gulu-button.gulu-theme-text.gulu-level-danger:focus {
  color: #cc0000;
}
.gulu-button.gulu-theme-button[disabled] {
  cursor: not-allowed;
  color: grey;
}
.gulu-button.gulu-theme-button[disabled]:hover {
  border-color: grey;
}
.gulu-button.gulu-theme-link[disabled], .gulu-button.gulu-theme-text[disabled] {
  cursor: not-allowed;
  color: grey;
}
.gulu-button > .gulu-loadingIndicator {
  width: 14px;
  height: 14px;
  display: inline-block;
  margin-right: 4px;
  border-radius: 8px;
  border-color: #40a9ff #40a9ff #40a9ff transparent;
  border-style: solid;
  border-width: 2px;
  animation: gulu-spin 1s infinite linear;
}

@keyframes gulu-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.gulu-tabs-nav {
  display: flex;
  color: #333;
  border-bottom: 1px solid #d9d9d9;
  position: relative;
}
.gulu-tabs-nav-item {
  padding: 8px 0;
  margin: 0 16px;
  cursor: pointer;
}
.gulu-tabs-nav-item:first-child {
  margin-left: 0;
}
.gulu-tabs-nav-item.selected {
  color: #40a9ff;
}
.gulu-tabs-nav-indicator {
  position: absolute;
  height: 3px;
  background: #40a9ff;
  left: 0;
  bottom: -1px;
  width: 100px;
  transition: all 250ms;
}
.gulu-tabs-content {
  padding: 8px 0;
}

.gulu-dialog {
  background: white;
  border-radius: 4px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  min-width: 15em;
  max-width: 90%;
}
.gulu-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10;
}
.gulu-dialog-wrapper {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 11;
}
.gulu-dialog > header {
  padding: 12px 16px;
  border-bottom: 1px solid #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
}
.gulu-dialog > main {
  padding: 12px 16px;
}
.gulu-dialog > footer {
  border-top: 1px solid #d9d9d9;
  padding: 12px 16px;
  text-align: right;
}
.gulu-dialog-close {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.gulu-dialog-close::before, .gulu-dialog-close::after {
  content: "";
  position: absolute;
  height: 1px;
  background: black;
  width: 100%;
  top: 50%;
  left: 50%;
}
.gulu-dialog-close::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.gulu-dialog-close::after {
  transform: translate(-50%, -50%) rotate(45deg);
}

.gulu-switch {
  height: 22px;
  width: 44px;
  border: none;
  background: #bfbfbf;
  border-radius: 11px;
  position: relative;
  cursor: pointer;
}
.gulu-switch > span {
  position: absolute;
  top: 2px;
  left: 2px;
  height: 18px;
  width: 18px;
  background: white;
  border-radius: 9px;
  transition: all 250ms;
}
.gulu-switch.gulu-checked {
  background: #1890ff;
}
.gulu-switch.gulu-checked > span {
  left: calc(100% - 18px - 2px);
}
.gulu-switch:focus {
  outline: none;
}
.gulu-switch:active > span {
  width: 22px;
}
.gulu-switch.gulu-checked:active > span {
  width: 22px;
  margin-left: -4px;
}
.gulu-switch:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}