﻿body
{	
	color: #000000;
}

/*頂端功能*/
#divPageTop 
{
    color: #FFFFFF;
	background-color: #ac41e7;
}
#divPageTop #top_menu a {
	color: #FFFFFF;
    text-decoration: none;    
}

.BannerLogo
{
	background: url('banner_1170.jpg') no-repeat left center;	
}

/*搜尋區塊*/
#divSearch {
	background-color: rgba(240,250,252,0.8);	
}
#divSearch #divSearchBar #divSearchButton input[type="submit"]
{
	color: #000000;
	background-color: #eef100;
}

/*主選單*/
#divMenu .nav > li > a:hover,
#divMenu .nav > li > a:focus {
	background-color: #C865FB;
}
#divMenu .navbar-expand-lg {
	background-color: #9136B5;	
}
#divMenu .navbar-expand-lg .navbar-nav > li > a {	
    color: #FFFFFF;    
}
#divMenu .navbar-expand-lg .navbar-nav > li:hover {
	background-color: #C865FB;
}
#divMenu .dropdown-menu > li > a {
    color: #000000;    
}
#divMenu .dropdown-menu > li > a:hover,
#divMenu .dropdown-menu > li > a:focus {
	color: #ffffff;
	background-color: #C865FB;
}

/*內容*/
.div-content {
    border-top: 3px solid #e9c6fb;
    border-bottom: 3px solid #e9c6fb;    
}

/* 麵包屑 Path */
#divPath .container
{
	color: #000000;
	background: #e9c6fb;
}
#divPath a {
	color: #000000;
}
#divPath a:hover,
#divPath a:focus {
	color: #000000;
}
#divPath .a_print,
#divPath .a_print:hover
{
	color: #000000;
}

/*單元標題*/
#divSubject {
    background: url('dashline.gif') repeat-x bottom left;
}
#divSubject h1 {	
    color: #9136b5;    
}

/*回上一頁、回頁首*/
.aBack, .aBack:hover, .aBack:visited,
.aPageTop, .aPageTop:hover, .aPageTop:visited {   
    color: #000000;
    background-color: #e9c6fb;    
}


/* 內頁左側選單 */
#divLeftMenu {
    border: 1px solid #cbcbcb;
    border-bottom: 2px solid #e9c6fb;    
}
#divLeftMenu .menu_title {
	border-top: 4px solid #e9c6fb;	
	background: #ecebec;
}
#divLeftMenu .menu_title a {
	color: #9136b5;
}
#divLeftMenu .menu_list li a
{
	background: url('icon_menu_red.png') no-repeat 5px 8px;	
	color: #000000;    
}
#divLeftMenu .menu_list li:hover,
#divLeftMenu .menu_list li:focus,
#divLeftMenu .menu_list li.selected {
	background-color: #9136b5;
}
#divLeftMenu .menu_list li:hover a,
#divLeftMenu .menu_list li:focus a,
#divLeftMenu .menu_list li.selected a {
	color: #FFFFFF;
}


/*FatFooter*/
#divFatFotoer .container {
    background-color: #ECEBEC;    
}
#divFatFotoer dl dt,
#divFatFotoer dl dt a {
    color: #000000;
}
#divFatFotoer dl dd,
#divFatFotoer dl dd a {
	color: #9d34d6;
}


/*頁尾資訊*/
#divPageBottom .container
{	
	background-color: #e9c6fc;
}
#divPageBottom .info
{	
	color: #000000;
}
#divPageBottom .info a
{
	color: #1159b0;
}

/*活動看版*/
#SliderBox .spanText {	
	width: 100%;
	margin-top: 4%;    
    margin-right: 10px;
	color: #FFFFFF;
}


/*首頁新聞*/
#divHomeNews
{	
	background-color: #FFFFFF;
}
#divHomeNews .tabs {
	color: #77229b;
    background-color: #DCACF7;
}
#divHomeNews .tab_container {	
	border: 1px solid #DCACF7;	
}
#divHomeNews .tab_container ul li {	
	border-bottom: 1px dashed #000000;	
}
#divHomeNews .tab_container ul a {
	color: #000000;
}
#divHomeNews .tab_container ul a:focus {
	color: #000000;
}
#divHomeNews .tab_container .divNewsMore a {
	color: #000000;
}

/*首頁影音*/
#divHomeVideos
{	
	background-color: #FFFFFF;
}
#divHomeVideos #divVideos
{
	border: 1px solid #DCACF7;
}
#divHomeVideos #divVideos .SlideVideos
{
	background: #000000; 
}
#divHomeVideos .tabs
{	
	color: #77229b;
    background-color: #DCACF7; 
}

#divHomeVideos .divVideosMore {
    border: 0;
    text-align: right;
}

    #divHomeVideos .divVideosMore a {
        color: #000000;
    }

