/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/*連結下底限*/
.ast-single-post .entry-content a{
	text-decoration: none;
}

.ast-single-post .entry-content a:hover{
	text-decoration: underline;
}

/*首頁-每條Post之間的ottom*/
.home .uagb-block-affd10ed .uagb-post-grid-byline,
.home .uagb-block-beaa4028 .uagb-post-grid-byline,
.home .uagb-bl
ock-35d7c140 .uagb-post-grid-byline
 {
    padding-bottom: 0px;
}

/*文章 Single 連結的下底線*/
.uagb-post-grid .uagb-post__title a:hover{
	text-decoration: underline;
}
	
/*==============
 Mobile
==============*/
@media only screen and (max-width: 767px){
	/*首頁-最新消息標題變大*/
	.wp-block-uagb-container.uagb-block-a080385c .wp-block-uagb-advanced-heading.uagb-block-c2071390 h4.uagb-heading-text{
			font-size: 24px;
			font-weight: 400;}
	/*頁面Banner的Overlay*/
	.wp-block-uagb-container.uagb-block-453e7dfa::before {
		opacity: 0.9;}
}

/*==============
Astra主選單
==============*/
.site-header{
	box-shadow: 0px 5px 5px -5px rgba(0, 0, 0, 0.2);
}

/*hover時的藍色下底線*/
.ast-desktop .ast-menu-hover-style-underline > .menu-item > .menu-link:hover::before{
	height: 2px;
}

/*==============
Astra大型選單
==============*/
/*第1層選單標題 */
.ast-hfb-header.ast-desktop .ast-builder-menu-1 .main-header-menu .menu-item.menu-item-heading > .menu-link{
	padding-bottom: 6px;
}

.main-header-menu .astra-megamenu a.menu-link:hover{
	text-decoration: underline;
}
.ast-builder-menu-1 .main-header-menu .astra-megamenu > li > a.menu-link{
	position: relative;
	margin-bottom: 24px;
}

.astra-megamenu > li > a::after{
	content: "";
	position: absolute;
	width: 35%;
	left: 0;
	bottom: -6px;
	height: 2px;
	background-color: #ffd100;
}

/*第1層選單標題作用中的顏色(不設為黑)*/
.ast-desktop .main-header-menu .astra-megamenu-li .sub-menu .menu-item.current-menu-ancestor>.menu-link{
	color: #00a3e0;
}
	

/*第2層選單標題(自訂CSS) */
.ast-builder-menu-1 .main-header-menu ul.sub-menu > li.mega-second-title > a.menu-link{
	color: #00a3e0;	
}

/*第3層選單的左邊縮排 */
.ast-desktop .ast-mega-menu-enabled .astra-megamenu-li:hover .astra-megamenu .astra-nested-sub-menu .menu-item .menu-link{
	padding-left: 0;
	/*font-size: 14px;*/
}

.ast-desktop .ast-mega-menu-enabled .astra-megamenu-li:hover .astra-megamenu .astra-nested-sub-menu .menu-item:last-child .menu-link{
	margin-bottom: 16px;
}

/*==============
off-canvas
==============*/
/*第二層active狀態*/
@media (max-width: 544px){
	.ast-builder-menu-mobile .main-header-menu.ast-nav-menu .sub-menu .menu-item .menu-link:hover{
		color: #ffffff;
		background: #0a55d7;
	}
	
	.ast-builder-menu-mobile .main-header-menu.ast-nav-menu .sub-menu .menu-item .menu-link:active{
		color: #ffffff;
		background: #0a55d7;
	}
}



/*==============
產品分類選單
==============*/
/*第1層*/
.archive.post-type-archive .wp-block-navigation-item.current-menu-item a{
	color: #ffffff;
    background: #0A55D7;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
}

/*針對子分類，已用JS在子分類上加上主分類Class Name修改".term-xxxxxx"*/
.archive.term-green-energy ul.wp-block-navigation__container li:nth-child(2),
.archive.term-agent-products ul.wp-block-navigation__container li:nth-child(3),
.archive.term-repair-overhaul-service ul.wp-block-navigation__container li:nth-child(4),
.archive.term-smc-parts ul.wp-block-navigation__container li:nth-child(5){
	color: #ffffff;
    background: #0A55D7;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
}

/*==============
產品篩選器
==============*/
.ast-filter-wrap ul{
	text-indent: 0em; 
}

/*第一層*/
.ast-filter-wrap ul.wc-block-product-categories-list--depth-0>li{
	margin-bottom: 24px;
}
.ast-filter-wrap ul.wc-block-product-categories-list--depth-0>li>a{
	font-size: 18px;
	margin-bottom: 8px;
	color:#0a55d7;
	display: inline-block;
}

/*第二層*/
.ast-filter-wrap ul.wc-block-product-categories-list--depth-1>li{
	margin-bottom: 8px;
}
.ast-filter-wrap ul.wc-block-product-categories-list--depth-1>li>a{
	font-size: 16px;
}

/*第三層*/
.ast-filter-wrap ul.wc-block-product-categories-list--depth-2{
	list-style: disc;
	margin-bottom: 16px;
}

.ast-filter-wrap ul.wc-block-product-categories-list--depth-2>li{
	margin-bottom: 8px;
	padding: 0px;
}

.ast-filter-wrap ul.wc-block-product-categories-list--depth-2>li>a{
	font-size: 14px;
}

/*==============
單項商品
==============*/
.woocommerce-js div.product .woocommerce-tabs ul.tabs{
	margin: 0 0 2em;
	font-size: 18px;
	letter-spacing: 1px;
}
.woocommerce-js div.product .woocommerce-tabs ul.tabs li.active::before{
	width: 50px;
}

.ast-article-single img{
	box-shadow: unset;
	-webkit-box-shadow: unset;
}

/*產品圖庫Focus狀態的框線色彩*/
.ast-woocommerce-product-gallery__image.flex-active-slide:after{
	border: 1px solid #D1D5DB;
}

/*==============
WPForms 通用
==============*/
div.wpforms-container-full button[type=submit]:not(:hover):not(:active){
	background-color: #00a3e0;
}

div.wpforms-container-full button[type=submit]:hover{
	background-color: #00a3e0;
}

/*==============
Tablepress 通用
==============*/
table.tablepress{
	border-bottom: 2px solid #ddd;
}

.tablepress thead th,
.tablepress thead td{
  background-color: #00a3e0;
  color: white;
  padding: 10px 16px;
}

.tablepress>:not(caption)>*>*{
	padding: 8px;
	text-align: center;
    vertical-align: middle;
}

/*條紋zebra-striping*/
.zebra-striping tr:nth-child(even){
	background: #f9f9f9;
}
	
/*表格靠左tablePress-align-left*/
.tablePress-align-left{
	margin-left: 0;
}
/*整份表格都有框線tablePress-border-all*/
.tablePress-border-all tbody td{
	border: 1px solid #ddd;
}

.tablePress-border-all thead td,
.tablePress-border-all thead th{
	border-right: 1px solid #add;
}

.tablePress-border-all thead tr{
	border: 2px solid #00a3e0;
}
/*表格寬度tablePress-w50*/
.tablePress-w50{
	width: 50%;
}
/*表格寬度tablePress-w80*/
.tablePress-w80{
	width: 80%;
}

@media only screen and (max-width: 767px){
	.woocommerce-tabs.wc-tabs-wrapper table{
		width: 100%;
		display: block;
    overflow-x: auto;
    white-space: nowrap;
	}
}







