/*!
 * Start Bootstrap - SB Admin 2 Bootstrap Admin Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */
/*
$primary-text: #6f787f
$primary: #006CA2
$primary-light: #73b4f6
$primary-dark: darken($primary, 30px)
$primary-btn: linear-gradient(142deg, #207ddb , #7391ef )
 */
html {
  font-size: 14px;
}

body {
  color: #555;
  font-family: 'Source Sans Pro', sans-serif !important;
}

a {
  color: #555;
}

#wrapper {
  width: 100%;
}

div[class*="spinner_"] {
  display: none !important;
}



.navbar-top-links {
  margin-right: 0;
}

.navbar-top-links li {
  display: inline-block;
}

.navbar-top-links li:last-child {
  margin-right: 15px;
}

.navbar-top-links li a {
  padding: 15px;
  min-height: 50px;
}

.navbar-top-links .dropdown-menu li {
  display: block;
}

.navbar-top-links .dropdown-menu li:last-child {
  margin-right: 0;
}

.navbar-top-links .dropdown-menu li a {
  padding: 3px 20px;
  min-height: 0;
}

.navbar-top-links .dropdown-menu li a div {
  white-space: normal;
}

.navbar-brand img {
  display: inline-block;
  height: 26px;
}


.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
  width: 310px;
  min-width: 0;
}

.navbar-top-links .dropdown-messages {
  margin-left: 5px;
}

.navbar-top-links .dropdown-tasks {
  margin-left: -59px;
}

.navbar-top-links .dropdown-alerts {
  margin-left: -123px;
}

.navbar-top-links .dropdown-user {
  right: 0;
  left: auto;
}



.btn-outline {
  color: inherit;
  background-color: transparent;
  transition: all .5s;
}

.btn-primary.btn-outline {
  color: #428bca;
}

.btn-success.btn-outline {
  color: #5cb85c;
}

.btn-info.btn-outline {
  color: #5bc0de;
}

.btn-warning.btn-outline {
  color: #f0ad4e;
}

.btn-danger.btn-outline {
  color: #d9534f;
}

.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
  color: #fff;
}

.chat {
  margin: 0;
  padding: 0;
  list-style: none;
}

.chat li {
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px dotted #999;
}

.chat li.left .chat-body {
  margin-left: 60px;
}

.chat li.right .chat-body {
  margin-right: 60px;
}

.chat li .chat-body p {
  margin: 0;
}

.panel .slidedown .glyphicon,
.chat .glyphicon {
  margin-right: 5px;
}

.chat-panel .panel-body {
  height: 350px;
  overflow-y: scroll;
}

.login-brand-text {
  margin-top: 12%;
}

.login-panel {
  margin-top: 12%;
}

.flot-chart {
  display: block;
  height: 400px;
}

.flot-chart-content {
  width: 100%;
  height: 100%;
}

.dataTables_wrapper {
  position: relative;
  clear: both;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
  background: 0 0;
}

table.dataTable thead .sorting_asc:after {
  content: "\f0de";
  float: right;
  font-family: fontawesome;
}

table.dataTable thead .sorting_desc:after {
  content: "\f0dd";
  float: right;
  font-family: fontawesome;
}

table.dataTable thead .sorting:after {
  content: "\f0dc";
  float: right;
  font-family: fontawesome;
  color: rgba(50, 50, 50, .5);
}

.btn-circle {
  width: 30px;
  height: 30px;
  padding: 6px 0;
  border-radius: 15px;
  text-align: center;
  font-size: 12px;
  line-height: 1.428571429;
}

.btn-circle.btn-lg {
  width: 50px;
  height: 50px;
  padding: 10px 16px;
  border-radius: 25px;
  font-size: 18px;
  line-height: 1.33;
}

.btn-circle.btn-xl {
  width: 70px;
  height: 70px;
  padding: 10px 16px;
  border-radius: 35px;
  font-size: 24px;
  line-height: 1.33;
}

.show-grid [class^=col-] {
  padding-top: 10px;
  padding-bottom: 10px;
  border: 1px solid #ddd;
  background-color: #eee !important;
}

.show-grid {
  margin: 15px 0;
}

.huge {
  font-size: 40px;
}

.panel-green {
  border-color: #5cb85c;
}

.panel-green .panel-heading {
  border-color: #5cb85c;
  color: #fff;
  background-color: #5cb85c;
}

.panel-green a {
  color: #5cb85c;
}

.panel-green a:hover {
  color: #3d8b3d;
}

.panel-red {
  border-color: #d9534f;
}

