

div#topDiv {
	position: relative;
	height: 0px;
}

div#changeLanguageTopRightContainer {
	position: relative;

    display: inline-block;

	right: 0;

	margin-top: 2px;
    vertical-align: top;

}

div#languagesLabel {
    border: 1px solid transparent;
    background: #fff;
	padding: 3px 3px 3px 3px;

	font-size: 11px;
	line-height: 11px;

	cursor: pointer;

	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;

    position: relative;
    z-index: 15;
    behavior: url('../PIE.htc');
}
#languagesLabelHolder.active {
    box-shadow: 0 1px 2px #ccc;
    behavior: url('../PIE.htc');
}

div#languagesLabel:hover {
	background-color: #EFEFEF;
}
div#languagesLabel.active {
    border: 1px solid #ccc;
    border-bottom: 1px solid #fff;
    border-radius: 0;
    behavior: url('../PIE.htc');
}
div#languagesLabel.active:hover {
    background: #fff;
}

div#languagesContainer {
    border: 1px solid #ccc;
	position: absolute;
	top: 16px;
	right: 0;
	width: 200px;
	background-color: #fff;
	font-size: 12px;
	line-height: 10px;
    text-align: left;
    padding: 10px;
    box-shadow: 0 1px 2px #CCCCCC;
    z-index: 10 !important;
    overflow: hidden;
    behavior: url('../PIE.htc');
}

div#languagesListContainer {
    /*border: 1px solid blue;*/
    /**/
    height: 500px;
    width: 200px;

	/*overflow-y: scroll;*/
}

input#languageInput {
    font-size: 12px;
    height: 19px;
    line-height: 12px;
    width: 185px;
    position: relative;
    z-index: 15;
    behavior: url('../PIE.htc');
    outline: 0;
}

li.languageLabel span {

}

li#languageLabelTranslate {
	margin-top: 10px;

}
#languagesListContainer > ul {
    margin: 0 0 0 10px;
}
#languagesContainer > form {
    margin-bottom: 5px;
}
#languagesListContainer > ul > li:last-child {
    margin-bottom: 10px !important;
}

.white-gradient-top {
    /*border: 1px solid red;*/

    background: -moz-linear-gradient(top, rgba(255,255,255,1) 52%, rgba(255,255,255,0) 95%, rgba(255,255,255,0) 97%, rgba(255,255,255,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(52%,rgba(255,255,255,1)), color-stop(95%,rgba(255,255,255,0)), color-stop(97%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 52%,rgba(255,255,255,0) 95%,rgba(255,255,255,0) 97%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(255,255,255,1) 52%,rgba(255,255,255,0) 95%,rgba(255,255,255,0) 97%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(255,255,255,1) 52%,rgba(255,255,255,0) 95%,rgba(255,255,255,0) 97%,rgba(255,255,255,0) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 52%,rgba(255,255,255,0) 95%,rgba(255,255,255,0) 97%,rgba(255,255,255,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */

    top: 42px;
    height: 26px;
    left: 0;
    position: absolute;
    width: 192px;
    behavior: url('../PIE.htc');
}
.white-gradient-bottom {
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 3%, rgba(255,255,255,0) 5%, rgba(255,255,255,1) 48%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(3%,rgba(255,255,255,0)), color-stop(5%,rgba(255,255,255,0)), color-stop(48%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 3%,rgba(255,255,255,0) 5%,rgba(255,255,255,1) 48%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 3%,rgba(255,255,255,0) 5%,rgba(255,255,255,1) 48%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 3%,rgba(255,255,255,0) 5%,rgba(255,255,255,1) 48%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 3%,rgba(255,255,255,0) 5%,rgba(255,255,255,1) 48%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */

    bottom: 0;
    height: 26px;
    left: 0;
    position: absolute;
    width: 192px;
    behavior: url('../PIE.htc');
}
.nicescroll-rails > div {
    cursor: pointer;
}
.nicescroll-rails > div:hover {
    background: #bebebe !important;
    border: 1px solid #bbb !important;
}

#languagesListContainer .flag {
    display: inline-block;
    float: none;
    position: relative !important;
}
#languagesLabel .flag {
    margin-right: 3px;
}

div#languagesLabel span.flag {
	margin-top: 0px;
}
