/* PopUp */
.dfd-popup-c {
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	z-index: 9999999999999;
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: space-between;
	/* opacity: 0.2; */
	background-color: rgb(0, 0, 0, 0.5);
}

.close-popup-btn {
	align-self: center;
	margin: var(--spaces-md);
}

span#closeDfdPopup {
	position: absolute;
}

.dfd-popup-c #dfdlink {
	width: 80%;
	height: fit-content !important;
}

#dfdpopup {
	text-align: center;
	width: 100%;
	height: 100%;
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: var(--border-radius);
}

.dfdlinkpointer {
	cursor: pointer;
}

#dfdpopup.hidden {
	display: none;
}

#dfdpopup #closeDfdPopup {
	font-weight: bold;
	cursor: pointer;
	justify-self: flex-end;
	align-self: flex-start;
	padding-right: 5px;
	font-size: 30px;
	position: absolute;
	right: 20px;
	top: 20px;
}


/* For control custom text auto tags styles */
pre,
p {
	margin: 0px;
}

/* Image */
#dfdpopup .img {
	width: 100%;
	margin-bottom: var(--spaces-md);
}

#dfdpopup .img > img{
	width: 20%;
	object-fit: cover;
	height: 100%;
}
/* Content*/
.popup_content {
	padding: 3em;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

.popup_content .popup_text {
	padding: 10px;
	justify-self: center;
	align-self: center;
}

.popup_content .popup_text .title {
	font-size: 1.7em;
}

.popup_content .popup_text p{
	font-size: 18px;
	margin: 5px 0;
}

.popup_content .popup_text .bold {
	color: var(--color-primary);
	font-size: 4em;
	display: block;
    margin: 10px 0;
}
.popup_content .popup_text h2,
.popup_content .popup_text h3,
.popup_content .popup_text h4{
	text-transform: uppercase;
}

.popup_content .popup_title
{
	font-size: 24px;
	text-transform: uppercase;
	color: var(--color-white);
	font-weight: 600;
}


/* Countdown */
#popup_countdown_date {
	display: none;
}

.popup_countdown {
	justify-self: end;
}

/* Countdown content grid */
.popup_countdown_content {
	margin: 10px;
	display: grid;
	grid-template-areas:
		"d h m s"
		"df hf mf sf";
}

.popup_days {
	grid-area: d;
}

.popup_days_foot {
	grid-area: df;
}

.popup_hours {
	grid-area: h;
}

.popup_hours_foot {
	grid-area: hf;
}

.popup_minutes {
	grid-area: m;
}

.popup_minutes_foot {
	grid-area: mf;
}

.popup_seconds {
	grid-area: s;
}

.popup_seconds_foot {
	grid-area: sf;
}

/* Countdown styles */
.popup_countdown_content * {
	padding: 10px;
	margin: 2px;
	width: 50px;
	display: flex;
	text-align: center;
	justify-content: center;
	align-items: center;
}

.popup_date_item {
	border: outset grey 0.5px;
	border-radius: 8px;
}

.popup_date_foot {
	padding-top: 0px;
	padding-bottom: 0px;
}


/* Newsletter styles*/
#dfdpopup .block_newsletter {
	margin: 2em 0;
	background-color: transparent !important;
}

#dfdpopup .block_newsletter #block-newsletter-label {
	display: none;
}

#dfdpopup .block_newsletter .psgdpr_consent_message * {
	color: black !important;
}

@media(max-width: 1440px) {
	.dfd-popup-c #dfdlink{
		width: 60% !important;
	}
}

@media(max-width: 991px) {

	.dfd-popup-c #dfdlink{
		width: 90% !important;
		height: fit-content !important;
	}

	.popup_countdown {
		justify-self: center;
	}

	/* Countdown styles */
	.popup_countdown_content * {
		margin: 5px;
	}

	.popup_date_item {
		border: outset grey 0.5px;
		border-radius: 8px;
	}

	.popup_date_foot {
		padding-top: 0px;
		padding-bottom: 0px !important;
		padding-left: 0px !important;
		margin-left: 0px;
		margin-right: 0px;
		display: flex;
		justify-content: left;
	}

	.popup_date_foot span {
		width: auto;
		height: 100%;
	}

	.popup_countdown_content * {
		padding: 5px;
		width: 35px;
	}

	.popup_date_foot * {
		padding: 0px;
		margin: 0px;
		width: 35px;
		text-align: left;
	}

	.popup_countdown_content {
		display: grid;
		grid-template-areas:
			"d df h hf m mf s sf";
	}

}

@media(max-width: 768px){

	.popup_content{
		width: 100%;
		padding: 2em 1em;
	}

	#dfdpopup .block_newsletter{
		margin: 1em 0;
	}
}