
/*图标按钮加悬浮title样式样式*/
.operation_box{
    display: inline-block;
    float: left;
    width: 20px;
    height: 20px;
    position: relative;
    margin-right: 20px;
}
.operation_icon{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.operation_box:hover .operation_title{
    display: inline-block;
}
.operation_title{
    display: none;
    position: absolute;
    left: 50%;
    top: -48px;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    width:44px ;
    height: 30px;
    text-align: center;
    color: #fff;
    line-height: 30px;
    font-size: 14px;
    background-color: rgba(34, 37, 46, 0.75);
    -webkit-box-shadow: 0px 1px 5px 0px  rgba(170, 170, 170, 1);
    -moz-box-shadow: 0px 1px 5px 0px  rgba(170, 170, 170, 1);
    box-shadow: 0px 1px 5px 0px  rgba(170, 170, 170, 1);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.operation_title>span {
    position: absolute;
    bottom: -16px;
    left: 50%;
    display: inline-block;
    width: 0;
    height: 0;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    border-top: 8px solid rgba(34, 37, 46, 0.75);
    border-bottom: 8px solid rgba(0, 0, 0, 0);
    border-left: 6px solid rgba(0, 0, 0, 0);
    border-right: 6px solid rgba(0, 0, 0, 0);
}
.clearBoth{
    clear: both;
}

.operation_icon_pronunciation{
    background: url("../images/trans_word/pronunciation_btn.png") no-repeat;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
}
.operation_icon_pronunciation:hover{
    background: url("../images/trans_word/pronunciation_btn_hover.png") no-repeat;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
}
.operation_icon_pronunciation.active{
    background: url("../images/trans_word/pronunciation_btn_active.gif") no-repeat;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
}




#trans_word{
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 10px 1px rgba(21, 14, 14, 0.4);
    -moz-box-shadow: 0px 0px 10px 1px rgba(21, 14, 14, 0.4);
    box-shadow: 0px 0px 10px 1px rgba(21, 14, 14, 0.4);
}

.trans_title{
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    line-height: 24px;
    margin-bottom:5px ;
}


/*划词翻译*/
.detail_title_box{
    float: left;
    width: 300px;
    position: relative;
}

.left_position_box{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.left_position_box .operation_box{
    width: 15px!important;
    height: 15px!important;
    vertical-align: text-bottom;
}
.left_position_box>div{
    position: relative;
    width: 100%;
    height:100%;
    -webkit-box-shadow: 0 0 10px 1px rgba(204, 204, 204, 0.4);
    -moz-box-shadow: 0 0 10px 1px rgba(204, 204, 204, 0.4);
    box-shadow: 0 0 10px 1px rgba(204, 204, 204, 0.4);
    background-color: #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 30px;
}
.left_position_box>div>div{
    position: relative;
    width: 100%;
    height:100%;
    overflow-y: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 20px;
}
.left_position_box>div>p{
     padding-left: 20px;
     -webkit-border-radius: 5px 5px 0 0 ;
     -moz-border-radius: 5px 5px 0 0 ;
     border-radius: 5px 5px 0 0 ;
     -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
     box-sizing: border-box;
     position: absolute;
     top:0;
     left:0;
     width: 100%;
     height:30px;
     line-height:30px;
     font-size: 14px;
     color: #195EA9;
     font-weight: bold;
     border-bottom: 1px solid #ddd;
 }



.pronunciation_box{
    font-family: Arial, "PingFang SC", "Hiragino Sans GB", STHeiti, "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
    width: 100%;
    margin-bottom: 10px;
    font-size: 12px;
}
.pronunciation_box>div.pronunciation_list{
    float: left;
    color: #333;
    font-size: 14px;
    line-height: 20px;
}
.pronunciation_box>div>span{
    float: none;
    vertical-align: top;
}
.pronunciation_box>div>span:first-child{
    line-height: 20px;
    display: inline-block;
    height: 20px;
    margin-right:10px ;
}
.pronunciation_box>div:first-child{
    margin-right: 50px;
}

.defs_box{
    width: 100%;
    margin-bottom: 10px;
}
.defs_list{
    font-size: 12px;
    overflow: hidden;
    margin-bottom: 10px;
}
.defs_list:last-child{
    margin-bottom: 0;
}
.defs_list>span{
    float: left;
    font-size: 14px;
    line-height: 20px;
}
.defs_list>span:first-child{
    width: 30px;
    margin-right: 10px;
    color: #333;
}
.defs_list>span:last-child{
    width: calc(100% - 40px);
    color: #888;
}


.sams_box{
    width: 100%;
}
.sams_title{
    width: 100%;
    color: #333;
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 5px;
}
.sams_list{
    font-size: 12px;
    width: 100%;
    margin-bottom: 20px;
}
.sams_list>span{
    float: left;
    font-size: 14px;
    line-height: 20px;
}
.sams_list>span:first-child{
    width: 30px;
    color: #333;
}
.sams_list>span:nth-child(2){
    width: calc(100% - 30px);
}
.sams_list>span:nth-child(2)>p:first-child{
    width: 100%;
    color: #333;
    margin-bottom: 5px;
}
.sams_list>span:nth-child(2)>p:last-child{
    width: 100%;
    color: #888;
}
.sams_list .selectEngWord{
    color: #e51c23;
}
.sams_list .operation_box{
    margin-left: 10px;
    float: none;
    vertical-align: text-bottom;
}



/*pdf样式修改*/
#outerContainer{
    width: calc(100% - 440px);
}
.trans_right_box{
    z-index: 999;
    width: 440px;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
}
.trans_right_title{
    width: 100%;
    height: 32px;
    box-shadow: inset 0 1px 1px hsla(0,0%,0%,.15), inset 0 -1px 0 hsla(0,0%,100%,.05), 0 1px 0 hsla(0,0%,0%,.15), 0 1px 1px hsla(0,0%,0%,.1);
    background-color: #474747;
    background-image: url(images/texture.png), linear-gradient(hsla(0,0%,32%,.99), hsla(0,0%,27%,.95));
    line-height: 32px;
    color: #DFE7E9;
    font-size: 12px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-left: 20px;
}
#trans_word{
    position: absolute;
    top: 52px;
    right: 20px;
    width: 400px;
    height: calc(100% - 72px);
    max-height: 700px;
}
.shuyu_list_li{
    width: 100%;
    height: 68px;
    background-color: #EAF2FE;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px ;
}
.shuyu_chs_text{
    font-size: 14px;
    color: #888;
    line-height: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 5px 0;
}


