/********************** side ***********************/
.side {
    width: 300px;
    float: left;
}
.side img {
    width: 100%;
}
.hidden900{
	display:block;
	}
.show900,.show500{
	text-align:center;
	display:none;
	}

.nav-title{
    border: 1px solid #666661;
    padding: 6px 12px;
    margin-bottom: 14px;
}
.nav-title .en{
    font-size: 23px;
    color: #666661;    
}
.nav-title .en:after{
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(../images/xicon.png)center center no-repeat;
    margin: 0 12px;
}
.nav-title .zh{
    font-size: 20px;
    font-family: '微軟正黑體';
    color: #333333;
    
}
.has-side .content {
    width: calc(100% - 370px);
    float: right;
}
.side-nav {
    position: relative;
}
.side-nav li a {
    display: block;
}
.side-nav > li > a {
    color: #969696;
    position: relative;
    padding: 11px 28px;
    line-height: 24px;
    font-size: 16px;
    margin-bottom: 14px;
}
.side-nav > li > a:hover,
.side-nav > li.active > a {
	color: #666661;
	font-weight: bold;
	background-color: #E1E1E1;
}
.side-nav > li.has-child {
    position: relative;
}
.side-nav > li.has-child a {
    padding-right: 45px;
}
.side-nav > li .toggle-sidesub {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    background: url(../images/side_accordion.png) no-repeat;
    width: 45px;
    height: 45px;
    cursor: pointer;
}
.side-nav li.active .toggle-sidesub {
    background-position: 0 100%;
}
.side-nav ul {
    display: none;
    padding-bottom: 8px;
}
.side-nav ul li a {
    color: #666666;
    font-size: 15px;
    background: #F3F3F3;
    padding: 8px 10px 8px 36px;
    margin-bottom: 6px;
}
.side-nav ul li a:hover,
.side-nav ul li.active > a {
    background: #5E99AD;
    color: #FFF;
}

.toggle-side {
    display: none;
}
.side-nav li .toggle-submenu{
    display: block;
    width: 13px;
    height: 13px;
    position: absolute;
    top: 15px;
    right:15px;
}
.side-nav li .toggle-submenu:before{
    content: "\f067";
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.side-nav li.active .toggle-submenu:before{
    content: "\f068";
}
@media screen and (max-width: 1200px) {
    .side {
        width: 250px;
    }
    .has-side .content {
        width: calc(100% - 300px);
    }
}
@media screen and (max-width: 900px) {

.hidden900{
	display:none;
	}
.show900{
	display: block;
	 text-align:center;
	}	
	
	.fb-page, 
.fb-page span, 
.fb-page span iframe[style] { 
    width: 500px !important; 
}

    .toggle-side {
        display: block;
        padding: 8px 20px;
        font-family: 'Trykker', "微軟正黑體", "Microsoft JhengHei", "微软雅黑", "メイリオ", "맑은 고딕", sans-serif;
        font-size: 18px;
        border: 1px solid #666;
        color: #333;
        width: 100%;
        margin-bottom: 20px;
    }
    .toggle-side:hover,
    .side-open .toggle-side {
        background: #666661;
        border-color: #666661;
        color: #fff;
    }
    .side,
    .has-side .content {
        float: none;
        width: auto;
    }
    .side {
        max-height: 0;
        overflow: hidden;
        -webkit-transition: all .3s ease;
           -moz-transition: all .3s ease;
            -ms-transition: all .3s ease;
             -o-transition: all .3s ease;
                transition: all .3s ease;
    }
	.side img {
		width:33.3%;
		float:left;
    }

    .side-open .side {
        max-height: 1000px;
        padding-bottom: 20px;
        overflow-x: visible;
        overflow-y: auto;
    }
    .has-side .content {
    }
    .side-open .content {
    }
.show500 img { 
    width: 250px !important; 
}
.block_ad1-set-line{
	width:500px;
	margin-left:auto;
	margin-right:auto;
	
	}
}
@media screen and (max-width: 500px) {
	.show900{
	display:none;
	}
	.show500{
	display:block;
	 text-align:center;
	}
		.fb-page, 
.fb-page span, 
.fb-page span iframe[style],.show500 img { 
    width: 330px !important; 
}
.block_ad1-set-line{
	width:330px;
	margin-left:auto;
	margin-right:auto;
	
	}
}	