/* CSS Document */

/******************************************* Loading Indicators *******************************************/

/*https://loading.io/css/*/

/*.lds-dual-ring {
  display: inline-block;
  width: 64px;
  height: 64px;
}*/

.loading_indicator:after {
    margin: auto !important;
}

.loading_indicator.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 46px;
    height: 46px;
    margin: 1px;
    border-radius: 50%;
    border: 5px solid #f1b537;
    border-color: #f1b537 transparent #f1b537 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/******************************************* Icons *******************************************/

.affwp_crypto_currency_icon.sml {
    max-width: 20px;
    max-height: 20px;
}

.affwp_crypto_currency_icon.med {
    max-width: 30px;
    max-height: 30px;
}

.affwp_crypto_asset_icon {
    max-width: 150px;
    /*max-height: 20px;*/
}

/******************************************* Admin Actions *******************************************/
.crypto_payout_trigger.payout_all {
    margin-left: 4px;
    padding: 4px 8px;
    position: relative;
    top: -3px;
    text-decoration: none;
    border: none;
    border: 1px solid #ccc;
    border-radius: 2px;
    background: #f7f7f7;
    text-shadow: none;
    font-weight: 600;
    font-size: 13px;
    line-height: normal;
    color: #0073aa;
    cursor: pointer;
}

.crypto_payout_trigger.payout_all:hover {
    border-color: #008ec2;
    background: #00a0d2;
    color: #fff;
}

/******************************************* Admin Columns *******************************************/

.affwp-status.sent, .affwp-status.failed {
    display: inline-block;
    position: relative;
    top: 2px;
    left: -2px;
}

.affwp-status.sent i:before {
    font-family: dashicons;
    font-style: normal;
    content: "\f159";
    color: #f79604;
}

.affwp-status.failed i:before {
    font-family: dashicons;
    font-style: normal;
    content: "\f159";
    color: #f7160d;
}

/******************************************* UI Sections *******************************************/

.affwp_crypto_ui_section {
    background-color: #ffffff;
    margin: 15px 0px 40px 0px;
    /*
    padding: 20px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0px 0px 10px -2px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 10px -2px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 10px -2px rgba(0, 0, 0, 0.75);*/

    padding-left: 2%;
    padding-right: 2%;
}

.affwp_crypto_ui_section h2 {
    text-align: center;
    margin-top: 0px;
}


/******************************************* Tables *******************************************/
.affwp_crypto_table_container {
    border: 1px solid #23282d;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    margin: 8px 0px 8px 0px;
}

.affwp_crypto_table_container .table_column {
    display: inline-block;
}

table.affwp_crypto_table {
    font-family: Verdana;
    table-layout: fixed;
    border-collapse: collapse;
    width: auto;
    min-width: 100%;
    font-size: 14px;
}

table.affwp_crypto_table tbody, table.affwp_crypto_table thead {
    /*display: block;*/
}

table.affwp_crypto_table thead {
    color: #fff;
    line-height: 1.4;
    text-transform: capitalize;
}

