/*!---------------------
*Copyright (c) 2018 by alva.
------------------------*/


/*************************
*******main.css******
**************************/

body {
	font-family: Bitter, "Noto Sans", "Noto Sans TC", "Apple LiGothic Medium", Roboto, "Microsoft JhengHei", "Lucida Grande", "Lucida Sans Unicode";
	color: #000000;
	line-height: 28px;
	background-image: #f5f2e9;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: Bitter, "Noto Sans", "Noto Sans TC", "Apple LiGothic Medium", Roboto, "Microsoft JhengHei", "Lucida Grande", "Lucida Sans Unicode";
	font-weight: 600;
	line-height: 30px;
}

h1 {
	font-size: 36px;
}

h2 {
	font-size: 16px;
	/*20px*/
}

h3 {
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

h4 {
	font-size: 16px;
}

p {
	font-size: 14px;
}

table {
	font-size: 14px;
}

a {
	color: #35c5c5;
	-webkit-transition: color 300ms, background-color 300ms;
	-moz-transition: color 300ms, background-color 300ms;
	-o-transition: color 300ms, background-color 300ms;
	transition: color 300ms, background-color 300ms;
}

a:hover,
a:focus {
	color: #000000;
	text-decoration: none;
	outline: none;
}

img::selection {
	background: transparent;
}

img::-moz-selection {
	background: transparent;
}

/*--------------自訂 開始---------------------------*/
#faq {
	position: fixed;
	bottom: 6%;
	right: 5px;
	cursor: pointer;
}

.modal-open .modal {
	overflow-x: hidden;
	overflow-y: auto;
}

.modal-backdrop {
	z-index: 0;
}

.modal-title {
	text-align: center;
	font-size: 18px;
}

.faq_inner {
	background: rgba(0, 0, 0, .5);
}

.modal-body {
	height: 77vh;
	overflow-y: scroll;
}

.modal-body div {
	padding: 2% 0;
}

.modal-body p {
	font-size: 16px;
	margin: 0;
}

.modal-body span {
	color: red;
	font-weight: 800;
}

.q {
	font-weight: bolder;
}

.a {}

.modal-content {
	height: 85vh;
	overflow: hidden;
}

@media (max-width: 400px) {
	#faq {
		width: 18%;
		right: 5px;
	}
	#faq img {
		width: 100%;
	}
}
#gotop {
	display: none;
	position: fixed;
	right: 1%;
	bottom: 10px;
	padding-left: 8px;
	padding-right: 8px;
	font-size: 25px;
	color: #35c5c5;
	cursor: pointer;
	/* border-radius: 200px;*/
	z-index: 5;
	/*border: #fff 1px solid;
    background-color: #fff;*/
}

#gotop i:hover {
	will-change: animation, transform, opacity;
	-webkit-animation: top 1s ease-in-out infinite;
	animation: top 1s ease-in-out infinite;
}

@-webkit-keyframes top {
	0% {
		-webkit-transform: scale(1);
	}
	50% {
		-webkit-transform: scale(1.1);
	}
	100% {
		-webkit-transform: scale(1);
	}
}

@keyframes top {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.1);
	}
	100% {
		transform: scale(1);
	}
}


/*---------------自訂 結束---------------------------*/


/*************************
*****navbar-inverse******
**************************/

.navbar-inverse {
	background: #ffffff;
	border: transparent 1px solid;
}

.navbar-brand {
	padding: 0px;
}

.navbar {
	margin-bottom: 0px;
}

@media (min-width: 992px) {
	.navbar-nav>li>a {
		padding-top: 0px;
		padding-bottom: 0px;
	}
}

.navbar-inverse .nav>li>a {
	padding: 0px;
}

.navbar-inverse .nav>li {
	cursor: pointer;
}

@media (max-width: 400px) {
	.navbar-brand img {
		max-width: 180px;
	}
}

@media (max-width: 320px) {
	.navbar-brand img {
		max-width: 140px;
	}
}

.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
	border-color: transparent;
}


@media screen and (max-width: 1200px) {
     .navbar-inverse .nav>li>img {
        max-width: 130px;
    }
}

@media screen and (max-width: 991px) {
    .navbar-inverse .nav>li>img {
        max-width: none;
    }
}



/*************************
*****navbar_custom******
**************************/

.navbar_custom {
	text-align: center;
}

.navbar_custom img {
	margin: 0 auto;
}

.navbar_custom .nav {
	float: none;
}

