@media (max-width: 959px) {
/*行動版左側選單_包住*/
#w {
	position: relative;
	overflow-x: hidden;
	overflow-y: hidden;
}
/*行動版上方*/
#w #pagebody {
	position: relative;
	left: 0;
	z-index: 99999;
}
#w #pagebody #toolbarnav {
	position: fixed;
	display: block;
	left: 0px;
	top: 0px;
	z-index: 9999;
	width: 100%;
	height: 60px;
	background:#fff;
 box-shadow: 0 8px 20px -8px rgba(0,0,0,0.1	);
}
#w #pagebody #toolbarnav #logo-mobile {
	position:absolute;
	left:50%;
	width: 180px;
	margin-left:-90px;
}
#w #pagebody #toolbarnav #menu-btn {
    width: 60px;
    height: 40px;
    margin: 8px;
    background: url(../images/menu.png) center center no-repeat #333;
    border: 0;
    text-indent: -999999px;
    position: absolute;
    top: 0;
    left: 0;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -border-radius: 3px;
    box-shadow: inset 0 1 1px #000;
	  cursor:pointer;
}
#w #pagebody #content {
	display: block;
	height: 100%;
	z-index: 9999;
	padding-top:45px;
}
/*行動版左側選單_選單*/
#w #navmenu {
	background:#333;
	height: 100%;
	display: block;
	position: fixed;
	width: 200px;
	left: 0px;
	top: 0px;
	z-index: 0;
	overflow-x: hidden;
	overflow-y: auto;
	z-index:99999;
}
#w #navmenu header {
	display: block;
	height: 44px;
}
#w #navmenu header h2 {
	text-align: center;
	padding-top: 10px;
	color: #e6e8f2;
	font-weight: bold;
	font-size: 2.1em;
	text-shadow: 1px 1px 0px #313131;
}
/*連結*/
#w #navmenu ul {
	list-style: none;
}
#w #navmenu li {
	width: 100%;
	float: left;
}
#w #navmenu ul li a {
	display: block;
	color:#fff;
	font-size:1.1em;
  padding: 10px 0;
}
#w #navmenu ul li a:visited {
	text-decoration:none;
}
#w #navmenu ul li a:hover {
	color:#FFF;
	text-decoration: none;
}
#w #navmenu ul li .qa_title:hover {
	background:#000;
}
/*連結下拉*/
#menu #qaContent li .qa_title{
	font-size: 0.95em;
	padding:0 10px;
	color: #fff;
	cursor: pointer;
	font-weight: normal;
	border-bottom:1px solid #232323;
	background: #333;
	text-align:left;
}
#menu #qaContent li .qa_title a {
	font-size: 1.1em;
}
#menu #qaContent li .qa_content li {
	font-size: 0.8em;
	border-bottom:none;
}
#menu #qaContent li .qa_content li a{
	display: block;
	font-size: 1.2em;
	line-height: 30px;
	padding: 5px 0 5px 10px;
	color: #000;
	background: #eee;
	text-align:left;	
}
/*統一設定*/
.container {
	width:96%;
	margin: 0 2%;
}
.container02 {
	width:100%;
}
.web {
	display:none;
}
.mobile {
	display:block;
}
.bg02 {
	background-image: none;
}
.addtop100p{
	padding-top:0 !important;
}
.left , .right {
 width: 100%;
}

/*網頁版上方*/
header {
	display:none;
}
nav {
	display:none;
}

/*主內容*/
#banner {
	display:none;
}
#bannermobile {
	display:block;
  overflow: hidden;	
}

/*首頁-訊息中心*/
#index-news {
 padding: 20px;
}
#indexnews-img {
 display: none;
}
#indexnews-txt {
 width: 100%;
}
#indexnews-txt li a span.date {
 display: block;
 padding-bottom: 5px;
}
#index-news h2 {
 font-size: 1.2em;
 margin-bottom: 10px;
}

/*首頁-關於我們*/
#index-about {
}
#index-about #left-img {
  width: 100%;
}
#index-about #left-img img {
 margin-top: 0;
 margin-left: 0;
 width: 100%;
}
#index-about #right-txt {
  width: 100%;
  text-align: center;
}
#index-about #right-txt h2 {
 font-size: 2em;
 font-weight: 700;
 padding-top: 10px;
}
#index-about #right-txt p {
 line-height: 1.8em;
}
#index-about #right-txt li a {
 display: block;
 width: 80%;
 padding: 10px;
 text-align: center;
 margin: 0 auto;
}

