
#affwp-custom-links-table .affwp-custom-link, .affwp-custom-link-action, .affwp-form label {
	cursor: pointer;
}

table.affwp-table {
	text-align: left;
	width: 100%;
	border: none;
	margin: 0 0 21px;
	border-collapse: collapse;
}

table.affwp-table td, table.affwp-table th {
	text-align: left;
	border: 1px solid #eee;
	color: #666;
	padding: .3em 1em;
	max-width: 100%;
}

table.affwp-table th {
	background: #fafafa;
	font-weight: 700;
}

.affwp-form {
	margin-bottom: 20px;
}

.affwp-form fieldset {
	border: none;
}

.affwp-form legend {
	font-size: 120%;
	margin-bottom: 1em;
}

.affwp-form input[type=text], .affwp-form input[type=password], .affwp-form input[type=email], .affwp-form input[type=url], .affwp-form textarea {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.affwp-form input {
	border: 1px solid #eaeaea;
	border: 1px solid rgba(51, 51, 51, .1);
}

.affwp-form input[type=text].required, .affwp-form input[type=password].required, .affwp-form input[type=email].required, .affwp-form input[type=url].required {
	color: inherit;
}

.affwp-form input[type=checkbox] {
	display: inline-block;
}

.affwp-form label+input, .affwp-form label+select, .affwp-form label+textarea {
	width: 100%;
}

.affwp-form .affwp-field-terms-of-use-content {
	background-color: #fff;
	border: 1px solid rgba(51, 51, 51, .1);
	color: #444;
	padding: 0 1rem;
	margin: 1rem 0 .5rem;
	height: 8rem;
	overflow-y: auto;
	overflow-x: hidden;
	font-size: 14px;
}

.affwp-form .affwp-field-terms-of-use-content * {
	font-size: 14px;
}

.affwp-form .affwp-label-checkbox-multiple, .affwp-form .affwp-label-radio {
	display: flex;
	align-items: center;
}

.affwp-form .affwp-label-checkbox-multiple input, .affwp-form .affwp-label-radio input {
	margin: 0 5px 0 0;
}

.affwp-hidden {
	display: none;
}

.affwp-wrap {
	margin-bottom: 20px;
}

#affwp-custom-link-generator {
	background: #f9f9f9;
	padding: 20px;
	border: 1px solid #eaeaea;
	margin-bottom: 40px;
}

.affwp-custom-link-row {
	display: flex;
	justify-content: space-between;
	gap: 4rem;
	position: relative;
}

.affwp-custom-link-actions {
	display: flex;
	gap: 1rem;
	align-items: center;
	visibility: hidden;
	opacity: 0;
	transition: opacity .1s ease-out;
}

.affwp-custom-link-actions button:hover {
	background: 0 0;
	border: 0;
}

.affwp-custom-link-action {
	color: #666;
	transition: color .1s ease-out;
	width: 20px;
	height: 20px;
	display: inline-block;
}

#affwp-custom-links-table td[data-field=link]:hover .affwp-custom-link-actions {
	visibility: visible;
	opacity: 1;
}

button.affwp-tooltip {
	appearance: none;
	-webkit-appearance: none;
	border: none;
	margin: 0;
	padding: 0;
	background-color: unset !important;
	display: flex;
}

.affwp-errors, .affwp-notice {
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	border: 1px solid #e6db55;
	margin: 0 0 21px;
	background: #ffffe0;
	color: #333;
}

.affwp-error, .affwp-notice {
	padding: 10px;
}

p.affwp-error {
	margin: 0 !important;
}

#affwp-affiliate-dashboard h4, #affwp-affiliate-dashboard-url-generator h4, #affwp-graphs-filter {
	margin-bottom: 20px;
}

#affwp-affiliate-dashboard-url-generator h4 {
	margin-top: 0;
}

#affwp-affiliate-dashboard #affwp-affiliate-dashboard-tabs {
	margin: 0 0 20px;
	padding: 0;
	border: none;
}

