@charset "utf-8";

/*------ Reset ------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, button {
	margin:0;
	padding:0;
	border:0;
	outline: 0;
	font-size:100%;
	text-decoration: none;
	/*font:inherit;*/
	vertical-align:baseline;
 box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display:block;
}
body {
	line-height:1;
}
ol, ul {
	list-style:none;
}
blockquote, q {
	quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content:'';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/*------ 通用設定 ------*/
body {
	font-family:"Microsoft JhengHei","Heiti TC", "WenQuanYi Zen Hei","Arial";
	margin: 0;
	font-size: 15px;
	line-height: 20px;
	color: #333;
    padding: 0;
    overflow-x: hidden;
}
li, h2, p {
	overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
h2 {
	font-weight: normal;
}
p {
	color: #999;
	font-size: 14px;
}
.litv_logo{
    width: 43px;
}
#showcase {
	background-color: #F1F1F1;
	position: relative;
	padding: 5px 15px;
	height: 260px;
    min-width: 280px;
}
.showcase_head, .showcase_content {width: 100%;}
.showcase_head {
	margin-bottom: 5px;
	vertical-align: middle;
}
.showcase_head div {
    vertical-align: middle;
	display: inline-block;
}
.showcase-title {
	color: #330033;
	font-size: 20px;
    font-weight: bold;
	padding-left: 8px;
}
#showcase a.more_btn {
	color: #999;
	font-size: 13px;
	border-radius: 4px;
	border: #999 solid 1px;
	padding: 1px 3px; 
	position: absolute;
	top: 8px;
	right: 15px;
}
#showcase a.more_btn:hover {
	color: #8C4593;
	border: #8C4593 solid 1px;
}
#showcase .page_icon {
	display: none;
}
#showcase .page_icon a {
	border: #999 solid 1px;
	border-radius: 10px;
	color: #999;
	font-size: 13px;
	width: 20px;
	height: 20px;
	display: inline-block;
	text-align: center;
	vertical-align: middle;
	margin-right: 8px;
	cursor: pointer;
}
#showcase .page_icon a:hover {
	border: #8C4593 solid 1px;
	border-radius: 10px;
	color: #8C4593;
}
#showcase .page_icon a.page_focus {
	background-color: #8C4593;
	color: #FFF;
	border: #8C4593 solid 1px;
	cursor: default;
}
.showcase_content_wapper{
    overflow: hidden;
}
.showcase_content {
	position: relative;
}
.show-photo img {
	width: 100%;
	height: 100%;
}
.show-photo { position: relative; }
.show-photo::before {
	content: '';
	display: none;
    vertical-align: middle; 
    position: absolute;
    background-image: url(../images/playicon.png);
    background-repeat: no-repeat;
    background-size: 100%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
    width: 45px;
    height: 45px;
}
.showcase_content a:hover .show-photo::before {
	display: block;
}
.showcase_content h2 {
    color: #333;
	font-size: 15px;
}
.showcase_content a:hover h2 {
	color: #FF6600;
}

.showcase_content {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 295px 295px 115px;
    grid-template-columns: [t] minmax(0, auto) [p1] 295px [p2] 295px [p3] 115px;
    -ms-grid-rows: (35px)[6];
    grid-template-rows: repeat(6, 35px);
}