.panel-red .panel-heading {
  border-color: #d9534f;
  color: #fff;
  background-color: #d9534f;
}

.panel-red a {
  color: #d9534f;
}

.panel-red a:hover {
  color: #b52b27;
}

.panel-yellow {
  border-color: #f0ad4e;
}

.panel-yellow .panel-heading {
  border-color: #f0ad4e;
  color: #fff;
  background-color: #f0ad4e;
}

.panel-yellow a {
  color: #f0ad4e;
}

.panel-yellow a:hover {
  color: #df8a13;
}

.navbar-nav {
  float: right;
}

.stat .panel-body {
  display: none;
}


/*Timeline*/
.timeline {
  position: relative;
  padding: 20px 0 20px;
  list-style: none;
}

.timeline:before {
  content: " ";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background-color: #eeeeee;
}

.timeline>li {
  position: relative;
  margin-bottom: 20px;
}

.timeline>li:before,
.timeline>li:after {
  content: " ";
  display: table;
}

.timeline>li:after {
  clear: both;
}

.timeline>li:before,
.timeline>li:after {
  content: " ";
  display: table;
}

.timeline>li:after {
  clear: both;
}

.timeline>li>.timeline-panel {
  float: left;
  position: relative;
  width: 46%;
  padding: 20px;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.timeline>li>.timeline-panel:before {
  content: " ";
  display: inline-block;
  position: absolute;
  top: 26px;
  right: -15px;
  border-top: 15px solid transparent;
  border-right: 0 solid #ccc;
  border-bottom: 15px solid transparent;
  border-left: 15px solid #ccc;
}

.timeline>li>.timeline-panel:after {
  content: " ";
  display: inline-block;
  position: absolute;
  top: 27px;
  right: -14px;
  border-top: 14px solid transparent;
  border-right: 0 solid #fff;
  border-bottom: 14px solid transparent;
  border-left: 14px solid #fff;
}

.timeline>li>.timeline-badge {
  z-index: 100;
  position: absolute;
  top: 16px;
  left: 50%;
  width: 50px;
  height: 50px;
  margin-left: -25px;
  border-radius: 50% 50% 50% 50%;
  text-align: center;
  font-size: 1.4em;
  line-height: 50px;
  color: #fff;
  background-color: #999999;
}

.timeline>li.timeline-inverted>.timeline-panel {
  float: right;
}

.timeline>li.timeline-inverted>.timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline>li.timeline-inverted>.timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline-badge.primary {
  background-color: #2e6da4 !important;
}

.timeline-badge.success {
  background-color: #3f903f !important;
}

.timeline-badge.warning {
  background-color: #f0ad4e !important;
}

.timeline-badge.danger {
  background-color: #d9534f !important;
}

.timeline-badge.info {
  background-color: #5bc0de !important;
}

.timeline-title {
  margin-top: 0;
  color: inherit;
}

.timeline-body>p,
.timeline-body>ul {
  margin-bottom: 0;
}

.timeline-body>p+p {
  margin-top: 5px;
}

@media(max-width:767px) {
  ul.timeline:before {
    left: 40px;
  }

  ul.timeline>li>.timeline-panel {
    width: calc(100% - 90px);
    width: -moz-calc(100% - 90px);
    width: -webkit-calc(100% - 90px);
  }

  ul.timeline>li>.timeline-badge {
    top: 16px;
    left: 15px;
    margin-left: 0;
  }

  ul.timeline>li>.timeline-panel {
    float: right;
  }

  ul.timeline>li>.timeline-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
  }

  ul.timeline>li>.timeline-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
  }
}

.ReactTable {
  border-radius: 0px;
}

.page-header {
  margin: 0 0 20px;
  padding-bottom: 1px;
}

.page-header>h1 {
  font-size: 24px;
  margin-top: 17px;
  margin-bottom: 12px;
  padding-bottom: 3px;
}

.profile-name {
  padding: 10px 0;
  text-align: center
}

/* .currency {
  text-align: right;
} */
.actions {
  text-align: center;
}

.rt-table .btn {
  padding: 1px 6px;
  border-radius: 2px;
}

.capitalize {
  text-transform: capitalize;
}

.form-group {
  margin-bottom: 8px;
}

.empty-message {
  text-align: center;
  margin: 150px 0;
}

.ReactTable .rt-thead.-header .rt-th {
  height: 42px;
  padding: 12px 6px 0;
  font-weight: 600;
  color: #636c7a;
  /* border-right: none; */
  /* text-align: left; */
}

.ReactTable .rt-thead.-header {
  box-shadow: none;
  padding-bottom: 1px solid #e1e6e8;
}

