/**
 * User: yuanzhen
 * Date: 13-3-26
 */


/*General setting*/
html, body {
    height: 100%;
    overflow: hidden;
    -webkit-user-select: none;
    position: relative;
}

.user-selected {
    -webkit-user-select: text;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

.clearfix:before, .clearfix:after {
    display: block;
    line-height: 0;
    content: "";
    clear: both;
}

header.global-nav-bar {
    width: 100%;
    height: 41px;
    background: #15A0F5;
    border-bottom: 1px solid #048CDD;
    color: #fff;
    font-size: 16px;
    font-family: microsoft Yahei;
    font-weight: 200;
    position: fixed;
    z-index: 1000;
}

/*========.nav-collapse begin=========*/
header.global-nav-bar li {
    display: inline-block;
    text-shadow: rgb(16, 112, 171) 0 0 3px;
    float: left;
    padding: 9px 22px 9px;
    margin: 0 3px;
    cursor: pointer;
}

header.global-nav-bar .brand {
    margin-left: 16px;
    display: block;
    float: left;
    line-height: 41px;
    text-shadow: rgb(16, 112, 171) 0 0 3px;
    cursor: default;
}

header.global-nav-bar .nav-collapse {
    padding: 0 5px 0 0;
    overflow: hidden;
}

.global-nav-bar .nav.pull-left {
    position: relative;
    left: 0;
    display: block;
    float: left;
}

.nav-collapse .nav > li a {
    color: #fff;
    text-shadow: rgb(16, 112, 171) 0 0 3px;
    font-size: 15px;
}

.nav-collapse .nav > li:hover a {
    color: #79dafd;
    text-shadow: #000 1px 1px 2px;
}

.global-nav-bar .nav.pull-right {
    height: 41px;
}

.global-nav-search {
    /* 去掉搜索框旁边的在网页中搜索按钮 */
    /*margin: 0 45px 0 1px;*/
    margin: 0 0 0 1px;
    height: 43px;
    background: url('icon/search-input-bg.png') repeat-x;
}

#chathead {
    width: 22px;
    vertical-align: 5px;
    height: 22px;
}

.brand .username {
    margin-right: 47px;
    overflow: hidden;
    cursor: pointer;
    vertical-align: -8px;
    display: none;
    padding: 1px 0 0 1px;
    width: 24px;
    height: 25px;
    background: url('icon/headportrait.png') no-repeat;
}

.brand .username:hover {
    background: url('icon/headportrait_hover.png') no-repeat;
}

.combobox {
    margin-top: 43px;
    z-index: 1000;
    position: fixed;
    width: 100%;
    box-shadow: 1px 1px 5px rgba(75, 75, 75, 0.5);
    height: 43px;
}

.input-wrap {
    position: relative;
    overflow: hidden;
}

.search-text {
    box-sizing: border-box;
    border: none;
    outline: none;
    height: 43px;
    background: transparent;
    width: 100%;
    padding-left: 10px;
    padding-right: 65px;
    font-size: 14px;
}

.select-lang {
    background: #ccc;
    z-index: 1000;
    height: 43px;
}

.select-options {
    display: none;
    top: 46px;
    left: 87px;
}

.select-options li {
    position: relative;
    padding: 0;
}

.select-options li:last-child {
    border-bottom: none;
}

.select-options > li a {
    display: block;
    padding: 0 13px 0 9px;
    background: #fdfdfd;
}

.select-options > li a .bar {
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: bottom;
    margin-right: 4px;
}

.select-options > li > a.on:hover, .select-options > li > a:focus {
    background: #20abfa;
}

.pager {
    background: #fff;
}

.pager > li a {
    display: inline-block;
    height: 43px;
    width: 43px;
    line-height: 43px;
    font-size: 0;
}

.place-nav-search {
    height: 120px;
}

.global-nav-search .pager > li {
    float: left;
}

/*==========================footer begin===========================*/
.place-footer {
    background: #f2f2f2;
    height: 35px;
    position: fixed;
    bottom: 0;
    padding-top: 10px;
    width: 1000%;
}

footer.global-setting {
    z-index: 1000;
    height: 35px;
    position: fixed;
    left: 0;
    width: 100%;
    padding: 5px 31px 0;
    background: rgb(242, 242, 242);
    bottom: 0;
    box-shadow: 0 0 0 1px rgb(255, 255, 255), 0 0 50px 5px #fff;
}

.global-setting .menu a {
    display: inline-block;
    font-size: 0;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 40px;
    height: 35px;
    line-height: 35px;
    margin-left: -6px;
    border-radius: 1px;
}