.navbar_custom .nav li {
	display: inline-block;
	float: none;
	vertical-align: middle;
}

@media screen and (max-width:991px) {
	.navbar_custom .nav li {
		display: block;
		margin: 0
	}
	.navbar_custom .nav li a {
		border-radius: 0;
		display: block;
	}
}


/*************************
*****footer******
**************************/

.footer {
    vertical-align: top;
    font-size: 14px;
    color: #fff;
    background: #4a5960;
	padding-bottom: 50px;
}

.footer p {
	text-align: center;
}

/*************************
**********footer**********
**************************/
.footer a {
	color: #ffffff;
}
.footer a:visited {
	color: #ffffff;
}
.footer a:hover,
.footer a:focus {
	color: #6fe5d1;
}
.footertop {
	background: url(../../images/footertop.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
	min-height: 23px;
	margin-bottom: 40px;
}
.footerp {
	font-size: 14px;
}
.footer hr {
	margin-top: 10px;
	margin-bottom: 10px;
	border: 0;
	border-top: 1px solid #3e4549;
}
.footerp i {
	font-size: 30px;
	color: #6fe5d1;
}
.font18 {
	font-size: 18px;
}
.font22 {
	font-size: 22px;
}
.footersocial img:hover {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
	opacity: 1;
	-webkit-animation: flash 1.5s;
	animation: flash 1.5s;
}
@-webkit-keyframes flash {
	0% {
		opacity: .4;
	}
	
	100% {
		opacity: 1;
	}
}
@keyframes flash {
	0% {
		opacity: .4;
	}
	
	100% {
		opacity: 1;
	}
}
.footertext {
	padding-top: 10px;
}
.footertext i {
	font-size: 20px;
	color: #6fe5d1;
}
.footertext hr {
	border-top: 1px dashed #3e4549;
	margin-top: 0px;
	margin-bottom: 5px;
}
.footerht hr {
	border-top: 1px solid #fff;
	margin: 3% 0 3% 0;
}
.webveiw img {
	float: right;
}
.Copyright {
	font-size: 13px;
	padding-top: 20px;
}
.Copyright a {
	color: #fff;
}
.Copyright a:visited,
.Copyright a:focus {
	color: #fff;
}
.Copyright a:hover {
	color: #6fe5d1;
}
.brs {
	display: none;
}
@media(max-width:991px) {
	.brs {
		display: block;
		height: 1px;
	}
	
	.Copyright {
		padding-top: 0px;
	}
}
@media(max-width:767px) {
	.footerp img {
		margin: 0 auto;
	}
	
	.footerp {
		text-align: center;
		padding-top:5%;
	}
	
	.footerp hr {
	}
	
	.footersocial {
		text-align: center;
	}
	
	.footertext {
		text-align: center;
	}
	
	.footertext hr {
		display: none;
	}
	
	.webveiw img {
		float: none;
		margin: 0 auto;
	}
	
	.Copyright {
		text-align: center;
	}
}


/*************************
*****new******
**************************/


/**new**/

.ripple2 input {
	position: relative;
	border: none;
	outline: none;
	cursor: pointer;
	background: transparent;
	color: #1b9595;
	padding: 8px 20px;
	border-radius: 2px;
	font-size: 14px;
	border: 1px #1b9595 solid;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

.ripple2 input:hover {
	color: #000000;
	border: 1px #000000 solid;
}


/****************************************
*****nav top button**夏戀嘉年華-沒有使用**
****************************************/


/* Rectangle Out */

.hvr-rectangle-out {
	margin: .2em;
	padding: 0.6em;
	width: 125px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
	background: #2f578e;
	color: #ffffff;
	border: #2f578e 1px solid;
	/* border-radius: 5px;*/
	-webkit-transition-property: color;
	transition-property: color;
	-webkit-transition-duration: 0.2s;
	transition-duration: 0.2s;
}

.hvr-rectangle-out:before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #ffffff;
	-webkit-transform: scale(0);
	transform: scale(0);
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transition-duration: 0.2s;
	transition-duration: 0.2s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}

.hvr-rectangle-out:hover,
.hvr-rectangle-out:focus,
.hvr-rectangle-out:active {
	color: #2f578e;
}

@media screen\0 {
	.hvr-rectangle-out {
		background: #2f578e;
		color: #ffffff;
		border: #2f578e 1px solid;
	}
	.hvr-rectangle-out:hover,
	.hvr-rectangle-out:focus,
	.hvr-rectangle-out:active {
		color: #2f578e;
		background: #ffffff;
	}
}

.hvr-rectangle-out:hover:before,
.hvr-rectangle-out:focus:before,
.hvr-rectangle-out:active:before {
	-webkit-transform: scale(1);
	transform: scale(1);
}

@media(max-width:768px) {
	.hvr-rectangle-out {
		width: 110px;
		font-size: 13px;
		margin: 0.2em 0;
		padding: 0.3em;
	}
}

@media(max-width:600px) {
	.hvr-rectangle-out {
		width: 100px;
		font-size: 12px;
	}
}

@media(max-width:450px) {
	.hvr-rectangle-out {
		width: auto;
		font-size: 12px;
		padding: 0.3em;
	}
}


/**********************************
******************city button******
**********************************/


/* Underline From Center */

.hvr-underline-from-center {
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
	overflow: hidden;
}

.hvr-underline-from-center:before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 50%;
	right: 50%;
	bottom: 0;
	background: #35c5c5;
	height: 2px;
	-webkit-transition-property: left, right;
	transition-property: left, right;
	-webkit-transition-duration: 0.2s;
	transition-duration: 0.2s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}

