html,
body {
    height: 100%;
    background: #f2f2f2;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

/* Controls
---------------------------------------------------------------------- */

.controls {
    padding: 1rem;
    background: #333;
    font-size: 0.1px;
}

.controls2 {
    padding: 1rem;
    background: #333;
    font-size: 0.1px;
    display:none;
}



.control-group {
    display: inline-block;
    margin-left: .75rem;
    vertical-align: top;
}

.control {
margin-top:2px;
    position: relative;
    display: inline-block;
    width: 4.0rem;
    height: 4.0rem;
    background: #444;
    cursor: pointer;
    font-size: 12px;
    color: white;
    transition: background 150ms;
}
.control-shape{
	margin-top:2px;
    position: relative;
    display: inline-block;
    width:4.0rem;
    height:4.0rem;
    background: #444;
    cursor: pointer;
    font-size: 12px;
    color: white;
    font-weight:bold;
    transition: background 150ms;
}

.control-text {
    width:5.0rem;
    height: 3.0rem;
    font-size: .9rem;
    padding: 0 1rem;
    font-family: 'helvetica-neue', arial, sans-serif;
    font-weight: 700;
}

.control:not(.mixitup-control-active):hover {
    background: #3f3f3f;
}

.control-color:after,
.control-shape:after,
.control-size:after {
   
    position: absolute;
}

.control-color:after {
    width: 10px;
    height: 10px;
    top: calc(50% - 6px);
    left: calc(50% - 6px);
    border: 2px solid currentColor;
    border-radius: 2px;
    background: currentColor;
    transition: background-color 150ms, border-color 150ms;
}

.control-color[data-toggle=".green"] {
    color: #91e6c7;
}

.control-color[data-toggle=".blue"] {
    color: #5ecdde;
}

.control-color[data-toggle=".pink"] {
    color: #d595aa;
}

.control-shape[data-toggle=".square"]:after,
.control-shape[data-toggle=".circle"]:after {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    background: white;
    border-radius: 2px;
}

.control-shape[data-toggle=".circle"]:after {
    border-radius: 10px;
}

.control-shape[data-toggle=".triangle"]:after {
    border: 6px solid transparent;
    border-bottom: 9px solid white;
    top: calc(50% - 10px);
    left: calc(50% - 6px);
}

.control-size:after {
    width: 8px;
    height: 8px;
    top: calc(50% - 4px);
    left: calc(50% - 4px);
    border: 2px solid white;
    border-radius: 2px;
}

.control-size[data-toggle=".medium"]:after {
    width: 12px;
    height: 12px;
    top: calc(50% - 6px);
    left: calc(50% - 6px);
}

.control-size[data-toggle=".large"]:after {
    width: 16px;
    height: 16px;
    top: calc(50% - 8px);
    left: calc(50% - 8px);
}

.control-sort:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-top: 2px solid;
    border-left: 2px solid;
    top: calc(50% - 6px);
    left: calc(50% - 6px);
    transform:  translateY(2px) rotate(45deg);
}

.control-sort[data-sort*=":desc"]:after {
    transform:  translateY(-3px) rotate(-135deg);
}

.mixitup-control-active {
    background: #FF0000;
}

.control:first-of-type {
    border-radius: 3px 0 0 3px;
}

.control:last-of-type {
    border-radius: 0 3px 3px 0;
}
.select-wrapper {
	font-size:18px;
    display: inline-block;
    padding: .5rem;
    
    margin-left: .75rem;
    vertical-align: top;
}
.select-wrapper{
display:none;
}
/* Container
---------------------------------------------------------------------- */

.container {
    padding: 1rem;
    text-align: justify;
    font-size: 10px;
}

.container:after {
    content: '';
    display: inline-block;
    width: 100%;
}
#container .mix{
	display: none;
}
/* Target Elements
---------------------------------------------------------------------- */

.mix,
.gap {
    display: inline-block;
    vertical-align: top;
}

.mix {
    background: #fff;
    margin-bottom: 1rem;
    position: relative;
}

.mix:before {
    content: '';
    display: inline-block;
    padding-top: 100%;
}

.mix.green {
    color: #91e6c7;
}

.mix.pink {
    color: #d595aa;
}

.mix.blue {
    color: #5ecdde;
}

.mix:after {
    content: '';
    position: absolute;
}

.mix.square:after,
.mix.circle:after {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    background: currentColor;
    border-radius: 3px;
}

.mix.circle:after {
    border-radius: 100%;
}
/*內容為菱形*/
.mix.triangle:after {
    font-size: 3vw;
    border: 3em solid transparent;
    border-bottom: 5em solid currentColor;
    border-top: 0;
    left: calc(50% - 3em);
    top: calc(50% - 3em);
}

.mix.medium:after {
    transform: scale(.75);
}

.mix.small:after {
    transform: scale(.5);
}

/* Grid Breakpoints
---------------------------------------------------------------------- */

/* 2 Columns */

.mix,
.gap {
    width: calc(100%/1 - (((1 - 1) * 1rem) / 1));
}

.grid {
	position: relative;
	margin: 0 auto 0px;
	max-width: 1000px;
	list-style: none;
	text-align: center;
}

.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 10px 10px;
	background: #3085a3;
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
	display: block;
	min-height: 100px;
	max-width: 100%;
	opacity: 0.8;
}