table.affwp_crypto_table thead tr th {
    background-color: #23282d;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

table.affwp_crypto_table thead tr th:first-child {
    -webkit-border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    border-top-left-radius: 4px;
}

table.affwp_crypto_table thead tr th:last-child {
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    border-top-right-radius: 4px;
}

table.affwp_crypto_table tbody {
    overflow: auto;
    height: 100px;
}

table.affwp_crypto_table tbody tr {
    color: #626161;
    line-height: 1.4;
}

table.affwp_crypto_table thead tr th, table.affwp_crypto_table tbody tr td {
    text-align: left;
    word-break: break-all;
}

table.affwp_crypto_table thead tr th {
    padding: 4px;
}

table.affwp_crypto_table tbody tr td {
    padding: 5px;
}

/*table.affwp_crypto_table tbody tr {
    border-left: 1px solid #626161;
    border-right: 1px solid #626161;
}

table.affwp_crypto_table tbody tr:last-child {
    border-bottom: 1px solid #626161;
}*/

table.affwp_crypto_table tbody tr:nth-child(odd) {
}

table.affwp_crypto_table tbody tr:nth-child(even) {
    background-color: #f8f6ff;
}


table.affwp_crypto_table.sub_table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

table.affwp_crypto_table.sub_table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/******************************************* Modals *******************************************/

.affwp_crypto_modal {
    display: none;
    position: fixed;
    top: 25%;
    left: 25%;
    width: 50%;
    height: auto;
    word-break: break-all;
    /*min-height: 300px;*/
    padding: 20px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0px 0px 24px 3px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 0px 24px 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 24px 3px rgba(0, 0, 0, 0.5);
    background-color: #f1f1f1;
}

.affwp_crypto_modal.standard {
    min-height: 300px;
}

.affwp_crypto_modal.fade {
    top: 42px;
    left: unset;
    right: 10px;
    width: auto;
    min-width: 250px;
}

.affwp_crypto_modal.fade.warning {
    background-color: #ebf1b7;
}

.affwp_crypto_modal.fade.success {
    background-color: #ebfbee;
}

.affwp_crypto_modal.fade.error {
    background-color: #f1d0c0;
}

/*Two Resets*/
.affwp_crypto_modal.error {
    border-left: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0px 0px 24px 3px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 0px 24px 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 24px 3px rgba(0, 0, 0, 0.5);
    padding: 20px;
    background-color: #f1f1f1;
}
.affwp_crypto_modal_block.error {
    border: none;
    box-shadow: none;
    padding: 0px;
    background-color: #f1f1f1;
}

.affwp_crypto_modal.prompt {
    min-height: 350px;
}

.affwp_crypto_modal_content {
    float: left;
}

.affwp_crypto_modal.fade .affwp_crypto_modal_content {
    margin-top: -20px;
}

.affwp_crypto_modal_block {
}

.affwp_crypto_modal .affwp_crypto_modal_block.warning {
    /*background-color: #ebf1b7;*/
}

.affwp_crypto_modal .affwp_crypto_modal_block.success {
    /*background-color: #ebfbee;*/
}

.affwp_crypto_modal .affwp_crypto_modal_block.error {
    /*background-color: #f1d0c0;*/
}


/*Modal Close Buttons*/
.affwp_crypto_modal .affwp_crypto_modal_close,
.affwp_crypto_modal .affwp_crypto_send_fields_close {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 32px;
    height: 32px;
}

.affwp_crypto_modal.prompt .affwp_crypto_modal_close /*, .affwp_crypto_modal.fade .affwp_crypto_modal_close*/
{
    display: none;
}

.affwp_crypto_modal .affwp_crypto_modal_close:hover,
.affwp_crypto_modal .affwp_crypto_send_fields_close:hover {
    opacity: 1;
    cursor: pointer;
}

.affwp_crypto_modal .affwp_crypto_modal_close:before, .affwp_crypto_modal .affwp_crypto_modal_close:after,
.affwp_crypto_modal .affwp_crypto_send_fields_close:before, .affwp_crypto_modal .affwp_crypto_send_fields_close:after {
    position: absolute;
    right: 10px;
    content: ' ';
    height: 20px;
    width: 2px;
    background-color: #626161;
}

.affwp_crypto_modal .affwp_crypto_modal_close:before,
.affwp_crypto_modal .affwp_crypto_send_fields_close:before {
    transform: rotate(45deg);
}

.affwp_crypto_modal .affwp_crypto_modal_close:after,
.affwp_crypto_modal .affwp_crypto_send_fields_close:after {
    transform: rotate(-45deg);
}

.affwp_crypto_modal .affwp_crypto_modal_prompt_button {
    display: none;
}

.affwp_crypto_modal.prompt .affwp_crypto_modal_prompt_button, .send_fields_submit {
    display: block;
    position: absolute;
    bottom: 10px;
    width: calc(100% - 40px);
    padding: 5px;
    text-align: center;
    background-color: #0079cb;
    text-transform: uppercase;
    font-size: 1.2em;
    color: #ffffff;
    border: none;
    border-radius: 3px;
}

.affwp_crypto_modal.prompt .affwp_crypto_modal_prompt_button:hover, .send_fields_submit:hover {
    cursor: pointer;
}

/******************************************** Forms *******************************************/
.affwp_crypto_validation_error {
    border: 1px solid #ff00004f;
    background-color: #ff000024;
}

.affwp_crypto_send_fields_form label {
    font-weight: 600;
}

.affwp_crypto_send_fields_form input.send_field {
    width: 80%;
    float: right;
}

/******************************************** Buttons *******************************************/

.affwp_crypto_ui_button {
    background-color: #0079cb;
    color: #ffffff;
    padding: 5px 10px 5px 10px;
    margin: 0px 3px 0px 3px;
    border: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer;
}

.affwp_crypto_ui_button:hover {
    cursor: pointer;
}

.affwp_crypto_ui_button.bulk {
    background-color: #8c46cb;
    color: #ffffff;
    padding: 10px 15px 10px 15px;
    margin: 0px 5px 0px 5px;
    font-size: 1.2em;
}

.affwp_crypto_ui_button.disabled, .affwp_crypto_ui_button.bulk.disabled {
    background-color: #d7d9d9;
    color: #848585;
    cursor: inherit;
}


/******************************************* Payouts UI / Modal *******************************************/
.affwp_crypto_loading {
    position: fixed; /* Stay in place */
    z-index: 99999; /* Sit on top */
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    padding-top: calc(30% - 23px);
}

/*.affwp_crypto_loading:after {
    margin: auto !important;
}*/

.affwp_crypto_payouts_modal {
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.7); /* Black w/ opacity */

}

