/*!
 * fullPage 2.7.8
 * https://github.com/alvarotrigo/fullPage.js
 * MIT licensed
 *
 * Copyright (C) 2013 alvarotrigo.com - A project by Alvaro Trigo
 */
html.fp-enabled,
.fp-enabled body {
    margin: 0;
    padding: 0;
    overflow:hidden;

    /*Avoid flicker on slides transitions for mobile phones #336 */
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
#superContainer {
    height: 100%;
    position: relative;

    /* Touch detection for Windows 8 */
    -ms-touch-action: none;

    /* IE 11 on Windows Phone 8.1*/
    touch-action: none;
}
.fp-section {
    position: relative;
    -webkit-box-sizing: border-box; /* Safari<=5 Android<=3 */
    -moz-box-sizing: border-box; /* <=28 */
    box-sizing: border-box;
}
.fp-slide {
    float: left;
}
.fp-slide, .fp-slidesContainer {
    height: 100%;
    display: block;
}
.fp-slides {
    z-index:1;
    height: 100%;
    overflow: hidden;
    position: relative;
    -webkit-transition: all 0.3s ease-out; /* Safari<=6 Android<=4.3 */
    transition: all 0.3s ease-out;
}
.fp-section.fp-table, .fp-slide.fp-table {
    display: table;
    table-layout:fixed;
    width: 100%;
}
.fp-tableCell {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    height: 100%;
}
.fp-slidesContainer {
    float: left;
    position: relative;
}
.fp-controlArrow {
    -webkit-user-select: none; /* webkit (safari, chrome) browsers */
    -moz-user-select: none; /* mozilla browsers */
    -khtml-user-select: none; /* webkit (konqueror) browsers */
    -ms-user-select: none; /* IE10+ */
    position: absolute;
    z-index: 4;
    top: 50%;
    cursor: pointer;
    width: 0;
    height: 0;
    border-style: solid;
    margin-top: -38px;
    -webkit-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}
.fp-controlArrow.fp-prev {
    left: 15px;
    width: 0;
    border-width: 38.5px 34px 38.5px 0;
    border-color: transparent #fff transparent transparent;
}
.fp-controlArrow.fp-next {
    right: 15px;
    border-width: 38.5px 0 38.5px 34px;
    border-color: transparent transparent transparent #fff;
}
.fp-scrollable {
    overflow: scroll;
}
.fp-notransition {
    -webkit-transition: none !important;
    transition: none !important;
}
#fp-nav {
    position: fixed;
    z-index: 100;
    margin-top: -32px;
    top: 50%;
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
}

#fp-nav.right {
    right: 30px;
    display: block !important;
}
#fp-nav.left {
    left: 17px;
    display: block !important;
}

.max-md-size #fp-nav.left {
    display: none !important;
}

.fp-slidesNav{
    position: absolute;
    z-index: 4;
    left: 50%;
    opacity: 1;
}
.fp-slidesNav.bottom {
    bottom: 17px;
}
.fp-slidesNav.top {
    top: 17px;
}
#fp-nav ul,
.fp-slidesNav ul {
  margin: 0;
  padding: 0;
}
#fp-nav ul li,
.fp-slidesNav ul li {
    display: block;
    width: 86px;
    height: 86px;
    border-radius:99em;
    margin: 15px 7px;
    position:relative;
    background-color: #61ab75;
}
/*#fp-nav ul li:hover,
.fp-slidesNav ul li:hover {
    background-color: #FFF; 
}*/
.fp-slidesNav ul li {
    display: inline-block;
}

#fp-nav ul li a,
.fp-slidesNav ul li a {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
}

#fp-nav ul li a span,
.fp-slidesNav ul li a span {
	color: #FFF;
	font-size: 28px;
	font-weight:bold;
    position: absolute;
    z-index: 1;
    height: 86px;
    width: 86px;
    background: center no-repeat;
    left: 0;
    top: 0;
    border: solid 8px #FFF;
    border-radius:99em;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}


