@font-face { font-family: 'Conv_MONTSERRAT-REGULAR'; src: url('../fonts/MONTSERRAT-REGULAR.eot'); src: local('鈽?), url('../fonts/MONTSERRAT-REGULAR.woff') format('woff'), url('../fonts/MONTSERRAT-REGULAR.ttf') format('truetype'), url('../fonts/MONTSERRAT-REGULAR.svg') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'Conv_MONTSERRAT-LIGHT'; src: url('../fonts/MONTSERRAT-LIGHT.eot'); src: local('鈽?), url('../fonts/MONTSERRAT-LIGHT.woff') format('woff'), url('../fonts/MONTSERRAT-LIGHT.ttf') format('truetype'), url('../fonts/MONTSERRAT-LIGHT.svg') format('svg'); font-weight: normal; font-style: normal; } body { font-family: 'Conv_MONTSERRAT-LIGHT'; } a { text-decoration: none; } a:link { color: #333; } a:visited { color: #333; } a:hover { color: #0056b3; } a:active { color: #0056b3; } ul, ol, li { margin:0px; padding:0px; list-style:none; } .container { max-width:1400px !important; width:100%; } .pub_title { margin-bottom:1rem; position: relative; } .pub_title span { background: #fff; padding-right: 15px; display: inline-block; font-size: 24px; font-weight: bold; } .pub_title:after { content: ''; width: 100%; height: 1px; background: #dedede; position: absolute; left: 0; top: 50%; z-index: -1; } .header { padding:1rem 0; } .header .logo { float: left; } .header .logo img { height: 60px; display: block; } .header .menu { float:left; margin-left:5rem; display: block; } .header .menu li { float:left; padding:0 1rem; height: 60px; line-height: 60px; position:relative; display:table; z-index:999; } .header .menu li ol { display:none; position:absolute; left:0; top:100%; } .header .menu li ol li { width:100%; background: rgba(255, 255, 255, 0.8); color:#333; padding:0.5rem 1rem; height: inherit; line-height: initial; } .header .menu li:hover { background:#0973C1; color:#fff; } .header .menu li:hover a { color:#fff; } .header .menu li:hover ol { display:block; color:#fff } .header .menu li:hover ol li a { color:#333 } .header .menu li:hover ol li a:hover { color:#fff } .header .menu li:hover ol li:hover a { color:#fff; display:block; } .header .cate { display: none; background: url(../images/menu.png) 0 center no-repeat; width: 44px; height: 60px; float: right; line-height: 60px; } .header .language { float: right; text-align: right; height: 60px; line-height: 60px; } .header .language a { background:#0973C1; padding:0.25rem; margin:0 0.25rem; color:#fff; border-radius:5px; } .footer { background: rgb(12,60,142); color:#fff; } .footer .insert { background-image: url(../images/footmap.png); background-position: center; background-position: center center; background-repeat: no-repeat; padding:1.5rem 0; } .footer b { margin-bottom:1rem; display:block; border-bottom: 1px solid #1853A0; padding: 0.5rem 0; } .footer p { margin-bottom:0.5rem; } .footer a { color:#fff; } .footer .twoline p { width:25%; float:left; } .copyright { text-align:center; padding:1rem; background: rgb(8,42,99); color:#fff; } .copyright a{ color:#fff;} .category h5 { font-weight:bold; font-size:1.5rem; position:relative; background:#0973C1; text-align:center; padding:1rem 0.5rem; margin:0; color:#fff; border-radius:5px 5px 0 0; } .category h5 i { content: ''; width: 70%; height: 1px; background: #fff; position: absolute; bottom: 10px; left: 15%; } .category { height:100%; background: rgb(239, 239, 239, 0.8); box-shadow: 0px 0px 72px 0px #efefef; } .category li { padding:0.2rem 0; background:#efefef; margin:0.2rem 0; text-align:center; border-radius:5px; } .category li.on a { color:#0973C1 } .product .box { text-align: center; border: 1px solid #efefef; -moz-box-shadow: 4px 4px 10px #cccccc; -webkit-box-shadow: 4px 4px 10px #cccccc; box-shadow: 4px 4px 10px #cccccc; margin-bottom:1rem; padding:0.5rem; } .product .box div { overflow:hidden; } .product .box p { padding:0rem; margin: 0.25rem; text-overflow: -o-ellipsis-lastline; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; } .product .box img { width:100%; -moz-transition:all 1s ease 0s; -ms-transition:all 1s ease 0s; -o-transition:all 1s ease 0s; -webkit-transition:all 1s ease 0s; transition:all 1s ease 0s; } .product .box:hover img { -moz-transform:scale(1.1, 1.1); -ms-transform:scale(1.1, 1.1); -o-transform:scale(1.1, 1.1); -webkit-transform:scale(1.1, 1.1); transform:scale(1.1, 1.1); } .indexbanner img { width:100%; } .indexproduct { padding:3rem 0; } .indexabout { padding:3rem 0; background-image: url(../images/aboutbg.jpg); } .indexabout h5 { background:#efefef; margin:0; padding:1rem 0.5rem; font-weight:bold; font-size:1.5rem; } .indexabout h5:after { content: "Beijing Baode Instrument Co., Ltd."; font-size:1rem; display:block; color: #CCC; } .indexabout .img { height:100%; background-size:cover; background-image: url(../images/indexabout.jpg); } .indexabout .text { padding:1rem; background: #fff; } .indexabout .icolist { margin-top:1rem; } .indexabout .icolist a { background-color: #0973C1; color: #fff; width: 100px; height: 100px; display: block; margin: auto; line-height: 1.2em; padding: 10px; transition: all 0.5s; border-radius: 100px; text-align:center; margin-bottom:10px; } .indexabout .icolist a:hover { background-color: #0C3C8E; } .indexabout .icolist a img { width: 50%; padding-top: 10px; } .indexnews { padding:3rem 0; } .indexnews .top img { width:100%; } .indexnews .list { margin-top:1.5rem; } .indexnews .list li { border-bottom: 1px solid #dedede; position:relative; } .indexnews .list div { padding:0.5rem 0; } .indexnews .list div a { font-weight: normal; color: #333; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: all 0.3s; padding-right:150px; } .indexnews .list div span { position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: #999; transition: all 0.3s; } .indexnews .more { display:block; text-align:right; } .indexnews .more a { background:#0973C1; color:#fff; border-radius:10px; padding:0.5rem; font-size:0.5rem; } .indexnews .video { text-align:center; background:#efefef; } .indexnews .video video { width:100%; } .indexnews .video p { padding:0.3rem; } .pagebanner img { width:100%; } .pagebanner .pc{ display:block} .pagebanner .wap{ display:none;} .pagemain { padding:3rem 0; } .pagemain .title { width: 100%; font-size:1.5rem; color: #333; font-weight: bold; border-bottom: 1px solid #b8b8b8; padding:0.5rem 0; } .pagemain .single { padding:0.5rem 0; } .pagemain .single img{ max-width:100%; } .pagemain .single .detailtitle { text-align:center; font-size:1.25rem; font-weight:bold; padding:0.5rem; border-bottom:1px solid #efefef; } .pagemain .single .detaildate { text-align:center; padding:0.5rem; } .pagemain .single .detailimg { text-align:center; padding:1rem; } .pagemain .single .detailimg img { margin:auto; border:1px solid #efefef; padding:5px; } .pagemain .single .detailbutton { text-align:center; padding:0.5rem; } .pagemain .single .detailcontent img { max-width:100%; } .pagemain .single .newtable { background:#efefef; border-collapse: inherit; width:100%; } .pagemain .single .newtable td { background:#fff; padding:1px; margin:1px } .pagemain .single .detailmore { background:#efefef; padding:0.5rem; } .pagemain .product { margin:0.5rem 0; } .pagemain .news { padding:0.5rem 0; } .pagemain .news .insert { padding-bottom:1.5rem; } .pagemain .news .box { border: 1px solid #efefef; -moz-box-shadow: 4px 4px 10px #cccccc; -webkit-box-shadow: 4px 4px 10px #cccccc; box-shadow: 4px 4px 10px #cccccc; margin-bottom: 1rem; padding: 0.5rem; height: 100%; margin-bottom: 1rem; } .pagemain .news .img img { width:100%; } .pagemain .news .newstitle { padding:0.5rem 0; } .pagemain .news .newsdate { text-align:right; } @media screen and (max-width:768px) { .header { position:fixed; top:0; width:100%; z-index:9999; background:#fff; padding:0.5rem 0; border-bottom: 1px solid #efefef; } .header .menu { position:absolute; width:100%; top: 69px; right: 0; display:none; background: #0973C1; } .header .menu li { width:100%; height: auto; line-height:auto; border-bottom: 1px solid #efefef; } .header .menu li a { color:#fff; font-weight:bold; } .header .menu li ol { width:100%; position:initial } .header .menu li ol li { width:33%; margin-bottom: 0.5rem; padding:0; background:initial; border-bottom:0; } .header .menu li ol li a { color:#fff; font-weight:normal } .header .menu li:hover ol li a { color:#fff; font-weight:normal } .header .cate { display:block; cursor: pointer; } .header .language { display:none; } .indexbanner, .pagebanner { margin-top:78px; } .indexproduct .category ul { display:none; } .indexnews .text { padding:0.5rem } .pagemain{ padding:1.5rem 0;} .pagemain .category{ display:none;} .pagebanner .pc{ display:none} .pagebanner .wap{ display:block;} }