/*========================================================
                      選單、基本不動的
=========================================================*/




/*========================================================
                         Basic
=========================================================*/
body{
    font-family: "Calibri", "Microsoft JhengHei", "Trebuchet MS", sans-serif;
    font-size: 16px;
    background: #ffffff;
    line-height: 100%;
    color: #454343;
}
input, button, select, textarea, option {
    font-family: "Calibri", "Microsoft JhengHei", "Trebuchet MS", sans-serif;
    font-size: 16px;
}

a:hover, a:focus {
    text-decoration: none;
}



/*========================================================
                     header
=========================================================*/
.navbar-header {
    background: transparent;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .navbar-header {
        width: 65%;
    }
}


/*LOGO*/
div.navbar-brand {
    display: none;
}
@media (min-width: 768px) {
    div.navbar-brand {
        display: block;
        height: auto;
        width: 100%;
        padding: 0; margin: 10px 0;
        line-height: normal;
    }
}
@media (max-width: 991px) {
    div.navbar-brand img { width: 100%;}
}


/*手機*/
div.rd-mobilepanel_title {
    left: 60px; top: 2px; right: auto;
    width: 70%;
    line-height: normal;
    padding: 0; margin: 0;
    background: url(../images/logo.png) left no-repeat;
    background-size: contain;
    height: 60px;
}
div.rd-mobilepanel_title img {
    width: 85%;
    display: none;
}
.search-form_toggle {
    right: 10px;
}


.rd-mobilemenu_ul li.active > a {
    background: #125c96;
}
.rd-mobilemenu_ul a {
    font-size: 18px;
    padding: 14px 25px 12px 25px;
    line-height: 130%;
}
.rd-mobilemenu_ul a:hover {
    background: #125c96;
    color: #ffffff;
}
.rd-mobilemenu_ul ul a {
    padding: 14px 20px 12px 28px;
    border: none;
    font-size: 18px;
    margin-left: 10px; text-indent: -10px;
}
.rd-mobilemenu_ul ul a:before {
    content: "\f0da";
    font: 900 12px 'Font Awesome 5 Free';
    padding-right: 5px;
}
.rd-mobilemenu_ul ul ul {
    border-bottom: 1px #dddddd solid;    
}
.rd-mobilemenu_ul ul ul a {
    font-size: 18px;
    padding: 10px 20px 8px 50px;
}
.rd-mobilemenu_ul ul ul a.active {
    background: #f5f5f5;
}
.rd-mobilemenu_ul ul ul a:hover {
    background: #125c96;
}






/*選單*/
header .stuck_container {
    background: #D01846;
}
.navbar-default {
    background: #D01846;
    border: none;
}

.navbar-default .navbar-nav>li>a {
    color: #fff;
}

.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
    color: #b9ff01;
}

ul.nav li.mob { display: block;}
@media (min-width: 768px) {
    .nav>li>a {
        padding: 15px 10px 13px 10px;
        font-size: 17px;
    }
    ul.nav li.mob { display: none;}
    .navbar-default .navbar-nav>li.lineNo { background: none;}
    .navbar-nav {
        /*float: left;*/
        margin: 0 auto;
    }
}
@media (min-width: 992px) {
    .nav>li>a {
        padding: 15px 18px 13px 18px;
        font-size: 20px;
    }
}
@media (min-width: 1200px) {
    .nav>li>a {
        padding: 15px 33px 13px 33px;
    }
}




/*dropdown-menu*/
.dropdown-menu {
    font-size: 18px;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: #D01846;
  background-color: #f3f2f2;
}
.dropdown-menu > .active > a,
.dropdown-menu > .sfHover > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .sfHover > a:hover,
.dropdown-menu > .active > a:focus,
.dropdown-menu > .sfHover > a:focus {
  color: #D01846;
}


/* 首頁
------------------------------------------------------------*/
.home img{
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;	
}

/* left menu
------------------------------------------------------------*/
.left-bg{
    background-image: url(../images/left/bg.jpg);
    background-repeat: no-repeat;
    background-position:bottom;
}

.sidebar{
    margin: 5px 0 0 0;
    padding: 0 15px 25px 0;
} 

.sidebar ul{
    list-style: none;
    padding-left: 15px;
}

.sidebar li{
    border-bottom:1px #999 dashed;
    line-height: 120%;
    font-size: 20px;
    font-weight: bold;
    font-family:inherit;
    color: #003366;
    padding:8px 0;
}

