.referral-container {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: white;
}

.referral-content {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	width: 40%;
	margin-left: 5%;
}

.referral-sub-header {
	font-family: "Lora",serif;
	font-style: italic;
	font-size: 20px;
}

.referral-sub-header, .referral-header, .referral-explanation, .referral-form {
	width: 100%;
	text-align: center;
}

span.referral-explanation {
	padding: 0.5rem 1rem 1rem;
}

.referral-form {
	border-top: 1px solid #ebebeb;
	padding: 1rem;
}

.swell-single-share-link a {
	text-decoration: none;
	color: black;
}

.swell-single-share-link {
	cursor: pointer;
}

.swell-single-share-link a span {
	margin-left: 12px;
} 

.swell-share-links-container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	width: 100%;
	order: 3;
}

.bluerrd {
	opacity: 0.3;
}

.error {
	color: red;
	display: block;
}

.referral-header {
	font-size: 30px;
	font-weight: 400;
	margin-top: 5px;
}

.swell-share-links-container:before {
	content: "You can also share your link with the buttons below";
	width: 100%;
	font-size: 12px;
}

.swell-single-share-link a {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1rem;
	height: 2rem;
}

.referral-content input[type=text] {
	border: 0px solid;
	margin: 0;
	padding: 1rem;
	width: 75%;
	height: 40px;
}

.referral-content input[type=submit] {
	width: 25%;
	height: 40px;
	margin-bottom: 2px;
}

::placeholder {
	color: black;
}

.success-confirmation span {
	color: black;
}

.success-confirmation {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 100%;
	background-color: #fbfbf9;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	min-height: auto;
	padding: 30% 10%;
    flex-flow: column;
}

.success-confirmation-close {
	color: white;
	background-color: black;
	padding: .5rem 4rem;
	font-weight: 800;
	margin-top: 15px;
}

.referral-text-container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

@media screen and (max-width: 800px) {
	.referral-image {
		display: none;
	}

	.referral-header {
		font-size: 24px;
		margin: 10px;
	}

	span.referral-explanation {
		width: 100%;
		padding: 5px 70px;
		line-height: 18px;
	}

	.referral-content {
		width: 100%;
		margin: 5% 2%;
	}

	.referral-form p {
		padding: 0 70px;
		line-height: 18px;
	}

	.referral-form input[type=submit], .referral-form input[type=text]  {
		width: 100%;
		margin: 7px 0;
	}

	.referral-form input[type=text]  {
		font-size: 9px;
	}

	.referral-sub-header {
		font-size: 16px;
	}
}