.global-setting .menu {
    position: relative;
}

.global-setting .menu .dict-icon-start {
    width: 47px;
}

.global-setting .menu .dict-icon-tujie {
    position: relative;
}

.global-setting .menu .bisheng_status {
}

.set-word {
    width: 150px;
    border-radius: 4px 4px 0 0;
    height: 35px;
    margin: -1px 29px 0 0;
    position: relative;
}

.set-word a {
    line-height: 23px;
    margin: 3px 0 0 0;
    display: inline-block;
    width: 65px;
    text-align: center;
    padding-right: 0px;
}

.set-word a, .set-word a:active {
    color: #666;
}

.set-word ins {
    margin: 0;
    vertical-align: middle;
    height: 14px;
    display: inline-block;
    width: 0;
    border-left: 1px solid #ccc;
    border-right: 1px solid #eee;
    text-indent: -99999px;
}

.set-word a:hover {
    background: #e4e4e4;
    border-bottom: 1px solid #d1d1d1;
}

.global-section {
    position: absolute;
    z-index: 1;
    top: 103px;
    bottom: 75px;
    width: 100%;
}

.global-section .main-tab, #dict {
    overflow: hidden;
    height: 100%;

}

.global-section .main-tab {
    display: none;
    background-color: #f2f2f2;
}

.start #tab_dict, #start, #tab_trans {
    background-color: transparent;
}

/*===============词典tab===================*/
#control span {
    display: inline-block;
    font-size: 30px;
    margin: 20px 10px;
    cursor: pointer;
}

#queryResult0, #queryResult1, #baikeDetail, #quick, #start, #trans, #example, .trans #queryForm, #example_welcome, #baike_welcome {
    height: 100%;
    position: relative;
    display: none;
}

#baikeDetail {
    overflow: auto;
}

.queryResult #queryResult0,
.queryResult #queryResult1,
.baikeDetail #baikeDetail,
.quick #quick,
.start #start,
.trans #trans,
.example #example,
.example-welcome #example_welcome,
.baike-welcome #baike_welcome {
    display: block;
}

#quick {
    overflow: hidden;
}

.result-content {
    height: 100%;
    overflow: auto;
}

#result, #example_lang_typos_group, #example_no_result, #auth_sents, #media_sents, #blng_sents {
    margin-top: 10px;
}

.js__trans .combobox,
.js__trans .go-to-search,
.js__example .go-to-search,
.js__baikeDetail .go-to-search {
    display: none;
}

.js__trans .global-nav-search,
.js__example .global-nav-search,
.js__baikeDetail .global-nav-search {
    margin-right: 0;
}

.js__trans .global-section {
    top: 65px;
}

/*==========================advertisement===========================*/
.ads-wrap {
    box-shadow: 0 0 0 1px rgb(255, 255, 255), 0 0 0 2px rgb(225, 225, 225);
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
}

.ads {
    width: 655px;
    z-index: 1000;
    text-align: center;
    margin: 0 auto;
    position: relative;
}

.ads-content {
    background: transparent;
    z-index: 1001;
    overflow: hidden;
}

.ads-mask {
    background: transparent;
    position: absolute;
    z-index: 1002;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.icon-close-ads {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1003;
    background: url('icon/close-ads-bottom.png') no-repeat 0 0;
    width: 18px;
    height: 0;
    padding-top: 18px;
    overflow: hidden;
}

#baikeDetail .baike_detail, #baikeDetail .baike_relative {
    padding: 0 20px 0 20px;
}

/**
 * shadow box components
 */
.shadow-box {
    background: rgba(255, 255, 255, .9);
    border: 2px solid rgba(9, 163, 251, .9);
    box-shadow: 2px 2px 2px rgba(0, 0, 0, .35);
}

/**
 * Main menu and popup submenu
 */
.main-menu {
    opacity: 0;
    position: absolute;
    z-index: 1001;
}

.main-menu li ul {
    position: relative;
    background: #fff;
    left: 137px;
    z-index: 100;
    display: none;
}

.main-menu li {
    cursor: pointer;
    border-bottom: 1px solid rgba(211, 219, 222, .35);
    font-size: 12px;
    line-height: 26px;
    height: 26px;
}

.main-menu .m-login, .main-menu .m-quit {
    border-bottom: none;
}

.main-menu .current {
    background: #179ff4;
    color: #fff;
}

.main-menu .font-size-control ul {
    top: -30px;
    width: 80px;
}

.main-menu .set-control ul {
    top: -25px;
}

.main-menu .help-control ul {
    top: -25px;
}

