/*侧边栏*/ .asideList12 .gp-subLeft { position: relative; } .asideList12 .gp-subLeft .subLeftTitle { padding: 24px 15px; color: #fff; font-weight: bold; text-align: center; background: #94070a; position: relative; margin-bottom: 1px; } .asideList12 .gp-subLeft .gp-m-inner-header-icon { width: 40px; height: 40px; text-align: center; color: #fff; position: absolute; right: 0; top: 50%; display: none; line-height: 40px; transform: translateY(-50%); } .asideList12 .gp-subLeft > ul { border: 1px solid #ccc; border-top: none; border-bottom: none; text-align: center; } .asideList12 .gp-subLeft > ul > li { position: relative; } .asideList12 .gp-subLeft > ul > li > a { padding: 15px 20px 15px 10px; display: block; transition: all 0.35s ease-in-out; position: relative; position: relative; line-height: 1.4; border-bottom: 1px solid #ccc; } .asideList12 .gp-subLeft > ul > li > a:hover { color: #94070a; margin-right: 0; border-bottom: 1px solid #94070a; } .asideList12 .gp-subLeft > ul > li a.active { color: #94070a; margin-right: 0; border-bottom: 1px solid #94070a; } .asideList12 .gp-subLeft > ul > li .gp-toggles { width: 40px; height: 53px; position: absolute; right: 0; top: 0; line-height: 56px; text-align: center; cursor: pointer; color: #999; opacity: 0.5; filter: alpha(opacity=50); font-size: 18px; } .asideList12 .gp-subLeft > ul > li a.active + span.gp-toggles { color: #94070a !important; } .asideList12 .gp-subLeft > ul > li .gp-second-nav { display: none; background-color: #fff; } .asideList12 .gp-subLeft > ul > li .gp-second-nav dd a { display: block; padding: 8px 22px 8px 5px; color: #666; transition: all 0.35s ease-in-out; position: relative; font-size: 15px; border-bottom: 1px solid #ccc; } .asideList12 .gp-subLeft > ul > li .gp-second-nav dd a:hover { color: #94070a; border-bottom: 1px solid #94070a; } .asideList12 .gp-subLeft > ul > li .gp-second-nav dd a > span { position: relative; } .asideList12 .gp-subLeft > ul > li .gp-second-nav dd a.active { background-color: #94070a; color: #fff; } @media screen and (max-width:996px) { .asideList12 .gp-subLeft .subLeftTitle { padding: 10px 15px; text-align: left; font-size: 20px; } .asideList12 .gp-subLeft .gp-m-inner-header-icon { display: block; } .asideList12 .gp-subLeft > ul { display: none; text-align: left; } } .block-list78 { border-bottom: 1px solid #e4e4e4; margin-bottom: 33px; width: 100%; overflow: hidden; } .block-list78 h2 { color: #94070a; line-height: 2.2; position: relative; display: inline-block; } .block-list78 h2::after { content: ""; display: block; width: 100%; height: 4px; background: #94070a; position: absolute; left: 0; bottom: 0; } .block-list78 .gp-bread { float: right; text-align: right; color: #333333; opacity: 0.6; filter: alpha(opacity=60); height: auto; line-height: 20px; color: #999; padding: 10px 0; overflow: hidden; } .block-list78 .gp-bread span { margin: 0 2px; display: inline-block; vertical-align: middle; font-size: 12px; color: #999; width: 7px; height: 5px; background: url(../images/block-list78_rt.png) no-repeat; background-size: cover; } .block-list78 .gp-bread a { color: #333333; opacity: 0.6; filter: alpha(opacity=60); } .block-list78 .gp-bread a:hover { color: #94070a; opacity: 1; filter: alpha(opacity=100); } /*水平菜单*/ .horizontalMenu1 { text-align: center; } .horizontalMenu1 ul li a { padding: 12px 0; margin: 0 30px; display: inline-block; transition: all 0.35s ease-in-out; position: relative; line-height: 1.4; vertical-align: middle; } .horizontalMenu1 ul li a::before { content: ''; width: 0; bottom: 0; height: 2px; left: 50%; transition: all 0.35s ease-in-out; background-color: #94070a; position: absolute; } .horizontalMenu1 ul li a:hover { color: #94070a; } .horizontalMenu1 ul li a.active { color: #94070a; } .horizontalMenu1 ul li a.active::before { width: 100%; left: 0; } .gp-teacher5 { overflow: hidden; } .gp-teacher5 > ul { margin: 0 -10px 0; overflow: hidden; } .gp-teacher5 > ul li { margin-bottom: 25px; } .gp-teacher5 > ul li a { display: block; margin: 0 10px; } .gp-teacher5 > ul li a .img { padding-bottom: 150%; } .gp-teacher5 > ul li a .title { margin: 3px 0 0; height: 1.8em; line-height: 1.8; overflow: hidden; display: -webkit-box; /* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */ display: -moz-box; /* Firefox 17- */ -webkit-line-clamp: 1; -webkit-box-orient: vertical; white-space: normal; text-align: center; } .gp-teacher5 > ul li a p { overflow: hidden; text-align: center; display: -webkit-box; /* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */ display: -moz-box; /* Firefox 17- */ -webkit-line-clamp: 1; -webkit-box-orient: vertical; white-space: normal; height: 2.1em; line-height: 2.1; } @media screen and (max-width:479px) { .gp-teacher5 > ul li { margin-bottom: 0; } .gp-teacher5 > ul li a { margin: 0 8px; } .gp-teacher5 > ul { margin: 0 -8px; } }