@charset "utf-8";
/* CSS Document */

/*parallax*/
#intro{
	background:url(../images/meals_bk.jpg) 50% 0 repeat fixed;
	color: white;
	height: auto;
	margin: 0 auto;
	padding: 0;
}

#second{
    -moz-background-size:cover;
    -webkit-background-size:cover;
    -o-background-size:cover;
    background-size:cover;
    background-color: transparent;
    background-image: url(../images/parallax_scrolling_1.jpg);
    background-position: 50% 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
	color: white;
	height: 350px;
	margin: 0 auto;
	overflow: hidden;
	padding: 0;
}

#third{
	background:url(../images/meals_bk.jpg) 50% 0 repeat fixed;
	color: white;
	height: auto;
	padding: 50px 0;	
}

#fifth{
    -moz-background-size:cover;
    -webkit-background-size:cover;
    -o-background-size:cover;
    background-size:cover;
    background-color: transparent;
    background-image: url(../images/parallax_scrolling_2.jpg);
    background-position: 50% 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
	height: 350px;
	margin: 0 auto;
	padding: 40px 0 0 0;
}

/*幻燈片輪播*/
#jssor_slider{
    min-height: 50px;
}

#slider1_container{
    visibility: hidden;
    position: relative;
    margin: 0 auto;
    top: 0px;
    left: 0px;
    width: 1300px;
    height: 500px;
    overflow: hidden;
}

.jssorl-009-spin{
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    text-align:center;
    background-color:rgba(0,0,0,0.7);
}

.jssorl-009-spin img {
    margin-top:-19px;
    position:relative;
    top:50%;
    width:38px;
    height:38px;
    
    /*jssorl-009-spin img animation*/
    animation-name: jssorl-009-spin;
    animation-duration: 1.6s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

#slider1_container_img {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 1300px;
    height: 500px;
    overflow: hidden;
}

@keyframes jssorl-009-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.jssorb031 {position:absolute; position:absolute; bottom:12px; right:12px;}
.jssorb031 .i {position:absolute;cursor:pointer; width:16px; height:16px; }
.jssorb031 .i svg {position:absolute;top:0;left:0;width:100%;height:100%;}
.jssorb031 .i .b {fill:#fff;fill-opacity:1;}
.jssorb031 .i:hover .b {fill:#a6592b;}
.jssorb031 .iav .b {fill:#230b00;}
.jssorb031 .i.idn {opacity:.3;}

.jssora051 {display:block;position:absolute;cursor:pointer; width:100px; height:100px; top:0px;}
.jssora051 svg {position:absolute;top:0;left:0;width:100%;height:100%;}
.jssora051 .a {fill:none;stroke:#fff;stroke-width:360;stroke-miterlimit:10;}
.jssora051:hover {opacity:.8;}
.jssora051.jssora051dn {opacity:.5;}
.jssora051.jssora051ds {opacity:.3;pointer-events:none;}

/*首頁內容展示*/
#intro{
	padding: 50px 0;
}

.main_title {
    color: #df6c5d;
    font-size: 50px;
    margin: 0 0 35px 0;
}

#third .main_title {
	margin: 0 0 20px 0;
}

.secondary_title{
	color: #e3978c;
	font-size: 30px;
	margin: 0 0 50px 0;
}

.main_row {
    margin: 15px 0;
    position: relative;
    z-index: 1;
}

.main_row > a {
    display: block;
    text-decoration: none;
}
.main_img {
    height: auto;
    width: 100%;
    -ms-border-radius: 20px 20px 0 0;
    -moz-border-radius: 20px 20px 0 0;
    -webkit-border-radius: 20px 20px 0 0;
    -o-border-radius: 20px 20px 0 0;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.main_img img {
    -ms-border-radius: 20px 20px 0 0;
    -moz-border-radius: 20px 20px 0 0;
    -webkit-border-radius: 20px 20px 0 0;
    -o-border-radius: 20px 20px 0 0;
    border-radius: 20px 20px 0 0;
}

#intro .main_row > a {
    background-color: #b09b82;
	-ms-border-radius: 20px;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	-o-border-radius: 20px;
    border-radius: 20px;
	-ms-box-shadow: 0 5px 2px 3px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 5px 2px 3px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0 5px 2px 3px rgba(0, 0, 0, 0.5);
	-o-box-shadow: 0 5px 2px 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 2px 3px rgba(0, 0, 0, 0.5);
}

#intro .main_row > a:hover .main_title_secondary, #intro .main_row > a:focus .main_title_secondary,
#intro .main_row > a:hover .intro_news_data, #intro .main_row > a:focus .intro_news_data,
#intro .main_row > a:hover .intro_news_article, #intro .intro_news > a:focus .intro_news_article {
    color: #3F0D12;
	-ms-transform: all 0.3s ease-in-out 0s; /* IE 9 */
	-moz-transform:all 0.3s ease-in-out 0s; /* Firefox */
	-webkit-transform: all 0.3s ease-in-out 0s; /* Safari */
	-o-transform:all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s; 
}
#intro .main_img{
    height:248px;
}

