/* CSS Document */
 * {
    font-family:"微軟正黑體";
}
img {
    max-width: 100%;
    height: auto;
}
*:link, *:visited, *:hover, *:active, *:focus, * {
    -o-transition: all .10s linear;
    -webkit-transition: all .10s linear;
    -moz-transition: all .10s linear;
    transition: all .10s linear;
}

body {
    padding: 0;
    margin: 0;
   
}
#content_case_out{
padding: 30px 0;
 background: url(http://www.shangyang1102.com/admin/file_manage/file/9d44e4f4ece44abe51c26dfa9c4a59edaa990e39.jpg) top repeat-x;
}
#content_case {
   
width: 1024px;
    margin: 0 auto;
}
#content {
    width: 75.6%;
    padding-left: 25px;
    vertical-align: top;
    display: inline-block;
}
/** Head 部分 **/
#head_out {
    background: url(http://www.shangyang1102.com/admin/picture/images/2.png) repeat-x top;
    position: relative;
    z-index: 999;
    height: 94px;
}
 #head {
    width: 1100px;
   
    margin: 0 auto;
}
#head #language {
    position: absolute;
    right: 10px;
    top: 40px;
}
#head #language .show {
    display: block;
}
#head #language .hide {
    display: none;
}
#head #language a:hover .show {
    display: none;
}
#head #language a:hover .hide {
    display: block;
}

#head #head_logo {
    vertical-align: middle;
    min-height: 100%;
    text-align: center;
    padding: 20px 0;
    width: 35%;
    display: inline-block;
}
#head > .head_btn {
    display: block;
    width: 100%;
    min-height: 30px;
    line-height: 25px;
    text-align: center;
    z-index: 210;
    top: 0;
    left: 0;
}
#head > .btn_more {
    position: relative;
    z-index: 210;
    width: 100%;
    background: #E9E9E9;
}
#button_switch {
    display: none;
}
#button {
    text-align: right;
    width: 64%;
    display: inline-block;
}
#button > a {
    color: #999;
    text-decoration: none;
 margin:0 30px;
     padding:0 5px;
line-height: 30px;
    font-size: 15px;
    display: inline-block;

}
#button > a:hover {
    color: #fff;
    background: #274381;
}
#button > span {

    font-size: 12px;
    color: #ccc;
}
/*購物車方塊*/
 #cart_run {
    position: fixed;
    text-align: center;
    right: 5px;
    top: 50%;
    min-width: 1em;
    min-height: 100px;
    border: 1px solid #333;
    z-index: 999;
    background:#fff;
    padding: 0px;
}
#cart_run_title {
    text-decoration: none;
    color: #ccc;
    display: block;
    padding: 5px;
    background-color: #333;
}
#cart_num {
    font-weight: bold;
    font-size: 1.2em;
}
/** Banner部分 **/
 #banner {
   position: relative;
    overflow: hidden;
    width: 100%;
    /*min-height: 417px;*/
    margin:0 auto;
margin-top: -7px;
    
    background-image: url(../images/loading.gif);
    background-position: center;
    background-repeat: no-repeat;
}
#banner .img {
    white-space: nowrap;
    position: absolute;
}
#banner .img img {
    vertical-align: top;
}
.banner_shadow {
    display: none;
    width: 100%;
}
#banner #banner_control {
    position: absolute;
    width: 100%;
    z-index: 200;
    text-align: center;
    bottom: 10px;
    left: 0;
}
#banner #banner_control span {
    cursor: pointer;
    padding: 0 5px;
}
#banner #banner_control span img:nth-child(2) {
    display: none;
}
#banner #banner_control span img:nth-child(1) {
    display: inline-block;
}
#banner #banner_control span:hover img:nth-child(1), #banner #banner_control span.now img:nth-child(1) {
    display: none;
}
#banner #banner_control span:hover img:nth-child(2), #banner #banner_control span.now img:nth-child(2) {
    display: inline-block;
}
/** Body 部分 **/
 .h01 {
   
   position: relative;
   
    padding: 0 0 10px 0;
    margin-bottom: 35px;
    border-bottom: #ccc 2px solid;
}
.h01 b {
 display: none;
    position: absolute;
    top: 2px;
    left: 0;
    padding: 0;
    margin: 0;
}
.body_content {
    width: 78%;
    width: calc(100% - 190px);
    float: right;
}