#divHomeVideos #divVideos .ImgItem .img-shadow {
    margin: 5px;
    margin-bottom: 8px;
    padding: 5px;
    border-radius: 0;
    box-shadow: 0px 0px 10px #c6cdcb;
    height: 165px;
    width: 270px;
}

    #divHomeVideos #divVideos .ImgItem .img-shadow img {
        max-height: 95%;
        max-width: 95%;
        width: auto;
        height: auto;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
    }

    #divHomeVideos #divVideos .ImgItem .img-shadow span {
        display: none;
    }

    #divHomeVideos #divVideos .ImgItem .img-shadow a {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        width: 100%;
        height: 100%;
        display: block;
        border-radius: 3px;
        background-position: center;
        background-size: cover;
        color: transparent;
    }

#divHomeVideos #divVideos .ImgItem .img-desc {
    clear: both;
    width: 99%;
    color: #59615e;
    margin: 0 auto;
    text-align: center;
    height: 2em;
    line-height: 140%;
    font-size: 90%;
}

    #divHomeVideos #divVideos .ImgItem .img-desc a {
        color: #009dec;
        text-decoration: none;
        position: static;
    }

#divHomeVideos #divVideos .ImgItem .img-shadow a:hover .video-play-circle {
    display: none;
}

#divHomeVideos #divVideos .ImgItem .img-shadow .video-play-circle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    line-height: 180px;
    opacity: 0.5;
    color: #FFFFFF;
    background: #333333;
}

    #divHomeVideos #divVideos .ImgItem .img-shadow .video-play-circle i,
    #divHomeVideos #divVideos .ImgItem .img-shadow .video-play-circle svg {
        font-size: 300%;
    }

#divHomeVideos .#divVideos .ImgItem .img-date {
    font-size: 90%;
    color: #59615e;
}

#divHomeVideos .bx-prev
{
	top: 33%;
	left: 0px;
}
#divHomeVideos .bx-next
{
	top: 33%;
	right: 0px;
}

/*首頁相簿*/
#divHomeAlbums
{	
	background-color: #FFFFFF;
}
#divHomeAlbums #divAlbums
{
	border: 1px solid #DCACF7;
}
#divHomeAlbums #divAlbums .SlideAlbums
{
	background: #000000; 
}
#divHomeAlbums .tabs
{	
	color: #77229b;
    background-color: #DCACF7; 
}
#divHomeAlbums .Albums-div {	    
    background-color: #FFFFFF;	
}
#divHomeAlbums .albums-desc
{
	color: #0678CF;
}
#divHomeAlbums .bx-prev
{
	top: 33%;
	left: 0px;
}
#divHomeAlbums .bx-next
{
	top: 33%;
	right: 0px;
}


/*核心業務*/
#divHomeCoreItem 
{	
	background-color: #F6E7FF;
}
#divHomeCoreItem .divOuterContainer
{
	border: 1px solid #F6E7FF;
	padding: 10px 45px;
	padding-bottom: 0px;
}
#divHomeCoreItem .tabs {	
	color: #000000;
    background-color: #FFF599;    
}
#divHomeCoreItem .outer-links a
{
	margin-bottom: 10px;
	display: block;	
}
#divHomeCoreItem .bx-wrapper .bx-viewport
{
	background: transparent;
}


/*重點連結*/
#divHomeActive 
{
	background-color: #FFFFFF;
}
#divHomeActive .divOuterContainer
{
	border: 1px solid #DCACF7;
}
#divHomeActive .tabs {	
	color: #77229b;
    background-color: #DCACF7;    
}

/*影音專區*/
.img-shadow .video-play-circle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    line-height: 180px;
    opacity: 0.5;
    background: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
}

#divVideoList .img-shadow {
    margin:5px auto 8px auto;
    padding: 5px;
    border-radius: 0;
    box-shadow: 0 10px 10px #c6cdcb;
    height: 160px;
    width: 220px;
}

    #divVideoList .img-shadow img {
        max-height: 95%;
        max-width: 95%;
        width: auto;
        height: auto;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
    }

    #divVideoList .img-shadow span {
        display: none;
    }

    #divVideoList .img-shadow a {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        width: 100%;
        height: 100%;
        display: block;
        border-radius: 3px;
        background-position: center;
        background-size: cover;
        color: transparent;
    }

#divVideoList .img-desc {
    clear: both;
    width: 99%;
    color: #59615e;
    margin: 0 auto;
    text-align: center;
    height: 5em;
    line-height: 140%;
    font-size: 90%;
}

    #divVideoList .img-desc a {
        color: #009dec;
        text-decoration: none;
        position: static;
    }

#divVideoList .img-shadow a:hover .video-play-circle {
    display: none;
}

#divVideoList .img-shadow .video-play-circle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    line-height: 180px;
    opacity: 0.5;
    color: #FFFFFF;
    background: #333333;
}

    #divVideoList .img-shadow .video-play-circle i,
    #divVideoList .img-shadow .video-play-circle svg {
        font-size: 300%;
    }

