@import "main.css";
@import "diy.css";
@import "fonts/stylesheet.css";
/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/




.blog-top .large-columns-1>.col {
    margin-bottom: 0;
    padding: 0;
}
/* workshop模块适配 */
.workshop-desktop {
    display: block!important;
}

.workshop-tablet {
    display: none!important;
}
@media (max-width: 1220px), (max-device-width: 1220px) {
    .workshop-desktop {
        display: none !important;
    }

    .workshop-tablet {
        display: block !important;
    }
}



/* 顶部按钮 */
.header-button a span{
color: #222;
padding-left: 34px;
font-size: 16px;
}
.header-button a{
padding-top: 5px;
padding-bottom: 5px;
}

.header-button::before{
  content: "";
  position: absolute;
  left: 18px;
  top: 12px;
  width: 20px;
  height: 20px;
  background-image: url(/wp-content/themes/flatsome-child/img/top-btn-icon.svg);
  z-index: 999;
  color: #222;
}


/* 表单 */
#from{
  padding: 40px !important;
}
.underscore-line p strong{
  box-shadow: 0 2px 0 0 #e5b930;
}

/* 产品详情 */
.faq-btn span{
  font-size: 22px;
}

.related-title h2::after {
  top: 10px;
  text-align: center; 
  margin-left: 10px;
  line-height: 1.5em;
  font-size: 24px;
  content: "PRODUCTS";
  position: absolute;
  width: 200px;
  height: 38px;
  background-color: #e5b930;
}


.app-height{
  min-height: 80px;
}
.accordion-title h3{
  font-weight: 300 !important;
  font-size: 20px;
}


.video-fit{
      padding-top: 13% !important;
}

.gallery-title-plow-blade h2::after{
  top: 10px;
  text-align: center; 
  margin-left: 10px;
  line-height: 1.5em;
  font-size: 24px;
  content: "CARBIDE SNOW PLOW BLADE";
  position: absolute;
  width: 420px;
  height: 38px;
  background-color: #e5b930;
}


.gallery-title-carbide-kit h2::after{
  top: 10px;
  text-align: center; 
  margin-left: 10px;
  line-height: 1.5em;
  font-size: 24px;
  content: "PACKED ICE CARBIDE KIT";
  position: absolute;
  width: 360px;
  height: 38px;
  background-color: #e5b930;
}
.gallery-title-carbide-inserts h2::after{
  top: 10px;
  text-align: center; 
  margin-left: 10px;
  line-height: 1.5em;
  font-size: 24px;
  content: "CARBIDE INSERTS";
  position: absolute;
  width: 270px;
  height: 38px;
  background-color: #e5b930;
}

.gallery-title h2::after {
  top: 10px;
  text-align: center; 
  margin-left: 10px;
  line-height: 1.5em;
  font-size: 24px;
  content: "JOMA STYLE BLADE";
  position: absolute;
  width: 300px;
  height: 38px;
  background-color: #e5b930;
}

/* 首页产品模块 */
.products-title h2::after {
  top: 76px;
  text-align: center; 
  margin-left: 10px;
  line-height: 1.5em;
  font-size: 24px;
  content: "PRODUCTS";
  position: absolute;
  width: 160px;
  height: 38px;
  background-color: #e5b930;
}
.products-list-btn i{
  color:#fff;
}


/* banner文字icon */
.banner-title-icon::before {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  background-image: url(/wp-content/themes/flatsome-child/img/banner-title-icon.svg);
}

.banner-title-icon p {
  padding-left: 30px;
  line-height: 20px;
}

.dark-btn span,
.dark-btn i {
  color: #222;
}


/* 数字滚动 */
.data-list-icon-1 h3:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background-image: url(/wp-content/themes/flatsome-child/img/about-icon-1.svg);
  background-size: cover;
  background-position: center;
}

.data-list-icon-2 h3:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background-image: url(/wp-content/themes/flatsome-child/img/about-icon-2.svg);
  background-size: cover;
  background-position: center;
}

.data-list-icon-3 h3:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background-image: url(/wp-content/themes/flatsome-child/img/about-icon-3.svg);
  background-size: cover;
  background-position: center;
}