/*整句翻译*/
.sentence_btn{
    user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    position: fixed!important;
    display: block!important;
    width: 60px!important;
    height: 30px!important;
    cursor: pointer;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-align: center;
    line-height: 30px;
    background-color: #195EA9;
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
    color: #fff;
    font-size: 14px;
}
.sentence_btn:hover{
    background-color: #357CF2;
}
.sentence{
    display: block;
    min-width: 120px;
    position: fixed!important;
    max-width: 400px!important;
    /*max-height: 300px!important;*/
    background-color: #fff!important;
    -webkit-box-shadow: 0px 5px 10px 0px  rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 5px 10px 0px  rgba(0, 0, 0, 0.1);
    box-shadow: 0px 5px 10px 0px  rgba(0, 0, 0, 0.1);
    border: 1px solid #dcdcdc;
}
.sentence_title{
    background-color: #f2f2f2;
    display: block;
    width: 100%;
    height: 30px;
    line-height: 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 15px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #dcdcdc;
    cursor: move;
    user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
}
.sentence_p{
    width: 100%;
    line-height: 24px;
    font-size: 14px;
    color: #333;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px 15px!important;
    display: block;
    height: 200px;
    /*max-height: 270px;*/
    overflow-y: auto;
    overflow-x: hidden;
    resize: vertical;
}
/*加载蒙版*/
.loading_mask_edit{
    width: 800px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 20px 0;
    background-color: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
}
/*加载蒙版*/
.loading_mask{
    width: 800px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 20px 0;
    background-color: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
}
.loading_mask_head{
    width: 100%;
    text-align: center;
    font-size:20px ;
    color: #333;
    line-height: 30px;
}
.loading_mask_icon{
    width: 60px;
    height: 60px;
    display: block;
    margin: 30px auto 10px;
}
.loading_mask_msg{
    width: 100%;
    font-size: 14px;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}
.loading_mask_btn{
    display: block;
    margin: 0 auto;
    text-align: center;
    line-height: 50px;
    height: 50px;
    width: 300px;
    color: #fff;
    font-size: 20px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: #195EA9;
    cursor: pointer;
}
.loading_mask_btn:hover{
    background-color: #357CF2;
}