.showcase_content > div:nth-child(1) {
    -ms-grid-row: 1;
}
.showcase_content > div:nth-child(2) {
    -ms-grid-row: 2;
}
.showcase_content > div:nth-child(3) {
    -ms-grid-row: 3;
}
.showcase_content > div:nth-child(4) {
    -ms-grid-row: 4;
}
.showcase_content > div:nth-child(5) {
    -ms-grid-row: 5;
}
.showcase_content > div:nth-child(6) {
    -ms-grid-row: 6;
}
.showcase_content > div:nth-child(-n+6) {
    padding-left: 10px;
    -ms-grid-column: 1;
    grid-column: t;
    grid-row: span 1;
    padding-right: 10px;
}
.showcase_content > div:nth-child(7){
    -ms-grid-column: 2;
    grid-column: p1;
    -ms-grid-row-span: 6;
    -ms-grid-row: 1;
    grid-row: 1 / span 6;
    margin-right: 10px;
}
.showcase_content > div:nth-child(8){
    -ms-grid-column: 3;
    grid-column: p2;
    -ms-grid-row-span: 6;
    -ms-grid-row: 1;
    grid-row: 1 / span 6;
    margin-right: 10px;
}
.showcase_content > div:nth-child(9){
    -ms-grid-column: 4;
    grid-column: p3;
    -ms-grid-row-span: 3;
    -ms-grid-row: 1;
    grid-row: 1 / span 3;
    margin: 0 5px;
}
.showcase_content > div:nth-child(10){
    -ms-grid-column: 4;
    grid-column: p3;
    -ms-grid-row-span: 3;
    -ms-grid-row: 4;
    grid-row: 4 / span 3;
    margin: 0 5px;
}

