/*
  zoom: 使用zoom属性缩放元素的大小时，缩放后的元素大小不会影响其他元素的大小
       注意：zoom属性只影响IE浏览器和webkit内核的浏览器（例如Chrome和Safari）。而Firefox和Opera浏览器不支持使用zoom属性缩放元素的大小。
  底部居中：
    position: absolute;
    bottom: 0px; （底部任务栏会遮挡，可以适当增高）
    left: 50%;
    margin-left: -268px; (宽度的一半)
*/

.zm-panel {
    z-index: 16000;
    box-sizing: content-box;
    width: 430px; /* 修改宽度，需要同时修改margin-left,保证面板水平居中*/
    height: 300px;
    border-radius: 8px;
    line-height: normal;
    background-color: #fbfdff; /*面板默认背景，可以通过zm-panel-style里重新设置背景色*/
    user-select: none; /* 禁止选中文本（如无文本选中需求，此为必选项）--移动端性能考虑*/
    /* 以下设置div底部居中 */
    position: absolute;
}
.zm-panel div {
    font-size: 16px
}

/* 輸入法面板相关樣式设置*/
.zm-panel-style {
    text-align: center;
    white-space: nowrap;
    background-color: #fff !important; /*覆盖zm-panel中设置的面板背景色*/
    border-radius: 8px;
    width: 430px;
    height: 300px;
    box-shadow: 0 4px 20px #dbe0e3
}
/* 定义button样式  */
.zm-panel-button {
    height: 40px;
    width: 30px;
    margin:2px 1px 8px 2px;
    cursor: pointer;
    overflow: hidden;
    background-color: #fff;
    padding: 0;
    font-size: 16px;
    vertical-align: middle;
    border: 1px solid #c5c5c5;
    border-radius: 3px
}
    .zm-panel-button span { /* 定义按钮上文字显示样式 */
        padding: 0;
        margin: 0;
        white-space: nowrap;
        display: inline-block;
        color: #3f3f3f;
        font-weight: 400;
        line-height: 19.5px
    }
    .zm-panel-button:hover {
        background-color: #F5FFFA;
        border: 1px solid #F5F5DC;
    }
/* 重新定义功能button */
.zm-panel-funckey {
    background-color: #e9f0f8 !important;
}
.zm-panel-placeholder { /*占位button*/
    border: 1px solid #fff;
}
.zm-panel-button-symbol{
    width: 50px;
}
.zm-panel-button-clear {
    width: 85px;
}

.zm-panel-button-close{
    width:85px;
}
.zm-panel-button-space {
    width:220px;
}
.zm-panel-button-enter{
    width:50px;
}
/*关闭键图片*/
.zm-panenl-button-close-img {
    line-height: 0
}
    .zm-panenl-button-close-img img {
        width: 20px;
        height: 30px;
        margin-bottom: -1px
    }
/* 退格键BackSpace img*/
.zm-panel-button-bksp-image {
    line-height: 0
}
    .zm-panel-button-bksp-image img {
        width: 16px;
        height: 16px;
        margin-bottom: -1px
    }
/* 英文shift键 img*/
.zm-panel-button-shift-image {
    line-height: 0
}
    .zm-panel-button-shift-image img {
        width: 16px;
        height: 16px
    }

/* 换行 br*/
.zm-panel-button-endrow {
    clear: left
}

/*生僻字笔画说明*/
.zm-panel-rare-stroke {
    position: relative
}
    .zm-panel-rare-stroke div {
        position: absolute;
        width: 10px;
        height: 14px;
        line-height: 14px;
        color: #fd0707;
        font-size: 10px !important
    }

.zm-panel-rare-horizontal {
    top: -8px;
    right: 5px
} 
.zm-panel-rare-vertical {
    top: -7px;
    right: 1px
}
.zm-panel-rare-skim {
    top: -7px;
    right: 0
}
.zm-panel-rare-squeeze {
    top: -7px;
    right: 3px
}
.zm-panel-rare-cross-fold {
    top: -6px;
    right: 4px
}

/** 生僻字说明面板 */
.zm-panel-rare-tutorial-panel {
    visibility: hidden;
    position: absolute;
    background-color: #0c0b0bd4;
    border-radius: 8px;
    width: 100%;
    height: 100%;
    z-index: 1000;
    position: absolute;
    left: 0;
    top: 0;
}
    .zm-panel-rare-tutorial-panel.active {
        visibility: visible;
    }
.zm-panel-rare-tutorial {
    visibility: hidden;
    z-index: 1001;
    height: 100%;
    width: 100%;
}
    .zm-panel-rare-tutorial.active {
        visibility: visible;
    }
