/* Affiliate WP */
.ns_affwp-boxed-coupon {
	position: relative;
	padding: 40px;
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
	align-items: center;
}

.ns_affwp-boxed-coupon:after {
	position: absolute;
	top: 8px;
	left: 8px;
	right: 8px;
	bottom: 8px;
	border-radius: 4px;
	border: 2px dashed var(--hipnos-color-secondary-3);
	content: "";
	pointer-events: none;
}

.ns_affwp-boxed-coupon .col-xs-12 {
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.ns_affwp-col {
	position: relative;
}

.ns_affwp-col > .ns_boxed-background {
	height: auto;
}

#affwp-register-form{
	margin-bottom: 0px;
}

@media only screen and (min-width: 768px) {
	.ns_affwp-col + .ns_affwp-col > .ns_boxed-background {
		position: absolute;
		top: 34px;
		bottom: 0px;
		left: 16px;
		right: 16px;
	}
}

@media only screen and (max-width: 767px) {
	.ns_affwp-col + .ns_affwp-col {
		margin-top: 32px;
	}
}

/* Dashboard */
#ns_affwp-affiliate-account .ns_font-s_xs.ns_tooltip-trigger{
	position: relative;
}

#ns_affwp-affiliate-account .ns_font-s_xs.ns_tooltip-trigger > img{
	display: inline-block;
	position: relative;
	top: 3px;
}

/* Referrals */
th.referral-amount,
td.referral-amount,
th.referral-status,
td.referral-status {
	text-align: center;
}

#ns_affwp-affiliate-referrals {
	margin-top: 32px;
}

#ns_affwp-affiliate-referrals-mobile {
	display: none;
}

@media only screen and (max-width: 1023px) {
	#ns_affwp-affiliate-referrals-desktop {
		display: none;
	}

	#ns_affwp-affiliate-referrals-mobile {
		display: flex;
	}
}

/* Order details */
#ns_my-account-orderdetails .ns_my-account-order-details-referral.ns_boxed-background .col-xs-12,
.ns_affwp-predicted_referral-message{
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-direction: row;
	flex-wrap: nowrap;
}

#ns_my-account-orderdetails .ns_my-account-order-details-referral.ns_boxed-background .col-xs-12 .ns_icon,
.ns_affwp-predicted_referral-message .ns_icon{
	flex: none;
	display: block;
	margin-right: 16px;
}

.ns_affwp-predicted_referral-message{
	text-align: left;
}

#cfw-totals-list table tr.ns_cfw-affwp-predicted_referral-message{
	display: block;
	margin-top: 24px;
	margin-bottom: 0px;
	padding-top: 24px;
	line-height: 18px;
	border-top: 2px solid var(--hipnos-color-secondary-3) !important;
}

#cfw-totals-list table tr.ns_cfw-affwp-predicted_referral-message strong{
	font-weight: var(--hipnos-font-weight-bold);
}

#cfw-totals-list table tr.ns_cfw-affwp-predicted_referral-message a{
	color: var(--hipnos-color-secondary-1);
}

#cfw-totals-list table tr.ns_cfw-affwp-predicted_referral-message .ns_boxed-background{
	display: block;
}
