/* CSS for the modal background */
.acf-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

/* CSS for the modal content */
.acf-modal-content {
    background-color: var(--accent);
    padding: 90px;
    border: none;
    border-top-right-radius: 70px;
    width: 90%;
    max-width: 1000px;
    display: flex;
    flex-direction: row;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate3d(-50%, -50%, 0);

	@media (max-width: 767px) {
		padding: 50px !important;
	}

	@media (max-width: 960px) {
		flex-direction: column;
		padding: 70px;
	}
}

/* CSS for the close button */
.acf-modal-close {
    cursor: pointer;
    position: absolute;
    top: 25px;
    right: 35px;
	width: 22px;
	height: 22px;
}

.acf-modal-close:before {
	position: absolute;
	top: 13px;
	left: 1px;
	content: '';
	width: 22px;
	height: 2px;
	transform: rotate(45deg);
	background-color: #ffffff;
}

.acf-modal-close:after {
	position: absolute;
	top: 13px;
	left: 1px;
	content: '';
	width: 22px;
	height: 2px;
	transform: rotate(-45deg);
	background-color: #ffffff;
}

/* CSS for the modal left section */
.acf-modal-content .left {
    color: white;
    font-weight: bold;
}

/* CSS for the modal right section */
.acf-modal-content .right {
	padding-left: 120px;
    color: white;

	@media (max-width: 960px) {
		padding-left: 0;
		margin-top: 30px;
	}
}

#acf-modal-date {
	margin-top: 30px;
	font-weight: 400;
}

.acf-modal-content .right .cta-btn {
    margin-top: 20px;
    background-color: transparent;
	border-color: #ffffff;
}

.acf-modal-content .right .cta-btn:hover {
    background-color: #ffffff;
	color: var(--accent);
}