/* updata:2018/7/25 author:liting */ .menuPosition { width: 100%; position: relative; z-index: 10; } .menuPosition .carousel { width: 100%; } .carousel-inner { height: 100% !important; } .menuPosition .carousel img { width: 100%; display: inline-block; position: absolute; top: 0; left: 0; } .patentMenu { width: 1164px; position: absolute; top: 0; left: 50%; margin-left: -582px; height: 0px; } .patentMenu .firstMenu { position: absolute; z-index: 20; overflow: hidden; width: 198px; height: 452px; top: 0px; left: 15px; background: #fff; } .patentMenu .firstMenu a { display: inline-block; color: #7a7878; } .patentMenu .firstMenu>p { width: 100%; height: 72px; text-align: center; background: url(../../../img/patent/patent_menu1.png)no-repeat; background-size: 100% 100%; } .firstMenu ul li { width: 100%; height: 127px; text-align: center; padding: 0 20px; transition: all .3s ease-in; } .firstMenu ul li.active { margin-left: 15px; transition: all .3s ease-in-out; } .firstMenu ul li.active a { color: #1797e9; } .firstMenu ul li.active span { color: #1797e9 !important; border-color: #1797e9; } .firstMenu ul li.active p { color: #1797e9; } .firstMenu ul li>p { height: 127px; font-size: 18px; color: #7a7878; line-height: 126px; border-bottom: 1px solid #e0e0e0; } .firstMenu ul li>p span:nth-child(1) { display: inline-block; height: 20px; line-height: 18px; color: #7a7878; vertical-align: middle; } .firstMenu ul li .circl { display: inline-block; width: 20px; height: 20px; border: 1px solid #7a7878; border-radius: 50%; font-size: 10px; vertical-align: middle; margin-right: 10px; margin-top: -2px; } .firstMenu ul li:hover { cursor: pointer; } .firstMenu ul li .direction { float: right; margin-right: 16px; width: 10px; font-size: 10px; height: 10px; display: inline-block; } .firstMenu ul li:nth-child(3)>p { border: none } .secondMenu { overflow: hidden; position: absolute; left: 213px; top: 0px; background: #fff; height: 440px; width: 0px; border-top: 1px solid #e0e0e0; transition: all .3s ease-in-out; } .secondMenu.active { width: 660px; transition: all .3s ease-in } .secondMenu ul li { position: absolute; top: 0; left: 700px; z-index: 50; opacity: 0; transition: all .3s ease-in-out; } .secondMenu ul li div { width: 180px; float: left; height: 300px; margin-top: 44px; border-left: 1px dotted #e0e0e0; text-align: center; } .secondMenu ul li.active { left: 0; transition: all .3s ease-in-out; opacity: 1; } .secondMenu ul li div:first-child { border-left: none; } .secondMenu ul li div p a { display: inline-block; margin-bottom: 45px !important; color: #7a7878; } .secondMenu ul li div p:nth-child(1) a { margin-top: 10px; } .secondMenu ul li div p a:hover { color: #1797e9; } .secondMenu ul li div p { width: 100%; overflow: hidden; padding: 0 5px; } .secondMenu .menuBj { width: 130px; height: 110px; background: url(../../../img/patent/patent_menuBj.jpg)no-repeat; background-size: 100% 100%; position: absolute; right: 13px; bottom: 60px; } /* 搜索 */ .indexSearch { width: 743px; height: 36px; margin: 10px auto 74px; ; } .indexSearch .search-inp { clear: both; width: 635px; height: 36px; } .indexSearch .demandSearch { width: 530px; height: 44px; line-height: 34px; } .indexSearch .searchBtn { height: 44px; line-height: 22px; background: #1697e9; border: 1px solid #1697e9; color: #ffffff; } .indexSearch .searchBtn img { width: 35px; height: 34px; vertical-align: top } .indexSearch .search-inp { float: left; } .indexSearch .search-inp .input-group { width: 530px; } .form-control, .btn { border-radius: 0; } .btn { padding: 0; } .indexSearch .search-inp .input-group .input-group-btn { width: 104px; } .indexSearch .search-inp .input-group .input-group-btn button { width: 60px; ; font-size: 18px; } .indexSearch .apply { cursor: pointer; float: right; width: 105px; height: 36px; line-height: 36px; text-align: center; font-size: 18px; color: #ffffff; background: #ffac2a; } /* 热门推荐 */ .RecommendTitle { clear: both; text-align: center; position: relative; } .RecommendTitle>.dingwei { position: absolute; top: -130px; } .RecommendTitle h2 { font-size: 26px; color: #323131; } .RecommendTitle span { display: inline-block; width: 54px; height: 4px; background: #1697e9; transition: all .2s ease-in; } /* 最新发布 */ .newRelease { margin-top: 30px; display: flex; display: -webkit-flex; justify-content: space-between; margin-bottom: 70px; border: 1px solid #e0e0e0; } .newRelease li { width: 25%; height: 420px; position: relative; z-index: 20; } /* .newRelease li:first-child .txt{ border-left: 1px solid #e0e0e0; } .newRelease li:last-child .txt{ border-right: 1px solid #e0e0e0; } */ .newRelease li { border-right: 1px solid #e0e0e0; } .newRelease li:last-child { border: none; } .newRelease li:nth-child(2n) .newReleaseImgs { width: 100%; height: 290px; position: absolute; bottom: 0; left: 0; z-index: 25; overflow: hidden; transition: all .2s ease-in; border-top: 1px solid #e0e0e0; } .newRelease li:nth-child(2n+1) .newReleaseImgs { width: 100%; height: 290px; position: absolute; top: 0; left: 0; z-index: 25; overflow: hidden; transition: all .2s ease-in; border-bottom: 1px solid #e0e0e0; } .newRelease li:nth-child(2n+1) .txt { width: 100%; height: 162px; position: absolute; bottom: 0; left: 0; z-index: 26; } .newRelease li:nth-child(2n) .txt { width: 100%; height: 162px; position: absolute; top: 0; left: 0; z-index: 26; } .newRelease li:nth-child(2n+1) .txt .triangle_border_up { position: absolute; top: 18px; left: 42px; z-index: 60; } .newRelease li:nth-child(2n) .txt .triangle_border_up { position: absolute; transform: rotate(180deg); bottom: 18px; left: 42px; z-index: 60; } .newRelease li div img { width: 100%; height: 100%; display: inline-block; transition: all .2s ease-in; } .triangle_border_up { width: 0; height: 0; border-width: 0 14px 14px; border-style: solid; border-color: transparent transparent #1697e9; /*透明 透明 灰*/ } .newRelease li .txt .triangle { width: 18px; height: 12px; display: inline-block; } .txt { padding: 45px 30px; } .txt .wrapperTxt h4 { font-weight: normal; font-size: 20px; color: #1f1f1f; margin-bottom: 16px; transition: all .2s ease-in-out; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; -o-text-overflow: ellipsis; } .txt .wrapperTxt p { font-size: 16px; color: #919292; overflow: hidden; display: -webkit-box; text-overflow: ellipsis; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } .txt .wrapperTxt p span { display: inline-block; width: 0; height: 0; margin-left: 14px; border-width: 6px 0 6px 6px; border-style: solid; border-color: transparent transparent transparent #40acff; /*透明 透明 透明 灰*/ } .newRelease li:hover .newReleaseImgs img { transform: scale(1.1); transition: all .4s ease-in-out; } .newRelease li:hover h4 { color: #1697e9; margin-left: 10px; transition: all .2s ease-in-out; } /* 专利服务 */ .patentService { width: 100%; height: 500px; background: url(../../../img/patent/patentServesBj.jpg)no-repeat; background-size: 100% 100%; margin-top: 24px; margin-bottom: 64px; padding-top: 35px; } .patentService .patentServiceList ul { display: flex; height: 280px; display: -webkit-flex; justify-content: space-between; } .patentService .patentServiceList ul li { width: 370px; height: 430px; background: #ffffff; transition: all .2s ease-in; box-shadow: 0 0 4px #ccc; } .patentServiceList ul li:hover p { color: #1697e9 !important; } .patentService .patentServiceList ul li div { width: 100%; height: 350px; overflow: hidden; } .patentService .patentServiceList ul li p { height: 78px; line-height: 78px; text-align: center; padding: 0 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; -o-text-overflow: ellipsis; font-size: 22px; color: #1f1f1f; } .patentService .patentServiceList ul { margin-bottom: 20px; } .patentService .patentServiceList ul li div img { width: 100%; height: 100%; display: inline-block; transition: all .2s ease-in; } .patentService .patentServiceList ul li:hover { box-shadow: 0 4px 10px #ccc; transition: all .2s ease-in-out; margin-top: -4px; } /* more */ .more { clear: both; overflow: hidden; float: right; font-size: 14px; color: #323131; } .more:hover { color: #1697e9; } .more:hover span { background: #1697e9; } .more:hover span::after { background: #1697e9; } .more span { display: inline-block; width: 22px; height: 1px; margin-left: 10px; margin-right: 8px; background: #323131; vertical-align: middle; } .more span:after { content: ''; width: 6px; height: 1px; display: inline-block; background: #323131; transform: rotate(45deg); vertical-align: top; margin-left: 16px; margin-top: -3px; } /* 商标服务 */ .trademark { margin-top: 20px; background: #f4f4f4; padding-top: 36px; padding-bottom: 44px; overflow: hidden; } .trademarkList { height: 380px; display: -webkit-flex; display: flex; justify-content: space-between; padding: 0 14px; margin-bottom: 16px; } .trademarkList li { width: 284px; height: 380px; background: #ffffff; transition: all .2s ease-in; box-shadow: 0 0 4px #ccc; } .trademarkList li div { width: 100%; height: 274px; overflow: hidden; } .trademarkList li div img { width: 100%; height: 100%; display: inline-block; } .trademarkList li p { height: 94px; line-height: 94px; overflow: hidden; text-overflow: ellipsis; -o-text-overflow: ellipsis; white-space: nowrap; font-size: 23px; color: #1f1f1f; text-align: center } .trademarkList li:hover { margin-top: -4px; box-shadow: 0 4px 10px #ccc; transition: all .2s ease-in-out; } /* 版权服务 */ .copyright { clear: both; margin-top: 82px; padding: 0 14px; } .copyright h3 { font-weight: normal; font-size: 26px; color: #2f2f2f; height: 32px; padding-left: 14px; border-left: 4px solid #1697e9; margin-bottom: 12px; } .copyright ul { height: 402px; display: flex; display: -webkit-flex; justify-content: space-between; margin-bottom: 20px; margin-top: 15px; } .copyright ul li { width: 360px; background: #ffffff; transition: all .2s ease-in; box-shadow: 0 0 4px #ccc; } .copyright ul li div { width: 100%; height: 340px; overflow: hidden; } .copyright ul li div img { width: 100%; height: 100%; transform: scale(0.95); display: inline-block; } .copyright ul li:hover p { color: #1697e9 } .copyright ul li p { height: 62px; line-height: 52px; overflow: hidden; text-overflow: ellipsis; -o-text-overflow: ellipsis; white-space: nowrap; font-size: 20px; color: #484545; text-align: center } .copyright ul li:hover { margin-top: -4px; box-shadow: 0 4px 20px #ccc; transition: all .2s ease-in-out } .trademarkList li:hover { margin-top: -4px; box-shadow: 0 4px 10px #ccc; transition: all .2s ease-in-out; } .trademarkList li:hover p { color: #1697e9; } /* 知产百科 */ .Encyclopedias { clear: both; padding-top: 52px } .Encyclopedias ul { overflow: hidden; margin-top: 26px; width: 100%; display: flex; display: -webkit-flex; justify-content: space-between; flex-flow: row wrap; /*子元素溢出父容器时换行*/ } .Encyclopedias ul li { width: 578px; height: 157px; margin-bottom: 30px; } .Encyclopedias ul li a { display: inline-block; display: flex; display: -webkit-flex; justify-content: space-between; } .Encyclopedias ul li .EncyclopediasImg { width: 290px; height: 157px; overflow: hidden; } .Encyclopedias ul li .EncyclopediasImg img { width: 100%; height: 100%; display: inline-block; transition: all .4s ease-in-out; } .Encyclopedias ul li .EncyclopediasTxt { width: 288px; height: 157px; padding: 22px 12px 0px; } .Encyclopedias ul li .EncyclopediasTxt h4 { font-weight: normal; font-size: 16px; color: #1f1f1f; margin-bottom: 19px; } .Encyclopedias ul li .EncyclopediasTxt p { font-size: 14px; color: #7a7878; overflow: hidden; display: -webkit-box; text-overflow: ellipsis; -webkit-box-orient: vertical; -webkit-line-clamp: 4; } .Encyclopedias .more { margin-bottom: 50px; } .Encyclopedias ul li:hover .EncyclopediasImg img { transform: scale(1.1); transition: all .4s ease-in-out; } .Encyclopedias ul li:hover h4 { color: #1697e9; } /* 测试 */ #myCarousel img { display: inline-block; } @media screen and (max-width:1200px) { .patentService { width: 1200px !important; margin: 0 auto; } }