/* global comments */
/*@lrflex-dir
@rlflex-dir*/
.pa-table {
  width: 100%;
  border-collapse: collapse;
}
.pa-table th,
.pa-table td {
  text-align: right;
  background-clip: padding-box;
}
.pa-table td {
  padding: 7px 20px;
  border: 1px solid #d9d9d9;
}
.pa-table td.max {
  width: 79px;
}
.pa-table thead {
  background-color: #ffffff;
}
.pa-table thead td,
.pa-table thead th {
  position: relative;
  color: #66778a;
  font-size: 1rem;
  border: 1px solid #d9d9d9;
  padding: 17px 20px;
  font-weight: bold;
}
.pa-table thead td:first-child,
.pa-table thead th:first-child {
  border-right: 1px solid #d9d9d9;
}
.pa-table thead td:last-child,
.pa-table thead th:last-child {
  border-left: 1px solid #d9d9d9;
}
.pa-table thead td.width-50-percent,
.pa-table thead th.width-50-percent {
  width: 50%;
}
.pa-table thead td.max,
.pa-table thead th.max {
  font-size: 19px;
}
.pa-table tbody tr td {
  background-color: #ffffff;
}
/*---Transparent, pending information table for withdrawal view---*/
.withdrawal-automation {
  border-collapse: separate;
}
.withdrawal-automation thead tr th {
  background-color: #f5f5f5;
  color: #66778a;
  font-size: 14px;
  font-weight: normal;
  border-right: 0;
  border-bottom: 0;
  padding: 14px;
  text-align: center;
}
.withdrawal-automation thead tr th:first-of-type {
  border-right: 1px solid #d9d9d9;
}
.withdrawal-automation td {
  font-size: 14px;
  border-right: 0;
  border-bottom: 0;
  padding: 14px;
  text-align: center;
}
.withdrawal-automation td.first-td {
  border-right: 1px solid #d9d9d9;
}
.withdrawal-automation td.max {
  width: 79px;
}
.withdrawal-automation tbody:nth-child(2n) td {
  padding: 7px;
  border-left: 0;
}
.withdrawal-automation tbody:nth-child(2n+1) td {
  border-left: 1px solid #d9d9d9;
}
.withdrawal-automation tbody:nth-child(2n+1) td.btn-cancel-withdrawal {
  border: none;
}
.withdrawal-automation tbody tr:not(.req-text) td:not(.empty),
.withdrawal-automation tbody tr:not(.req-text):nth-child(2n) td:not(.empty) {
  background-color: transparent;
}
/*---Recommended Withdrawal Structure Table---*/
.recommended-withdrawal thead tr th {
  background-color: #f5f5f5;
  color: #66778a;
  font-size: 14px;
  line-height: 1.2;
  font-weight: normal;
  padding: 14px;
  text-align: center;
  white-space: nowrap;
}
.recommended-withdrawal input,
.recommended-withdrawal select {
  border: 0px solid;
  padding-left: 0;
  padding-right: 0;
}
/*<tr> - Total - styling*/
.recommended-withdrawal tbody tr td.total-account-type {
  background-color: transparent !important;
  border-right: none;
  border-bottom: none;
}
.recommended-withdrawal tbody tr td.total-account-number {
  background-color: transparent;
  border-left: none;
}
.recommended-withdrawal tbody tr td.total-amount {
  background-color: transparent;
  border-left: none;
  border-right: none;
}
.recommended-withdrawal tbody tr td.total-currency {
  background-color: transparent;
  border-right: none;
}
.recommended-withdrawal tbody tr td.total-wire-out,
.recommended-withdrawal tbody tr td.total-wire-out-currency,
.alternative-withdrawal tbody tr td.total-wire-out,
.alternative-withdrawal tbody tr td.total-wire-out-currency {
  background-color: transparent !important;
  border-left: none;
  border-right: none;
  border-bottom: none;
}
.recommended-withdrawal tbody tr td > span,
.recommended-withdrawal tbody tr td > div {
  padding: 0 7px;
}
.recommended-withdrawal tbody tr td .dropdown-holder {
  padding: 0;
}
.recommended-withdrawal tbody tr td .dropdown-holder select {
  padding: 0 7px;
}
/*---Alternative Withdrawal Structure Table---*/
.alternative-withdrawal {
  /*table-layout: fixed;*/
  width: 100%;
}
.alternative-withdrawal thead th {
  background-color: #f5f5f5;
  color: #66778a;
  font-size: 14px;
  line-height: 1.2;
  font-weight: normal;
  padding: 14px;
  text-align: center;
  white-space: nowrap;
}
.alternative-withdrawal tbody td select,
.alternative-withdrawal tbody td input {
  padding-left: 0;
  padding-right: 0;
}
.alternative-withdrawal tbody td a {
  text-decoration: none;
}
.account-type {
  width: 17%;
  min-width: 215px;
}
.account-number {
  width: auto;
  min-width: 215px;
}
.account {
  width: 15%;
}
.currency {
  width: 11%;
}
.wire-out {
  width: 15%;
}
.wire-out-currency {
  width: 11%;
}
.x {
  width: 5%;
}
/*last row: "Total"*/
.alternative-withdrawal tbody tr:last-of-type td:first-of-type {
  background-color: transparent;
  border-right: none;
  border-bottom: none;
}
.alternative-withdrawal tbody tr:last-of-type td:nth-child(2) {
  background-color: transparent;
  border-left: none;
}
.alternative-withdrawal tbody tr:last-of-type td:nth-child(3) {
  background-color: transparent;
  border-left: none;
  border-right: none;
}
.alternative-withdrawal tbody tr:last-of-type td:nth-child(4) {
  background-color: transparent;
  border-right: none;
}
.alternative-withdrawal tbody tr:last-of-type td:last-of-type,
.alternative-withdrawal tbody tr:last-of-type td:nth-last-child(2) {
  background-color: transparent;
  border-left: none;
  border-right: none;
  border-bottom: none;
}
.alternative-withdrawal tbody tr td:empty {
  content: "/";
  background-color: transparent !important;
}
.alternative-withdrawal tbody tr td > span,
.alternative-withdrawal tbody tr td > div {
  padding: 0 7px;
}
.alternative-withdrawal tbody tr td .dropdown-holder {
  padding: 0;
}
.alternative-withdrawal tbody tr td .dropdown-holder select {
  padding: 0;
}
/*---Disabled Table Styles---*/
.alternative-withdrawal.table-disabled td,
.recommended-withdrawal.table-disabled td,
.alternative-withdrawal.table-disabled tbody tr td.delete-row:empty {
  background-color: #f5f5f5 !important;
  color: #66778a;
  cursor: not-allowed;
}
.pa-table .dropdown-holder select[disabled] {
  color: #66778a;
}
.pa-table .dropdown-holder select[disabled] + label:before {
  background-color: #ffffff;
}
.pa-table.table-disabled .dropdown-holder select[disabled] + label:before {
  background-color: #f5f5f5;
}
.alternative-withdrawal tbody td:last-of-type {
  text-align: center;
}
.alternative-withdrawal tbody td a.close-row svg {
  font-size: 16px;
  fill: #002857;
}
.alternative-withdrawal tbody td .close-row.disabled svg {
  fill: #66778a;
}
.alternative-withdrawal tfoot td {
  border: none;
  padding: 14px 0;
}
/*Common styles for all WD tables*/
.alternative-withdrawal tbody tr td input {
  text-align: center;
}
.alternative-withdrawal .dropdown-holder label:before,
.recommended-withdrawal .dropdown-holder label:before {
  right: 1px;
}
.dropdown-holder select.disabled label:before {
  background-color: transparent;
}
.alternative-withdrawal tbody td,
.recommended-withdrawal tbody td {
  padding: 14px;
  font-size: 14px;
  text-align: center;
}
.pm-table td {
  font-weight: bold;
  vertical-align: middle;
  padding: 14px 11px 13px;
  width: 50%;
  height: 47px;
}
.pm-table td:first-child {
  min-width: 20px;
  width: 8%;
  padding-left: 9px;
  text-align: center;
}
.pm-table td:nth-child(3) {
  width: 22%;
}
.oa-mobile td {
  padding: 13px 20px;
}
.deposit-fees .pm-table {
  table-layout: fixed;
}
.deposit-fees .pm-table td {
  width: 33.33%;
}
.deposit-fees .pm-table td:first-child {
  text-align: right;
}
.oa-table {
  width: 100%;
  margin-bottom: 20px;
}
.oa-table tr {
  border-bottom: 1px solid #fff;
}
.oa-table tr.high {
  height: 60px;
}
.oa-table tr td {
  padding: 5px 10px;
}
.table-bahamas {
  table-layout: fixed;
  margin-top: 22px;
}
.table-bahamas tr {
  border-bottom: none;
}
.table-bahamas tr td {
  vertical-align: top;
  padding: 0;
  font-size: 1rem;
}
.table-bahamas tr:nth-child(2n) td {
  font-weight: bold;
  padding-bottom: 10px;
}
@media (max-width: 767px) {
  .pa-table td {
    padding: 10px;
    font-size: 12px;
  }
  .pa-table thead td,
  .pa-table thead th {
    font-size: 14px;
    padding: 10px;
  }
  .recommended-withdrawal tbody td,
  .alternative-withdrawal tbody td {
    padding-right: 5px;
  }
}
@media (max-width: 991px) {
  .table-bahamas tr td,
  .china-lang .table-bahamas tr td {
    height: auto;
    vertical-align: top;
  }
  .withdrawal-automation td.btn-cancel-withdrawal a.btn {
    min-width: inherit;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 14px;
  }
  .withdrawal-automation td {
    padding: 10px;
    font-size: 13px;
  }
  /*Horizontal scroll styles for the WD tables*/
  div.withdrawal-table-responsive,
  div.recommended-table-responsive,
  div.alternative-table-responsive {
    width: 100%;
    overflow-y: hidden;
    overflow-x: auto;
  }
}
/* brazilian withdrawals table */
.brazilian.alternative-withdrawal tbody tr:last-of-type td:first-of-type {
  border-right: none;
}
.brazilian.alternative-withdrawal tbody tr:last-of-type td:nth-child(2) {
  border-left: none;
  border-bottom: none;
}
.brazilian.alternative-withdrawal tbody tr:last-of-type td:nth-child(3) {
  border-bottom: none;
}
.brazilian.alternative-withdrawal tbody tr:last-of-type td:nth-child(4) {
  border-left: 1px solid #d9d9d9;
}
.brazilian.alternative-withdrawal tbody tr:last-of-type td:last-of-type,
.brazilian.alternative-withdrawal tbody tr:last-of-type td:nth-last-child(2) {
  border-right: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  text-align: center;
}
