body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

* {
    margin: 0;
    padding: 0
}

h2,
h3 {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
}

ul,
li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dis_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.dis_flex_row {
    display: flex;
    flex-direction: row;
}

.ellipsis-5-lines {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis-4-lines {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis-1-lines {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* header css */
/* .g_id_signin {
    visibility: hidden;
    animation: fadeIn 0.5s ease-in-out;
} */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#successId {
    display: none;
    font-size: 14px;
    cursor: pointer;
    /* width:104px; */
    width: 112px;
    vertical-align: middle;
    line-height: 32px;
}

#successId img {
    vertical-align: middle;
}

#successId span {
    vertical-align: middle;
}

#errorId {
    /* display: block; */
    display: inline-block;
    width: 32px;
    /* height:44px; */
}

#successIdH5 {
    display: none;
    font-size: 14px;
    cursor: pointer;
}

#SignOutH5 {
    display: none;
    cursor: pointer;
}

#errorIdH5 {
    display: block;
}

#loginImage {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 6px;
}

.container {
    /* 1200px / 16 = 75rem */
    /* max-width: 75rem;  */
    max-width: 64rem;
    margin: 0 auto;
    /* padding: 0 1rem; */
}

header {
    background-color: #fff;
    color: #3E3940;
    text-align: center;
    /* padding: 0rem 2rem; */
}

footer {
    background-color: #222222;
    color: #fff;
    text-align: center;
}

footer {
    background-color: #282828;
}

.headerPc {
    display: block;
}

.logo_img_wrap {
    /* width: 180px; */
    height: 36px;
}

.logo_img_wrap .logo_img {
    height: 34px;
}

.headerH5 {
    display: none;
}

.headerH5 .logo_img {
    width: 7.4rem;
    padding-top: 0.5rem;
}

.navH5BoxNo {
    display: none;
}

.navH5BoxOk {
    display: none;
}

.headerBorder {
    border-bottom: 1px solid #C8D3CF;
}

.inputSearch {
    /* flex: 1; */
    margin: 0 5rem 0 7rem;
    /* display: flex; */
    line-height: 36px;
    padding-left: 16px;
    border-radius: 23px;
    background: #fff;
    color: #757575;
    /* width: 50%; */
    width: 400px;
    content: "";
    display: table;
    clear: both;
    border: 1px solid #0F7C7F;
}

.inputSearch span {
    /* float: left; */
    float: right;
    width: 3.6rem;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border-radius: 4rem;
    background: #0F7C7F;
    color: #fff;
    margin-top: 3px;
    margin-right: 4px;
    cursor: pointer;
}

.inputSearch input {
    /* flex:1; */
    height: 36px;
    padding: 0 10px;
    border-radius: 23px;
    color: #141414;
    border: none;
    outline: none;
    float: left;
    width: 77%;
}

.tab_list {
    font-family: "Sofiapro", georgia, sans-serif;
    display: flex;
    margin-left: -1rem;
}

.tab_list div {
    /* padding:0.6rem 2rem 1.2rem; */
    font-size: 14px;
    padding: 0 1rem;
    height: 50px;
    /* line-height: 40px; */
    line-height: 50px;
}

.tab_list a {
    /* color:#fff; */
    color: rgba(0, 0, 0, .95);
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 1px;
    text-underline-offset: 0.12em;
}

.tab_list .isActive a {
    /* background-image: url(../imgs/daohang_xia.png);
    background-repeat:no-repeat;
    background-size:20px 10px;
    background-position: bottom center; */
    color: #0F7C7F;
    font-weight: 700;
}

/* header css end */

/* footer css */
.footer {
    width: 100%;
    height: 62px;
    background: #0F7C7F;
}

