.learndash-wrapper .ld-button.ld-login-button:not([disabled]):not(.ld-button-reverse):not(.ld-button-transparent):not(.ld--ignore-inline-css) {
	background-color: #FFC845 !important;
	color: #000 !important;
}

.learndash-wrapper .ld-content-action .ld-button.disabled {
	filter: grayscale(1) brightness(2);
}

@media only screen and (max-width: 768px) {
	.is-hidden-mobile {
		display: none !important;
	}

	.course-completion-page {
		flex-basis: 100% !important;
	}
}

#ld-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	padding: 24px 32px;
	border-radius: 4px;
	box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
	z-index: 10001;
	max-width: 90%;
	text-align: center;
	border-top: 2px solid #dc143c;
}
#ld-modal p {
	font-size: 1.2em;
	margin-bottom: 20px;
	font-weight: 500;
	color: #424D5B;
}
#ld-modal p:first-child {
	margin-top: 2em;
}
#ld-modal .ld-button {
	background-color: #dc143c !important;
	color: #ffffff;
	padding: 10px 20px;
	border-radius: 100px;
	display: inline-block;
	margin: 1em auto;
	position: relative;
}
#ld-modal .ld-button .ld-icon.ld-icon-arrow-right {
	float: right;
	margin: 0 -10px 0 10px;
	transform: scale(0.6);
	line-height: 1.2;
}
#ld-modal button {
	position: absolute;
	top: 0;
	right: 0;
	background: none !important;
	color: #999;
}
#ld-modal button:hover {
	color: #111;
}

/* referral form, parent class set in cornerstone */
.referral-form .wpforms-container .wpforms-field-container .wpforms-field-label {
    color: #424D5B !important;
}
.referral-form .wpforms-container .wpforms-field-container .wpforms-required-label {
    color: rgb(220, 20, 60) !important;
}
.referral-form .wpforms-container .wpforms-submit {
    background-color: rgb(220, 20, 60) !important;
    border-radius: 100px !important;
    padding-left: 1.2em !important;
    padding-right: 1.2em !important;
}
.referral-form .wpforms-container .wpforms-submit:disabled {
    background-color: #ccc !important;
}
.referral-form .wpforms-container .wpforms-field-container textarea {
    min-height: 300px !important;
}
.referral-form-buttons .button {
    border-radius: 0.35em;
    background-color: rgba(255,255,255,1);
    padding: 0.575em 2em;
    display: inline-block;
    text-align: center;
    font-family: "Karla",sans-serif;
    letter-spacing: 0.004em;
    color: black;
    font-weight: 600;
    border: 1px solid black;
    background: white;
    margin-right: 10px;
}
.referral-form-buttons .button:hover {
    cursor: pointer;
    background: black;
    color: white;
}
.referral-form-buttons .button.disabled {
    cursor: not-allowed !important;
    background: #ccc !important;
    border-color: #ccc !important;
    color: white !important;
}
.referral-links-preview.is-active,
.email-preview-html.is-active {
    padding: 2em !important;
    border: 1px solid #ccc !important;
    background: #eee !important;
    margin: 1em 0 !important;
    border-radius: 4px !important;
}
.referral-links-preview.is-active h3,
.email-preview-html.is-active h3 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.referral-links-preview.is-active a,
.email-preview-html.is-active a {
    color: #235af3 !important;
    text-decoration: underline !important;
}

/*
.wpforms-entry-preview .wpforms-entry-preview-label:last-child {
	display: none !important;
	color: red !important;
}
.wpforms-entry-preview .wpforms-entry-preview-value:last-child {
	display: none !important;
	color: red !important;
}
*/
.wpforms-entry-preview div:nth-last-child(-n + 2) {
    display: none !important;
}
