/*
Project Name: T.T. Currency Exchange
Development: Rise+ Technology
File: Components
*/
/* =============
   Pagination
============= */
.pagination {
  margin: 10px 0 0;
  display: flex;
  justify-content: center;
}

/* =============
   Datepicker
============= */
.datepicker-dropdown.dropdown-menu {
  z-index: 1100 !important;
}

/* =============
   Navbar
============= */

.navbar {
  min-height: unset;
}

/* =============
   Flex
============= */

.flex-container {
  display: flex;
  flex-flow: row wrap;
}

.flex-container>div.flex-child-currency {
  width: calc(100% / 7 - 10px) !important;
  margin: 10px 5px -10px;
  text-align: center;
}

.flex-container>div.flex-custom-branch {
  width: calc(100% / 3 - 10px) !important;
  margin: 0px 5px 0px;
  text-align: center;
}

/* =============
   Buttons
============= */
.btn.disabled,
.btn[disabled] {
  opacity: .25;
}

.btn {
  border-radius: 2px;
  padding: 6px 14px;
}

.btn-notification {
  float: right;
  margin: -7px -11px 0 0;
}

.btn-md {
  padding: 8px 18px;
}

.btn-lg {
  padding: 10px 16px !important;
  font-size: 14px;
}

.btn-xl {
  padding: 16px 16px !important;
  font-size: 14px;
}

.btn-sm {
  padding: 5px 10px !important;
}

.btn-xs {
  padding: 1px 5px !important;
}

.btn-exchange-rate-all {
  position: absolute;
  margin-left: 77px;
}

.btn-block {
  width: 100%;
}

.btn-accept-money {
  float: right;
  transform: translateY(-50%)
}

.btn-primary,
.btn-success,
.btn-info,
.btn-danger,
.btn-inverse {
  color: #ffffff !important;
}