.showcase_content.non_grid{
    position: relative;
}
.showcase_content.non_grid > div {
    /*position: absolute !important;*/
}
.showcase_content.non_grid > div:nth-child(-n+6) {
    height: 35px;
}
.showcase_content.non_grid > div:nth-child(7) {
    position: absolute;
    top:0;
    right:390px;
}
.showcase_content.non_grid > div:nth-child(8) {
    position: absolute;
    top:0;
    right:105px;
}
.showcase_content.non_grid > div:nth-child(9) {
    position: absolute;
    top:0;
    right:0;
}
.showcase_content.non_grid > div:nth-child(10) {
    position: absolute;
    top:105px;
    right:0;
}
@media screen and (min-width: 1051px){
    .showcase_content > div:nth-child(n+9):nth-child(-n+10) h2{
        font-size: 14px;
    }
    .showcase_content > div:nth-child(n+9):nth-child(-n+10) a:hover .show-photo::before{
        width: 30px;
        height: 30px;
    }
}
@media screen and (min-width: 400px) {
    .showcase_content > div:nth-child(-n+6)::before {
        content: '';
        background-image: url(../images/text-list-icon.png);
        background-repeat: no-repeat;
        background-size: 100%;
        width: 11px;
        height: 11px;
        display: block;
        float: left;
        margin-right: 5px;
        margin-top: 4px;
    }
    .showcase_content > div:nth-child(-n+6) .show-photo,
    .showcase_content > div:nth-child(-n+6) .show-article p {
        display: none;
    }
    .showcase_content > div:nth-child(n+11){
        display: none;
    }
}
@media screen and (min-width: 951px) and (max-width: 1050px) {
    .showcase_content > div:nth-child(n+7){
        margin: 0 0 12px 0;
    }
    .showcase_content > div:nth-child(n+7) .show-photo{
        width: 160px;
        height: 89px;
        display: inline-block;
    }
    .showcase_content > div:nth-child(n+7) .show-article{
        width: 125px;
        vertical-align: top;
        display: inline-block;
    }
    .showcase_content > div:nth-child(n+7) h2, .showcase_content > div:nth-child(n+7) p{
        overflow: hidden;
        white-space: normal;
        text-overflow: ellipsis;
        height: 40px;
    }
    .showcase_content {
        -ms-grid-columns: 1fr 300px 290px;
        grid-template-columns: [t] minmax(0, auto) [p1] 300px [p2] 290px;
    }
    .showcase_content > div:nth-child(7){
        -ms-grid-column: 2;
        grid-column: p1;
        -ms-grid-row-span: 3;
        -ms-grid-row: 1;
        grid-row: 1 / span 3;
    }
    .showcase_content > div:nth-child(8){
        -ms-grid-column: 2;
        grid-column: p1;
        -ms-grid-row-span: 3;
        -ms-grid-row: 4;
        grid-row: 4 / span 3;
    }
    .showcase_content > div:nth-child(9){
        -ms-grid-column: 3;
        grid-column: p2;
        -ms-grid-row-span: 3;
        -ms-grid-row: 1;
        grid-row: 1 / span 3;
    }
    .showcase_content > div:nth-child(10){
        -ms-grid-column: 3;
        grid-column: p2;
        -ms-grid-row-span: 3;
        -ms-grid-row: 4;
        grid-row: 4 / span 3;
    }
    .showcase_content.non_grid > div:nth-child(7) {
        position: absolute;
        top:0;
        right:290px;
    }
    .showcase_content.non_grid > div:nth-child(8) {
        position: absolute;
        top:93px;
        right:290px;
    }
    .showcase_content.non_grid > div:nth-child(9) {
        position: absolute;
        top:0;
        right:0;
    }
    .showcase_content.non_grid > div:nth-child(10) {
        position: absolute;
        top:93px;
        right:0;
    }
}
@media screen and (min-width: 751px) and (max-width: 950px) {
	.showcase_content {
        -ms-grid-columns: 1fr 295px 115px;
        grid-template-columns: [t] minmax(0, auto) [p1] 295px [p2] 115px;
    }
    .showcase_content > div:nth-child(8){
        -ms-grid-column: 3;
        grid-column: p2;
        -ms-grid-row-span: 3;
        -ms-grid-row: 1;
        grid-row: 1 / span 3;
        margin: 0 5px;
    }
    .showcase_content > div:nth-child(9){
        -ms-grid-column: 3;
        grid-column: p2;
        -ms-grid-row-span: 3;
        -ms-grid-row: 4;
        grid-row: 4 / span 3;
        margin: 0 5px;
    }
    .showcase_content > div:nth-child(n+8):nth-child(-n+9) a:hover .show-photo::before{
        width: 30px;
        height: 30px;
    }
    .showcase_content > div:nth-child(10){
        display: none;
    }
    .showcase_content.non_grid > div:nth-child(7) {
        position: absolute;
        top:0;
        right:105px;
    }
    .showcase_content.non_grid > div:nth-child(8) {
        position: absolute;
        top:0;
        right:0;
    }
    .showcase_content.non_grid > div:nth-child(9) {
        position: absolute;
        top:105px;
        right:0;
    }
}
@media screen and (min-width: 650px)  and (max-width: 750px) {
    .showcase_content {
        -ms-grid-columns: 1fr 295px;
        grid-template-columns: [t] minmax(0, auto) [p] 295px;
    }
    .showcase_content > div:nth-child(7){
        -ms-grid-column: 2;
        grid-column: p;
        -ms-grid-row-span: 6;
        -ms-grid-row: 1;
        grid-row: 1 / span 6;
    }
    .showcase_content > div:nth-child(n+8){
        display: none;
    }
    .showcase_content.non_grid > div:nth-child(7) {
        position: absolute;
        top:0;
        right:0;
    }
}
@media screen and (min-width: 551px)  and (max-width: 649px) {
	.showcase_content {
        -ms-grid-columns: 1fr 110px 110px;
        grid-template-columns: [t] minmax(0, auto) [p1] 110px [p2] 110px;
    }
    .showcase_content > div:nth-child(7){
        -ms-grid-column: 2;
        grid-column: p1;
        -ms-grid-row-span: 3;
        -ms-grid-row: 1;
        grid-row: 1 / span 3;
    }
    .showcase_content > div:nth-child(8){
        -ms-grid-column: 2;
        grid-column: p1;
        -ms-grid-row-span: 3;
        -ms-grid-row: 4;
        grid-row: 4 / span 3;
    }
    .showcase_content > div:nth-child(9){
        -ms-grid-column: 3;
        grid-column: p2;
        -ms-grid-row-span: 3;
        -ms-grid-row: 1;
        grid-row: 1 / span 3;
    }
    .showcase_content > div:nth-child(10){
        -ms-grid-column: 3;
        grid-column: p2;
        -ms-grid-row-span: 3;
        -ms-grid-row: 4;
        grid-row: 4 / span 3;
    }
    .showcase_content > div:nth-child(n+7):nth-child(-n+10) a:hover .show-photo::before{
        width: 30px;
        height: 30px;
    }
    .showcase_content.non_grid > div:nth-child(7) {
        position: absolute;
        top:0;
        right:100px;
    }
    .showcase_content.non_grid > div:nth-child(8) {
        position: absolute;
        top:105px;
        right:100px;
    }
    .showcase_content.non_grid > div:nth-child(9) {
        position: absolute;
        top:0;
        right:0;
    }
    .showcase_content.non_grid > div:nth-child(10) {
        position: absolute;
        top:105px;
        right:0;
    }
}
@media screen and (min-width: 451px) and (max-width: 550px) {
	.showcase_content {
        -ms-grid-columns: 1fr 110px;
        grid-template-columns: [t] minmax(0, auto) [p] 110px;
    }
    .showcase_content > div:nth-child(7){
        -ms-grid-column: 2;
        grid-column: p;
        -ms-grid-row-span: 3;
        -ms-grid-row: 1;
        grid-row: 1 / span 3;
    }
    .showcase_content > div:nth-child(8){
        -ms-grid-column: 2;
        grid-column: p;
        -ms-grid-row-span: 3;
        -ms-grid-row: 4;
        grid-row: 4 / span 3;
    }
    .showcase_content > div:nth-child(n+7):nth-child(-n+8) a:hover .show-photo::before{
        width: 30px;
        height: 30px;
    }
    .showcase_content > div:nth-child(n+9){
        display: none;
    }
    .showcase_content.non_grid > div:nth-child(7) {
        position: absolute;
        top:0;
        right:0;
    }
    .showcase_content.non_grid > div:nth-child(8) {
        position: absolute;
        top:105px;
        right:0;
    }
}
@media screen and (min-width: 400px) and (max-width: 450px) {
	.showcase_content {
        -ms-grid-columns: 100%;
        grid-template-columns: [t] 100%;
    }
    .showcase_content > div:nth-child(n+7){
        display: none;
    }
}
@media screen and (max-width: 399px) {
	.showcase_content {        
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 100% 100% 100% 100% 100%;
            grid-template-columns: 100% 100% 100% 100% 100%; /* TODO 動態決定有幾個 */
        -ms-grid-rows: (auto)[3];
            grid-template-rows: repeat(3, auto);
        grid-column-gap: 15px;
        grid-auto-flow: column dense;
        transition: -webkit-transform 0.5s;
        transition: transform 0.5s;
        transition: transform 0.5s;
           transition: transform 0.5s, -webkit-transform 0.5s;
    }
    
    .showcase_content > div:nth-child(n+1){
        grid-column: auto;
        grid-row: auto;
        padding-left: 10px;
        padding-right: 10px;
        margin: 0;
    }
    .showcase_content > div:nth-child(1) {
        -ms-grid-column: 1;
        -ms-grid-row: 1;
    }
    .showcase_content > div:nth-child(2) {
        -ms-grid-column: 1;
        -ms-grid-row: 2;
    }
    .showcase_content > div:nth-child(3) {
        -ms-grid-column: 1;
        -ms-grid-row: 3;
    }
    .showcase_content > div:nth-child(4) {
        -ms-grid-column: 2;
        -ms-grid-row: 1;
    }
    .showcase_content > div:nth-child(5) {
        -ms-grid-column: 2;
        -ms-grid-row: 2;
    }
    .showcase_content > div:nth-child(6) {
        -ms-grid-column: 2;
        -ms-grid-row: 3;
    }
    .showcase_content > div:nth-child(7) {
        -ms-grid-column: 3;
        -ms-grid-row: 1;
    }
    .showcase_content > div:nth-child(8) {
        -ms-grid-column: 3;
        -ms-grid-row: 2;
    }
    .showcase_content > div:nth-child(9) {
        -ms-grid-column: 3;
        -ms-grid-row: 3;
    }
    .showcase_content > div:nth-child(10) {
        -ms-grid-column: 4;
        -ms-grid-row: 1;
    }
    .showcase_content > div:nth-child(11) {
        -ms-grid-column: 4;
        -ms-grid-row: 2;
    }
    .showcase_content > div:nth-child(12) {
        -ms-grid-column: 4;
        -ms-grid-row: 3;
    }
    .showcase_content > div:nth-child(13) {
        -ms-grid-column: 5;
        -ms-grid-row: 1;
    }
    .showcase_content > div:nth-child(14) {
        -ms-grid-column: 5;
        -ms-grid-row: 2;
    }
    .showcase_content > div:nth-child(15) {
        -ms-grid-column: 5;
        -ms-grid-row: 3;
    }
    
    .show-photo {
        width: 95px;
        height: 53px;
        display: inline-block;
    }
    .show-article {
        width: calc(100% - 100px);
        height: 40px;
        vertical-align: top;
        overflow: hidden;
        display: inline-block;
        text-align: justify;
        margin-top: 3px;
    }
    .show-article h2, .show-article p{
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    #showcase .page_icon{
        position: absolute;
        top: auto;
        bottom: 10px;
        left: 0;
        width: 100%;
        text-align: center;
        display: block;
    }
    #showcase .page_icon a{
        color: #999;
        font-size: 0;
        text-indent: -9999px;
        width: 15px;
        height: 15px;
    }
    .showcase_content > div a:hover .show-photo::before{
        width: 30px;
        height: 30px;
    }
}
@media screen and (max-width: 350px) {
    .show-article h2{
        white-space: normal;
        text-overflow: ellipsis;
        font-weight: bold;
    }
    .show-article p{
        display: none;
    }
}
@media screen and (max-width: 280px) {
    #showcase{
        padding: 2px;
    }
    .show-article h2{
        font-weight: normal;
        font-size: 14px;
    }
    .more_btn{
        right: 2px;
        font-size: 12px;
    }
    .showcase-title{
        padding-left: 0;
    }
    #showcase a.more_btn{
        right: 0;
    }
    .showcase-title{
        font-size: 19px;
    }
}
/*------ reversal ------*/
#showcase.reversal .showcase_content {
    -ms-grid-columns: 295px 295px 115px 1fr;
    grid-template-columns: [p1] 295px [p2] 295px [p3] 115px [t] minmax(0, auto);
}
#showcase.reversal .showcase_content > div:nth-child(-n+6) {
    -ms-grid-column: 4;
    padding-left: 20px;
}
#showcase.reversal .showcase_content > div:nth-child(7) {
    -ms-grid-column: 1;
}
#showcase.reversal .showcase_content > div:nth-child(8) {
    -ms-grid-column: 2;
}
#showcase.reversal .showcase_content > div:nth-child(9) {
    -ms-grid-column: 3;
}
#showcase.reversal .showcase_content > div:nth-child(10) {
    -ms-grid-column: 3;
}
@media screen and (min-width: 951px) and (max-width: 1050px) {
    #showcase.reversal .showcase_content {
        -ms-grid-columns: 300px 300px 1fr;
        grid-template-columns: [p1] 300px [p2] 300px [t] minmax(0, auto);
    }
    #showcase.reversal .showcase_content > div:nth-child(-n+6) {
        -ms-grid-column: 3;
    }
    #showcase.reversal .showcase_content > div:nth-child(8) {
        -ms-grid-column: 1;
    }
    #showcase.reversal .showcase_content > div:nth-child(9) {
        -ms-grid-column: 2;
    }
    #showcase.reversal .showcase_content > div:nth-child(10) {
        -ms-grid-column: 2;
    }
}
@media screen and (min-width: 751px) and (max-width: 950px) {
	#showcase.reversal .showcase_content {
        -ms-grid-columns: 295px 115px 1fr;
        grid-template-columns: [p1] 295px [p2] 115px [t] minmax(0, auto);
    }
    #showcase.reversal .showcase_content > div:nth-child(-n+6) {
        -ms-grid-column: 3;
    }
    #showcase.reversal .showcase_content > div:nth-child(9) {
        -ms-grid-column: 2;
    }
}
@media screen and (min-width: 650px)  and (max-width: 750px) {
    #showcase.reversal .showcase_content {
        -ms-grid-columns: 295px 1fr;
        grid-template-columns: [p] 295px [t] minmax(0, auto);
    }
    #showcase.reversal .showcase_content > div:nth-child(-n+6) {
        -ms-grid-column: 2;
    }
}
@media screen and (min-width: 551px) and (max-width: 649px) {
	#showcase.reversal .showcase_content {
        -ms-grid-columns: 110px 110px 1fr;
        grid-template-columns: [p1] 110px [p2] 110px [t] minmax(0, auto);
    }
    #showcase.reversal .showcase_content > div:nth-child(-n+6) {
        -ms-grid-column: 3;
    }
    #showcase.reversal .showcase_content > div:nth-child(8) {
        -ms-grid-column: 1;
    }
    #showcase.reversal .showcase_content > div:nth-child(9) {
        -ms-grid-column: 2;
    }
    #showcase.reversal .showcase_content > div:nth-child(10) {
        -ms-grid-column: 2;
    }
}
@media screen and (min-width: 451px) and (max-width: 550px) {
	#showcase.reversal .showcase_content {
        -ms-grid-columns: 110px 1fr;
        grid-template-columns: [p] 110px [t] minmax(0, auto);
    }
    #showcase.reversal .showcase_content > div:nth-child(-n+6) {
        -ms-grid-column: 2;
    }
    #showcase.reversal .showcase_content > div:nth-child(8) {
        -ms-grid-column: 1;
    }
}
@media screen and (min-width: 400px) and (max-width: 450px) {
	#showcase.reversal .showcase_content {
        -ms-grid-columns: 100%;
        grid-template-columns: [t] 100%;
    }
    #showcase.reversal .showcase_content > div:nth-child(-n+6) {
        -ms-grid-column: 1;
    }
}
@media screen and (max-width: 399px) {
	#showcase.reversal .showcase_content {
        -ms-grid-columns: 100% 100% 100% 100%;
            grid-template-columns: 100% 100% 100% 100%; /* TODO 動態決定有幾個 */
    }
    #showcase.reversal .showcase_content > div:nth-child(n+1){
        grid-column: auto;
        grid-row: auto;
        padding-left: 10px;
        padding-right: 10px;
        margin: 0;
    }
}

/*------ 399x380 ------*/
#showcase.h380 {
	height: 380px;
}
@media screen and (max-width: 399px) {
    #showcase.h380 .showcase_content{
        height: 290px;
    }
	#showcase.h380 h2, #showcase.h380 p{
		overflow: hidden;
	    white-space: normal;
	    text-overflow: ellipsis;
	    font-weight: bold;
	}
    #showcase.h380 .show-photo{
        width: 160px;
		height: 89px;
    }
    #showcase.h380 .show-article {
        width: calc(100% - 165px);
        height: auto;
        max-height: 80px;
    }
    #showcase.h380 .showcase_content > div a:hover .show-photo::before{
        width: 45px;
        height: 45px;
    }
}
@media screen and (max-width: 350px) {
    #showcase.h380 h2 {
		font-size: 17px;
		font-weight: normal;
	}
}

/*------ 300x250 ------*/
#showcase.h250 {
	height: 250px;
}