/*
Theme Name: 质量研究院
Theme URI:地址
Description: 上海网站建设
Version: 1.0 版本号
Author: 上海网站建设
Author URI: 作者的网址
Tags: 标签，多个用半角逗号隔开
*/
/* swiper覆盖 */
.banner .swiper-pagination-bullet{ background-color: #fff; opacity: .7;}
.banner .swiper-pagination-bullet-active{ background-color: #0167cc;opacity: 1;}
/*  */
.category-title{ text-align: center; padding-top: 60px; padding-bottom: 30px;}
.category-title h3{position: relative; font-size: 30px;padding-bottom: 15px;}
.category-title span{font-size:24px ; color: #777;}
.category-title h3:before{position: absolute;bottom: 0; left: 50%; content: ''; margin-left: -70px; width: 40px; height: 2px; background-color: #0167cc;}

@media (max-width:768px) {
	.category-title h3{font-size: 24px;}
	.category-title span{font-size:18px ;}
	.category-title h3:before{margin-left: -60px; }
}
/* about */
.about{padding: 50px 0; background-color: #fafafa;}
.about-left{float: left; width: 60%; padding-top: 40px; padding-right: 50px;}
.about-left>h3{position: relative; padding-bottom: 15px; margin-bottom: 25px; font-size: 24px;}
.about-left>h3:after{position: absolute; bottom: 0; left: 0; content: ''; display: block; width: 20px; height: 2px; background-color: #0167cc;}
.about-left>h3 span{font-size: 16px; color: #777;}
.about-left>p{line-height: 26px; font-size: 16px; color: #666;}
.about-year{padding: 35px 0;}
.about-year ul li{float: left; width: 33.33% ; text-align: center;}
.about-year ul li h3{font-size: 38px; font-family: arial;color: #0167cc;}
.about-year ul li:nth-child(1) h3{color: #fe6160;}
.about-year ul li:nth-child(2) h3{color: #ed9e56;}
.about-year ul li p{font-size: 16px; color: #777;}
.about-adventer{position: relative; }
.about-adventer ul{position: absolute; top: 0; left: 0; width: 120%;  background-color: #fff;}
.about-adventer ul li{float: left; width: 25% ; padding: 15px; text-align: center;}
.about-adventer ul li img{ max-width: 100%;}
.about-adventer ul li p{font-size:16px ; color: #666; padding-top: 10px;}
.about-adventer ul>a{position: absolute; bottom: -38px; left: 0; display: block; padding: 0 35px; line-height: 38px; background-color: #0167cc; color: #fff;}
.about-adventer ul>a i{display: inline-block;transform: rotate(180deg);}
.about-adventer ul>a:hover i{transform: translateX(5px);}
.about-right{float: left; width: 40%; text-align: center;}
.about-right img{max-width: 100%;}

@media (max-width:1200px) {
	.about-left{ width: 100%; padding-top: 20px; padding-right: 0;}
	.about-adventer{margin-bottom: 50px;}
	.about-adventer ul{position: static;width: 100%; }
	.about-right{display: none;}
}
@media (max-width:768px) {
	.about-adventer ul li{ width: 50% ; }
}
@media (max-width:640px) {
	.about-year ul li h3{font-size: 24px; }
	.about-year ul li p{font-size: 12px; }
}
/*  */
.research ul{margin-right: -30px;}
.research ul li{float: left; width: 25%; padding: 0 30px 30px 0;}

.research-pic{position: relative; display: block;}
.research-pic>img{width: 100%;}
.research-mask{position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding-top: 50px; background-color: rgba(1,103,204,.8); text-align: center; color: #fff; }
.research-mask img{max-width: 100%;}
.research-mask p{font-size: 18px; padding-top: 20px;}

.research ul li a:hover .research-mask{background-color: rgba(240,129,0,.8);}
@media (max-width:1100px) {
	.research-mask{ padding-top: 40px; }
}
@media (max-width:960px) {
	.research-mask{ padding-top: 20px; }
	.research-mask p{font-size: 14px; padding-top: 20px;}
}
@media (max-width:768px) {
	.research ul{margin-right: -15px;}
	.research ul li{float: left; width: 50%; padding: 0 15px 15px 0;}
	.research-mask{ padding-top: 0;display: flex; align-items: center; justify-content: center; }
	.research-mask img{display: none;}
	.research-mask p{font-size: 14px; padding: 0;}
}

/*  */
.team {padding-bottom: 60px; background-image: url(images/team-bg.jpg); background-repeat: no-repeat; background-size: cover;}
.team>h3 { font-size: 36px; text-align: center; padding-bottom: 60px;}
.team .container-width {position: relative;}
.team-gallery-top{padding: 50px 0 !important;padding-top: 0 !important;}
.team-left {float: left;width: 30%;padding: 25px;}
.team-left img {width: 100%;}
.team-right {float: right;width:70%;padding: 15px;}
.team-right h3 {padding-bottom: 5px;padding-top: 45px;}
.team-right h4 {font-size: 14px;color: #999; padding-bottom: 10px;}
.team-right p {font-size: 14px; line-height: 24px; color: #666;}
.team-right a{display: inline-block; margin-top: 25px; padding: 0 30px; line-height: 36px; border-radius: 4px; border: 1px solid #0167cc; color: #0167cc;}

.team-gallery-top {width: 90%; margin: 0 auto;}
.team-gallery-thumbs .swiper-slide {background-color: #0167cc;cursor: pointer;}
.team-gallery-top .swiper-slide:first-child h3{font-size: 26px;font-weight:700;}
/* .team-left-m {float: left;width: 30%;padding: 10px ;} */

.team-left-m {float: left;width: 35%;padding: 10px;margin-left: 5%;}

.team-left-m img {width: 100%;height: 80px;}

/* .team-right-m {float: left; width: 70%; padding: 10px 15px 10px; color: #fff;text-align: center;} */

.team-right-m {float: left;width: 40%;padding: 10px 15px 10px;color: #fff;text-align: center;padding-left: 0;margin-left: 5%;}

.team-right-m h3 {padding-top: 4px;padding-bottom: 20px;}
.team-gallery-thumbs .swiper-slide-thumb-active { background-color: #0086B3;}

@media (max-width:768px) {
	.team { padding: 15px 0 25px;}
	.team>h3 { font-size: 18px; padding-bottom: 15px; }
	.team-gallery-top{padding: 20px 0 !important;}
	.team-left { float: inherit; width: 40%; margin: 0 auto; text-align: center; padding: 0; }
	.team-right { float: inherit; width: 100%; padding: 0;}
	.team-gallery-thumbs { display: none;}
}

/* honor */
.honor-box{position: relative; display: block; overflow: hidden;}
.honor-box img{width: 100%;}

.honor-mask{position: absolute; top: 0; left: 0; right: 0; width: 100%; height: 100%; transform: translateY(10px); opacity: 0;  }
.honor-mask img{width: 100%;height: 100%;object-fit: cover;}
.honor-mask-txt{position: absolute; top: 80px; left: 50%; margin-left: -30%; right: 0; width: 60%; text-align: center; color: #fff;}
.honor-mask-txt h3{position: relative; line-height: 24px; font-size: 20px; padding-bottom: 15px;}
.honor-mask-txt h3:after{position: absolute; bottom: -5px; left: 50%; content: ''; margin-left: -10px; width: 20px; height: 1px ; background-color: #fff;}
.honor-mask-txt span{display: block; width: 40px; height: 40px; margin: 20px auto; line-height: 35px; font-size: 24px; text-align: center; border: 1px solid #fff; border-radius: 50%;}

.honor-arr{position: relative; margin-top: 50px; margin-bottom: 50px; text-align: center;}
.honor-arr .swiper-button-prev,
.honor-arr .swiper-button-next{ position: static; float: left; top: inherit; left: inherit; right: inherit; margin: 0; width: auto; background: none;}

.honor .swiper-slide a:hover .honor-mask{transform: translateY(0); opacity: 1;}
@media (max-width:768px){.honor-arr{ margin-top: 20px; margin-bottom: 20px;}}
@media (max-width:640px) {
	.honor-mask-txt{top: 140px;} 
}

/* .school{background-image: url(images/school.jpg); background-repeat: no-repeat; background-size: cover; padding-bottom: 30px;}
.school .category-title h3{color: #fff;}
.school .category-title h3 span{color: #aaa;} */

.school-box{ padding: 30px; background-color: #fff;}
.school-box .swiper-container{ padding-bottom: 60px!important;}
.school-box .swiper-slide{border: 1px solid #eee;}
.school-box .swiper-slide img{width: 100%;}
.school-box .swiper-slide h3{padding:0 25px; font-weight: bold; }
.school-box .swiper-slide h3 a{display: block; padding: 15px 0; border-bottom: 1px solid #eee; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.school-box .swiper-slide p{padding: 15px 25px; color: #777;}

.school-more{display: block; width: 40%; margin: 15px auto; padding: 0 20px ; text-align: center; border-radius: 4px; line-height: 38px; border:1px solid #666; color: #666;}

.school-box .swiper-slide:hover h3 a{ border-bottom-color:#0167cc;}
.school-box .swiper-slide:hover .school-more{ border:1px solid #0167cc; color: #0167cc;}

.school>a{display: block; max-width: 150px; margin: 30px auto 0; padding: 0 20px ; text-align: center;  line-height: 38px; border:1px solid #fff; color: #fff;}
.school>a:hover{background-color: #fff; color: #333;}

@media (max-width:768px) {
	.school-box{ padding: 15px;}
}

/* newes */
.news {padding-bottom: 40px;}
.news ul li{float: left; width: 50%; padding: 25px;}
.news-date{float: left; width: 25%; text-align: center;  border: 1px solid #ccc; padding: 25px;}
.news-date h3{ padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid #0167cc; font-size: 24px; }
.news-content{float: left; width: 75%; padding: 25px;}
.news-content h3{padding-bottom: 15px; text-overflow:ellipsis; white-space: nowrap; overflow: hidden;}
.news-content p{color: #777; height: 38px; overflow: hidden;}
.news ul li:hover .news-content h3{color: #0167cc;}

.news>a{display: block; max-width: 150px; margin: 30px auto 0; padding: 0 20px ; text-align: center;  line-height: 38px; border:1px solid #0167cc; color: #0167cc;}
.news>a:hover{background-color: #0167cc; color: #fff;}
@media (max-width:940px) {
	.news-date{ padding: 15px;}
}
@media (max-width:768px) {
	.news ul li{ width: 100%; padding: 15px 0;}
	.news-date{ width: 100%;}
	.news-content{ width: 100%; padding: 10px 0;}
	.news-content p{height: auto; }
}

