/* ========================================================================== *
 * Copyright 2014 USRZ.com and Pier Paolo Fumagalli                           *
 * -------------------------------------------------------------------------- *
 * Licensed under the Apache License, Version 2.0 (the "License");            *
 * you may not use this file except in compliance with the License.           *
 * You may obtain a copy of the License at                                    *
 *                                                                            *
 *  http://www.apache.org/licenses/LICENSE-2.0                                *
 *                                                                            *
 * Unless required by applicable law or agreed to in writing, software        *
 * distributed under the License is distributed on an "AS IS" BASIS,          *
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
 * See the License for the specific language governing permissions and        *
 * limitations under the License.                                             *
 * ========================================================================== */

/* Define properties for our icons (default to the unknown language flag) */
.lang-sm {
    min-width: 32px;
    height: 16px;
    min-height: 16px;
    max-height: 16px;
    margin-top:6px;
    float: left;
    margin-right: 10px
}

/* Combined native/english labels */
.lang-lbl-full[lang=en_US]:after { content: "English\A0/\A0  English"; }
.lang-lbl-full[lang=es_ES]:after { content: "Espa\F1ol\A0/\A0Spanish"; }
.lang-lbl-full[lang=ja_JP]:after { content: "\65E5\672C\8A9E\A0/\A0Japanese"; }
.lang-lbl-full[lang=ko_KR]:after { content: "\D55C\AD6D\C5B4\A0/\A0Korean"; }
.lang-lbl-full[lang=zh_CN]:after { content: "\7B80\4F53\4E2D\6587\A0/\A0Simplified\A0  Chinese"; }
.lang-lbl-full[lang=zh_TW]:after { content: "\7E41\9AD4\4E2D\6587\A0/\A0Traditional\A0  Chinese"; }
.lang-lbl-full[lang=id_ID]:after { content: "Bahasa indonesia\A0/\A0Indonesian"; }
.lang-lbl-full[lang=de_DE]:after { content: "Deutsch\A0/\A0German"; }
.lang-lbl-full[lang=fr_FR]:after { content: "Fran\E7  ais\A0/\A0  French"; }
.lang-lbl-full[lang=ru_RU]:after { content: "\420\443\441\441\43A\438\439\A0/\A0Russian"; }

.lang-item {
    min-height: 40px;
}

.lang-item > a{
    min-height: 40px;
    padding-right: 5px !important;
    padding-left: 5px !important;
}

.lang-dropdown-menu{
    min-width: 285px;
}

.lang-dropdown>button{
    min-width: 200px;
}

.lang-dropdown>button>.caret{
    margin-top: 6px;
}

#TranslationPriorityRanking {
    display: none;
}.flag-sm {
    float: left;
    margin-right: 5px;
    border: none !important;
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    display: inline-block;
    background-image: url(/survey_builder/ui/production/images/flags.png);
}

/* shinny 32px*/
.flag-sm[lang=es_ES] { background-position: -64px -128px; }
.flag-sm[lang=en_US] { background-position: 0 -448px; }
.flag-sm[lang=ja_JP] { background-position: -448px -192px; }
.flag-sm[lang=ko_KR] { background-position: -192px -224px; }
.flag-sm[lang=zh_CN] { background-position: -448px -64px; }
.flag-sm[lang=zh_TW] { background-position: -384px -416px; }
.flag-sm[lang=id_ID] { background-position: -64px -192px;}
.flag-sm[lang=fr_FR] { background-position: -320px -128px;}
.flag-sm[lang=ru_RU] { background-position: -288px -352px;}
.flag-sm[lang=de_DE] { background-position: -224px -96px;}