/*
 * company.css
 * Company module page styles (index, list, search, show)
 * Auto-loaded via header.htm {DT_SKIN}{$module}.css
 * Brand color: #0679D4
 */

/* ========================================
   Layout: Container width fix + Card panels
   .m2 = list/search (960+250)
   .m3 = show/index  (890+320)
   ======================================== */
.m.m2,
.m.m3 {
    width: 1220px;
    margin: 0 auto;
    background: #f5f6f8;
    padding: 16px 0 24px;
}
.m2l,
.m3l {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.m2r,
.m3r {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

/* ========================================
   Breadcrumb
   ======================================== */
.nav {
    background: #fff;
    padding: 12px 16px;
    font-size: 13px;
    color: #888;
    border-radius: 8px;
    margin-bottom: 4px;
}
.nav a { color: #555; }
.nav a:hover { color: #0679D4; }
.nav i { color: #bbb; padding: 0 8px; font-size: 12px; }

/* ========================================
   Sort / Filter bar (list & search pages)
   ======================================== */
.sort-f {
    border-bottom: none;
    padding: 8px 0 4px;
    margin: 0 16px;
}
.sort {
    padding: 6px 0;
    border-bottom: 1px solid #f5f5f5;
}
.sort:last-child {
    border-bottom: none;
}
.sort-k {
    color: #0679D4;
    font-weight: 600;
    font-size: 13px;
}
.sort-v li {
    margin: 0 4px 4px 0;
    border-radius: 4px;
    transition: background .15s, color .15s;
}
.sort-v li:hover {
    background: #E8F2FC;
}
.sort-v .on {
    background: #0679D4;
    color: #fff;
    border-radius: 4px;
}
.sort-v .on a {
    color: #fff;
}
.sort-v i {
    color: #bbb;
    font-size: 11px;
}

/* ========================================
   Company list items (list-company tag)
   ======================================== */
.list {
    border-radius: 0;
    transition: background .15s;
}
.list:hover {
    background: #fafbfc;
}
.list table {
    border-bottom: 1px solid #f0f0f0;
}
.list div img {
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 2px;
}
.list .px14 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}
.list .px14:hover {
    color: #0679D4;
}
.list .f_grey {
    color: #888;
    font-size: 13px;
}
.list td {
    padding: 12px 0;
}

/* ========================================
   Company show page: Title
   ======================================== */
.title {
    text-align: left;
    font-size: 26px;
    line-height: 1.4;
    font-weight: 700;
    border-bottom: 2px solid #f0f0f0;
    padding: 24px 24px 16px;
    margin: 0;
    color: #1a1a1a;
}

/* ========================================
   Company show page: Content / Info
   ======================================== */
.content {
    padding: 20px 24px;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}
.content img[align="left"] {
    border: 1px solid #eee !important;
    border-radius: 8px;
    padding: 4px !important;
    margin: 4px 20px 16px 0 !important;
}
.content b {
    color: #555;
    font-size: 14px;
    display: inline-block;
    min-width: 100px;
}

/* ========================================
   Company show page: Tool bar
   ======================================== */
.tool {
    padding: 20px 24px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}
.tool i {
    font-size: 13px;
    color: #666;
    padding: 6px 18px;
    border-radius: 20px;
    border: 1px solid #e8e8e8;
    margin: 0 4px;
    transition: all .2s;
    background-position: 12px center !important;
    padding-left: 32px;
}
.tool i:hover {
    border-color: #0679D4;
    color: #0679D4;
    background-color: #E8F2FC;
}
.tool .liked,
.tool .hated,
.tool .favorited {
    border-color: #FF3300;
    color: #FF3300;
}
.tool b {
    font-weight: 600;
}

/* ========================================
   Contact sidebar card
   ======================================== */
.contact-body {
    padding: 20px 20px 16px;
}
.contact-body h3 {
    font-size: 15px;
    height: auto;
    line-height: 1.4;
    margin: 0 0 14px;
}
.contact-body h3 a {
    color: #1a1a1a;
}
.contact-body h3 a:hover {
    color: #0679D4;
}
.contact-body li {
    height: auto;
    line-height: 1.6;
    padding: 6px 0 6px 20px;
    font-size: 13px;
    color: #555;
    border-bottom: 1px solid #f8f8f8;
}
.contact-body li:last-child {
    border-bottom: none;
}
.contact-fw {
    margin: 0 0 14px;
}
.contact-fw span {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

/* Follow button */
.follow0,
.follow1 {
    cursor: pointer;
    transition: opacity .2s;
}
.follow0:hover,
.follow1:hover {
    opacity: .8;
}

/* VIP badge */
.contact-vip {
    border-radius: 6px;
    padding: 10px 16px;
}
.contact-com {
    border-radius: 6px;
    padding: 10px 16px;
}

/* Verification & Deposit badges */
.contact-vd {
    margin: 14px auto;
}
.contact-v1,
.contact-v0 {
    border-radius: 6px 0 0 6px;
    font-size: 13px;
    line-height: 28px;
}
.contact-d1,
.contact-d0 {
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    line-height: 28px;
}

/* IM icons */
.contact-im {
    padding: 12px 8px;
    text-align: center;
}
.contact-im img {
    padding: 8px;
    border-radius: 6px;
    transition: background .15s;
}
.contact-im img:hover {
    background: #E8F2FC;
}

/* Action buttons */
.contact-btn {
    padding: 10px 0;
}
.contact-btn span {
    background: transparent;
    border: 1px solid #0679D4;
    color: #0679D4;
    font-size: 13px;
    border-radius: 20px;
    transition: all .2s;
}
.contact-btn span:hover {
    background: #0679D4;
    color: #fff;
}

/* ========================================
   Sidebar: Section headings
   ======================================== */
.head-sub {
    border-left: 3px solid #0679D4;
    padding: 8px 16px;
    border-bottom: none;
    margin-bottom: 12px;
}
.head-sub strong {
    font-size: 16px;
    color: #1a1a1a;
}

/* ========================================
   Sidebar: Ranking list
   ======================================== */
.list-rank {
    padding: 4px 16px 12px;
}
.list-rank li {
    padding: 4px 6px;
    border-radius: 4px;
    transition: background .15s;
}
.list-rank li:hover {
    background: #f8f9fa;
}
.list-rank li:nth-child(1) em,
.list-rank li:nth-child(2) em,
.list-rank li:nth-child(3) em {
    color: #0679D4;
    font-weight: 700;
}
.list-rank li:nth-child(1) em { color: #0560AA; font-size: 28px; }
.list-rank li:nth-child(2) em { font-size: 26px; }
.list-rank li:nth-child(3) em { font-size: 24px; }
.list-rank em {
    color: #bbb;
    font-size: 20px;
}

/* ========================================
   Sidebar: Text list
   ======================================== */
.list-txt li {
    transition: background .15s;
    border-radius: 4px;
    padding-left: 14px;
}
.list-txt li:hover {
    background: #f8f9fa;
}

/* ========================================
   Index page: Head text sections
   ======================================== */
.head-txt {
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 8px;
}
.head-txt strong {
    font-size: 18px;
    color: #1a1a1a;
}

/* ========================================
   Index page: Category grid
   ======================================== */
.list-cate {
    padding: 12px 16px;
}
.list-cate td {
    border-radius: 8px;
    transition: background .15s;
    padding: 12px 14px 16px;
}
.list-cate td:hover {
    background: #f8f9fa;
}
.list-cate p {
    margin: 0 0 8px;
}
.list-cate p a {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
}
.list-cate p a:hover {
    color: #0679D4;
}
.list-cate li a:hover {
    color: #0679D4;
}

/* ========================================
   Index page: Area grid
   ======================================== */
.list-area {
    padding: 12px 16px 12px 20px;
}
.list-area li {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    transition: all .2s;
}
.list-area li:hover {
    border-color: #0679D4;
    background: #E8F2FC;
}
.list-area li:hover a {
    color: #0679D4;
}

/* ========================================
   Index page: Recommended shops thumbnail
   ======================================== */
.list-img {
    padding: 12px 0 0 16px;
}
.list-img img {
    border-radius: 8px;
}

/* ========================================
   Search page: Form
   ======================================== */
.sf {
    padding: 10px 24px;
}
.sf-k {
    font-weight: 600;
    color: #555;
    font-size: 14px;
}
.sf-v input[type="text"],
.sf-v select {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    transition: border-color .2s;
}
.sf-v input[type="text"]:focus,
.sf-v select:focus {
    border-color: #0679D4;
    outline: none;
    box-shadow: 0 0 0 2px rgba(6,121,212,.15);
}
.sf-v .kw {
    width: 360px;
}
.btn-blue {
    background: #0679D4;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 40px;
    font-size: 15px;
    cursor: pointer;
    transition: background .2s;
}
.btn-blue:hover {
    background: #0560AA;
}

/* ========================================
   Pagination
   ======================================== */
.pages {
    padding: 16px;
    text-align: center;
}

/* ========================================
   Sponsor area
   ======================================== */
.sponsor:empty {
    display: none;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1260px) {
    .m.m2,
    .m.m3 {
        width: auto;
        margin: 0 16px;
    }
}
@media (max-width: 768px) {
    .title {
        font-size: 22px;
        padding: 16px;
    }
    .content {
        padding: 16px;
    }
    .tool {
        padding: 16px;
    }
    .tool i {
        margin-bottom: 8px;
    }
    .contact-body {
        padding: 16px;
    }
    .sort-k {
        width: auto;
        padding-left: 16px;
    }
    .sf-v .kw {
        width: 100%;
    }
}