.btn-default {
  color: #4f5561;
  background-color: #ECECEC !important;
  border: 1px solid #ECECEC !important;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.btn-default.focus,
.btn-default:active,
.btn-default:focus,
.btn-default:hover {
  background-color: #DEDEDE !important;
  border: 1px solid #DEDEDE !important;
}

.btn-success {
  background-color: #60C521 !important;
  border: 1px solid #60C521 !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.btn-success.focus,
.btn-success:active,
.btn-success:focus,
.btn-success:hover {
  background-color: #4b991a !important;
  border: 1px solid #4b991a !important;
}

.btn-warning {
  background-color: #ffaf1a !important;
  border: 1px solid #ffaf1a !important;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.active,
.btn-warning.focus,
.btn-warning:active,
.btn-warning:focus,
.btn-warning:hover {
  background-color: #FFA600 !important;
  border: 1px solid #FFA600 !important;
}

.btn-danger {
  background-color: #E7604A !important;
  border: 1px solid #E7604A !important;
}

.btn-danger:active,
.btn-danger:focus,
.btn-danger:hover,
.btn-danger.active,
.btn-danger.focus,
.btn-danger:active,
.btn-danger:focus,
.btn-danger:hover {
  background-color: #e0391e !important;
  border: 1px solid #e0391e !important;
}

.btn-inverse {
  background-color: #333A44 !important;
  border: 1px solid #333A44 !important;
}

.btn-inverse:hover,
.btn-inverse:focus,
.btn-inverse:active,
.btn-inverse.active,
.btn-inverse.focus,
.btn-inverse:active,
.btn-inverse:focus,
.btn-inverse:hover {
  background-color: #121518 !important;
  border: 1px solid #121518 !important;
}

.btn-img img {
  width: 26px;
  height: auto;
  position: absolute;
  margin-left: -30px;
  margin-top: -4px;
}

.btn-prompy-pay {
  color: #ffffff !important;
  background-color: #003d6b !important;
}

.btn-alipay {
  color: #ffffff !important;
  background-color: #009FE8 !important;
}

.btn-rate-agency {
  margin-right: -10px;
  top: -53px;
  position: relative;
  background-color: #E6604B;
  height: 45px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-rate-agency img {
  height: 30px;
  margin-left: 20px;
  cursor: pointer;
}

.btn-rate-agency label {
  color: #FFFFFF;
  padding-top: 12px;
  padding-left: 5px;
  cursor: pointer;
}

.btn-rate-agency label p {
  font-weight: normal;
}

.btn-rate-agency:hover,
.btn-rate-agency:active {
  background-color: #e34c35;
  border-color: #e0381f;
  cursor: pointer;
}

.btn-exchange {
  margin-left: -10px;
  top: -53px;
  position: relative;
  background-color: #373f48;
  height: 45px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-exchange img {
  height: 30px;
  margin-left: 20px;
  cursor: pointer;
}

.btn-exchange label {
  color: #FFFFFF;
  padding-top: 12px;
  padding-left: 5px;
  cursor: pointer;
}

.btn-exchange label p {
  font-weight: normal;
}

.btn-exchange:hover,
.btn-exchange:active {
  background-color: #21262c;
  border-color: #21262b;
}

.block-blacklist-detail {
  text-align: center;
  border-radius: 3px;
  background-color: #ffcccc;
  color: #ff0000;
  border: 1px solid #ff0000;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 4px;
}

.block-blacklist {
  text-align: center;
  border-radius: 5px;
  background-color: #ffcccc;
  color: #ff0000;
  border: 1px solid #ff0000;
  float: right;
  font-size: 12px;
  font-weight: bold;
  padding: 1px 4px;
  margin-top: -2px;
}

.block-watch-lish {
  text-align: center;
  border-radius: 5px;
  background-color: #ffffcc;
  color: #999900;
  border: 1px solid #999900;
  float: right;
  font-size: 12px;
  font-weight: bold;
  padding: 1px 4px;
  margin-top: -2px;
}

.block-watch-lish-detail {
  text-align: center;
  border-radius: 3px;
  background-color: #ffffcc;
  color: #999900;
  border: 1px solid #999900;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 4px;
}

.block-etc {
  text-align: center;
  border-radius: 5px;
  background-color: #ccffd9;
  color: #009926;
  border: 1px solid #009926;
  float: right;
  font-size: 12px;
  font-weight: bold;
  padding: 1px 4px;
  margin-top: -2px;
}

.block-etc-detail {
  text-align: center;
  border-radius: 3px;
  background-color: #ccffd9;
  color: #009926;
  border: 1px solid #009926;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 4px;
}


.btn-currency {
  height: 85%;
  width: 100%;
  color: #797979;
  background-color: #FFFFFF;
  padding: 3px 0;
  border: none;
  text-align: center;
  box-shadow: 0px 2px 3px 0.5px rgba(0, 0, 0, 0.4);
  /* box-shadow: 0px 2px 3px 0px rgba(123, 123, 123, 0.3); */
  border-radius: 3px;
  font-size: 11px;
  /* margin-bottom: 10px; */
}

.btn-currency:hover,
.btn-currency:disabled:hover {
  background-color: #f2f2f2;
  color: #797979;
}

.btn-currency:focus,
.btn-currency:active {
  color: #797979;
}

.btn-currency:disabled {
  background-color: #f9f9f9;
  box-shadow: 0px 2px 3px 0px rgba(123, 123, 123, 0.8);
  /* margin-bottom: 10px; */
}

.btn-currency img {
  height: 30px;
}

.btn-setting {
  height: 36px;
  margin-left: 3px;
}

/* ===========
   Flex
 =============*/

.flex {
  display: flex;
  flex-wrap: wrap;
}

.flex>.child {
  flex: 1;
  min-width: 20%;
  padding-right: 5px;
}


/* ===========
   Panels
 =============*/
.panel {
  box-shadow: none;
  margin-bottom: 20px;
}

.panel-group {
  margin-bottom: 10px;
}

.panel-heading {
  /*border: none !important;*/
  border-bottom-color: 1px block;
  padding: 10px;
  /* margin: -2px; */
  /*border-radius: 0px !important;*/
}

.panel-body {
  padding: 5px;
}

.panel-title>a,
.panel-title>small,
.panel-title>.small,
.panel-title>small>a,
.panel-title>.small>a {
  color: inherit;
  text-decoration: none;
}

.panel-danger {
  color: #797979;
  border-color: #e34c35;
}

.panel-danger>.panel-heading {
  color: #FFFFFF;
  background-color: #e34c35;
  border-color: #e34c35;
}

.panel-info {
  color: #797979;
  border-color: #3ac9d6;
}

.panel-info>.panel-heading {
  color: #FFFFFF;
  background-color: #3ac9d6;
  border-color: #3ac9d6;
}

.panel-warning {
  color: #797979;
  border-color: #f9c851;
}

.panel-warning>.panel-heading {
  color: #FFFFFF;
  background-color: #f9c851;
  border-color: #f9c851;
}

.panel-success {
  color: #797979;
  border-color: #4bd396;
}

.panel-success>.panel-heading {
  color: #FFFFFF;
  background-color: #4bd396;
  border-color: #4bd396;
}

/* .panel-default>.panel-heading {
  color: #333;
  background-color: #f5f5f5;
  border-color: #ddd;
} */

.panel-default {
  color: #797979;
  border-color: #e6e6e6;
}

.panel-default>.panel-heading {
  font-weight: bold;
  color: #666666;
  background-color: #e6e6e6;
  border-color: #e6e6e6;
}

.panel-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 14px;
  color: inherit;
}

.panel-title a {
  text-decoration: none;
}

.panel-heading {
  /* padding: 5px 10px; */
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.panel-darkgray {
  color: #ffffff;
  background-color: #4F5561;
}

.panel-group .panel-heading+.panel-collapse>.panel-body,
.panel-group .panel-heading+.panel-collapse>.list-group {
  border-top: none !important;
}

/* ===========
   Widget
 =============*/
.widget-box {
  box-shadow: none;
  margin-bottom: 20px;
}

.widget-wallet-status {
  padding: 10px;
  color: #ffffff;
  background-color: #4F5561;
}

.widget-wallet-status h2 {
  margin: 0px;
}

.widget-wallet-status h2>span.decimal {
  font-size: 20px;
}

.widget-wallet-status h2>span.currency {
  font-size: 20px;
}

.widget-wallet-balance-foreign {
  border-radius: 5px;
  padding: 10px;
  color: #ffffff;
  height: 70px;
  background-color: #4F5561;
}

.widget-wallet-balance {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 10px;
  color: #ffffff;
  height: 80px;
  background-color: #4F5561;
  /*margin-right: -15px;*/
}

.widget-revenue {
  /* border-top-left-radius: 5px;
  border-top-right-radius: 5px; */
  padding: 10px;
  color: #ffffff;
  height: 40px;
  background-color: #4F5561;
  /*margin-right: -15px;*/
}

.widget-branch-total {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 10px;
  color: #ffffff;
  height: 60px;
  margin: 0px -15px 0px 0px;
  background-color: #4F5561;
}

.widget-branch-total-thb {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 10px;
  color: #ffffff;
  height: 60px;
  margin: 0px -25px 0px 10px;
  background-color: #ffaf1a;
}

.widget-default {
  margin-bottom: 10px;
  border-radius: 4px;
  padding: 10px;
  background-color: #F0F0F0;
}

.card-widget {
  padding: 10px;
  border: 1px solid #e3e3e3;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-border-radius: 4px;
  background-clip: padding-box;
  margin-bottom: 20px;
  background-color: #ffffff;
}

.card-widget-total {
  padding: 1px 10px;
  border: 1px solid #e3e3e3;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  background-clip: padding-box;
  margin-bottom: 10px;
  background-color: #ffffff;
}

.card-widget-headquarter {
  padding: 10px 6px 10px;
  border: 1px solid #f2f2f2;
  box-shadow: 0px 2px 3px 0px rgba(123, 123, 123, 0.3);
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-border-radius: 4px;
  background-clip: padding-box;
  margin-bottom: 20px;
  background-color: #ffffff;
}

.card-widget-headquarter.left {
  margin: 8px 0px 0px 8px;
}

.card-widget-headquarter.right {
  margin: 8px 8px 0px 0px;
}

.card-widget-headquarter:hover {
  box-shadow: inset 0 0 4px #E3E3E3;
}

.card-widget-staff {
  padding: 10px;
  border: 1px solid #f2f2f2;
  box-shadow: 0px 2px 3px 0px rgba(123, 123, 123, 0.3);
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-border-radius: 4px;
  background-clip: padding-box;
  margin-bottom: 20px;
  background-color: #ffffff;
}

.card-widget-staff:hover {
  box-shadow: inset 0 0 4px #E3E3E3;
}

.card-widget-total div h5 {
  color: #595959;
}

.card-widget-staff-information {
  padding: 10px;
  border: 2px solid #f2f2f2;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-border-radius: 4px;
  background-clip: padding-box;
  /*margin-bottom: 20px;*/
  background-color: #ffffff;
}

.card-widget-hq {
  background-clip: padding-box;
  /*  height: -webkit-calc(100vh - 850px);
  height: -moz-calc(100vh - 850px);
  height: calc(100vh - 850px);*/
  height: 95px;
  top: -57px;
  position: relative;
  border-radius: 5px;
  background-color: #ffffff;
}

.card-widget-hq-detail {
  background-clip: padding-box;
  /*  height: -webkit-calc(100vh - 850px);
  height: -moz-calc(100vh - 850px);
  height: calc(100vh - 850px);*/
  height: 95px;
  /*top: -57px;*/
  position: relative;
  border-radius: 5px;
  background-color: #ffffff;
}

.card-widget-hq .column-float {
  float: left;
  /*margin-right: 20px;*/
}



/* ===========
   Form and Input
 =============*/
.form-control {
  border: 1px solid #bfbfbf;
  border-radius: 3px;
  padding: 7px 12px;
  height: 38px;
  max-width: 100%;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: all 300ms linear;
  -moz-transition: all 300ms linear;
  -o-transition: all 300ms linear;
  -ms-transition: all 300ms linear;
  transition: all 300ms linear;
}

.form-control:focus {
  border: 1px solid #7d7d7d;
  box-shadow: inset 0 0 1px #636363 !important;
  -webkit-box-shadow: none;
  /* box-shadow: none; */
  outline: 0 !important;
}

.input-lg {
  height: 46px;
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
  border-radius: 3px;
}

.input-sm {
  height: 30px;
  padding: 5px 10px;
  font-size: 1.4rem;
  line-height: 1.5;
  border-radius: 3px;
}

.input-custom-branch {
  width: fit-content;
  border: none;
  max-width: 250px;
  background: unset;
  padding: 5px;
  cursor: pointer;
}

.input-custom-branch:active,
.input-custom-branch:focus {
  background: white;
}

/* ===========
   Text
 =============*/
.text-muted {
  color: #98a6ad !important;
}

.text-yellow-primary {
  color: #fbcb05 !important;
}

.text-orange {
  color: #FFA600 !important;
}

.text-white {
  color: #FFFFFF !important;
}

/* ===========
   Table
 =============*/

.table-borderless td,
.table-borderless th {
  border: none !important;
}

.table-no-wrap {
  white-space: nowrap;
}

.table>thead>tr>th {
  vertical-align: middle;
}

.table>tbody>tr>td {
  /* vertical-align: middle; */
}

/* Table colored */
.table-colored thead th {
  color: #ffffff;
}

.table-colored.table-default thead th {
  background-color: #f0f0f0;
  color: #797979;
}

table.table thead th.table-color-success {
  background-color: #60C521;
  color: #FFFFFF;
}

table.table thead th.table-color-danger {
  background-color: #e0391e;
  color: #FFFFFF;
}


table.table thead th.table-color-danger a,
table.table thead th.table-color-success a {
  color: unset;
}


table#itemListTransactionsAgentSell tbody tr td {
  font-size: 12px;
}

.table-risk-overall thead th {
  background-color: #f0f0f0;
  color: #797979;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  border-top: 1px solid #ddd !important;
  border: 1px solid #ddd;
}

.table-risk-overall tbody td {
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #ddd;
}

.table-risk-customer thead th {
  background-color: #f0f0f0;
  color: #797979;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  border-top: 1px solid #ddd !important;
  border: 1px solid #ddd;
}

.table-risk-customer tbody td {
  padding: 5px !important;
  font-size: 13px;
  font-weight: normal;
  vertical-align: middle !important;
  border: 1px solid #ddd;
}

tbody.vertical-middle tr td {
  vertical-align: middle;
}


/* AUTOCOMPLETE */
.autocomplete-suggestions {
  border: 1px solid #f9f9f9;
  background: #ffffff;
  cursor: default;
  overflow: auto;
  -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
}

.autocomplete-suggestion {
  padding: 2px 5px;
  white-space: nowrap;
  overflow: hidden;
}

.autocomplete-no-suggestion {
  padding: 2px 5px;
}

.autocomplete-selected {
  background: rgba(152, 166, 173, 0.3);
  cursor: pointer;
}

.autocomplete-suggestions strong {
  font-weight: bold;
  color: #313a46;
}

.autocomplete-group {
  padding: 2px 5px;
}

.autocomplete-group strong {
  font-weight: bold;
  font-size: 16px;
  color: #313a46;
  display: block;
}

/* =============
   Modals
============= */
.modal .modal-dialog .modal-content {
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  border-color: #DDDDDD;
  border-radius: 2px;
  box-shadow: none;
  padding: 10px;
}

.modal .modal-dialog .modal-content .modal-header {
  border-bottom-width: 0px;
  margin: 0;
  padding: 0;
  /*padding-bottom: 15px;*/
}

.modal .modal-dialog .modal-content .modal-body {
  padding: 0;
}

.modal .modal-dialog .modal-content .modal-footer {
  padding: 0;
  padding-top: 15px;
}

.modal-full {
  width: 98%;
}

.modal-content .nav.nav-tabs+.tab-content {
  margin-bottom: 0;
}

.modal-content .panel-group {
  margin-bottom: 0;
}

.modal-content .panel {
  border-top: none;
}

/* Custom-modal */
.modal-demo {
  background-color: #ffffff;
  width: 600px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-border-radius: 4px;
  background-clip: padding-box;
  display: none;
}

.modal-demo .close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #eeeeee;
}

.custom-modal-title {
  padding: 15px 25px 15px 25px;
  line-height: 22px;
  font-size: 18px;
  background-color: #313a46;
  color: #ffffff;
  text-align: left;
  margin: 0;
}

.custom-modal-text {
  padding: 20px;
}

.custombox-modal-flash .close,
.custombox-modal-rotatedown .close {
  top: 20px;
  z-index: 9999;
}

.modal-success {
  padding-top: -10px;
  border-top: 5px solid #60C521 !important;
}

.modal-warning {
  border-top: 5px solid #FBCB05 !important;
}

/* =============
   Checkbox
============= */
.checkbox {
  padding-left: 20px;
}

.checkbox label {
  font-size: 14px;
  display: inline-block;
  padding-left: 5px;
  position: relative;
  cursor: pointer;
  padding-top: 2px;
  /*font-family: 'Varela Round', sans-serif;*/
  font-weight: normal;
}

.checkbox label.select-currency {
  font-size: 14px;
  display: inline-block;
  padding-left: 5px;
  position: relative;
  cursor: pointer;
  padding-top: 2px;
  /*font-family: 'Varela Round', sans-serif;*/
  font-weight: normal;
}

.checkbox label.select-all {
  font-size: 12px;
  display: inline-block;
  padding-left: 5px;
  position: relative;
  cursor: pointer;
  padding-top: 2px;
  /*font-family: 'Varela Round', sans-serif;*/
  font-weight: normal;
}

.checkbox label::before {
  -o-transition: 0.3s ease-in-out;
  -webkit-transition: 0.3s ease-in-out;
  background-color: #ffffff;
  border-radius: 2px;
  border: 1px solid #dadada;
  content: "";
  display: inline-block;
  height: 17px;
  left: 0;
  margin-left: -20px;
  position: absolute;
  transition: 0.3s ease-in-out;
  width: 17px;
  outline: none !important;
  /*margin-top: 2px;*/
}

.checkbox label::after {
  color: #797979;
  display: inline-block;
  font-size: 11px;
  height: 16px;
  left: 0;
  margin-left: -20px;
  padding-left: 3.5px;
  padding-top: 1px;
  position: absolute;
  top: 2px;
  width: 16px;
}

.checkbox input[type="checkbox"] {
  cursor: pointer;
  opacity: 0;
  z-index: 1;
  outline: none !important;
  height: 17px;
  width: 17px;
  margin-top: 1px;
}

.checkbox input[type="checkbox"]:disabled+label {
  opacity: 0.65;
}

.checkbox input[type="checkbox"]:focus+label::before {
  outline-offset: -2px;
  outline: none;
}

.checkbox input[type="checkbox"]:checked+label::after {
  content: "\F12C";
  font-family: 'Material Design Icons';
  font-weight: bold;
}

.checkbox input[type="checkbox"]:disabled+label::before {
  background-color: #eeeeee;
  cursor: not-allowed;
}

.checkbox-success input[type="checkbox"]:checked+label::before {
  background-color: #60C521;
  border-color: #60C521;
}

.checkbox-success input[type="checkbox"]:checked+label::after {
  color: #ffffff;
}

.checkbox-select-all input[type="checkbox"]:checked+label::before {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
}

.checkbox-select-all input[type="checkbox"]:checked+label::after {
  color: #005B7F;
}

.checkbox-select-choice input[type="checkbox"]:checked+label::before {
  background-color: #005B7F;
  border-color: #005B7F;
}

.checkbox-select-choice input[type="checkbox"]:checked+label::after {
  color: #FFFFFF;
}

.checkbox.checkbox-single {
  height: 17px;
}

.checkbox.checkbox-single label {
  height: 17px;
  padding: 0px;
}

.checkbox.checkbox-single label::before {
  margin-top: 0px;
}

.checkbox.checkbox-single input[type="checkbox"] {
  height: 17px;
  width: 17px;
  margin-top: 0px;
}

.checkbox.checkbox-single label::after {
  color: #797979;
  display: inline-block;
  font-size: 11px;
  height: 17px;
  left: 0;
  margin-left: -20px;
  padding-left: 3px;
  padding-top: 1px;
  position: absolute;
  top: 0px;
  width: 17px;
}

.checkbox-report input[type="checkbox"] {
  cursor: pointer;
  opacity: 0;
  z-index: 1;
  outline: none !important;
  height: 20px;
  width: 20px;
  margin: 0;
}

.checkbox-report input[type="checkbox"]+label {
  display: inline-block;
}

.checkbox-report input[type="checkbox"]:checked {
  background-color: #FFFFFF;
  color: #FFFFFF;
}


/* ===========
   Nav
 =============*/
.nav-tabs {
  border-bottom: none;
}

.nav>li>a:hover,
.nav>li>a:focus {
  text-decoration: none;
  /* background-color: unset; */
}

.nav-bar-setiing-custom>li>a:hover,
.nav-bar-setiing-custom>li>a:focus {
  text-decoration: none;
  background-color: unset;
}

.tab-content {
  padding: 0px 0 0 0;
}

.tab-content .tab-border {
  /* height: 463px; */
  padding: 10px;
  border: 1px solid #f3f3f3;
}

.tab-content .tab-border-wizard {
  height: 560px;
  padding: 10px;
  border: 1px solid #f3f3f3;
}

.tab-content .tab-border-withdraw {
  /* height: 485px; */
  padding: 10px;
  border: 1px solid #f3f3f3;
}

.tab-content .tab-border-confirm-transaction {
  /* height: 470px; */
  min-width: 563px;
  padding: 10px;
  border: 1px solid #f3f3f3;
}


.tab-content .tab-border-withdraw-without-branch {
  /* height: 400px; */
  padding: 10px;
  border: 1px solid #f3f3f3;
}

.tab-content .tab-border-height-auto {
  /* max-height: 512px; */
  padding: 10px;
  border: 1px solid #f3f3f3;
}

.tab-content .tab-border-customer {
  /* height: 650px; */
  padding: 10px;
  border: 1px solid #f3f3f3;
}

.tab-content .tab-border-height-amount {
  height: 250px;
  padding: 10px;
  border: 1px solid #f3f3f3;
}

.tab-content .tab-border-height-amount-total {
  height: 253px;
  padding: 10px;
  border: 1px solid #f3f3f3;
}

.tab-content {
  padding: 0px 0 0 0;
}

.tab-border-balance {
  padding: 10px;
  border: 1px solid #f3f3f3;
  height: calc(100vh - 215px);
}

.tab-border-status {
  padding: 5px 20px 20px 20px;
  border: 1px solid #f3f3f3;
  height: calc(100vh - 247px);
}

.tab-border-hq-detail {
  padding: 10px;
  border: 1px solid #f3f3f3;
  height: calc(100vh - 275px);
}

.tab-border-hq-accept {
  padding: 10px;
  border: 1px solid #f3f3f3;
  height: calc(100vh - 278px);
}

.tab-border-staff {
  padding: 10px 15px 10px 10px;
  border: 1px solid #f3f3f3;
  height: calc(100vh - 215px);
}

.tab-border-report {
  padding: 15px;
  border: 1px solid #f3f3f3;
  height: calc(100vh - 190px);
}

.nav-tabs>li>a {
  color: #313a46;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}

.nav-tabs>li>a:hover {
  background-color: rgba(152, 166, 173, 0.1);
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a:hover {
  color: #ffffff;
  background-color: #333A44;
  border-color: #333A44;
}

.nav-tab-wizard>li {
  float: left;
  margin-bottom: -1px;
  width: 130px;
}

.nav-tab-wizard>li>a {
  color: #cccccc;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  border-bottom: 4px solid #cccccc;
  padding-left: 0;
  margin-right: 5px;
}

.nav-tab-wizard>li>a:hover {
  cursor: default;
  /* color: #999999; */
  /* border-bottom: 4px solid #999999; */
  background-color: unset;
  /* background-color: rgba(152, 166, 173, 0.1); */
}

.nav-tab-wizard>li.active>a,
.nav-tab-wizard>li.active>a:focus,
.nav-tab-wizard>li.active>a:active {
  color: #737373;
  background-color: unset;
  border-bottom: 4px solid #737373;
  padding-left: 0;
}

.nav-tab-button-warning-vertical>li,
.nav-tab-button-success-vertical>li,
.nav-tab-button-black-vertical>li {
  width: 49%;
}

.nav-tab-button-warning>li,
.nav-tab-button-success>li,
.nav-tab-button-black>li {
  float: left;
  margin-bottom: -1px;
  width: 49%;
}

.nav-tab-button-warning>li:first-child,
.nav-tab-button-success>li:first-child,
.nav-tab-button-black>li:first-child {
  margin-right: 10px;
}

.nav-tab-button-warning-vertical>li:last-child,
.nav-tab-button-success-vertical>li:last-child,
.nav-tab-button-black-vertical>li:last-child {
  margin-top: 10px;
}

.nav-tab-button-warning>li>a>span,
.nav-tab-button-success>li>a>span,
.nav-tab-button-black>li>a>span,
.nav-tab-button-warning-vertical>li>a>span,
.nav-tab-button-success-vertical>li>a>span,
.nav-tab-button-black-vertical>li>a>span {
  position: relative;
  top: 36%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  transform: translateX(13%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  transform: translateY(-50%);
}

.nav-tab-button-warning>li>a,
.nav-tab-button-success>li>a,
.nav-tab-button-black>li>a,
.nav-tab-button-warning-vertical>li>a,
.nav-tab-button-success-vertical>li>a,
.nav-tab-button-black-vertical>li>a {
  height: 86px;
  color: #cccccc;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: normal;
  background-color: unset;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #f9f9f9;
}

.nav-tab-button-warning>li>a:hover,
.nav-tab-button-success>li>a:hover,
.nav-tab-button-black>li>a:hover,
.nav-tab-button-warning-vertical>li>a:hover,
.nav-tab-button-success-vertical>li>a:hover,
.nav-tab-button-black-vertical>li>a:hover {
  color: #999999;
  background-color: unset;
  border: 1px solid #FBCB05;
  -webkit-box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.1);
}

.nav-tab-button-warning>li.active>a,
.nav-tab-button-warning>li.active>a:focus,
.nav-tab-button-warning>li.active>a:hover,
.nav-tab-button-warning-vertical>li.active>a,
.nav-tab-button-warning-vertical>li.active>a:focus,
.nav-tab-button-warning-vertical>li.active>a:hover {
  color: #FFFFFF;
  background-color: #FBCB05;
  border: 1px solid #FBCB05;
}

.nav-tab-button-success>li>a:hover,
.nav-tab-button-success-vertical>li>a:hover {
  border: 1px solid #60C521;
}

.nav-tab-button-success>li.active>a,
.nav-tab-button-success>li.active>a:focus,
.nav-tab-button-success>li.active>a:hover,
.nav-tab-button-success-vertical>li.active>a,
.nav-tab-button-success-vertical>li.active>a:focus,
.nav-tab-button-success-vertical>li.active>a:hover {
  color: #FFFFFF;
  background-color: #60C521;
  border: 1px solid #60C521;
}

.nav-tab-button-black>li>a:hover,
.nav-tab-button-black-vertical>li>a:hover {
  border: 1px solid #333A44;
}

.nav-tab-button-black>li.active>a,
.nav-tab-button-black>li.active>a:focus,
.nav-tab-button-black>li.active>a:hover,
.nav-tab-button-black-vertical>li.active>a,
.nav-tab-button-black-vertical>li.active>a:focus,
.nav-tab-button-black-vertical>li.active>a:hover {
  color: #FFFFFF;
  background-color: #333A44;
  border: 1px solid #333A44;
}

.nav-tab-cash-short-over>li {
  float: left;
  margin-bottom: -1px;
  width: 49%;
}

.nav-tab-cash-short-over>li:first-child {
  margin-right: 10px;
}

.nav-tab-cash-short-over>li>a {
  height: 70px;
  color: #cccccc;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: normal;
  background-color: unset;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #CCCCCC;
}

.nav-tab-cash-short-over>li>a>span {
  position: relative;
  top: 30%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  transform: translateX(13%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  transform: translateY(-50%);
}

.nav-tab-cash-short-over>li:first-child.active>a,
.nav-tab-cash-short-over>li:first-child.active>a:focus,
.nav-tab-cash-short-over>li:first-child.active>a:hover {
  color: #FFFFFF;
  background-color: #EF5358;
  border: 1px solid #EF5358;
}

.nav-tab-cash-short-over>li:last-child.active>a,
.nav-tab-cash-short-over>li:last-child.active>a:focus,
.nav-tab-cash-short-over>li:last-child.active>a:hover {
  color: #FFFFFF;
  background-color: #60C521;
  border: 1px solid #60C521;
}

.icon-wizard {
  display: grid;
}

.next-wizard {
  float: right;
  font-size: 20px;
  margin-top: -28px;
}

.head-table-black {
  background-color: #333A44;
}

.head-table-blue {
  background-color: #83DDFE;
}

.head-gradient-orange {
  background-color: red;
  /* For browsers that do not support gradients */
  background-image: linear-gradient(#fbcb05, #fc6c32);
  /* Standard syntax (must be last) */
}

.body-table-color-1 {
  background-color: #292A2B60;
  /* height: 50px !important; */

}

.body-table-color-1 label {
  position: relative !important;
}

.body-table-color-2 {
  background-color: #0F1F0760;
}

.body-table-color-2 label {
  position: relative;
}


.body-table-color-3 {
  background-color: #2A1E0660;
}

.body-table-color-3 label {
  position: relative;
}


.head-gradient-orange tr th {
  color: #000000 !important;
}


.head-table-orange {
  background-color: #FFA600;
}

.head-table-yellow {
  background-color: #FBCB05;
}

.head-table-hard-blue {
  background-color: #00BAFF;
}

.head-table-gray-soft {
  background-color: #f8f8f8;
}

.head-table-gray-strong {
  background-color: #676f7e;
}

.body-table-gray-strong {
  background-color: #E9E9E9;
}

.body-table-gray-soft {
  background-color: #f8f8f8;
}

.gray-soft {
  background-color: #F9F9F9;
}

.table.border-none tr th {
  border: none !important;
}

.table.border-none tbody tr td {
  border: none !important;
}

.table.border-white tr th {
  border: 1px solid #FFFFFF;
  border-bottom: none;
  /*border-bottom-color: #FFFFFF;*/
}

.table.border-gray tr th {
  border: 1px solid #dddddd;
  border-bottom: none;
  /*border-bottom-color: #FFFFFF;*/
}

.table>tbody+tbody {
  border: none !important;
}

.table.border-white tr td {
  border: 1px solid #FFFFFF;
  /*  border-bottom: none;*/
  /*border-bottom-color: #FFFFFF;*/
}

.table.border-gray tr td {
  border: 1px solid #dddddd;
  /*  border-bottom: none;*/
  /*border-bottom-color: #FFFFFF;*/
}

.table.border-bottom-white tr td {
  border-bottom: 2px solid #FFFFFF;
  border-top: none;
  /*border-bottom-color: #FFFFFF;*/
}

.table.border-bottom-gray tbody tr td {
  padding-bottom: 5px;
  border-bottom: 1px solid #E9E9E9;
  border-top: none;
  /*border-bottom-color: #FFFFFF;*/
}

.table.border-top-gray tbody tr:first-child td,
table.border-top-gray>thead>tr>th {
  border: none;
}

.table.border-top-gray tbody tr td {
  border-top: 1px solid #E9E9E9;
  border-bottom: none;
  /*border-bottom-color: #FFFFFF;*/
}

.table tr td.alert-list-text {
  text-align: center;
  vertical-align: middle;
}

/* .table-fixed thead {
  width: 97%;
} */

.table-fixed tbody {
  display: block;
  height: 200px;
  overflow: auto;
}

.table-fixed thead {
  width: calc(100% - 1em)
}

.table-fixed thead,
.table-fixed tbody,
.table-fixed tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

/* .table-fixed tr:after {
  content: "";
  display: block;
  visibility: hidden;
  clear: both;
}

.table-fixed tbody td,
.table-fixed thead>tr>th {
  float: left;
} */

/* #scollbar-slim {
  visibility: hidden;
} */

/* #scollbar-slim::-webkit-scrollbar-track:hover,
#scollbar-slim::-webkit-scrollbar-track:focus,
#scollbar-slim::-webkit-scrollbar:hover,
#scollbar-slim::-webkit-scrollbar:focus,
#scollbar-slim::-webkit-scrollbar-thumb:hover,
#scollbar-slim::-webkit-scrollbar-thumb:focus {
  visibility: visible;
  transition: visibility 0.2s;
  transition: visibility 0s 0.2s;
} */

#scollbar-slim::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #e6e6e6;
}

#scollbar-slim::-webkit-scrollbar {
  border-radius: 10px;
  width: 5px;
  height: 6px;
}

#scollbar-slim::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #929292;
}


#scollbar-slim-summary {
  margin-top: 1px;
}

#scollbar-slim-summary::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  /*width: 7px;*/
  background-color: #FFFFFF;
}

#scollbar-slim-summary::-webkit-scrollbar {
  border-radius: 10px;
  width: 7px;
  height: 7px;
  background-color: #FFFFFF;
}

#scollbar-slim-summary::-webkit-scrollbar-thumb {
  border-radius: 10px;
  /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);*/
  background-color: #40CCFF;
}