#divVideoList .img-date {
    font-size: 90%;
    color: #59615e;
}

.custom-popup-class .mfp-container {
    padding-top: 40px;
    padding-bottom: 40px;
}

.custom-popup-class .mfp-content {
    width: 100%;
    max-width: 700px;
}

.upload-video {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%;
}

    .upload-video .mfp-close {
        top: -44px;
        color: #FFF !important;
        text-align: right;
        right: 1px;
    }

.some-element {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgb(0 0 0 / 60%);
    background: #000;
}

    .some-element video {
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        box-shadow: 0 0 8px rgb(0 0 0 / 60%);
        background: #000;
    }



@media print {
    
}

/* mobile xs */
@media screen and (max-width: 767px) {
	.BannerLogo
	{
		background: url('banner_logo.png') no-repeat left center;
		height: 110px;
	}

	/*主功能選單*/	
    #divMenu .navbar-expand-lg .navbar-nav > li > a {
        color: #FFFFFF;
    }    
	#divMenu .navbar-nav
	{	
		background-color: #286579;
	}
    #divMenu .navbar-nav .open .dropdown-menu {     
        background: #ffffff;
    }
    
	.float-layer-home {
		margin-top: -60px;
	}
	
	#SliderBox .spanText {

	}

	#SliderBox img {
		min-height: 85px;
	}

    #divVideoList .img-shadow {
        width: 95%;
        height: 280px;
        margin: 10px auto;
    }
}

@media screen and (max-width:991px) {
    #divFixTop {
        position: static;
    }

    .navbar-header {
        float: none;
    }

    .navbar-left,
    .navbar-right {
        float: none !important;
    }

    .navbar-toggle {
        display: block;
        padding: 6px 10px;
        margin-top: 5.5px;
        margin-bottom: 4px;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    /*.navbar-collapse.collapse {
        display: none!important;
    }*/

    .navbar-nav {
        float: none!important;
    }

        .navbar-nav .open .dropdown-menu {
            position: static;
            float: none;
            width: auto;
            margin-top: 0;
            background-color: transparent;
            border: 0;
            -webkit-box-shadow: none;
            box-shadow: none;
        }

        .navbar-nav > li {
            float: none;
        }

            .navbar-nav > li > a {
                padding-top: 10px;
                padding-bottom: 10px;
            }

    .collapse.in {
        display: block !important;
    }

    #divPageTop {
        display: none;
    }

    #divMenu {
        float: none;
        /*margin-top: 35px;*/
        margin-left: 0px !important;
    }

        #divMenu .nav > li {
            display: block !important;
            width: auto;
            text-align: left;
            float: none;
            margin: 0;
            padding: 0px 5px;
        }

        #divMenu .navbar-expand-lg .navbar-nav > li > a {
            color: #FFFFFF;
            display: table-cell;
            width: 100%;
            font-size: 120%;
        }

        #divMenu .navbar-expand-lg .navbar-nav > li:hover {
            background-color: transparent;
        }

        #divMenu .menu_touch {
            display: table-cell;
        }

        #divMenu .visible-xs-block {
            border-top: 1px solid #888;
            background-color: #888888;
        }

        #divMenu .navbar-nav {
            background-color: #286579;
        }

        #divMenu .dropdown-menu > li > a {
            overflow: auto;
        }

        #divMenu .yamm li.dropdown.visible-xs-block {
            display: block !important;
        }



        #divMenu .navbar-nav .open .dropdown-menu {
            background: #ffffff;
            padding-bottom: 5px;
        }

    .yamm .dropdown.yamm-fw .dropdown-menu li {
        float: none;
        margin-top: 0;
        width: 100%;
    }

    .yamm .dropdown.yamm-fw .dropdown-menu {
        margin-left: 0;
        margin-right: 0;
    }

    #divSearch {
        display: block;
        background-color: transparent;
    }

    .SearchContainer {
        display: none;
    }

    #SliderBox {
        margin-top: 0;
    }

    .float-layer {
        margin-top: 0;
    }
}

/* tablet sm */
@media screen and (min-width: 768px) and (max-width: 991px) {
    
    .BannerLogo {
        background: url('banner_930.jpg') no-repeat left center;
    }

    .float-layer-home {
        margin-top: -60px;
    }

        #SliderBox .spanText {
        }
}

/* desktop md */
@media screen and (min-width: 992px) and (max-width: 1170px) {
    .BannerLogo
	{
		background: url('banner_1170.jpg') no-repeat left center;	
	}

	.float-layer-home {
		margin-top: 350px;
	}

	#SliderBox .spanText {
	
	}
}

/* large-desktop lg */
@media screen and (min-width: 1171px) {
    .BannerLogo
	{
		background: url('banner_1170.jpg') no-repeat left center;	
	}

	.float-layer-home {
		margin-top: 380px;
	}
}