.wafp-hidden, .esaf-hidden,
.wafp_hidden, .esaf_hidden {
  display: none;
}
ul.esaf-creatives-nav {
  display: flex;
  list-style-type: none !important;
  margin: 0 0 20px 0;
  padding: 0 !important;
  border-bottom: 1px solid #474747;
}
ul.esaf-creatives-nav li {
  margin: 0 30px 0 0;
}
ul.esaf-creatives-nav li:last-child {
  margin-right: 0;
}
ul.esaf-creatives-nav li a {
  display: block;
  text-decoration: none !important;
  padding: 15px 15px 7px 15px;
  margin: 0;
  border-bottom: 8px solid transparent;
  color: #474747;
}
ul.esaf-creatives-nav li.esaf-creatives-nav-active a {
  border-bottom-color: #474747;
  font-weight: bold;
}
/* Affiliate Dash */
#esaf-dash-wrapper {
  width: 1280px;
  max-width: 100%;
}
.esaf-dashboard-nav {
  display: flex;
  margin-bottom: 35px;
}
.esaf-dashboard-nav > a {
  padding: 10px 15px;
  text-decoration: none !important;
  color: inherit;
  font-size: 19px;
  flex: 1 0 auto;
  border: 1px solid #ccc;
  border-right: none;
  text-align: center;
  line-height: 1;
}
.esaf-dashboard-nav > a:last-child {
  border-right: 1px solid #ccc;
}
.esaf-dashboard-nav > a:link,
.esaf-dashboard-nav > a:visited,
.esaf-dashboard-nav > a:hover,
.esaf-dashboard-nav > a:active {
  text-decoration: none !important;
  color: inherit;
}
.esaf-dashboard-nav > a.esaf-nav-active {
  font-weight: bold;
}
#esaf-dash-wrapper h3 {
  margin-top: 0;
}
div#esaf-account-saved {
  color: #008E00;
  margin: 0 auto 20px;
  display: block;
  background: #BFFEBF;
  border: 1px solid #008E00;
  padding: 15px;
  text-align: center;
}
#esaf-dashboard-my-affiliate-link {
  background-color: #f3f3f3;
  border: 1px solid #ccc;
  padding: 30px;
  margin-bottom: 20px;
  position: relative;
}
.esaf-dashboard-my-affiliate-link-label {
  font-size: 23px;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1;
}
#esaf-dashboard-my-affiliate-link > i {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
}
.esaf-dashboard-my-affiliate-link-input,
.esaf-dashboard-custom-link-input {
  position: relative;
  padding-right: 60px;
}
.esaf-dashboard-my-affiliate-link-input > span,
.esaf-dashboard-custom-link-input > span,
.esaf-mepr-coupon-valid-product-input > span {
  position: absolute;
  right: 15px;
  top: 5px;
  color: #ababab;
  font-size: 25px;
}
.esaf-copy-clipboard {
  cursor: pointer;
}
.esaf-affiliate-dashboard-custom-message {
  margin-bottom: 20px;
}
.esaf-affiliate-dashboard-home-box-columns {
  display: flex;
  margin: 0 -10px 20px;
  width: auto;
  max-width: none;
}
.esaf-affiliate-dashboard-home-box-column {
  display: flex;
  flex: 1;
  padding: 10px;
}
@media (max-width: 990px) {
  .esaf-affiliate-dashboard-home-box-columns {
    flex-direction: column;
  }
}
.esaf-affiliate-dashboard-home-box {
  display: flex;
  flex: 1;
  padding: 15px;
  border: 1px solid #ccc;
  background: #f7f7f7;
}
.esaf-affiliate-dashboard-home-box-label,
.esaf-affiliate-dashboard-home-box-amount {
  display: flex;
  flex: 1;
  align-items: center;
}
.esaf-affiliate-dashboard-home-box-label {
  line-height: 1.2;
}
.esaf-affiliate-dashboard-home-box-amount {
  justify-content: flex-end;
  font-size: 30px;
  font-weight: bold;
  margin-left: 20px;
}
.esaf-affiliate-dashboard-home-box > a {
  display: flex;
  font-weight: bold;
  flex: 1;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 23px;
  color: inherit;
}
.esaf-affiliate-dashboard-home-box > a:link,
.esaf-affiliate-dashboard-home-box > a:visited,
.esaf-affiliate-dashboard-home-box > a:hover,
.esaf-affiliate-dashboard-home-box > a:active {
  color: inherit;
  background-color: transparent !important;
  outline: none !important;
  text-decoration: none !important;
}
.esaf-affiliate-dashboard-home-content {
  display: flex;
  padding: 20px;
  border: 1px solid #ccc;
}
.esaf-affiliate-dashboard-home-stats {
  padding: 0 20px 0 0;
  flex-shrink: 0;
  border-right: 1px solid #E3E3E3;
  margin-right: 20px;
}
.esaf-affiliate-dashboard-home-stat {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #E3E3E3;
}
.esaf-affiliate-dashboard-home-stat:first-child {
  padding-top: 0;
}
.esaf-affiliate-dashboard-home-stat:last-child {
  border-bottom: 0;
}
.esaf-affiliate-dashboard-home-stat svg {
  fill: currentColor;
  width: 45px;
  flex-shrink: 0;
}
.esaf-affiliate-dashboard-home-stat .esaf-affiliate-dashboard-home-stat-label {
  font-size: 13px;
  line-height: 1;
  flex-grow: 1;
  margin-left: 5px;
  margin-right: 20px;
}
.esaf-affiliate-dashboard-home-stat .esaf-affiliate-dashboard-home-stat-value {
  font-size: 25px;
  font-weight: 600;
}
.esaf-affiliate-dashboard-home-charts {
  position: relative;
  flex-grow: 1;
  min-width: 0;
}
#esaf-affiliate-dashboard-chart-date-range {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.esaf-affiliate-dashboard-home-chart h4 {
  margin: 0 0 20px 0;
  padding: 0;
  font-size: 21px;
  font-weight: bold;
}
.esaf-affiliate-dashboard-home-chart {
  margin-bottom: 10px;
}
.esaf-affiliate-dashboard-home-chart:last-child {
  margin-bottom: 0;
}
.esaf-affiliate-dashboard-chart {
  height: 250px;
}
@media (max-width: 990px) {
  .esaf-affiliate-dashboard-home-content {
    flex-direction: column;
  }
  .esaf-affiliate-dashboard-home-stats {
    margin-right: 0;
    padding-right: 0;
    border-right: 0;
    margin-bottom: 20px;
  }
}
#esaf-creatives-banners .esaf-creatives-banners-intro {
  margin: 0;
  padding: 1em;
  border: 1px solid #ccc;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}
