@charset "UTF-8";

/*
Theme Name: 迈得诺
Theme URI: https://liuxiaogang.com/
Author: 医千
Author URI: https://liuxiaogang.com/
*/

/* 全局 */




body {
    overflow-y: scroll;
    font-family: "PingFang", "Hiragino Sans GB", "Source Han Sans CN", "WenQuanYi Micro Hei", "Microsoft Yahei", sans-serif;
    line-height: 180%;
}

a {
    text-decoration: none;
}

img {
    height: auto;
}


/* 全局效果 */







/* header */


@media (max-width: 700px) {


}


/* footer */



/* 搜索 search */

input {
    flex: 1;
    height: 36px;
    width: 100%;
    padding: 6px 40px 6px 15px;
    border-radius: 30px;
    background-color: #fd3041;
    border: 0px solid #f1f3f4;
    color: #ffffff;
    font-size: 0.9em;
    outline: none;
    transition-duration: .18s;
    transition-property: background-color, box-shadow, border;
}

input:focus {
    background-color: #ff5b67;
}


/*清除谷歌浏览器下的 search 叉号*/
input::-webkit-search-cancel-button {
    display: none;
}

/*清除IE下的 search 叉号*/
input[type=search]::-ms-clear {
    display: none;
}


/* placeholder颜色*/
input::-webkit-input-placeholder {
    /* WebKit, Blink, Edge */
    color: #ffffff!important;
}

:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #ffffff!important;
}

::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #ffffff!important;
    opacity: 0.5;
}

input:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #ffffff!important;
    
}

input::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #ffffff!important;
}


body{
    font-size: 16px;
}
.w-900{
    max-width: 800px;
    margin: auto;
}
.head {
    background-color: #e10011;
    padding-bottom: 5px;
    padding: 20px;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}
.logo{
    width: 11em;
}

.logo-img {
    max-width: 10em;
}

button.searchBtn {
    background: none;
    border-width: 0px;
    border-style: hidden;
}

img.searchImg {
    max-width: 20px;
}

input.form-control {
    padding-right: 40px;
}

.searchInput {
    position: relative;
}

button.searchBtn {
    position: absolute;
    right: 2px;
    top: 0px;
}


.cat-title {
    color: #e10011;
    position: static;
    font-weight: 900;
    font-size: 1.3em;
    margin: 20px 10px;
    padding-left: 5px;
    border-left: 0.5em solid #e10011;
}

.item {
    position: relative;
    border-bottom: 1px solid #bed7e9;
}

.item a {
    display: block;
    padding: 1.5em;
    color: #333333;
    font-weight: 600;
}


.Product-item {
    display: flex;
    align-items: center;
}

.item-img {
    /* width: 200px;
    height: 7em; */
    text-align: center;
    float: left;
}
.item-img img {
    /* height: 100%;
    max-width: 100%; */
}
.item-img img {
    display: block;
    max-height: 10em;
    max-width: 94px;
    margin: 10px;
}
.item-body {
    height: 7em;
    padding-left: 10px;
}
p.item-text-ProductSummary {
    font-size: 0.8em;
    font-weight: 500;
    color: #8e8f8f;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
img.index-item-img {
    max-width: 40px;
}
.index-main{
    padding-top: 150px;
}
.index-item{
    padding: 10px 0;
    width: 47%;
}

.index-items{
    display: flex;
    justify-content: space-between;
}
.index-item a {
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5em;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5em;
    background: #ff9d9d;
    background: -webkit-linear-gradient(left top, #ff9d9d, #ff7272);
    background: -o-linear-gradient(bottom right, #ff9d9d, #ff7272);
    background: -moz-linear-gradient(bottom right, #ff9d9d, #ff7272);
    background: linear-gradient(to bottom right,#ff9d9d, #ff7272);
}
.index-item-text {
    font-weight: 600;
    padding-left: 1em;
    margin-bottom: 0rem;
}

.search-form {
    padding-left: 30px;
  }

@media (max-width: 700px) {
    .item-img {
        width: 130px;
    }
    .item a {
        padding: 1em;
    }
    .index-items{
        display: flex;
        flex-direction: column;
    }
    .index-item{
        padding: 10px 0;
        width: 100%;
    }
    body{
        font-size: 14px;
    }
    button.searchBtn {
        right: 0px;
        top: 5px;
    }

}

@media (max-width: 350px) {
    .index-item a {
        padding: 1em;
        font-size: 1.2em;
    }

}
