
.inline{
  display: inline !important;
}
.flex{
  display: -webkit-flexbox !important;
  display: -ms-flexbox !important;
  display: -webkit-flex !important;
  display: flex !important;
}
.pull-right{
  float:right !important;
}
.footer{
  background-color: #303030!important;
}
body, a{
  font-family: Helvetica, Arial, "微軟正黑體", Heiti TC, sans-serif;
}
.nav-link {
  font-size: 1rem;
}

.dropdown-menu {
  /* background: #fff;
  font-size: 14px;
  color: #3d405c;
  border: 1px solid #e6e6f2; */
  /* min-width: 200px; */
  max-height: 700px;
  overflow-y: scroll;
}
.dropdown-menu::-webkit-scrollbar { width: 0 !important }
.dropdown-menu::-webkit-scrollbar { width: 0 !important }
.dropdown-menu { -ms-overflow-style: none; }

.dropdown-menu .nav-link {
  min-width: 200px;
}

.header .text-container .overlay{
  margin-left: -15px;
  background:#fff; 
  opacity: .9;
  width:100%;
  height:100%;
  position:absolute;
}
.header .text-container .content{
  position: relative;
}
#topbar .topbar-social{
  text-align: right;
}
#topbar ul {
  padding: 0;
}
#topbar ul li div{
  display:table-cell; vertical-align:center;
}
#topbar ul li div{
	font-size: 12px;
  line-height: 50px;
}
#topbar ul li{
  margin-left: 24px;
  line-height: 50px;
}
#topbar ul li:first-child{
  margin-left: 0px;
}
#topbar .fas{
	font-size: 16px;
  line-height: 20px;
  width: 24px;
  text-align: center;
  padding: 5px;
  margin-right: 0;
}
#topbar .fab{
	font-size: 16px;
  line-height: 40px;
  width: 24px;
  text-align: center;
  padding: 5px;
  margin-right: 8px;
}

#footer .fas {
  width: 60px; 
  text-align: center;
}
#footer .fas,
#footer .fab{
	font-size: 30px!important;
}

#copyright{
	color: #fff!important;
	background: #999!important;
	padding-top: .1em;
	padding-bottom: .1em;
	font-size: .8em;
}
.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}

.my-float{
padding: 15px 20px 0px 17px;
}
.navbar-custom{
  background: #fff !important;;
}

.header .header-content .background-image,
.overlay,
.header .header-content {
  width:100%;
	padding-top: 0;
	padding-bottom: 0;
}

.header{overflow: hidden;}
.header .container {
  height:100%;
}
.header .header-container {
  width:100%;
  height:300px;
	padding-top: 100px;
  display: inline-table!important;
}
.header .header-container .text-container {
display: table-cell!important;
  vertical-align: middle;
  margin: 0 !important;
}

#home .header .text-container .content{
    padding: 20px;
    display: grid;
}

@media (min-width: 600px){

.header .header-content .background-image{
  margin-top: 80px;
}

.header .header-container {
	padding-top: 100px;
}

}

@media (max-width: 800px){

h2, .h2 {
  font-size: 1.5rem;
}

}

#topbar{
  display:none;
}

.cards-1 {
  padding-top: 1.25rem!important;
  padding-bottom: 1rem!important;
}

#contact{
  text-align: center;
}
.header .header-content .background-image{
  height:400px;
}
#home .header .header-content .background-image{
  margin-top: 100px;
}
#home #topbanner-box {
    margin-top: -450px;
    margin-bottom: 80px;
    padding: 0 !important;
}
h1, .header .text-container h1 {
    font-size: 2rem !important;
    line-height: 3rem !important;
}
.navbar-custom .navbar-brand.logo-image img {
  height: auto;
  max-width: 250px;
  max-height: 60px;
}

@media (min-width: 600px){
._section {
    padding-top: 50px!important;
}
#home .header .header-content .background-image{
  height:500px;
  margin-top: 100px;
}
#home #topbanner-box {
    margin-top: -500px;
    margin-bottom: 100px;
    padding: 0 !important;
}
.header .header-content .background-image{
  height:300px;
}
.nav-label {
  height: 80px!important;
}
.dropdown-menu .nav-link {
  height: 60px!important;
}
.header .text-container .overlay{
    border-radius: 10px;
}

.header .header-content .background-image,
.overlay,
.header .header-content {
  width:100%;
	padding-top: 0;
	padding-bottom: 0;
}

}

@media (min-width: 960px){

#home .header .text-container .content{
    padding: 60px;
    display: grid;
}

#home .header .header-content .background-image{
  height:700px;
  margin-top: 100px;
}
#home #topbanner-box {
    margin-top: -800px;
    margin-bottom: 80px;
    padding: 0 !important;
}
#contact{
  text-align: left;
}
#contact .btn{
  float: right;
}
#topbar{
  display:block;
  position: fixed;
  top: 0;
  z-index: 1;
  background: #fff;
  width: 100%;
  height: 50px;
  overflow: hidden;
}
.navbar-custom{
  margin-top: 50px;
}
.header .text-container .overlay{
    margin: 0!important;
}
.header .header-content {
  margin-top: 0 !important;
    padding-top: 0!important;
}
.navbar-custom{
  height: 100px;
}
.navbar-custom .navbar-brand.logo-image img {
    height: 80px;
    max-width: none;
}
.navbar-custom {
    padding: 0px 25px!important
}
.navbar-custom.top-nav-collapse {
    padding: 0.1rem 1.5rem 0.1rem 2rem!important;
}
.nav-link {
    vertical-align: middle!important;
    display: table-cell!important;
}
.container,
.navbar-custom .container {
    max-width: 920px;
}
.nav-link {
  padding: 0 8px!important;
  font-size: 1rem!important;
}
}

@media (min-width: 1200px){

.container,  
.navbar-custom .container {
    max-width: 1160px;
}
.nav-link {
    vertical-align: middle!important;
    display: table-cell!important;
}
.nav-link {
  padding: 0 1rem!important;
  font-size: 1rem!important;
}

}

@media (min-width: 1400px){
.container, .navbar-custom .container {
    max-width: 1360px;
}
.nav-link {
    vertical-align: middle!important;
    display: table-cell!important;
}
.nav-link {
  padding: 0 1.5rem!important;
  font-size: 1rem!important;
}
}
