@font-face {
    font-family: 'FZQingKeBenYueSongS';
    src: url('../font/FZQingKeBenYueSongS.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FZLTZHJW';
    src: url('../font/FZLTZHJW.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: FZLTZHJW, FZQingKeBenYueSongS, Hiragino Sans GB, WenQuanYi Micro Hei, Lantinghei SC, STXihei, STHeitiSC-Light, SimSun, "宋体", Microsoft YaHei, "微软雅黑", WenQuanYi Zen Hei, 'sans-serif', Heiti, "黑体", PingFang SC, Helvetica Neue, Helvetica, Arial;
    -webkit-font-smoothing: antialiased;
}

@font-face {
    font-family: 'XingKaiTradition';
    src: url('../font/XingKaiTradition.eot') format('embedded-opentype'), url('../font/XingKaiTradition.woff') format('woff'), url('../font/XingKaiTradition.ttf') format('truetype'), url('../font/XingKaiTradition.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

.xk {
    /*float: left;*/
    /*font-weight: bold;*/
    font-family: "XingKaiTradition";
}

.datenav {
    width: 100%;
    height: 30px;
    background-color: rgb(255,246,249);
    border-bottom: solid 1px #42281e;
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #3f2a17;
}

.cal {
    width: 50%;
    margin-left: 20px;
    margin-right: 20px;
}
.pp {
    width: 50%;
    
    text-align: right;
    padding-right: 20px;
    /* margin-left:20%; */
}

.fixtopnav {
    position: fixed;
    top: 30px;
    z-index: 999;
    width: 100%;
    height: 98px;
    background-image: url('../image/xms_navbg.png');
    border-bottom: solid 1px #42281e;
}

.content_box {
    display: block;
    width: 1280px;
}

.nav_content {
    width: 97%;
    height: 98px;
    min-width: 1400px;
    max-width: 1800px;
    /* not sure about the width */
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
}

.fixtop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
}

.padtop {
    padding-top: 98px;
}

.logobox {
    width: 238px;
    display: flex;
    height: 98px;
}

.favi {
    padding-top: 24px;
    margin-right: 7px;
    /* padding-left: 1%; */
    width: 50px;
}

.favi img {
    width: 110%;
}

.logo_container {
    float: left;
    padding-left: 5px;
    padding-top: 16px;
    color: rgb(126, 56, 18);
}

.logo_container h1 {
    font-size: 16px;
    margin-top: 6px;
    margin-bottom: 6px;
    letter-spacing: 3px
}

.nm {
    font-weight: 100;
    font-family: FZQingKeBenYueSongS, Hiragino Sans GB, WenQuanYi Micro Hei, Lantinghei SC, STXihei;
    font-size: 12px;
    padding-left: 1%;
}

.navb {
    margin-left: 30px;
    margin-right: 30px;
    position: relative;
    font-family: FZQingKeBenYueSongS, Hiragino Sans GB, WenQuanYi Micro Hei, Lantinghei SC, STXihei;
}

.navb ul {
    list-style-type: none;
    padding-left: 10px;
    padding-right: 10px;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navb li {
    list-style-type: none;
    height: 98px;
    min-width: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #42281e;
    position: relative;
    cursor: pointer;
}

.triangle {
    position: absolute;
    left: 50%;
    bottom: 0px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 10px solid black;
}

.subnav {
    display: none;
    position: absolute;
    width: 100%;
    padding: 0;
    margin: 0;
    max-height: 60px;
    color:#42281eff;
    /* background-color: rgba(223, 154, 46, 0.75); */
    background-color:rgba(255,255,255, 0.75);
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);
}

.centeralign {
    margin-left: auto;
    margin-right: auto;
}

.subnav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.subnav li {
    list-style-type: none;
    height: 60px;
    min-width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-width: 50px; */
    font-size: 16px;
    color: #422913;
}

.sepimg {
    background-image: url('../image/xms_spot02.png');
    width: 6px;
    height: 18px;
}

.navright {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    position: relative;
}

.searchbox {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 38px;
    border-radius: 19px;
    background-color: rgb(252, 203, 96);
    border: 1px solid rgb(235, 157, 15);
    box-shadow: none;
    padding-right: 10px;
    padding-left: 10px;
}

.searchinput {
    border-radius: 19px;
    background-color: rgb(252, 203, 96);
    border: 0;
    width: 90%;
    outline: none;
    /* height: 38px; */
}

#searchbtn {
    cursor: pointer;
}


/* .subnav li :after {
    content: url('../image/xms_spot02.png');
    padding-top:5px;
    margin-left: 10px;
    width: 6px;
    height:18px;
    display:inline-block;
} */

.avatarIco {
    margin-left: 8px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
}

.avatarpannel {
    position: relative;
}

.unreadcount {
    position: absolute;
    color:#820720;
    top:0;
    right:0;
}

.masterBanner {
    width: 100%;
}

.content {
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
    color: inherit;
}

.footer {
    width: 100%;
    height: 180px;
    margin-top: 100px;
    background-color: #242424;
    padding: 55px;
    font-size: 18px;
    color: #878787;
}

.flexbox {
    display: flex;
    flex-direction: row;
}

.footer_logo {
    height: 100%;
}

.footer_content {
    margin-left: 40px;
    margin-top: 5px;
}

.footersep {
    margin-left: 15px;
    margin-right: 15px;
}

.copyright {
    font-size: 16px;
}

.alert {
    display: none;
}


/* title bar */

.titlebar {
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 14px;
    background-color: #f6b900;
    color: #6d1e03;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    padding-left: 15px;
}

.titlebar p {
    margin: 0;
    overflow: hidden;
}

.upleft {
    left: 0px;
    top: 0px;
}

.downright {
    right: 0px;
    bottom: 0px;
    filter: progid: DXImageTransform.Microsoft.BasicImage(rotation=2)​;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.downleft {
    left: 0px;
    bottom: 0px;
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
}

.upright {
    right: 0px;
    top: 0px;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.listbanner {
    margin-top: 30px;
}

.carousel-control {
    width: 7%;
}

.carousel-inner .item img{
    margin-left: auto;
    margin-right: auto;
}

/* .glyphicon-chevron-right {
    background-color: rgba(255, 255, 255, 0.5);
    filter: (2px);
    width: 50px !important;
    height: 50px !important;
    ;
} */

.clear {
    clear: both;
}

#useraction_dropdown_menu {
    display:none;
}

.useraction-dropdown-menu-open {
    display: block !important;
    position: absolute;
    top:98px;
    left:124px;
    list-style: none;
    background-color: white;
    padding:10px;
    width:100px;
    border:1px solid rgb(237,179,98);
    text-align: center;
    line-height: 150%;
}

#useraction_dropdown_menu img {
    position: absolute;
}

/*/// floating alert styles ////*/

#floating_alert {
    display: none;
    z-index: 5000;
    position: fixed;
    right: 0px;
    left: 0px;
    margin-left: auto;
    margin-right: auto;
    top: calc(60%);
}

@media screen and (min-width: 700px) {
    #floating_alert {
        /* right: calc(49% - 130px);
        top: 300px;*/
        width: 260px;
    }
}

