#kategorije-programa .ds-event__category {
	font-size: 14px!important;
	font-weight: 700;
	color: #6C4F92;
	margin: 0;
	text-transform: uppercase;
}

.filter-container {
	display: flex;
	gap: 8px;
	margin-bottom: 15px;
	
	.elementor-button {
		width: 100%;

		&:focus, &:active {
			outline: unset!important;
		}
	}
	
	#filter-button {
		text-transform: uppercase;

		@media(max-width: 768px) {
			padding: .5rem 1rem!important;
		}
	}
	
	.btn-white {
		background-color: white !important;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        max-width: unset !important;
        border: 1px solid #D2D2D3!important;
        color: #ADADAE !important;
        padding: 0 !important;
        flex-shrink: 0;
		
		img {
			width: 16px;
    		height: 16px;
			flex-shrink: 0;
		}
		
		&:hover, &:focus, &:active {
			background-color: #D2D2D3 !important;
        	border: 1px solid #D2D2D3!important;;
			box-shadow: none!important;
		}
	}
	
	@media(min-width: 769px) {
		justify-content: flex-end;
		
		.elementor-button {
			max-width: 136px;
		}
	}

	@media (min-width: 769px) and (max-width: 1024px) {
		&:has(:nth-child(6)) {
			flex-wrap: wrap;
    		justify-content: flex-start;

			> * {
				flex-basis: calc(33% - 3px);

				.filter-select {
					max-width: unset;
				}
			}
		}
	}
	
	@media(max-width: 768px) {
		flex-direction: column;
		position: fixed;
		right: 0;
		top: 167px;
		transform: translateX(100%);
		transition: all .3s ease-out;
		background-color: white;
		z-index: 20;
		padding: 16px;
		box-shadow: 0px 0px 48px 0px rgba(0, 0, 0, 0.129);
		border-radius: 8px;
		width: 308px;
		
		&.active {
			transform: translateX(0%);
		}
		
		> button, > select {
			flex-basis: 100%;
		}
	}
	
	.filter-select {
		border: 1px solid #D2D2D3;
		width: 100%;
		
		&:focus {
			box-shadow: none;
			outline: none;
			border: 1px solid #00B3B4;
			background-color: #F9FFFF;
		}
	}
}

.filter-wrapper {
	position: relative;
	width: 267px;

	&::after {
		content: '';
		position: absolute;
		top: 50%;
		right: 10px;
		width: 14px;
		height: 8px;
		background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6.29289 6.29289C6.62623 6.62623 6.79289 6.79289 7 6.79289C7.20711 6.79289 7.37377 6.62623 7.70711 6.29289L13 1' stroke='%232A353D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
		background-size: contain;
		background-repeat: no-repeat;
		transform: translateY(-50%);
		pointer-events: none;
	}

	.filter-select {

		&:not(.custom-select) {
			-webkit-appearance: none;
			appearance: none;
		}

		@media(min-width: 769px) {
			max-width: 267px;
			width: 100%;
		}
	}

	&:focus-within, &:has(.active) {
		&::after {
			transform: translateY(-50%) rotate(180deg);
		}
	}
}

button.dsju-btn-outline {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #343435!important;
	border: 1px solid #E3E3E5!important;
	background-color: transparent!important;
	font-size: 14px!important;
	padding: .5rem 1rem!important;
	
	&:hover {
		color: #343435!important;
		background-color: #F9FFFF!important;
	}

	&.filter-mobile-close {
		padding: 6px 11px!important;
		
		i {
			font-size: 24px!important;
		}
	}
}

.filter-mobile-switch {
	display: none!important;
	flex-shrink: 0;

	@media(max-width: 768px) {
		display: flex!important;
	}
}

.custom-select {
	background-color: white;
	padding: 0;
	display: flex;
	width: 100%;
	cursor: pointer;
	border-radius: 3px;
	transition: all .3s;
	
	.custom-select-label {
		padding: .5rem 1rem;
		padding-right: 32px;
		width: 100%;
		line-height: 1.5;
		user-select: none;
		cursor: pointer;
	}
	
	.custom-select-content {
		position: absolute;
		transform: translate(-1px, 40px);
		border: 1px solid #D2D2D3;
		background-color: white;
		z-index: 9999;
		display: none;
		flex-direction: column;
	}
	
	&.active {
		border-radius: 3px 3px 0 0;
		border-color: rgb(0, 179, 180);
		
		.custom-select-content {
			display: flex;
			border-top-color: rgb(0, 179, 180);
		}
	}
}

.dsju-checkbox {
	display: flex;
	align-items: center;
	gap: 5px;
	
	strong {
		font-weight: 600;
	}
}

.filter-button-group {
	display: flex;
	gap: 8px;
}

.filter-mobile-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding-bottom: 20px;

	h4 {
		margin: 0;
	}

	@media(min-width: 769px) {
		display: none;
	}
}

/* custom checkbox - START */

.dsju-checkbox {
	display: flex;
	gap: 7px;
	position: relative;
	cursor: pointer;
	transition: all .1s ease-out;
	
	strong {
		user-select: none;
		line-height: 1.1;
	}

	.checkmark {
		display: flex;
		justify-content: center;
		align-items: center;
		border: 2px solid #525253;
		background-color: white;
		border-radius: 2px;
		width: 18px;
		height: 18px;
		flex-shrink: 0;

		&::after {
			content: "";
			background-color: #6C4F92;
			border-radius: 1px;
			width: 0;
			height: 0;
			visibility: hidden;
			display: flex;
			transition: all .1s ease-out;
		}
	}

	input {
		visibility: hidden;
		position: absolute;
		inset: 0;

		&:checked {
			~ .checkmark {
				&::after {
					width: 12px;
					height: 12px;
					visibility: visible;
				}
			}

			
			~ strong {
				color: #6C4F92;
			}
		}
	}
}

	.custom-select-content {
		padding: 0;
		border-radius: 0 0 4px 4px;

		.dsju-checkbox {
			padding: 8px 12px;

			&:hover {
				background-color: #EFE6F2;
			}
		}
	}

/* custom checkbox - END */

#dsju-raspored-list {
	margin-bottom: 150px!important;
}