.hvr-underline-from-center:hover:before,
.hvr-underline-from-center:focus:before,
.hvr-underline-from-center:active:before {
	left: 0;
	right: 0;
}


/**************************/

.tab-content a {
	color: #545454;
}

.tab-content a:visited {
	color: #545454;
}

.tab-content a:hover,
a:focus {
	color: #5f8dea;
}
.tab-content>.active {
	opacity:1;
}

.area div {
	padding:1%;
	line-height:20px;
}
@media(max-width:500px) {
	.tab-content {
		font-size: 13px;
	}
}

@media(max-width:320px) {
	.tab-content {
		font-size: 12px;
	}
}


/*******nav-tabs*********/
.sort1 {
	color:#eb9025;
}
.sort2 {
	color:#0c91da;
}
.sort3 {
	color:#1da48f;
}
.sort4 {
	color:#4eaa2e;
}
.sort5 {
	color:#aca304;
}
.sort6 {
	color:#fb7c80;
}
.nav-tabs>li {
    float: none;
    margin: 2% 3px 0;
    border-radius: 20px;
    border: solid 1px #00b7ee;
	display:inline-block;
	vertical-align:top;
	overflow:hidden;
}
.nav-tabs>li:nth-of-type(4),.nav-tabs>li:nth-of-type(5) {
	border: solid 1px #58ccba;
}
.nav-tabs>li:nth-of-type(6),.nav-tabs>li:nth-of-type(7) {
	border: solid 1px #74cc56;
}
.nav-tabs>li:nth-of-type(8),.nav-tabs>li:nth-of-type(9) {
	border: solid 1px #d1c836;
}
.nav-tabs>li:nth-of-type(10) {
	border: solid 1px #eb9025;
}
.nav-tabs>li:nth-of-type(11),.nav-tabs>li:nth-of-type(12),.nav-tabs>li:nth-of-type(13),.nav-tabs>li:nth-of-type(14) {
	border: solid 1px #fb7c80;
}

.nav-tabs > li > a {
	border: none;
	color: #00b7ee;
	font-weight:bold;
	letter-spacing:1px;
	font-size:15px;
	margin:0;
	padding:6px 10px;
}
.nav-tabs>li:nth-of-type(4) a,.nav-tabs>li:nth-of-type(5) a {
	color: #58ccba;
}
.nav-tabs>li:nth-of-type(6) a,.nav-tabs>li:nth-of-type(7) a {
	color: #74cc56;
}
.nav-tabs>li:nth-of-type(8) a,.nav-tabs>li:nth-of-type(9) a {
	color: #d1c836;
}
.nav-tabs>li:nth-of-type(10) a {
	color: #eb9025;
}
.nav-tabs>li:nth-of-type(11) a,.nav-tabs>li:nth-of-type(12) a,.nav-tabs>li:nth-of-type(13) a,.nav-tabs>li:nth-of-type(14) a {
	color: #fb7c80;
}