/*#fp-nav ul li:hover a span,
.fp-slidesNav ul li:hover  a span {
    color: #61ab75;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    z-index: 1;
    height: 86px;
    width: 86px;
    background: center no-repeat;
    left: 0;
    top: 0;
    border: solid 8px #61ab75;
    background-color: #FFF;
}*/
#fp-nav ul li a:hover span,
.fp-slidesNav ul li a:hover span {
    /*color: #61ab75;*/
    border: solid 8px #61ab75;
}

#fp-nav ul li a span:before {
	content: '';
	line-height: 70px;
	padding-left: 25px;
}
#fp-nav ul li:first-of-type
/*#fp-nav ul li:last-of-type*/ {
    display: none;
}

/*#fp-nav ul li:nth-of-type(1) a span {
    background-image: url('images/eco/eco-home.png');
}*/
#fp-nav ul li:nth-of-type(1) a span:before {
	content: '';
	display: none;
}
#fp-nav ul li:nth-of-type(2) a span:before {
	content: '1.';
}
#fp-nav ul li:nth-of-type(3) a span:before {
	content: '2.';
}
#fp-nav ul li:nth-of-type(4) a span:before {
	content: '3.';
}

#fp-nav ul li:nth-of-type(5) a span:before {
	content: '4.';
}


/*#fp-nav ul li:nth-of-type(2) a span {
    background-image: url('images/vehicle/vehicle-icon1.png');
}
#fp-nav ul li:nth-of-type(2) a.active span {
    background-image: url('images/vehicle/vehicle-icon1-2.png');
}
*/


#fp-nav ul li .fp-tooltip {
    position: absolute;
    top: 0;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
	line-height:86px;
    white-space: nowrap;
    display: block;
    opacity: 0;
    width: 0;
    cursor: pointer;
	background-color: #61ab75;
    padding-left: 30px;
    padding-right: 100px;
    border-radius: 50px;
    /*margin-left: 50px;*/
}

/*#fp-nav ul li .fp-tooltip:before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 18px 15px 18px 0;
    border-color: transparent #0067b5 transparent transparent;
    position: absolute;
    left: -15px;
    top: 0;
}*/

#fp-nav ul li .fp-tooltip.active {
	opacity:1;
	width:auto;
}

#fp-nav ul li:hover .fp-tooltip,
#fp-nav.fp-show-active a.active + .fp-tooltip {
    -webkit-transition: opacity 0.2s ease-in;
    transition: opacity 0.2s ease-in;
    width: auto;
    opacity: 1;
}
#fp-nav ul li .fp-tooltip.right {
    right: 0;
    /* right: 60px;*/
    /*right: -9px;*/
}
#fp-nav ul li .fp-tooltip.left {
    left: 20px;
}
.fp-auto-height.fp-section,
.fp-auto-height .fp-slide,
.fp-auto-height .fp-tableCell{
    height: auto !important;
}


/*回首頁*/
#top-home {
	position: fixed;
	z-index: 9999;
	top: 16%;
	right: 30px;
	margin-top: -32px;
	display: block !important;
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
}

#top-home ul li:nth-of-type(1) a span:before {
		content: '\e827';
		display: block;
		color: #FFF;
		line-height: 70px;
		font-family: "icon";
		text-align: center;
		/*position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;*/
		margin: auto;
    /*background-image: url('images/eco/eco-home.png');*/
}

#top-home ul li {
    display: block;
    width: 86px;
    height: 86px;
    border-radius:99em;
    margin: 15px 7px;
    position:relative;
    background-color:#38884d;
    /*background-color: #61ab75;*/
}

#top-home ul li a {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
}

#top-home ul li a span {
    color: #FFF;
	font-size: 28px;
	font-weight:bold;
    position: absolute;
    z-index: 1;
    height: 86px;
    width: 86px;
    background: center no-repeat;
    left: 0;
    top: 0;
    border: solid 8px #FFF;
    border-radius:99em;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

@media (max-width: 1860px) {
	#fp-nav ul li,
	.fp-slidesNav ul li {
	    background-color: rgba(97, 171, 117, .8);
	}
	#fp-nav ul li .fp-tooltip {
		background-color: rgba(97, 171, 117, .8);
	}
}

@media (max-width: 1680px) {
	#top-home {
		top: 185px;
		right: 9px;
	}
	#fp-nav.right {
		right: 10px;
	}
}


