/**
Author: 迪亚莫科技有限公司
Author URI: https://diiamo.cn
Description:添加自定义CSS到前台
*/

@media (min-width: 1025px){
.ast-above-header-wrap {
    background-color: #00ad00;
}
.ast-above-header-bar{
border-bottom:none!important;		
}	
.ast-above-header-bar.ast-above-header.site-header-focus-item, .ast-primary-header-bar.ast-primary-header.main-header-bar.site-header-focus-item {
    max-width: 1440px!important;
	  margin: auto;
}	

.ast-main-header-wrap.main-header-bar-wrap {
    max-width: 1920px;
    background: white;
	 box-shadow: 0 1px 4px #0000001a;
	 margin: auto;
}	
	
.ast-container, .ast-container-fluid {
margin-left: auto;
margin-right: auto;
padding-left:60px;
padding-right: 60px;
}
.trp-language-switcher-container ul.sub-menu{
	width: 110px!important;	
	text-align: center;
}
	
.ast-desktop .ast-primary-header-bar.main-header-bar, .ast-header-break-point #masthead .ast-primary-header-bar.main-header-bar {
    padding-left: 10px!important;
    padding-right: 10px!important;
}
	
/*超级菜单*/
.ast-desktop .ast-mm-custom-text-content, .ast-desktop .ast-mm-template-content, .ast-desktop .ast-mega-menu-enabled .astra-megamenu-li:hover .astra-megamenu {
    padding: 0!important;
}
a.jet-custom-nav__item-link.menu-link:after{
position: absolute;
right: 14px;
width: 20px;
height: 20px;
background-size: 20px;
background-image: url(https://reedee.com/wp-content/uploads/2023/05/Right-angle.svg)!important;
background-repeat: no-repeat;	
}	
span.jet-menu-link-text {
    display: inline!important;
}
i.jet-dropdown-arrow.fa.fa-chevron-right{
    top:16px!important;		
}
	
.jet-custom-nav__item-2486 > .jet-custom-nav__mega-sub, .jet-custom-nav__item-2525 > .jet-custom-nav__mega-sub, .jet-custom-nav__item-2529 > .jet-custom-nav__mega-sub, .jet-custom-nav__item-2532 > .jet-custom-nav__mega-sub{
		visibility:visible!important;	
		opacity:1!important;
	   pointer-events:auto!important;
}	
	
.jet-custom-nav__mega-sub, .jet-custom-nav__sub{
	box-shadow: none!important;	
}
.elementor-widget-container > div > .jet-custom-nav > .jet-custom-nav__item > .jet-custom-nav__mega-sub {
    padding-top: 20px!important;
}
	
.jet-custom-nav__mega-sub .elementor-image-box-title a, .jet-custom-nav__mega-sub .elementor-heading-title a{
color:#1B1B1B!important;		
}	
.jet-custom-nav__mega-sub .elementor-widget-image-box .elementor-image-box-wrapper:hover .elementor-image-box-title a, .jet-custom-nav__mega-sub .elementor-heading-title a:hover{
color:var(--ast-global-color-6)!important;		
}

span.jet-menu-badge__inner{
font-weight: 500!important;
border-radius:3px!important;	
}	
.hotred:after{
content: 'HOT';
position: absolute;	
top: 0;
right: 0;
color: #fff;
font-size: 12px;
font-weight: 500;
padding: 1px 6px;
transform: translateX(15px);	
background-color:#FF1E1E;
border-radius:3px!important;
}
.jet-custom-nav__item-2528 .jet-menu-badge__inner, .jet-custom-nav__item-2534 .jet-menu-badge__inner{
background-color:var(--ast-global-color-6)!important;		
}	

.newgreen:after{
content: 'NEW';
position: absolute;	
top: 0;
right: 0;
color: #fff;
font-size: 12px;
font-weight: 500;
padding: 1px 6px;
transform: translateX(15px);	
background-color:var(--ast-global-color-6)!important;
border-radius:3px!important;
}
	
.jet-custom-nav__mega-sub, .jet-custom-nav__mega-sub .elementor-element.e-con-boxed.e-flex.e-con {
    height: 100%!important;
}
	
#menu-item-2475 .elementor-heading-title a{
color:#1B1B1B!important;		
}
#menu-item-2475 .elementor-heading-title a:hover{
color:var(--ast-global-color-6)!important;	
}
	
/*翻译菜单*/
.site-header {
    z-index: 99!important;
}
#menu-item-2447	ul.sub-menu{
	background-color: #fff!important;	
}
#menu-item-2447	ul.sub-menu li{
	background-color:var(--ast-global-color-6);
}
#menu-item-2447	ul.sub-menu li:hover, #menu-item-2447 ul.sub-menu li:hover > .menu-link{
	background-color:#00ad0085!important;
}	
	
}
	
@media (min-width: 768px) and (max-width: 1024px) {
.ast-container, .ast-container-fluid {
margin-left: auto;
margin-right: auto;
padding-left:30px;
padding-right: 30px;
}
	
/* 平板端购物车 */
.astra-cart-drawer.open-right {
width: 50%!important;
}
#customer_login{
padding: 0;
}	
}

