@charset "utf-8";
/* CSS Document */

/*字型設定*/

@import url(http://fonts.googleapis.com/earlyaccess/cwtexming.css);

body{
	font-family:"Lato", "Helvetica Neue", "Noto Sans", "微軟正黑體", Arial, "LiHei Pro", PMingLiU, sans-serif;
	    -webkit-font-smoothing: subpixel-antialiased;
	line-height:1.8;
	}
h1, h2, h3, h4, .h1, .h2, .h3, .h4{
	font-family:"Palatino Linotype", 'cwTeXMing', '新細明體', "Book Antiqua", Palatino, serif ;
	margin: none;
	line-height:1.5;
	/*font-weight: normal;*/
	}

h3, h4, h5, .h3, .h4, .h5{
	font-weight: bold;
	}
/*導覽列標題*/
.navbar-brand{
	color:#fff;
	font-size:2.4em;
}
.navbar-brand img{
	height:100px;
	width:auto;
	}

@media(max-width: 767px){
	.navbar-brand img{
	height:75px;
	}
}
/*導覽列選單*/

.nav > li > a {
	padding-left:0;
	padding-right:0;
	padding-top:2em;
	padding-bottom:.5em;
    font-size: 16px;
    font-weight: bold;
    color: #5e1f66;
    color: rgba(94,31,102,.75);
    border-bottom: 2px solid transparent;
}

.nav > li + li {
    margin-left: 30px;
}
.nav > li > a:hover,
.nav > li > a:focus {
  background-color: transparent;
  border-bottom-color: #5e1f66;
  border-bottom-color: rgba(94,31,102,.25);
}
/*停留的頁面*/
.nav > .active > a,
.nav > .active > a:hover,
.nav > .active > a:focus {
  color: #5e1f66;
  border-bottom-color: #5e1f66;
}

/*導覽列下拉選單*/

.nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
    background-color: transparent;
    border-color: #5e1f66;
}


.dropdown-menu {
	background-color:transparent;
    display: none;
    position: absolute;
    min-width: 120px;
	border: 1px solid rgba(0,0,0,.5);
}
.dropdown-menu>li>a {
	color:#5e1f66;
	padding: .5em 2em;
	}
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
    color: #5e1f66;
    text-decoration: none;
    background-color: transparent;
}