.nav-tabs > li > a::after {
	content: "";
    background: #32c0ea;
    height: 100%;
    position: absolute;
    width: 0;
    left: 0px;
    top: 0;
	z-index:-1;
    transition: all 300ms ease 0s;
}
.nav-tabs>li:nth-of-type(4) a:after,.nav-tabs>li:nth-of-type(5) a:after {
	background: #58ccba;
}
.nav-tabs>li:nth-of-type(6) a:after,.nav-tabs>li:nth-of-type(7) a:after {
	background: #74cc56;
}
.nav-tabs>li:nth-of-type(8) a:after,.nav-tabs>li:nth-of-type(9) a:after {
	background: #d1c836;
}
.nav-tabs>li:nth-of-type(10) a:after {
	background: #eb9025;
}
.nav-tabs>li:nth-of-type(11) a:after,.nav-tabs>li:nth-of-type(12) a:after,.nav-tabs>li:nth-of-type(13) a:after,.nav-tabs>li:nth-of-type(14) a:after {
	background: #fb7c80;
}


.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
	border-width: 0;
}

.nav-tabs > li.active > a,
.nav-tabs > li > a:hover {
	border: none;
	color: #fff !important;
	background: transparent;
	margin:0;
}

.nav-tabs > li.active > a::after,
.nav-tabs > li:hover > a::after {
	width:100%;
}

.tab-nav > li > a::after {
	background: #35c5c5 none repeat scroll 0% 0%;
	color: #fff;
}

.tab-pane {
	padding: 15px 0;
}

.tab-content {
	padding: 20px;
}

@media(max-width:500px) {
	.tab-content {
		padding: 20px 0;
	}
	.nav-tabs > li > a::after {
		transition:none;
	}
}

@media(max-width:370px) {
	.tab-pane > [class*='col-'] {
		padding-right: 0;
		padding-left: 0;
	}
}

.nav-tabs>li.active>a:focus {
	background-color: transparent;
}

.nav-tabs>li.active>a:hover {
	background-color: transparent;
}

.nav-tabs {
	border-bottom: 1px solid transparent;
	text-align:center;
}

/*******nav-tabs2*********/
.nav-tabs2>li {
    float: none;
    margin: 2% 3px 0;
    border-radius: 20px;
    border: solid 1px #d6d9da;
	display:inline-block;
	vertical-align:top;
	overflow:hidden;
}

.nav-tabs2 > li > a {
	border: none;
	color: #818384;
	font-weight:bold;
	letter-spacing:1px;
	font-size:15px;
	margin:0;
	padding:6px 10px;
}
.nav-tabs2>li: a {
	color: #58ccba;
}
.nav-tabs2 > li > a::after {
	content: "";
    background: #d6d9da;
    height: 100%;
    position: absolute;
    width: 0;
    left: 0px;
    top: 0;
	z-index:-1;
    transition: all 300ms ease 0s;
}

.nav-tabs2 > li.active > a,
.nav-tabs2 > li.active > a:focus,
.nav-tabs2 > li.active > a:hover {
	border-width: 0;
}

.nav-tabs2 > li.active > a,
.nav-tabs2 > li > a:hover {
	border: none;
	color: #5f5e5e !important;
	background: transparent;
	margin:0;
}

.nav-tabs2 > li.active > a::after,
.nav-tabs2 > li:hover > a::after {
	width:100%;
}

.tab-nav2 > li > a::after {
	background: #35c5c5 none repeat scroll 0% 0%;
	color: #fff;
}

.tab-pane2 {
	padding: 15px 0;
}

.tab-content2 {
	padding: 20px;
}

@media(max-width:500px) {
	.tab-content2 {
		padding: 20px 0;
	}
	.nav-tabs2 > li > a::after {
		transition:none;
	}
}

@media(max-width:370px) {
	.tab-pane2 > [class*='col-'] {
		padding-right: 0;
		padding-left: 0;
	}
}

.nav-tabs2>li.active>a:focus {
	background-color: transparent;
}

.nav-tabs2>li.active>a:hover {
	background-color: transparent;
}

.nav-tabs2 {
	border-bottom: 1px solid transparent;
	text-align:center;
}

