﻿@media screen and (max-width: 480px) {
.introTitle {
	font-size: 15pt;
}
.intro {
	font-size: 10pt;
}
#newsbox li{	
	display: block;
	padding: 0 auto;
	width: 100%;
	height: 380px;
}
.tabboximg {
	display: none;
}
.tabboxtb {
        width: 100%;
}

#website li {
	width: 100%;
}
#website li p {
	margin: 0 30px 0 0;
	padding-bottom: 5px;
	border-bottom: 1px solid #cfefef;
}
.mapsub {
	display: none;
	padding: 5px 0 0 10px;
	font-size: 11pt;
}
}

@media screen and (min-width: 480px) {
h2 {
	font-size: 17pt;
}
.introTitle {
	font-size: 21pt;
	letter-spacing: 0.15em;
}
.intro {
	font-size: 11pt;
}
#website li {
	max-width: 20%;
	min-width: 15%;
}
.tabboxtb {
        width: 75%;
}
}

@media screen and (min-width: 480px) and (max-width: 900px) {
#newsbox li{	
	display: inline-block;
	width: 48.5%;
	height: 350px;
}
}

@media screen and (max-width: 700px) {
#s-logo {
	display: none;
}
#webtop {
	display: none;
}
#banner {
	height: 70px;
	background: url(images/index06.jpg) center;
}

.introTitle {
	color: #CBCBCB;
}
.intro {
	color: #4D4D4D;
}

#menua {
    position: fixed;
    background-color: #222;
    height: 100%;
    z-index: 10;
    width: 280px;
    color: #bbb;
    top: 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
    opacity: 1;
}

    #menua ul {
        list-style: none;
        margin-top: 0;
        padding: 0;
    }

        #menua ul li {
            border-bottom: 1px solid #2a2a2a;
        }

    #menua > ul > li > a {
        border-left: 4px solid #222;
    }

    #menua ul li a {
        color: inherit;
        font-size: 16px;
        display: block;
        padding: 8px 0 8px 7px;
        text-decoration: none;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        transition: all 0.3s ease;
        font-weight: 600;
    }

    #menua ul a i {
        margin-right: 10px;
        font-size: 18px;
        margin-top: 3px;
        width: 20px;
    }

        #menua ul a i[class*='fa-caret'] {
            float: right;
        }

    #menua ul a:hover,
    #menua ul a.active {
        background-color: #111;
        border-left-color: #FFCC33;
        color: #FFCC33;
    }

        #menua ul a:hover i:first-child {
            color: #FFCC33;
        }

    #menua ul li a.active + ul {
        display: block;
    }

    #menua ul li ul {
        margin-top: 0;
        display: none;
    }

        #menua ul li ul li {
            border-bottom: none;
        }

            #menua ul li ul li a {
                padding-left: 30px;
            }

                #menua ul li ul li a:hover {
                    background-color: #1A1A1A;
                }

.left {
    left: -280px;
}

.show {
    left: 0;
}

#showmenu {
    margin-left: 100%;
    position: absolute;
    top: 10px;
    font-size: 1.3em;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#container {
    padding: 50px;
}
#topitem {
	display: ;
}
#newsleft {
	display: block;
	width: 90%;
	margin: 0px auto 10px auto;
}
#newsright {
	display: block;
	width: 100%;
}
#leftList {
	display: none;
}
}

@media screen and (min-width: 700px) {
#banner {
	height: 200px;
	background: url(images/banner01.jpg) bottom;
}
#showmenu {
	display: none;
}
#showhome {
        display: none;
}
.introTitle {
	color: #819AD0;
}
#sum {
	color: #ffffff;
	background: #002FA7;
}