@media (max-width: 1280px) {
	#fp-nav ul li,
	.fp-slidesNav ul li {
	    width: 78px;
	    height: 78px;
	}

	#fp-nav ul li a span,
	.fp-slidesNav ul li a span {
		font-size: 26px;
	    height: 78px;
	    width: 78px;
	    border: solid 7px #FFF;
	    border-radius:99em;
	}

	#fp-nav ul li a span:before {
		line-height: 62px;
		padding-left: 23px;
	}

	#fp-nav ul li a:hover span,
	.fp-slidesNav ul li a:hover span {
		border: solid 7px #61ab75;
	}

	#fp-nav ul li .fp-tooltip {
	    font-size: 18px;
		line-height:78px;
	    padding-left: 25px;
	    padding-right: 95px;
	}

	#top-home ul li {
	    width: 78px;
	    height: 78px;
	    border-radius:99em;
	}

	#top-home ul li a span {
		font-size: 26px;
	    height: 78px;
	    width: 78px;
	    border: solid 7px #FFF;
	}

	#top-home ul li:nth-of-type(1) a span:before {
		line-height: 62px;
	}
	
}


@media (max-width: 992px) {
	#fp-nav {
	    top: 25px;
	    margin-top: 0!important;
	}

	#fp-nav.right {
		right: inherit;
		left: 15px;
		display: block !important;
	}

	#fp-nav ul li,
	.fp-slidesNav ul li {
	    float: left;
	    width: auto;
	    height: auto;
	    display: block;
	    margin: 0 5px;
	    background-color: rgba(97, 171, 117, 0);
	}

	#fp-nav ul li a,
	.fp-slidesNav ul li a {
		display: none;
	}

	#fp-nav ul li .fp-tooltip {
		text-align: center;	
		line-height: 1;
		width: 100%;
		padding: 1.2rem 1.3rem;
		display: block;
		position: relative;
		opacity: 1;
		background-color: rgba(97, 171, 117, .3);
		border: solid 2px rgba(255, 255, 255, .5);
	}
	
	#fp-nav ul li .fp-tooltip.active {
		width: 100%;
		background-color: rgba(97, 171, 117, 1);
		border: solid 2px rgba(255, 255, 255, 1);
		box-shadow: 2px 3px 7px rgba(0%,0%,0%, .3);
	}

}

@media (max-width: 992px) {
	#top-home {
		top: 15px!important;
		right: 10px;
		margin-top: 0;
	}
	#top-home ul li {
		width: 70px;
		height: 70px;
		margin: 0;
		background-color: #38884d;
	}

	#top-home ul li a span {
		height: 70px;
		width: 70px;
		border: solid 3px #FFF;
	}
	#top-home ul li:nth-of-type(1) a span:before {
		line-height: 60px;
	}
}

@media (max-width: 680px) {
	#fp-nav {
		padding-right: 80px;
	}
	#fp-nav ul li .fp-tooltip {
		font-size: 16px;
	}
	#top-home ul li a span {
		font-size: 24px;
	}
}

@media (max-width: 610px) {
	#fp-nav {
	    top: 10px;
	    padding-right: 65px;
	}
	#fp-nav ul li,
	.fp-slidesNav ul li {
	    margin:  3px 3px;
	}
	#fp-nav ul li .fp-tooltip {
		font-size: 13px;
		padding: 1rem 1.1rem;
	}
	#top-home {
		top: 10px!important;
	}
	#top-home ul li {
		width: 50px;
		height: 50px;
	}

	#top-home ul li a span {
		font-size: 22px;
		height: 50px;
		width: 50px;
		border: solid 2px #FFF;
	}
	#top-home ul li:nth-of-type(1) a span:before {
		line-height: 47px;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
	}
}

@media screen and (max-height:800px) {
	#top-home {
		top: 30px;
	}
}

@media (min-width: 993px) {
	/*#top-home ul li:nth-of-type(1):hover a span {
	    background-image: url('images/eco/eco-home-hover.png');
	}*/
	#top-home ul li:nth-of-type(1):hover a span:before {
		color: #38884d;
	}
	#top-home ul li:hover {
	    background-color: #FFF;
	}
	#top-home  ul li a:hover span {
	    border: solid 8px #38884d;
	}
}