/*help里的两个超链接 样式与其他不太一样 为使其能够全行可点击*/
.help-control ul li a {
    display: inline-block;
    width: 100%;
}

/*@component menu icon
------------------------------------------*/
.menu-icon {
    display: inline-block;
    height: 16px;
    width: 16px;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-left: 8px;
}

.menu-text {
    display: inline-block;
    width: 86px;
    padding-left: 16px;
    color: rgb(83, 83, 83);
}

.main-menu li ul .menu-text {
    width: auto;
}

.main-menu .current .menu-text,
.main-menu .current ul .current .menu-text,
.main-menu .current ul .current .menu-text a {
    color: #fff;
}

.main-menu .current ul li .menu-text {
    color: rgb(83, 83, 83);
}

#cpp_resize {
    height: 15px;
    width: 15px;
    position: fixed;
    bottom: 0;
    right: 0;
    cursor: nw-resize;
    z-index: 1001;
    background: transparent;
}

#cpp_resize.no {
    cursor: default;
}

/*==================词典导航状态控制======================*/
aside nav, aside .nav-button, .result-content {
    transition: 0.3s margin;
}

.open aside nav {
    margin-left: -133px;
    overflow: hidden;
}

.open aside .nav-button {
    margin-left: 0;
}

.open .result-content {
    margin-left: 25px;
}

/*==================example layout======================*/
#example .result_navigator {
    top: 120px;
}

#example_navigator a {
    padding-left: 20px;
    width: 94px;
    text-align: left;
}

#example_navigator h3 {
    font-weight: normal;
}

#example_navigator .sub-catalog a {
    color: #999;
}

#example_navigator .sub-catalog-selected {
    color: rgb(25, 158, 243);
    font-weight: bold;
    border-bottom: 0 solid transparent;
}

#example_navigator .sub-catalog-selected a {
    color: rgb(25, 158, 243);
}

#example_navigator .sub-catalog-selected a:hover, #example_navigator .sub-catalog a:hover {
    color: #fff;
}

#example_navigator .main-catalog .nav-tip {
    display: inline-block;
    background: url('icon/example-main-close.png') no-repeat 22px 13px;
}

#example_navigator .main-catalog-selected .nav-tip {
    display: inline-block;
    background: url('icon/example-main-open.png') no-repeat 22px 13px;
}

#example_navigator .split {
    height: 1px;
    display: block;
    background: url('icon/example-split.png') no-repeat;
}

#example_nav_content div {
    overflow: hidden; /*清除浮动*/
}

#control span {
    display: inline-block;
    font-size: 30px;
    margin: 20px 10px;
    cursor: pointer;
}

.example .per-type.cur {
    color: #434343;
}

.example .allExplanation {
    display: none;
}

.example .allExplanation.show-all-explanation {
    display: inline-block;
    float: right;
}

.example .search-tip {
    padding-left: 10px;
}

.example .js-example-type {
    padding-top: 0;
}

.example .search-tip b {
    word-break: break-all;
}

.example .typos-tip {
    line-height: 1.5em;
    font-size: 14px;
    color: #999;
    padding: 0.8em 0.8em 0.6em 0.8em;
    float: left;
    width: 140px;
    margin: 10px 4px 30px 10px;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid #ccc;
}

.example .typos-tip span {
    font-size: 14px;
    color: #1A9EF2;
    display: inline-block;
    padding-left: 68px;
}

.blng-typos-title {
    background: url('icon/authoritative.png') no-repeat 20px 0;
    height: 29px;
}

.mdia-typos-title {
    background: url('icon/original.png') no-repeat 20px -1px;
    height: 29px;
}

.auth-typos-title {
    background: url('icon/authoritative.png') no-repeat 20px 0;
    height: 29px;
}

.example .description {
    padding-top: 0.5em;
}

.example .other-catalogs {
    margin-top: 30px;
}

.hideNavSide aside {
    display: none;
}

.hideNavSide #example_nav_content {
    margin-left: 20px;
}

.example .trans-container {
    padding-bottom: 30px;
}

.example .trans-container.typos {
    padding-bottom: 0;
}

/*trans*/
/*
#trans div.edit {
    background-color: #ccc;
    border: 1px solid #000;
}

#trans div.button {
    height: 20px;
    width: 60px;
    margin: 10px 10px 10px 10px;
    background-color: rgb(133, 133, 133);
}

#trans div.content {
    margin: 10px 10px 10px 10px;
}

#trans .highLight {
    background-color: rgb(122, 0, 0);
}

#trans .editing {
    background-color: rgb(133, 133, 133);
}
*/
/*lightips*/
.light-box {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    background-color: black;
    opacity: 0.5;
    filter: Alpha(opacity=50);
    display: none;
    z-index: 1001;
}

