/* HTML BODY */
html, body {
  /*font-family: 'Muli', 'Arial', sans-serif, 'Noto Sans TC'; /* Muli font weight: 300/400/900 */
  font-family: 'Muli', 'Arial', sans-serif, 'Microsoft JhengHei'; /* Muli font weight: 300/400/900 */
  background-color: white;
  width: 100%;
  height: 100%;
  padding: 0;
  margin:  40px 0 0 0;
  font-size: 15px;
  line-height: 25px;
  color: black;
}

.clear {
  clear: both;
  float: none;
  width: 100%;
}

/****************************** MENU ******************************/
header {
  width: 100%;
  background-color: white;
  position: fixed;
  left: 0;
  top: 0;
  border-bottom: 1px solid #bbb;
  z-index: 999;
}	
header.content-page {
  height: 170px;
  transition: height .5s ease;
}
header.content-page.smaller {		/*scrolled*/
  height: 150px;
}
#menu {
  /*font-weight: 300;*/
  font-weight: normal;
  width: 100%;
  /*max-width: 1200px;*/
  height: 50px;
  clear: both;
  background-color: #fff;
  margin: 0 auto;
  vertical-align: bottom;
  font-size: 17px;
}

#menuTitle {
  width: 100%;
  max-width: 1200px;
  text-align: left;
  background-color: white;
  text-transform: uppercase;
}
#menu.content-menu h2 {
  margin-top: 30px;
  transition: all .5s ease;
  line-height: 70px;
}
#menu.content-menu h2.smaller {		/*scrolled*/
  font-size: 30px;
  line-height: 50px;
}

section.breadcrumb-container {
  width: 100%;
  text-align: center;
}
section.breadcrumb-container div.breadcrumb {
  display: inline-block;
  width: 100%;
  text-align: left;
  max-width: 1200px;
  font-size: 13px;
  background-color: white;
  letter-spacing: 2px;
  transition: padding .5s ease, margin-bottom .5s ease;
  padding: 0;
}
section.breadcrumb-container div.breadcrumb a {
  text-decoration: none;
  color: #636363;
}
section.breadcrumb-container div.breadcrumb a:hover {
  color: #e72f1f;
}
@media only screen and (max-width : 1200px) {
	section.breadcrumb-container {
	  padding: 0 10px;
	}
}
.spaceInTop {
  /*height: 120px;*/
  top: 0;
  left: 0;
  position: relative;
  display: block;
}

.lang-switch {
  width: 100%;
  text-align: right;
  height: 20px;
  background-color: #fff;
  font-size: 15px;
}
.lang-switch a {
  text-decoration: none;
  color: #636363;
}
.lang-switch a:hover {
  color: #e72f1f;
}

#logo {
  float: left;
  text-align: left;
}
#logo > a {
  padding: 0px !important;
}  
#logo > a >img {
  padding: 5px 0;
}   

ul#nav {
  width: 100%;
  /*max-width: 1200px;*/
  margin: 0;
  padding: 0;
  list-style: none;
  float: right;
  text-align: right;
}

ul#nav li {
  display: inline;
}

ul#nav li a {
  line-height: 60px;
  color: black;
  text-decoration: none;
  margin: 0;
  padding: 20px 20px;
  background-color: #fff;
  vertical-align: bottom;
}
ul#nav li a:last-child {
  padding-right: 0;
}
/* APPLIES THE ACTIVE STATE */
ul#nav .current a, ul#nav li:hover > a, ul#nav li:hover > ul > li:hover > a  {
  color: black;
  text-decoration: underline;
}

/* THE SUBMENU LIST HIDDEN BY DEFAULT */
ul#nav ul {
  display: none;
}

/* WHEN THE FIRST LEVEL MENU ITEM IS HOVERED, THE SECOND MENU APPEARS */
ul#nav > li:hover > ul {
  position: absolute;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  width: 100%;
  /*max-width: 1200px;*/
  height: 45px;
  margin: 0px 0 0 0;
  background-color: #fff;  
  border-top: 1px solid #eee;
  box-sizing: border-box;
  border-bottom: 1px solid #bbb;
  -webkit-animation: fade-in-effects .5s steps(30) forwards; /* Safari 4.0 - 8.0 */
  animation: fade-in-effects .5s steps(30) forwards;
}