/**左邊最新消息列表**/
 #left_news {
    display: inline-block;
    width: 22%;
    margin-right: 2%;
    padding-right: 25px;
    height: 500px;
    background: url(../admin/picture/images/12.png) no-repeat #fff;
    background-size: 90%;
    border: 1px solid #EFEFEF;
    position: relative;
}
#product_menu_title {
    margin-bottom: 10px;
}
#left_news .line {
    top: 0;
    left: 0;
    width: 1px;
    height: 25px;
    background: #E9CB57;
    position: absolute;
}
#left_news .more {
    position: absolute;
    top: 6.1%;
    right: 14%;
    font-size: 12px;
    color: #fff;
    background: #ccc;
    display: inline-block;
    padding: 0px 5px 2px 5px;
}
#left_news .more:hover {
    background: #999;
}
#news_title {
    margin: 0 auto;
    margin-bottom: 10px;
    margin-top: 10px;
    display: block;
}
#left_news .line2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 20px 0;
    border-color: transparent #1a7b2d transparent transparent;
}
#left_news a span {
    display: block;
    color: #C44871;
}
#left_news a {
    text-decoration: none;
    color: #666;
    padding-left: 20px;
    font-size: 13px;
    display: block;
    margin: 0 20px;
    line-height: 18px;
    border-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 25px;
}
#left_news .more {
    top:4%;
}
/**左邊產品分類列表**/
#left_product {
    width: 220px;
    vertical-align: top;
    display: inline-block;
}
.product_menu {
    padding: 25px 10px 175px 10px;
    border: 1px solid #E8E8E8;
    background: #F5F5F6 url(../admin/file_manage/file/9ea4d01232247447875c4e635f31f213583910e6.png) no-repeat right bottom;
   
}
 .product_menu ul {
    padding: 0;
    margin: 0;
    border: 0;
    list-style: none;
    text-align: center;
}
.product_menu ul li {
    
    
   
    list-style: none;
    width: 80%;
    display: block;
    text-align: left;
    font-size: 16px;
    border-bottom: 1px solid #CCCCCC;
    margin: 0 10%;
    float: left;
    
}
.product_menu ul li:last-child {
    margin-right: 0;
}
.product_menu ul li a {
   padding-left: 25px;
   display: block;
    line-height: 36px;
    color: #274381;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
background: url(http://www.shangyang1102.com/admin/file_manage/file/57082e845eaf161f8f49b91e5cc00da68bf1d1bc.jpg) no-repeat 10px;
}
.product_menu ul li b {
    margin-right: 10px;
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    background: #B73682;
    display: none;
}
.product_menu ul li a:hover {
color: #fff;
    background: #274381 url(http://www.shangyang1102.com/admin/file_manage/file/9f283589f8a3d7e288714bb1fabdf0b526df6a74.jpg) no-repeat 10px;
    box-shadow: 3px 3px 3px 3px #e8e8e8;
}
.product_menu ul:after {
    content:'';
    display: block;
    clear: both;
}
#body {
}
.body_home_title {
    width: 100%;
    padding: 10px 0;
    margin-bottom: 5px;
}
/** QR code **/
 .qr {
    float: left;
    display: inline-block;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #E8E8E8;
    padding: 10px 20px;
    background: #ffffff;
    /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #e7e7e7 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #e7e7e7));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 0%, #e7e7e7 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 0%, #e7e7e7 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffffff 0%, #e7e7e7 100%);
    /* IE10+ */
    background: linear-gradient(to bottom, #ffffff 0%, #e7e7e7 100%);
    /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e7e7e7', GradientType=0);
    /* IE6-9 */
}
/** **/
 .body_title .h01 {
    position: relative;
    margin-bottom: 10px;
}
.body_title .h01 b {
    position: absolute;
    top: 2px;
    left: 0;
    padding: 0;
    margin: 0;
}
.page_content {
    width: 100%;
}
h1, h1 a {
    color: #ccc;
    font-size: 12px;
    padding: 0;
    margin: 0;
}
/** 上下篇文章 **/
 .prev_page_link {
    float: left;
    text-align: left;
    color: #666;
}
.prev_page_link a {
    text-decoration: underline;
}
.next_page_link {
    float: right;
    text-align: right;
    color: #666;
}
.next_page_link a {
    text-decoration: underline;
}
.prev_page_link a:hover, .next_page_link a:hover {
    color: #DC64B0;
}
/** Foot 部分 **/
 #foot {
    width: 100%;
    min-height: 50px;
    padding: 0;
    margin: 0;
}
#hot_title {
    cursor: pointer;
    color: #ccc;
    font-size: 13px;
}
#im_link {
    display: none;
    font-size: 12px;
}
#im_link a {
    text-decoration: none;
    color: #ccc;
}
#im_link a:hover {
    color: #DC64B0;
}
/** 表單轉信 **/
 .trans_red {
    color: #f00;
}
.trans_input {
    width: 90%;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background-color: #CCCCCC;
    border: 1px #999 solid;
}																																																																																																																																																												