td.legendLabel{
  position: relative;
  visibility: hidden;
}
.legend table tbody tr td.legendLabel:after{
  visibility: visible;
  position: absolute;
  left: 0;
  padding-left: 10px;
  background: white;
  width: calc(100% - 10px);
}
.legend table tbody tr:nth-child(1) td.legendLabel:after{
  content: 'Unpaid Lead Earnings';
}
.legend table tbody tr:nth-child(2) td.legendLabel:after{
  content: 'Pending Lead Earnings';
}
.legend table tbody tr:nth-child(3) td.legendLabel:after{
  content: 'Rejected Lead Earnings';
}
.legend table tbody tr:nth-child(4) td.legendLabel:after{
  content: 'Paid Lead Earnings';
}
/*affiliate dash*/
#affwp-affiliate-dashboard-tabs{
  display: flex;
  column-gap: 50px;
  border-bottom: 2px solid var(--ecap-grey2) !important;
  padding-bottom: 20px !important;
  margin-bottom: 50px !important;
}
#affwp-affiliate-dashboard-tabs li::before{
  display: none;
}
#affwp-affiliate-dashboard-tabs li.active a{
	font-weight: bold !important;
	color: var(--ecap-orange);	
}
#affwp-affiliate-dashboard-tabs li a:hover{
	color: var(--ecap-orange);	
}
#affwp-affiliate-dashboard-tabs li.active::after{
  content: " ";
  display: block;
  width: 100%;
  height: 3px;
  background: var(--ecap-orange);
  position: relative;
  top: 22px;
}
.affwp-affiliate-dashboard-tab a {
  font-weight: 300 !important;
  color: var(--ecap-slate);
  font-size: 18px;
}
button.affwp-affiliate-link-copy-link, #affwp-generator-submit-btn, #ale-submit{
	background: white;
	color: var(--ecap-orange);
	font-size: 16px;
	font-weight: bold;
	border: 2px solid var(--ecap-orange);
	min-width: 130px;
	padding: 5px 20px !important;
	text-transform: uppercase;
	font-family: var(--ecap-font-montserrat);
	white-space: nowrap;
	cursor: pointer;
	height: 38px;
	
}
#affwp-generator-submit-btn{
	margin-top: 9px;
}

.affwp-affiliate-link__input{
	padding: 5px 20px !important;
}

#affwp-affiliate-dashboard-url-generator {
	display: grid;
	grid-template-rows: auto auto;
	grid-template-areas:
	"left   right "
  "before before"
	"bottom bottom" 
	"after  after ";
	gap: 40px;
}
#affwp-affiliate-dashboard-url-generator table{
	grid-area: bottom;
}
#affwp-custom-link-generator > p{
	display: none;
}
#affwp-affiliate-dashboard-url-generator > * {
  margin-bottom: 0
}
#affwp-affiliate-dashboard-visits{
	border-spacing: 0 !important;
	margin-left: 0 !important;
}
.affwp-card{
	display: flex;
	flex-wrap: wrap;
}
.affwp-card .affwp-card__header{
	width: 100%;
}
.affwp-card__content{
	flex-grow: 1;
}
#affwp-affiliate-dashboard h3, #affwp-affiliate-dashboard h4 {
  font-weight: bold !important;
  font-size: 35px !important;
  margin-bottom: 30px !important;
}

html body .affwp-table tr th{
  background-color: white !important;
  border: 0 !important;
  color: var(--ecap-currency) !important;
  padding: 20px 0 !important;
}
html body .affwp-table tr td{
  background-color: var(--ecap-grey2) !important;
  border: 0 !important;
  font-size: 18px !important;
  line-height: 1;
  vertical-align: middle;
}
html body .affwp-table tr td br{
	display: none;
}
#affwp-custom-links-table tr:nth-child(even) td{
	background-color: var(--ecap-grey1) !important;
}
.affwp-wrap label{
	display: block;
}
.affwp-wrap br, .affwp-save-profile-wrap br, #affwp-affiliate-dashboard-visits p{
	display: none;
}
.affwp-send-notifications-wrap label{
	display: inline-block;
}
html .affwp-affiliate-link__display {
  gap: 48px;
}
#affwp-affiliate-dashboard-earnings-stats{
	margin-bottom: 40px;
}

