/*!
Theme Name: He Lai
Theme URI: http://helai.ch
Author: Yingfan Liu
Author URI: https://liusauer.ch
Version: 1.0.0
*/
body#wpadminbar { margin-top: 32px; }
a { color: #B78947; text-decoration: none;}
a:hover { color: #DC0A0A; }
body {
    font-family: "Lato", sans-serif;
    font-size: 18px;
    line-height: 1.733em;
    font-weight: 400;
    color: #1d1d1d;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
	font-style: normal;
}
.page-title-bar { position: relative; }
.page-title-bar::before { content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Adjust the color and opacity as needed */
}
.page-title-bar img {
    display: block;
    width: 100%;
    max-width: 100%; /* Make the image responsive */
    height: auto;
	object-fit: cover;
	object-position: top center; 
    z-index: 1;
}
.page-title-overlay {
    position: absolute;
    top: 50%; /* Adjust the vertical position of the title */
    left: 50%;
    transform: translate(-50%, -50%); /* Center the title vertically and horizontally */
    text-align: center;
    width: 100%;
}
.page-title-bar h1 { font-size: 70px; height: 72px; position: relative; color: #B78947; text-align: center; }
h1, h2, h3, h4 { line-height: 1.6; text-transform: uppercase; margin: 0 0 15px; }
h1, h3, h5 { font-family: "Bebas Neue", sans-serif; }
h2, h4 { font-family: "Crimson Text", serif; }
h2 { font-size: 50px;  font-weight: 700;}
h3 { font-size: 40px; font-weight: 400; }
h4 { font-weight: 500; font-size: 23px; color: #B78947;  margin-bottom: 10px;}
h5 { font-style: italic; font-weight: 300; text-transform: normal; color: #B78947; font-size: 20px}
.navbar-toggler { border: none;}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show, .nav-link { font-family: "Montserrat", sans-serif; color: #1d1d1d; font-weight: 500;}
.nav-link:hover, .navbar-nav .nav-link.active:hover  { color: #B78947; }
.fixed-top { transition: transform .3s; text-align: center;  background: #ffffff;}
.custom-logo { max-width: 100px; height: auto; width: 100%; display: inline-block;  float: left; text-align: left; }
.logo-box { position: relative; display: inline-block; float: left; text-align: left; }
.logo-box img { width: 100%; height: auto; max-width: 60px; }
.site-title { display: inline-block; margin-top: 0px; margin-bottom: 0; font-weight: bold; }
.top-social li { margin-top: 7px;}
.top-social a { padding-right: 15px;}
.site-footer { background-color: #1d1d1d; padding: 40px 0;}
.footer-logo { max-width: 220px; width: 100%; height: auto;}
.footer-widget-area ul { list-style-type: none; padding-left: 0; }
.text-hover-box .text-hover { opacity: 0; transition: 0.5s ease-in-out; }
.text-hover-box .text-hover:hover { opacity: 1;}
.content-container { background: #2d2d2d; margin: 80px auto; max-width:90%; width: 100%;}
.contact-button { 
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 0px 10px;
  transition: box-shadow.3s ease-in-out;
  }
.contact-button:before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	background-image: linear-gradient(to right, #E8CD85, #B78947);
	border-radius: 5px;
	z-index: -1;
}
.top-social a { color: #B78947; margin: 0 4px;}
.top-social a:hover { color: #285AFA; }
.fa-bars-staggered { font-size: 30px; color: white; }
.border-gold { border-top: 4px solid; border-image: linear-gradient(to right, #E8CD85, #B78947, #E6BE78) 1; }
.site-description { margin-left: 15px; background: linear-gradient(to right, #E8CD85, #B78947, #E6BE78); 
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
	font-family: "Montserrat", sans-serif;
	display: inline-block;
	position: absolute;
	bottom: 0;
 }
 .logo-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0; 
  transition: opacity 0.2s ease-in-out; 
  visibility: hidden;
}

.navbar-brand:hover .logo-normal {
  opacity: 0;
  visibility: hidden;
}
.navbar-brand:hover .logo-hover {
  opacity: 1;
  visibility: visible;
}
.social-buttons a:hover::before{ }
.social-buttons{display:flex;flex-direction:column;position:fixed;top:60%;right:20px;-webkit-transform:translateY(-60%);-ms-transform:translateY(-60%);transform:translateY(-60%);z-index:999}
.social-buttons a{display:inline-flex;font-size:20px;width:50px;height:50px;color:#fff;justify-content:center;align-items:center;position:relative;margin:3px 0}
.social-buttons a::before{content:"";position:absolute;width:50px;height:50px;background-color:#B78947;border-radius:50%;z-index:-1;transition:.3s ease-in;}
.social-buttons a i{transition:.3s ease-in}
h1.page-title { font-size: 70px; height: 72px; position: relative; color: #B78947; text-align: center; margin: 80px auto;}
.site-main { padding-top: 20px; padding-bottom: 80px;}
.site-footer a, .footer-widget-area a { color: white;}
.site-footer a:hover, .footer-widget-area a:hover { color: #DC0A0A;}
.ps-crossroad-cursor-type--white .grid__item--cursor.grid__item--center {
		cursor: url("https://helai.liusauer.ch/wp-content/uploads/2024/03/logo-no-text.png"), auto !important;
	}
.ps-crossroad-cursor-type--white .grid__item--cursor.grid__item--right {
    cursor: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='31px' height='44px' viewBox='0 0 61 44' style='enable-background:new 0 0 61 44;' xml:space='preserve'%3E %3Cpath fill='%23ffffff' d='M60.287 21.671L39.316.7l-5.642 5.642 11.74 11.74H.45v7.978h44.963l-11.74 11.739 5.643 5.642 20.971-20.972a.57.57 0 0 0 0-.798z'/%3E %3C/svg%3E") 30 22, ne-resize !important;
}
.ps-crossroad-cursor-type--white .grid__item--cursor.grid__item--left {
    cursor: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='31px' height='44px' viewBox='0 0 61 44' style='enable-background:new 0 0 61 44;' xml:space='preserve'%3E %3Cpath fill='%23ffffff' d='M.613 21.671L21.584.7l5.642 5.642-11.74 11.74H60.45v7.978H15.487l11.74 11.739-5.643 5.642L.613 22.469a.57.57 0 0 1 0-.798z'/%3E %3C/svg%3E") 30 22, sw-resize !important;
}
.ps-crossroad-cursor-type--white .img-wrap--content {
    cursor: url("https://helai.liusauer.ch/wp-content/uploads/2024/03/helai-logo-gold.png"), auto !important;
}
@media screen and (max-width: 767.99px) { 
	ul.top-social { display: inline-block; margin-top: 30px;}
	.top-social li { display: inline-block; }
	body#wpadminbar { margin-top: 46px;}
	.site-description { margin-left: 15px; font-size: 15px; }
	.logo-box img { max-width: 40px; }
	.container-fluid { padding: 0 15px; }
	h2 { font-size: 30px;}
	h3 { font-size: 26px; font-weight: 400; }
	h4 { font-size: 20px; color: #B78947; }
	h1.page-title { font-size: 30px; height: auto;}
}
@media screen and (min-width: 768px) { 
	.container-fluid { padding: 0 20px; }
}
@media screen and (max-width: 991.98px) { 
	ul.top-social { display: inline-block; margin-top: 30px;}
	.top-social li { display: inline-block; }
	.page-title-bar img { max-height: 400px; }
}
@media screen and (min-width: 992px) {
	.page-title-bar img { max-height: 600px; }
	.navbar-nav .nav-link.active, .navbar-nav .nav-link.show, .nav-link { margin:0 10px; font-size: 18px; }
	.site-description { margin-left: 15px; font-size: 24px; }
}
@media screen and (min-width: 1024px) {
	.navbar-nav .nav-link.active, .navbar-nav .nav-link.show, .nav-link { margin:0 10px; font-size: 20px; }
}
@media screen and (min-width: 1200px) {
	.container-fluid { padding: 0 10%; }
	.site-description { margin-left: 15px; font-size: 30px; }
}
