@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700);
@import url(notosanstc.css);
.intro {
	position: fixed;
	z-index: 10;
	overflow: hidden;
	width: 100%;
	height: 100%;
	background: #222222;
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
	transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.container--open .intro {
	-webkit-transform: translate3d(0, -100%, 0) translate3d(0, 150px, 0);
	transform: translate3d(0, -100%, 0) translate3d(0, 150px, 0);
}

/* Fullscreen image */
.intro__image {
	position: absolute;
	bottom: 0;
	min-width: 100%;
	min-height: 120%;
	width: auto;
	height: auto;
	opacity: 0.8;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
	transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.container--open .intro__image, .container--open #panorama  {
	opacity: 0;
	-webkit-transform: translate3d(0, 20%, 0);
	transform: translate3d(0, 20%, 0);
}

.intro__screen {
	position: absolute;
	top: calc(50% - 8px);
	left: calc(50% - 8px);
}

/* Intro content */
.intro__content {
	position: absolute;
	bottom: 0;
	padding: 20px;
	font-size: 1.15em;
}

.intro__title {
	margin: 0 0 20px;
	font-weight: 500;
	font-size: 2em;
	font-family: 'Noto Sans TC', sans-serif;
	color: #e6cdb7;
	line-height: 1;
	text-shadow: 0px 2px 5px rgba(130, 130, 130, 0.8);
}

.intro__subtitle {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
}

.intro__description {
	margin: 0 auto 0 1em;
	line-height: 1.2;
}

.intro__content .point {
	position: absolute;
	left: 400px;
	top: 93px; 
	bottom: 0;
	-webkit-transition: all 1.5s ease;
	-moz-transition: all 1.5s ease;
	-ms-transition: all 1.5s ease;
	-o-transition: all 1.5s ease;
	transition: all 1.5s ease;
    z-index: 100;
}

.intro__content .dot {
	position: absolute;
    width: 12px;
	left: 50px;
	top: 50px; 
	bottom: 0;
    z-index: 10;
    opacity: 0.5;
}

.intro__content .dot:hover {
    opacity: 1;
    -webkit-filter: drop-shadow(3px 3px 4px rgba(0, 0, 0, 0.6));
    filter: drop-shadow(3px 3px 4px rgba(0, 0, 0, 0.6))
}

.intro__tip .logo {
    width: 150px;
	position: absolute;
	right: 170px;
	bottom: 35px;
}

.intro__content .closemap {
	position: absolute;
    display: block;
    top: -15px;
    right: auto;
    left: 35px;
    width: 36px;
    height: 36px;
    background-color: #15294b;
    text-align: center;
    font-size: 36px;
    line-height: 36px;
    z-index: 99;
}

.intro__tip {
	position: absolute;
	display: block;
	right: 80px;
	bottom: 30px;
	font-family: 'Noto Sans TC', sans-serif;
	font-size: 14px;
	line-height: 24px;
	font-weight: 400;
	color: #fff;
}

.intro__plan {
	position: absolute;
	display: none;
	right: 20px;
	bottom: 70px;
	width: 36px;
	height: 36px;
	cursor:pointer;
}
.intro__plan img {
	width: 100%;
}

.intro__thumb {
	position: absolute;
	display: block;
	right: 20px;
	bottom: 30px;
	width: 36px;
	height: 36px;
	cursor:pointer;
}
.intro__thumb img {
	width: 100%;
}

/* Trigger button with SVG */
.trigger {
	position: relative;
	-webkit-flex: none;
	flex: none;
	overflow: hidden;
	margin: 0 0 0 20px;
	padding: 0;
	width: 240px;
	height: 275px;
	outline: none;
	border: none;
	background: none;
}

/* Hide the text */
.trigger span {
	position: absolute;
	top: 100%;
}

.icon rect,
.icon line {
	stroke: #dbdbdb;
	fill: none;
	stroke-width: 2px;
}

.icon {
	-webkit-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
	-webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
	transition: opacity 0.5s, transform 0.5s;
}

/* Hide grid and show cross when opening */
.icon--cross,
.trigger--active .icon--grid {
	opacity: 0;
	-webkit-transform: scale3d(0.5, 0.5, 1);
	transform: scale3d(0.5, 0.5, 1);
}

.trigger--active .icon--cross {
	opacity: 1;
	-webkit-transform: scale3d(1, 1, 1);
	transform: scale3d(1, 1, 1);
}

/* Main content */
.items-wrap {
	position: relative;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	padding: 150px 5px 0;
}

.items-wrap::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #222222;
	content: '';
	opacity: 1;
	-webkit-transition: opacity 0.5s;
	transition: opacity 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
	transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
	pointer-events: none;
}

