/* Fixes */
.otgs-development-site-front-end {
	display: none;
}

.gutentor-post-item .gutentor-post-title a {
	color: #fff;
}

body {
    display: block !important;
}

.language-wrapper ul, .wpml-ls-legacy-list-horizontal > ul {
	padding-top: 0px;
}

.wpml-ls-statics-shortcode_actions ul {
	flex-wrap: nowrap !important;
}

.buttonizer {
	 right: 20px !important;
   bottom: 100px !important;
}

@media(max-width:985px) {
	.buttonizer {
	   right: 20px !important;
     bottom: 20px !important;
	}
}

/* Contact form */
.contact-box .contact-column {
	color: #fff;
}

.contact-box .wpcf7-select {
	width: 100%;
}

/* Special header for homepage */

.home.admin-bar header {
	top: 32px;
}

/* Special for online payment */

.postid-1058 .woocommerce-product-gallery, .postid-1058 .woocommerce-form-coupon-toggle {
	display: none;
}

.wcopc-product-single #opc-messages, .wcopc-product-single #opc-product-selection, .wcopc-product-single #order_review_heading, .wcopc-product-single .opc_order_review, .wcopc-product-single #payment.woocommerce-checkout-payment {
	display: block;
}

.postid-1058.woocommerce div.product div.summary {
	width: 100%;
}

.postid-1058 #ppc-button, .wc_payment_methods > .payment_method_ppcp-credit-card-gateway {
	display: block !important;
}

.woocommerce-nyp-message .wc-nyp-error {
	display: inline-block;
}

.woocommerce-customer-details dl { 
margin-top: 10px;
}

.woocommerce-customer-details dl dd {
	padding-left: 0px;
}

/* remove next/previous below single posts */

.single-nav-wrapper {
    display: none;
}

/* Form */
.event-registration-form {
	  background-color: #fff !important;
    padding: 40px !important;
    max-width: 700px !important;
	    margin: 24px 0px !important;
}

.event-registration-form .wpforms-field-divider {
	  border-top: 1px solid #dadada !important;
    margin-top: 30px !important;
}

.event-registration-form .wpforms-field-description {
	font-size: 16px !important;
}

.event-registration-form .main-title{
	border-top: 0px !important;
}

.event-registration-form .main-title h3 {
	font-size: 27px !important;
	margin-top:0px !important;
	border-top: 0px !important;
}


.error-404 .page-title {
    font-size: 30;  /* Hide original text */
}

.error-404 .page-title:after {
    content: "This page is currently under maintenance.";
    font-size: 0px;  /* Restore font size */
}

@media (max-width: 985px) {
    .buttonizer {
			right: 10px !important;
			bottom: 80px !important;
	}
}


/* 只针对包含电话链接的子菜单 */
ul.sub-menu:has(a[href^="tel:"]) {
    min-width: 200px !important;
    width: auto !important;
}

/* 确保电话链接不换行 */
ul.sub-menu:has(a[href^="tel:"]) a {
    white-space: nowrap !important;
    display: block !important;
}

/* 只在移动端隐藏电话菜单的父级标题文字，但保留图标 */
@media (max-width: 768px) {
    #menu-item-33952 > a,
    #menu-item-47964 > a,
    #menu-item-34419 > a {
        font-size: 0 !important;
        color: transparent !important;
        text-indent: -9999px !important;
    }

    /* 确保图标在移动端仍然显示 */
    #menu-item-33952 > a.active::before,
    #menu-item-47964 > a.active::before,
    #menu-item-34419 > a.active::before {
        font-size: initial !important;
        color: initial !important;
        display: inline-block !important;
        text-indent: 0 !important;
        position: absolute !important;
        left: 5% !important;
        transform: translateX(-50%) !important;
    }
}