/**
Theme Name: Presti
Author: Alber
Author URI: https://presti.wine
Description: Presti
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: Presti
Template: astra
*/

@import url('../astra/style.css');

/*logo h&w*/
       .custom-logo {width: 120px;}
@media (max-width: 544px){
       .custom-logo {width: 100px;}
       }
.site-footer a, .woocommerce-MyAccount-navigation a{color: var(--ast-global-color-3);}
.site-footer a:hover{color: var(--ast-global-color-1);}
/*footer*/
.site-footer li {list-style-type: none;}
/*移动端菜单横线*/
.ast-header-break-point .main-header-menu {border-top-width: 0!important;}
/*移动端菜单按钮*/
.ast-button-wrap .menu-toggle.main-header-menu-toggle {padding: 0.36em!important;}
.ast-header-account, .ast-header-break-point .ast-header-button-1[data-section="section-hb-button-1"] {display: inline-block;}
/*删除标题上方4em间隔*/
#primary {margin: 0;}
.ast-separate-container.ast-right-sidebar #primary, .ast-separate-container.ast-left-sidebar #primary, .ast-separate-container #primary, .ast-plain-container #primary, .ast-narrow-container #primary {margin-top: 30px;}
@media only screen and (max-width: 768px){
	.ast-plain-container #primary {margin-top: 1rem;}
	}
#primary, #secondary {padding: 0 0;}
/*調整標題上方-盒式內容*/
.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single{padding-top: 0!important;}
/*增加商品标题上方3em间隔*/
.woocommerce div.product {padding-top: 3em;}

/*商品页购买按钮 */
.woocommerce div.product form.cart .button.single_add_to_cart_button {
    padding: 15px 20px; }
.woocommerce form .button.single_add_to_cart_button {
    margin-left: 0;}

/*存档页文字图片比例调整*/
@media (min-width: 768px){
   .ast-no-thumb{grid-template-columns: auto !important;}
   .blog-layout-2{display: grid;grid-template-columns: 70% auto;grid-gap: 10px;}
   .ast-col-md-6 {width: 100%;}
	}
/*存档页标题下方介绍文字的大小*/
.ast-archive-description p {font-size: 1.1rem;}
/*作者主页头像左侧距离*/
@media (min-width: 922px){
.ast-author-box {grid-gap: 1em;}
}
/*搜索结果*/
.no-results form{display: none;}
/*Gravity 取消表單下拉框高度限制*/
.gform_wrapper select {height: auto !important;min-height: 2.2em;}
/**/
.page-title{font-size: 30px;color: var(--ast-global-color-0)}
/*shop页面 去掉中间线*/
@media (min-width: 922px){
.ast-left-sidebar #primary {
    border-left: 0px solid var(--ast-border-color);}
.ast-left-sidebar #secondary {
		border-right: 0px solid var(--ast-border-color);}
}
/*删除侧边栏的竖线*/
.ast-right-sidebar #primary {
    border-right: 0px solid var(--ast-border-color) !important;
}
.ast-right-sidebar #secondary {
    border-left: 0px solid var(--ast-border-color) !important;
    margin-left: 0px !important;
}
/*home搜索框*/
.presti-search-wrapper{}
.presti-search-form{position: relative;}
.presti-search-form_container{}

.presti-search-form_input{
	width: 100%;
    outline: none;
	padding: 12px 50px 12px 12px!important;
    border-radius: 4px!important;
    text-overflow: ellipsis;
    background-position: 10px 16px!important;
    background-repeat: no-repeat!important;
    background: rgba(255, 255, 255, .8)!important;
}
.presti-search-form_container input:focus, input[type=search]:focus{outline: none!important; border:1px solid var(--ast-global-color-0);}
.presti-search-submit{
	background: transparent;
    border: 0 none;
    border-radius: 40px;
    padding: 12px 12px 8px;
    position: absolute;
    top: 0px;
    right: 0px;
}
.presti-search-submit:hover svg{fill: #fff;}
.presti-search-button-icon-wrap{
    display: inline-block;
    fill: currentColor;
    height: 24px;
    line-height: 24px;
    position: relative;
    width: 24px;
}
.presti-search-button-icon{color: #999999;}

@media only screen and (min-width: 768px){	
.presti-search-form{width: 50%;}
.presti-search-form_input{border-radius: 40px!important;padding: 16px 60px 16px 22px!important;}
.presti-search-submit{padding: 15px 15px 13px;}
}
.input_small{padding: 12px 60px 12px 12px!important;}
.submit_small{padding: 12px 12px 8px;}
/*Login 按钮*/
.ast-header-account-text{ padding: 7px 12px;
    border-radius: 3px;background: #f0f0f0;color: var(--ast-global-color-3);
}
.ast-header-account-text:hover{background: var(--ast-global-color-1);color:var(--ast-global-color-5)}
/*Login 窗口*/
.ast-hb-account-login-wrapper .ast-hb-account-login{border-radius: 4px;}
/*my-account 用户中心*/
body .woocommerce-MyAccount-navigation-link.is-active a {
    background-color: #f6f6f6;
    border-radius: 6px;
}
.woocommerce-MyAccount-navigation-link.is-active a {
    color: var(--ast-global-color-1) !important;font-weight: 500;
}
body .woocommerce-MyAccount-navigation-link {border: none !important;}
body .woocommerce-MyAccount-navigation-link a {
    display: block;
    padding: 0.8em 1em;
}
body .woocommerce-MyAccount-navigation-link a:hover{
	background-color: #f9f9f9;border-radius: 6px;
    color: var(--ast-global-color-1);font-weight: 500;
}
@media only screen and (min-width: 769px){
.woocommerce-account .woocommerce-MyAccount-navigation { width: 22%!important;}
.woocommerce-account .woocommerce-MyAccount-content { width: 72%!important;}
.woocommerce table.shop_table td.woocommerce-orders-table__cell-order-actions, .woocommerce-page table.shop_table td.woocommerce-orders-table__cell-order-actions {display: table-cell;}
}
.woocommerce table.shop_table, .woocommerce-page table.shop_table{border-left: none;border-right: none;}
.woocommerce-MyAccount-content table, .woocommerce-MyAccount-content td, .woocommerce-MyAccount-content th {border: none;}
/*我的账户、cart、checkout, shop页面标题*/
.woocommerce-page .page .entry-header, .woocommerce-products-header {
    margin: 0.8rem 0 1.5rem;
}
/*the_posts_pagination*/
.nav-links{/*display: inline-block;*/text-align: center;margin: 1px;}
.nav-links a{margin: 0;color: var(--ast-global-color-1);}
.nav-links a:hover{background-color: var(--ast-global-color-0);
    color: var(--ast-global-color-5)}
.nav-links .current{background-color: var(--ast-global-color-0);
    color: var(--ast-global-color-5)}
.nav-links .page-numbers{border: 1px solid var(--ast-global-color-0);
display: inline-block;
    position: relative;
    z-index: 1;
	width: 40px;
    height: 40px;
    line-height: 38px;border-radius: 50%;
}
.nav-links .dots{border: none;width: 16px!important;}
.nav-links .prev, .nav-links .next{}
@media only screen and (max-width: 768px){
	.nav-links .page-numbers{width: 32px;height: 32px;line-height: 30px;}
	
}