[ng-click] {
    cursor: pointer;
}

.language-wrapper {
    position: relative;
    display: inline-block;
    width: 42px;
    margin-bottom: 12px;
}

.language-label {
    cursor: pointer;
    overflow: hidden;
    padding-left: 20px;
    width: 150%;
    height: 20px;
    line-height: 22px;
    font-size: 13px;
    color: #325CA4;
    text-align: right;
    background: url(localization-glob_x2.png) 0 center no-repeat;
    background-size: 20px 20px;
}

.language-list {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 5px;
    z-index: 100;
    color: #333333;
    background: rgba(255,255,255,1);
    white-space: nowrap;
    min-width: 100px;
    max-width: 500px;
    border-radius: 4px;
    text-align: left;
    border: 1px solid #c6c6c6;
    box-shadow: 0 5px 15px rgba(58, 124, 219, 0.1);
}

.language-list > li:hover,
.language-list > li:focus {
    background-color: #eaeaea;
    -webkit-background-clip: border-box;
    -moz-background-clip: border;
    background-clip: border-box;
    text-decoration: none;
}

.language-list > li:first-child:hover,
.language-list > li:first-child:focus {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.language-list > li:last-child:hover,
.language-list > li:last-child:focus {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.language-list > li > div {
    overflow: hidden;
    white-space: nowrap;
    line-height: 22px;
    padding: 5px 20px 3px 9px;
    margin-right: 10px;
    text-overflow: ellipsis;
    background: url(checkmark-light.png) -100px center no-repeat;
}

.language-list > li > div.selected {
    background-position: right center;
}

.language-list > li:first-child > div:first-child:before,
.language-list > li:first-child > a:first-child:before {
    position: absolute;
    /*top: -7px;*/
    bottom: 100%;
    margin-top: -7.666667%;
    left: 15%;
    margin-left: -6px;
    display: inline-block;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #c6c6c6;
    /*border-bottom: 7px solid #c8d2e1;*/
    border-left: 6px solid transparent;

    content: '';
}

.language-list > li:first-child > div:first-child:after,
.language-list > li:first-child > a:first-child:after {
    position: absolute;
    bottom: 100%;
    margin-top: -6.666667%;
    /*top: -6px;*/
    left: 15%;
    margin-left: -5px;
    display: inline-block;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #ffffff;
    border-left: 5px solid transparent;
    content: '';
}

.language-list > li:first-child > div:hover:first-child:after,
.language-list > li:first-child > div:focus:first-child:after {
    border-bottom-color: #eaeaea;
}

.show {
    display: block;
}

.hide {
    display: none;
}