/* 汽车电子应用静态首页。独立样式，不依赖旧版 Bootstrap。 */
@font-face { font-family: ecar-icons; src: url('/font/iconfont.woff') format('woff'); font-display: block; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #f0f0f0; color: #333; font: 14px/1.42857143 'Microsoft YaHei', '微软雅黑', sans-serif; }
a { color: #333; text-decoration: none; }
a:hover { color: #008000; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
.img-responsive { display: block; max-width: 100%; height: auto; }
h2 { margin: 20px 0 10px; font-weight: 500; line-height: 1.1; }
ul { margin-top: 0; margin-bottom: 10px; }
[hidden], .hidden { display: none !important; }
:focus-visible { outline: 2px solid #008000; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container, .container-fluid { margin: 0 auto; padding: 0 15px; }
.container::after, .row::after, .navbar::after, .navbar-header::after, .nav::after, .navbar-collapse::after { content: ''; display: table; clear: both; }
.row { margin: 0 -15px; }
[class*='col-md-'] { position: relative; min-height: 1px; padding: 0 15px; }
.clear { clear: both; }

/* 顶部导航 */
.navbar { position: relative; z-index: 30; min-height: 65px; margin-bottom: 20px; background: #fff; border-bottom: 2px solid #e1e1e1; }
.navbar-brand { float: left; height: 65px; padding: 5px 15px; }
.navbar-brand img { display: block; width: 157px; height: 60px; }
.navbar-header { margin: 0 -15px; }
.navbar-collapse { display: none; clear: both; max-height: 340px; overflow-y: auto; border-top: 1px solid #101010; margin: 0 -15px; }
.navbar-collapse.in { display: block; }
.nav { margin: 7.5px 0; padding: 0; list-style: none; }
.nav > li { position: relative; display: block; }
.nav > li > a { display: block; color: #605e5e; padding: 10px 7px; line-height: 20px; }
.nav > li > a:hover { color: #008000; box-shadow: inset 0 -2px #affcc3; }
.nav > .active > a { color: #008000; font-weight: 700; border-bottom: 2px solid #008000; }
.navbar-toggle { float: right; padding: 10px; margin: 14px 15px 8px; background: #008000; border: 1px solid transparent; border-radius: 4px; }
.navbar-toggle:hover { background: #189318; }
.icon-bar { display: block; width: 22px; height: 2px; background: #fff; border-radius: 1px; }
.icon-bar + .icon-bar { margin-top: 4px; }
.iconfont, .iconfont_mobile, .iconfont_about, .iconfont_totop { font-family: ecar-icons !important; font-style: normal; -webkit-font-smoothing: antialiased; -webkit-text-stroke-width: .2px; }
.iconfont { font-size: 19px; color: #008000; }
.iconfont_mobile { font-size: 29px; color: #008000; }
.iconc1 { position: absolute; top: 13px; right: 70px; padding: 0; border: 0; background: transparent; }
.header-search { position: relative; }
.search-toggle { border: 0; background: transparent; }
.header-search > .search-toggle { display: none; padding: 0; }
.search { position: absolute; right: 0; top: 100%; z-index: 50; display: flex; width: 270px; gap: 6px; padding: 8px 10px; background: #008000; }
.search input { width: 184px; min-width: 0; border: 1px solid #ccc; padding: 5px; background: #fff; }
.search button { padding: 5px 8px; border: 1px solid #ccc; background: #fff; color: #333; border-radius: 3px; }

/* 头条和新闻列表 */
.banner { display: block; border: 1px solid #ccc; margin-bottom: 10px; background: #fff; }
.banner h2 { padding: 0 10px 0 20px; font-size: 22px; font-weight: 600; }
.banner .abstract { padding: 0 10px 10px 20px; color: #555; font-size: 15px; }
.banner img { width: 100%; max-height: 300px; }
.banner .inputdate { padding: 10px 10px 10px 20px; font-size: 12px; }
.banner .source { padding-right: 10px; font-size: 13px; }
.banner .tag {font-size: 13px; font-weight: 800; }
.banner .date { padding-right: 10px; color: #6a6a69; font-size: 11px; }
.article { display: block; width: 100%; margin-bottom: 20px; }
.article .list { margin-bottom: 10px; background: #fff; box-shadow: 1px 1px 1px #ccc; }
.article .list:hover { border-left: 3px solid #008000; }
.article img { float: left; display: inline; width: 238px; height: 160px; padding: 20px; }
.harticle { position: relative; padding: 20px; }
.harticle h2 { margin-top: 0; padding-top: 0; font-size: 18px; font-weight: 600; line-height: 26px; }
.harticle h2 a { transition: color .2s; }
.harticle .inputdate { padding: 5px 0; font-size: 13px; color: #636363; }
.harticle .abstract { height: 52px; overflow: hidden; font-size: 15px; line-height: 26px; }
.harticle .catelog { position: absolute; top: 100px; left: 30px; padding: 6px; border-radius: 3px; color: #fff; background: #008000; }
.harticle .catelog:hover { border-radius: 0; }
.list-end { height: 30px; margin: 0 0 20px; border-radius: 2px; background: #8ce58c; color: #fff; text-align: center; font-size: 15px; line-height: 30px; }
.search-empty { padding: 30px 20px; background: #fff; text-align: center; }

/* 侧栏社交入口、资源与资讯标签 */
.right-container { border: 1px solid #ccc; margin-bottom: 15px; background: #f9f9f9; }
.right-container:hover { background: #fff; }
.right_about { height: 50px; width: 100%; padding: 0; margin: 0; list-style: none; }
.right_about li { position: relative; float: left; width: 25%; line-height: 50px; text-align: center; }
.iconfont_about { padding: 6px; border-radius: 8px; background: #3ab03a; color: #fff; font-size: 24px; }
.iconfont_about:hover { background: #008000; }
.qrcode img { position: absolute; top: 52px; left: 0; z-index: 20; width: 160px; max-width: none; opacity: 0; transform: scale(.01); transform-origin: 50% 0; transition: .3s; pointer-events: none; }
.piaofuitem:hover .qrcode img, .piaofuitem:focus .qrcode img, .piaofuitem.is-open .qrcode img { opacity: 1; transform: scale(1); }
.paddingbottom_20 { padding-bottom: 10px; }
.htopic { padding: 15px 20px 5px; border-bottom: 1px solid #ccc; background: #ddd; box-shadow: 2px 2px 12px #fff; font: 700 16px/1.42857143 Arial, 'Microsoft YaHei', sans-serif; }
.htopicn { color: #008000; }
.htopicm { float: right; font-size: 14px; }
.tabbox { margin-bottom: 20px; }
.tabmenu { height: 40px; }
.tabmenu ul { margin: 0; padding: 0; list-style: none; }
.tabmenu li { float: left; width: 33.333333%; height: 40px; overflow: hidden; border: 1px solid #ccc; background: #f4f4f4; color: #333; text-align: center; font-size: 15px; line-height: 40px; cursor: pointer; }
.tabmenu .cli { border-bottom-color: #fff; color: #008000; background: #fff; }
#tabcontent { position: relative; overflow: hidden; width: 100%; border: 1px solid #ccc; border-top: 0; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 5%); }
#tabcontent ul { margin: 0; padding: 0; list-style: none; }
#tabcontent li { padding: 15px; border-bottom: 1px dotted #bbb; font-size: 14px; }
#tabcontent li:last-child { border-bottom: 0; }
#tabcontent li:hover { background: #eee; }
#tabcontent li .title { height: 60px; overflow: hidden; margin: 0; padding: 0; color: #333; font-size: 15px; line-height: 20px; }
#tabcontent li .inputdate { margin: 0; padding: 0; color: #9d9d9d; font-size: 13px; }
#tabcontent li img { width: 100%; }
.newcar_pic { float: left; overflow: hidden; width: 40%; margin-right: 10px; }
.solve { position: relative; }
.solve_title { position: absolute; bottom: 0; width: 100%; height: 28px; overflow: hidden; padding: 5px 10px 0; color: #fff; background: #008000; line-height: 20px; transition: .3s; }
.titlesolve a { color: #fff; }
.solve:hover .solve_title, .solve:focus-within .solve_title { height: 100%; padding: 10px; opacity: .9; }
.solve:hover .titlesolve, .solve:focus-within .titlesolve { font-size: 15px; font-weight: 600; }
.solve:hover .solve_abstract, .solve:focus-within .solve_abstract { color: yellow; font-size: 13px; line-height: 16px; }

/* 页脚 */
#footer { margin-top: 20px; }
.introductoin { padding-top: 40px; padding-bottom: 10px; background: #383838; }
.footer_mail { padding: 10px 10px 15px 0; color: #fff; }
.footer_mail a, .footer_link a { color: #bbb; }
.footer_mail a:hover, .footer_link a:hover { color: #fff; }
.footer_link { float: left; padding: 10px 5px 3px 0; color: #bbb; }
.footer_link::after { content: ''; padding-left: 8px; border-right: 1px solid #fff; }
.footer_link:last-child::after { border: 0; padding: 0; }
.footer_about { color: #fff; font-size: 14px; line-height: 30px; }
.copyright { height: 40px; line-height: 40px; background: #1d1d1d; }
.copyright_f { margin-left: -15px; color: #fff; font-size: 12px; }
.copyright_f a { color: #fff; }
.copyright_f a:hover { color: #008000; }
.copyright_map a { float: right; color: #aaa; }
.copyright_map a:hover { color: #fff; }
.fg img { padding-left: 20px; }
.follow { margin-top: 5px; color: #fff; }
.wechat { margin-top: 10px; text-align: center; }
.wechat img { max-width: 120px; margin: 0 auto; }
#totop { position: fixed; bottom: 40px; right: 24px; display: none; border: 0; background: transparent; }
.iconfont_totop { color: #aaa; font-size: 25px; }
#totop:hover .iconfont_totop { color: #008000; }

@media (min-width: 768px) {
  .container { width: 750px; }
  .navbar-header { float: left; margin: 0; }
  .navbar-brand { margin-left: -15px; }
  .navbar-collapse { display: block; clear: none; height: auto; max-height: none; overflow: visible; margin: 0; border: 0; }
  .navbar-toggle, .iconc1 { display: none; }
  .navbar-nav { float: right; margin: 0 -15px 0 0; }
  .navbar-nav > li { float: left; }
  .navbar-nav > li > a { padding-top: 25px; padding-bottom: 18px; }
  .header-search { padding: 22px 15px 11px; }
  .header-search > .search-toggle { display: block; }
}
@media (min-width: 992px) {
  .container { width: 970px; }
  [class*='col-md-'] { float: left; }
  .col-md-1 { width: 8.33333333%; }
  .col-md-2 { width: 16.66666667%; }
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.33333333%; }
  .col-md-5 { width: 41.66666667%; }
  .col-md-6 { width: 50%; }
  .col-md-8 { width: 66.66666667%; }
  .col-md-12 { width: 100%; }
}
@media (min-width: 1200px) {
  .container { width: 1050px; }
  #leftcc { padding-right: 2px; }
}
@media (max-width: 970px) { .fg, .wechat, .copyright_map { display: none; } }
@media (max-width: 767px) {
  .navbar .container { position: relative; }
  .header-search { position: static !important; }
  .search { top: 65px; right: 15px; }
  #totop { display: none !important; }
}
@media (max-width: 520px) {
  .article img { width: 130px; height: 130px; }
  .harticle .catelog { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