#scollbar-slim-summary::-webkit-scrollbar-thumb:hover,
#scollbar-slim-summary::-webkit-scrollbar-thumb:active {
  cursor: pointer;
  background-color: #1ac2ff;
}

.currency-title {
  padding-left: 1px;
}

p.anime-text-pending {
  color: #FBCB05;
  -webkit-animation-name: example;
  /* Chrome, Safari, Opera */
  -webkit-animation-duration: 5s;
  /* Chrome, Safari, Opera */
  animation-name: example;
  animation-duration: 5s;
  animation-iteration-count: infinite;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes example {
  0% {
    color: #FBCB05;
  }

  25% {
    color: #e2b603;
  }

  50% {
    color: #c9a103;
  }

  75% {
    color: #e2b603;
  }

  100% {
    color: #FBCB05;
  }
}

/* Standard syntax */
@keyframes example {
  0% {
    color: #FBCB05;
  }

  25% {
    color: #e2b603;
  }

  50% {
    color: #c9a103;
  }

  75% {
    color: #e2b603;
  }

  100% {
    color: #FBCB05;
  }
}

.modal-height-divide {
  max-height: 345px;
  height: 345px;
  overflow-y: auto;
}

#set-icon {
  padding-right: 5px;
}

.btn-menu {
  background-color: #FACA18;
  color: #000000;
  height: 80px;
  border-radius: 5px;
  text-align: center;
  padding-top: 15px;
}

