/*
Theme Name: Webest360
Theme URI: http://
Author: Leon
Version: 2022-08-03
*/

html {
    -webkit-text-size-adjust: none;
}


body {
    font-size: 14px;
    line-height: 180%;
    color: #333;
    font-family: Open Sans, sans-serif, 'Microsoft YaHei', "微软雅黑", SimHei;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 25px;
}

h4 {
    font-size: 22px;
}

@media (max-width: 540px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 18px;
    }
}

a {
    color: #333;
}

a:hover, .text-gray a:hover, .text-light a:hover {
    color: #e01008;
    text-decoration: none;
}

a, img {
    border: none;
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
}

@media (min-width: 1260px) {
    .container-xl.xl {
        max-width: 1360px;
    }

    .container-xl {
        max-width: 1200px;
    }
}

/*bg*/
.bg-none {
    background: none;
}

.bg-cover {
    background-size: cover;
    background-position: center center;
}

.bg-contain {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.bg-stretch {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
}

.bg-trans {
    background: transparent;
}

.bg-light {
}

.bg-lightgrey {
    background-color: #dfe0eb !important;
}

.bg-gray {
    background-color: #dfe0eb;
}

.bg-darkgray {
    background-color: #6f7185;
}

.bg-dark {
}

.bg-black {
}

.bg-red {
    background-color: #e01008;
}

.bg-blue {
}

.bg-darkblue {
    background-color: #1d2440;
}

.btn-more {
    display: inline-block;
    padding: 0 36px 0 0;
    width: 180px;
    color: #dfe0eb;
    line-height: 36px;
    text-align: center;
    font-size: 16px;
    border: 0;
    border-radius: 0;
    background-color: #6f7185;
    transition: all .33s;
    position: relative;
}

.btn-more:after {
    display: block;
    width: 36px;
    height: 36px;
    content: '\f2ee';
    font-family: 'Material-Design-Iconic-Font';
    font-size: 20px;
    background-color: #e01008;
    position: absolute;
    right: 0;
    top: 0;
}

.btn-more:hover {
    color: #dfe0eb;
    background-color: #e01008;
}

.btn-arrow {
    display: inline-block;
    padding: 0;
    width: 36px;
    color: #dfe0eb;
    line-height: 36px;
    text-align: center;
    font-size: 16px;
    border: 0;
    border-radius: 0;
    background-color: #6f7185;
    transition: all .33s;
    position: relative;
}

a:hover .btn-arrow,
.btn-arrow:hover {
    color: #dfe0eb;
    background-color: #e01008;
}

/*hr*/
.hr-bold {
    border-width: 6px;
}

.hr-thin {
    border-width: 3px;
}

.hr-grey {
    border-color: #dfe0eb;
}

.hr-dark {
    border-color: #a5a7b8;
}

/*searchform*/
#searchform input,
#searchform a {
    height: 100px;
    font-size: 24px;
    color: #dfe0eb !important;
    border: 0;
    outline: 0;
}

#searchsubmit i {
    line-height: 100px;
    font-size: 50px;
    vertical-align: middle;

}

/*自定义样式*/
.nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*特定样式*/
a.post-edit-link {
    display: block;
    padding: 2px 6px;
    background: #000;
    color: #fff;
    border: 1px #ccc dashed;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
}

#btn-top {
    width: 40px;
    text-align: center;
    cursor: pointer;
    position: fixed;
    bottom: 80px;
    right: 30px;
    z-index: 19999;
}

#btn-top i {
    line-height: 40px;
}

/*Ninja Forms*/
.nf-field-label, .nf-form-fields-required, .nf-error-msg {
    display: none;
}

.nf-form-content .listselect-wrap .nf-field-element div, .nf-form-content input.ninja-forms-field, .nf-form-content select.ninja-forms-field:not([multiple]) {
    height: 35px !important;
}

.nf-form-content .listselect-wrap .nf-field-element div, .nf-form-content .ninja-forms-field {
    font-size: 14px !important;
    padding: 0 12px !important;
}

.nf-error.field-wrap .nf-field-element:after {
    font-size: 18px !important;
    height: 33px !important;
    width: 35px !important;
    line-height: 35px !important;
}

.label-hidden .nf-field-element {
    text-align: right;
}

/*Swiper*/
.swiper-button-prev:after,
.swiper-button-next:after {
    color: #bcc2cc;
}

/*reset pageNav*/
.wp-pagenavi {
    text-align: left;
}

.wp-pagenavi a, .wp-pagenavi span {
    display: inline-block;
    box-sizing: border-box;
    padding: 0 15px;
    margin-right: 10px;
    line-height: 40px;
    font-size: 16px;
    color: #444444;
    text-align: center;
    border-radius: 0;
    border-color: #ECECEC;
    background: #ECECEC;
}

.wp-pagenavi a.page, .wp-pagenavi span.current {
    padding: 0;
    width: 40px;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
    border-color: #e01008;
    background: #e01008;
    color: #fff;
}

/*reset Swiper*/
.swiper-button-prev:hover:after,
.swiper-button-next:hover:after {
    color: #e01008;
}

/*reset Flexy Bread*/
.fbc-page .fbc-wrap .fbc-items li:first-child {
    padding-left: 12px;
}

