/*
 * w194-10 - changesoft iweb11
 * http://www.changesoft.com.tw/
 *
 * Copyright 2015, Evelyn Wang
 * 
 * 
 * August 2015
 */
 
 
/* +body
*----------------------------------------------------------------------------*/
.wrapper {
	background: url(../images/article/bg-wrapper.jpg) no-repeat 50% 0 #000;
}


/* +banner
*----------------------------------------------------------------------------*/
.wrapper .banner {
	margin-top: 10px;
	width: 100%;
	height: 280px;
}


/* +content
*----------------------------------------------------------------------------*/
#content {
	background: url(../images/article/bg-content.jpg) no-repeat 50% 50px;
	position: relative;
	margin-top: -50px;
	min-height: 800px;
}

/**
*
* =sidebar
*
**/
#content #sidebar {
	width: 33%;
	float: left;
	position: relative;
}

#content #sidebar #member {
    
	width: 100%;
	float: none;
    margin: 0 auto;
    position: relative;
}


#content #sidebar #sideNav {
	margin: 10px 15px 0 11px;
	background: #200700;
	border: 2px #2f1b14 solid;
	box-shadow: 5px 5px 5px 5px rgba(0,0,0,1.00) inset;
}

#content #sidebar #sideNav h3 {
	width: 100%;
	height: 69px;
	background: url(../images/article/title-sidenav.png) no-repeat 50% 0;
	text-indent: -999999px;
}

#content #sidebar #sideNav ul {
	margin: 15px 20px 30px;
}

#content #sidebar #sideNav ul li {
	margin: 5px 0;
	height: 37px;
	text-align: center;
	font-size: 16px;
}

#content #sidebar #sideNav ul li a {
	width: 100%;
	height: 35px;
	border: 1px #200700 solid;
	display: block;
	line-height: 35px;
	color: #fff;
}

#content #sidebar #sideNav ul li a:hover {
	margin: 0;
	background: url(../images/article/bg-sidenav.jpg) repeat-x 0 50%;
	border: 1px #a64034 solid;
	display: block;
	box-shadow: 3px 3px 7px 7px rgba(0,0,0,0.5) inset;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

#content #sidebar #sideNav #video {
	margin-bottom: 20px;
	overflow: hidden;
}

#content #sidebar #new-member {
	padding: 0 15px 0 10px;
	margin-bottom: 20px;
	text-align: center; 
    margin: 20px auto;
}

#content #sidebar #new-member img {
/*	width: 100%;  */
	width: auto; 
    max-width: 100%; 
    height: auto; 
    display: inline-block;
}

#content #sidebar .side-shadow {
	margin-bottom: 20px;
	height: 50px;
	background: url(../images/article/bg-sideshadow.png) no-repeat 50% 0;
}

#content #sidebar #gameType {
	margin-bottom: 30px;
}

#content #sidebar #gameType h3 {
	width: 100%;
	height: 120px;
	background: url(../images/article/title-hotgame.png) no-repeat center center;
	text-indent: -999999px;
}

#content #sidebar #gameType ul {
	margin: 0 15px 0 11px;
	overflow: hidden;
}

#content #sidebar #gameType ul li {
	margin-bottom: 10px;
}

#content #sidebar #gameType ul li img {
	width: 100%;
}

/**
*
* =content-main
*
**/
#content #content-main {
	margin-top: 30px;
	width: 63%;
	float: right;
}

#content #content-main h2 {
	margin-bottom: 30px;
	font-size: 24px;
	color: #fff;
}

#content #content-main #webSeo {
	margin-bottom: 20px;
	overflow: hidden;
	font-size: 15px;
	color: #D73F41;
}

#content #content-main #waylink {
	margin-bottom: 30px;
	text-align: right;
	color: #c68b85;
}

#content #content-main #waylink a {
	color: #c68b85;
}

#content #content-main #article ,
#content #content-main #article a {
	font-size: 16px !important;
	color: #c68b85 !important;
}


/**
*
* =content-main
*
**/
#content #content-main #page {
	text-align: center;
	color: #fff;
}

#content #content-main #page .pagenav {
	text-align: center;
}



/* 主體結構調整 */
#sidebar {
    width: 33%;
    float: left;
    position: relative;
}

#new-member img {
    display: block;
    max-width: 100%;
    height: auto;
}



/* +width: 1024↓ */
@media screen and (max-width: 1024px) {
    .wrapper .banner {
        height: 200px;
    }

    #content {
        margin-top: -30px;
        min-height: 700px;
    }

    #sidebar {
        width: 40%;
    }

    #content-main {
        width: 55%;
    }

    #content-main h2 {
        font-size: 20px;
    }
    
    
}

/* +width: 960↓ */
@media screen and (max-width: 960px) {
    #content {
        margin-top: -20px;
        min-height: 600px;
    }

    #sidebar {
        width: 100% !important;
        margin-bottom: 20px;
        float: none;
        text-align: center !important; 
    }

    #new-member {
        margin: 20px auto;
    }

    #new-member img {
        max-width: 80% !important; 
    }

    #content-main {
        width: 100%;
        float: none;
    }

    #content-main h2 {
        font-size: 18px;
    }
    
    #member {
   /* margin-left: 200px; */
    }
}

/* +width: 768↓ */
@media screen and (max-width: 768px) {
    .wrapper .banner {
        height: 150px;
    }
    
    #member {
    /*margin-left: 160px;*/
    }

    #content {
        margin-top: 0;
        min-height: auto;
    }

    #sidebar {
        width: 100% !important;
        margin-bottom: 15px;
    }

    #content-main {
        width: 100% !important;
    }

    #content-main h2 {
        font-size: 16px;
        margin-bottom: 20px;
    }

    #new-member img {
        max-width: 100%; /* 小螢幕按鈕占滿寬度 */
    }
}

/* +width: 640↓ */
@media screen and (max-width: 640px) {
    #member {
    /*margin-left: 115px;*/
    }
    
    .wrapper .banner {
        height: 120px;
    }

    #sidebar #sideNav ul li {
        font-size: 14px;
    }

    #content-main h2 {
        font-size: 15px;
    }

    #content-main #article {
        font-size: 14px !important;
    }
}

/* +width: 480↓ */
@media screen and (max-width: 480px) {
    .wrapper .banner {
        height: 100px;
    }

    #content {
        margin-top: 10px;
    }
    
    #member {
    /*margin-left: 35px;*/
    }
    
    #sidebar {
        width: 100% !important;
        margin: 0 auto;
    }

    #new-member img {
        max-width: 90% !important; 
    }

    #sidebar #sideNav ul li {
        font-size: 12px;
    }

    #content-main h2 {
        font-size: 14px;
    }

    #content-main #article {
        font-size: 12px !important;
    }
}

/* +width: 320↓ */
@media screen and (max-width: 320px) {
    .wrapper .banner {
        height: 80px;
    }

    #content {
        margin-top: 5px;
    }

    #sidebar {
        width: 100%;
        text-align: center; /* 讓內容在最小螢幕居中 */
    }

    #new-member img {
        max-width: 100% !important; /* 占滿可用寬度 */
    }

    #sidebar #sideNav ul li {
        font-size: 10px;
    }

    #content-main h2 {
        font-size: 12px;
    }

    #content-main #article {
        font-size: 10px !important;
    }
}