.btn-menu p {
  font-size: 35px;
}

.btn-menu:hover {
  cursor: pointer;
  background-color: #fac505;
}

.badge-notify {
  background: red;
  position: fixed;
  margin: -5px 0 0 -15px;
}

.error-amount-banknote,
.error-amount-banknote:hover {
  position: absolute;
  text-decoration: none !important;
  color: red !important;
  cursor: default;
  margin-top: -4px;
  font-size: 10px !important;
}

.error-amount-banknote-modal,
.error-amount-banknote-modal:hover {
  text-decoration: none !important;
  color: red;
  cursor: default;
}

ul.dropdown-setting-branch-group {
  list-style-type: none;
  position: absolute;
  z-index: 1000;
}

ul.dropdown-setting-branch-group li {
  border: 1px solid #e6e6e6;
  width: 150px;
  padding: 10px;
  background-color: #FFFFFF;
}

ul.dropdown-setting-branch-group li a {
  text-decoration: none;
  color: #797979;
}

ul.dropdown-setting-branch-group li:hover {
  background-color: #f9f9f9;
}

.dropdownContainer {
  position: relative;
  left: 50%;
}

.dropdown-toggle {
  cursor: pointer;
  color: #FFFFFF;
}

.dropdown-toggle:hover {
  cursor: pointer;
  color: #cccccc;
}

