/* css document - DONGSHENG optimized */
body {
    color: #555;
    font: 15px/1.7 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    text-align: left;
    background: #fff;
}

::selection { background: #c0000b; color: #fff; }
::-moz-selection { background: #c0000b; color: #fff; }
::-webkit-selection { background: #c0000b; color: #fff; }

/* ===== Layout ===== */
.wap { width: 100%; margin: 0; padding: 0; display: flow-root; }
.wap_job { width: 100%; margin: 0; padding: 0; display: flow-root; background-color: #f6f6f6; }
.inner { max-width: 1200px; margin: 0 auto; padding: 0 15px; position: relative; }
.ptp { padding: 20px 0; }

.editor { word-wrap: break-word; font-size: 15px; line-height: 1.8; }
.editor p, .editor li, .editor div { margin-bottom: 10px; margin-top: 5px; }

h1, h2, h3, h4, h5, h6, p, ul, ol, li, form, img, dl, dt, dd, blockquote, fieldset, div, strong, label, em, body {
    margin: 0; padding: 0; border: 0;
}
ul, ol, li { list-style: none; }
input, button { margin: 0; font-size: 14px; vertical-align: middle; }
table { border-collapse: collapse; border-spacing: 0; }

/* ===== Links ===== */
a { text-decoration: none; color: #444; transition: color 0.2s; }
a:hover { color: #c0000b; }

/* ===== Header & Logo ===== */
.logo {
    width: 100%;
    height: 110px;
    margin: 0 auto;
    padding: 0;
    background: url(../images/logo.jpg) no-repeat center #fff;
    background-size: auto 110px;
}

/* ===== Language Switcher ===== */
/* Inline styles on the div handle most of this; these are enhancements */

/* ===== Navigation Menu ===== */
.menu_bg {
    width: 100%;
    background: #c0000b;
}
.header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}
.navigation {
    width: 100%;
}
.menu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    margin: 0;
    padding: 0;
}
.menu li { list-style: none; }
.menu .menu-item {
    height: 50px;
    line-height: 50px;
    text-align: center;
    display: block;
    position: relative;
}
.menu .menu-item > a {
    color: #fff;
    display: block;
    padding: 0 16px;
    height: 50px;
    line-height: 50px;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s;
    text-decoration: none;
    cursor: pointer;
}
.menu .menu-item > a:hover {
    background: rgba(0,0,0,0.15);
    color: #fff;
}
.menu .menu-item .arrow {
    font-size: 10px;
    margin-left: 4px;
    display: inline-block;
    vertical-align: middle;
}
.menu .line {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.3);
    margin: 0 2px;
}
/* Dropdown */
.menu .menu-item .dropdown {
    display: none;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    border-radius: 0 0 6px 6px;
    z-index: 500;
    padding: 5px 0;
}
.menu .menu-item:hover .dropdown { display: block; }
.menu .menu-item .dropdown a {
    color: #333;
    font-size: 14px;
    padding: 10px 20px;
    height: auto;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
    display: block;
    white-space: nowrap;
    transition: all 0.15s;
}
.menu .menu-item .dropdown a:last-child { border-bottom: none; }
.menu .menu-item .dropdown a:hover {
    background: #f8f8f8;
    color: #c0000b;
    padding-left: 24px;
}

/* ===== Banner / Slideshow ===== */
.banner { width: 100%; margin: 0 auto; padding: 0; overflow: hidden; position: relative; }
.nbanner { width: 100%; margin: 0 auto; padding: 0; overflow: hidden; position: relative; }

/* ===== Content Section ===== */
.cons { width: 100%; margin: 0 auto; padding: 0; background: #f8f8f8; display: flow-root; }
.width { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

.index_search { width: 100%; height: 60px; line-height: 60px; font-size: 15px; color: #333; margin: 0 auto; padding: 0; }

/* ===== Product Display ===== */
.product { width: 100%; margin: 0 auto; padding: 40px 0; background: #fff; }
.product .title { text-align: center; padding: 20px 0 30px; }
.product .product_content { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.product_content .product_mqueen_pic {
    margin: 10px 8px;
    width: 220px;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s;
    display: inline-block;
    vertical-align: top;
}
.product_content .product_mqueen_pic:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.product_content .p_1 { margin: 0; height: 170px; display: flex; align-items: center; justify-content: center; background: #fafafa; }
.product_content .p_1 img { max-width: 200px; max-height: 160px; object-fit: contain; }
.product_content .p_2 {
    width: 220px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    font-size: 14px;
    color: #555;
    margin: 0;
}

/* Tab navigation */
.nTab { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.nTab .TabTitle { clear: both; overflow: hidden; }
.nTab .TabTitle ul { margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; }
.nTab .TabTitle li {
    flex: 1;
    min-width: 150px;
    cursor: pointer;
    list-style: none;
    height: 46px;
    line-height: 46px;
    font-size: 15px;
    text-align: center;
    margin: 0;
}
.nTab .TabTitle .active { background: #c0000b; color: #fff; border-radius: 4px 4px 0 0; }
.nTab .TabTitle .normal { color: #555; background: #eee; border-radius: 4px 4px 0 0; }
.nTab .TabContent { width: auto; margin: 10px auto; padding: 0; overflow: hidden; }

/* ===== News Section ===== */
.newsbg { width: 100%; margin: 0; padding: 40px 0; background: url(../images/t2.jpg) no-repeat center; background-size: cover; }
.news_title { max-width: 1200px; margin: 0 auto; padding: 0 15px; height: auto; line-height: 1.6; color: #3aa5d7; text-align: center; font-size: 15px; }
.News ul { max-width: 1200px; margin: 0 auto; padding: 0 15px; overflow: hidden; }
.News ul li {
    width: 48%;
    margin: 0 1%;
    padding: 0 0 0 20px;
    list-style: none;
    line-height: 45px;
    border-bottom: 1px dashed #888;
    color: #f6f6f6;
    float: left;
}
.News ul li a { font-size: 15px; color: #f6f6f6; }
.News ul li a:hover { color: #ffcc00; }
.News ul li span { float: right; }

/* ===== About Section ===== */
.aboutbg { width: 100%; margin: 0; padding: 40px 0; background: #fff; }
.abouttitle { max-width: 1200px; margin: 0 auto; padding: 0 15px; height: auto; line-height: 1.6; color: #3aa5d7; text-align: center; }
.aboutus { max-width: 1200px; margin: 20px auto; padding: 30px; background: #fafafa; overflow: hidden; border-radius: 8px; }
.aboutusL { width: 55%; padding: 0 20px 0 0; float: left; line-height: 1.9; font-size: 15px; }
.aboutusR { width: 40%; float: right; }
.aboutusR img { max-width: 100%; height: auto; border-radius: 6px; }

/* ===== Partners Section ===== */
.hezuobg { width: 100%; margin: 0; padding: 40px 0; background: #fafafa; }
.hezuotitle { max-width: 1200px; margin: 0 auto; padding: 0 15px; height: auto; line-height: 1.6; color: #3aa5d7; text-align: center; }

/* ===== Form Elements ===== */
#buttons {
    max-width: 1200px;
    height: 48px;
    line-height: 48px;
    margin: 15px auto;
    background: #c0000b;
    cursor: pointer;
    text-align: center;
    color: #fff;
    border: none;
    font-size: 16px;
    border-radius: 4px;
    display: block;
    width: 200px;
}
#buttons:hover { background: #a00009; }
.inputs, .inputs2, .inputs3, .inputsr {
    width: 260px;
    height: 44px;
    line-height: 44px;
    margin: 10px 5px 0 0;
    padding: 0 15px;
    color: #555;
    float: left;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.inputss {
    width: 100%;
    max-width: 1100px;
    height: 150px;
    margin: 10px auto;
    padding: 15px;
    color: #555;
    float: left;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* ===== Sidebar Layout ===== */
.sidebar { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.sidebar .sb_nav { float: left; width: 250px; position: relative; }
.sidebar .sb_nav h3.title {
    background: #c0000b;
    height: 46px;
    line-height: 46px;
    font-size: 17px;
    color: #fff;
    padding: 0 20px;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
}
.sidebar .sb_nav .active {
    padding: 15px;
    background: #f8f8f8;
    border: 1px solid #eee;
    border-top: none;
}
#sidebar dl { border-bottom: 1px dotted #ddd; padding: 8px 0; }
#sidebar dl dt { padding: 10px 0 5px 20px; }
#sidebar dl dt a { font-size: 14px; color: #555; }
#sidebar dl dt a:hover { color: #c0000b; }
#sidebar dl dd { padding: 0 0 0 15px; }
#sidebar dl dt.on a { font-weight: bold; color: #c0000b; }

.left_menua a {
    display: block;
    line-height: 1.6;
    padding: 8px 0 8px 20px;
    color: #444;
    border-bottom: 1px dashed #ddd;
    font-size: 14px;
}
.left_menua a:hover { color: #c0000b; }
.left_menuas a {
    color: #c0000b;
    font-weight: bold;
    display: block;
    line-height: 1.6;
    padding: 8px 0 8px 20px;
    border-bottom: 1px dashed #ddd;
}

.sidebar .sb_box {
    float: right;
    width: calc(100% - 280px);
    background: #fff;
    overflow: hidden;
    min-height: 500px;
}
.sidebar .sb_box h3.title {
    border-bottom: 2px solid #c0000b;
    height: 46px;
    line-height: 46px;
    position: relative;
    background: #f8f8f8;
    padding: 0 15px;
}
.sidebar .sb_box h3.title span {
    font-size: 17px;
    color: #c0000b;
    font-weight: bold;
}
.sidebar .sb_box h3.title div.position {
    float: right;
    font-weight: normal;
    color: #888;
    font-size: 14px;
}
.sidebar .sb_box h3.title div.position a { color: #666; }
.sidebar .sb_box h3.title div.position a:hover { text-decoration: underline; color: #c0000b; }

/* Product List */
#productlist { padding: 20px 0; overflow: hidden; }
#productlist li {
    float: left;
    width: 250px;
    text-align: center;
    margin: 15px 12px;
}
#productlist li img {
    margin: auto;
    padding: 0;
    border: 1px solid #eee;
    border-radius: 6px;
    width: 250px;
    height: 200px;
    object-fit: contain;
}
#productlist li h3 { margin-top: 8px; line-height: 1.5; font-weight: normal; font-size: 14px; }
#productlist li h3 a { color: #333; }
#productlist li h3 a:hover { color: #c0000b; }

/* Product Detail */
#showproduct { padding: 20px; }
#showproduct h1.title { font-size: 22px; padding: 10px 0; margin-bottom: 10px; text-align: center; font-weight: bold; color: #333; }
#showproduct .pshow dt { float: left; }
#showproduct .pshow dt img { max-width: 350px; border-radius: 6px; }
#showproduct .pshow dd { float: right; width: 400px; }
#showproduct .pshow dd ul { margin-left: 15px; }
#showproduct .pshow dd li {
    padding: 8px 5px 8px 45px;
    min-height: 28px;
    margin: 5px 0;
    clear: both;
    border-bottom: 1px solid #eee;
    position: relative;
    line-height: 1.8;
    font-size: 15px;
}
#showproduct .pshow dd li span { position: absolute; left: 0; top: 8px; color: #999; }
#showproduct .ctitle {
    margin: 15px 0 10px;
    padding: 8px 20px;
    font-size: 16px;
    border-bottom: 2px solid #c0000b;
    color: #333;
    font-weight: bold;
}
#showproduct .editor { line-height: 1.9; padding: 0 10px; font-size: 15px; }

/* News List */
#newslist { padding: 15px 0; }
#newslist li { padding: 8px 0 8px 15px; border-bottom: 1px dashed #ddd; }
#newslist li a { font-size: 16px; color: #333; }
#newslist li a:hover { color: #c0000b; }
#newslist li span { float: right; color: #999; font-size: 14px; }
#newslist li p { margin: 5px 0; color: #777; font-size: 14px; }
#shownews { padding: 0 15px 15px; }
#shownews .editor { line-height: 2; padding: 0 10px; font-size: 15px; }
#shownews h1 { font-size: 22px; text-align: center; font-weight: bold; padding: 10px 0; margin: 10px 0; color: #333; }

/* ===== Footer ===== */
footer { width: 100%; overflow: hidden; margin: 0; }
.footerbg { width: 100%; margin: 0 auto; background: #2a2a2a; padding: 30px 0; }
.footer { max-width: 1200px; margin: 0 auto; padding: 0 15px; font-size: 14px; }
.foot-nav { max-width: 1200px; margin: 0 auto; padding: 0 0 20px; overflow: hidden; text-align: center; }
.foot-nav li { display: inline-block; padding: 0 12px; margin: 5px 0; }
.foot-nav li a { color: #ccc; font-size: 14px; }
.foot-nav li a:hover { color: #e8920e; }
.footer .CopyRight {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0 10px;
    line-height: 2;
    text-align: center;
    color: #aaa;
    border-top: 1px solid #3a3a3a;
    font-size: 14px;
}

/* ===== Utility Classes ===== */
.lf { float: left; }
.ri { float: right; }
.c { clear: both; }
.clear { clear: both; font-size: 1px; visibility: hidden; width: 100%; line-height: 0; height: 0; }
.height10 { clear: both; height: 10px; line-height: 0; font-size: 1px; }
.height30 { height: 30px; width: 100%; clear: both; overflow: hidden; }
.height60 { height: 60px; width: 100%; clear: both; overflow: hidden; }
.wrapper { padding: 0; margin: 0 auto; width: 100%; overflow: hidden; }

/* ===== Page Layouts ===== */
.container { width: 100%; margin: 0 auto; padding: 0; overflow: hidden; background: #fff; }
.container_white { width: 100%; margin: 0 auto; padding: 0; overflow: hidden; background: #fff; }
.page_left { width: 220px; float: left; margin: 0; padding: 0; overflow: hidden; }
.page_right { width: calc(100% - 250px); float: right; margin: 0; padding: 0 0 20px 0; }

/* ===== Misc ===== */
.tableclass { margin: 0; padding: 0; width: 100%; }
.tableclass td { border-bottom: 1px solid #eee; line-height: 1.8; padding: 10px 8px; font-size: 14px; }
.tableclass .td1 { border-bottom: 1px solid #eee; height: auto; line-height: 1.8; font-weight: bold; padding: 10px 8px; }
.right_title { line-height: 50px; height: 50px; color: #333; font-size: 20px; padding: 0 15px; background: #f0f0f0; border-left: 4px solid #c0000b; }
.page_content { padding: 20px; line-height: 1.9; font-size: 15px; min-height: 450px; }
.page_content p { margin: 12px 0; }
.page_content h2 { font-size: 22px; font-weight: bold; line-height: 1.4; margin-bottom: 15px; text-align: center; color: #333; }
.page_contact { font-size: 15px; padding: 30px 20px; line-height: 2; min-height: 450px; }
.page_contact span { font-size: 18px; font-weight: bold; }

/* ===== Pagination ===== */
.wp-pagenavi { margin: 0 auto; padding-top: 20px; text-align: center; }
.wp-pagenavi a, .wp-pagenavi span {
    display: inline-block;
    padding: 6px 14px;
    margin: 2px;
    border: 1px solid #ddd;
    color: #555;
    border-radius: 3px;
    font-size: 14px;
}
.wp-pagenavi a:hover { background: #c0000b; color: #fff; border-color: #c0000b; }
.wp-pagenavi span.current { background: #c0000b; color: #fff; border-color: #c0000b; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .sidebar .sb_nav { width: 100%; float: none; margin-bottom: 20px; }
    .sidebar .sb_box { width: 100%; float: none; }
    .aboutusL, .aboutusR { width: 100%; float: none; padding: 0; margin-bottom: 20px; }
    .menu .menu-item a { padding: 0 10px; font-size: 13px; }
    .News ul li { width: 100%; float: none; margin: 0; }
    .logo { height: 70px; background-size: auto 70px; }
}

@media (max-width: 768px) {
    body { font-size: 14px; }
    .menu { flex-direction: column; }
    .menu .menu-item { width: 100%; }
    .menu .line { display: none; }
    .menu .menu-item a { font-size: 14px; padding: 0 15px; }
    .banner { height: auto !important; }
    .product_content .product_mqueen_pic { width: 46%; margin: 2%; }
    .product_content .p_1 { height: 140px; }
    .product_content .p_2 { width: 100%; font-size: 13px; }
    #productlist li { width: 44%; margin: 3%; }
    #productlist li img { width: 100%; height: auto; }
    .sidebar .sb_nav { width: 100%; }
    .sidebar .sb_box { width: 100%; }
}
