/**
* All of the CSS for your public-facing functionality should be
* included in this file.
*/


.hidden {
	display: none !important;
}

/* Popup */
.pjaPopup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 50;
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.pjaPopup .bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--bg);
	opacity: 1;
}
.pjaPopup form {
	position: relative;
	background-color: var(--tint1);
	padding: 70px;
	overflow-y: scroll;
	max-width: 1440px;
	width: 100%;
}
.pjaPopup form .formMessages ul {
	margin-left: 0;
}
.pjaPopup form .formMessages ul li {
	color: var(--white);
}
.pjaPopup form .pjaHeader {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 45px;
}
.pjaPopup form .close {
	cursor: pointer;
}
.pjaPopup form h3 {
	font-size: 30px;
	line-height: 36px;
	font-weight: 600;
	margin: 0;
	color: var(--white);
}

.pjaPopup form h4:first-letter {
	text-transform: uppercase;
}

.pjaPopup form h4 {
	font-weight: normal;
	color: var(--white);
}

.pjaPopup form label {
	display: flex;
	flex-flow: column;
	color: var(--white);
}
.pjaPopup form label input[type="text"], .pjaPopup form label input[type="email"] {
	-webkit-appearance: none;
	outline: none;
	padding: 14px 30px;
	border-radius: 0;
	border: 0px;
	background-color: var(--white);
	color: #000000;
	margin-top: 10px;
}
.pjaPopup form label input::placeholder {
	color: #B6B6B6;
}
.pjaPopup form .fieldsWrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 25px 30px;
}
.pjaPopup form .fieldsWrapper .col-span-1 {
	grid-column: span 1;
}
.pjaPopup form .fieldsWrapper .col-span-2 {
	grid-column: span 2;
}
.pjaPopup form .fieldsWrapper .catCheckboxContainer {
	margin-top: 30px;
}
.pjaPopup form .fieldsWrapper .catCheckboxContainer label + label {
	margin-top: 10px;
}
.pjaPopup form .fieldsWrapper .catCheckboxContainer label {
	flex-flow: row;
	display: flex;
	align-items: center;
	cursor: pointer;
}

.pjaPopup form .taxonomy-container {
	display: grid;
	gap: 0 25px;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.pjaPopup form .fieldsWrapper .catCheckboxContainer input {
	-webkit-appearance: none;
	outline: none;
	width: 30px;
	height: 30px;
	border: 1px solid #F0F0F0;
	background-color: #F0F0F0;
	margin-right: 10px;
	flex-shrink: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}
.pjaPopup form .fieldsWrapper .catCheckboxContainer input:after {
	content: url(../assets/check-regular.svg);
	width: 16px;
	height: auto;
	line-height: 1;
	opacity: 0;
	transition: opacity 0.2s ease;
}
.pjaPopup form .fieldsWrapper .catCheckboxContainer input:checked:after {
	opacity: 1;
}

.pjaPopup form .taxonomy-container {
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}


/* Show popup */
body.pjaPopupShow {
	overflow: hidden;
}
.pjaPopupShow .pjaPopup {
	pointer-events: auto;
	opacity: 1;
}

.pja-toggle-container {
	width: 100%;
	text-align: right;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	grid-gap: 0 25px;
}

/* Styling for the toggle switch */
.pja-toggle-container .toggle-checkbox {
	display: none;
}

.pja-toggle-container .toggle-label {
	display: inline-block;
	width: 40px; /* Set the width of your toggle switch */
	height: 20px; /* Set the height of your toggle switch */
	background-color: #ccc; /* Background color for the switch */
	border-radius: 20px; /* Round the corners to make it look like a button */
	position: relative;
	cursor: pointer;
	box-shadow: 0 0 20px rgb(0 0 0 / 10%);
}

.pja-toggle-container .toggle-checkbox:checked + .toggle-label {
	background-color: #4CAF50; /* Change background color when the checkbox is checked */
}

/* Styling for the slider button */
.pja-toggle-container .toggle-checkbox + .toggle-label::before {
	content: '';
	position: absolute;
	width: 20px; /* Set the width of the slider button */
	height: 20px; /* Set the height of the slider button */
	background-color: white;
	border-radius: 50%; /* Create a circular button */
	top: 0;
	left: 0;
	transition: transform 0.2s ease; /* Add smooth transition effect */
}
.pja-toggle-container .toggle-checkbox:checked + .toggle-label::before {
	transform: translateX(20px);
}

.pja-title-toggle-container {
	display: flex;
	align-items: flex-start;
}

.pja-title-toggle-container h2 {
	width: 100%;
}

/* Responsive */
@media only screen and (max-width: 1600px) {
	.pjaPopup form {
		max-width: 100%;
		height: 100%;
	}
}
@media only screen and (max-width: 1024px) {
	.pjaPopup form .close {
		top: 20px;
		right: 20px;
		bottom: auto;
		left: auto;
		transform: unset;
	}
}

@media only screen and (max-width: 768px) {
	.pjaPopup form {
		width: 100%;
		height: 100%;
		padding: 70px 30px 30px;
		overflow-y: auto;
	}
	.pjaPopup form .fieldsWrapper .col-span-1 {
		grid-column: span 2;
	}
}