@font-face {
    font-family: "OrhonChaganTig";
    src: url("./../../fonts/OrhonChaganTig.ttf") format("truetype"), url("./../../fonts/OrhonChaganTig.eot") format("truetype");
}

div.OrhonIME {
    /* position: fixed; */
    position: absolute;
    display: block;
    border: 1px solid #dddee1;
    width: 200px;
    height: 200px;
    z-index: 99999;
    -webkit-box-shadow: 5px 5px 10px 5px rgba(0, 0, 0, .1);
    box-shadow: 5px 5px 10px 5px rgba(0, 0, 0, .1);
    background: #fff;
}

div#OrhonIME {
    /* display: flex;
    flex-flow: column; */
    -webkit-writing-mode: initial;
    -ms-writing-mode: initial;
    writing-mode: initial;
}

div#IME_top {
    height: 20%;
    /* flex: 0 0 20%; */
    /* background-color: antiquewhite; */
    border-bottom: 1px solid #f0f0f0;
}

div#OrhonIME_input {
    height: 100%;
}

div#IME_bottom {
    height: 80%;
    /* flex: 0 0 80%; */
    /* background-color: aquamarine; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row;
    flex-flow: row;
}

div#OrhonIME_holder {
    font-size: 18pt;
    font-family: "OrhonChaGanTig";
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    background-color: #f8f8f9;
}

div#OrhonIME_selector {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 80%;
    flex: 0 0 80%;
    background-color: #fff;
    /* background-image: url(../images/logo1.4.png);
    background-size: 100%;
    background-position: center left;
    background-repeat: no-repeat; */
}

ul.candidate_wrap {
    list-style: none;
    padding: 0;
    width: 100%;
    font-size: 14pt;
    height: 100%;
}

li.candidate {
    width: 20%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
}

span.candidate_num {
    display: block;
    height: 20px;
    -webkit-writing-mode: initial;
    -ms-writing-mode: initial;
    writing-mode: initial;
    text-align: center;
}

span.candidate_content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

span.candidate_content span {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

span.candidate_latin {
    font-family: serif;
}

div#orhon_logo,
img#orhon_logo_img {
    width: 100%;
    cursor: move;
}
div.OrhonIME_tools>div{
    position: relative;
    height: 30px;
}
div.OrhonIME_tools>div::after{
    content:"";
    position: absolute;
    top:0;
    left: -20px;
    writing-mode:vertical-lr;
    -webkit-writing-mode:vertical-lr;
    -ms-writing-mode:vertical-lr;
}

div#orhon_logo:hover::after{
    content:"ᠨᠡᠭᠡᠭᠡᠯᠭᠡ";
}
div#orhon_setting:hover::after{
    content:"ᠲᠣᠬᠢᠷᠠᠭᠤᠯᠭ᠎ᠠ";
}
div#OrhonIME_tools_vkb:hover::after{
    content:"ᠳᠠᠷᠤᠪᠴᠢ";
}
div#OrhonIME_tools_help:hover::after{
    content:"ᠬᠠᠪᠰᠤᠷᠤᠮᠵᠢ";
    top:unset;
    bottom: 0;
}

div#orhon_setting,
img#orhon_setting_img {
    width: 100%;
}

div.OrhonIME_tools img.icon{
    width: 100%;
}
div.ime_off img.icon{
    width: 100%;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

div#OrhonIME_tools {
    /* display: none; */
    position: fixed;
    font-family: "OrhonChaGanTig";
    background-color: #fff;
    text-orientation: sideways-right;
    right: 0;
    bottom: 0;
    width: 30px;
    border: 1px solid #ed7600;
    border-radius: 5px;
    /* height: 100px; */
}

div#OrhonIME_tools_on {
    width: 100%;
    height: 100px;
}

div#OrhonIME_tools_off {
    width: 100%;
    height: 40px;
}

div.OrhonIME_setup {
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    background-color: rgba(156, 152, 152, 0.74);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    writing-mode: vertical-lr;
    -webkit-writing-mode: vertical-lr;
    -ms-writing-mode: vertical-lr;
}

div.IME_setup_wrap {
    /* width: 500px;
    height: 500px; */
    padding: 10px;
    border: 1px solid;
    border-radius: 5px;
    background-color: #fff;
}

fieldset.key_map {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

span.IME_input_group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

}
div.IME_set_buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}
div.IME_set_buttons button{
    display: table-cell;
    font-family: OrhonChaganTig;
    font-size: 18px;
    border-radius: 5px;
    padding: 5px;
}
div.IME_set_buttons button:nth-child(1){
    margin-bottom: 20px;
}
#input {
    display: table-column;
    font-size: 15pt;
    font-family: "OrhonChaGanTig";
}

.orhon-tb-lr {
    margin: 0px;
    /* padding: 1px; */
    font-size: 13pt;
    display: inline-block;
    font-family: OrhonChaganTig, Helvetica, Arial, Verdana;
    white-space: inherit;
    writing-mode: vertical-lr;
    -webkit-writing-mode: vertical-lr;
    -ms-writing-mode: tb-lr;
    -o-writing-mode: vertical-lr;
    -moz-writing-mode: vertical-lr;
    text-orientation: sideways-right;
    -webkit-text-orientation: sideways-right;
    -ms-text-orientation: sideways-right;
    -o-text-orientation: sideways-right;
    -moz-text-orientation: sideways-right;
    unicode-bidi: embed;
    word-spacing: normal;
    word-wrap: normal;
    word-break: keep-all;
}