#menu {
	font-family: "微軟正黑體", "新細明體";
	font-size: 18px;
	letter-spacing: 0em;
	display: box;
	margin: 0 auto;
	width: 800px;
	padding: 0px;
	height: 26px;
	background: #FFFFFF;
	border-left: 2px solid #353535;
}
#menu li {
	list-style: none;
	margin: 0 auto;
	padding: 0px 0px;
	display: in-line;
	position: relative;
	float: left;
	height: 26px;
	border-right: 2px solid #353535;
}
#menu li a {
	padding: 0px 5px;
	display: block;
	color: #353535;
	text-decoration: none;
}
#menu li a:hover {
	color: #FFFFFF;
}
#menu li ul {
	margin: 0;
	padding: 10px 0px 10px 15px;
	position: absolute;
	background: #011165;
	display: none;
	width: 640px;
	text-align: left;
	list-style: disc;
	z-index: 3;
}
#menu li ul li { 
	clear : both;
	font-size: 15px;
	border: 0px;
	border-bottom: 1px solid #999;
	width: 95%;
	display: block;
	line-height: 26px;
	list-style: disc;
	overflow: hidden;
	background: #FFFFFF;
}
#menu li ul li a { color: #0033CC; }
#menu li ul li a:hover { 
	color: #0066FF;
	font-size: 16px;
	background: #FFFFFF;
}
.subbox {
	float: left;
	width: 206px;
	height: 125px;
	padding: 0px 5px;
}
.subintro {
	font-size: 13px;
	color: #EFEFEF;
}
#topitem {
	width: 100%;
	padding: 5px 10px;
	color: #002FA7;
	width: 100%;
	font-weight: bolder;
	background: #FFFFFF;
	height: 36px;
}

}

@media screen and (min-width: 700px) and (max-width: 900px) {
#newsleft {
	display: inline-block;
	width: 160px;
}
#newsright {
	display: inline-block;
	width: 75%;
	margin: 0px;
}
}

@media screen and (min-width: 900px) {

#newsbox li{	
	display: inline-block;
	width: 24.5%;
	height: 350px;
}
#newsleft {
	display: inline-block;
	width: 20%;
}
#newsright {
	display: inline-block;
	width: 75%;
	margin: 0 0 0 20px;
}
}

@media screen and (min-width: 1000px) {
#menu {
	width: 1000px;
	font-size: 19px;
}
#menu li {
	padding: 0px 5px;
	letter-spacing: 0.1em;
}
}

body {
	margin: 0px;

}
* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
h1 {
	font-weight: bolder;
	font-size: 21pt;
}
h2 {
	font-weight: bolder;
	line-height: 1.0em;
}
ul {
	margin, padding: 0px;
}
a {
	color: #002FA7;
	text-decoration: none;
}
a:hover {
	color: #666666;
}
#banner {
	background-color: #002FA7;
	width: 100%;
	background-repeat: no-repeat;
}
#s-logo {
	z-index:2; 
	margin: 10px 0px 0px 0px; 
	width: 40px; 
	position:absolute
}
#sum {
	text-align: center;
	width: 100%;
	margin: 0px auto;
}
#newsbox {
	text-align: center;
	width: 100%;
	margin: 0px;
	font-size: 15px;
	clear: both;
}
#newsbox li {
	list-style-type: none;
	vertical-align: top;
	margin: 0px;
	padding: 0px;
	overflow: hidden;
}
.nboxT {
	text-align: center;
	color: #ffffff;
	padding-bottom: 10px;
	font-size: 22px;
	font-weight: bolder;
}
.nboxT a {
	color: #ffffff;
}
.nboxT a:hover {
	color: #333333;
}
.nboxM {
	padding: 0px;
}
.nboxM img{
	padding-bottom: 10px;
}

#nbox1 {
	position: relative;
	text-align: left;
	border: 18px solid #D9E021;
}
#nbox2 {
	position: relative;
	text-align: center;
	border: 18px solid #FBB03B;
}
#nbox3 {
	position: relative;
	text-align: center;
	border: 18px solid #65B1EA;
}
#nbox4 {
	position: relative;
	text-align: center;
	border: 18px solid #FF7BAC;
}