.grid figure figcaption {

	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h2 {
	font-size:12pt;
	width:100%;	
	height:85px;
	position:absolute;
	bottom: 0;
	left: 0;
	color:#FFFFFF;
	background-color: rgba(34,34,34,.69);
	word-spacing: -0.15em;
	font-weight: normal;
	text-align: left;
	padding: 5px 12px 0;
}


/*
.grid figure h3 {
	font-size:14pt;
	width:100%;
	margin:0px;
	height:90px;
	position:absolute;
	bottom: 0;
	left: 0;
	background-color:#ff0000;
	word-spacing: -0.15em;
	font-weight: bold;
	opacity: 0.5;	
	text-decoration:line-through;
}
*/
.grid figure h4 {
	font-size:10pt;
	width:25%;
	margin:2px 2px 0px 0px;
	height:20px;
	position:absolute;
	right: 0;
	top: 0;
	font-weight:bold;
	background-color:#93D557;
	word-spacing: -0.15em;
	opacity: 1.0;	
}
.grid figure h5 {
	font-size:10pt;
	width:20%;
	margin:8px 2px 0px 0px;
	height:20px;
	position:absolute;
	right: 22%;
	top: 0;
	font-weight:bold;
	background-color:#93D557;
	word-spacing: -0.15em;
	opacity: 1.0;	
}
.grid figure h6 {
	font-size:10pt;
	width:25%;
	margin:2px 2px 0px 0px;
	height:20px;
	position:absolute;
	right: 30%;
	top: 0;
	font-weight:bold;
	background-color:#93D557;
	word-spacing: -0.15em;
	opacity: 1.0;	
}
.grid figure div {
	border:1px #FF9900 solid;
	-webkit-border-bottom-right-radius: 100px;
	-moz-border-radius-bottomright: 100px;
	border-bottom-right-radius: 100px;
	font-size:10pt;
	width:20%;
	margin:0;
	height:50px;
	line-height:40px;
	position:absolute;
	left: -10px;
	top: 0;
	font-weight:bold;
	background-color:#FF9900;
	word-spacing: -0.15em;
	opacity: 1.0;	
}
.grid figure h3 span {

	font-weight: 800;
}
.gallery
{
	padding: 0px 0px;
}
.galleryimg
{
	margin-top: 30px;
}



@media screen and (min-width: 768px) {

    .mix,
    .gap {
        width: calc(100%/3 - (((3 - 1) * 1rem) / 3));
    }

    .mix.triangle:after {
        font-size: 2vw;
    }
	.grid figure h2 .p_promotion {
		color: #FCD006;
		font-size: 16px;
		font-weight: 800;
		position: absolute;
		bottom: 38px;
		left: 20px;
	}
	.m_promotion ,#pcnoshow {
		display: none;
	}
	.grid figure h2 .minprice {
		color:#E95D2C;
		font-size: 20px;
		font-weight: 800;
		position: absolute;
		bottom: 33px;
		right: 30px;
	}
	.grid figure p span {
		color:#f60;
		font-size: 14px;
		font-weight: 800;
		position: absolute;
		bottom: 5px;
		right: 20px;
	}
	.grid figure p span strong{
		color: #fff;
		font-size: 20px;
	}
	.grid figure h2 .priceup{
		color:#fff;
		font-size: 14px;
		position: absolute;
		bottom: 35px;
		right: 15px;
	}
}
@media screen and (max-width: 767px) {
.select-wrapper{
display:block;
}
	.grid figure h2 .minprice {
		color:#E95D2C;
		font-size: 18px;
		font-weight: 800;
		position: absolute;
		bottom: 30px;
		right: 15px;
	}
	.grid figure p {
		background-color:#ffffe0 !important;
		border-bottom-right-radius: 7px;
		border-bottom-left-radius: 7px;
	}
	.grid figure p span {
		color:#4169e1;
		font-size: 12px;
		font-weight: 800;
		position: absolute;
		bottom: 0px;
		right: 20px;
	}
	.grid figure h2 .priceup{
		color:#FFF;
		font-size: 14px;
		position: absolute;
		bottom: 30px;
		right: 0px;
	}
	
	.grid figure p .m_promotion {
		color: #FF0000;
		font-size: 8px;
		font-weight: 800;
		position: absolute;
		bottom: 16px;
		left: 0px;
		display: inline-block;
	}
	.grid figure h2 .p_promotion {
		color: #FCD006;
		font-size: 16px;
		font-weight: 800;
		position: absolute;
		bottom: 38px;
		left: 20px;
	}
	#pcnoshow{
		display: block;
	}
.grid figure img {
	position: relative;
	display: block;
	min-height: 250px;
	max-width: 335px;
	opacity: 0.8;
	}	
}


.grid figure h2, .grid figure h3,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}


figure.effect-Beauty{
	background-color: #17819c;
}

/* 圖片透明度 */
figure.effect-Beauty img {
	opacity: 1.0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1);
	transform: scale(1);
	width: 100%;
}

figure.effect-Beauty:hover img {
	opacity: 1.0;
	-webkit-transform: scale(1.05);
	transform: scale(1.05);
}

figure.effect-Beauty h3 {
	margin-top: 20%;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,20px,0);
	transform: translate3d(0,20px,0);
}
figure.effect-Beauty h2 {
	margin-top: 20%;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,20px,0);
	transform: translate3d(0,20px,0);
}

figure.effect-Beauty p {
	font-size:10pt;
	width:100%;	
	height:65px;
	position:absolute;
	bottom: 0;
	left: 0;
	font-weight: bold;
	color:#ffff99;
	background-color: rgba(34,34,34,.69);
	word-spacing: -0.15em;
	font-weight: normal;
	text-align: left;
	padding: 5px 12px 0;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,20px,0) scale(1);
	transform: translate3d(0,20px,0) scale(1);
} 

figure.effect-Beauty:hover h3 {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}
figure.effect-Beauty:hover h2 {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	display: none;
}

figure.effect-Beauty:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0) scale(1);
	transform: translate3d(0,0,0) scale(1);
}


figure.effect-Beauty:hover .travelname2 {
	display: block;
}