@media (min-width: 768px){
/* 页脚项目排列 */
.footer-widget-area[data-section=sidebar-widgets-footer-widget-4] .footer-widget-area-inner {
text-align: right;
}	
.site-footer-section{
    text-align: right;
}	
	.footer-widget-area.widget-area.site-footer-focus-item{
		margin-left:0;
	}	
.site-footer-section .footer-widget-area-inner.site-info-inner {
    display: inline-block;
}	
[data-section=section-fb-social-icons-1] .footer-social-inner-wrap {
    text-align: right;
}
.ast-search-box.header-cover .search-field {
    font-size: 25px!important;
}	
}

@media (max-width:1024px) {
.ast-logo-title-inline .ast-site-identity {
justify-content: center!important;
}
/* 搜索输入框往图标右侧移动 */
.ast-search-menu-icon.slide-search .search-form{
	right: -10px!important;
}
#ast-fixed-header .main-header-bar {
    box-shadow: 0 1px 2px rgba(0,0,0,.2)!important; 
	 border-bottom:none!important;
}	
}
	
@media (max-width: 767px) {		
.ast-container, .ast-container-fluid {
margin-left: auto;
margin-right: auto;
padding-left:18px;
padding-right: 18px;
}	
.ast-separate-container #content .ast-container {
padding-left: 0!important;
padding-right: 0!important;
}
/* 手机端顶部绿色背景栏目*/
.ast-above-header .site-header-above-section-left .ast-custom-button{
padding:0!important;		
}	
	
/* 手机端菜单右边间隙*/
.ast-builder-menu-1 .main-header-menu, .ast-header-break-point .ast-builder-menu-1 .main-header-menu {
margin-right: 0px;
}
/* 手机端菜单头像大小*/
.ast-header-account-wrap .ast-header-account-type-avatar .avatar {
width: 30px!important;
}
/* 手机端购物车*/	
.astra-cart-drawer.active {
width: 85%!important;
}	
/* 手机端菜单文字大小*/
.ast-builder-menu-1 .menu-item > .menu-link {
font-size: 14px!important;
}
/* 购物车菜单图标大小*/
.ast-cart-menu-wrap .count {
min-width: 1.9em!important;
min-height: 1.9em!important;
font-size: 14px!important;
}
/* 手机端菜单LOGO右侧间隙*/
.ast-logo-title-inline .site-logo-img {
padding-right: 0px;
}
/* 手机菜单购物车左侧间隙*/
.ast-builder-layout-element.site-header-focus-item.ast-header-woo-cart {
padding-left: 2px!important;
}
/* 手机端个人中心2版块间隙*/	
.woocommerce-MyAccount-content {
margin-top:50px;
}
/*cookies bar*/	
div#eu-cookie-bar {
    bottom: 0!important;
	 line-height: 30px;
	 width: 100%!important
    border-radius: 0!important;
	 font-size: 13px!important;
	 padding: 3px 20px 10px!important;
	border-radius: 0!important;
}	
button#euCookieAcceptWP {
    margin-right: 10px!important;
}	

/* 手机端页脚*/
/* 手机端版权版块左右间距*/
.site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row, .site-below-footer-wrap[data-section="section-below-footer-builder"] .ast-builder-grid-row {
padding-left: 18px;
padding-right: 18px;
}
/* 手机端版权版块上下间距*/	
.site-below-footer-wrap[data-section="section-below-footer-builder"].ast-footer-row-mobile-stack .site-footer-section {
display: block;
margin-bottom: 0px;
}
/* 手机端页脚2,3版块并列显示*/
.site-primary-footer-wrap .ast-builder-grid-row {
display: block;
}

.site-footer-primary-section-1.site-footer-section.site-footer-section-1 {
padding-bottom: 30px;
}

.site-primary-footer-wrap .site-footer-section-2, .site-primary-footer-wrap .site-footer-section-3{
margin-bottom:40px!important;
}

.site-footer-primary-section-2{
max-width: 50%!important;
float:left;
}
.site-footer-primary-section-3{
max-width: 50%!important;
float:right;
}
.site-footer-section-4{
display: block!important;
clear: both;		
}	

#ast-mobile-header .ast-search-wrapper .ast-container {
    padding: 0 7px 0 21px!important;
}
.ast-search-box.header-cover .search-field {
    font-size: 21px!important;
}	
}	
@media (min-width: 922px) {
    .ast-primary-header-bar {
        border-bottom-color: #ffffff00!important;
    }
}


#ast-fixed-header .main-header-bar {
    box-shadow: none!important;
}
address, cite {
    font-style: normal!important;
}
.header-social-inner-wrap.element-social-inner-wrap.social-show-label-false.ast-social-color-type-custom.ast-social-stack-none.ast-social-element-style-filled {
    display: flex!important;
}
/* 页眉内容上下居中*/
.site-primary-header-wrap.ast-builder-grid-row-container.site-header-focus-item.ast-container {
    display: grid;
}

