/**
Theme Name: HKS Child Theme
Author: Hundred Kit Studio
Author URI: http://www.hundredkitstudio.com
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
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: astra
*/


/*Global-Container*/
#primary{margin:20px 10px 50px 10px!important;}
.archive #primary, .single #primary{margin:50px 10px 50px 10px!important;}
.home #primary, .page-id-928 #primary, .page-id-2222 #primary{margin:0px!important;}
@media (max-width:960px){
	#primary{margin:0px 10px 50px 10px!important;}
}


/*Global-Heading*/
.uagb-heading-text{padding-bottom:20px;}
.ico-title .uagb-heading-text{padding-bottom:0!important;}
/*Global-List*/
/*ul.uniform-list, ol.uniform-list{padding-left:0;}*/
#primary .entry-content ul, #primary .entry-content ol{padding-left:1.3em;padding-bottom:20px;}
#primary .entry-content li>ul{padding-left:2em;}
#primary .entry-content li>ul>li,  #primary .entry-content ol>li{padding-bottom:10px;}
#primary .wp-block-uagb-container ol{padding-left:0;padding-bottom:20px;}
#primary .wp-block-uagb-container ul{padding-left:0;}


/*Body Move*/
html, body {width: auto!important; overflow-x: hidden!important} 



/*Sticky Header*/
.ast-below-sticky-header-active .ast-below-header-wrap .ast-below-header{padding:10px;}
/*Sticky Header Logo*/
.ast-sticky-below-shrink .ast-sticky-shrunk .site-logo-img img{max-height:100%!important;}
/*Header*/
.ast-site-identity, .ast-sticky-main-shrink .ast-sticky-shrunk .main-header-bar .ast-site-identity{padding:10px 0px!important;}
/*Header- Desktop Responsive Fix*/
@media (max-width:975px){
	#ast-desktop-header{display:none;}
}
/*Header- Site Title Hidden*/
.ast-site-title-wrap{display:none;}








/*Sidebar*/
/*Sidebar-Causing Container Stetch Problem*/
.ast-plain-container.ast-right-sidebar .entry-content[ast-blocks-layout] .alignfull, .ast-plain-container.ast-left-sidebar .entry-content[ast-blocks-layout] .alignfull{margin-left:0!important;margin-right:0!important;}

/*Sidebar-Categories*/
.wp-block-categories-list li, #secondary nav li{
	background:#fff;
	border-radius:4px;
	padding:10px 20px;
}
.wp-block-categories-list li, #secondary nav li:hover, .wp-block-categories-list li, #secondary nav li.current-menu-item{
	background: var(--ast-global-color-4);
}

.wp-block-categories-list li>a, #secondary nav li>a{font-size:20px;font-weight:500;}
.ast-right-sidebar #primary{padding-right:20px;}
.ast-right-sidebar #secondary{padding-left:20px;}

@media(max-width:922px){
	.ast-right-sidebar #secondary{display:none;}
}


/*Page Title*/
.page header.entry-header .entry-title{display:none;}
.cus_page_title p, .cat_title_container p{
	margin-bottom:0;
	color:#fff;
	font-size:25px;
	line-height:1.2em;
	font-weight:600;
}
.ast-archive-description{display:none;}



/*Spectra Post Carousel*/
/*Spectra Post Carousel-Image*/
.uagb-post-grid .uagb-post__image img{height:200px!important;object-fit: cover!important;} 
@media (max-width:768px){
	.uagb-post-grid .uagb-post__image img{height:300px!important;}
}
/*Spectra Post Carousel-Category*/
.uagb-post-grid .uagb-post__inner-wrap .uagb-post__taxonomy.highlighted{margin-bottom:10px;pointer-events:none;}




@media (max-width:768px){
.uagb-post-grid a.wp-block-button__link.uagb-text-link{position:relative;bottom:0;}
.uagb-post-grid  time{position:relative;bottom:0;}
}


/*Calendar*/
/*Calendar-Style*/
#wpsc-block-calendar .wpsc-calendar table{background:transparent!important;}
#wpsc-block-calendar .wpsc-calendar-weekday{background:var(--ast-global-color-7)!important;color:var(--ast-global-color-2)!important;font-weight:500!important;}
#wpsc-block-calendar .wpsc-calendar-heading{
	font-size:20px!important;
	background:var(--ast-global-color-1)!important;
	color:#fff!important;
	padding:10px!important;
	border-radius:4px 4px 0  0!important;
}

/*Tablepress*/
.tablepress>:where(thead,tfoot)>*>th{background:var(--ast-global-color-0);color:#fff;}

/*Default Table*/
.wp-block-table td, .wp-block-table th{vertical-align:top!important;}
.wp-block-table td{background:#fff;border:3px solid #e6e6e6;}
.wp-block-table tr:nth-child(even) td{background-color:#fff4cb!important;}
.wp-block-table thead th{background:var(--ast-global-color-1);border:0;color:#fff;}
.wp-block-table thead tr{border-bottom:3px solid var(--ast-global-color-4)!important;}
.wp-block-table tbody:before{content:"";}


/*Blog*/
@media (min-width:768px){
.blog-layout-3 .post-content{padding-left:2em;}
}
/*Blog-Featured Image*/
.archive img.attachment-large.size-large.wp-post-image{width:600px;height:300px;object-fit:cover;}
/*Blog-Title*/
.archive .entry-title a:hover{color:var(--ast-global-color-0);}
/*Blog-Pagination*/
.ast-pagination{text-align:left;padding:0;}
.ast-pagination .next.page-numbers, .ast-pagination .prev.page-numbers{float:none;padding:0 10px;}
a.page-numbers, span.page-numbers, span.page-numbers.current{border-radius:4px!important;}
span.page-numbers, a.page-numbers{text-align:center;background:#fff;}
span.page-numbers.current{background:var(--ast-global-color-4)!important;color:var(--ast-global-color-1)!important;}

/*Spectra Blog Grid*/
/*Spectra Blog Grid-Container*/
article.uagb-post__inner-wrap{border-radius:4px!important;}
/*Spectra Blog Grid-Pagination*/
h5.uagb-post__title.uagb-post__text:hover{color:var(--ast-global-color-0);}
span.page-numbers.current, a.page-numbers{border-radius:4px;}
/*Spectra Blog Grid-Image Padding Fix*/
.wp-block-uagb-post-grid .uagb-post__image{margin:-20px -20px 0 -20px!important;}


/*History*/
.uagb-timeline__day-right{background:#fff4cb!important;}
.uagb-timeline__day-right .uagb-timeline__arrow:after{border-left-color:#fff4cb!important;}


/*Subject*/
.subject-container {
	background-color:#fff;
	background-image:url("https://hy.hundredkitstudio.com/wp-content/uploads/2023/07/hoyu_pattern_1-min.png");
	background-size:cover;
	border-radius:4px;
}
.subject-container:hover{opacity:0.7;}




/*Landing*/
.landing-map{margin-top:-30px;}










/*Footer*/
/*Social Icon*/
.wp-block-social-links .wp-social-link svg{width:1.6em;height:1.6em;}
/*Map*/
iframe.footer-map {margin:auto 0;}





/*-------------------*/

/*Font*/
/*Widget Title*/
/*#hy-sidebar h5{font-family:'Noto Sans TC', sans-serif;}*/



/*Sidebar*/
/*#hy-sidebar li{list-style:none;margin:10px 0;}
#hy-sidebar ul{margin:0;}*/




/*Popup*/
/*.pum-theme-707 .pum-content + .pum-close, .pum-theme-default-theme .pum-content + .pum-close{font-family: "Font Awesome 5 Free";}*/