.dropdown p.dropdown-setting-custom {
  margin: 0 !important;
}

.dropdown .dropdown-setting-custom-menu {
  min-width: unset;
  margin: -8px -69px 0;
}

ul.dropdown {
  background-color: #FFFFFF;
  display: none;
  position: absolute;
  top: 100%;
  left: -206px;
  width: 350px;
  max-height: 350px;
  overflow-y: auto;
  padding: 0;
  border: 1px solid #e6e6e6;
  border-radius: 0 0 .2em .2em;
  box-shadow: 0 1px 1px rgba(50, 50, 50, 0.1);

}

.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus,
.dropdown-setting-custom>li>a:hover,
.dropdown-setting-custom>li>a:focus {
  color: #262626;
  text-decoration: none;
  background-color: #f2f2f2;
}

/* up arrow*/
/* ul.dropdown:before {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  bottom: 100%;
  right: 8px;
  border-width: 0 12px 12px 12px;
  border-style: solid;
  border-color: #e6e6e6 transparent;
} */

ul.dropdown:after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  bottom: 100%;
  right: 12px;
  border-width: 0 9px 10px 8px;
  border-style: solid;
  border-color: #FFFFFF transparent;
}

ul.dropdown li {
  /* padding: 4px 0 0 0; */
  /* height: 45px; */
  list-style-type: none;
  /* border-top: 1px solid #f2f2f2; */
}