.data-list-icon-4 h3:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background-image: url(/wp-content/themes/flatsome-child/img/about-icon-4.svg);
  background-size: cover;
  background-position: center;
}

/* 下拉 */
.nav-dropdown {
  margin-left: 90px;
}

.nav-dropdown li {
  transition: all 0.3s ease-in-out;
}

.nav-dropdown li:hover {

  background: #e5b83027;
}


/* 头部导航 */
.nav-dropdown-has-shadow .nav-dropdown {
    margin-left: 20px;
}


.header-nav {
  /* justify-content: center; */
}

/* .header-nav .menu-item-design-default {
  padding: 0px 10px;
}
 */

.nav-dark .nav-line-bottom>li>a:before {
  border-radius: 999px;
  width: 60%;
}




/* 表格样式 */

.dataTable table{
  margin-bottom: 0;
}

/* 表头样式 */
.dataTable thead tr {
  border: 1px solid #222;
}

.dataTable thead th {
  background-color: #222;
  font-weight: bold;
  text-align: left;
  color: #fff;
  padding: 20px 16px;

}

/* 表格行样式 */
.dataTable tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #e0e0e0;
  color: #333;
  vertical-align: middle;
}

/* 斑马纹行 */
.dataTable tbody tr:nth-child(odd) {
  background-color: #e5b930;
}

/* 鼠标悬停行高亮 */
.dataTable tbody tr:hover {
  background-color: #f0e1b4;
  transition: background-color 0.3s ease;
}

/* 表头排序图标保持位置 */
.dataTable th.sorting {
  position: relative;
}






/* 渐变按钮 */
/* .fade-btn{
	position: relative;  
}
.fade-btn::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background-color: #3b6ea5;     
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
  transition: background 0.3s ease;
  z-index:-1;
} */

/* banner产品分类 */
.banner-text-icon {
  padding-left: 20px;
}

.banner-text-icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  /* 调整三角形大小 */
  border-bottom: 8px solid transparent;
  /* 调整三角形大小 */
  border-left: 10px solid #fff;
  /* 调整三角形颜色和大小 */

}

.banner-img-list-categories .img-inner img:hover {
  z-index: 3 !important;
  width: 220px !important;
  height: 147px !important;
}

/* 表单按钮 */
form.fluent_form_1 .wpf_has_custom_css.ff-btn-submit {
  text-transform: uppercase;
  color: #222 !important;
}

/* 文章页 */
.page-wrapper {
  padding-bottom: 0px;
  padding-top: 0px;
}

/* 产品导航 */
.products-nav .ux-menu-title {
  background: #e5b930;
  font-family: 'Kanit';
  padding: 20px 40px 20px 40px;
  font-size: 21.6px;
  text-transform: uppercase;
  color: #222;
}

.products-nav .nav-one {
  margin-top: 20px !important;
}

.products-nav .ux-menu-link {
  padding: 8px 40px;
  font-size: 15px;
  transition: all 0.3s ease-in-out;
  background: #2b4e7f00;
  color: #222 !important;
}

.products-nav .menu-item:hover {
  background: #e5b83027;
}


.products-nav {
  position: fixed;
  top: 53%;
  right: 25px;
  width: 250px;
  background: #fff;
  padding: 0;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.products-nav .col-inner {
  padding-bottom: 20px !important;
}

.ux-menu-link__link {
  border-bottom-width: 0px;
  color: #334862;
}





/* 文章导航 */
.blog-nav .col {
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 100% 100%, 100% 180%, 0% 95%, 0% 100%, 0% 0%) !important;
}

.blog-nav {
  position: fixed;
  top: 52%;
  right: 25px;
  width: 250px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 0;
  z-index: 9999;
}

.blog-nav h4 {
  background: #e5b930;
  font-family: 'Kanit';
  padding: 20px 40px 20px 40px;
  font-size: 21.6px;
  color: #222;
  text-transform: uppercase;
}

.blog-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog .col-inner {
  margin-top: 40px;
  margin-bottom: 40px;
}

.blog-nav ul li {
  margin-left: 0 !important;
  padding: 14px 40px;
  background: #33333300;
  margin-bottom: 0;
  transition: all 0.3s ease-in-out;
  
}