.affwp_crypto_payouts_modal .affwp_crypto_payouts_ui {
    position: relative;
    background-color: #ffffff;
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
    padding: 0px;
    border: 1px solid #888;
    width: 90%;
    height: 90%;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.affwp_crypto_payouts_modal .affwp_crypto_payouts_ui .affwp_crypto_payouts_ui_close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 5px;
    right: 5px;
}

.affwp_crypto_payouts_modal .affwp_crypto_payouts_ui .affwp_crypto_payouts_ui_close:hover {
    cursor: pointer;
}

.affwp_crypto_payouts_modal .affwp_crypto_payouts_ui .affwp_crypto_payouts_ui_content {
    /*width: 96%;
    height: 96%;
    margin: 2%;
    overflow: auto;*/

    width: 100%;
    height: 96%;
    margin-top: 30px;
    overflow: auto;
}

.affwp_crypto_payouts_modal .affwp_crypto_payouts_ui.log_open .affwp_crypto_payouts_ui_content {
    height: calc(96% - 130px);
}

.affwp_crypto_payouts_modal .affwp_crypto_payouts_ui .payments_ui_log {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    padding: 10px;
    background-color: #f3f1fa;
    border-top: solid 1px #e0dddd;
    margin-bottom: 0px;
}

.affwp_crypto_payouts_modal .affwp_crypto_payouts_ui.log_open .payments_ui_log {
    display: block;
}

.affwp_crypto_payouts_modal .affwp_crypto_payouts_ui .payments_ui_log .payments_ui_log_header {
    height: 10%
}

.affwp_crypto_payouts_modal .affwp_crypto_payouts_ui .payments_ui_log .payments_ui_log_content {
    height: 60%;
    padding: 10px;
    overflow-y: auto;
}

.affwp_crypto_payouts_modal .affwp_crypto_payouts_ui .payments_ui_log .payments_ui_log_content .payments_ui_log_row {
    padding: 3px 0px 3px 0px;
}

.affwp_crypto_payouts_modal .affwp_crypto_payouts_ui .payments_ui_log .payments_ui_log_footer {
    height: 20%;
    background-color: #41fdfd;
    margin-left: -10px;
    margin-right: -10px;
    display: none;
}

.affwp_crypto_payouts_modal .affwp_crypto_payouts_ui .payments_ui_log .payments_ui_log_footer .payments_ui_log_status {
    text-align: center;
}

/*Cell Widths*/
/*table.affwp_crypto_table.affiliate_payments, table.affwp_crypto_table.payout_currencies {
    width: auto;
}*/

.affwp_crypto_ui_section.bulk_payouts .affwp_crypto_table_container {
    border: none;
}

table.affwp_crypto_table.payout_currencies tbody tr td:nth-child(1) {
    width: 2%;
}

table.affwp_crypto_table.payout_currencies tbody tr td:nth-child(2) {
    width: 25%;
}

table.affwp_crypto_table.payout_currencies tbody tr td:nth-child(3) {
    width: 25%;
}

table.affwp_crypto_table.payout_currencies tbody tr td:nth-child(4) {
    width: 22%;
}

table.affwp_crypto_table.payout_currencies tbody tr td:nth-child(5) {
    width: 26%;
}


table.affwp_crypto_table.affiliate_payments tbody tr td:nth-child(1) {
    width: 2%;
}

table.affwp_crypto_table.affiliate_payments tbody tr td:nth-child(2) {
    width: 15%;
}

table.affwp_crypto_table.affiliate_payments tbody tr td:nth-child(3) {
    width: 20%;
}

table.affwp_crypto_table.affiliate_payments tbody tr td:nth-child(4) {
    width: 10%;
}

table.affwp_crypto_table.affiliate_payments tbody tr td:nth-child(5) {
    width: 15%;
}

table.affwp_crypto_table.affiliate_payments tbody tr td:nth-child(6) {
    width: 12%;
}

table.affwp_crypto_table.affiliate_payments tbody tr td:nth-child(7) {
    width: 26%;
}

table.affwp_crypto_table tbody tr.bulk_actions td {
    width: 100%;
    text-align: center;
}

/*Wallet Connect*/
#walletconnect-qrcode-modal {
    z-index: 9999999 !important;
}

/******************************************* Wallet Settings UI *******************************************/
.affwp_crypto_wallet_ui {
    background-color: #ffffff;
    padding: 10px 0px 50px 0px;
}

.affwp_crypto_wallet_ui .affwp_crypto_ui_section {
    margin-bottom: 50px;
}