ul.dropdown li.list-customer {
  padding: 4px 0 0 0;
  height: 45px;
  list-style-type: none;
  border-top: 1px solid #f2f2f2;
}

ul.dropdown li:hover {
  /* background-color: #eee; */
  cursor: default;
}

ul.dropdown li:first-child {
  list-style-type: none;
  border-top: none;
}

ul.dropdown li a {
  cursor: pointer;
  text-decoration: none;
  padding: .5em 1em;
  display: block;
  color: #797979;
  font-size: 13px;
  /* font-weight: bold; */
}

ul.dropdownStaff li.item:hover {
  background-color: #f3f3f3;
}

ul.dropdown-setting-custom li.item:hover {
  background-color: #f3f3f3;
}

/*View All Notification*/
/* ul.dropdown .fa-list {
  font-size: 15px;
  padding: 5px;
  color: rgba(115, 187, 22, 1);
  border: 2px solid rgba(115, 187, 22, 1);
  border-radius: 100%;
} */

/* ul.dropdown li:last-child {
  text-align: center;
  padding: 10px;
} */

ul.dropdownCustomers {
  left: 0 !important;
  z-index: 1100;
  width: -webkit-fill-available !important;
  border: none !important;
  -webkit-box-shadow: -4px 4px 21px -1px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: -4px 4px 21px -1px rgba(0, 0, 0, 0.75);
  box-shadow: -1px 7px 12px -6px rgba(0, 0, 0, 0.75);


}

ul.dropdownCustomers:after {
  content: none !important;
}

ul.dropdownCustomers li.list-customer:hover {
  background-color: #F3F3F3;
  cursor: pointer;
}

textarea.comment {
  resize: none;
}

textarea.descriptions {
  resize: none;
  height: 164px !important;

}

textarea.descriptions {
  resize: none;
  width: 350px;
  font-size: 12px;
  margin: 0px 0 -8px 0;
}

.body-right-agent-sell-transactions {
  height: calc(100vh - 185px);
}

.body-detail-transaction::-webkit-scrollbar,
.body-detail-transaction-agent::-webkit-scrollbar,
.body-detail-curency::-webkit-scrollbar,
.body-navbar::-webkit-scrollbar {
  -webkit-appearance: none;
}

.body-detail-transaction::-webkit-scrollbar:vertical,
.body-detail-transaction-agent::-webkit-scrollbar:vertical,
.body-detail-currency::-webkit-scrollbar:vertical,
.body-detail-request-notifications::-webkit-scrollbar:vertical,
.body-navbar::-webkit-scrollbar:vertical {
  width: 5px;
}

.body-detail-transaction::-webkit-scrollbar:horizontal,
.body-detail-transaction-agent::-webkit-scrollbar:horizontal,
.body-detail-currency::-webkit-scrollbar:horizontal,
.body-detail-request-notifications::-webkit-scrollbar:horizontal,
.body-navbar::-webkit-scrollbar:horizontal {
  height: 5px;
}

.body-detail-transaction::-webkit-scrollbar-thumb,
.body-detail-transaction-agent::-webkit-scrollbar-thumb,
.body-detail-currency::-webkit-scrollbar-thumb,
.body-detail-request-notifications::-webkit-scrollbar-thumb,
.body-navbar::-webkit-scrollbar-thumb {
  background-color: #929292;
  border-radius: 10px;
  border: 1px solid #929292;
}

.body-detail-transaction::-webkit-scrollbar-track,
.body-detail-transaction-agent::-webkit-scrollbar-track,
.body-detail-currency::-webkit-scrollbar-track,
.body-detail-request-notifications::-webkit-scrollbar-track,
.body-navbar::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #FFFFFF;
}

.body-navbar table>thead>tr>th {
  vertical-align: middle !important;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  font-size: 11px;
  text-align: center;
  background-color: #FFFFFF;
  font-weight: 500;
}

.body-navbar {
  height: calc(100vh - 780px);
  overflow-y: auto;
}

.body-slidebar {
  max-height: calc(100vh - 465px);
  overflow-y: auto;
}

.body-detail-transaction table>thead>tr>th,
.body-detail-request-notifications table>thead>tr>th {
  vertical-align: middle !important;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  /* z-index: 1000 !important; */
  font-size: 14px;
  text-align: center;
  padding: 8px 5px !important;
  background-color: #83DDFE;
  font-weight: unset;
}


.body-detail-currency table>thead>tr>th {
  min-width: 110px;
  vertical-align: middle !important;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  /* z-index: 1000 !important; */
  font-size: 14px;
  text-align: center;
  padding: 8px 5px !important;
  background-color: #83DDFE !important;
  font-weight: bold;
  color: #4e5660;
}

