/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/*--------------------------------------------------------------
## Portfolio
--------------------------------------------------------------*/
/* projects-grid
================================================== */
body .labels-zh {
    display: none !important;
}
body.translatepress-zh_HK .labels-zh {
    display: block !important;
	text-align: center;
}
body.translatepress-zh_HK .labels-en {
    display: none !important;
}
.lg-icon{
  font-family: 'lg' !important;
}
.lg-autoplay-button.lg-icon {
  background-color: transparent !important;
  border: 0;
}
.lg-progress-bar .lg-progress {
  background-color: #3c70f0 !important;
}
.project-item,
.grid-sizer {
  float: left;
  width: 33.3333333333%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.project-item.thumb2x,
.grid-sizer.thumb2x {
  width: 66.66666666%;
}
.projects-grid.pf_5_cols .project-item,
.projects-grid.pf_5_cols .grid-sizer {
  width: 20%;
}
.projects-grid.pf_5_cols .project-item.thumb2x,
.projects-grid.pf_5_cols .grid-sizer.thumb2x {
  width: 40%;
}
.projects-grid.pf_4_cols .project-item,
.projects-grid.pf_4_cols .grid-sizer {
  width: 25%;
}
.projects-grid.pf_4_cols .project-item.thumb2x,
.projects-grid.pf_4_cols .grid-sizer.thumb2x {
  width: 50%;
}
.projects-grid.pf_2_cols .project-item,
.projects-grid.pf_2_cols .grid-sizer {
  width: 50%;
}
.projects-grid.pf_2_cols .project-item.thumb2x,
.projects-grid.pf_2_cols .grid-sizer.thumb2x {
  width: 100%;
}
.projects-grid {
  position: relative;
  overflow: hidden;
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
}
.projects-grid .projects-box {
  padding: 15px;
  background-color: #ffd40091;
  border-radius: 20px;
}
.projects-grid .projects-box img{
  border-radius: 20px;
	aspect-ratio: 0.65;
}
.projects-grid .projects-box .portfolio-info .wd-card-detail{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}
.projects-grid .projects-box .portfolio-info .wd-card-detail .wd-live-preview{
  color: #222222;
  font-size: 16px;
  font-weight: 400;
  text-decoration:none;
}
.projects-grid .projects-box .portfolio-info .wd-card-detail .wd-live-preview:not(.title-link){
  margin-left: 0;
}
.projects-grid .projects-box .portfolio-info .wd-card-detail .wd-promotion-preview:not(.title-link){
    margin-left: inherit;
}
.projects-grid .projects-box .portfolio-info .wd-card-detail a i{
	font-size:20px;
}
.projects-grid .projects-box .portfolio-info .wd-card-detail a{
	color: #222222 !important;
}
.projects-grid .projects-box .portfolio-info .wd-card-detail .wd-promotion-preview,
.projects-grid .projects-box .portfolio-info .wd-card-detail .wd-live-preview {
  transition: 0.3s ease-in;
	&:not(.title-link) {
		width: auto;
	height: 20px;
	img {
		max-width: 100%;
    object-fit: contain;
    width: 44px;
    height: 44px;
    border-radius: 0;
	}
	}
	
  &:hover {
    transform: translateY(3px);
  }
}
.projects-grid .projects-box .portfolio-info .wd-card-detail .wd-promotion-preview img {
		margin-top: 0px;
	}
.projects-grid .projects-box .portfolio-info .wd-card-detail .wd-live-preview img {
		margin-left: 1px;
	}
.projects-grid.style-2 .portfolio-info .portfolio-info-inner {
  text-align: left;
  background: #fff;
  padding: 27px 50px 26px;
  -webkit-transform: translateY(40%);
  -ms-transform: translateY(40%);
  transform: translateY(40%);
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
}
.projects-grid.style-2 .portfolio-info .portfolio-info-inner h5 {
  margin-bottom: 8px;
  padding: 0;
}
.projects-grid.style-2 .portfolio-info .portfolio-info-inner h5 a {
  color: #1a1a1a;
}
.projects-grid.style-2 .portfolio-info .portfolio-info-inner .portfolio-cates {
  padding: 0;
}
.projects-grid.style-2 .portfolio-info .portfolio-info-inner .portfolio-cates a:hover {
  color: #1a1a1a;
}
.projects-grid.style-2 .projects-box:hover .portfolio-info-inner {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}
.projects-grid.style-2.w-auto .portfolio-info {
  width: auto;
}
.projects-grid.style-3 .projects-thumbnail {
  position: relative;
}
.projects-grid.style-3 .projects-thumbnail .overlay {
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  display: none;
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
}
.projects-grid.style-3 .projects-thumbnail .overlay i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -webkit-transform: translateY(-50%) translateX(-50%);
  -ms-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
  background: #000;
  color: #fff;
}
.projects-grid.style-3 .projects-thumbnail .overlay i:before {
  font-size: 22px;
}
.projects-grid.style-3 .projects-thumbnail .overlay i:hover {
  -webkit-transform: translateY(-50%) translateX(-50%) rotate(90deg);
  -ms-transform: translateY(-50%) translateX(-50%) rotate(90deg);
  transform: translateY(-50%) translateX(-50%) rotate(90deg);
}
.projects-grid.style-3 .projects-thumbnail:hover .overlay {
  opacity: 1;
  visibility: visible;
}
.projects-grid.style-3 .portfolio-info {
  background: none;
  position: static;
  opacity: 1;
  align-items: flex-end;
}
.projects-grid.style-3 .portfolio-info .portfolio-info-inner {
  text-align: left;
  padding-top: 20px;
  padding-bottom: 12px;
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
}
.projects-grid.style-3 .portfolio-info .portfolio-info-inner h5 {
  padding: 0;
  margin-bottom: 7px;
}
.projects-grid.style-3 .portfolio-info .portfolio-info-inner h5 a {
  color: #1a1a1a;
  margin-bottom: 10px;
}
.projects-grid.style-3 .portfolio-info .portfolio-info-inner .portfolio-cates {
  padding: 0;
}
.projects-grid.style-3 .portfolio-info .portfolio-info-inner .portfolio-cates a:hover {
  color: #1a1a1a;
}
.projects-grid.style-3 .portfolio-info .overlay {
  display: none;
}
.projects-grid.style-4 .projects-thumbnail {
  position: relative;
}
.projects-grid.style-4 .projects-thumbnail .overlay {
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  cursor: pointer;
  display: none;
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
}
.projects-grid.style-4 .projects-thumbnail .overlay i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -webkit-transform: translateY(-50%) translateX(-50%);
  -ms-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
  background: #000;
  color: #fff;
}
.projects-grid.style-4 .projects-thumbnail .overlay i:before {
  font-size: 22px;
}
.projects-grid.style-4 .projects-thumbnail .overlay i:hover {
  -webkit-transform: translateY(-50%) translateX(-50%) rotate(90deg);
  -ms-transform: translateY(-50%) translateX(-50%) rotate(90deg);
  transform: translateY(-50%) translateX(-50%) rotate(90deg);
}
.projects-grid.style-4 .projects-thumbnail:hover .overlay {
  opacity: 1;
  visibility: visible;
}
.projects-grid.style-4 .portfolio-info {
  display: none;
}
.projects-grid.style-5 .projects-box .portfolio-info {
  opacity: 1;
  visibility: visible;
  background: rgba(10, 10, 10, 0.6);
}
.projects-grid.style-5 .projects-box .portfolio-info a.title-link {
  background-size: 0;
}
.projects-grid.style-5 .projects-box:hover .portfolio-info {
  opacity: 0;
  visibility: hidden;
}
.projects-grid.style-6 .portfolio-info .overlay {
  display: none;
}
.projects-grid.img-popup .projects-thumbnail .overlay {
  display: flex;
  align-items: center;
  justify-content: center;
}
.projects-grid.img-popup .projects-thumbnail .overlay h5 {
  display: none;
  margin-bottom: 0;
  color: #fff;
  text-align: center;
}
.projects-grid.img-popup.popup-is-title .projects-thumbnail .overlay h5 {
  display: block;
}
.projects-grid.img-popup.popup-is-title .projects-thumbnail .overlay i {
  display: none;
}

