/*侧边栏*/ .asideList1 .gp-subLeft { position: relative; } .asideList1 .gp-subLeft .subLeftTitle { padding: 20px 15px; color: #fff; font-weight: normal; text-align: center; background: #4e2a84; position: relative; margin-bottom: 1px; } .asideList1 .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%); } .asideList1 .gp-subLeft > ul > li { position: relative; } .asideList1 .gp-subLeft > ul > li > a { padding: 15px 20px; display: block; transition: all 0.35s ease-in-out; position: relative; position: relative; line-height: 1.4; border-bottom: 1px solid #e0e0e0; border-left: 10px solid #F1F1F1; } .asideList1 .gp-subLeft > ul > li > a:hover { color: #333; background-color: #fff; margin-right: 0; } .asideList1 .gp-subLeft > ul > li a.active { color: #fff; margin-right: 0; border-left: 10px solid #4e2a84; background-color: #4e2a84; } .asideList1 .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; } .asideList1 .gp-subLeft > ul > li a.active + span.gp-toggles { color: #fff !important; } .asideList1 .gp-subLeft > ul > li .gp-second-nav { display: none; background-color: #fafafa; } .asideList1 .gp-subLeft > ul > li .gp-second-nav dd a { display: block; padding: 13px 15px 13px 50px; color: #666; transition: all 0.35s ease-in-out; position: relative; font-size: 15px; } .asideList1 .gp-subLeft > ul > li .gp-second-nav dd a::before { content: ''; width: 10px; height: 0; left: 0; top: 0; position: absolute; background-color: #4e2a84; transition: all 0.4s ease-in-out; height: 100%; } .asideList1 .gp-subLeft > ul > li .gp-second-nav dd a:hover { color: #4e2a84; } .asideList1 .gp-subLeft > ul > li .gp-second-nav dd a > span { position: relative; } .asideList1 .gp-subLeft > ul > li .gp-second-nav dd a.active { background-color: #4e2a84; color: #fff; } @media screen and (max-width:996px) { .asideList1 .gp-subLeft .subLeftTitle { padding: 10px 15px; text-align: left; font-size: 20px; } .asideList1 .gp-subLeft .gp-m-inner-header-icon { display: block; } .asideList1 .gp-subLeft > ul { display: none; } } .gp-title3 { border-bottom: 1px solid #4e2a84; padding: 13px 0; margin-bottom: 10px; } .gp-title3 span { display: inline-block; vertical-align: middle; } .gp-title3 h2 { font-weight: normal; box-sizing: border-box; display: inline-block; vertical-align: middle; margin-right: 10px; } .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: 124%; } .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; } }