.fbc-page .fbc-wrap .fbc-items li:last-child {
    padding-right: 12px;
}

/*VIS*/
#idx_vis {
    width: 100%;
    height: 45vw;
    max-height: 900px;
    min-height: 600px;
    overflow: hidden;
}

@media (max-width: 720px) {
    #idx_vis {
        height: 72vh;
        min-height: 400px;
    }
}

#idx_vis h2 {
    font-size: 52px;
    text-transform: uppercase;
}

#idx_vis h1 {
    font-size: 72px;
    color: #e01008;
}

#idx_vis h3 {
    font-size: 26px;
}

@media (max-width: 990px) {
    #idx_vis h2 {
        font-size: 6.67vw
    }

    #idx_vis h1 {
        font-size: 10vw
    }

    #idx_vis h3 {
        font-size: 22px;
    }
}

/*Banner*/
.banner > div {
    height: 550px;
}

.banner h3 {
    margin-bottom:  5px;
    line-height: 100%;
    color: #fff;
    font-size: 60px;
    text-transform: capitalize;
}

.banner h2 {
    margin-bottom: 10px;
    line-height: 100%;
    color: #e01008;
    font-size: 90px;
    font-weight: bold;
    text-transform: uppercase;
}

.banner h4 {
    color: #fff;
    font-size: 30px;
}

.banner p {
    color: #fff;
}

@media (max-width: 990px) {
    .banner h3 {
        font-size: 7.5vw;
    }

    .banner h2 {
        font-size: 11vw;
    }
    .banner h4 {
        font-size: 6vw;
    }
}

/*Home Category*/
.list_title {
    font-size: 32px;
    line-height: 38px;
}

.list_title em {
    display: block;
    font-style: normal;
}

.list_title strong {
    display: block;
    text-transform: uppercase;
}

.post_thumb_wrap {
    overflow: hidden;
}

.list_item img {
    transition: all .5s;
}

.list_item:hover img {
    transform: scale(1.1);
}

.pro-info h2 {
    line-height: 1.33em;
    height: 1.33em;
    font-size: 16px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pro-info p {
    line-height: 1.5em;
    height: 4.5em;
    color: #6f7185;
    /*text-align: justify;*/
    overflow: hidden;
    text-overflow: ellipsis;
}

.list_item:hover .pro-info p {
    color: #e01008;
}

/*rec_cat*/
.rec_cat {
    text-align: center;
    color: #f8f8f8;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.75);
    background-size: 100%;
    transition: all .5s;
}

.rec_cat:hover {
    background-size: 110%;
}

.rec_cat a {
    padding-top: 60%;
    padding-bottom: 12%;
    color: #f8f8f8 !important;
}

.rec_cat h3 {
}

.rec_cat span {
    padding-bottom: 5px;
    padding-left: 3px;
    border-bottom: 1px rgba(255, 255, 255, 0.8) solid;
}

/*Category*/
.cat_side #searchform input {
    color: #8888bb !important;
}

.cat_side #searchform input,
.cat_side #searchform a {
    height: 40px;
    font-size: 14px;
}

.cat_side #searchsubmit i {
    line-height: 40px;
    font-size: 30px;

}

.cat_side ul, .cat_side li {
    list-style: none;
    padding: 0;
}

.cat_side li {
    font-size: 14px;
    line-height: 32px;
}

.cat_side li a:before {
    display: inline-block;
    width: 16px;
    content: "\f096";
    font: normal normal normal 14px/1 FontAwesome;
    margin-right: 5px;
}

.cat_side li a:hover:before,
.cat_side li a[aria-current=page]:before {
    content: '\f046';
}

a[aria-current=page] {
    color: #e01008;
}

.cat_list .btn-arrow {
    right: 0;
    bottom: 0;
}

/*Product*/
#product_gallery {
    border: 1px #bcc2cc solid;
}


#product_thumbs .swiper-slide {
    border: 1px #bcc2cc solid;
    cursor: pointer;
}

/*About*/
.about_wrap h1 {
    /*color: #e01008;*/
}

.about_wrap h1:after {
    content: '';
    display: block;
    margin-top: 20px;
    width: 120px;
    height: 3px;
    background-color: #666;
}

.about_wrap h2 {
    padding: 20px 0;
    font-size: 24px;
    text-transform: capitalize;
}

.about_wrap p {
    color: #6f7185;
}

/*Footer*/
footer, footer a {
    color: #a5a7b8;
}

footer h4 {
    color: #fff;
}

footer ul, footer li {
    list-style: none;
    padding: 0;
}

footer li {
    display: inline-block;
    width: 45%;
}

footer li a:before {
    display: inline-block;
    width: 16px;
    content: "\f096";
    font: normal normal normal 14px/1 FontAwesome;
    margin-right: 5px;
}

footer li a:hover,
footer li a[aria-current=page],
footer li a:hover:before,
footer li a[aria-current=page]:before {
    content: '\f046';
    color: #fff !important;
}

footer .nf-form-content input[type=submit] {
    background-color: #e01008;
}

footer .logo {
    /*height: 52px;*/
    width: 150px;
    background-image: url(images/logo-gray.png)
}

.footer-bottom p {
    line-height: 22px;
    padding: 15px 0;
    margin: 0;
}