.cpel-switcher--layout-horizontal .cpel-switcher__list {
	flex-direction: row;
	flex-wrap: wrap;
}

.cpel-switcher--layout-dropdown {
	--rotate: 0deg;
	--langs: 5;
}

.cpel-switcher--drop-to-up {
	--rotate: 180deg;
}

.cpel-switcher--layout-dropdown .cpel-switcher__nav {
	display: inline-block;
	position: relative;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

.cpel-switcher--layout-dropdown .cpel-switcher__toggle {
	position: relative;
}

.cpel-switcher--layout-dropdown .cpel-switcher__toggle:after {
	content: "";
	position: absolute;
	z-index: 2;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	cursor: pointer;
}

.cpel-switcher--layout-dropdown .cpel-switcher__toggle a i {
	vertical-align: middle;
	transform: rotateX(var(--rotate));
	transition: transform 0s .2s;
}

.cpel-switcher--layout-dropdown .cpel-switcher__toggle.cpel-switcher__toggle--on:after {
	width: min(33%, 2.5em);
}

.cpel-switcher--layout-dropdown .cpel-switcher__toggle.cpel-switcher__toggle--on a i {
	transform: rotateX(calc(var(--rotate) + 180deg));
	transition-delay: 0s;
}

.cpel-switcher--layout-dropdown.cpel-switcher--align-left .elementor-widget-container {
	text-align: left;
}

.cpel-switcher--layout-dropdown.cpel-switcher--align-center .elementor-widget-container {
	text-align: center;
}

.cpel-switcher--layout-dropdown.cpel-switcher--align-right .elementor-widget-container {
	text-align: right;
}

.cpel-switcher--layout-dropdown.cpel-switcher--align-justify .cpel-switcher__nav {
	display: flex;
}

.cpel-switcher--layout-dropdown .cpel-switcher__list {
	position: absolute;
	z-index: 10;
	top: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-width: 100%;
	max-height: 0;
	overflow: hidden;
	transition: max-height .3s ease-out;
}

.cpel-switcher--drop-to-up .cpel-switcher__list {
	top: auto;
	bottom: 100%;
	justify-content: flex-start;
}

.cpel-switcher--layout-dropdown .cpel-switcher__toggle--on+.cpel-switcher__list {
	max-height: calc(100% * var(--langs));
	transition: max-height .4s ease-in;
}

.cpel-switcher--layout-dropdown .cpel-switcher__lang {
	width: 100%;
}

.cpel-switcher--layout-dropdown .cpel-switcher__lang a {
	display: block;
	text-align: left;
}

@media (pointer:fine) {
	.cpel-switcher--drop-on-hover .cpel-switcher__nav:hover .cpel-switcher__toggle:after {
		width: min(33%, 2.5em);
	}
	
	.cpel-switcher--drop-on-hover .cpel-switcher__nav:hover .cpel-switcher__toggle a i {
		transform: rotateX(calc(var(--rotate) + 180deg));
		transition-delay: 0s;
	}
	
	.cpel-switcher--drop-on-hover .cpel-switcher__nav:hover .cpel-switcher__list {
		max-height: calc(100% * var(--langs));
		transition: max-height .4s ease-in;
	}
}

.cpel-switcher--align-left .cpel-switcher__list {
	align-items: flex-start;
}

.cpel-switcher--align-right .cpel-switcher__list {
	align-items: flex-end;
}

.cpel-switcher--align-justify .cpel-switcher__list {
	align-items: stretch;
}

.cpel-switcher--align-justify a {
	width: 100%;
	text-align: center;
}

.cpel-switcher--layout-dropdown.cpel-switcher--align-right .cpel-switcher__list {
	right: 0;
	left: auto;
}

.cpel-switcher--layout-dropdown.cpel-switcher--align-justify .cpel-switcher__toggle a {
	display: inline-flex;
	justify-content: flex-start;
	align-items: center;
}

.cpel-switcher--layout-dropdown.cpel-switcher--align-justify .cpel-switcher__icon {
	margin-right: 0;
	margin-left: auto;
}

.cpel-switcher--layout-horizontal.cpel-switcher--align-left .cpel-switcher__list {
	justify-content: flex-start;
}

.cpel-switcher--layout-horizontal.cpel-switcher--align-center .cpel-switcher__list {
	justify-content: center;
}

.cpel-switcher--layout-horizontal.cpel-switcher--align-right .cpel-switcher__list {
	justify-content: flex-end;
}

.cpel-switcher--layout-horizontal.cpel-switcher--align-justify .cpel-switcher__lang {
	flex-grow: 1;
}

.cpel-switcher--layout-horizontal .cpel-switcher__lang:not(:last-child) {
	margin-right: var(--cpel-switcher-space);
}

body.rtl .cpel-switcher--layout-horizontal .cpel-switcher__lang:not(:last-child) {
	margin-left: var(--cpel-switcher-space);
}