﻿@font-face { font-family: "Barlow Condensed"; font-weight: 300; src: url("../font/BarlowCondensed-Light.ttf") format('truetype'); }
@font-face { font-family: "Barlow Condensed"; font-weight: 400; src: url("../font/BarlowCondensed-Regular.ttf") format('truetype'); }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; src: url("../font/BarlowCondensed-Medium.ttf") format('truetype'); }
* { transition: all linear 200ms; font-family: "Barlow Condensed"; }

body { width: 326px; margin: 0 auto; }
form{background-color:transparent;}
#head { width: 100%; position: relative; margin-top: 10px; }
    #head #logo { background-image: url("../img/xianglogo_2x.png"); background-size: contain; width: 135px; height: 38px; background-repeat: no-repeat;display:block; }
    #head #menu_btn { width: 54px; display: block; background-image: url("../img/menu.png"); background-repeat: no-repeat; background-position: right; position: relative; top: -26px; float: right; font-size: 18px; color: #666; cursor: pointer; }
    #head #search { border-radius: 24px; width: 100%; height: 30px; border: 1px solid #ccc; padding: 0px 5px; margin: 0px auto; display: block;box-sizing:border-box; outline:none;}
    #head #menu { width: 100%; margin: 0 auto; position: absolute; top: 50px; z-index: 30; background-color: rgba(255,255,255,0.9); display: none; }
        #head #menu ul { padding: 0px; }
        #head #menu li { list-style: none; position: relative; height: 36px; line-height: 36px; transition: none; }
            #head #menu li.menu_head:before { content: attr(title); font-weight: 500; position: absolute; left: 0px; font-size: 30px; line-height: 30px; color: #404040; font-family: 'Barlow Condensed' ,'Microsoft YaHei';}
            #head #menu li.menu_head { border-bottom: solid 1px #808080; text-align: right; font-size: 14px; font-weight: 400; color: #404040; cursor: pointer; font-family: LiSu; }
            #head #menu li:not(.menu_head) { margin-top: 8px; padding: 0px 10px; }
                #head #menu li:not(.menu_head):hover { background-color: #F2F2F2; cursor: pointer; }
            #head #menu li a { text-decoration: none; color: #404040; font-size: 12px; font-weight: 300; display: block; width: 100%; height: 100%; }
                /*#head #menu li a:before { content: attr(title); font-size: 16px; margin-right: 4px; }*/


body.black { background-color: black; }
    body.black #head #logo { background-image: url("../img/xianglogo_w_2x.png"); }
    body.black #search { background-color: black !important; color: #eee !important; }
    body.black #menu { background-color: rgba(0,0,0,0.9) !important; }
    body.black #menu li a { color: #aaa !important; }
    body.black #menu li:not(.menu_head):hover a { color: #eee !important; }
    body.black #menu li:not(.menu_head):hover { background-color: #222222 !important; }
    body.black #head #menu li.menu_head:before { color: #eee !important; }

#swwebgroup { display: none; }
.swbtnGroup {margin-top:10px; }
.swCon { border: 0px; width: 40px; height: 20px; display: block; background-color: rgb(112,112,112); border-radius: 10px; position: relative; padding: 2px; box-sizing: border-box; display: inline-block; vertical-align: middle; margin-right: 6px; }
.swBtn { border: 0px; width: 16px; height: 16px; display: block; background-color: #fff; border-radius: 100%; cursor: pointer; position: relative; top: 0px; left: 0px; }
body.black .swCon { background-color: #eee; }
body.black .swBtn { left: 20px; background-color: #000; }
.swtxt_w { font-size: 12px; vertical-align: middle; }
.swtxt_b { font-size: 12px; display: none; color: #fff; vertical-align: middle; }
body.black .swtxt_w { display: none; }
body.black .swtxt_b { display: inline; }

#swweblang { display: none; }

#swmoblang { position: absolute; left: 238px; top: 76px; }
    #swmoblang #lang_En { position: absolute; left: 0px; top: 24px; font-family: 'Barlow Condensed'; font-size: 18px; font-weight: 500; cursor: pointer; color: black; text-decoration: none; display: block; width: 50px; }
    #swmoblang #lang_Cn { position: absolute; left: 58px; top: 24px; font-family: 'Barlow Condensed'; font-size: 14px; font-weight: 500; line-height: 26px; cursor: pointer; color: black; text-decoration: none; display: block; width: 28px; }
    #swmoblang #lang_En:after { content: ""; display: inline-block; width: 2px; border-right: solid 2px #8F8F8F; height: 13px; position: relative; top: 1px; left: 3px; }
    #swmoblang #lang_En.selected { color: #cc9966 !important; }
    #swmoblang #lang_Cn.selected { color: #cc9966 !important; }
body.black #swmoblang #lang_En { color: white; }
body.black #swmoblang #lang_Cn { color: white; }

#foot { font-size: 8px; height: 30px; line-height: 30px; border-top: 1px solid #ccc; }
body.black #foot { color: white; }


/**分页**/
.pagelist {margin:2px 4px;color:#404040; text-align:center; vertical-align:middle; font-family:Arial; font-size:12px;}
.pagelist strong{margin:2px 4px;color:#404040; vertical-align:middle; font-family:Arial; font-size:12px;text-decoration:none;}
/**分页有内容**/
.pagelist span,.pagelist a{text-align:center; vertical-align:middle; font-family:Arial; font-size:12px;
display:inline-block; padding:4px 8px;margin:0px 2px;border:#404040 solid 1px;color:#404040; border-radius:0px;text-decoration:none;}
.pagelist var{height:21px;line-height:21px; display:inline-block;margin:0px 3px 0px 3px;}
.pagelist .thispage{font-weight:100;margin-right:3px;border:#404040 solid 1px; background-color:#404040;color:#ffffff;}
.pagelist a:hover{ color:#ffffff; border:#404040 solid 1px; background-color:#404040;text-decoration:none;}


/*内容副标题*/
.title {padding:0px 0px 0px 0px;text-align:center; text-transform:uppercase;}
.title h3 a { line-height:20px;height:20px;font-weight: normal;text-decoration: none;}
.title h3 small {display:block; clear:both; margin:10px 0px 10px 0px;  font-size:10px; }