.zm-panel-rare-tutorial-title {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #e6eeed;
    margin-top: 10px;
    margin-left: 150px;
}
    .zm-panel-rare-tutorial-title span{
        float:right;
        margin-right: 10px;
        font-size: 16px;
        background-color: #fd0707;
    }

.zm-panel-rare-tutorial-content {
    margin: 20px 5px 12px 5px;
}
    .zm-panel-rare-tutorial-content table {
        border-collapse: collapse;
        width: 100%;
        table-layout: fixed;
        color: #F5FFFA;
        text-align: center;
    }
    .zm-panel-rare-tutorial-content table tr {
        width: 390px
    }
    .zm-panel-rare-tutorial-content table tr td {
        width: 55px;
        height: 39px;
        line-height: 39px;
        border: 1px solid #d0d8dd;
    }
/* 手写输入法区域*/
.zm-panel-writearea {
    width: 430px;
    height: 245px;
    position: relative;
}
    .zm-panel-writearea button {
        width: 50px;
        font-size: 16px;
        background-color: #e9f0f8 !important;
    } 
.zm-panel-writearea-left {
    position: absolute;
    left: 2px;
    width: 70px;
    height: 296px;
    line-height: 3.5;
    display: inline-block;
}
.zm-panel-writearea-center {
    position: absolute;
    left: 8px;
    width: 415px;
    height: 245px;
    margin-bottom: 1px;
    background-color: #dbe0e3;
    display: inline-block;
}
    .zm-panel-writearea-center canvas{
        background-color: #fff;
        margin: 5px;
    }
.zm-panel-writearea-right {
    position: absolute;
    right: 10px;
    width: 70px;
    height: 245px;
    line-height: 3.8;
    display: inline-block;
}
.zm-panenl-writearea-button-img {
    text-align: center;
    margin-top: 1px;
}
    .zm-panenl-writearea-button-img img {
        width: 30px;
        height: 22px;
    }
.zm-panenl-writearea-bksp-img {
    text-align: center;
    margin-top: 3px;
}
    .zm-panenl-writearea-bksp-img img {
        width: 25px;
        height: 16px;
    }

/* 候选区域设置 */
.zm-panel-drag-Img { /* 可拖拽面板区域图片鼠标显示样式 */
    cursor: move;
}
.zm-panel-candarea {
    height: 50px;
    text-align: left;
    margin: 0 10px 0 10px
}

.zm-panel-candarea-left {
    float: left;
    margin-top: 12px;
}
    .zm-panel-candarea-left img {
        width: 30px;
        height: 30px
    }
.zm-panel-candarea-left-img {
    margin-left: 10px
}
.zm-panel-candarea-left-show {
    float: left;
    background-image: none;
    margin-top: 4px;
    width: 414px
}
/* 帮助图标（生僻字时显示） */
.zm-panel-rare-help {
    position: absolute;
    top:0px;
    right: 5px;
    cursor: pointer
}
    .zm-panel-rare-help img {
        width: 45px;
        height: 45px;
    }

/* 右侧以前是关闭按钮，现在统一试用图标关闭*/
/* .zm-panel-candarea-right {
    float: right;
    width: 20px;
    height: 20px;
    margin-top: 6px;
    cursor: pointer
}
    .zm-panel-candarea-right img {
        width: 20px;
        height: 20px
    } */
.zm-panel-kb-input {
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    color: #555; /* 设置候选区输入的字体颜色*/
    height: 18px;
    font-size: 16px !important
}
.zm-panel-candarea-list {
    width: 355px;
    overflow: hidden;
    position: relative;
    margin-left: 5px;
}
    .zm-panel-candarea-list div:hover {
        color: #fd0707
    }

/* 第一個候選詞紅色 */
.zm-panel-cands-active {
    color: #fd0707 !important
}

.zm-panel-single-cands { /*单个候选词样式  字体大小使用panel div默认的16号，可以增大*/
    display: inline-block;
    font-weight: 400;
    margin-right: 30px;
    font-size: 16px !important;
    cursor: pointer
}

.zm-panel-more-cands {
    position: absolute;
    top: 20px;
    right: 35px;
    z-index: 100;
    height: 26px;
    width: 26px;
    line-height: 0
}

    .zm-panel-more-cands img {
        width: 26px;
        height: 26px;
        cursor: pointer
    }