#intro .main_row > a:hover .img-responsive {
    -ms-opacity: 0.5;
    -webkit-opacity: 0.5;
    opacity: 0.5;
	-ms-transform: all 0.3s ease-in-out 0s; /* IE 9 */
	-moz-transform:all 0.3s ease-in-out 0s; /* Firefox */
	-webkit-transform: all 0.3s ease-in-out 0s; /* Safari */
	-o-transform:all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
    -ms-transform-origin: 50% 50%;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

.main_content{
	color: #494142;
    padding: 15px;
}

.main_title_secondary {
    font-size: 24px;
    font-weight: 500;
    margin: 5px 0;
    overflow: hidden;
}

#intro .main_title_secondary{
    height: 1.1em;
    width: 80%;
}

.main_title_secondary_2{
    font-size: 18px;
    display: inline-block;
    width: 100%;
}

#third .main_title_secondary{
    color:#cccbb9;
}

#third .main_title_secondary_2{
    margin-bottom: 10px;
}

.intro_news_data {
    display: block;
    width: 100%;
    overflow: hidden;
    height: 1.5em;
    margin: 5px 0;
}

.intro_news_article{
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    height: 1.5em;
    margin: 5px 0;
}

.intro_news_class {
    background-color: #494142;
	font-weight: 600;
    color: #fff;
    padding: 15px;
    height: inherit;
    width: 74px;
    height: 74px;
    border-radius: 100px;
    text-align: center;
    margin: 0;
    position: absolute;
    z-index: 9999;
	-ms-box-shadow: 0 4px 8px 1px rgba(0,0,0,0.5);
	-moz-box-shadow: 0 4px 8px 1px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 4px 8px 1px rgba(0,0,0,0.5);
	-o-box-shadow: 0 4px 8px 1px rgba(0,0,0,0.5);
    box-shadow: 0 4px 8px 1px rgba(0,0,0,0.5);
    border: 4px solid #d4c1b1;
    right: 25px;
    top: 50%;
    margin-top: 28px;
    -ms-transform: all 0.3s ease-in-out 0s; /* IE 9 */
	-moz-transform:all 0.3s ease-in-out 0s; /* Firefox */
	-webkit-transform: all 0.3s ease-in-out 0s; /* Safari */
	-o-transform:all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s; 
}

.main_row a:hover .intro_news_class {
    background-color: #df6c5d;
    -ms-transform: all 0.3s ease-in-out 0s; /* IE 9 */
	-moz-transform:all 0.3s ease-in-out 0s; /* Firefox */
	-webkit-transform: all 0.3s ease-in-out 0s; /* Safari */
	-o-transform:all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
}

#third .main_content {
    padding: 0 15px;
}

#third .main_row > a:hover .img-responsive, #third .main_row > a:focus .img-responsive{
    -ms-transform:scale(0.9);
    -moz-transform:scale(0.9);
    -webkit-transform:scale(0.9);
    -o-transform:scale(0.9);
    transform:scale(0.9);
}

.img-responsive, .thumbnail > img, .thumbnail a > img, .carousel-inner > .item > img, .carousel-inner > .item > a > img{
    width:100%;
}

/*裝飾線*/
.hr_decoration{
    background: transparent url(../images/horizontal.jpg) repeat-x scroll center center;
    width: 100%;
    height: 8px;
    margin: 40px 0;
}

@media (min-width: 1200px){	
    /*parallax*/
    #second, #fifth{height: 700px;}
}

@media (min-width: 1025px){	
    /*幻燈片輪播*/
    #jssor_slider{margin-top: 140px;}
}

@media (max-width: 1024px){		
	/*首頁內容展示*/
	.intro_news_class {
    	margin: 60px 0 0;
	}
}

@media (max-width: 854px){
	/*首頁內容展示*/
	.intro_news_class {
    	margin: 35px 0 0;
	}
}

@media (max-width: 800px){
	/*首頁內容展示*/
	.intro_news_class {
    	margin: 28px 0 0;
	}
}

@media (max-width: 736px){
	/*首頁內容展示*/
	.intro_news_class {
    	margin: 135px 0 0;
	}
}

@media (max-width: 640px){	
	/*首頁內容展示*/
	.intro_news_class {
    	margin: 95px 0 0;
	}
}

@media (max-width: 568px){	
	/*首頁內容展示*/
	.intro_news_class {
    	margin: 70px 0 0;
	}
}

@media (max-width: 533px){	
	/*首頁內容展示*/
	.intro_news_class {
    	margin: 55px 0 0;
	}
}

@media (max-width: 480px){	
	/*首頁內容展示*/
	.intro_news_class {
    	margin: 40px 0 0;
	}
    
    #second, #fifth{
        display: none;
    }
}

@media (max-width: 414px){
    /*首頁內容展示*/
	.intro_news_class {
    	margin:20px 0 0;
	}
}

@media (max-width: 360px){
    /*首頁內容展示*/
	.intro_news_class {
    	margin:0;
	}
}

@media (max-width: 320px){
	/*首頁內容展示*/
	.intro_news_class {
    	margin: 0;
	}
}