.container--open .items-wrap::after {
	opacity: 0;
}

.item {
	position: relative;
	-webkit-flex: 1 0 25%;
	flex: 1 0 25%;
	overflow: hidden;
	height: 20vw;
	outline: none;
	border: 5px solid #1c0d21;
	border-width: 0 5px 10px;
	background: #222222;
}

.item__image {
	position: absolute;
	top: 50%;
	min-height: 100%;
	width: 100%;
	opacity: 0.6;
	-webkit-transform: translate3d(0, -50%, 0) scale3d(1.2, 1.2, 1);
	transform: translate3d(0, -50%, 0) scale3d(1.2, 1.2, 1);
	-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s;
}

.item:hover .item__image {
	opacity: 1;
	-webkit-transform: translate3d(0, -50%, 0);
	transform: translate3d(0, -50%, 0);
}

.item__title {
	position: absolute;
	bottom: 0;
	margin: 0;
	padding: 1em;
	color: #dbdbdb;
	font-size: 1.4em;
	font-family: 'Noto Sans TC', sans-serif;
	font-weight: 500;
	line-height: 1;
	-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s;
}

.item:hover .item__title {
	opacity: 0;
	-webkit-transform: translate3d(0, 20px, 0);
	transform: translate3d(0, 20px, 0);
}


/* Media Queries */

@media screen and (max-width: 991px) {
	.intro__screen, .intro__content {
		display: none;
	}
	.intro__logo {
		position: absolute;
		display: block;
    	left: 10px;
		bottom: -20px;
		width: 80px;
		height: 85px;
	}
	.intro__logo img {
		width: 100%;
	}
	
	.intro__plan {
		display: block;
	}
	
	.ipnrm.ipnrm-theme-modern .ipnrm-btn {
		top: 15px;
		right: 15px;
	}
	
	.ipnrm.ipnrm-theme-modern .ipnrm-btn.ipnrm-btn-zoom-out {
		top: 60px;
	}
    
    .intro__tip .logo {
        display: none;
    }
	
	.intro__content {
		width: 100%;
	}
    
    #myMap {
        bottom: 25px;
		margin-left: -20px;
	}
	
	.intro__content a {
		line-height: 36px;
		color: #888;		
	}
	
	.intro__content a:hover {
		color: #fff;
	}
	
	.intro__content .closemap {
		position: absolute;
		display: block;
		top: -10px;
        left: auto;
		right: -10px;        
		width: 36px;
		height: 36px;
		background-color: #006990;
		text-align: center;
		font-size: 36px;
		line-height: 36px;
	}
	
	.intro__content .logo {
		display: none;
	}
	
	.intro__tip {
		width: 50vw;
		right: 60px;
		bottom: 20px;
		font-size: 11px;
		line-height: 18px;
	}
}

@media screen and (max-width: 1440px) {
	.item {
		-webkit-flex: 1 0 33.333%;
		flex: 1 0 33.333%;
		height: 20vw;
	}
}

@media screen and (max-width: 1000px) {
	.item {
		-webkit-flex: 1 0 50%;
		flex: 1 0 50%;
		height: 20vw;
	}
	.item,
	.intro__content {
		font-size: 0.85em;
	}
}

@media screen and (max-width: 590px) {
	.item {
		-webkit-flex: 1 0 100%;
		flex: 1 0 100%;
		height: 20vw;
	}

	.intro__title {
		font-size: 2em;
	}
}