.sidebar li a{ text-decoration:none; color: #003366;}
.sidebar li a:hover{ color: deeppink;}
.sidebar li a:active{ color: deeppink;}

.contact{
    text-align: center;
    padding: 20px 0 30px 0;
}



/* 內頁
------------------------------------------------------------*/
.indexbg{
    background-image:url('../images/demo/bgindex.jpg');
    background-repeat: repeat-y;
    margin:0;
}

.infobg{
    background-image:url('../images/demo/bg.jpg');
    background-repeat: repeat-y;
    margin:0;
}

.info_container{ 
    width:975px;
    background-color: #fff;
    display: block;
    margin:0 auto;
}

.main{
    margin-top:10px;
}

.main td{
    width:260px;
    background-image: url(../images/left/bg01.jpg);
    background-repeat: repeat-y;
    vertical-align: top;
}

.main td + td{
    width:715px;
    background-image: url(../images/main/mainbg02.jpg);
    background-repeat: no-repeat;
    background-position: top;
}

.nav-guide{
    border-bottom:1px #ccc solid;
    height: 32px;
    text-align: right;
    padding:0 15px; 0 0;
}

/* 麵包屑 */
.nav-guide span{
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    border:1px #ccc solid;
    padding:5px 15px;
    color:darkgoldenrod;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+7,ececec+99 */
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffffff 7%, #ececec 99%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #ffffff 7%,#ececec 99%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #ffffff 7%,#ececec 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ececec',GradientType=0 ); /* IE6-9 */
}

.nav-guide span a{ 
    color: #a17734;
    text-decoration:none;
    font-weight: bold;
}

/* 內頁標題 */
.main-title{
    background-image: url(../images/main/title_bg.jpg);
    margin:3px 0 0 3px;
    padding: 10px 20px;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
}

.main-title span{ font-weight: normal;}

/* 內頁內容 */

.main-cont{
    padding:20px 20px;
    font-size:18px;
    line-height: 160%;
}

/* about */

.ab-column table{ line-height: 120%; width: 100%;}

.ab-column th{
    width: 35%;
    padding:0 5px;
    color: #0088bd;
}

.ab-column th + th{
    width: 65%;
    padding:0 5px;
}

.ab-column td{
    width: 35%;
    padding:5px 5px;
    color: #FFF;
    background: #91be50; /* Old browsers */
    background: -moz-linear-gradient(left,  #91be50 7%, #84be85 99%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left,  #91be50 7%,#84be85 99%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right,  #91be50 7%,#84be85 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#91be50', endColorstr='#84be85',GradientType=1 ); /* IE6-9 */
    border:2px #b9d8b7 solid;
    font-weight: normal;
}

.ab-column td + td{
    width: 65%;
    padding:5px 5px;
    color: #FFF;
    background: #82be89; /* Old browsers */
    background: -moz-linear-gradient(left,  #82be89 0%, #5cbcdb 99%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left,  #82be89 0%,#5cbcdb 99%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right,  #82be89 0%,#5cbcdb 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#82be89', endColorstr='#5cbcdb',GradientType=1 ); /* IE6-9 */
    font-weight: normal;
}











/* 間隔空隙
------------------------------------------------------------*/
.mt5{ margin-top: 5px;}
.mt10{ margin-top: 10px;}
.mt15{ margin-top: 15px;}

.pl15{ padding-left:15px;}



/* 文字顏色級數
------------------------------------------------------------*/
.fs12{ font-size: 12px;}

.fc-01{ color: #036a89;}
.fc-02{ color: #707070;}

.f-B{ font-weight: bold;}















/*========================================================
                      footer
=========================================================*/
.footer{
    background-image: url(../images/foot/footBG.jpg);
    margin-top: 5px;
    background-repeat: repeat-x;
    padding: 15px 0;
    text-align: center;
    line-height: 150%;
}













/*========================================================
                      Back-to-top
=========================================================*/
#back-to-top {
    display:none;
    position:fixed;
    bottom:30px;
    right:30px;
    height:40px;
    width:40px;
    cursor:pointer;
    background:#000000;
    line-height:1em;
    -webkit-border-radius:2px;
    -moz-border-radius:2px;
    border-radius:2px;
    background-image:url(../images/triangle.png);
    background-position: 12px 16px;
    background-repeat:no-repeat;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=80);
    opacity:0.5;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

#back-to-top:hover {

    background-color:#014d67;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=80);
    opacity:0.8;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}