#toggle-prettyblocks {
	position: fixed;
	bottom: 2rem;
	left: 2rem;
	z-index: 9999;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: rgb(85 48 190);
	border: none;
	background-image: url('../img/logo.png');
	background-size: 25px;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	pointer-events: none;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	transform: translateY(20px);
}

#modal-prettyblocks .logo-pb {
	width: 20px;
	height: 20px;
	background-image: url('../img/logo.png');
	background-size: 100%;
	background-position: center;
	background-repeat: no-repeat;
	display: block;
	margin: 0 auto;
}

#toggle-prettyblocks:hover {
	background-color: rgb(167 139 249);
}

body.pb-active:not(.toggle-pb) #toggle-prettyblocks {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

#modal-prettyblocks {
	position: fixed;
	bottom: 2rem;
	left: 2rem;
	background: #fff;
	width: 300px;
	height: 400px;
	z-index: 10000;
	border-radius: 10px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	transform: translateY(20px);
	transition: all 0.3s ease;
}

body.toggle-pb #modal-prettyblocks {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

#modal-prettyblocks .wrapper {
	padding: 5px 15px 40px;
	max-height: 344px;
	overflow-y: auto;
	overscroll-behavior: contain;

}

#modal-prettyblocks .wrapper::-webkit-scrollbar {
	width: 5px;
}

#modal-prettyblocks .wrapper::-webkit-scrollbar-track {
	background: #f1f1f1;
}

#modal-prettyblocks .wrapper::-webkit-scrollbar-thumb {
	background: #888;
}

#modal-prettyblocks .wrapper::-webkit-scrollbar-thumb:hover {
	background: #555;
}


#modal-prettyblocks .close-pb::after {
	content: "×";
	font-size: 1.5rem;
	font-weight: 300;
	color: white;
}

#modal-prettyblocks .close-pb {
	cursor: pointer;
}

#modal-prettyblocks #v-pills-tab {
	padding: 10px 0 0;
	margin-bottom: 10px;
	gap: 10px;
}

#modal-prettyblocks .ax-nav-link {
	border: 1px solid rgb(85 48 190);
	color: rgb(85 48 190);
	padding: 5px 8px;
	border-radius: 4px;
	transition: all 0.3s ease;
	background: white
}

#modal-prettyblocks .ax-nav-link:hover {
	background: rgba(85, 48,  190,  .1);
}

#modal-prettyblocks .ax-nav-link.active {
	background: rgb(85 48 190);
	color: #fff;
}

#modal-prettyblocks .header {
	background: rgb(85 48 190);
	color: #fff;
	padding: 10px 15px;
	font-size: 1.2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	margin-bottom: 35px;
}

#modal-prettyblocks .header #search-prettyblocks {
	position: absolute;
	left: 50%;
	top: calc(100% + 10px);
	transform: translateX(-50%);
	width: calc(100% - 30px);
}

#prettyblocks-languages_input {
	position: absolute;
	opacity: 0;
	left: -9999px;
}

#prettyblocks-languages_input:checked + .prettyblocks-languages__list {
	display: block;
}

.prettyblocks-languages {
	position: relative;
	text-transform: uppercase;
	font-size: 0.875rem;
}

.prettyblocks-languages label::after {
	content: '▼';
	margin-left: 1em;
	font-size: .5rem;
}

.prettyblocks-languages label {
	background: rgb(85 48 190);
	padding: 2px 10px;
	border: 1px solid #fff;
	color: #fff;
	border-radius: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
}

.prettyblocks-languages__list a {
	display: block;
	width: 100%;
	padding: 5px 10px 5px 10px;
}

.prettyblocks-languages__list a:hover {
	background: #ddd;
}

.prettyblocks-languages__list {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 100%;
	width: fit-content;
	background: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	border-radius: 0 0 5px 5px;
	overflow: hidden;
	display: none;
	z-index: 100;
}

#modal-prettyblocks .header #search-prettyblocks input {
	width: 100%;
	border: none;
	padding: 5px 10px;
	font-size: 1rem;
	outline: none;
	border-bottom: 1px solid #ccc;
}

#modal-prettyblocks ul {
	display: flex;
	flex-direction: column;
	padding: 5px 0;
}

#modal-prettyblocks ul .page.hidden {
	display: none;
}

#modal-prettyblocks ul li a {
	color: rgb(85 48 190);
}

#modal-prettyblocks ul li:not(:last-child) {
	border-bottom: 1px solid #ccc;
}

#modal-prettyblocks ul li {
	padding: 1em 0;
}

#modal-prettyblocks .title-search {
	margin-top: 30px;
	text-align: center;
	font-weight: 600;
	font-size: 1.125rem;
	color: rgb(85 48 190);
}