


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
	
	text-align: center;
	float: left;
	/*float: right;*/
	padding-right: 150px;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
	justify-content: center;
	
}

.navbar li {
  position: relative;
	width: 12%;
  
}
.navbar li.btn_flo { position: fixed; right: 20px; top: 30px;transition: all 0.8s ease 0s;}
.header-scrolled .navbar li.btn_flo {top: 20px;}
.navbar li.btn_flo a {border-bottom: 1px solid #666; padding:  0;}
.navbar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  transition: 0.3s;
	width: 150px;
	max-width: 10vw;
}

.navbar a i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover, .navbar .active, .navbar li:hover > a {
  color: #947401;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  /*left: 14px;*/
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #FFF;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
	border-top: 5px #f7ecd8 solid;
}


.navbar .dropdown ul li {
  min-width: 200px;
	padding: 0;
	line-height: inherit;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
	line-height: 35px;
  font-size: 17px;
  text-transform: none;
  color: #1b1b1b;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
  color: #9c7e2e;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: calc(100% - 5px);
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}
.navbar .dropdown2 ul { width: 100vw; height: 150px; left: 0; top: 120px; right: 0; bottom: 0; position: fixed; z-index: 1000;}
.navbar .dropdown2:hover > ul {
  opacity: 1;
  top: 80px;
  visibility: visible;
}

@media (max-width: 1366px) {
	.header-scrolled .navbar li.btn_flo { top: 0;}
	.navbar li.btn_flo { position: relative; right: auto; top: 0; }
	.navbar li.btn_flo a{padding: 10px 0 ; margin-left: 30px; }
	.navbar-mobile li.btn_flo a{ margin-left: 0;}
	.navbar .dropdown .dropdown ul {
		/*left: -90%;*/
	  }
	.navbar .dropdown .dropdown:hover > ul {
		/*left: -100%;*/
	  }
	
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #000;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
	
}

@media (max-width: 991px) {
	.navbar { /*margin-top: 8px; */}
	.navbar li.btn_flo { position: relative; right: auto; top: auto; }
	.navbar li.btn_flo a {padding: 10px 20px;
    font-size: 15px;
    color: #0d2529;
	border-bottom: none;}
  	.mobile-nav-toggle {
    display: block;
  }
  .navbar ul {
    display: none;
	  justify-content: flex-end;
  }
	.navbar li {width:inherit;}
	.navbar .dropdown ul li { }	
.navbar-mobile .dropdown ul {visibility:visible !important;}


.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 10px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
	width: 100%;
  top: 35px;
  right: 0;
  bottom: 0;
  left: 0;
  padding:  0;
  background-color: #FFF;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a {
  padding: 10px 20px;
  font-size: 15px;
  color: #0d2529;
	display: flex; align-items: center;
}

	.navbar-mobile a.on {background-color: #f2e0c1;}
	
.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
  color: #000;
	background-color: #f7ecd8;
}

.navbar-mobile .getstarted {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 0 0 10px 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #FFF;
  box-shadow: inset 0px 0px 10px rgba(247, 236, 216, 0.8);
	 border: 1px solid #f7ecd8;
	width: calc(100% - 2px);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 0;
	width: 95%; margin: 0 auto;
	border-bottom: 1px solid #e6e6e6;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
  color: #000;
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/*內頁下拉選單*/
.navbar2 { color: #000;}