/* 取消Astra logo高度限制*/	
.astra-logo-svg:not(.sticky-custom-logo .astra-logo-svg,.transparent-custom-logo .astra-logo-svg,.advanced-header-logo .astra-logo-svg) {
    height:auto;
}

/*询盘按钮背景色闪烁*/
.elementor-element-21bd9ffc > .elementor-widget-container{
animation:colorchangedm 1300ms infinite;
-webkit-animation:colorchangedm 1300ms infinite;	
}
.elementor-element-21bd9ffc > .elementor-widget-container:hover{
animation:colorchangedm2 0ms!important;
-webkit-animation:colorchangedm2 0ms!important;	
}

@keyframes colorchangedm{
    0% { background-color:#1e853887;!important }
    50%{background-color:#1e8538c9;!important}
    100% { background-color:#1e8538;!important }
}

@-webkit-keyframes colorchangedm{
    0% { background-color:#1e853887;!important }
    50%{background-color:#1e8538c9;!important}
    100% { background-color:#1e8538;!important }
}

body {
    max-width: 1920px;
    margin: 0 auto!important;
}
a:focus {
outline:none!important;
-moz-outline:none!important;}

html,body{
-webkit-tap-highlight-color: rgba(0,0,0,0);}

a:focus, input:focus, p:focus, div:focus, .ast-menu-toggle:focus{
-webkit-tap-highlight-color:rgba(0,0,0,0);
outline:none!important;
-moz-outline:none!important;
}
	
a:hover{
	text-decoration:underline;
}
.site-title a:hover{
	text-decoration:none;
}
	
.site-header a *{
   transition: all .02s linear!important;
}	
	
.ast-container {
max-width: 1440px;
}
.e-container {
--container-max-width: 1440px;
}	

/* 当前菜单下划线*/	
li.current-menu-item .menu-link:before{
    width: calc(100% - 1.2em)!important;
    background-color: currentColor!important;
    transform: scale(1,1) translate(50%,0)!important;
}	
	
header, footer{
    margin: 0 auto!important;
}			

.entry-content[ast-blocks-layout] > * {
max-width: 100%!important;
}

.ast-site-identity {
padding: 5px 0!important;
}

.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
    font-size: 13px;
}	
	
.woocommerce span.onsale{
font-size: 1em;
color: #ffffff;
min-width: 3.3em;
min-height: 3.3em;
line-height: 3.3em;	
}

.woocommerce-page .widget .widget-title{
color:var(--ast-global-color-5);	
}

.woocommerce-error, .woocommerce-info, .woocommerce-message{
border-top:none;	
}

.ast-cart-menu-wrap .count{
line-height: 1.9;
}	
	
/* 子菜单行高和字体*/
.sub-menu a.menu-link {
font-size:14px!important;
}

.ast-theme-transparent-header #ast-hf-account-menu .menu-link {
color: var(--ast-global-color-2);
font-size: 15px!important;	
}
.ast-theme-transparent-header #ast-hf-account-menu .menu-link:hover, .astra-megamenu .menu-item .menu-link:hover{ 
color: var(--ast-global-color-0)!important;
text-decoration:underline!important;
}


.ast-menu-cart-outline .ast-cart-menu-wrap .count:hover {
color: #ffffff!important;
background-color: var(--ast-global-color-0);
}

#customer_login form{
border-radius: 0!important;
}

.ast-dropdown-active .astra-search-icon, .ast-dropdown-active .astra-search-icon .ast-icon{
color: #1c1c1c!important;
}

a.add_to_cart_button{
    font-size: 13px!important;
    font-weight: 500!important;
}	

/*cookies bar*/	
div#eu-cookie-bar {
    min-height: 40px;
    line-height: 35px;
	 position: fixed;
    left: 0!important;
    right: 0!important;
    margin: auto;
    width: fit-content;
    text-align: center;
    font-size: 14px;
    bottom: 25px;
    border-radius: 4px;
	 padding: 3px 20px;
}

#eu-cookie-bar a {
    color: #ffffffb3!important;;
    text-decoration: underline;
}
button#euCookieAcceptWP{
margin-right:0;	
}
button#euCookieAcceptWP:hover{
background: #ffffffb3!important;		
}	

/* 页脚样式*/	
#menu-item-921 a{
color:#ffffff!important;
}

#nav_menu-5 a:hover {
    color: #ffffff!important;
    text-decoration: none!important;
	   cursor: auto;	
}	
	
.footer-widget-area-inner .widget-title {
font-size: 1.25rem!important;
font-weight: 500;
margin-bottom: 14px;	
}
#block-2{
margin: 0 0 13px 0;
}

footer .site-primary-footer-wrap{
line-height: 1.8!important;	
}

	
/* 404页面*/	
.ast-404-layout-1 .page-sub-title {
    font-weight: 400;
    color: #404040;
}	
ast-404-search .widget_search .search-field{
padding: 13px 45px 13px 15px;
}	
	
/*让表格靠左，不要居中*/
.aligncenter {
margin-left: 0!important;
}	

/*隐藏搜索结果页的提示*/
p.searchwp-revised-search-notice {
display: none!important;
}

.woocommerce-notices-wrapper{
display: none !important; 	
}