.body-detail-currency table>thead>tr>th:nth-child(1),
.body-detail-currency table>tbody>tr>td:nth-child(1) {
  position: sticky;
  left: -1px;
  z-index: 999;
  background-color: #FFFFFF;
}

.body-detail-currency table>thead>tr>th:nth-child(2),
.body-detail-currency table>tbody>tr>td:nth-child(2) {
  position: sticky;
  left: 105px;
  z-index: 999;
  background-color: #FFFFFF;
}

.body-detail-currency table>thead>tr>th:nth-child(3),
.body-detail-currency table>tbody>tr>td:nth-child(3) {
  position: sticky;
  left: 210px;
  z-index: 999;
  background-color: #FFFFFF;
}

.body-detail-currency table>thead>tr>th:nth-child(1),
.body-detail-currency table>thead>tr>th:nth-child(2),
.body-detail-currency table>thead>tr>th:nth-child(3) {
  z-index: 1001;
}

.body-detail-currency table>thead>tr>th,
.body-detail-currency table>tbody>tr>td {
  border: 1px solid #999999;
}

.body-detail-request-notifications table>thead>tr>th {
  background-color: #f1f1f1;
  color: #797979;
  border: none;
}

.body-detail-request-notifications table>tbody>tr>td {
  vertical-align: middle;
  background-color: #f8f8f8;
}

.body-detail-transaction table>thead>tr>th,
.body-detail-transaction-agent table>thead>tr>th,
.detail-agent-sell table>thead>tr>th,
.detail-agent-sell-pending table>thead>tr>th,
.body-balance-thb table>thead>tr>th,
.body-balance-fx table>thead>tr>th,
.body-currency-sell table>thead>tr>th,
.body-supply table>thead>tr>th,
.table-agent-sell table>thead>tr>th,
.table-fixed-head table>thead>tr>th {
  vertical-align: middle !important;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 1000;
  font-size: 14px;
  text-align: center;
  padding: 8px 5px !important;
  font-weight: unset;
  border: none;
}

.body-currency-sell table>thead>tr>th.headcol,
.body-currency-sell table>tbody>tr>td.headcol {
  position: sticky;
  left: -1px;
  z-index: 1001;
  background-color: #FFFFFF;
  border: 1px solid #999999;
}

.body-currency-sell table>thead>tr>th.headcol {
  background-color: #333A44;
}

table.table-color-black>thead>tr>th {
  color: #FFFFFF;
  background-color: #4F5561;
}

table.table-color-white>thead>tr>th {
  color: #797979;
  background-color: #FFFFFF;
}

table.table-color-info>thead>tr>th {
  color: #FFFFFF;
  background-color: #83DDFE;
}

.body-height-exchange-rate {
  height: -webkit-calc(100vh - 275px);
  height: -moz-calc(100vh - 275px);
  height: calc(100vh - 275px);
  overflow-y: auto;
  font-size: 1.4rem;
}

.body-height-history-rate {
  height: -webkit-calc(100vh - 295px);
  height: -moz-calc(100vh - 295px);
  height: calc(100vh - 295px);
  overflow-y: auto;
  font-size: 1.4rem;
}

.body-height-lg {
  height: calc(100vh - 270px);
  overflow-y: auto;
  font-size: 1.4rem;
}

.body-height-mmd {
  height: calc(100vh - 310px);
  overflow-y: auto;
  font-size: 1.4rem;
}

.body-height-md {
  height: calc(100vh - 372px);
  overflow-y: auto;
  font-size: 1.4rem;
}

.body-height-sm {
  height: calc(100vh - 380px);
  overflow-y: auto;
  font-size: 1.4rem;
}

.body-height-custom-rate {
  max-height: calc(100vh - 380px);
  overflow-y: auto;
  font-size: 1.4rem;
}

.table-agent-sell table>thead>tr>th,
.body-currency-sell table>thead>tr>th,
.detail-agent-sell table>thead>tr>th,
.body-balance-thb table>thead>tr>th,
.detail-agent-sell-pending table>thead>tr>th {
  font-size: 12px;
}

.body-balance-fx table>thead>tr>th {
  color: #FFFFFF;
  background-color: #83DDFE;
}

.body-balance-thb table>thead>tr>th {
  color: #797979;
  background-color: #FFFFFF;
}

.body-currency-sell table>thead>tr>th {
  background-color: #333A44;
  border: 1px solid #999999;
}

/* .detail-agent-sell table>thead>tr>th,
.detail-agent-sell-pending table>thead>tr>th {
  background-color: #83DDFE;
} */

.table-agent-sell table>thead>tr>th {
  background-color: #f0f0f0;
  color: #797979;
  font-weight: bold;
}

.body-balance-thb table>tbody>tr>td {
  color: #797979;
  background-color: #FFFFFF;
  border: none;
  padding: 0 6px 3px 3px;
}

.body-currency-sell table>tbody>tr>td {
  border: 1px solid #999999;
  font-size: 12px;
}

.body-currency-sell table>thead>tr>th:nth-child(2) {
  min-width: 95px;
}

.body-currency-sell table>thead>tr>th:nth-child(4) {
  min-width: 92px;
}

.body-currency-sell table>thead>tr>th:nth-child(5) {
  min-width: 75px;
}

.body-currency-sell table>thead>tr>th:nth-child(6) {
  min-width: 60px;
}

.body-currency-sell table>thead>tr>th:nth-child(7) {
  min-width: 95px;
}

.table-agent-sell table>tbody>tr>td {
  /* text-align: center; */
  font-size: 14px;
  padding: 5px;
  vertical-align: middle;
}

.table-agent-sell table>tbody>tr>td:first-child {
  text-align: left;
}

.body-currency-sell table>tbody>tr>td .pocket-money-img {
  height: 20px;
  width: auto;
  padding-right: 0;
}

.table-agent-sell {
  max-height: calc(100vh - 470px);
  overflow-y: auto;
}

.table-fixed-head table>thead>tr>th {
  vertical-align: middle !important;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 100 !important;
  font-size: 1.4rem;
  text-align: center;
  padding: 8px 5px !important;
  font-weight: unset;
  border: none;
}

.table-fixed-head table>tbody>tr>td {
  vertical-align: middle;
}

table.table-color-white>thead>tr>th {
  color: #797979;
  background-color: #FFFFFF;
}

table.table-color-info>thead>tr>th {
  color: #FFFFFF;
  background-color: #83DDFE;
}

table.table-color-black>thead>tr>th {
  color: #FFFFFF;
  background-color: #4F5561;
}

.table-height-accept-money {
  height: calc(100vh - 745px);
  overflow-y: auto;
  font-size: 14px;
}

.table-height-change-money {
  max-height: calc(100vh - 625px);
  overflow-y: auto;
  font-size: 14px;
}

.table-height-pay-fx {
  height: calc(100vh - 400px);
  overflow-y: auto;
  overflow-x: hidden;
  font-size: 14px;
}

.body-height-md {
  height: calc(100vh - 372px);
  overflow-y: auto;
  font-size: 14px;
}

.body-height-sm {
  height: calc(100vh - 380px);
  overflow-y: auto;
  font-size: 14px;
}

.body-height-special-rate {
  height: 230px;
  overflow-y: auto;
  font-size: 14px;
}


.body-detail-transaction {
  height: calc(100vh - 312px);
  overflow-y: auto;
}

.body-detail-transaction-agent {
  height: calc(100vh - 180px);
  overflow-y: auto;
}

.body-balance-fx {
  height: calc(100vh - 325px);
  overflow-y: auto;
  font-size: 14px;
}