#esaf-creatives-banners .esaf-creatives-banner {
  border: 1px solid #ccc;
  padding: 0.5em;
  border-right: none;
  border-top: none;
}
#esaf-creatives-banners .esaf-creatives-banner img {
  cursor: pointer;
  max-width: 100%;
  height: auto;
}
@media only screen and (min-width: 62em) {
  #esaf-creatives-banners .esaf-creatives-banner:nth-of-type(4n),
  #esaf-creatives-banners .esaf-creatives-banner:last-child {
    border-right: 1px solid #ccc;
  }
}
@media only screen and (max-width: 62em) {
  #esaf-creatives-banners .esaf-creatives-banner:nth-of-type(2n),
  #esaf-creatives-banners .esaf-creatives-banner:last-child {
    border-right: 1px solid #ccc;
  }
}
#esaf-creatives-banners .esaf-creatives-banner img {
  cursor: pointer;
  display: block;
}
#esaf-banner-link-information {
  max-height: 300px;
  margin: auto;
  margin-bottom: 1em;
  display: block;
}
.esaf-banner-link-title {
  margin-top: 0;
}
.esaf-banner-link-size {
  margin-top: 0;
  text-align: center;
}
.esaf-custom-links-form {
  background: #f7f7f7;
  border: 1px solid #a7adaf;
  padding: 30px;
  margin-bottom: 30px;
}
#esaf-dashboard-custom-links-form h3,
#esaf-dashboard-custom-links-update-form h3 {
  position: relative;
  padding-left: 40px;
  margin-top: 0;
}
.esaf-custom-links-form h3 svg {
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -13px;
  width: 32px;
  fill: currentColor;
}
.esaf-custom-links-form p {
  margin-bottom: 0.5em;
}
.esaf-custom-links-form label {
  font-weight: bold;
  display: block;
  float: none;
}
.esaf-dashboard-custom-links-button {
  display: flex;
  margin-top: 30px;
  align-items: center;
}
.esaf-dashboard-custom-links-button .esaf-error-text {
  margin-left: 20px;
  color: #ed4337 !important;
}
#esaf-dashboard-custom-link-create,
#esaf-dashboard-custom-link-update {
  text-transform: uppercase;
}
#esaf-dashboard-custom-links-table {
  width: 100%;
}
#esaf-dashboard-custom-links-table th,
#esaf-dashboard-custom-links-table td {
  text-align: center;
  padding: 0.5em;
}
#esaf-dashboard-custom-links-table .esaf-copy-clipboard {
  color: #ababab;
}
.esaf-dashboard-custom-links-th-date-created {
  width: 175px;
}
.esaf-dashboard-custom-link-edit {
  cursor: pointer;
}
#esaf-banner-link-get-html-id {
  margin-left: 5px;
}
.esaf-dashboard-payments-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}
.esaf-dashboard-payments-header svg {
  width: 50px;
}
.esaf-dashboard-payments-header-label {
  font-size: 19px;
  margin: 0 10px;
}
.esaf-dashboard-payments-header-value {
  font-size: 33px;
  font-weight: bold;
}
.esaf-mepr-coupon-valid-products {
  border: none;
  margin-bottom: 0;
  width: 100%;
}
.esaf-mepr-coupon-valid-products td {
  border: none;
}
.esaf-mepr-coupon-valid-products td:last-child {
  width: 100px;
  white-space: nowrap;
}
.esaf-mepr-coupon-valid-product-input {
  position: relative;
  padding-right: 60px;
}
/* Forms */
.esaf-form-row {
  margin-bottom: 10px;
}
.esaf-checkbox-row {
  margin: 20px 0;
}
.esaf-form-button-row {
  padding-top: 10px;
}
.esaf-form-label {
  margin-bottom: 5px;
}
.esaf-form-label > label {
  font-weight: normal;
  float: none;
  position: static;
  display: inline-block;
  line-height: 1.3;
  margin: 0;
  width: auto;
}
.esaf-form-row input + label {
  display: inline;
  margin-top: 0;
  width: auto;
}
.esaf-required {
  margin-left: 5px;
}
.esaf-errors {
  padding: 6px;
  margin-bottom: 15px;
  background-color: #ffebe8;
}
.esaf-errors ul {
  margin: 0;
  padding: 0 0 0 25px;
}
.esaf-form-has-errors,
.esaf-validation-error {
  display: none;
  color: red;
  padding-left: 5px;
}
.esaf-form input[type="text"],
.esaf-form input[type="email"],
.esaf-form input[type="password"],
.esaf-form input[type="url"],
.esaf-form textarea,
.esaf-form select {
  width: 100%;
  padding: 10px 13px;
  font-size: inherit;
  line-height: 1.5;
  font-family: inherit;
  border: 1px solid rgba(0, 0, 0, 0.2);
  outline: 0;
}
.esaf-form textarea {
  height: 250px;
}
.esaf-form :focus {
  outline: 0;
}
.esaf-form input[type="text"].esaf-invalid,
.esaf-form input[type="email"].esaf-invalid,
.esaf-form input[type="password"].esaf-invalid,
.esaf-form input[type="url"].esaf-invalid,
.esaf-form textarea.esaf-invalid,
.esaf-form select.esaf-invalid {
  border-color: red !important;
  background-color: #FF6666 !important;
}
.esaf-form-description {
  margin-bottom: 25px;
}
.esaf-form-field-description {
  margin: 5px 0 0 0;
  font-size: 90%;
  font-style: italic;
}
.esaf-signup-agreement-text {
  height: 300px;
  overflow: auto;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
}
.esaf-visually-hidden {
  border: 0 !important;
  clip: rect(0 0 0 0);
  height: 0 !important;
  margin: -1px !important;
  overflow: hidden;
  position: absolute;
  width: 1px !important;
  padding: 0 !important;
}
.esaf-form-errors {
  padding: 15px;
  margin-bottom: 25px;
  background-color: #feb9bb;
  border: 1px solid #d40022;
}
.esaf-form-errors > .esaf-form-error {
  margin-bottom: 5px;
}
.esaf-form-errors > .esaf-form-error:last-child {
  margin-bottom: 0;
}
/* Popup */
.esaf-popup {
  position: relative;
  background: #FFF;
  padding: 40px;
  width: auto;
  max-width: 600px;
  margin: 20px auto;
}
.esaf-popup .mfp-close:hover,
.esaf-popup .mfp-close:focus {
  background-color: transparent;
}
.esaf-get-html-code-title {
  color: #474747;
  font-size: 19px;
  line-height: 1.3;
  margin: 0 0 20px 0;
}
.esaf-get-html-code-copy-buttons {
  margin-top: 10px;
}
.esaf-transparent-button,
.esaf-transparent-button:hover,
.esaf-transparent-button:focus {
  background: transparent;
  color: #ababab;
  border: 0;
  -webkit-appearance: none;
  outline: none;
  box-shadow: none;
  font-weight: normal;
  padding: 10px 20px;
}
.esaf-code-textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 150px;
  resize: vertical;
  padding: 5px 10px;
  line-height: 1.5;
}
.esaf-invisible-field {
  -webkit-appearance: none !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  height: 1px !important;
  width: 1px !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
}
.esaf-infinite-scroll-observer {
  text-align: center;
  color: #999999;
}
/* Responsive styles */
.esaf-dashboard-responsive-nav {
  display: none;
  margin-bottom: 15px;
}
.esaf-dashboard-responsive-nav-toggle {
  display: inline-block;
  cursor: pointer;
}
@media (max-width: 768px) {
  .esaf-dashboard-responsive-nav {
    display: block;
  }
  .esaf-dashboard-nav-wrapper {
    display: none;
  }
  .esaf-dashboard-nav {
    flex-direction: column;
  }
  .esaf-dashboard-nav > a {
    border-right: 1px solid #ccc;
    border-collapse: collapse;
  }
  .esaf-dashboard-nav > a:not(:last-child) {
    border-bottom: 0;
  }
  #esaf-creatives-text-links-table .esaf-th-id,
  #esaf-creatives-text-links-table .esaf-th-example,
  #esaf-creatives-text-links-table .esaf-th-modified,
  #esaf-creatives-text-links-table .esaf-td-id,
  #esaf-creatives-text-links-table .esaf-td-example,
  #esaf-creatives-text-links-table .esaf-td-modified,
  .esaf-dashboard-custom-links-th-destination-url,
  .esaf-dashboard-custom-links-td-destination-url {
    display: none;
  }
}
@media (max-width: 1024px) {
  #esaf-creatives-text-links-table .esaf-th-id,
  #esaf-creatives-text-links-table .esaf-th-example,
  #esaf-creatives-text-links-table .esaf-td-id,
  #esaf-creatives-text-links-table .esaf-td-example {
    display: none;
  }
}