.blog-nav ul li:hover{
  background:#e5b83027!important;
}
.blog-nav ul li:hover a{
  color: #222 !important;
}
.blog-nav ul li a{
  color: #334862 !important;
}


/* 日期 */
.date-list p:before {
  content: "";
  position: absolute;
  top: 138px;
  left: 40px;
  width: 20px;
  height: 20px;
  background-image: url(/wp-content/themes/flatsome-child/img/blog-date-icon.png);
  background-size: cover;
  background-position: center;
}

.date-list p {
  padding-left: 32px;
}


.blog-head-list .col-inner {
  position: relative;
}

.flickity-prev-next-button {
  top: 0%;
}

.blog-head-list .previous:hover {
  background: #e5b930;
}

.blog-head-list .next:hover {
  background: #e5b930;
}

.page-number{
  border-radius: 0px !important;
}


/* 左箭头 */
.blog-head-list .previous:hover svg .arrow {
  fill: #fff !important;
}

.blog-head-list .previous {
  color: #222;
  background: #e5b930;
  right: 3% !important;
}

/* 右箭头 */
.blog-head-list .next:hover svg .arrow {
  fill:#fff;
}

.blog-head-list .next {
  right: 0;
  color: #222;
  background: #daa127;
}

.slider-show-nav .flickity-prev-next-button,
.slider:hover .flickity-prev-next-button {
  opacity: 1;
}

.flickity-prev-next-button {
  opacity: 1 !important;
  bottom: 0 !important;
  width: 40px;
}

.archive #main {
  background: #f1f1f2;
}

.archive .post-item .box {
  box-shadow: none !important;
}

.archive .post-item .col-inner {
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 100% 100%, 100% 180%, 0% 95%, 0% 100%, 0% 0%) !important;
  background: #fff;
}


.archive .post-item .box .box-text {
  min-height: 194px;
}

.blog-archive .blog-post-inner {
  padding: 20px;
}

.post-title {
  font-size: 20px;
  margin-bottom: 16px !important;
}

.post-meta {
  font-size: 15px;
  margin-left: 30px;
  line-height: 0px;
}

.post-meta::before {
  margin-top: 3px;
  content: "";
  position: absolute;
  left: 28px;
  width: 20px;
  height: 20px;
  background-image: url(/wp-content/themes/flatsome-child/img/blog-date-icon.png);

  background-size: cover;
  background-position: center;
}

.blog-list-posts .box-text {
  padding: 30px;
  min-height: 255px;
}

.blog-list-posts>.col>.col-inner {
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 100% 100%, 100% 180%, 0% 95%, 0% 100%, 0% 0%) !important;
}

.from_the_blog_excerpt {
  margin-top: 16px !important;
  padding-bottom: 12px;
}

/*地图闪烁的点*/
.marker {
  border-radius: 50%;
  padding: 0 3px 3px 0;
  width: 40px;
  height: 40px;
  background: #333;
  position: absolute;
  left: 103%;
  top: 414%;
  margin: -35px 0 0 -15px;
  -webkit-box-shadow: -1px 1px 4px rgba(0, 0, 0, .5);
  -moz-box-shadow: -1px 1px 4px rgba(0, 0, 0, .5);
  box-shadow: -1px 1px 4px rgba(0, 0, 0, .5);
}

.marker:after {
  content: '';
  width: 16px;
  height: 16px;
  margin: 12px 12px 11px -6px;
  background: #e5b930;
  position: absolute;
  border-radius: 50%;
  -moz-box-shadow: 0 0 10px rgba(0, 0, 0, .5);
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .5);
  box-shadow: 0 0 10px rgba(0, 0, 0, .5);
  -moz-box-shadow: inset -2px 2px 4px hsla(0, 0, 0, .5);
  -webkit-box-shadow: inset -2px 2px 4px hsla(0, 0, 0, .5);
  box-shadow: inset -2px 2px 4px hsla(0, 0, 0, .5);
}

.beacon {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 48px;
  width: 48px;
  border-radius: 50%;
  -webkit-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: -1;
  margin-top: -39px;
}