/* WHEN THE SECOND LEVEL MENU ITEM IS HOVERED, THE THIRD LEVEL MENU APPEARS */
ul#nav > li > ul > li:hover > ul {
  position: absolute;
  left:0;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  width: 100%;
  /*max-width: 1200px;*/
  height: 45px;
  margin: -2px 0 0 0;
  background-color: #fff;  
  border-top: 1px solid #eee;
  box-sizing: border-box;
  border-bottom: 1px solid #bbb;
  -webkit-animation: fade-in-effects .5s steps(30) forwards; /* Safari 4.0 - 8.0 */
  animation: fade-in-effects .5s steps(30) forwards;
}
@keyframes fade-in-effects {
    0%   {opacity: 0; transform:translateY(-10px);}
    100% {opacity: 1; transform:none;}
}

ul#nav li:hover > ul li a {
  /*float: left;*/
  line-height: 45px;
  color: #black;
  text-decoration: none;
  margin: 0;
  padding: 0 40px 0 40px; /*padding: 0 30px 0 0;*/
  background-color: #fff; 
}

/****************************** Link ******************************/
section a:link, section a:visited {
  text-decoration: none;
  color: #636363;
  cursor: pointer;
  border-bottom: 2px solid rgba(231, 47, 31, 0);
  transition: all 0.5s ease;
}
section a:hover, section a:active {
  text-decoration: none;
  color: black;
  padding-bottom: 5px;
  border-bottom: 2px solid rgba(231, 47, 31, 1);
}

/****************************** Color ******************************/
.red {
  color: #e72f1f !important;
}
.black {
  color: black !important;
}
.white {
  color: white !important;
}
.grey {
  color: #636363 !important;
}


/****************************** List items ******************************/
section ul {
  list-style: none;
  padding: 0;
  font-size: 20px;
  line-height: 40px;
}
section li {
  padding-left: 1.3em;
}
section li:before {
  content: "\f054"; /* FontAwesome Unicode */
  font-family: FontAwesome;
  display: inline-block;
  margin-left: -1.3em; /* same as padding-left set on li */
  width: 1.3em; /* same as padding-left set on li */
}

/****************************** Fonts ******************************/
h1 {
  display: inline;
  text-decoration: none;
  font-size: 60px;
  font-weight: 300;
  line-height: 80px;
  padding-bottom: 10px;
  border-bottom: 4px solid #e72f1f;

}
h2 {
  display: inline;
  text-decoration: none;
  font-size: 45px;
  font-weight: 300;
  line-height: 55px;
  border-bottom: 3px solid #e72f1f;
  padding-bottom: 7px;
}
h3 {
  display: inline;
  text-decoration: none;
  font-size: 30px;
  font-weight: 300;
  line-height: 40px;
  border-bottom: 2px solid #e72f1f;
  padding-bottom: 5px;
}
h4 {
  display: inline;
  text-decoration: none;
  font-size: 22px;
  /*font-weight: 300;*/
  font-weight: normal;
  line-height: 50px;
  padding-bottom: 2px;
}
p {
  font-size: 20px;
  line-height: 30px;
  /*font-weight: 300;*/
  font-weight: normal;
}
p.blank {
  line-height: 10px !important;
}
strong {
  font-weight: bold;
}
.remark {
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
}
.italic {
  font-style: italic;
}
.smalltext {
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 300;
}
a.red2white-button {
  color: #e72f1f !important;
  font-size: 18px;
  font-weight: bold;
  padding-bottom: 5px;
  border-bottom: 2px solid rgba(231, 47, 31, 1) !important;
}
a.red2white-button:hover {
  color: white !important;
}
a.red2black-button {
  color: #e72f1f !important;
  font-size: 18px;
  font-weight: bold;
  padding-bottom: 5px;
  border-bottom: 2px solid rgba(231, 47, 31, 1) !important;
}
a.red2black-button:hover {
  color: black !important;
}