.footer_content {
    margin: 0 auto;
    max-width: 64rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer_content>div>a:first-child {
    margin-right: 84px;
}

.footer_content>div>span:first-child {
    margin-right: 64px;
}

.footer_content>div>span,
.footer_content>div>a {
    font-weight: 400;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
}

.footer_content>div>span:hover {
    color: #fff;
}

/* footer css end */

/* star css */
.star-rating {
    display: flex;
}

.star {
    font-size: 18px;
    color: #C4C4C4;
    position: relative;
    width: 18px;
}

.star::before {
    content: '\2605';
    position: absolute;
    left: 0;
    color: #C4C4C4;
    width: 100%;
    overflow: hidden;
}

.star.full::before {
    color: #ff9c00;
}

.star.half::after {
    content: '\2605';
    position: absolute;
    left: 0;
    width: 50%;
    color: #ff9c00;
    overflow: hidden;
}

/* star css end */
/* recommend css */
.recommendBox h2 {
    font-size: 26px;
    margin-top: 1.2rem;
    color: #0F7C7F;
    font-weight: 600;
}

.recommend {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 14px;
}

.recommend a {
    text-decoration: none;
}

.recommend h3 {
    font-size: 20px;
    line-height: 26px;
    /* min-height: 4.6rem; */
    min-height: 3rem;
    color: #141414;
    font-weight: 500;
}

.recommend .p_con {
    font-size: 16px;
    line-height: 20px;
    color: #707070;
    min-height: 3.8rem;
    margin-top: 10px;
}

.recommend img {
    width: 100%;
    /* height:128px; */
    height: 8rem;
    border-radius: 0.6rem;
    object-fit: cover;
    object-position: center;
}

.dis_flex {
    display: flex;
    justify-content: space-between;
}

/* recommend css end */

@media (max-width: 767px) {

    /* H5 */
    /* header css */
    .container {
        /* 1200px / 16 = 75rem */
        max-width: none;
        margin: 0 auto;
    }

    header,
    footer {
        padding: 0.8rem;
    }

    .headerPc {
        display: none;
    }

    .headerH5 {
        display: block;
    }

    #loginImageH5 {
        width: 1.8rem;
        height: 1.8rem;
        border-radius: 50%;
    }

    .searchH5Box {
        padding: 0 0.8rem;
        /* padding: 0.8rem; */
        background-color: #fff;
        border: 1px solid #fff;
    }

    .inputSearchH5 {
        align-items: center;
        /* margin: 0.8rem 0; */
        background-color: #fff;
        border: 1px solid #525252;
        border-radius: 0.4rem;
    }

    .inputSearchH5 p {
        /* padding:0 0.6rem; */
        width: 2.3rem;
        text-align: center;
    }

    .inputSearchH5 div {
        flex: auto;
    }

    .inputSearchH5 input {
        height: 2.2rem;
        width: 100%;
        color: #141414;
        border-radius: 0.4rem;
        border: none;
        outline: none;
    }

    #navH5Box {
        position: fixed;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 2000;
    }

    .navH5BoxNo {
        display: none;
    }

    .navH5BoxOk {
        display: block;
    }

    .navListH5 ul {
        padding-left: 2.6rem;
        color: #FFDF11;
    }

    .navListH5 a {
        color: #FFDF11;
        font-size: 18px;
        text-decoration: none;
    }

    .navListH5 p {
        padding: 1.6rem 0;
    }

    .navListH5 img {
        width: 1.4rem;
        height: 1.4rem;
        margin-right: 0.8rem;
    }

    .navListH5 .footer_h5 {
        position: absolute;
        bottom: 4rem;
    }

    .navListH5 .footer_h5 a {
        font-size: 14px;
    }

    .navListH5 .footer_h5 p {
        padding: 0.6rem 0;
    }

    /* header css end */
    /* footer css */
    .footer {
        height: 70px;
        padding: 1rem;
        box-sizing: border-box;
    }

    .footer_content {
        flex-direction: column;

    }

    .footer_content>div {
        display: flex;
    }

    .footer_content>div>a:first-child {
        margin-right: 143px;
    }

    .footer_content>div>span,
    .footer_content>div>a {
        font-size: 12px;
    }

    /* footer css end */

    /* recommend css */
    .recommendBox {
        display: none;
    }

    .recommend {
        grid-template-columns: repeat(1, 1fr);
    }

    .recommend h3 {
        min-height: auto;
    }

    .recommend .p_con {
        min-height: auto;
    }

    /* recommend css end */
}

@media (min-width: 768px) and (max-width: 1024px) {

    /* header css */
    header .container {
        padding: 0rem 2rem;
    }

    .inputSearch {
        width: 40%;
    }

    .inputSearch input {
        width: 74%;
    }

    .tab_list div {
        /* iPad */
        /* padding: 0.6rem 1rem 1.2rem; */
        padding: 0 1rem 0;
        height: 50px;
        /* line-height: 40px; */
        line-height: 50px;
    }

    /* header css end */

    /* footer css */
    .con_right,
    .pagination-controls {
        display: block;
    }

    /* footer css end */

    /* recommend css */
    .recommend {
        grid-template-columns: repeat(2, 1fr);
    }

    /* recommend css end */
}