.ReactTable .rt-thead .rt-td {
  /* padding: 22px 30px; */
  border-right: none;
}

.ReactTable .rt-tbody .rt-td {
  height: 42px;
  padding: 12px 6px 0;
  border-right: none;
}

.thumb-photo {
  overflow: hidden;
  cursor: zoom-in;
}

.thumb-photo img {
  width: 100%
}

.thumb-ktp {
  overflow: hidden;
  cursor: zoom-in;
  width: 100%;
  height: 500px;
  position: relative;
}

.nav-tabs {
  margin-bottom: 14px;
}

.panel-heading,
.panel-footer {
  padding: 6px 12px;
}

.panel-body {
  padding: 15px 12px;
}

@media (min-width: 768px) {
  .form-inline .form-group {
    margin-right: 15px;
  }

  .form-inline .form-group:last-child {
    margin-right: 0px;
  }

  .form-inline .form-control {
    min-width: 200px;
  }
}

.preloader {
  position: relative;
  z-index: 999;
  margin: 0 auto;
  /* background: linear-gradient(141deg, #afdbf5 0%, #6badd2 51%, #458cb8 75%); */
  width: 100vw;
  height: 100vh;
}

.preloader img {
  width: 100px;
  animation: beat .3s infinite alternate;
  transform-origin: center;
}

/* Heart beat animation */
@keyframes beat {
  to {
    transform: scale(1.1);
  }
}

.preloader>div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center
}

.preloader .loadingState {
  margin-top: 15px
}

.loginForm {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 460px
}

.loginContainer {
  /* background: linear-gradient(141deg, #afdbf5 0%, #6badd2 51%, #458cb8 75%); */
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  color: black;
}

.loginContainer h1 {
  margin-top: 0px;
  margin: 30px 0;
}

.loginContainer img {
  width: 100px
}

.list-inline>li {
  padding-right: 15px
}

.list-inline>li:last-child {
  padding-right: 10px
}

.list-inline>li:first-child {
  padding-left: 10px
}

.disabled {
  cursor: not-allowed
}

/* General */
#app {
  height: 100vh;
  width: 100%;
  padding-bottom: 40px;
  position: relative;
}

.footer {
  text-align: center;
  background: #698fed;
  color: #e1e6e8;
  padding: 10px 0;
  position: absolute;
  bottom: 0;
  width: 100%;
}

#sidebar {
  width: 240px;
  float: left;
  background-color: white;
  height: calc(100vh - 67px);
  position: absolute;
  border-right: 1px solid #e1e6e8;
  overflow: scroll;
}

#sidebar .nav>li>a:hover,
#sidebar .nav>li>a:focus,
#sidebar .nav>li>a.active {
  background: transparent;
  color: #698fed;
  transition: all .3s;
}

#sidebar .nav>li>a:hover::after,
#sidebar .nav>li>a:focus::after,
#sidebar .nav>li>a.active::after {
  width: 100%;
}

#sidebar .nav>li>a {
  border-bottom: 1px #e1e6e8 solid;
  padding: 16px 15px 16px 30px;
  position: relative;
}

#sidebar .nav>li>a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #698fed;
  width: 0px;
  transition: all .3s;
  display: block;
}

/* Header */
.header {
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
  background: #FFF;
}

.header .header-top {
  padding: 12px 0 14px;
  border-bottom: 1px solid #e1e6e8;
  z-index: 8;
  position: relative;
}

.header .header-logo {
  margin-right: 15px;
  max-height: 38px;
  float: left;
}

.header .container-fluid {
  padding: 0 30px;
}

.header-right {
  line-height: 38px;
}

.header-title {
  display: inline-block;
}

.header-title span:nth-child(1) {
  font-weight: 500;
  display: block;
}

.header-title span:nth-child(2) {
  color: #698fed;
}

.header-title span:nth-child(2) .username {
  float: left;
  color: #141414;
}

.header .logout-btn {
  color: #141414;
  transition: all .3s;
  cursor: pointer;
}

.header .logout-btn:hover {
  color: #ea222d;
}

.header-bottom {
  border-bottom: 1px solid #e1e6e8;
  text-align: center;
  position: relative;
}

.header-bottom .nav li {
  display: inline-block;
}

.header-bottom .nav>li>a {
  padding: 16px 0 18px;
  margin: 0 22.5px;
  position: relative;
}

.header-bottom .nav>li>a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #698fed;
  width: 0px;
  transition: all .3s;
  display: block;
}