@media screen and (min-width:768px) {
	html body .affwp-table {
		border: 0 !important;
		border-spacing: 30px !important;
		border-collapse: unset !important;
		margin-left: -30px !important;
		table-layout: fixed;
	}
	#affwp-custom-links-table{
		table-layout: auto;
		border-spacing: 0px !important;
		margin-left: 0px !important;
	}
	#affwp-affiliate-dashboard-earnings-stats table, #affwp-affiliate-dashboard-referral-counts table{
		display: grid;
		grid-template-columns: 1fr;
		margin-left: 0 !important;
	}
	#affwp-affiliate-dashboard-earnings-stats table tr, #affwp-affiliate-dashboard-referral-counts  table tr{
		display: grid;
		gap: 30px;
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
}
@media screen and (max-width:767px) {
	html body #affwp-affiliate-dashboard-tabs{
		column-gap: 30px;
		padding-bottom: 50px !important;
	}
	.affwp-table td{
		padding: 30px !important;
	}
	html .affwp-custom-link-actions {
    	padding: 30px 0 10px 0;
	}
}
	html body .affwp-wrap{
		margin-bottom: 50px;
	}

#affwp-affiliate-dashboard-campaign-stats {
  border-top: 2px solid var(--ecap-grey2) ;
}
#affwp-affiliate-dashboard-campaign-stats table th{
	padding-top: 0 !important;
}
.affwp-custom-link > br, .affwp-edit-custom-link > br{
	display: none;
}
#affwp-graphs-date-options{
	max-width: 200px;
}
#affwp-promotion-method{
	max-height: 5em;
}
@media screen and (max-width:400px) {
	.affwp-card{
		max-width: 92vw;
	}
}
@media screen and (max-width:999px) {
	#affwp-affiliate-dashboard-tabs {
		display: grid;
		gap: 50px;
		grid-template-columns: 1fr 1fr 1fr;
	}
	#affwp-affiliate-dashboard-url-generator table {
		grid-area: unset;
	}
	#affwp-affiliate-dashboard-url-generator {
		display: grid;
		grid-template-rows: 1fr;
		grid-template-areas: unset;
	}
	.affwp-card__footer{
		width: 100% !important;
	}
}
@media screen and (max-width:1460px) {
	.affwp-affiliate-link__display {
		flex-wrap: wrap;
	}
	.affwp-card__footer br{
		display: none;
	}
	.affwp-affiliate-link__input{
		margin-bottom: 20px;
	}
}
body .gform_wrapper.gravity-theme .gform_fields {
  grid-template-columns: repeat(3,1fr);
}
body .gform_wrapper.gravity-theme .gfield {
  grid-column: unset;
}
#affwp-creatives-modal.fancybox__content > .f-button.is-close-btn {
  top: 5px;
  right: 5px;
  opacity: 1;
  color: var(--ecap-grey5);
}
.affwp-button{
  padding: 7px 11px;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: all .45s cubic-bezier(.25,1,.33,1);
  width: auto;
  background-color: #f7901e !important;
}
#affwp-creatives-modal .affwp-creative-preview {
  background: whitesmoke;
  border-radius: 4px;
  border: none;
}
.affwp-creative-preview img{
  margin-bottom: 0 !important;
}
.affwp-view-switcher li:before{
  display: none;
}
.affwp-view-switcher li p{
  height: auto;
  width: auto;
  line-height: 1 !important;
  font-size: 12px !important;
}
#affwp-creatives-modal{
  top: 2vw;
  max-height: 80vh;
  overflow-y: scroll;
}

/* affiliate forms */