.boxmore {
	position: absolute;
	float: right;
	z-index: 5;
	right: 8px;
	bottom: 5px;
}

#visitBlock {
	width: 100%;
	height: 280px;
}
#visitBlock #player {
	position: relative;
	overflow: hidden;
	height: 100%;
}
#visitBlock ul.list {
	padding: 0;
	margin: 0;
	list-style: none;
	position: absolute;
	width: 100%;
	height: 100%;
}
#visitBlock ul.list li {
	float: left;
	width: 100%;
	height: 100%;
}
#visitBlock .list img{
	width: 100%;
	height: 230px;
	border: 0;
}
#visitBlock ul.playerControl {
	margin: 0;
	padding: 0;
	list-style: none;
	position: absolute;
	bottom: 5px;
	Left: 5px;
	height: 20px;
}
#visitBlock ul.playerControl li {
	float: left;
	color: #99cc33;
	text-align: center;
	line-height: 20px;
	width: 20px;
	height: 20px;
	font-family: Arial;
	font-size: 12px;
	cursor: pointer;
	margin: 0px 2px;
	background: url(images/icon_g.gif) no-repeat -21px 0;
}
#visitBlock ul.playerControl li.current { 
	color: #fff;
	font-weight: bold;
	background-position: 0 0;
}

#newslist {
	clear: both;
	text-align: center;
	width: 100%;
	padding: 20px 0px;
}
#linkbox {
	text-align: center;
	clear: both;
}
#website {
	clear: both;
	text-align: center;
	color: #FFF;
	width: 100%;
	padding-bottom: 15px;
	background-color: #011165;
	background-image: url(images/index07.gif);
	background-repeat: no-repeat;
}
#website li {
	list-style-type: none;
	display: inline-block;
	padding: 10px 5px;
	text-align: left;
	vertical-align: top;
	font-size: 10pt;
	color: #cfefef;
	line-height: 1.5em;
}
#website p {
	color: #fff;
	font-size: 12pt;
	font-weight: bolder;
	line-height: 1em;
}
#website a {
	color: #BBBBDD;
	text-decoration: none;
}
#website a:hover {
	color: #33CCCC;
}
#website p.wtitle a {
	color: #ffffff;
}
#website p.wtitle a:hover {
	color: #999999;
}
#webfoot {
	clear: both;
	text-align: center;
	background-color: #333333;
	color: #FFF;
	margin: 3px 0px;
	padding: 10px 20px;
	font-size: 0.9em;
}
#webtop {
	height: 100px;
	width: 160px;
	float: right;
	color: #FFF;
	margin: 10px 30px 0px 0px;
}
#webtop a{
	color: #FFF;
	text-decoration: none;
}
#webtop a:hover {
	color: #99ffee;
}
#webtop li{
	list-style-type: none;
	font-size: 10pt;
	text-align: right;
	line-height: 1.6em;
}
#newsleft {
	border: 1px solid #002FA6;
	background-color: #002FA6;
}
.hotlink a {
	color: #002FA7;
	text-decoration: none;
}
.hotlink a:hover {
	color: #666666;
}
.hotlink td {
	color: #002FA7;
	border-bottom: 1px solid #ccc;
	padding: 5px 0px;
}
#newsright {
	vertical-align: top;
}
#newsright ul,li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.tablist {
	clear: left;
	width: 100%;
	margin: 0;
}
ul.tabs {
	width: 100%;
	height: 32px;
	border-bottom: 1px solid #002FA6;
	border-left: 1px solid #002FA6;
}
ul.tabs li {
	float: left;
	height: 31px;
	line-height: 31px;
	overflow: hidden;
	position: relative;
	margin-bottom: -1px;
	border: 1px solid #002FA6;
	border-left: none;
	background: #fff;
	font-weight: bolder;
}
ul.tabs li a {
	display: block;
	padding: 0 10px;
	color: #002FA6;
	border: 1px solid #fff;
	text-decoration: none;
}
ul.tabs li a:hover {
	background: #ccc;
}
ul.tabs li.active {
	background: #002FA6;
	border-bottom: 1px solid #002FA6;
}
ul.tabs li.active a {
	color: #fff;
}
ul.tabs li.active a:hover {
	background: #002FA6;
}
div.tabmain {
	clear: left;
	width: 100%;
	border: 1px solid #002FA6;
	border-top: none;
	background: #fff;
}
div.tabbox {
	padding: 20px 20px 26px 20px;
	color: #555;
	line-height: 1.5em;
	font-size: 12pt;
	overflow: hidden;
	position: relative;
}
.readmore {
	bottom: 0px;
	right: 20px;
	position: absolute;
}
.tabboximg {
	padding-right: 20px;
	float: left;
	width: 25%;
}
.tabboxtb {
	float: left;
	background: #f2f2f2; 
        overflow: hidden;
}
.intro {
	line-height: 1.5em;
	font-weight: bold;
	letter-spacing: 0.1em;
}
.introTitle {
	line-height: 1.6em;
	font-weight: 900;
}
.searchform {
	font-size: 0.84em;
	display: inline;
}