.beacon:before,
.beacon:after {
  position: absolute;
  content: "";
  height: 48px;
  width: 48px;
  left: 700%;
  top: 194%;
  background-color: transparent;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #e5b930;
  -webkit-animation: active 2s infinite linear;
  -moz-animation: active 2s infinite linear;
  animation: active 2s infinite linear;
}

.beacon:after {
  -moz-animation-delay: 1s;
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}

@-webkit-keyframes active {
  0% {
    -webkit-transform: scale(.1);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(2.5);
    opacity: 0;
  }
}

@keyframes active {
  0% {
    transform: scale(.1);
    transform: box-shadow(0px 0px 0px 1px #FFDC00);
    opacity: 1;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}




/* 质检 */
.quality-bg .col-inner {
  background: linear-gradient(to left, rgb(43 78 127) 0%, rgb(43 78 127) 80%, rgb(43 78 127 / 0%) 100%);
}

/* 页脚按钮 */
#footer .ff-btn {
  border-radius: 0px !important;
  text-transform: uppercase;
}


/* 斜角 */
/* .triangle-box: polygon(10% 0%,90% 0%,100% 10%,100% 100%,20% 100%,0% 100%,0% 35%); */

.triangle-box {
  clip-path: polygon(0px 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 100% 100%, 0% 100%);
}


/* 叠加悬停 */
.workshop-list {
	  height: 304px;
    cursor: pointer;
    position: relative;
    overflow: hidden;

    &:hover .workshop-text .col-inner {
		   top: 0px;
        z-index: 2;
        opacity: 1;
    } 
	
    .workshop-text .col-inner {
		   clip-path: polygon(0px 0, calc(100% - 15px) -1px,100% 15px, 100% 100%,100% 100%, 0% 100%);
        z-index: 0;
        height: 304px;
        position: absolute;
        top: 200px;
        left: 0;
        width: 100%;
        opacity: 0;
		  transition:all 0.5s ease-in-out;

	}

    .workshop-img {
        height: 304px;
    }
}








/*======================文章分类=======================*/
/*文章分类-文章项*/
.archive .post-item .box {
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

.archive .post-item .box .box-text {
  padding: 10px
}

/*======================表单=======================*/
/*按钮-表单-圆角*/
.ff-default .ff_btn_style {
  padding: 0;
  margin-bottom: 0;
}

/*======================字体版式=======================*/
/* 字体修改 */
body,
h5,
h6,
.heading-font,
.off-canvas-center .nav-sidebar.nav-vertical>li>a,
.nav>li>a {}

/* 标题字体修改 */
h1,
h2,
h3,
h4,
.fs {
  font-family: 'Kanit' !important;
}

p {
  font-family: 'Roboto' !important;
}



.breadcrumbs .divider,
.breadcrumbs .separator {
  font-family: auto;
}



/*导航条字重*/
.nav>li>a,
.mobile-sidebar-levels-2 .nav>li>ul>li>a {}

@media (max-width: 1560px) {
  .products-nav {
transform: scale(.8);
transform-origin: right center;	  
}
	  .blog-nav{
transform: scale(.8)!important;
transform-origin: right center!important;
}
}



/*平板电脑及以下*/
@media (max-width: 849px) {
.products-title h2::after {
  top: 0px;
  text-align: center; 
  margin-left: 10px;
  line-height: 2em;
  font-size: 16px;
  content: "PRODUCTS";
  position: absolute;
  width: auto;
  height: 38px;
  padding: 0px 20px;
  margin-top: 6%;
  background-color: #e5b930;
}
  .related-title h2::after {
  top: 0px;
  text-align: center; 
  margin-left: 10px;
  line-height: 2em;
  font-size: 16px;
  content: "PRODUCTS";
  position: absolute;
  width: auto;
  padding: 0px 20px;
  height: 38px;
  background-color: #e5b930;
}



  .gallery-title-plow-blade h2::after{
  top: 0px;
  text-align: center; 
  margin-left: 10px;
  line-height: 2em;
  font-size: 16px;
  content: "CARBIDE SNOW PLOW BLADE";
  position: absolute;
  width: auto;
  padding: 0px 20px;
  height: 38px;
  background-color: #e5b930;
}


.gallery-title-carbide-kit h2::after{
  top: 0px;
  text-align: center; 
  margin-left: 10px;
  line-height: 2em;
  font-size: 16px;
  content: "PACKED ICE CARBIDE KIT";
  position: absolute;
  width: auto;
  padding: 0px 20px;
  height: 38px;
  background-color: #e5b930;
}
.gallery-title-carbide-inserts h2::after{
  top: 0px;
  text-align: center; 
  margin-left: 0px;
  line-height: 2em;
  font-size: 16px;
  content: "CARBIDE INSERTS";
  position: absolute;
  width: auto;
  padding: 0px 20px;
  height: 38px;
  background-color: #e5b930;
}

.gallery-title h2::after {
  top: 0px;
  text-align: center; 
  margin-left: 10px;
  line-height: 2em;
  font-size: 16px;
  content: "JOMA STYLE BLADE";
  position: absolute;
  width: auto;
  padding: 0px 20px;
  height: 38px;
  background-color: #e5b930;
}
}

/*仅限移动设备*/
@media (max-width: 549px) {
.blog-top-slider .post-meta::before {
  margin-top: 3px;
  content: "";
  position: absolute;
  left: 0px;
  width: 20px;
  height: 20px;
  background-image: url(/wp-content/themes/flatsome-child/img/blog-date-icon.png);
  background-size: cover;
  background-position: center;
}
	
.blog-top-slider .col-inner{
	background:rgb(255 255 255 / 0%)!important;
}
	
	
	
.accordion-title h3{
  font-size: 16px;
}

.products-title h2::after {
  top: 0px;
  text-align: center; 
  margin-left: 10px;
  line-height: 2em;
  font-size: 16px;
  content: "PRODUCTS";
  position: absolute;
  width: auto;
  height: 38px;
  padding: 0px 20px;
  margin-top: 4%;
  background-color: #e5b930;
}


.related-title h2::after {
  top: 0px;
  text-align: center; 
  margin-left: 10px;
  line-height: 2em;
  font-size: 16px;
  content: "PRODUCTS";
  position: absolute;
  width: auto;
  padding: 0px 20px;
  height: 38px;
  background-color: #e5b930;
}



  .gallery-title-plow-blade h2::after{
  top: 0px;
  text-align: center; 
  margin-left: 10px;
  line-height: 2em;
  font-size: 16px;
  content: "CARBIDE SNOW PLOW BLADE";
  position: absolute;
  width: auto;
  padding: 0px 20px;
  height: 38px;
  background-color: #e5b930;
}


.gallery-title-carbide-kit h2::after{
  top: 0px;
  text-align: center; 
  margin-left: 10px;
  line-height: 2em;
  font-size: 16px;
  content: "PACKED ICE CARBIDE KIT";
  position: absolute;
  width: auto;
  padding: 0px 20px;
  height: 38px;
  background-color: #e5b930;
}
.gallery-title-carbide-inserts h2::after{
  top: 0px;
  text-align: center; 
  margin-left: 0px;
  line-height: 2em;
  font-size: 16px;
  content: "CARBIDE INSERTS";
  position: absolute;
  width: auto;
  padding: 0px 20px;
  height: 38px;
  background-color: #e5b930;
}

.gallery-title h2::after {
  top: 0px;
  text-align: center; 
  margin-left: 10px;
  line-height: 2em;
  font-size: 16px;
  content: "JOMA STYLE BLADE";
  position: absolute;
  width: auto;
  padding: 0px 20px;
  height: 38px;
  background-color: #e5b930;
}
  
  
  
  .date-list p:before {
    content: "";
    position: absolute;
    top: 79px;
    left: 18px;
    width: 20px;
    height: 20px;
    background-image: url(/wp-content/themes/flatsome-child/img/blog-date-icon.png);
    
 background-size: cover;
    background-position: center;
  }

  .date-list p {
    padding-left: 26px;
  }
  .products-nav {
    display: none;
  }

  .blog-nav {
    display: none;
  }

  .sp-button {
    width: 12px !important;
    height: 12px !important;
  }

  .xs-btn {
    transform: scale(.8);
	    transform-origin: left top;
    /* 缩放到原来的2倍 */
  }
}