.affwp-form legend, #affwp-login-form p br, p.hidden{
	display: none;
}
.affwp-form label{
	margin-bottom: 10px;
  	display: inline-block;
}
.affwp-form input[type="text"], .affwp-form input[type="email"], .affwp-form input[type="url"], .affwp-form input[type="password"], .affwp-form input[type="tel"],  .affwp-form textarea{
	background: white !important;
	color: var(--ecap-slate) !important;
	opacity: 1;
	font-size: 18px;
}
#affwp-affiliate-dashboard input:not([type="submit"]){
	background: rgba(0,0,0,.04) !important;
	color: var(--ecap-slate) !important;
	opacity: 1;
	font-size: 18px;
	padding: 5px 20px !important;
}
#affwp-affiliate-dashboard input[type="submit"]:hover{
	transform: none !important;
	box-shadow: none !important;
}
html body.material input:not([type="submit"]):focus, html body.material textarea{
	border-color: transparent !important;
	box-shadow: none;
}
.affwp-form p {
	padding-bottom: 0.5em;
}
.affwp-form input[type="submit"]{
	margin-top: 20px;
}
html body .affwp-notice, html body .affwp-error{
	background: none;
	font-size: 18px;
	margin-bottom: 40px !important;
	border-radius: 4px;
	display: inline-block;
	padding: 15px 20px 15px 20px !important;
	position: relative;
	color: var(--ecap-slate);
	min-width: 33%;
}
html body .affwp-notice.closable, html body .affwp-error.closable{
	padding-right: 60px !important;
}
.affwp-errors{
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
}
.affwp-errors > .affwp-error:last-child{
  margin-bottom: 10px !important;
}
html body .affwp-error{
	border: 2px solid var(--ecap-error);
}
html body .affwp-notice{
	border: 2px solid var(--ecap-success);
}
.affwp-notice::before, .affwp-error::before{
  content: "\f00c";
  font-family: var(--ecap-font-awesome);
  color: var(--ecap-success);
  font-weight: normal;
  font-style: normal;
  margin-right: 1em;
  font-size: 1em;
}
.affwp-error::before{
  content: "\f071" !important;
  color: var(--ecap-error) !important;
}
.affwp-notice::after, .affwp-error::after{
	content: "";
	background: var(--ecap-success);
	opacity: 0.1;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: -1;
}
.affwp-error::after{
	background: var(--ecap-error) !important;
}
.notice-close{
	padding: 0 0.5em;
	cursor: pointer;
	z-index: 10;
	position: absolute;
	font-size: 2em;
	transform: rotate(45deg);
	top: 0;
	height: 100%;
	align-content: center;
	right: 0;
}
.affwp-lost-password{
	display: none !important;
}
body:not(.woocommerce-cart) .main-content table tr:nth-child(2n+1){
	background-color: white;
}

/*lead entry form*/
#aff-lead-entry br {
  display: none;
}
#aff-lead-entry {
  display: flex;
  flex-wrap: wrap;
  gap: 20px
}
@media screen and (min-width:1000px){
  #aff-lead-entry input:not(.submit), #aff-lead-entry select{
    width: calc(50% - 10px)
  }
}
#aff-lead-entry {
  max-width: 800px
}
.submit-wrap{
	width: 100%;
	display: flex;
	gap: 20px;
}
.spinner-wrap{
	align-content: center;
}
.spinner-wrap i{
	font-size: 20px;
}
.manual-lead-entry {
  margin-top: 60px;
  border: 1px solid rgba(17,24,39,.05);
  box-shadow: transparent 0 0 0 0,transparent 0 0 0 0,rgba(0,0,0,.1) 0 1px 3px 0,rgba(0,0,0,.1) 0 1px 2px -1px;
  padding: 1.5rem;
  display: inline-block;
}
.submit-wrap{
	margin-top: 1.5rem;
}

/*Payouts*/
.affwp-payout-service-dob-wrap p{
  padding: 0;
}
.affwp-payout-service-dob-wrap select{
  margin-bottom: 20px
}
#affwp-affiliate-dashboard-payouts-service input, #affwp-affiliate-dashboard-payouts-service select, #affwp-affiliate-dashboard-profile input {
  max-width: 400px;
}
#affwp-affiliate-dashboard-payouts-service label, #affwp-affiliate-dashboard-profile label{
  display: block;
  margin-bottom: 20px;
}
#affwp-affiliate-dashboard-payouts-service br {
  display: none;
}

/*Creative Button Fix*/
.affwp-button svg{
  display: none;
}
/*
	.affwp-button::before{
	content: "DOWNLOAD";
	font-size: 14px;
	}
	.affwp-button[data-action="copy"]::before{
	content: "Copy Code";
	}
	.affwp-button[data-action="view-details"]::before{
	content: "View";
	}
*/
.container-wrap .main-content ul:not(.gform_fields, .gsurvey-rank) li::before{
  display: none !important;
}
#affwp-affiliate-dashboard-creatives .affwp-creatives-types-menu a br, .affwp-creatives-filters br{
	display: none;
}
body[data-form-submit="regular"] .container-wrap input[type="submit"] {
  padding: 12px 22px !important;
}