.nbs-flexisel-container {
    position:relative;
    max-width:100%;
}
.nbs-flexisel-ul {
    position:relative;
    width:99999px;
    margin:0px;
    padding:0px;
    list-style-type:none;   
    text-align:center;  
}

.nbs-flexisel-inner {
    position: relative;
    overflow: hidden;
    float:left;
    width:100%;
    background:#fcfcfc;
    background: #fcfcfc -moz-linear-gradient(top, #fcfcfc 0%, #eee 100%); /* FF3.6+ */
    background: #fcfcfc -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfcfc), color-stop(100%,#eee)); /* Chrome,Safari4+ */
    background: #fcfcfc -webkit-linear-gradient(top, #fcfcfc 0%, #eee 100%); /* Chrome10+,Safari5.1+ */
    background: #fcfcfc -o-linear-gradient(top, #fcfcfc 0%, #eee 100%); /* Opera11.10+ */
    background: #fcfcfc -ms-linear-gradient(top, #fcfcfc 0%, #eee 100%); /* IE10+ */
    background: #fcfcfc linear-gradient(top, #fcfcfc 0%, #eee 100%); /* W3C */
    border:1px solid #ccc;
    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;  
}

.nbs-flexisel-item {
    float:left;
    margin:0px;
    padding:0px;
    cursor:pointer;
    position:relative;
    line-height:0px;
}
.nbs-flexisel-item img {
    max-width: 100%;
    cursor: pointer;
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
}

/*** Navigation ***/

.nbs-flexisel-nav-left,
.nbs-flexisel-nav-right {
    padding:5px 10px;
    border-radius:15px;
    -moz-border-radius:15px;
    -webkit-border-radius:15px;      
    position: absolute;
    cursor: pointer;
    z-index: 4;
    top:40%;
    background: rgba(0,0,0,0.4);
    color: #fff;     
}

.nbs-flexisel-nav-left {
    left: 10px;
}

.nbs-flexisel-nav-left:before {
    content: "<"
}

.nbs-flexisel-nav-left.disabled {
    opacity: 0.4;
}

.nbs-flexisel-nav-right {
    right: 5px;    
}

.nbs-flexisel-nav-right:before {
    content: ">"
}

.nbs-flexisel-nav-right.disabled {
    opacity: 0.4;
}



/*** go to top ***/

#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 40px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: 2px solid gray; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: rgba(0,0,0,0.4); /* Set a background color */
    color: #fff; /* Text color */
    font-size: 20px;
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 13px 11px; /* Some padding */
    border-radius: 100%; /* Rounded corners */
}

#myBtn:hover {
    background-color: #555; /* Add a dark-grey background on hover */
}