.message-container {
    background-color: #ffffff;
    position: absolute;
    z-index: 1002;
    display: none;
}

/*断网状态*/
.offline {
    height: 16px;
    width: 15px;
    position: absolute;
    top: 14px;
    right: 210px;
    display: none;
}

/*跟读*/
.spoken-record {
    vertical-align: middle;
    display: inline-block;
    width: 16px;
    padding-top: 17px;
    height: 0;
    overflow: hidden;
}

/*全球发音图标及文字*/
.global-voice-icon {
    vertical-align: middle;
    display: inline-block;
    width: 17px;
    height: 17px;
    padding-bottom: 2px;
    overflow: hidden;
}

.global_voice {
    font-size: 0.85em;
    font-weight: normal;
    color: #666;
    display:inline-block;
    margin-right: 2em;
}

/*toggle 按钮 转动小箭头样式*/
.nav-button span {
    position: absolute;
    background: url(icon/nav_arrow.png) 0 0 no-repeat;
    display: block;
    height: 9px;
    width: 9px;
    top: 43%;
    left: 5%;
    transition: .2s -webkit-transform;
    -webkit-transform: rotateZ(180deg);
}

.open .result_navigator .nav-button span {
    -webkit-transform: rotateZ(0deg);
}

/*背景图片*/
.bg-index {
    height: 274px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    background: no-repeat center 0;
}

.index-mask-pic {
    top: 17px;
    height: 300px;
    width: 100%;
    position: fixed;
    z-index: -1;
}

.bg-index .bg-img {
    position: fixed;
    top: 42px;
    height: 300px;
    width: 100%;
    background: no-repeat top center;
    background-size: 1000px 300px;
    z-index: -1;
    display: none;
}

.result-mask {
    display: none;
}

.bg-place {
    height: 100%;
}

.result-mask .inner-bg {
    height: 70px;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0.5)), color-stop(15%, rgba(242, 242, 242, 0.6)), color-stop(30%, rgba(242, 242, 242, 0.7)), color-stop(50%, rgba(242, 242, 242, 0.8)), color-stop(80%, rgba(242, 242, 242, 0.85)), color-stop(100%, rgba(242, 242, 242, 1)));
    width: 100%;
}

.bg-pure {
    height: 500px;
    background: #f2f2f2;
    width: 100%;
}

.index-mask {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 193px;
}

.index-mask-b, .index-mask-c {
    top: 164px;
}

.index-mask-a .split-bg {
    height: 0;
    opacity: 0.8;
    border-top: 1px solid rgba(255, 255, 255, .8);
}

.index-mask-a .inner-bg {
    height: 84px;
    width: 100%;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0.5)), color-stop(10%, rgba(242, 242, 242, 0.6)), color-stop(27%, rgba(242, 242, 242, 0.8)), color-stop(85%, rgba(242, 242, 242, 1)));
}

.index-mask-b .inner-bg, .index-mask-c .inner-bg {
    height: 84px;
    width: 100%;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(31%, rgba(255, 255, 255, 0.6)), color-stop(100%, rgba(250, 250, 250, 1)))
}

.index-mask-b .split-bg, .index-mask-c .split-bg {
    height: 5px;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #E5E5E5), color-stop(100%, #f2f2f2));
}

.footer-bg {
    position: fixed;
    bottom: 81px;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 20px;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(242, 242, 242, 0.3)), color-stop(20%, rgba(242, 242, 242, 0.5)), color-stop(80%, rgba(242, 242, 242, 1)));
    pointer-events: none;
}

.left-pic-bg {
    position: fixed;
    top: 0;
    left: 50%;
    margin-left: -650px;
    width: 300px;
    height: 350px;
    background: -webkit-gradient(linear, right top, left top, color-stop(0, rgba(255, 255, 255, 0)), color-stop(20%, rgba(242, 242, 242, 0.5)), color-stop(50%, rgba(242, 242, 242, 1)));
    z-index: -1;
}

.right-pic-bg {
    position: fixed;
    top: 0;
    left: 50%;
    margin-left: 350px;
    width: 300px;
    height: 350px;
    background: -webkit-gradient(linear, left top, right top, color-stop(0, rgba(255, 255, 255, 0)), color-stop(20%, rgba(242, 242, 242, 0.5)), color-stop(50%, rgba(242, 242, 242, 1)));
    z-index: -1;
}

