/* --------------------------------------------- */
/*	Dropdown language list
/* --------------------------------------------- */

#header_language_list {
	position: absolute;
	z-index: 101;
	visibility: hidden;
	top: 100%;
	margin-top: 10px;
	width: 100%;

	-webkit-backface-visibility: hidden;
			backface-visibility: hidden;
	-webkit-transform-origin: 0 0 0;
			transform-origin: 0 0 0;
	-webkit-transform: rotate3d(1,0,0, 90deg);
			transform: rotate3d(1,0,0, 90deg);
}

.cart-list #header_language_list {
	left: auto;
	right: 0;
	min-width: 110px;
}

#header.type-4 .cart-list #header_language_list { left: 0; }

#header_language_list.opened {
	visibility: visible;

	-webkit-animation: wicket .5s ease;
			animation: wicket .5s ease;
	-webkit-transform: rotate3d(1,0,0,0deg);
			transform: rotate3d(1,0,0,0deg);
}

#header_language_list.closed {
	visibility: visible;

	-webkit-animation: wicketout .5s ease;
			animation: wicketout .5s ease;
}

#header_language_list:before {
	position: absolute;
	top: -8px;
	right: 16px;
	width: 0;
	height: 0;
	border-left: 7px solid transparent;
	border-bottom-width: 8px;
	border-bottom-style: solid;
	border-right: 7px solid transparent;
	border-bottom-color: #34495e;
	content: "";
}

#header.type-4 #header_language_list:before {
	left: 16px;
	right: auto;
}

#header_language_list ul {
	background-color: #34495e;

	-webkit-border-radius: 4px;
			border-radius: 4px;
}

	#header_language_list li {
		display: block;
		padding: 4px 12px;
		text-align: left;
		color: #fff;

		-webkit-transition: background-color 1s ease;
				transition: background-color 1s ease;
	}

	#header_language_list li:first-child {
		-webkit-border-radius: 4px 4px 0 0;
				border-radius: 4px 4px 0 0;
	}

	#header_language_list li:last-child {
		-webkit-border-radius: 4px;
				border-radius: 4px;
	}

	#header_language_list li:first-child + li:last-child {
		-webkit-border-radius: 0 0 4px 4px;
				border-radius: 0 0 4px 4px;
	}

	#header_language_list li:hover { background-color: rgba(0,0,0, .15); }

		#header_language_list li a { color: #fff; }

			#header_language_list li img {
				display: inline-block;
				margin-right: 5px;
				vertical-align: middle;
			}