.body-balance-thb {
  height: calc(100vh - 325px);
  overflow-y: auto;
  font-size: 14px;
}

.body-supply {
  height: 380px;
  overflow-y: auto;
  font-size: 12px !important;
}

.body-currency-sell {
  height: calc(100vh - 260px);
  overflow-y: auto;
  font-size: 14px;
}

.wrapper-body-currency-sell {
  height: calc(100vh - 200px);
  font-size: 13px;
  /* margin-top: 15px; */
  background-color: #FFFFFF;
}

.detail-agent-sell {
  max-height: calc(100vh - 353px);
  overflow-y: auto;
  font-size: 12px;
}

.wrapper-detail-agent-sell-pending {
  height: calc(100vh - 185px);
  font-size: 13px;
  padding: 5px;
  background-color: #FFFFFF;
}

.detail-agent-sell-pending {
  height: calc(100vh - 250px);
  overflow-y: auto;
  font-size: 12px;
}

.body-detail-request-notifications {
  max-height: 450px;
  overflow-y: auto;
  font-size: 14px;
}

.body-detail-currency {
  height: calc(100vh - 365px);
  overflow-y: auto;
}

.body-transaction {
  height: calc(100vh - 235px);
  overflow-y: auto;
}

.inbox-select-image {
  margin-top: -3px;
  margin-left: 5px;
}

p.text-notification {
  text-align: center;
  font-size: 1.28vw;
}


label.text-special-rate {
  margin-left: 9px;
  padding-left: 5px !important;
  font-size: 12px;
}

.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
  z-index: 2;
  border-left: 1.5px solid #FBCB05
}

.list-group-item:last-child {
  margin-bottom: 0;
  border-bottom-right-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}

p.exchange-sell-rate {
  font-size: 20px;
  color: #FCA400 !important;
  margin-top: -10px;
  margin-right: 10px;
  float: right;
  font-weight: bold;
  cursor: default;
}

p.exchange-buy-rate {
  font-size: 20px;
  color: #8DD466 !important;
  margin-top: -10px;
  margin-right: 10px;
  float: right;
  font-weight: bold;
  cursor: default;
}

p.exchange-currency-img {
  float: right;
  margin-top: -6px;
  margin-right: 10px;
  cursor: default;
}

table.display-rate tbody td {
  padding: 10px 8px 0px;
}

textarea[disabled].show-detail {
  resize: none;
  width: -webkit-fill-available;
  padding: 5px 10px;
  margin-top: -1px;
  border-radius: 2px;
  border: 1px solid #f3f3f3;
  background-color: #FFFFFF;
}

textarea::-webkit-scrollbar {
  width: 5px;
  background-color: #F5F5F5;
}

textarea::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #929292;
}

.has-error .form-control {
  border-color: #ff0500 !important;

}

.selector-input {
  height: 40px;
  display: block;
  margin: 0;
  position: relative;
  width: 100%;
  padding: .8em 2.6em .7em .7em;
  overflow: hidden;
  /* cursor: pointer; */
  border: 1px solid #e3e3e3;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  /* font-weight: inherit; */
  background-color: #ffffff !important;
  background-image: -webkit-linear-gradient(#ffffff, #ffffff);
  background-image: -moz-linear-gradient(#ffffff, #ffffff);
  background-image: -ms-linear-gradient(#ffffff, #ffffff);
  background-image: -o-linear-gradient(#ffffff, #ffffff);
  background-image: linear-gradient(#ffffff, #ffffff);
}

.tt-menu {
  margin-top: 5px;
  width: 150% !important;
  border: 1px solid #eee;
  border-top: 1px solid #eee !important;
  overflow-y: auto;
  max-height: 100px;
  font-size: 12px;
}

.tt-menu::-webkit-scrollbar {
  -webkit-appearance: none;
}

.tt-menu::-webkit-scrollbar:vertical {
  width: 10px;
}

.tt-menu::-webkit-scrollbar:horizontal {
  height: 3px;
}

.tt-menu::-webkit-scrollbar-thumb {
  background-color: #929292;
  border-radius: 10px;
  border: 2px solid #FFFFFF;
}

.tt-menu::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #FFFFFF;
}

.wrapper-total-currency {
  height: 90px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 5px;
}

.wrapper-confirm {
  display: flex;
}

.wrapper-confirm .wrapper-confirm-body {
  border: 1px solid #f3f3f3;
  padding: 10px;
  width: 510px;
}


a.border-logo {
  margin-left: 3px;
  border-left: 3px solid;
  color: #0A0800;
  text-decoration: unset !important;
  margin-top: 13px;
  height: 32px;
  position: absolute;
}

a.login-type {
  height: 32px;
  font-size: 14px;
  margin-top: 3px;
  padding-left: 10px;
  position: absolute;
  font-weight: 900;
  text-decoration: unset !important;
  color: #0A0800;
  text-transform: none !important;
  letter-spacing: 0px !important;
}

a.login-type:hover {
  color: #0A0800;
  text-decoration: unset !important;
}

.border-left {
  border-left: 2px solid #CCCCCC;
}

.body-risk-customer-detail {
  /* padding: 5px;
  border: 1px solid #CCCCCC;
  border-radius: 2px; */
}

.border-left-buy-currency {
  border-left: 2px solid #797979;
  height: 100%;
  position: absolute;
  margin-left: -24px;
}

.border-top-buy-currency {
  border-top: 2px solid #797979;
  width: 100%;
  position: absolute;
  margin-left: -24px;
}

.box-alert-non-currency {
  border: 1px solid #e3e3e3;
  border-radius: 3px;
  padding: 8px 12px;
  cursor: default !important;
  text-align: center !important;
  box-shadow: none;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 38px;
  font-size: 14px;
  font-weight: bold;
  color: #EF5358;
  background-color: #ffffff;
}

.box-date-currency-rate {
  float: left;
  display: inline-flex;
}

.box-date-currency-rate img {
  height: 37px;
}

.box-date-currency-rate a {
  text-decoration: none;
  color: #797979;
  font-size: 1.4rem;
  margin-left: 7px;
  margin-top: -4px;
}

.box-date-currency-rate a span {
  color: #fbcb05;
  font-weight: bold;
}

table.table-custom-branch thead tr th {
  font-weight: bold;
  color: #ffffff;
  background-color: #4f5561;
  border: 1px solid #e6e6e6;
  text-align: left;
  padding-left: 10px !important;
  padding: 5px !important;
  /* border-top-left-radius: 5px;
  border-top-right-radius: 5px; */
}

table.table-custom-branch tbody tr td {
  color: #555555;
  font-size: 13px;
  text-align: left;
  font-weight: unset;
  border: 1px solid #e6e6e6;
}

table.table-custom-branch tbody tr td:first-child {
  border-right: none;
}

table.table-custom-branch tbody tr td:last-child {
  border-left: none;
}

.body-border-auto {
  border: 1px solid #f3f3f3;
  padding: 10px;
}

.body-balance-fx {
  height: 560px;
  border: 1px solid #f3f3f3;
  padding: 10px;
}

.body-pay-banknote {
  width: 540px;
}

.box-image {
  border: 1px solid #F3F3F3;
  /* height: 190px; */
  padding: 5px;
  text-align: center;
}

.box-image img {
  width: 250px;
  z-index: 1000;
  position: relative;
}

.box-image img.zoom:hover {
  -ms-transform: scale(2);
  -webkit-transform: scale(2);
  transform: scale(2);
}