/****************************** Homepage Slider ******************************/
#home-slider {
  width: 100%;
  padding: 5% 0;
  height: 750px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)),url(../images/home/20.jpg) no-repeat center top fixed; 
  -webkit-background-size: calc(100% + 150px);
  -moz-background-size: calc(100% + 150px);
  -o-background-size: calc(100% + 150px);
  background-size: calc(100% + 150px);
  color: white;
  text-align: center;
  -webkit-animation: slider-up2down 15s ease forwards; /* Safari 4.0 - 8.0 */
  animation: slider-up2down 15s ease forwards;
}
@keyframes slider-up2down {
  from {
    opacity: 1;
	background-position: center top;
  }
  to {
    opacity: 1;
	background-position: center bottom;
  }
}
#home-slider .slider-text {
  display: inline-block;
  width: 100%;
  max-width: 1200px;
  text-align: left;
  font-size: 90px;
  line-height: 90px;
  font-weight: 300;
  margin: 0;
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  animation: typing 2s ease-out forwards;
}
/* The typing effect */
@keyframes typing {
  from { opacity: 0; margin-left: 20%; }
  to { opacity: 1; margin-left: 0; }
}

/****************************** Homepage About ******************************/
#about-container{
  width: 100%;
  background: white;
  padding: 30px 0 40px 0;
  text-align: center;
}
#about-slider {
  width: 100%;
  height: 750px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)),url(../images/home/philosophy_bg.jpg) no-repeat  center center scroll; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  color: white;
  text-align: center;
}
#about-slider > div {
  display: inline-block;
  width: 100%;
  padding: 60px 0 0 0;
  max-width: 1200px;
  text-align: left;
}
#about-slider > div > p {
  padding: 40px 0 10px 0;
  font-size: 25px;
  line-height: 40px;
  font-weight: 300;
}

/****************************** Homepage Property ******************************/
#property-container {
  width: 100%;
  background: white;
  padding: 30px 0 40px 0;
  text-align: center;
}
#property-slider > div.row > div {
  width: 100%;
  padding-top: 40px;
  height: 650px;
  color: black;
  text-align: center;
}
#property-slider > div.row > div:first-child {
  background: white; 
}
#property-slider > div.row > div:first-child > div {
  max-width: 600px;
  float: right;
  text-align: left;
  padding-right: 50px;
}
#property-slider > div.row > div:last-child {
  background: url(../images/home/02.jpg) no-repeat bottom center scroll; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
#property-slider > div.row > div > div > p {
  font-size: 20px;
  line-height: 30px;
  /*font-weight: 300;*/
  font-weight: normal;
  margin-top: 40px;
}
 #property-slider > div.row > div > div > ul {
  margin-top: 25px;
}
  
/****************************** Homepage Hospitality ******************************/
#hospitality-container {
  width: 100%;
  background: white;
  padding: 30px 0 40px 0;
  text-align: center;
}
#hospitality-slider > div.row > div {
  width: 100%;
  padding-top: 40px;
  height: 650px;
  color: black;
  text-align: center;
}
#hospitality-slider > div.row > div:first-child {
  background: url(../images/home/Bali-Pool.jpg) no-repeat bottom center scroll; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
#hospitality-slider > div.row > div:last-child {
  background: white; 
}
#hospitality-slider > div.row > div:last-child > div {
  max-width: 600px;
  float: left;
  text-align: left;
  padding-left: 50px;
}
#hospitality-slider > div.row > div > div > p {
  font-size: 20px;
  line-height: 30px;
  /*font-weight: 300;*/
  font-weight: normal;
  margin-top: 40px;
}
#hospitality-slider > div.row > div > div > ul {
  margin-top: 25px;
}

/****************************** Homepage Construction ******************************/
#construction-slider {
  width: 100%;
  height: 750px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)),url(../images/acts-home.jpg) no-repeat left top scroll; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover; /*calc(100% + 50px)*/
  color: white;
  text-align: center;
}
#construction-slider > div {
  display: inline-block;
  padding: 60px 0 0 0;
  width: 100%;
  max-width: 1200px;
  text-align: left;
}
#construction-slider > div > p {
  padding: 40px 0 10px 0;
  font-size: 25px;
  line-height: 40px;
  font-weight: 300;
}