#frameBackground {
    display: none;
}

.go-to-search {
    overflow: hidden;
    top: 0;
    right: 0;
    text-indent: -1000px;
    position: absolute;
    width: 45px;
    height: 43px;
    background-position: 0 0;
}

.go-to-search:hover {
    background-position: -61px 0;
}

/*去掉百科页面的语种菜单下拉事件*/
.js__baikeDetail .select-lang {
    /*pointer-events:none;*/
}

/*为缩放放置的手柄div*/
.handle_4_resize div {
    position: absolute;
    z-index: 100000;
}

.handle_4_resize .cube {
    height: 15px;
    width: 15px;
}

.handle_4_resize .hbar {
    height: 3px;
    width: 100%;
}

.handle_4_resize .vbar {
    height: 100%;
    width: 2px;
}

.handle_4_resize .pt {
    top: 0;
}

.handle_4_resize .pb {
    bottom: 0;
}

.handle_4_resize .pl {
    left: 0;
}

.handle_4_resize .pr {
    right: 0;
}

.handle_4_resize .NS {
    cursor: n-resize;
}

.handle_4_resize .WE {
    cursor: e-resize;
}

.handle_4_resize .NWSE {
    cursor: nw-resize;
}

.handle_4_resize .NESW {
    cursor: ne-resize;
}

/******=============guide set============*******/
.stroke {
    position: absolute;
    bottom: 29px;
    right: 51px;
    background: url('icon/guide/stroke.png') no-repeat 0 0;
    width: 156px;
    height: 72px;
    z-index: 9999;
    display: none;
}

.diagram {
    position: absolute;
    bottom: 29px;
    left: 51px;
    background: url('icon/guide/diagram.png') no-repeat 0 0;
    width: 239px;
    height: 72px;
    z-index: 9999;
    display: none;
}

.spoken.guide-2 {
    position: absolute;
    top: 33px;
    right: 15px;
    background: url('icon/guide/spoken.png') no-repeat 0 0;
    width: 317px;
    height: 72px;
    z-index: 9999;
    display: none;
}

.spoken.guide-2 a, .diagram a, .stroke a {
    position: absolute;
    width: 20px;
    height: 20px;
    background: transparent;
    right: 3px;
    top: 0;
}

.stroke a:hover {
    background: none;
    border: none;
}

.has-no-mic {
    background: url('icon/hasNoMic.png') no-repeat 0 0;
    width: 180px;
    height: 42px;
    position: absolute;
    z-index: 1;
}

/*没有麦克风的提示*/
.no-mic-tip {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(50%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(242, 242, 242, 1)));
    position: fixed;
    height: 35px;
    line-height: 35px;
    border: 1px solid #d2d0d0;
    border-radius: 3px;
    padding: 0 10px;
    color: #818181;
    z-index: 100000;
    width: 160px;
    font-size: 12px;
}

.no-mic-tip p span {
    color: #64bbf4;
}

.no-mic-tip > span {
    position: absolute;
    color: #d2d0d0;
    top: 20px;
    left: 157px;
    font-size: 16px;
    font-family: Tahoma;
}

.no-mic-tip > span > span {
    position: absolute;
    color: rgba(242, 242, 242, 1);
    left: 2px;
    top: -2px;
    font-size: 14px;
}

/*广告和关闭*/
#ead_dictr_top div,
#ead_dictr_right div,
#ead_dictr_1 div,
#ead_dictr_2 div,
#ead_dictr_3 div,
#ead_dictr_4 div,
#ead_dictr_5 div,
#ead_dictr_result_bottom div,
#ead_dictr_example_bottom div,
#ead_dictr_wiki_bottom div {
    position: relative;
}

.closeAd {
    position: absolute;
    opacity: 0.8;
    top: 6px;
    right: 6px;
    height: 10px;
    background-color: gray;
    width: 10px;
    padding: 2px;
    background: #e2e2e2 url(icon/history.png) 2px 2px no-repeat;
}

.closeAd:hover {
    opacity: 1;
    background-position: -38px 2px;
}

.global-nav-bar .nav > li.current, .global-nav-bar .nav > li:hover {
    border-bottom: 4px solid #0073B7;
    padding-bottom: 5px;
}

/*==开始菜单设置==*/
.how-to-set {
    position: absolute;
    width: 148px;
    height: 54px;
    background: url('icon/guide/sratrSet.png') no-repeat 0 0;
    top: -40px;
    left: 0;
    display: none;
}

.close-how-to-set {
    position: absolute;
    top: 0;
    right: 3px;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0);
}