/*
.dropdown-menu ul{
	list-style: none;
	padding-left:0;
}
	
.dropdown-menu a {
	font-size: 14px;
    color: #fff;
    padding: 8px 18px;
    text-decoration: none;
    display: block;
    text-align: left;
	transition: .3s color ease;
}*/
/*
.dropdown-menu a:hover:after {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
    transform: scaleX(1);
}

.dropdown-menu a:after {
	content: '';
    display: block;
    height: 5px;
    width: 100%;
    border-bottom: 1px solid;
    -o-transition: .3s -o-transform ease;
    transition: .3s -webkit-transform ease;
    transition: .3s transform ease;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0;
    -ms-transform-origin: 0;
    -o-transform-origin: 0;
    transform-origin: 0;
    opacity: .5;
}
*/
.navbar-right .dropdown-menu {
    right: auto;
	left: auto; 
}
/*
.dropdown-content a:hover {
	border-bottom-color: #fff;
}
*/
/*分類頁上方圖片*/
.fill {
    width: 100%;
    height: 100%;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.headerLine{
	position: relative;
	width: 100%;
	overflow: hidden;
	height:100%;
	background: url(../images/bgTop.jpg) center center no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.headerLine:after{
	content: "";
	position: absolute;
	z-index: 1;
	pointer-events: none;
	bottom: 0;
	left: 0;
	width: 100%;
	/* background: url(../images/sliderL.png) center center no-repeat; */
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	border-bottom: 150px solid white;
	border-left: 3000px solid transparent;
}

*:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
/*輪播圖片控制鍵*/
.carousel-control{
	color:#fff;
	}
 .carousel-control:hover {
    color: #fff;
	}
	
/*節目圖片樣式*/
.news img {
    border-radius: 3px;
}
.picsGall {
    max-width: 100%;
    height: auto;
}
/*節目內容排版*/
.news ul{
	margin-left: 0; 
	padding-left: 0;
	list-style:none;
	}
.news li{
	border-bottom:solid 1px #94a8cc; list-style:none; padding:0; margin:0 
	}
.news i{
	color:#337ab7;}

@media(max-width: 767px){
	.news h3{
		font-size:1em;
		font-family:"Lato", "Helvetica Neue", "Noto Sans", "微軟正黑體", Arial, "LiHei Pro", PMingLiU, sans-serif;
		}
	}

/*手機頁面*/
.navbar-toggle .icon-bar {
    background-color: #5e1f66;
	background-color:rgba(94,31,102,.75);
}
@media(max-width: 767px){
.navbar-brand{font-size:1.4em;}
.navbar-nav{
	margin:0;
	padding-left:30px;
	}
.nav > li >a{
    border-bottom:none;
}
.navbar-collapse .navbar-nav>li>.dropdown-menu>ul {
    display: block;
    position: relative;
    margin: 0;
    width: 100%!important;
}

.dropdown-menu>ul, .navbar-nav>li>.dropdown-menu>ul {
    display: table-cell;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 160px;
}
.nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
	background-color:transparent;
    border-color: #337ab7;
}

.navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
    max-height: 450px;
}

.nav > li + li {
    margin-left: 0;
}


}

/* ==========================================================================
   navbar ridotta dopo scroll
   ========================================================================== */



.pannello-affix {
	width: 100%;
	-webkit-transition: all 0.1s ease-out;  /* Chrome 1-25, Safari 3.2+ */
	-moz-transition: all 0.1s ease-out;  /* Firefox 4-15 */
	-o-transition: all 0.1s ease-out;  /* Opera 10.50–12.00 */
	transition: all 0.1s ease-out;  /* Chrome 26, Firefox 16+, IE 10+, Opera 12.10+ */
	-webkit-transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
}
/*
.pannello-affix #menu-primary-navigation {
	-webkit-transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
}
*/
.pannello-affix.affix {
	z-index: 999;
	opacity: 1;
	filter: alpha(opacity=100);
	width: 100%;
	background-color: #323C46;
	-webkit-box-shadow: none; /* Android 2.3+, iOS 4.0.2-4.2, Safari 3-4 */
	box-shadow: none; /* Chrome 6+, Firefox 4+, IE 9+, iOS 5+, Opera 10.50+ */
}

.pannello-affix.affix .navbar-inner {
	margin-top: 0;
}

.navbar .pannello-affix.affix .nav li a {
	color: #fff;
}

.navbar .pannello-affix.affix .brand-piccolo {
	display: block;
	opacity: 1;
	filter: alpha(opacity=100);
}
.navbar .brand {
    position: absolute;
    /*bottom: 0; */
    background: url(../images/era-logo-d.png) no-repeat center 70%;
    width: 240px;/*282px;*/
    height: 260px;/*120px;*/
    background-size: 100%;
    text-indent: -9999px;
    display: block;
    margin: 0;
    margin-top: 10px;
    padding:15px 0;
    position: absolute;
    -webkit-transition: opacity 0.1s ease-out;
    -moz-transition: opacity 0.1s ease-out;
    -o-transition: opacity 0.1s ease-out;
    transition: opacity 0.1s ease-out;
}
.navbar .brand-piccolo {
    display: none;
    opacity: 0;
    filter: alpha(opacity=0);
    position: absolute;
    background: url(../images/era-logo-s.png) no-repeat center 70%;
    width: 204px;
    height: 62px;
    top: 3px;
    background-size: 100%;
    text-indent: -9999px;
    display: block;
    margin: 0;
    margin-top: 0;
    padding: 0;
    position: absolute;
}

.navbar .pannello-affix.affix .brand {
	display: none;
	opacity: 0;
	filter: alpha(opacity=0);
}
@media(max-width: 767px){

	.navbar .brand {
		position: absolute;
        
		background-size: 70%;
		margin-top: -15px;
		margin-left: -40px;
            width: 220px;
    height: 205px;
	}
	.navbar .brand-piccolo {
		background-size: 70%;
		margin-top: -10px;
		margin-left: -30px;
	}
}

@media(max-width: 767px){}

//
@media screen and (min-width: 1025px)
.article-text IMG {
    max-width: 100%;
    height: auto;
}
}

figure {
    display: block;
    background: #eee;
    padding: 10px;
}
figcaption {
    display: block;
    text-align: center;
    margin: 10px 0;
    font-style: italic;
    font-size: 14px;
    orphans: 2;
}


.buybutton {
	margin: 0 auto;
  display: inline-block;
  border-radius: 4px;
  background-color: #f4511e;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 28px;
  padding: 20px;
  width: 200px;
  transition: all 0.5s;
  cursor: pointer;
}

.buybutton span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.buybutton span:after {
  content: '»';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.buybutton:hover span {
  padding-right: 25px;
}

.buybutton:hover span:after {
  opacity: 1;
  right: 0;
}