.projects-grid.no-cat .portfolio-cates {
  display: none;
}

/*** load more button ***/
.btn-block {
  text-align: center;
  clear: both;
}
.btn-block .octf-btn {
  margin-top: 60px;
}
.btn-block .octf-btn:after, .btn-block .octf-btn:before {
  display: none;
}
.btn-block .octf-btn i {
  margin-left: 10px;
}

/**** isotope filtering ****/
.project_filters {
  position: relative;
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 20px;
  margin-bottom: 40px;
}
.project_filters:after {
  content: "";
  display: block;
  clear: both;
}
.project_filters li {
  position: relative;
  display: flex; 
}
.translatepress-zh_HK .project_filters li {
  position: relative;
  display: block; 
}
.project_filters li a, .project-filter-wrapper a.btn-loadmore {
  font-size: 14px;
  padding: 10px 20px;
  padding: 10px 20px;
  border-radius: 12px;
  transition: .3s ease-in;
  background-color: #FFFDF2;
  text-decoration:none;
}
.project_filters li a::before {
  width: calc(100% + 14px);
}
.project_filters li a.selected:before {
  width: calc(100% + 14px);
}
.project_filters li a.selected, .project_filters li a:hover, .project-filter-wrapper a.btn-loadmore {
 color: #fff !important;
 background-color: #FFD400 !important;
 text-decoration:none;
}
.project-filter-wrapper a.btn-loadmore {
  display: inline-block;
  margin-top: 40px;
}
.project_filters li a:focus, .project_filters li a:active {
  color: #1a1a1a;
}
.project_filters li a .filter-count {
  position: absolute;
  top: -11px;
  right: -20px;
  width: 20px;
  text-align: left;
  font-size: 14px;
  color: #222222;
  transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
}
.dark-scheme .project_filters li a:focus, .dark-scheme .project_filters li a:active {
  color: #fff;
}
.isotope-item {
  z-index: 2;
}
.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}
/**** Isotope CSS3 transitions ****/
.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.6s;
  -moz-transition-duration: 0.6s;
  -ms-transition-duration: 0.6s;
  -o-transition-duration: 0.6s;
  transition-duration: 0.6s;
}
.isotope {
  -webkit-transition-property: height, width;
  -moz-transition-property: height, width;
  -ms-transition-property: height, width;
  -o-transition-property: height, width;
  transition-property: height, width;
}
.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
  -moz-transition-property: -moz-transform, opacity;
  -ms-transition-property: -ms-transform, opacity;
  -o-transition-property: -o-transform, opacity;
  transition-property: transform, opacity;
}
/**** disabling Isotope CSS3 transitions ****/
.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
  -moz-transition-duration: 0s;
  -ms-transition-duration: 0s;
  -o-transition-duration: 0s;
  transition-duration: 0s;
}
/* End: Recommended Isotope styles */
/* project carousel */
.project-slider .octf-swiper-pagination {
  margin-top: 30px;
}
.project-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 100px;
}
.single-portfolio-navigation {
  padding-top: 42px;
}
.single-portfolio-navigation .post-nav {
  margin-bottom: 0;
}
.portfolio-related-posts-wrap {
  padding-top: 70px;
}
.portfolio-related-title-wrap h2 {
  margin-bottom: 30px;
}
@media only screen and (min-width: 1025px) {
  .portfolio-related-posts-wrap .octf-swiper-pagination {
    display: none;
  }
}
@media only screen and (max-width: 1199px) {
  .projects-grid.pf_5_cols .grid-sizer,
.projects-grid.pf_5_cols .project-item,
.projects-grid.pf_4_cols .grid-sizer,
.projects-grid.pf_4_cols .project-item {
    width: 33.333333%;
  }
  .projects-grid.pf_5_cols .grid-sizer.thumb2x,
.projects-grid.pf_5_cols .project-item.thumb2x,
.projects-grid.pf_4_cols .grid-sizer.thumb2x,
.projects-grid.pf_4_cols .project-item.thumb2x {
    width: 66.666666%;
  }
}
@media only screen and (max-width: 1024px) {
  .project-bottom {
    padding-bottom: 60px;
  }
}
@media only screen and (max-width: 992px) {
  .project-item,
.grid-sizer,
.projects-grid.pf_5_cols .grid-sizer,
.projects-grid.pf_5_cols .project-item,
.projects-grid.pf_4_cols .grid-sizer,
.projects-grid.pf_4_cols .project-item {
    width: 50%;
  }
  .project-item.thumb2x,
.grid-sizer.thumb2x,
.projects-grid.pf_5_cols .grid-sizer.thumb2x,
.projects-grid.pf_5_cols .project-item.thumb2x,
.projects-grid.pf_4_cols .grid-sizer.thumb2x,
.projects-grid.pf_4_cols .project-item.thumb2x {
    width: 100%;
  }
}
@media only screen and (max-width: 768px) {
  .projects-box .portfolio-info {
    right: 0;
    opacity: 1;
  }
  .projects-style-1 .projects-box .portfolio-info .portfolio-info-inner {
    padding: 30px;
  }
  .projects-style-1 .projects-box .portfolio-info h5 {
    font-size: 20px;
  }
  .projects-style-1 .projects-box .portfolio-info .portfolio-cates {
    font-size: 12px;
  }
  .project_filters {
    gap: 12px;
  }
  .translatepress-zh_HK .project_filters {
    gap: 20px;
  }
}
@media only screen and (max-width: 600px) {
  .project-item,
.grid-sizer,
.projects-grid.pf_5_cols .project-item,
.projects-grid.pf_4_cols .project-item,
.projects-grid.pf_2_cols .project-item {
    width: 100%;
  }
  .portfolio-related-title-wrap h2 {
    font-size: 30px;
  }
}