.header-bottom .nav>li>a:hover,
.header-bottom .nav>li>a:focus,
.header-bottom .nav>li>a.active {
  background: transparent;
  color: #698fed;
  transition: all .3s;
}

.header-bottom .nav>li>a:hover::after,
.header-bottom .nav>li>a:focus::after,
.header-bottom .nav>li>a.active::after {
  width: 100%;
}

@media(min-width:768px) {
  .sidebar li {
    display: inline-block;
    border: none;
  }

  .navbar-top-links .dropdown-messages,
  .navbar-top-links .dropdown-tasks,
  .navbar-top-links .dropdown-alerts {
    margin-left: auto;
  }
}

.form-inline .control-label {
  margin-bottom: 5px;
}

/* Buttons */
.btn {
  min-width: 120px;
  transition: all .3s;
}

.panel-body .btn {
  min-width: 80px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.modal-sm {
  width: 450px;
}

.modal-header {
  padding-left: 30px;
  padding-right: 30px;
  height: 54px;
  text-align: center;
}

.modal-header .close {
  float: left;
  font-size: 32px;
  color: #555 !important;
  opacity: 1;
  font-weight: normal;
}

.modal-body {
  padding: 30px;
  padding-top: 20px
}

.form-group:last-child {
  margin-bottom: 0px;
}

.nav-pills>li>a {
  border-radius: 99px;
  padding: 6px 15px;
}

.react-datepicker-wrapper,
.react-datepicker__input-container {
  width: 100%;
}

.tab-content {
  padding: 15px;
  background: #fff;
  border-radius: 4px;
  margin-bottom: 30px;
}

.nav-stacked {
  border-bottom: 0px;
  border-right: 1px solid #ddd;
}

.nav-tabs.nav-stacked>li.active>a,
.nav-tabs.nav-stacked>li.active>a:focus,
.nav-tabs.nav-stacked>li.active>a:hover {
  border-bottom-color: #ddd;
  border-right-color: transparent;
  border-radius: 4px 0px 0 4px;
  margin-right: -1px;
}

.nav-tabs.nat-stacked>li>a:hover {
  border-color: #eee #eee transparent;
  border-radius: 4px 0 0 4px;
  margin-right: 0px;
}

.btn-group .btn {
  min-width: inherit;
}

a.txt-danger {
  color: #d9524e;
}

.react-toggle-track {
  border-radius: 4px
}

.react-toggle-thumb {
  border-radius: 4px;
}

.form-control-static {
  word-wrap: break-word;
}

ul.list-unstyled.list-search {
  border-right: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 0px;
  border-radius: 0 0 4px 4px;
  max-height: 300px;
  overflow-y: scroll;
  position: absolute;
  z-index: 9;
  background-color: #fff;
  width: calc(100% - 30px);
}

.list-search li {
  padding: 8px 15px;
  border-bottom: 1px solid #ccc;
}

.list-search li a {
  width: 100%;
  display: block;
}

.list-search li:last-child {
  border-bottom: 0px solid #ccc;
}

.react-datepicker__time-list {
  padding: 0 !important
}

.Select {
  height: 34px !important
}

label.label-radio {
  font-weight: normal;
  display: block;
}

.label-radio>input {
  margin-right: 12px;
}

.input-other-reason {
  margin-left: 24px;
  width: calc(100% - 24px);
}

.modal-reject-form .modal-footer {
  padding: 0 15px 15px 15px;
  text-align: left;
  border-top: none;
}

.modal-reject-form .modal-header {
  text-align: left;
}

.modal-reject-form .modal-body {
  padding-bottom: 0;
}

.input-group .form-control {
  z-index: initial !important;
}

.form-control {
  height: 38px;
}

.nav-tabs {
  margin-bottom: 0;
}

.tab-content {
  border-right: 1px solid #ddd;
  border-left: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  border-radius: 0 0 4px 4px;
}
label.upload-file {
  width: 100%;
  min-height: 72px;
  background: #efefef;
  display: block;
  border: 2px dashed #ddd;
  border-radius: 4px;
  cursor: pointer;
}
label.upload-file img {
  width: 100%;
}
.preview-image {
  overflow: hidden;
}
.preview-image img {
  width: 100%;
}
button.btn-order {
  background: none;
  border: none;
  color: var(--color-blue80);
}
.panel .react-datepicker__close-icon, .modal .react-datepicker__close-icon {
  position: absolute;
  top: 20px;
}
.panel .react-datepicker__close-icon::after, .modal .react-datepicker__close-icon::after {
  top: 0;
}
#upload-file {
  opacity: 0;
}