@media screen and (max-width: 700px) {
    #floating_alert {
        min-width: 130px;
        max-width: 80%;
    }
}

.restricted {
    display: inline-block;
    cursor: pointer;
    
}

.restricted img {
    max-width: 18px;
    margin-bottom: 8px;
}

#custom-search-input{
    padding: 3px;
    border: solid 1px #E4E4E4;
    border-radius: 6px;
    background-color: rgb(244, 187, 14);
    margin-bottom: 40px;
}

#custom-search-input input{
    border: 0;
    box-shadow: none;
}

#custom-search-input button{
    margin: 2px 0 0 0;
    background: none;
    box-shadow: none;
    border: 0;
    color: yellow;
    padding: 0 8px 0 10px;
    border-left: solid 1px #ccc;
}

#custom-search-input button:hover{
    border: 0;
    box-shadow: none;
    border-left: solid 1px #ccc;
}

#custom-search-input .glyphicon-search{
    font-size: 23px;
}

.topsearches {
    margin-top:3%;
    margin-bottom:3%;
    line-height: 2;
}

.srch {
    font-size:16px;
    padding-top:5px;
    padding-bottom:5px;
    padding-left:20px;
    padding-right:20px;
    border-radius:3px;
    background-color:#f5f5f5;
    margin-right:5px;
    white-space: nowrap;
}