/*--------------------------------------------------------------
## Portfolio
--------------------------------------------------------------*/

.project-slider {
  text-align: center;
}
.projects-box .projects-thumbnail {
  position: relative;
}
.projects-box .projects-thumbnail .overlay {
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0px;
  cursor: pointer;
  border-radius: 20px;
}
.projects-box .projects-thumbnail .overlay i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -webkit-transform: translateY(-50%) translateX(-50%);
  -ms-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
  background: #000;
  color: #fff;
	opacity:0;
}
.projects-box .projects-thumbnail:hover  .overlay i{
	opacity:1 !important;
}
.projects-box .projects-thumbnail .overlay i:before {
  font-size: 22px;
}
.projects-box .projects-thumbnail .overlay i:hover {
  -webkit-transform: translateY(-50%) translateX(-50%) rotate(90deg);
  -ms-transform: translateY(-50%) translateX(-50%) rotate(90deg);
  transform: translateY(-50%) translateX(-50%) rotate(90deg);
}
.projects-box .projects-thumbnail:hover .overlay {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 680px) {
	.eshop-annual-plan .eael-advance-tabs .eael-tabs-nav>ul li {
		width: 100%;
	}
	.eshop-annual-plan .eael-advance-tabs .eael-tabs-nav>ul:before {
		content: attr(data-before);
		font-size: 16px;
		color: #fff;
		padding: 12px 30px;
		border: 1px solid #FFD400;
		background-color: #FFD400;
		width: 100%;
		text-align: center;
		transition: .3s ease-in;
		border-radius: 10px;
	}
	.eshop-annual-plan .eael-advance-tabs .eael-tabs-nav>ul:after {
		content: '';
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    width: 11px;
    height: 11px;
    top: 17px;
    position: absolute;
    right: 30px;
    transform: rotate(315deg);
	}
	.eshop-annual-plan .eael-advance-tabs .eael-tabs-nav>ul {
		overflow: hidden;
		height:52px;
	}
	.eshop-annual-plan .eael-advance-tabs .eael-tabs-nav>ul.active {
		height: auto;
	}
	
	.eshop-annual-plan.eshop-annual-plan-mobile .slick-slider {
		display: grid
	}
	.eshop-annual-plan.eshop-annual-plan-mobile .slick-slider .slick-dots {
		order: -1;
	}
}
.ak-custom-plan-slider {
	overflow-x: scroll;
	padding: 20px 0;
	/* width */
	&::-webkit-scrollbar {
	  width: 20px;
	}

	/* Track */
	&::-webkit-scrollbar-track {
	  background-color: grey; 
	  border-radius: 10px;
	}

	/* Handle */
	&::-webkit-scrollbar-thumb {
	  background: #3c5caa; 
	  border-radius: 10px;
	}

	/* Handle on hover */
	&::-webkit-scrollbar-thumb:hover {
	  background: #63aae1; 
	}
}
.ak-custom-plan-slider > div{
	display: flex;
	width: max-content;
	gap: 20px;
	flex-wrap: nowrap;
}
.ak-custom-plan-slider .ak-pricing-card {
	max-width: 47vw;
	width: 47vw;
}
@media (max-width: 768px) {
	.ak-custom-plan-slider > div{
	gap: 10px;
		padding: 0 !important;
}
	.ak-custom-plan-slider .ak-pricing-card {
		max-width: calc(100vw - 30px);
		width: calc(100vw - 30px);
	}
}
header.elementor-sticky--active {
	background-color: #fff !important;
}
.ak-icon-box figure {
	background: #FFD400;
	box-shadow: 2px 2px 0 0 #000;
	padding: 10px;
	max-width: 70px !important;
	max-height: 70px !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
}
.ak--step-hover {
	position: relative;
	z-index: 1
}
.ak--step-hover:hover:after {
	content: '';
	left: -12px;
	right: 12px;
	top: 12px;
	bottom: -12px;
	border: 2px solid #000;
	position: absolute;
	z-index: -1;
	border-radius: 12px;
}
.ak--step-hover:hover h1 {
	color: #000 !important;
	text-shadow: 0 0 2px #FFD400 !important;
}

*:not(i) {
	font-family: "Rubik", Sans-serif !important;
}