#affwp-affiliate-dashboard #affwp-affiliate-dashboard-tabs li {
	display: inline-block;
	padding: 0 10px 0 0;
	margin: 0;
}

#affwp-affiliate-dashboard #affwp-affiliate-dashboard-tabs li.active {
	font-weight: 700;
}

#affwp-affiliate-dashboard #affwp-affiliate-dashboard-tabs li a {
	text-decoration: none;
}

#affwp-affiliate-dashboard .affwp-graph {
	margin-bottom: 20px;
}

#affwp-affiliate-dashboard .affwp-graph table {
	width: auto;
}

#affwp-affiliate-dashboard-visits {
	table-layout: fixed;
}

#affwp-affiliate-dashboard-visits .referring-url, #affwp-affiliate-dashboard-visits .visit-url {
	width: 30%;
}

#affwp-affiliate-dashboard-visits .referral-status {
	width: 15%;
}

#affwp-affiliate-dashboard-visits .visit-date {
	width: 25%;
}

#affwp-affiliate-dashboard .affwp-send-notifications-wrap label, .affwp-form .affwp-tos, .affwp-form .affwp-user-remember {
	width: auto;
}

#affwp-affiliate-dashboard-payouts-service {
	margin-bottom: 50px;
}

.affwp-form select#affwp-payout-service-account-type, .affwp-form select#affwp-payout-service-country {
	width: 100%;
}

.visit-converted i {
	display: inline-block;
	position: relative;
	top: 2px;
	left: 2px;
}

.visit-converted i:before {
	font-family: dashicons;
	font-style: normal;
}

.visit-converted.yes i:before {
	content: "";
	color: #5e95ef;
}

.visit-converted.no i:before {
	content: "";
	color: #ef6c5e;
}

.affwp-creative pre {
	background-color: transparent;
	background-color: rgba(0, 0, 0, .01);
	border: 1px solid #eaeaea;
	border: 1px solid rgba(51, 51, 51, .1);
	line-height: 1.5;
	max-width: 100%;
	overflow: auto;
	padding: 1em;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

.affwp-creative code, .affwp-creative pre {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

.affwp-table-wrap {
	overflow-x: auto;
}

.affwp-table {
	word-wrap: break-word;
	table-layout: auto;
}

.affwp-creative {
	margin-bottom: 40px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eaeaea;
	border-bottom: 1px solid rgba(51, 51, 51, .1);
}

.affwp-creative:last-of-type {
	border-bottom: none;
	padding-bottom: 0;
}

.screen-reader-text {
	position: absolute;
	margin: -1px;
	padding: 0;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
	word-wrap: normal !important;
}

.affwp-table-responsive td:before {
	content: attr(data-th) ": ";
	font-weight: 700;
	display: none;
}

@media (max-width:767px) {
	#affwp-affiliate-dashboard-campaign-stats .affwp-table-responsive td.affwp-table-no-data {
		display: block;
	}
	
	#affwp-affiliate-dashboard-payouts .affwp-table-responsive td.affwp-table-no-data:before, #affwp-affiliate-dashboard-referrals .affwp-table-responsive td.affwp-table-no-data:before, #affwp-affiliate-dashboard-visits .affwp-table-responsive td.affwp-table-no-data:before {
		display: none;
	}
	
	.affwp-table-responsive td:last-child {
		margin-bottom: 20px;
	}
	
	.affwp-table-responsive td:first-child {
		background-color: #fafafa;
	}
	
	.affwp-table-responsive td:before {
		display: inline-block;
	}
	
	.affwp-table-responsive th {
		display: none;
	}
	
	.affwp-table-responsive td {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: justify;
		-webkit-justify-content: space-between;
		-ms-flex-pack: justify;
		justify-content: space-between;
	}
	
	.affwp-custom-link-row {
		flex-direction: column;
		gap: 0;
	}
	
	.affwp-custom-link-actions {
		visibility: visible;
		opacity: 1;
		padding: 10px 0;
	}
}
