.video { width: 80%; margin: 0 auto; text-indent: 0px; } .video video{ width: 100%; } ol,ul{ list-style: none; } /*搜索框*/ .modal-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1040; background-color: #000; } .fade { opacity: 0; -webkit-transition: opacity .15s linear; transition: opacity .15s linear; } .fade.in { opacity: 1; } .modal-backdrop.in { filter: alpha(opacity=70); opacity: .7; } .modal { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1050; display: none; overflow: auto; overflow-y: none; /*overflow-y: scroll;*/ -webkit-overflow-scrolling: touch; outline: 0; } /* .modal.in .modal-main { -webkit-transform: translate(0, 0); -ms-transform: translate(0, 0); transform: translate(0, 0); } .modal.fade .modal-main { -webkit-transition: -webkit-transform .3s ease-out; -moz-transition: -moz-transform .3s ease-out; -o-transition: -o-transform .3s ease-out; transition: transform .3s ease-out; -webkit-transform: translate(0, -25%); -ms-transform: translate(0, -25%); transform: translate(0, -25%); }*/ .modal-content { position: relative; background-color: #fff; background-clip: padding-box; border: 1px solid #999; border: 1px solid rgba(0, 0, 0, .2); border-radius: 6px; outline: none; -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5); box-shadow: 0 3px 9px rgba(0, 0, 0, .5); } .modal-main { position: relative; width: auto; margin: 10px; } .modal-header { min-height: 16.42857143px; padding: 15px; border-bottom: 1px solid #e5e5e5; } .modal-header { background-color: rgba(62,86,153,0.9); color: #fff; border-radius: 0; -webkit-border-radius: 0; border: none; } .modal-header .close { color: #fff; opacity: .5; margin-top: -2px; -webkit-appearance: none; padding: 0; cursor: pointer; background: transparent; border: 0; } .modal-header .close { float: right; font-size: 21px; font-weight: bold; line-height: 1; color: #000; text-shadow: 0 1px 0 #fff; filter: alpha(opacity=20); opacity: .2; } .close:hover, .close:focus { color: #000; text-decoration: none; cursor: pointer; filter: alpha(opacity=50); opacity: .5; } .modal-body { position: relative; padding: 20px; } .modal-body .page{ width: 100%; margin-top: 20px; } .modal-body .page ul { margin: 0 auto; display: table; text-align: center; } .modal-body .page ul li { float: left; width: 30px; height: 30px; line-height: 30px; text-align: center; padding: 0px 10px 0px 10px; border: 1px solid #777; margin: 0px 5px 5px 5px; cursor: pointer; } .modal-body .page ul li.select{ background-color: #ddd; } /*图片预览相关*/ .pictures, .pictures2 { list-style: none; margin: 0; padding: 0; display: table; width: 100%; } .pictures > li, .pictures2> div > li { border: 1px solid transparent; float: left; /*height: calc(100% / 8);*/ height: 160px; margin: 0 -1px -1px 0; overflow: hidden; width: calc(100% / 4); box-sizing: border-box; } .pictures2> div > li{ width: calc(100%/2); } .pictures2> div.images{ overflow: hidden; } .pictures > li > img, .pictures2> div > li > img { cursor: zoom-in; width: 100%; height: 100%; object-fit: cover; } .viewer-backdrop { background-color: rgba(0, 0, 0, 0.8); } .default-invisible div .title { display: block; width: 100%; text-align: center; font-size: 20px; line-height: 28px; margin: 35px auto 0px auto; } .event-nav{ text-align:center; } .event-nav .btn-square { margin-left: 2px; margin-right: 2px; margin-bottom: 8px; }.btn { display: inline-block; border: none; outline: none; background: transparent; text-align: center; vertical-align: middle; cursor: pointer; padding: 0; transition: all .2s ease-in-out; } .btn-square { display: inline-block; box-sizing: border-box; padding: 7px 16px; background-color: #f5f5f5; vertical-align: middle; color: #333; min-height: 35px; border: solid 1px #000; } .event-nav .btn-square.active { background: #1f8dd6; color: #fff; } .spirit-block { background-color: #0693e5; text-align: center; margin-bottom: 30px; } .spirit-block h5 { color: #fff; font-weight: 700; font-size: 20px; padding: 20px 0; } .event-content { padding-top: 30px; padding-bottom: 30px; } .default-invisible>div { display: none; } .default-invisible>div.active { display: block; } .btn-square:hover{background:#bebebe} .btn-square.fade-blue:hover{color:#fff;background:#1c7fc1} @media (min-width: 768px){ .modal-content { -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5); box-shadow: 0 5px 15px rgba(0, 0, 0, .5); } .modal-main { width: 80vw; max-width: 1200px; margin: 30px auto; } } .search-main { } .search-main .news { float: none; width: auto; height: 120px; /*margin-bottom: 20px;*/ padding: 10px; color: #000; } .search-main .news:hover{ background-color: #ddd; } .search-main .newsImg { float: left; width: 180px; height: 120px; background-position: 50%; background-size: cover; background-color: #777; background-repeat: no-repeat; background-position-y: top; } .search-main .newsTxt{ height: 120px; margin-left: 190px; max-height: 180px; overflow: hidden; } .search-main .newsTxt .newsTime{ font-size: 16px; line-height: 30px; } .search-main .newsTxt .newsTitle{ height: 50px; line-height: 25px; font-size: 16px; font-weight: 700; letter-spacing: 1px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .search-main .newsTxt .newsContent{ margin-top: 10px; font-size: 14px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; } /*尾部*/ footer { width: 100%; height: 300px; background: #3e3a39; bottom: -300px; position: fixed; z-index: -1; } footer .main { width: 1340px; height: 200px; margin: 100px auto 0; left: 50%; margin-left: -670px; position: absolute; } footer .logo { position: relative; width: 372px; height: 84px; float: left; background-position: center; background-size: cover; background-repeat: no-repeat; background-image: url(../../img/v3/logo-bottom.png); margin-left: 30px; } footer .text { float: left; color: #fff; font-size: 14px; margin-left: 60px; line-height: 20px; } footer .main .text a { text-decoration: none; color: #fff; margin-right: 10px; } footer .link ul { list-style: none; } footer .link ul li { list-style: none; float: left; margin-right: 9px; position: relative; color: #fff; } footer .link .text { margin-left: 0px; margin-top: 10px; } footer .link { float: left; margin-top: 20px; margin-left:45px; } footer .link .imgs ul li { list-style: none; float: left; margin-right: 9px; position: relative; color: #fff; } footer .link .imgs ul li ul li:first-child { display: none; position: absolute; bottom: 30px; left: -35px; } footer .link .imgs ul li:first-child ul li:first-child { position: absolute; bottom: 50px; left: -15px; } footer .link .imgs ul li ul li:last-child { display: none; position: absolute; top: 6px; left: 8px; z-index: -1; } footer .link .imgs ul li:hover ul li { display: block; } @media (max-width: 1340px) { footer .main{ width: 1180px; margin-left: -590px; } footer .logo{ margin-left: 0px; } footer .text{ margin-left: 5px; } footer .link{ margin-left: 5px; } } @media (max-width: 1199px) { .video{ width: 100%; margin: 0 auto; } footer .main{ width: 980px; margin-left: -490px; } footer .logo{ width: 100px; height: 100px; background-position: left; margin-left: 20px; margin-right: 30px; } footer .link{ margin-left: 25px; }/* footer .text{ width: 330px; } footer .link{ width: 330px; margin-top: 0px; }*/ } @media (max-width: 991px) { .logo{ display: block; margin-left: 10px; } footer .main{ width: 90vw; margin-left: -45vw; margin-top: 50px; } footer .text{ width: auto; } footer .link{ width: 100%; } footer .main .logo{ margin: auto; float: unset; } }