/* more candis div相关属性*/
.zm-panel-ui-more-cands-container {
    height: 245px;
}
.zm-panel-ui-more-cands-left {
    height: 245px;
    overflow-y: auto;
    width: 390px;
    float: left;
    border-bottom-left-radius: 8px;
}
.zm-panel-ui-more-cands {
    overflow-y: auto;
    height: 100%;
    float: left;
    width: 390px;
    
}
    .zm-panel-ui-more-cands table { /*字体使用默认的16号*/
        border-collapse: collapse;
        width: 100%;
        table-layout: fixed;
        font-size: 16px !important;
    }
    .zm-panel-ui-more-cands table tr {
        width: 390px
    }
        .zm-panel-ui-more-cands table tr td {
            width: 55px;
            height: 39px;
            line-height: 39px;
            border: 1px solid #d0d8dd;
            cursor: pointer
        }
        .zm-panel-ui-more-cands table tr td:hover {
            background-color: #F5FFFA
        }

.zm-panel-ui-more-cands-right {
    width: 40px;
    height: 245px;
    float: right;
    background-color: #e9f0f8;
    border-bottom-right-radius: 7px;
}
    .zm-panel-ui-more-cands-right div {
        border-top: 1px solid #d0d8dd;
        background-color: #e9f0f8;
        cursor: pointer;
        height: 46px;
        box-sizing: content-box;
    }
    .zm-panel-ui-more-cands-back img {
        width: 18px;
        height: 14px;
        margin-top: 16px
    }
    .zm-panel-ui-more-cands-delete img {
        width: 18px;
        height: 14px;
        margin-top: 16px
    }
    .zm-panel-ui-more-cands-up-down img{
        height: 20px;
        width: 11px;
        margin-top: 12px
    }
    .zm-panel-ui-more-cands-reset span {
        line-height: 50px;
        font-size: 16px;
    }

.zm-panel-more-cands-no-image {
    position: absolute;
    top: 19px;
    right: 40px;
    background: inherit;
    z-index: 100;
    width: 16px;
    height: 16px;
    margin-top: 5px;
    margin-left: 5px
}
/*字符symbol*/
.zm-panel-symbol-wrap {
    display: block;
    height: 213px;
    margin-left: 2px; /*移动端屏幕边缘留出空白*/
}

.zm-panel-symbol-common {
    overflow-y: auto;
    height: 213px;
    float: left;
    width: 380px;
}
    .zm-panel-symbol-common table {
        border-collapse: collapse;
        width: 100%;
        font-size: 20px;
    }

    .zm-panel-symbol-common table tr {
        width: 380px
    }

        .zm-panel-symbol-common table tr td {
            width: 55px;
            height: 31px;
            line-height: 34px;
            border: 1px solid #d0d8dd;
            cursor: pointer
        }
        .zm-panel-symbol-common table tr td:hover {
            background-color: #F5FFFA
        }
.zm-panel-symbol-action {
    float: right;
}
    .zm-panel-symbol-action div {
        height: 57px;
        width: 48px;
        color: #3f3f3f;
        background-color: #e9f0f8;
        border-top: 1px solid #d0d8dd;
        cursor: pointer;
        box-sizing: content-box
    }

.zm-panel-symbol-footer {
    width: 100%;
    display: inline-block;
    border-top: 1px solid #d0d8dd;
    color: #3f3f3f;
    background-color: #e9f0f8;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    border-bottom: 1px solid #d0d8dd;
    border-left: 1px solid #d0d8dd;
    margin-left: 2px; /*移动端屏幕边缘留出空白*/
}
    .zm-panel-symbol-footer div {
        width: 105px;
        height: 35px;
        line-height: 40px;
        display: inline-block;
        cursor: pointer;
        border-right: 1px solid #d3deea;
    }
        .zm-panel-symbol-footer div:hover {
            color: #B0C4DE
        }
    .zm-panel-symbol-footer-select {
        background-color: #d3deea;
    }
    .zm-panel-symbol-footer-last {
        border-right: none !important;
    }
/* 请求异常面板 */
.zm-panel-request-excep-panel {
    visibility: hidden;
    position: absolute;
    background-color: #0c0b0bd4;
    border-radius: 8px;
    width: 100%;
    height: 100%;
    z-index: 1002;
    position: absolute;
    left: 0;
    top: 0;
}
    .zm-panel-request-excep-panel.active {
        visibility: visible;
    }
.zm-panel-request-panel-content {
    visibility: hidden;
    z-index: 1003;
    height: 100%;
    width: 100%;
}
    .zm-panel-request-panel-content.active {
        visibility: visible;
    }

    .zm-panel-request-panel-content div span{
        color: #fff;
        font-size: 16px;
        margin-left: 10px;
    }