#container {
  padding-bottom: 25px;
}

.wapf-field {
  width: 100% !important;
}

textarea.wapf-field {
  min-height: 200px !important;
}

.wapf-field-label {
  font-weight: bold;
  font-size: 12px;
}

.wafp-options-pane {
  padding-left: 15px;
  padding-bottom: 15px;
}

.wafp-hidden, .esaf-hidden,
.wafp_hidden, .esaf_hidden {
  display: none;
}

.wafp-new-link, .wafp-new-link td {
  background-color: darkgray;
}

ul.wafp-nav-bar {
  list-style-type: none;
  margin: 0;
  margin-bottom: 10px;
  padding: 0;
}

ul.wafp-nav-bar li {
  display: inline;
  margin: 0;
}

ul.wafp-nav-bar li a {
  text-decoration: none;
  padding: 5px 10px 5px 0;
  margin: 0px;
}

ul.wafp-nav-bar a:hover {
  text-decoration: underline;
}

ul.wafp-link-list {
  margin-left: 0;
}

ul.wafp-link-list li {
  margin-bottom: 25px;
  list-style-type: none;
}

table.wafp-stats-table {
  border: 1px solid black;
  width: 99% !important;
}

table.wafp-stats-table td, table.wafp-stats-table th {
  border: 1px solid black;
  padding: 5px;
}

table.wafp-stats-table th {
  text-align:center !important;
  font-weight: bold;
  background-color: #333;
  color: white !important;
  padding:5px !important;
  margin:0 !important;
}

table.wafp-table {
  width: 99%;
}

.wafp-transactions-table {
  width: 99% !important;
}

.wafp-frontend-table, .wafp-frontend-table tr, .wafp-frontend-table tr td {
  border-style: none;
  border: none !important;
}
.wafp-frontend-text-input {
  width: 100%;
}
.wafp-frontend-label-col {
  width: 25%;
}

.wafp-paid-label, .wafp-owed-label, .wafp-payment-label {
  font-weight: bold;
}
.wafp-paid-label, .wafp-red-text {
  color: red;
}
.wafp-owed-label {
  color: green;
}
.wafp-payment-label {
  color: blue;
}

.wafp-affiliate-column {
  width: 25%;
}
.wafp-clicks-column {
  width: 15%;
}
.wafp-transaction-column {
  width: 15%;
}
.wafp-sales-column {
  width: 15%;
}
.wafp-refunds-column {
  width: 15%;
}
.wafp-total-column {
  width: 15%;
}

/* Transaction Columns */
.wafp-trans-time-col {
  width: 15%;
}
.wafp-trans-affiliate-col {
  width: 15%;
}
.wafp-trans-invoice-col {
  width: 15%;
}
.wafp-trans-amount-col {
  width: 15%;
}
.wafp-trans-refund-col {
  width: 25%;
}
.wafp-trans-total-col {
  width: 15%;
}
.wafp-trans-submit-wrap {
  width: 99%;
}
.wafp-trans-submit {
  float: right;
  cursor: pointer;
}

/* Payment Columns */
.wafp-pay-affiliate-col {
  width: 14%;
}
.wafp-pay-name-col {
  width: 16%;
}
.wafp-pay-paypal-col {
  width: 15%;
}
.wafp-pay-address-col {
  width: 20%;
}
.wafp-pay-commissions-col {
  width: 10%;
}
.wafp-pay-corrections-col {
  width: 10%;
}
.wafp-pay-payment-col {
  width: 10%;
}
.wafp-pay-paid-col  {
  width: 5%;
}

/* Affiliate Dash */
div#wafp-account-saved {
  color:#008E00;
  margin:0 auto;
  display:block;
  background:#BFFEBF;
  font-weight:bold;
  border:1px solid #008E00;
  padding:5px;
  text-align:center;
}

/* Signup Form */
/*
.wafp_signup_input {
  width: 200px;
}
*/

.affroy_signup_form input, .wafp_loginform input {
  width: 250px;
}

.affroy_signup_form tr td {
  padding: 1px;
}

/* Fix for some themes that mess with all the tables */
#wafp-stats-graph .legend div, #wafp-stats-graph .legend table {
  width: auto !important;
}

table.affroy_signup_form {
  border: none;
}

table.affroy_signup_form td {
  border: none;
}

/* Fix for some issue affecting the wp-admin */
#editorcontainer textarea {
  width: 100%;
}

/*
.wafp-integration-option {
  display: none;
}
*/

#wafp_main_affiliate_link {
  padding: 5px 0 15px 0;
}

.wafp-transaction-search-wrapper {
  float: right;
}

.wafp-loader,
.wafp-resend-welcome-email-loader {
  vertical-align:middle;
  width: 16px !important;
  height: 16px !important;
  margin-right: 5px;
  display: none;
}

#cspf-table-search {
  margin-left: 0;
  margin-bottom: 3px;
  float: right;
}

div#table-actions {
  display:block;
  width:auto;
  float:left;
}

.wafp-link-update-button {
  float: right;
  margin-top: 2px;
}

div#wp-wafp-custom-message-editor-container {
  background:white;
}

textarea.wafp-link-textarea {
  width: 80%;
  height: 100px;
}

.ui-accordion .ui-accordion-header a {
  margin-left: 15px;
}

/*
#wafp_title {
  color: #464646;
  font-family: "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",sans-serif;
  font-size: 23px;
  padding: 9px 15px 4px 10px;
  line-height: 29px;
  font-weight: normal;
  margin: 0;
  text-shadow: white 0 1px 0;
  display: inline-block;
  vertical-align: top;
}
*/

.icon64 {
  height: 32px !important;
  width: 139px !important;
  background: url('../images/affiliate_royale_logo_32.png') no-repeat;
  float: right !important;
  padding-right: 25px !important;
}

#wafp-stats-graph .legend td {
  padding: 0px !important;
  margin: 0px !important;
}

.wafp-aff-info-label,
.wafp-aff-commission-level {
  font-weight: bold;
  width: 100px;
  min-width: 100px;
  display: inline-block;
}

.wafp-aff-info {
  padding-left: 15px;
}

.wafp-link-code input[type=text],
#wafp_main_affiliate_link input[type=text] {
  width: 400px;
}

.wafp-nav-active a {
  font-weight: bold;
}

.wafp_custom_default_redirect_url_wrap {
  padding-top: 10px;
}

.error {
  padding: 5px 5px 0 5px;
  margin-bottom: 15px;
  background-color: #ffebe8;
}

.wafp-inline-error {
  color: red;
}

#wafp_honeypot {
  display: none !important;
  margin: 0;
  padding: 0;
}

@media all and (-webkit-min-device-pixel-ratio: 1.5) {
  .icon64 {
    background: url('../images/affiliate_royale_logo_126.png') no-repeat;
    background-size: 139px 32px !important;
  }
}
