body {
    padding-top: 70px;
    background:#fffbf2;
    background-size:100% auto;
    font-family:微軟正黑體;
}

img {
	max-width:100%;
}

.navbar-default {
	background:transparent;
	border:0;
}

nav.active {
	background:#fff;
	min-height: 55px;
}

.navbar-brand {
	background:url(../images/logo.svg) left top no-repeat;
	width:149px;
	height:33px;
	margin:10px 0 0 -5px !important;
}

nav.active .navbar-brand {
	background:url(../images/logo-color.svg) left top no-repeat;
}

.main {
	background-image: url(../images/main.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	height:600px;
	margin-top:-70px;
}

.product {
	background:#fff;
	padding-bottom:80px;
}

.product>div {
	padding:10px 20px 0;
}

.product h3 {
	font-size:25px;
	font-weight:bold;
	color:#4b4b4b;
	text-align:center;
	margin:0;
	padding:70px 0 30px 0;
	background:url(../images/text-box.svg) center 65% no-repeat;
	margin-bottom: 5px;
}

.slick-slide {
	margin-top:19px;	
}

.suggest_item {
    margin-bottom: 5px;
    border-radius: 2px;
    background: #fff;
    overflow: hidden;
	transition:all ease-in-out .3s;
	border:1px solid #fbfaf9;
}

.suggest_item:hover {	
	transform:translateY(-19px);
}

.suggest_item a {
    text-decoration: none;
    outline: none;
    color: #333;
}

.suggest_item a .img-frame {
    position: relative;
    width: 100%;
    height: 250px;
}

.suggest_item a .img-frame .img-response {
	max-width: none;
    width: auto;
	position: absolute;
    left: 50%;
    top: 50%;
    height: 250px;
	transform: translate(-50%,-50%);
}

.suggest_item h4, .suggest_item p {
	padding: 2px 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggest_item h4 {
    font-size: 18px;
    color: #4b4b4b;
    font-weight: 700;
}

.suggest_item p {
    font-size: 14px;
    color: #9b9c9c;
	margin-bottom: 6px;
}

.city-price {
    position: relative;
	padding-bottom: 10px;
	border-bottom:15px solid #e3effa;
}

.city-price .city {
    color: #888989;
    padding-right: 10px;
    font-size: 14px;
	float: left;
	padding-left: 15px;
	padding-top:10px;
}

.city-price .city img {
    display: inline;
    margin-right: 5px;
    position: relative;
    top: -2px;
}

.city-price span {
    padding-right: 10px;
    display: block;
    color: #ff3259;
    font-size: 24px;
    font-weight: 700;
}

.city-price span span {
    display: inline;
    color: #888989;
    font-size: 14px;
}

.footer {
	background:#fde380;	
}

.footer img {
	margin:18px 10px;
}

.footer a {
	float:right;
}

.slick-dots {
	bottom:-35px !important;
}

.slick-dots li button:before {
	font-size:12px !important;
	color:#767676 !important;
	opacity:1 !important;
}

.slick-dots li.slick-active button:before {
	color:#CDCDCD !important;
	opacity:1 !important;
}

.nav-tabs {
	border-bottom: 1px solid #6080eb;
}

.nav-tabs li, .nav-tabs li:before {
    cursor: default;
    z-index: 1;
    position: relative;
    border: 1px solid #6080eb;
    border-bottom: 0;
    transform: skewX(25deg);
    float: left;
    height: 40px;
    margin: 11px 0 0 24px;
    width: 30.89%;
    border-radius: 5px 5px 0 0;
    background: #fff;
}

.nav-tabs li:nth-child(1) { z-index: 7 }
.nav-tabs li:nth-child(2) { z-index: 6 }
.nav-tabs li:nth-child(3) { z-index: 5 }
.nav-tabs li:nth-child(4) { z-index: 4 }
.nav-tabs li:nth-child(5) { z-index: 3 }
.nav-tabs li:nth-child(6) { z-index: 2 }
.nav-tabs li:nth-child(7) { z-index: 1 }

.nav-tabs li.active, .nav-tabs li.active:before {
    background: #6080eb;
    height: 41px;
    margin-bottom: -1px;
    border-color: #6080eb;
}

.nav-tabs li:before {
    content: '';
    position: absolute;
    left: -18px;
    top: -1px;
    transform: skewX(140deg);
    border-right: 0;
    margin: 0;
    padding: 0;
    border-radius: 5px 0 0 0;
}

.nav-tabs li a {
    z-index: 3;
    position: absolute;
    right: 8px;
    top: 0;
    font-size: 18px;
    color: #777;
    width: 100%;
	background: none;
	border-radius: 100%;
	font-weight: bold;
	padding:5px 0;
	border: 0;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover,.nav>li>a:hover {
	background: none;
	border: none;
	color: #fff;
}

.nav>li>a:hover {
	color: #777;
}

.nav-tabs li span {
    display: block;
    width: 100%;
    line-height: 30px;
    transform: skewX(-25deg);
    white-space: nowrap;
    overflow: hidden;
	text-align:center;
}

.nav-tabs li span:after {
    content: '';
    width: 25px;
    height: 28px;
    position: absolute;
    right: 0;
    top: 1px;
}

.tab-content {
	border:1px solid #6080eb;
	border-top:0;
	padding:20px 20px 40px;
}

.tab-content > .tab-pane:not(.active) {
    display: block;
    height: 0;
    overflow-y: hidden;
}

.main-mobile {
	display: none;
}

@media (max-width:1200px) {

	.nav-tabs li, .nav-tabs li:before {
		width: 30.35%;
	}

}

@media (max-width:992px) {

	.nav-tabs li, .nav-tabs li:before {
		width: 29.36%;
	}

}

@media (max-width:768px) {
	
	.suggest_item {
        width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
	
	.navbar-brand {
	    margin: 10px 0 0 10px !important;
    }
	
	.suggest_item:hover {	
	    transform:translateY(0);
	}
	
	.nav-tabs li a {
		font-size: 16px;
	}
	
}

@media (max-width: 480px) {
	
	.main {
		background-image: url(../images/main-mobile.jpg);
		height:500px;
	}

	.main-mobile {
		display: block;
		margin: auto;
		position: relative;
		top: 180px;
	}

	.container {
        padding: 0;
	}

	.nav-tabs li {
		width: 26.79%;
	}

	.nav-tabs li:before {
		width: 31.2%;
	}

	.nav-tabs li a {
		right: 6px;
	}

	.tab-content {
		border: 0;
	}

	.product {
		padding-top: 20px;
	}

	.product>div {
		padding: 10px 0px 0;
	}
	
	.footer {
		text-align:center;
		padding-top:18px;
	}
	
	.footer>div>img {
	    margin:0 auto;
		display:block;
		padding:18px 0;
    }

    .footer a {
	    float:none;
	    margin:10px;
    }
	
	.product h3 {
	    padding: 37px 0 14px 0;
		font-size:18px;
		margin-bottom: 30px;
	}
	
	.navbar-brand {
        background: url(../images/logo-white-mobile.svg) left top no-repeat;
		margin: 15px 0 0 10px !important;
    }
	
	nav.active .navbar-brand {
        background: url(../images/logo-color-mobile.svg) left top no-repeat;
		margin: 15px 0 0 10px !important;
	}
	
}

@media (max-width: 376px) {
	
	.nav-tabs li {
		width: 26.09%;
	}

	.nav-tabs li:before {
		width: 36.2%;
	}
	
}

@media (max-width: 360px) {

	.nav-tabs li {
		width: 25.76%;
	}

	.nav-tabs li:before {
		width: 44.2%;
	}

}

@media (max-width: 320px) {

	.nav-tabs li {
		width: 24.82%;
	}

	.nav-tabs li:before {
		width: 44.2%;
	}

	.suggest_item {
        width: 270px;
	}
	
}