/*---news strat-------------------------------------------------------------------------------------------------------------------------------*/
/*news_title*/
.news_title {
	padding: 0 1% 3% 1%;
	margin:0 2em;
}
/*inews*/
.inews {
	padding:0 2% !important;
	z-index:8;
}
/*inews_list*/
.inews_list {
	position:relative;
	text-align:left;
	border:solid 3px #fff;
	border-radius:12px;
	background: url(../../images/inews_bg_02.png) bottom center no-repeat, url(../../images/inews_bg_01.png) center repeat-y;
	background-size: contain;
    padding: 1em;
    min-height: 340px;
	box-shadow: 3px 2px 3px rgba(0,0,0,.1);
}
	/*inews_deco*/
	.inews_deco {
		text-align:right;
		margin-bottom:2%;
	}
		.inews_deco img {
			max-width:40%;
		}
	.inews_list:after {
		content:'';
		position:absolute;
		right: -6%;
		bottom: -19%;
		background: url(../../images/type.png) top right no-repeat;
		width: 15%;
		height: 25%;
		background-size: contain;
	}
	.inews_list p {
		transition: .2s linear;
	}
	.inews_list td {
		font-size:12px;
		letter-spacing:0;
		vertical-align:top;
	}
	.inews_list a {
		transition: .2s linear;
		font-size:15px;
		letter-spacing:1px;
	}
	.inews_list a:hover,.inews_list p:hover {
		color: #e5211b;
	}
/*newsin*/
.newsin {
	text-align: left;
    padding: 0 4%;
    min-height: 500px;
	color:#fff;
}
	.newsin span {
		font-size: 13px;
		line-height: 20px;
		letter-spacing: 0;
		color:#ff2500 !important;
	}
	.newsin p {
		color:#fff;
	}
		.inews_list p a {
			font-size:13px;
		}
	.newsin img {
		max-width:100%;
	}
	.newsin td {
		vertical-align:top;
	}
	td.aaa {
		display: inline !important;
	}
	.newsin a {
		display:inline-block;
		transition: .2s linear;
		color:#fff;
	}
		.newsin a:hover {
			color: #e5211b;
		}
	@media screen and (max-width:991px) {
		.inews {
			padding:0 !important;
			margin-top:1em;
		}
	}
	@media screen and (max-width:830px) {
		.inews_list:after {
			display:none;
		}
	}
	@media screen and (max-width:500px) {
		.inews {
			padding:0;
		}
		.inews_list {
			min-height:250px;
			padding:2%;
		}
		.news_title {
			padding: 3% 1% 3% 1%;
			margin:0;
		}
		.newsin {
			padding:0;
		}
		.inews_list a {
			font-size:14px;
		}
	}
	@media screen and (max-width:430px) {
		.newsin td,.inews_list td {
			display:block;
			width:100%;
			text-align:left;
		}
		.newsin a {
			font-size:14px;
		}
	}
/*---news end-------------------------------------------------------------------------------------------------------------------------------*/
/*************************
*******services_100 ******
**************************/

#services_100 {
	background: #edf5e5 url(https://www.taipeibnb.com.tw/images/orange.png);
	background-position: bottom left;
	background-repeat: no-repeat;
	background-size: auto;
	padding-bottom: 40px;
	font-size:14px;
}
.life {
	text-align:center;
	padding-top:2em;
}
.life a {
}
.life p {
	display:block;
	text-align:center;
	line-height:17px;
	padding-top:5px;
	color:#000;
}
.life a:hover img {
	animation: flash 1.5s ease-in-out;
}
.life a:hover p {
	color: #35c5c5;
}
#services_100 h1 {
	font-size: 20px;
	color: #858585;
	font-weight: 700;
}

#services_100 a {
	color: #353535;
}

#services_100 a:visited,
#services_100 a:focus {
	color: #353535;
}

#services_100 a:hover {
	color: #35c5c5;
}

.h100 {
	padding-bottom: 20px;
}

.h100 ul {
	padding-left: 40px;
	margin: 0;
}

.h100 ul li {
	float: left;
	width: 100%;
}

.hundred p {
	text-align: center;
}

.animate_Flashing img:hover {
	opacity: 1;
	-webkit-animation: flash 1.5s;
	animation: flash 1.5s;
}

@-webkit-keyframes flash {
	0% {
		opacity: .4;
	}
	100% {
		opacity: 1;
	}
}

@keyframes flash {
	0% {
		opacity: .4;
	}
	100% {
		opacity: 1;
	}
}

@media screen and (max-width:992px) {
	.h100 ul li {
		font-size: 12px;
	}
}

@media screen and (max-width:767px) {
	.h100 ul li {
		font-size: 14px;
	}
}

@media screen and (max-width:350px) {
	.hundred p {
		font-size: 12px;
	}
}

.newsline1 {
	background-image: url(https://www.taipeibnb.com.tw/images/newsline.jpg);
	background-position: top left;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 22px;
}

.animate_flash img {
	max-width: 100%;
}