/****************************** Homepage Contact ******************************/
#contact-container {
  width: 100%;
  padding: 20px 0 30px 0;
  background: #f1f2f2; 
  text-align: center;
}
#contact-container > h2 > a {
  color: #636363;
  padding-bottom: 5px;
  border-bottom: 2px solid rgba(231, 47, 31, 1);
}
#contact-container > h2 > a:hover {
  color: black;
  padding-bottom: 5px;
  border-bottom: 2px solid rgba(231, 47, 31, 1);
}
#contact-container i {
  font-size: 40px;
  color: #636363;
  padding: 0 10px;
}
#contact-container i:hover {
  color: rgba(231, 47, 31, 1);
}
#contact-container a, #contact-container a:hover {
  border: none;
}

/****************************** Footer ******************************/
footer {
  width: 100%;
  margin-top: 40px;
  padding: 30px 0 20px 0;
  background: black; 
  text-align: center;
}
footer > div {
  display: inline-block;
  width: 100%;
  max-width: 1200px;
  text-align: left;
}

/****************************** Content Box ******************************/
section.content-container {
  text-align: center;
}
div.content-box {
  display: inline-block;
  width: 100%;
  max-width: 1200px;
  background: white;
}
@media only screen and (max-width : 1200px) {
	div.content-box {
	  padding: 0 10px;
	}
}
div.content-box > div.row > div {
  width: 100%;
  /*padding-bottom: 40px;*/
  color: black;
  text-align: center;
}
div.content-box > div.row > div:last-child {
  text-align: right;
  float: left;
}
div.content-box > div.row > div:first-child {
  width: 100%;
  text-align: left;
}
div.content-box > div.row > div > div > p {
  font-size: 20px;
  line-height: 30px;
  font-weight: 300;
}
section.content-container, section.content-container p, section.content-container ul, section.content-container a {
  font-size: 17px;
  line-height: 30px;
}
section.content-container img {
  width: 100%;
  height: auto;
  max-width: 100%;
  margin-bottom: 15px;
}
section.content-container div.photo-gallery {
  border: 3px solid #eee;
  box-sizing: border-box;
  padding: 20px;
  margin: 30px 0;
}
section.content-container div.photo-gallery a img {
  object-fit: cover;
  height: 140px !important;
}

div.bg-cover {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

section.content-container div.photo-gallery div img {
  display: inline-block;
  width: 100%;
  height: auto;
  overflow: hidden;
}

button.submenu {
    height: 0;
	line-height: 0;
	color: black;
	width: 225px;
	font-size: 19px;
	font-weight: 300;
	padding: 28px;
	background: white;
	border: 2px solid black;
	box-sizing: border-box;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	transition: all .5s ease;
	margin-bottom: 10px;
	outline:none;
}
button.submenu:hover, button.submenu.active {
	color: white;
	background: white;
	border: 2px solid rgba(231, 47, 31, 1);
	padding: 28px;
	background: rgba(231, 47, 31, 1);
}

/****************************** Content Box ******************************/
button#submit_button {
    height: 0;
	line-height: 0;
	color: black;
	width: 100%;
	font-size: 19px;
	font-weight: 300;
	padding: 28px;
	background: white;
	border: 2px solid black;
	box-sizing: border-box;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	transition: all .5s ease;
	margin-bottom: 10px;
	outline:none;
}
button#submit_button:hover {
	color: white;
	background: white;
	border: 2px solid rgba(231, 47, 31, 1);
	padding: 28px;
	background: rgba(231, 47, 31, 1);
}
input, select, textarea{
    color: #636363;
	border: 2px solid black;
	box-sizing: border-box;
}
input:focus, select:focus, textarea:focus {
	border: 2px solid rgba(231, 47, 31, 1);
}

/****************************** Scroll to Top ******************************/
.scrollToTop, .scrollToTop:visited{
	border: 2px solid white;
    box-sizing: border-box;
    width: 60px;
    height: 60px;
    padding: 13px;
    text-align: center;
    background: #e72f1f;
    font-weight: bold;
    color: white;
    text-decoration: none;
    position: fixed;
    bottom: 50px;
    right: 10px;
    font-size: 30px;
	display: none;
	transition: all .5s ease;
}
.scrollToTop:hover {
	border: 2px solid black;
	text-decoration: none;
	background: white;
	color: black;
}

