﻿.language-switcher {
	position: relative;
	display: block;
	z-index: 99999999999;
}
.language-btn {
	display: flex;
	align-items: center;
	border-radius: 4px;
	cursor: pointer;
	gap: 5px;
	font-size: 14px;
	color: #333;
}
.language-btn .globe-icon {
	font-size: 16px;
}
.language-btn .arrow-icon {
	margin-left: 5px;
	transition: transform 0.3s;
}

.language-dropdown {
	background: #fff;
	/*border: 1px solid #ddd;*/
	border-radius: 4px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	display: none;
	width: auto;
	max-width: 400px;
	margin-top: 10px;
}

/*.language-switcher:hover .language-dropdown{
	display: block;
}*/

.language-list {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 5px;
	padding: 10px;
	max-height: 500px;
	overflow-y: auto;
}
.language-item {
	display: flex;
	align-items: center;
	padding: 6px 8px;
	cursor: pointer;
	border-radius: 4px;
	gap: 5px;
	font-size: 13px;
	color: #333;
	height: 30px
}
.language-item:hover {
	background: #f5f5f5;
}
.language-item img {
	width: 16px;
	height: 12px;
	object-fit: cover;
}
.more-languages {
	text-align: center;
	padding: 8px;
	border-top: 1px solid #eee;
	cursor: pointer;
	color: #666;
	font-size: 13px;
	height: 40px;
	line-height: 40px;
}
.more-languages:hover {
	color: #333;
	background: #f5f5f5;
}
.language-dropdown.active {
	display: block;
	background: white;
}
.language-list.show-all {
	max-height: 400px;
}
.language-list::-webkit-scrollbar {
 width: 6px;
}
 .language-list::-webkit-scrollbar-track {
 background: #f1f1f1;
}
 .language-list::-webkit-scrollbar-thumb {
 background: #ccc;
 border-radius: 3px;
}
 .language-list::-webkit-scrollbar-thumb:hover {
 background: #999;
}
.globe-icon img {
	margin-top: 0px !important;
}
#translate{
	display: none;
}
#translate-lang {
	float: right;
	padding: 0px;
	margin-top: 30px;
	width: 130px;
	border-radius: 0px;
	box-sizing: content-box;
}
@media screen and (max-width: 800px) {
	#translate-lang{
		position: fixed;
		right: 15px;
		top: 0;
		z-index: 9999999;
	}
}