@charset "utf-8";

.main {
    background-color: #fff;
}

.pc-only-show {
    display: block !important;
}

.wap-only-show {
    display: none !important;
}

@media (max-width: 992px) {
    .pc-only-show {
        display: none !important;
    }

    .wap-only-show {
        display: block !important;
    }
}


/*
header
*/
.header .header_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .header_logo {
    width: 200px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .header_logo img {
    width: 100%;
    height: 100%;
}

.header .top_nav {
    display: flex;
    align-items: center;
}

.header .top_nav i {
    margin-right: 2px;
}

.header .top_nav .link {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

@media (max-width: 568px) {
    .header .header_top {
        flex-wrap: wrap;
        padding: 10px 0;
        margin-bottom: 20px;
        border-bottom: 1px solid #e5e5e5;
    }

    .header .header_logo {
        width: 150px;
        height: 52px;
    }

    .header .top_nav {
        flex-wrap: wrap;
        width: 100%;
        justify-content: right;
        margin-top: 10px;
    }
}


/*
header_nav
*/
.main_nav {
    background-color: #f8f8f8;
    border: 1px solid #e7e7e7;
    margin: 10px auto 20px auto;
    border-radius: 4px;
}

.main_nav .items {
    display: flex;
    align-items: center;
}

.main_nav .link {
    font-size: 14px;
    font-weight: 700;
    margin-left: 15px;
    padding: 5px 20px;
    color: #666;
    transition: all 0.3s ease-in-out;
}

.main_nav .link:hover {
    color: #ca595a;
}

@media (max-width: 568px) {
    .main_nav {
        display: none;
    }
}

/*
footer
*/
.footer {
    margin-top: 20px;
    width: 100%;
}

.footer_body {
    display: flex;
    justify-content: space-between;
    text-align: center;
    color: #666;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.footer_about {
    width: 40%;
}

.footer_info {
    text-align: left;
    font-size: 14px;
}

.footer_logo {
    display: flex;
}


.footer_logo img {
    max-width: 200px;
}


.footer_nav {
    display: flex;
    width: 500px;
}

.footer_nav .dl {
    width: 50%;
    display: block;
}


.footer_nav .dt {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;
}

.footer_nav .link {
    display: block;
    text-align: left;
    margin-bottom: 5px;
}

.footer_nav .product_cat .link {
    -webkit-transition: transform .5s ease;
    transition: transform .5s ease;
}

.footer_nav .product_cat .link2 {
    padding-left: 20px;
}

.footer_nav .product_cat .link:hover {
    transform: translateX(15px);
}

.footer_nav .product_cat .link .front {
    transition: all .3s;
    -webkit-transition: all .3s;
    margin-right: 3px;
    opacity: 0;
}

.footer_nav .product_cat .link:hover .front {
    opacity: 1;
}

@media (max-width: 768px) {
    .footer_body {
        display: block;
    }

    .footer_nav {
        width: 100%;
    }

    .footer_about {
        /*width: 100%;*/
        /*margin-bottom: 20px;*/
        display: none;
    }

    .footer_logo {
        display: none;
    }
}

/**
copyright
 */
.copyright {
    text-align: center;
    padding: 20px;
    width: 100%;
    background-color: #fff;
}

/**
gotop
 */
.gotop {
    position: fixed;
    right: 10px;
    bottom: 10%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    opacity: 0.7;
    cursor: pointer;
}

.gotop:hover {
    opacity: 1;
}

/*
@media (max-width: 992px) {
    .gotop {
        display: none;
    }
}
*/

/*
 * pagination2
 * */
.pagination2 {
    text-align: center;
    margin-top: 20px;
}

.pagination2 a,
.pagination2 span {
    margin: 3px;
    height: 30px;
    line-height: 30px;
    padding: 0 8px;
    overflow: hidden;
    display: inline-block;
    font-size: 13px;
    color: #6c6c6c;
    text-align: center;
}

.pagination2 a {
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}

.pagination2 a:hover {
    color: #e30016;
}

.pagination2 .selected {
    color: #fff;
    background-color: #658DB3;
}

.pagination2 .disabled {
    color: #999;
    border-color: #ddd;
    background-color: #ddd;
    cursor: not-allowed;

}

/*
section_title
*/
.section_title {
    height: 40px;
    font-size: 24px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}


.section_title .dl {
    width: 100%;
    max-width: 400px;
    height: 20px;
    position: relative;
    border-bottom: 1px solid #ccc;
}


.section_title .dt {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section_title .dd {
    background-color: #fff;
    padding: 0 20px;
}

@media (max-width: 992px) {
    .section_title {
        font-size: 18px;
        padding: 0 20px;
        margin-bottom: 20px;
    }
}


.sub_title {
    padding: 5px;
    font-size: 18px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 15px;
}


/*
section_nav
*/
.section_nav {
    font-size: 16px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.section_nav .link {
    padding: 5px 10px;
    margin: 5px;
    display: block;
}

.section_nav .link.active {
    color: #fff;
    background-color: #777;
    border-radius: 2px;
}

/*
main
*/
.jumbotron {
    background-color: #fff;
    padding: 32px 16px;
}

/*
breadcrumb
*/
.breadcrumb_box {
    width: 100%;
    min-height: 40px;
    line-height: 40px;
    background-color: #f8f8f8;
    border-radius: 5px;
    padding-left: 8px;
}

.breadcrumb .items {
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb .breadcrumb_item {
    display: inline-block;
    color: #6c757d;
    padding-right: 8px;
}

.breadcrumb .breadcrumb_item::before {
    display: inline-block;
    padding-right: 8px;
    content: "/";
}

.breadcrumb .breadcrumb_item:first-child::before {
    display: none;
}


@media (max-width: 992px) {
    .breadcrumb {
        display: none;
    }
}

/*
alert
*/
.alert {
    position: relative;
    padding: 12px 20px;
    margin-bottom: 10px;
    border: 1px solid #ffeeba;
    border-radius: 4px;
    color: #856404;
    background-color: #fff3cd;
}


/*
layout_sidebar
*/
.layout_sidebar {
    position: relative;
    display: flex;
}

.layout_sidebar .sidebar {
    width: 245px;
    min-width: 245px;
    margin-right: 25px;
    margin-bottom: 50px;
}


.layout_sidebar .sidebar .card {
    margin-bottom: 10px;
}

.layout_sidebar .main {
    flex: 1;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .layout_sidebar {
        display: block;
    }

    .layout_sidebar .sidebar {
        /*display: none;*/
        width: 100%;
    }
}


/*
card
*/
.card {
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}

.card_title {
    min-height: 50px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding: 0 15px;
}

.card_title dt {
    font-size: 16px;
    position: relative;
    padding-left: 12px;
}

.card_title dt:before {
    content: " ";
    background-color: #CA595A;
    border-radius: 10px;
    width: 5px;
    height: 16px;
    position: absolute;
    top: 3px;
    left: 0;
}


.card_body {
    padding: 10px;
}

/*
sidebar_nav
*/

.sidebar_nav {
    position: relative;
}

.sidebar_nav .dl {
    margin-bottom: 10px;
}

.sidebar_nav .link {
    width: 100%;
    display: block;
    border-radius: 4px;
    margin: 5px 0;
    padding: 5px 10px;
}

.sidebar_nav .dd .link {
    padding-left: 30px;
}

.sidebar_nav .link.active {
    color: #CA595A;
}

.sidebar_nav .link:hover {
    background-color: #CA595A;
    color: #fff;
}