/****************************** MOBILE ******************************/
#mobile_menu {
	display: none;
}
@media only screen and (max-width : 1200px) {
	#property-slider > div.row > div:first-child > div {
		float: left;
		padding-left: 10px;
	}
	#construction-slider > div {
		padding: 60px 20px 0 20px;
	}
	#about-slider > div {
		padding: 60px 20px 0 20px;
	}
	#property-slider > div.row > div:first-child > div {
		max-width: 100%;
	}
	#hospitality-slider > div.row > div:last-child > div {
		max-width: 100%;
	}
}
@media only screen and (max-width : 991px) {  /*1091*/
	div.content-box > div.row > div:last-child {
		margin-top: 20px;
		text-align: left;
	}
	#property-slider > div.row > div:first-child > div {
		float: left;
		padding-left: 20px;
		padding-right: 20px;
	}
	#hospitality-slider > div.row > div:last-child > div {
		padding-left: 20px;
		padding-right: 20px;
	}
	#menu {
		display: none;
	}
	#mobile_menu { 
		display: block;
	}
	header {
		height: 80px;
	}
	#mobile_menu #mobileMenuTitle {
		position: fixed;
		left: 10px;
		top: 90px;
		width: 100%;
		text-align: left;
		background-color: transparent;
		text-transform: uppercase;
	}
	#home-slider .slider-text {
		font-size: 60px;
		line-height: 60px;
	}
	#home-slider {
		width: 100%;
		padding: 5% 0;
		height: 500px;
		background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)),url(../images/home/20.jpg) no-repeat center top fixed; 
		-webkit-background-size: calc(100% + 0px);
		-moz-background-size: calc(100% + 0px);
		-o-background-size: calc(100% + 0px);
		background-size: calc(100% + 0px);
		color: white;
		text-align: center;
		-webkit-animation: slider-mobile 2s ease forwards; /* Safari 4.0 - 8.0 */
		animation: slider-mobile 2s ease forwards;
	}
	h1 {
		font-size: 40px;
		line-height: 40px;
	}
	button.submenu {
		width: 49%;
	}
	section.content-container > div.content-box > div.row > div:first-child {
		display: flex;
		flex-direction: column;
	}
	section.content-container > div.content-box > div.row > div:last-child {
		order: -1;
	}
	.lang-switch {
		display: flex;
		width: 100%;
		float: right;
		font-size: 25px;
		padding-top: 50px;
	}
	.lang-switch > a {
		margin-top: -10px;
		display: flex;
		width: 50px;
	}
	/* Swap the position in mobile version */
	#property-slider > div.row > div:first-child {
		display: flex;
		flex-direction: column;
	}
	#property-slider > div.row > div:last-child {
		order: -1; 
	}
}
@media only screen and (max-width : 768px) {
	button.submenu {
		width: 100%;
	}
}

@keyframes slider-mobile {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Mobile Menu */
#mobile_logo {
	position: fixed;
	left: 10px;
	top: 20px;
	z-index: 9999;
}
#mobile_menu {
	position: fixed;
	right: 20px;
	top: 30px;
	z-index: 9999;
}
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(255,255,255, 1);
    overflow-x: hidden;
    transition: 0.5s;
}
.overlay-content {
    position: relative;
    top: 70px;
    width: 100%;
    text-align: left;
	padding: 0 10px;
    margin-top: 30px;
}
.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 25px;
	line-height: 35px;
    color: black;
    display: block;
    transition: 0.3s;
	font-weight: 300;
}
.overlay .closebtn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 60px;
	color: black;
}
#mobile_menu .overlay-content a.expand:after {
	content: "\f107";
    font-family: FontAwesome;
	padding-left: 20px;
}
#mobile_menu .overlay-content a.expanded:after {
	content: "\f106";
	font-family: FontAwesome;
	padding-left: 20px;
}
#mobile_menu .overlay-content .collapse a {
	font-size: 22px;
	line-height: 20px;
}
#mobile_menu .overlay-content .collapse a:before {
	content: "\f0da";
	font-family: FontAwesome;
	padding: 0 20px;
	color: rgba(231, 47, 31, 1);
}
#mobile_menu .overlay-content .collapse div a:before {
	content: "\f105";
	padding: 0 20px 0 40px;
}