﻿.btn {
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.btn-primary {
  background: #4aca85;
  color: #fff;
  border: 1px solid #4aca85;
  padding: 8px 20px !important;
  font-size: 14px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  border-radius: 30px;
}

  .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background: #5ed092 !important;
    border-color: #5ed092 !important;
    color: #fff;
  }

  .btn-primary:disabled {
    background: #f7f8fa !important;
    border-color: #666e76 !important;
    border-style: dashed;
    color: #666e76;
  }

/* .btn-default is also includes bootstrap dropdowns so they need to be filtered out if dropdown-toggle exists or they get styled as buttons */
.btn-default:not([data-toggle="dropdown"]) {
  background: #ffffff;
  color: var(--main-color);
  border: 1px solid var(--main-color);
}

  .btn-default:not([data-toggle="dropdown"]):hover, .btn-default:not([data-toggle="dropdown"]):focus, .btn-default:not([data-toggle="dropdown"]):active {
    background: #ffffff !important;
    border: 1px solid var(--main-color-darker);
    color: var(--main-color-darker);
  }

.btn-link {
  color: #fff;
  background-color: var(--main-color) !important;
  border-color: var(--main-color-darker);
}

  .btn-link:hover,
  .btn-link:active,
  .btn-link:focus {
    color: #fff;
    background-color: var(--main-color-darker) !important;
    border-color: var(--main-color-darker);
    text-decoration: none;
  }

.btn-sign-right {
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  border-left-width: 4px;
}

.btn-sign-left {
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  border-right-width: 4px;
}

.btn-success {
  color: #fff;
  background-color: var(--btn-success);
  border-color: var(--btn-success);
}

  .btn-success:hover, .btn-success:focus, .btn-success:active {
    background: var(--btn-success-hover) !important;
    border-color: var(--btn-success-hover) !important;
    color: #fff;
  }

  .btn-success:disabled {
    background: #f7f8fa !important;
    border-color: #666e76 !important;
    border-style: dashed;
    color: #666e76;
  }

.btn-more {
  color: var(--main-color);
  background-color: #fff;
  border-color: var(--main-color);
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  border-radius: 30px;
}

  .btn-more:hover,
  .btn-more:active,
  .btn-more:focus {
    color: #fff;
    background-color: var(--main-color);
    border-color: var(--main-color);
    text-decoration: none;
  }

.btn-more-inverted {
  color: #fff;
  background-color: var(--main-color);
  border-color: var(--main-color);
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  border-radius: 30px;
}

  .btn-more-inverted:hover,
  .btn-more-inverted:active,
  .btn-more-inverted:focus {
    color: #fff;
    background-color: var(--main-color);
    border-color: var(--main-color);
    text-decoration: none;
  }

.btn-with-img {
  line-height: 20px;
}

  .btn-with-img img {
    float: left;
    max-height: 20px;
    margin-right: 6px;
  }

.btn-sm.btn-with-img {
  line-height: 18px;
}

  .btn-sm.btn-with-img img {
    float: left;
    max-height: 18px;
    margin-right: 12px;
  }

@media screen and (max-width: 767px) {
  .btn-block-xs {
    display: block;
    width: 100%;
  }
}

/* employee navigation */
.employee-payroll-navigation {
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: flex-end;
  flex-wrap: nowrap;
  margin-right: 20px;
}

  .employee-payroll-navigation > div > span {
    font-size: 11px;
    color: #333;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
  }

.nav-circle-btn {
  width: 18px;
  height: 18px;
  border: 1px solid #dcdcdc;
  border-radius: 50%;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all 0.2s ease;
  font-size: 4px;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  outline: none;
  text-decoration: none !important;
}

  .nav-circle-btn.disabled {
    pointer-events: none !important;
    cursor: not-allowed !important;
    border-color: #ccc !important;
    opacity: 0.6 !important;
  }

    .nav-circle-btn.disabled i,
    .nav-circle-btn.disabled i:before {
      color: #ccc !important;
    }

#first-employee-icon,
#previous-employee-icon,
#next-employee-icon,
#last-employee-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #666;
}

#first-employee-icon {
  font-size: 7px;
  padding-top: 1px;
  margin-bottom: 1px
}

#last-employee-icon {
  font-size: 7px;
  padding-top: 1px;
  margin-bottom: 1px
}

#previous-employee-icon {
  font-size: 6px;
  transform: rotate(180deg);
  margin-top: -1px;
  margin-left: -2px;
}

#next-employee-icon {
  font-size: 6px;
  padding-top: 1px;
  margin-right: -1px;
  margin-bottom: 1px
}