/*首頁-來國姓寮*/
#indexspotlight {
 padding: 25px 0;
}
#indexspotlight .index-spotlight {
 width: calc(100%/2);
 padding: 15px;
}

/*內頁共用*/
.ckediter{
 /*padding: 10px;*/
}
.ckediter img {
	max-width: 100%;
	height:auto !important;
}
.ckediter-date {
	padding-left: 10px;
	color: #00a0e9;
}
#bannerin {
  padding-top: 10px;
}
#bannerin h1.title {
 margin-top: 25px;
 display: none;
}
#bannerin h3.title {
 display: none;
}
main {
 margin-bottom: 25px;
 padding: 25px;
}

/*關於我們*/
/*上方*/
#about-top {
 height: auto;
 padding: 50px 25px;
}
#about-top h2 {
 font-size: 1.8em;
}

/*中央*/
#about-center #left-txt {
  width: 100%;
  padding: 10% 25px 0 25px;
}
#about-center #right-img {
  width: 90%;
  padding: 5%;
}
#about-center #right-img img {
  margin-left: 0; 
  margin-top: 0;
  width: 100%;
}
/*下方*/
#about-bottom {
 background-position: right;
 width: 100%;
 height: auto;
 padding: 50px 25px;
 position: static;
}
#about-bottom .txt {
  position: static;
}

/*訊息中心*/
#news {
 padding: 10px;
}
.news {
 padding: 10px;
 margin: 0;
}
.news .left {
 float: left;
 width: 100%;
}
.news .right {
 float: left;
 width: 100%;
}
.news .right ul {
 padding: 10px;
}
.news .right ul span.date {
 padding-right: 10px;
}

/*活動報名*/
.column {
  margin: 10px 0 10px 0;
  padding: 25px;
}
.column .img {
  width: 100%;
}
.column .txt {
  width: 100%;
}
.column .txt ul span.title {
 display: block;
}
.column .txt a.btn {
 width: 100%;
}

/*活動報名內頁*/
#avtivity-in-left {
 width: 100%;
 padding: 10px;
 margin-top: 0;
}
#avtivity-in-right {
  width: 100%;
}
#avtivity-in-right-fix {
 padding: 10px;
}
#avtivity-in-right-fix h1.title {
 font-size: 1.5em;
 padding-bottom: 10px;
}
.activity-singup{
 padding: 15px;
}
.activity-singup .list .list-title {
 width: 100%;
 font-size: 120%;
 font-weight: 800;
}
.activity-singup .list .list-input {
 width: 100%;
}
#activity-btn input.btn {
 width: 100%;
}
#activity-btn input.btn-back{
 width: 100%;
 margin-bottom: 5px;
}

/*精彩回顧*/
#history .history {
 width: 100%;
 margin: 2% 0;
 padding: 20px;
}
#history .history img {
 width: 100%;
}
#history-detail #history-img {
  width: 100%;
}
#history-detail #history-img img {
  width: 100%;
}
#history-detail #history-txt {
  width: 100%;
}
#history-detail #history-txt h2{
  font-size: 1.5em;
  line-height: 1em;
  padding-top: 20px;
}
#history-pic .image-set {
 width: 100%;
 padding: 25px;
}
/*精采回顧內頁*/
#history-detail {
 padding: 25px;
}

/*來國姓寮內頁*/
#viewpoint-top h1.title {
 display: none;
}
#viewpoint-top li {
 text-align: center;
 font-size: 0.8em;
}
#viewpoint .v-column {
 padding: 25px;
}
#viewpoint .column-img {
 width: 100%;
}
#viewpoint .column-img img {
 width: 100%;
}
#viewpoint .column-txt {
 width: 100%;
}

/*聯絡我們*/
#contact .list .list-title {
 float: left;
 width: 100%;
}
#contact .list .list-input {
 float: right;
 width: 100%;
}

/*尾部*/
footer {
 height: auto;
padding: 20px;
}
footer .left {
 width: 100%;
}
footer .right {
 width: 100%;
 text-align: center;
}
footer h3 {
 font-size: 1em;
 padding: 0;
}
footer h2 {
 font-size: 1.2em;
 font-weight: 600;
 padding-bottom: 10px;
}
footer ul {
 font-size: 0.8em;
}



}
@media (max-width: 1024px) {
#spotlight-txt #spotlight-txt-in {
  width: calc(100% - 20px);
  left: 10px;
  top: 50px;
  margin-left: 0;
  margin-right: 10px;
}
}
@media (min-width: 20px) and (max-width: 530px) {
/*主內容*/
#bannermobile {
	display:block;
  height: auto;
  overflow: auto;	
}
}