/*table.affwp_crypto_table.settings_adapters, table.affwp_crypto_table.settings_currencies {
    width: auto;
    min-width: 100%;
}*/

table.affwp_crypto_table.settings_adapters tbody tr td:nth-child(1),
table.affwp_crypto_table.settings_adapters .blind_columns tbody tr td:nth-child(1) {
    width: 20%;
}

table.affwp_crypto_table.settings_adapters tbody tr td:nth-child(2),
table.affwp_crypto_table.settings_adapters .blind_columns tbody tr td:nth-child(2) {
    width: 60%;
}

table.affwp_crypto_table.settings_adapters tbody tr td:nth-child(3),
table.affwp_crypto_table.settings_adapters .blind_columns tbody tr td:nth-child(3) {
    width: 20%;
    text-align: right;
}

table.affwp_crypto_table.settings_adapters thead tr th:nth-child(3) {
    text-align: right;
}


table.affwp_crypto_table.settings_currencies tbody tr td:nth-child(1) {
    width: 10%;
    text-align: center;
}

table.affwp_crypto_table.settings_currencies tbody tr td:nth-child(2) {
    width: 90%;
}

/*table.affwp_crypto_table.settings_currencies tbody tr td:nth-child(3) {
    width: 15%;
    text-align: right;
}

table.affwp_crypto_table.settings_currencies thead tr th:nth-child(3) {
    text-align: right;
}*/


table.affwp_crypto_table.settings_currency_adapters tbody tr td:nth-child(1) {
    width: 15%;
    text-align: left;
}

table.affwp_crypto_table.settings_currency_adapters tbody tr td:nth-child(2) {
    width: 45%;
}

table.affwp_crypto_table.settings_currency_adapters tbody tr td:nth-child(3) {
    width: 10%;
}

table.affwp_crypto_table.settings_currency_adapters tbody tr td:nth-child(4) {
    width: 30%;
    text-align: right;
}

table.affwp_crypto_table.settings_currency_adapters thead tr th:nth-child(4) {
    text-align: right;
}

table.affwp_crypto_table.sub_table thead tr th {
    color: #FFFFFF;
    padding: 5px
}


/*table.affwp_crypto_table.settings_add_currencies tbody tr td:nth-child(1) {
    width: 10%;
}*/

table.affwp_crypto_table.settings_add_currencies thead tr th:nth-child(1),
table.affwp_crypto_table.settings_add_currencies .blind_columns tbody tr td:nth-child(1) {
    width: 10%;
    text-align: center;
}

table.affwp_crypto_table.settings_add_currencies thead tr th:nth-child(2),
table.affwp_crypto_table.settings_add_currencies .blind_columns tbody tr td:nth-child(2) {
    width: 30%;
}

table.affwp_crypto_table.settings_add_currencies thead tr th:nth-child(4),
table.affwp_crypto_table.settings_add_currencies .blind_columns tbody tr td:nth-child(3) {
    width: 40%;
}

table.affwp_crypto_table.settings_add_currencies thead tr th:nth-child(4),
table.affwp_crypto_table.settings_add_currencies .blind_columns tbody tr td:nth-child(4) {
    width: 20%;
    text-align: right;
}

table.affwp_crypto_table.settings_add_tokens thead tr th:nth-child(1),
table.affwp_crypto_table.settings_add_tokens .blind_columns tbody tr td:nth-child(1) {
    width: 10%;
    text-align: center;
}

table.affwp_crypto_table.settings_add_tokens thead tr th:nth-child(2),
table.affwp_crypto_table.settings_add_tokens .blind_columns tbody tr td:nth-child(2) {
    width: 80%;
}

table.affwp_crypto_table.settings_add_tokens thead tr th:nth-child(3),
table.affwp_crypto_table.settings_add_tokens .blind_columns tbody tr td:nth-child(3) {
    width: 10%;
    text-align: right;
}

/*Generate Address*/
.generate_address {
    display: none;
}

.wallet_settings_table_row.generate_address .generate_address {
    display: inherit;
}

/*Generate Account*/
.generate_account {
    display: none;
}

.wallet_settings_table_row.generate_account .generate_account {
    display: inherit;
}

/*Private Key*/
.import_address {
    display: none;
}

.wallet_settings_table_row.import_address .import_address {
    display: inherit;
}

/*Tokens*/
.tokens {
    display: none;
}

.wallet_settings_table_row.tokens .tokens {
    display: inherit;
}

/*Metamask*/
input[type=checkbox].metamask, label.metamask {
    display: none;
}

.wallet_settings_table_row.metamask .metamask {
    display: inherit;
}

.wallet_settings_table_row.metamask label.metamask {
    display: inline-block;
}

.wallet_settings_table_row {
    display: table-row;
}