码迷,mamicode.com
首页 > Web开发 > 详细

new-nav-css

时间:2016-11-04 20:37:00      阅读:283      评论:0      收藏:0      [点我收藏+]

标签:isp   ada   ide   :hover   ons   touch   z-index   ant   png   


header:before, header:after ,
.navigation:before, .navigation:after,
.nav-row:before, .nav-row:after,
.top-bar:before, .top-bar:after{
content: " ";
display: table;
}
header:after,
.navigation:after,
.nav-row:after,
.top-bar:after{
visibility: hidden;
clear: both;
content: "";
height: 0;
display: block;
}
.masthead ul,
.masthead ul li{
list-style-type: none;
margin-left: 0;
}
.accessible {
position: absolute;
left: -9999px;
}
.masthead a:hover,
.masthead a:focus,
.masthead a:active,
.masthead a:visited{
text-decoration: none;
}
/*header: Navigation default*/
.masthead .navigation .top-bar{
max-width: 75rem;
margin: 0 auto;
padding-left: 15px;
padding-right: 15px;
}
.masthead .navigation .nav-row .primary-nav{
width: 100%;
max-width: 75rem;
margin: 0 auto;
}
.masthead .navigation .title{
font-size: 1rem;
color:#415464;
}

/*login apply*/
.masthead .navigation .login .login-in{
padding: 20px 15px;
}
.masthead .navigation .login .login-in,
.masthead .navigation .login .login-in li,
.masthead .navigation .login .login-in p{
font-size:0.777rem;
color: #333;
}
.masthead .navigation .login .login-in li,
.masthead .navigation .login .login-in p,
.masthead .navigation .login .login-in a{
font-size:0.777rem;
line-height: 1.5;
margin-bottom: 0.777rem;
color: #333;
}
.masthead .navigation .login .login-in li:last-child{
margin-bottom: 0;
}
.masthead .navigation .btn.btn-masthead.btn-login.in{
width: 100%;
}
.masthead .navigation .btn.btn-masthead.btn-login:before{
content: ‘‘;
display: inline-block;
position: absolute;
left: 29px;
top: 13px;
}
.nav-wrap-top,.nav-wrap-bm{
width: 100%;
}
.masthead .secondary-nav .quick-links:hover .quick-links-droppanel {
display: block;
}

/*Apply and Login*/
.nav-login,.nav-apply{
width: auto;
margin-left: 15px;
float: right;
}
.btn-masthead {
color:#fff;
background-color:#006193;
border-color:#006193
}
.btn-masthead.focus,
.btn-masthead:focus {
color:#fff;
background-color:#244A67;
border-color:#244A67
}
.btn-masthead:hover {
color:#fff;
background-color:#244A67;
border-color:#244A67
}
.btn-masthead.active,
.btn-masthead:active{
color:#fff;
background-color:#244A67;
border-color:#244A67;
}
.btn-masthead.active.focus,
.btn-masthead.active:focus,
.btn-masthead.active:hover,
.btn-masthead:active.focus,
.btn-masthead:active:focus,
.btn-masthead:active:hover{
color:#fff;
background-color:#244A67;
border-color:#244A67
}
.btn-register {
color:#fff;
background-color:#677683;
border-color:#677683
}

.btn-register.focus,
.btn-register:focus {
color:#fff;
background-color:#3f484f;
border-color:#3f484f
}
.btn-register:hover {
color:#fff;
background-color:#3f484f;
border-color:#3f484f
}
.btn-register.active,
.btn-register:active{
color:#fff;
background-color:#3f484f;
border-color:#3f484f;
}
.btn-register.active.focus,
.btn-register.active:focus,
.btn-register.active:hover,
.btn-register:active.focus,
.btn-register:active:focus,
.btn-register:active:hover{
color:#fff;
background-color:#3f484f;
border-color:#3f484f
}
.login-box {
width: auto;
height: auto;
background-color: #f1f6f8;
top: 100%;
right: 0;
position: absolute;
z-index: 3;
text-align: left;
/*border-bottom: 1px solid #ccc;*/
box-shadow: 0px 2px 1px rgba(0,0,0,0.1);
}
.login-in .btn-login{
width: 100%;
text-align: center;
}

.input-list, .input-text {
height: 30px;
}
.input-text {
border: 1px solid #bcbdc0;
outline: 0;
background: #fff;
color: #666;
font-size: 14px;
line-height: 30px;
padding: 0 8px;
}
.login-name>em {
position: absolute;
top: 4px;
right: -27px;
}
.login-name p {
clear: both;
overflow: hidden;
width: 100%;
color: #b22029!important;
line-height: 18px;
padding-top: 5px;
text-align: left;
position: relative;
left: 73px;
}
/*nav-cards*/
.card.masthead-card {
background-color: #fff;
border: none;
box-shadow: none;
}
.card.masthead-card .card-block{
padding: 0;
padding-top: 16px;
}
.card-play:after {
position: absolute;
left: 50%;
top: 50%;
display: block;
width: 60px;
height: 60px;
margin-left: -30px;
margin-top: -90px;
background-image: url(../images/play.png);
background-repeat: no-repeat;
content: ‘‘;
}
.after-link-skip:after {
content: "";
margin-left: 6px;
}
/*apply*/
.apply-box {
width: 100%;
height: auto;
background-color: #f1f6f8;
z-index: 3;
text-align: left;
}
.masthead .navigation .apply-now{
padding: 60px 15px 20px;
}
.masthead .navigation .apply-droplist ul,
.masthead .navigation .apply-droplist ul li{
list-style-type: none;
}
.masthead .navigation .apply-droplist .icon {
display: inline-block;
width: 22px;
height: 22px;
margin-right: 10px;
}
.masthead .navigation .apply .apply-in,
.masthead .navigation .apply .apply-in li,
.masthead .navigation .apply .apply-in p{
font-size:0.777rem;
color: #333;
}
.masthead .navigation .apply .apply-in li,
.masthead .navigation .apply .apply-in p,
.masthead .navigation .apply .apply-in a{
font-size:0.777rem;
line-height: 1.5;
margin-bottom: 0.777rem;
color: #333;
}
.masthead .navigation .apply .apply-in li:last-child{
margin-bottom: 0;
}
.masthead .navigation .btn.btn-masthead.btn-apply.in{
width: 100%;
}
.masthead .login a, .masthead .login>.button {
width: 100%;
}
.masthead .login {
position: relative;
padding: 0;
margin: 0;
}
.masthead .nav-dropdown .dropdown-box .dropdown-panel ul>li~li h4 {
margin-top: 19px;
}
.masthead .nav-dropdown .dropdown-box .dropdown-panel ul>li~li span.h4,
.masthead .nav-dropdown .dropdown-box .dropdown-panel ul>li~li span.title {
margin-top: 19px;
}
.masthead .icon-before:before:hover,
.masthead .icon-after:before:hover{
text-decoration: none
}
.masthead .icon-chevron-down-m.icon-after:before {
font-size: 0.8em;
/* padding-left: 6px;*/
}
.masthead .icon-chevron-down-m.icon-before:before {
font-size: 0.8em;
padding-right: 6px;
}
.masthead .icon-chevron-down-m{
color: #006193;
}
.masthead .dropdown-panel-form li{
margin-bottom: 6px;
}
.masthead .icon-search{
font-size: 1.7rem;
color: #999;
width: auto;
height: auto;
top: 0;
}
.masthead .icon-menu-burger {
font-size: 1.7rem;
color: #006193;
width: auto;
height: auto;
top: 0;
}
.mobileNavOpen .masthead ul.nav-toggler li.menu,
.mobileNavOpen .masthead ul.nav-toggler li.menu {
margin-top: 16px;
}
.mobileNavOpen .masthead .icon-menu-burger,
.mobileNavOpen .masthead .icon-menu-burger {
font-size: 1.4rem;
color: #006193;
width: auto;
height: auto;
top: 5px;
}
.mobileNavOpen .masthead .ul.nav-toggler li.menu a:before {
content: "\e911";
font-family: ‘Fidelity-Icon-Font‘ !important;
}
.mobileNavOpen .masthead ul.nav-toggler li.menu a:before {
content: "\e911";
font-family: ‘Fidelity-Icon-Font‘ !important;
}
.masthead .icon-close{
font-size: 1.2rem;
}
.masthead ul.nav-toggler li.search a{
text-indent: 0;
}
.mobileNavOpen .masthead .icon-search:before {
content: "\e906";
position: absolute;
z-index: 91;
right: 15px;
top: 10px;
}
.mobileNavOpen .masthead .search a.icon-search{
text-indent: -9999px;
}
.mobileNavOpen.searchOpen .masthead .search a.icon-search:before{
content:‘‘;
}
.masthead .navigation .apply-now .apply-droplist li{
margin-bottom: 8px;
}
.masthead.sticky {
height: auto;/*change*/
position: fixed;/*add*/
z-index: 5;/*add*/

border-bottom: none;
background-color: #415464;
}
.masthead.sticky .navigation li.menu a.icon-menu-burger{
color:#fff;
}
.masthead.sticky .search-desktop input {
background-color: #fff;
}
.masthead.sticky .navigation .primary-nav>li a.icon-search {
color: #999;
line-height: 1.2;
}
.masthead.sticky .icon-search {
font-size: 1.9rem;
color: #fff;
width: auto;
height: auto;
top: 0;
}
.masthead.sticky .searchIcon.icon-search {
color: #999;
}
.masthead.sticky .navigation ul.nav-toggler li.menu {
margin-top: 14px;
}
.masthead .icon-chevron-right-m.icon-after{
font-size: 0.8em;
}
.masthead a.link ~.icon-after{
color:#006193;
}
.masthead a span.icon-before,
.masthead a span.icon-after{
text-decoration: none;
}
.masthead .icon-before,
.masthead .icon-after{
text-decoration: none;
color:#006193;
}
.masthead .icon-before{
padding-right: 6px;
}
.masthead .icon-after{
padding-left: 6px;
}
.masthead .btn .icon-before,
.masthead .btn .icon-after{
text-decoration: none;
color:#fff;
}
.masthead .btn .icon-before{
padding-right: 10px;
}
.masthead .btn .icon-after{
padding-left: 10px;
}
.masthead a:hover span.icon-before,
.masthead a:hover span.icon-after{
text-decoration: none
}
.masthead .apply-droplist .icon-before{
line-height: 1.5;
}

/*back to Top*/
.backtop-wrap{
position:relative;
max-width: 75rem;
margin-bottom: 15px;
}
.back-to-top{
/*position:fixed;*/
float:right;
display:none;
bottom:15px;
right:15px;
}
.back-to-top a{
text-align:center;
text-decoration:none;
color:#fff;
display:block;
width:40px;
height:40px;
vertical-align: middle;
padding-top: 8px;
background-color: rgba(65,84,100,0.95);
/*使用CSS3中的transition属性给跳转链接中的文字添加渐变效果*/
-moz-transition:color 1s;
-webkit-transition:color 1s;
-o-transition:color 1s;
}
.back-to-top a:hover{
background-color: rgba(65,84,100,1);
}

/*globle search*/
.sb-search {
position: relative;
width: 150px;
min-width: 40px;
height: 50px;
float: right;
-webkit-transition: width 0.3s;
-moz-transition: width 0.3s;
transition: width 0.3s;
-webkit-backface-visibility: hidden;
}
.item-search.space{
width: 156px;
height: auto;
min-height: 1px;
float: right;
}
.sb-search ul,
.sb-search ul li{
list-style-type: none;
margin-left: 0;
}
.sb-search-input {
position: absolute;
top: 5px;
right: 0;
outline: none;
background: #fefefe;
border: solid 1px #ccc;
width: 100%;
height: 40px;
margin: 0;
z-index: 10;
padding: 10px 65px 10px 10px;
color: #2c3e50;
}
.sb-search-input::-webkit-input-placeholder { color: #999; }
.sb-search-input:-moz-placeholder { color: #999; }
.sb-search-input::-moz-placeholder { color: #999 ;}
.sb-search-input:-ms-input-placeholder { color: #999; }
.sb-icon-search,
.sb-search-submit {
width: 150px;
height: 40px;
display: block;
position: absolute;
right: 0;
top: 0;
padding: 0;
margin: 0;
line-height: 40px;
text-align: center;
cursor: pointer;
}
.sb-search-submit {
background: #fff; /* IE needs this */
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; /* IE 8 */
filter: alpha(opacity=0); /* IE 5-7 */
opacity: 0;
color: transparent;
border: none;
outline: none;
z-index: -1;
}
.sb-icon-search {
color: #666;
border: 1px solid #ccc;
z-index: 90;
speak: none;
background: #fefefe url(../images/icons.png) no-repeat 120px -594px;
}
/* Open state */
.sb-search.sb-search-open,
.no-js .sb-search {
width: 100%;
box-sizing: border-box;
}
.sb-search.sb-search-open .sb-icon-search,
.no-js .sb-search .sb-icon-search {
background: #d7d7d7;
color: #fff;
z-index: 11;
border: none;
}
.sb-search.sb-search-open .sb-search-submit,
.no-js .sb-search .sb-search-submit {
z-index: 90;
}
.sb-search.sb-search-open .sb-search-submit,
.sb-search.sb-search-open .sb-icon-search{
width: 40px;
background: #d7d7d7 url(../images/icons.png) no-repeat 12px -888px;
border: 1px solid #d7d7d7;
border-left: 1px solid #ccc;
}
.sb-search .sb-search-input{
background-color: #fefefe;
border: 1px #ccc solid;
}
.sb-search.sb-search-open .sb-icon-search:before{
content: " ";
display: table;
background: #fff url(../images/search.png) no-repeat right center;
width: 26px;
height: 26px;
position: absolute;
left: -36px;
top: 6px;
}
.sb-search.sb-search-open .sb-search-input:focus{
background-color: #fff;
background-color: #fff;
border-color: #c9d0e0;
-webkit-box-shadow: 0 0 5px rgba(201,208,224,.8);
-moz-box-shadow: 0 0 5px rgba(201,208,224,.8);
box-shadow: 0 0 5px rgba(201,208,224,.8);
}
.search-box{
position: relative;
display: none;
}
.sb-search.sb-search-open .search-box.active{
display: block;
width: 100%;
padding-right: 40px;
}
.sb-search.sb-search-open .search-box{
position: absolute;
top: 41px;
z-index: 99;
padding-bottom: 4px;
}
.sb-search.sb-search-open .search-droplist{
background: #fff;
padding-bottom: 15px;
border: 1px solid #efefef;
box-shadow: 0px 2px 1px rgba(0,0,0,0.1);
}
.sb-search.sb-search-open .search-droplist ul li{
margin-bottom: 0;
}
.sb-search.sb-search-open .search-droplist a{
display: inline-block;
padding-left: 15px;
padding-right: 15px;
padding-top: 10px;
padding-bottom: 10px;
line-height: 1.0;
color: #006193;
}
.sb-search.sb-search-open .search-droplist a:hover{
background-color: #f0f0f0;
text-decoration: none;
}
.search-droplist a.search-link{
display: block;
}
.search-droplist a.search-link:after {
content: "";
margin-left: 10px;
display: inline-block;
background-image: url(../images/sprites/icons.png);
background-position: 0 -285px;
background-repeat: repeat-y;
height: 10px;
width: 6px;
}
.mobileNavOpen .apply-box{
width:100%;
background-color: #fff;
top: 54px;
right: 0;
position: absolute;
}

/*63.975em css*/
.sb-search{
width: 100%;
}
.sb-search .sb-search-submit{
width: 100%;
}
.sb-search .sb-icon-search{
border-left: none;
}
.item-search.space{
width: 156px;
height: auto;
min-height: 1px;
float: right;
margin-left: 15px;
}

/*mobileNavOpen */

body.mobileNavOpen {
background: #fff;
cursor: pointer;
position: relative;
overflow: hidden;
-webkit-tap-highlight-color: transparent
}
.masthead .m-pannel {
position: fixed;
top: -100%;
right: 0;
z-index: 99;
width: 100%;
max-width:320px;
height:100%;
background-color: #fff;
padding: 0;
overflow: hidden;
display: block;
box-shadow: 0 2px 10px rgba(0,0,0,0.2);
-moz-transition: top .5s ease 0s;
-webkit-transition: top .5s ease 0s;
-o-transition: top .5s ease 0s;
-ms-transition: top .5s ease 0s;
transition: top .5s ease 0s;
}
.mobileNavOpen .masthead .m-pannel {
position:absolute;
right: 0;
top: 0;
}
.m-subpannel.sub-1{
z-index: 9999;
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
}
.m-subpannel.sub-2{
z-index: 9998;
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
background-color: #fff;
}
.m-subpannel.sub-3{
z-index: 9998;
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
background-color: #fff;
}
.m-subpannel.sub-4{
z-index: 9999;
position: relative;
width: 100%;
height: 100%;
background-color: #fff;
}

.m-search{
position: absolute;
top:72px;
right:0;
width:100%;
height:100%;
background-color: #fff;
}
.run-top{
background-color: #fff;
position: absolute;
top:72px;
right:0;
width:100%;
height:auto;
}
.run-bottom{
background-color: #fff;
position: absolute;
top:200px;
right:0;
height: 100%;
width: 100%;
}
.m-subpannel.run .run-top{
position: absolute;
top:-100%;
right:0;
-moz-transition: top .9s ease 0s;
-webkit-transition: top .9s ease 0s;
-o-transition: top .9s ease 0s;
-ms-transition: top .9s ease 0s;
transition: top .9s ease 0s;
}
.m-subpannel.run .run-bottom{
position: absolute;
top:100%;
right:0;
-moz-transition: bottom .9s ease 0s;
-webkit-transition: bottom .9s ease 0s;
-o-transition: bottom .9s ease 0s;
-ms-transition: bottom .9s ease 0s;
transition: bottom .9s ease 0s;
}

.m-nav-topbar{
background-color: #e7e7e7;
}
.mobileNavOpen .m-nav-level1{
position: relative;
background-color: red;
height:100%;
}
.mobileNavOpen .masthead .m-nav a {
color: #006193;
}
.mobileNavOpen .masthead .m-nav li a {
display: block;
position: relative;
border-bottom: 1px solid #ededed;
line-height: 1.5;
padding: 10px 15px;
}
.mobileNavOpen .m-nav .primary-nav{
position:absolute;
right:0;
top:0;
width:100%;
height:100%;
background-color: #fff;
z-index: 9;
}
.masthead .m-nav .nav-dropdown{
position:absolute;
top:100%;
right:0;
width:100%;
/*height:100%;*/
background-color: #fff;
z-index: 9;

-moz-transition: bottom .9s ease 0s;
-webkit-transition: bottom .9s ease 0s;
-o-transition: bottom .9s ease 0s;
-ms-transition: bottom .9s ease 0s;
transition: bottom .9s ease 0s;
}
.masthead .m-nav .nav-dropdown.open{
position:absolute;
right:0;
top:46px;
width:100%;
/*height:100%;*/
background-color: #fff;
z-index: 9;
-moz-transition: bottom .9s ease 0s;
-webkit-transition: bottom .9s ease 0s;
-o-transition: bottom .9s ease 0s;
-ms-transition: bottom .9s ease 0s;
transition: bottom .9s ease 0s;
}
.masthead .m-nav .dropdown-sublist{
position:absolute;
right:0;
top:100%;
width:100%;
height:100%;
background-color: #fff;
z-index: 9;
}
.masthead .m-nav .dropdown-sublist.open{
position:absolute;
right:0;
top:46px;
width:100%;
height:100%;
background-color: #fff;
z-index: 9;
}
.masthead .main-menu {
display: none;
height: 46px;
}
.mobileNavOpen .masthead .main-menu a{
display: block;
line-height: 46px;
text-indent: 15px;
}
.mobileNavOpen .masthead .login-box{
width: 100%;
height: auto;
background: #fff;
padding-top: 74px;
position:static;
border: none;
box-shadow: none;
height: 360px;
padding-left: 15px;
padding-right: 15px;
text-align:center;
}
.mobileNavOpen .masthead .btn{
width:100%;
}

.mobileNavOpen .masthead .btn.btn-masthead.btn-login{
width:100%;
}
.mobileNavOpen .masthead .primary-nav>li a.after-link-quick,
.mobileNavOpen .masthead .primary-nav>li a.after-link-skip{
color:#006193;
}
.mobileNavOpen .masthead .primary-nav>li a.after-link-quick:after{
background-image:none;
}
.mobileNavOpen .masthead .item.has-sub-item{
position:relative;
}
.mobileNavOpen .masthead .apply-droplist li {
margin-bottom: 0;
border-bottom: 1px solid #ccc;
padding-top: 8px;
padding-bottom: 8px;
}
.mobileNavOpen .masthead .mobile-header li.logo{
margin-left:15px;
}
.mobileNavOpen .masthead .mobile-header li.logo a {
margin-top: 8px;
width: 38px;
height: 38px;
background-image: url(../images/mobile-logo..png);
background-image: url(../images/logo_m.svg), none;
background-position: 0 center;
background-repeat: no-repeat;
background-size: contain;
}
.mobileNavOpen .masthead ul.mobile-reg-apply{
margin-left: 15px;
margin-right: 15px;
}
.mobileNavOpen .masthead .nav-row{
overflow:hidden;
}
.mobileNavOpen .masthead .login .login-in{
padding:0;
}
.mobileNavOpen .login-in .btn.btn-register{
margin-bottom:15px;
}
.mobileNavOpen .masthead .login-box .register-notes{
padding-top:30px;
}
.masthead .main-menu{
display:none;
}
body.mn-open.mobileNavOpen .masthead .main-menu{
display:block;
background-color:#e7e7e7;
}
body.mobileNavOpen .masthead .main-menu:after {
display: inline-block;
position: absolute;
right: 15px;
top: 20px;
}
body.mobileNavOpen.quick-oepn .masthead .main-menu{
display:block;
background-color:#e7e7e7;
}
body.mobileNavOpen.mn-oepn .masthead .main-menu{
display:block;
background-color:#e7e7e7;
}
body.mobileNavOpen.mn-oepn .masthead .item.has-sub-item.current>a {
background-color: #4a75a2;
}
body.mobileNavOpen.mn-oepn .masthead .item.has-sub-item>a.current {
background-color: #4a75a2;
}
body.mobileNavOpen .masthead .item.has-sub-item.open>a{
background-color:#4a75a2;
border-left:none;
}
body.mobileNavOpen .masthead .item.has-sub-item.open>a:hover,
body.mobileNavOpen .masthead .item.has-sub-item.open>a:focus,
body.mobileNavOpen .masthead .item.has-sub-item.open>a:active{
background-color:#4a75a2;
color: #fff;
}
body.mobileNavOpen .masthead .item .dropdown-li.open>a{
background-color:#4a75a2;
border-left:none;
color: #fff;
text-decoration: none;
}
body.mobileNavOpen .masthead .item .dropdown-li.open>a:hover,
body.mobileNavOpen .masthead .item .dropdown-li.open>a:focus,
body.mobileNavOpen .masthead .item .dropdown-li.open>a:active{
background-color:#4a75a2;
color: #fff;
}
body.mobileNavOpen.mn-open .masthead .dropdown-li.open{
display:block;
}
body.mobileNavOpen .masthead .item.has-sub-item.open>a span{
color: #fff;
}
body.mobileNavOpen .masthead .item.has-sub-item.back.open>a span{
color: #415464;
}
body.mobileNavOpen .masthead .item.has-sub-item.open>a:hover,
body.mobileNavOpen .masthead .item.has-sub-item.open>a:focus,
body.mobileNavOpen .masthead .item.has-sub-item.open>a:active,
body.mobileNavOpen .masthead .item.has-sub-item.open>a:visited{
text-decoration: none;
color: #fff;
}
body.mobileNavOpen.quick-open .masthead .item.item-level-1{
display:none;
}
body.mobileNavOpen.quick-oepn .masthead .quick-links-droplist>li{
border-left: 6px transparent solid;
}
body.mobileNavOpen.quick-oepn .masthead .quick-links-droplist>li:hover{
border-left: 6px #d9dde0 solid;
}
body.mobileNavOpen .masthead .primary-nav>li a:hover{
background-color: #d9dde0;
text-decoration:none;
}
body.mobileNavOpen .masthead .primary-nav>li.current a:hover{
background-color: #fff;
text-decoration:none;
}
body.mobileNavOpen.quick-oepn .masthead .quick-links-droplist .current{
border-left: 6px #4a75a2 solid;
}
body.mobileNavOpen.quick-oepn .masthead .quick-links-droplist .current:hover{
border-left: 6px #4a75a2 solid;
background-color: #fff;
}
body.mobileNavOpen.mn-open .masthead .item.item-level-1{
display: none;
}
body.mobileNavOpen.mn-open .masthead .item.item-level-1.open{
display: block;
}
body.mobileNavOpen .masthead .item.item-level-1.open.back{
background-color: #e7e7e7;
}
body.mobileNavOpen .masthead .item.item-level-1.open.back>a{
color: #415464;
background-color: #e7e7e7;
}
body.mobileNavOpen.mn-open .masthead .current {
border-left: 6px #4a75a2 solid;
}
body.mobileNavOpen.mn-open .masthead .current a:hover{
background-color:transparent;
}
body.mobileNavOpen .masthead .navigation .primary-nav>li.current a:hover{
background-color:transparent;
}
.dropdown-sublist{
display: none;
}
body.mobileNavOpen .masthead .nav-dropdown{
box-shadow: none;
}
.masthead .navigation .primary-nav>li a {
display: block;
position: relative;
border-bottom: 1px solid #ededed;
line-height: 1.5;
padding: 10px 15px;
color: #415464;
}
body.mobileNavOpen.mn-open .masthead .primary-nav>li .dropdown-panel{
padding-left: 15px;
padding-right: 15px;
padding-top: 15px;
padding-bottom: 15px;
background-color:#fff;
}
body.mobileNavOpen.mn-open .masthead .nav-sublevel a{
color:#006193;
}
body.mobileNavOpen.mn-open .masthead .nav-sublevel h4{
color:#006193;
}
body.mobileNavOpen.mn-open .masthead .primary-nav>li .dropdown-panel a{
padding: 0;
border-bottom:none;
color:#006193;
}
body.mobileNavOpen.mn-open .masthead .dropdown-li{
position: relative;
}
body.mobileNavOpen.mn-open .masthead .dropdown-li.has:after {
content: "";
margin-left: 10px;
display: inline-block;
background-image: url(../images/icons.png);
background-position: 0 -1464px;
background-repeat: repeat-y;
height: 8px;
width: 12px;
position: absolute;
right: 15px;
top: 20px;
}
body.mobileNavOpen.mn-open .masthead .primary-nav>li .dropdown-panel a:hover{
background-color:transparent;
}
.hid-mobile{
display: none;
visibility: hidden;
}
/*.masthead .navigation .m-search .mobile-header li.logo a {
margin-top: 7px;
width: 171px;
height: 40px;
background-image: url(../images/logo.png);
background-image: url(../images/logo.svg), none;
background-position: 10px center;
background-repeat: no-repeat;
background-size: contain;
display: block;
text-indent: -9999px;
}
.masthead .navigation .m-search .mobile-header li.logo a {
margin-top: 8px;
width: 38px;
height: 38px;
background-image: url(../images/mobile-logo..png);
background-image: url(../images/logo_m.svg), none;
background-position: 0 center;
background-repeat: no-repeat;
background-size: contain;
} */
.masthead .m-search .autoComplete {
position:absolute;
display: inline-block;
float: left;
width: 100%;
margin: 0 0;
box-sizing: border-box;
padding: 15px 15px;
background-color: #fff;
outline: none;
border: none;
}
.masthead .m-search .autoComplete .searchIcon {
position:absolute;
top: 16px;
right: 30px;
}
.masthead .m-search .autoComplete .searchIcon:before {
content: "\e906";
font-family: ‘Fidelity-Icon-Font‘ !important;
}
.masthead .m-search .mobile-header a.close {
float: right;
margin-top: 8px;
margin-right: 15px;
cursor: pointer;
padding-right: 0;
background-image: url(../images/icons.png);
background-position: 0 -831px;
background-repeat: no-repeat;
height: 20px;
width: 16px;
border: none;
right:0;
top:0;
}
/* .masthead .m-search .mobile-header li.logo {
float: left;
margin-left: 15px;
}*/
.masthead .m-search .search-droplist a {
display: block;
padding-top: 10px;
padding-bottom: 10px;
padding-left:10px;
padding-right:10px;
line-height: 1.0;
color: #006193;
}
.masthead .m-search .search-droplist a.search-link {
display: block;
}
.masthead .m-search .search-droplist {
background: #fff;
padding-bottom: 15px;
padding-left: 15px;
padding-right: 15px;
}
.masthead .m-search .search-droplist a:hover {
background-color: #f0f0f0;
text-decoration: none;
}
.masthead .mobile-search{
box-shadow: 0px 2px 1px rgba(0,0,0,0.1);
}
.masthead .m-search input {
border: none;
width: 100%;
padding: 8px 50px 8px 10px;
border-bottom: 1px solid #dadada;
}
.mobileNavOpen .m-search{
position: absolute;
top: 92px;
right: 0;
}

body.mn-open.mobileNavOpen .masthead .navigation .primary-nav .nav-dropdown{
position: absolute;
z-index: -1;
top: 45px;
left: 0;
opacity: 1;
z-index: 1;

}
.mobileNavOpen .masthead .navigation .primary-nav .nav-dropdown {
visibility: visible;
}
.mobileNavOpen .masthead .navigation .btn.btn-masthead.btn-apply:after {
display: inline-block;
}
.mobileNavOpen .masthead .item.has-sub-item:after {
display: inline-block;
position: absolute;
right: 15px;
top: 16px;
}
.mobileNavOpen .dropdown-panel-tools .icon-before{
float:left;
font-size: 1rem;
line-height: 1.5;
}

.mobileNavOpen .masthead ul.mobile-reg-apply {
margin-left: 15px;
margin-right: 15px;
margin-top: 15px;
}
.masthead .navigation .mobile-reg-apply li.nav-apply {
margin-bottom: 20px;
}
body.mobileNavOpen .masthead .navigation .nav-row {
overflow: hidden;
margin-top: 32px;
}

.masthead .navigation .primary-nav>li a {
display: block;
position: relative;
border-bottom: 1px solid #ededed;
line-height: 1.5;
padding: 10px 15px;
color: #415464;
}
.masthead .navigation .primary-nav>li.item.main-menu.back a {
border-bottom: 1px solid #fff;
}
body.stickyOpen>.iw_section{
position:relative;
height: 100px;
}
body.mobileNavOpen .masthead .current {
border-left: 6px #4a75a2 solid;
}
.masthead .btn.btn-apply .icon-chevron-down-m {
color: #006193;
}
.masthead .btn .icon-chevron-down-m.icon-after {
position: static;
right: auto;
}
body.mobileNavOpen .masthead .main-menu{
position: relative;
}
body.mobileNavOpen .masthead .item.has-sub-item:after{
content: "\e936";
color:#006193;
font-size: 0.8em;
font-family: ‘Fidelity-Icon-Font‘ !important;
}
body.mobileNavOpen .masthead .item.has-sub-item.open:after{
content: "";
}
body.mobileNavOpen .masthead .item.back:after{
content: "\e937";
color:#006193;
font-size: 0.8em;
font-family: ‘Fidelity-Icon-Font‘ !important;
display: inline-block;
position: absolute;
right: 15px;
top: 16px;
}
body.mobileNavOpen .masthead .item.has-sub-item.open.back:after{
content: "\e937";
color:#006193;
font-size: 0.8em;
font-family: ‘Fidelity-Icon-Font‘ !important;
}
body.mobileNavOpen .masthead ul.primary-nav-list{
border-top: 1px solid #ededed;
}
body.mobileNavOpen .masthead .primary-nav>li.main-menu a:hover {
background-color: transparent;
text-decoration: none;
}
@media screen, projection{
/*button reg apply*/
.mobile-reg-apply{ display: block; }
.masthead .mobile-reg-apply li{
padding-bottom: 12px;
}
.mobile-reg{ display: block; }
.mobile-apply{ display: block; }
.mobile-reg-apply .nav-login,
.mobile-reg-apply .nav-apply{ float: none; }
.mobile-reg-apply .nav-apply{ margin-left: 0; }
.mobile-reg-apply .btn{ width: 100%; }
.mobile-reg-apply .btn.btn-apply{
background-color: transparent;
border:1px solid #006193;
color: #006193;
}
.mobile-reg-apply .btn.btn-apply:focus,
.mobile-reg-apply .btn.btn-apply:hover{
color: #244A67;
border:1px solid #244A67;
}
.mobile-reg-apply .btn.btn-login:focus,
.mobile-reg-apply .btn.btn-login:hover{
color: #fff;
}
.masthead {
background: #fff;
width: 100%;
z-index: 3;
overflow: hidden;
}
.masthead .top-bar .nav-wrap-top{ display: none; }
.masthead .top-bar .logo { display: none;}
.masthead .top-bar .logo img { display: none; max-width: 100%; }
.masthead .top-bar .logo span {
background-image: url(‘../images/icons.png‘);
background-position: 0 -764px;
background-repeat: no-repeat;
padding: 0 30px 0 60px;
line-height: 40px;
font-size: 22px;
}
.masthead .secondary-nav { display: inline-block;}
.masthead .secondary-nav ul li { float: left; }
.masthead .secondary-nav .institutional{ margin-left: 18px; }
.masthead .secondary-nav ul li a {
display: block;
padding: 5px 0 2px;
border: 1px solid transparent;
white-space: nowrap;
}
.masthead .navigation .primary-nav .nav-sublevel {
position: absolute;
left: 100%;
top: 0;
width: 100%;
z-index: -1;
opacity: 0;
visibility: hidden;
}
.masthead .navigation .primary-nav .nav-sublevel.visible {
opacity: 1;
z-index: auto;
visibility: visible
}
.masthead .navigation .primary-nav .nav-sublevel.visible a.header{
background-color: #4a75a2;
color: #fff;
}
.masthead .navigation .primary-nav .nav-dropdown {
position: absolute;
z-index: -1;
top: 0px;
left: 100%;
visibility: hidden;
opacity: 0;
display: block;
width: 100%;
background-color: #f9f9f9;
box-sizing: border-box;
}
.masthead .navigation .primary-nav .nav-dropdown a.skipLink {
position: absolute;
display: none;
}
.masthead .search-desktop .autoCompleteList a{
color: #333;
display: block;
width: 100%;
white-space: nowrap;
overflow: hidden;
-webkit-text-overflow:ellipsis;
-moz-text-overflow:ellipsis;
-ms-text-overflow:ellipsis;
-o-text-overflow:ellipsis;
text-overflow:ellipsis;
padding: 7px 0;
}
.masthead .navigation .nav-content .mobileQuickMenu {
background-color: #fff;
border-bottom: 1px solid #ededed;
padding: 0 15px;
}
.masthead .navigation .nav-content .mobileQuickMenu:after {
visibility: hidden;
clear: both;
content: "";
height: 0;
display: block;
}
.masthead .navigation .nav-content .mobileQuickMenu li a {
display: block;
padding: 10px 0;
}
.masthead .navigation .primary-nav {
box-sizing: content-box;
position: relative;
-moz-transition: all 0.25s ease 0s;
-webkit-transition: all 0.25s ease 0s;
-o-transition: all 0.25s ease 0s;
-ms-transition: all 0.25s ease 0s;
transition: all 0.25s ease 0s;
}
.masthead .navigation .primary-nav>li a {
display: block;
position: relative;
border-bottom: 1px solid #ededed;
line-height: 1.5;
padding: 10px 15px;
}
.masthead .navigation .primary-nav>li a.tablet-only{
display: none;
}
.masthead .navigation .primary-nav>li>a.header:after,
.masthead .navigation .primary-nav>li a.sublevel-trigger:after {
position: absolute;
/*top: 50%;*/
top: 40%;
right: 0;
display: block;
}
.masthead .m-search .autoCompleteList {
display: none;
position: absolute;
z-index: 100;
top: 54px;
padding: 0;
left: 0px;
right: -14px;
width: 100%;
max-height: 300px;
overflow: auto;
}
.masthead .m-search .autoCompleteList .section{
padding: 0 14px 0 14px;
background-color: #fff;
}
.masthead .m-search .autoCompleteList .section li{
padding: 10px 0;
}
.masthead .m-search .autoCompleteList .section li a{
color: #333333;
display: block;
width: 100%;
white-space: nowrap;
overflow: hidden;
-webkit-text-overflow:ellipsis;
-moz-text-overflow:ellipsis;
-ms-text-overflow:ellipsis;
-o-text-overflow:ellipsis;
text-overflow:ellipsis;
}
.masthead .m-search input {
border: none;
width: 100%;
padding: 8px 50px 8px 10px;
border: 1px solid #dadada;
}
.masthead .m-search a.close {
-webkit-box-sizing: initial;
-moz-box-sizing: initial;
box-sizing: initial;
position:absolute;
top:18px;
right: 25px;
float: right;
cursor: pointer;
background-repeat: no-repeat;
height: 22px;
width: 21px;
}
.autoComplete.menu-is-open .autoCompleteList{
display: block;
}
.masthead .search-desktop .autoCompleteList{
display: none;
position: absolute;
z-index: 100;
background: #fff;
top: 38px;
padding: 0;
left: -1px;
right: -224px;
width: 260px;
text-align: left;
overflow: auto;
}
.masthead .search-desktop .autoCompleteList li[role="option"]:last-child{
margin:0;
}
.masthead .m-search .autoCompleteList .section li{
padding: 10px 0;
}
.masthead .m-search .autoCompleteList .section li a{
color: #333;
display: block;
width: 100%;
white-space: nowrap;
overflow: hidden;
-webkit-text-overflow:ellipsis;
-moz-text-overflow:ellipsis;
-ms-text-overflow:ellipsis;
-o-text-overflow:ellipsis;
text-overflow:ellipsis;
}
.autoComplete.menu-is-open .autoCompleteList {
display: block;
}
.desktop-only,
.tablet-only,
.hidden-mobile,
.touch-accessible {
display: none;
}
.masthead ul.nav-toggler li.logo a {
margin-top: 8px;
width: 38px;
height: 38px;
background-image: url(../images/mobile-logo..png);
background-image: url(../images/logo_m.svg), none;
background-position: 0 center;
background-repeat: no-repeat;
background-size: contain;
}
.masthead ul.nav-toggler li.menu a {
text-indent: 0;
}
.masthead .search-desktop.menu-is-open .autoCompleteList{
display: block;
}
.masthead ul.nav-toggler li.menu {
padding-left: 14px;
height: 24px;
margin-top: 12px;
float: right;
}
.masthead ul.nav-toggler li {
float: left;
}
.masthead ul.nav-toggler li.search {
border-right: 1px solid #dfdede;
float: right;
width: 40px;
margin-top: 12px;
height: 32px;
}
.masthead .mobile-header {
width: 100%;
background-color: #fff;
}
.masthead .mobile-header li.logo {
float: left;
}
.masthead .mobile-header li.logo a {
margin-top: 7px;
width: 171px;
height: 40px;
background-image: url(../images/logo.png);
background-image: url(../images/logo.svg), none;
background-position: 10px center;
background-repeat: no-repeat;
background-size: contain;
display: block;
text-indent: -9999px;
}
.masthead .nav-row {
position: absolute;
bottom: 0;
top: 164px;
right: 0;
left: 0;
overflow-x: hidden;
overflow-y: auto;
background-color: #fff;
}
.masthead .mobile-header a.close:hover {
text-decoration: none;
}
.masthead .search-desktop {
display: none;
position: relative;
}
.masthead .search-desktop input {
width: 85%;
border: none;
margin: 10px 15% 10px 0;
padding-left: 10px;
outline: 0;
}
.masthead .nav-toggler{
max-width: 75rem;
margin: 0 auto;
padding-left: 15px;
padding-right: 15px;

background: #fff;
z-index: 101;
position: relative;
padding-bottom: 8px;
border-bottom: 1px solid #dfdede;
}
.masthead.sticky .nav-toggler{
background-color: #415464;
}
.masthead .nav-toggler:after{
visibility: hidden;
clear: both;
content: "";
height: 0;
display: block;
}
.masthead ul.nav-toggler li a {
display: block;
height: 26px;
width: 26px;
/* padding-left: 14px; */
background: no-repeat center center transparent;
text-indent: -9999px;
}
.masthead .quick-links .quick-links-droplist .icon{
display: inline-block;
width: 22px;
height: 22px;
margin-right: 10px;
}

/*quick links & droplist*/
.masthead .nav-dropdown .dropdown-panel .nav-sublevel li{
line-height: 1.0;
margin-bottom: 8px;
}
.masthead .nav-dropdown .dropdown-panel .nav-sublevel a{
padding: 0 15px;
}
.masthead .nav-dropdown .dropdown-panel .form-note{
color: #999;
}
.dropdown-box .dropdown-panel.dropdown-panel-tools{
background-color: #f4f4f4;
}
.dropdown-panel.dropdown-panel-tools li{
position: relative;
margin-bottom: 8px;
}
.dropdown-panel.dropdown-panel-tools .icon-before{
float: left;
font-size: 1rem;
line-height: 1.5;
}
.dropdown-panel.dropdown-panel-tools a{
margin-left: 0;
}
.dropdown-panel-tools .icon{
position: absolute;
display: inline-block;
width: 22px;
height: 22px;
margin-right: 8px;
}
.dropdown-panel-tools .icon.tool-returns {
background-image: url(../images/sprites/icons.png);
background-position: 0 -704px;
}
.masthead .nav-dropdown{
box-shadow: 0px 4px 5px rgba(90,90,90,0.25);
}
.masthead .nav-dropdown .dropdown-box{
display: table;
width: 100%;
}
.masthead .nav-dropdown .dropdown-box .dropdown-panel{
display: table-cell;
float: none;
padding-top: 30px;
}
.masthead .nav-dropdown .dropdown-box .dropdown-panel ul>li~li h4{
margin-top: 19px;
}
.masthead .nav-dropdown .dropdown-panel.dropdown-panel-tools a{
font-size: 17px;
}
}

@media only screen and (min-width: 40em){
.masthead ul.nav-toggler li.search {
border-right: 1px solid #dfdede;
float: right;
width: 52px;
margin-top: 14px;
height: 44px;
}
.masthead ul.nav-toggler li.menu {
width: 52px;
height: 44px;
margin-top: 18px;
padding-left: 16px;
}
.masthead ul.nav-toggler li a {
display: block;
height: 43px;
width: 34px;
background: no-repeat center center transparent;
text-indent: -9999px;
}
.masthead ul.nav-toggler li.logo a {
margin-top: 8px;
width: 171px;
height: 52px;
background-image: url(../images/logo.png);
background-image: url(../images/logo.svg), none;
background-position: 0 center;
background-repeat: no-repeat;
background-size: contain;
}
.mobileNavOpen .masthead ul.nav-toggler li.menu a:before{
content: "\e911";
font-family: ‘Fidelity-Icon-Font‘ !important;
}
.card.masthead-card.card-play:after {
position: absolute;
left: 50%;
top: 50%;
display: block;
width: 60px;
height: 60px;
margin-left: -30px;
margin-top: -90px;
background-image: url(../images/play.png);
background-repeat: no-repeat;
content: ‘‘;
}
.masthead .mobile-header {
height: 72px;
}
.mobileNavOpen .masthead .login-box {
height:100%;
padding-top: 92px;
}
.masthead .icon-search{
font-size: 1.9rem;
color: #999;
width: auto;
height: auto;
top: 0;
}
.masthead .icon-menu-burger {
font-size: 1.9rem;
color: #006193;
width: auto;
height: auto;
top: 0;
}
.masthead ul.nav-toggler li.menu {
margin-top: 18px;
}

.masthead ul.nav-toggler li.search {
margin-top: 12px;
}
.masthead ul.nav-toggler li.search a {
margin-top: 4px;
}
.masthead.sticky ul.nav-toggler li.logo a {
margin-top: 8px;
width: 171px;
height: 52px;
background-image: url(../images/logo_en_white.png);
background-image: url(../images/logo_en_white.svg), none;
background-position: 0 center;
background-repeat: no-repeat;
background-size: contain;
}
.masthead.sticky ul.nav-toggler li.menu {
margin-top: 18px;
}
body.mobileNavOpen .masthead ul.nav-toggler li.menu {
margin-top: 18px;
}
body.mobileNavOpen .masthead .icon-menu-burger,
body.mobileNavOpen .masthead .icon-menu-burger {
font-size: 1.7rem;
color: #006193;
width: auto;
height: auto;
top: 0;
}
.masthead .sb-search{
width: 100%;
height: 42px;
}
body.mobileNavOpen .apply-box{
top: 70px;
right: 0;
position: absolute;
}
.sb-search.sb-search-open .search-droplist a{
display: block;
}
.item-search.space{
width: 156px;
height: auto;
min-height: 1px;
float: right;
margin-left: 12px;
}
.masthead .sb-search input.sb-search-input{
margin-top: 0;
margin-left: 0;
}
.sb-search.sb-search-open, .no-js .sb-search {
width: 74%;
margin-left: 0;
box-sizing: border-box;
background: #fff;
}
.masthead .sb-search .sb-search-input{
position: absolute;
top: 0;
right: 0;
margin:0;
}
}
@media only screen and (min-width: 64em){
.hidden-mobile, .tabletOnly { display: block; }
.tablet-only{ display: none; }
.masthead .hidden-tablet{ display: none; }
.masthead .navigation .nav-content {
bottom: 0;
background: #fff;
width: 320px;
height: auto;
}
.login-in .btn.btn-register{
padding: 11px 12px;
}
.login-in .btn-register:last-child{
float: right;
}
.login-in>li { clear: both; }
.masthead .navigation ul.nav-toggler li.logo {
margin: 0 auto;
width: calc(100% - 104px);
}
.masthead .navigation {
height: auto;
border-bottom: none;
}
.masthead .nav-content.show-tablet{
display: block;
}
.masthead .searchDesktop.menu-is-open .autoCompleteList{
display: none;
}
.masthead .navigation .primary-nav:after {
visibility: hidden;
clear: both;
content: ".";
height: 0;
display: block;
}
.masthead .navigation .primary-nav>li a.sublevel-trigger:after {
display: none;
}
.masthead .navigation .primary-nav>li>a.header:after {
display: none;
}
.masthead .navigation .primary-nav>li:hover>.nav-dropdown .nav-sublevel {
visibility: visible;
}
.masthead .navigation .primary-nav .nav-dropdown:after {
content: ‘‘;
display: none;
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
border-color: #cccccc;
border-style: solid;
border-width: 0 1px 0 1px;
box-sizing: border-box;
}
.masthead .navigation .primary-nav .nav-dropdown a.skipLink:focus {
left: 30px;
text-decoration: none;
}
.masthead .navigation .primary-nav .nav-dropdown:after {
visibility: hidden;
clear: both;
content: "";
height: 0;
display: block;
}
.masthead .navigation .primary-nav .nav-dropdown>li a.sublevel-trigger:after {
content: ‘‘;
display: inline-block;
background-image: none;
}
.masthead .navigation .primary-nav .nav-dropdown>li a.sublevel-trigger:after {
position: absolute;
background-image: none;
top: 8px;
right: 0;
}
.masthead .navigation .primary-nav .nav-dropdown .nav-sublevel {
position: static;
width: auto;
opacity: 1;
}
.masthead .navigation .primary-nav .active .nav-dropdown .nav-sublevel{
visibility: visible;
}
.masthead .navigation .primary-nav .nav-sublevel .nav-sublevel {
border-bottom: none;
}
.masthead .searchDesktop {
position: relative;
top: 30px;
display: inline-block;
box-sizing: border-box;
width: 260px;
border: 1px solid #dadada;
}
.masthead .searchDesktop>a.btn-search{
position: absolute;
width: 15px;
height: 15px;
right: 10px;
top:12px;
display:block;
cursor: pointer;
}
.masthead .navigation .primary-nav .nav-dropdown>li a.sublevel-trigger:after {
content: ‘‘;
display: inline-block;
background-image: none;
}
.masthead .navigation .primary-nav>li a.tablet-only{
display: none;
}
.hiddenInDesktop, .tabletOnly {
display: none;
}
.masthead .top-bar .logo img {
display: block;
width: 100%;
height: auto;
}
.masthead .navigation .primary-nav li a.header {
font-size: 23px;
color: #415464;
padding: 0 0 10px 0;
margin: 0;
}
.masthead .navigation .primary-nav li.current a.header {
color: #006193
}
.masthead .top-bar .nav-wrap-top{display: block;}
.masthead .secondary-nav ul li a {
display: inline-block;
padding: 0;
position: relative;
border: none;
}
.masthead .navigation .nav-content {
background: none;
position: static;
float: left;
width: 100%;
height: auto;
overflow: visible;
display: inline-block;
color: #333333;
box-shadow: none;
padding: 0;
border-bottom: none;
border-right: none;
}
.masthead .navigation .primary-nav:after {
visibility: hidden;
clear: both;
content: "";
height: 0;
display: block;
}
.masthead .navigation .primary-nav>li a.sublevel-trigger:after {
display: none;
}
.masthead .navigation .primary-nav>li>a {
background: transparent;
display: block;
color: #006193;
box-shadow: none;
padding: 0 0 16px;
box-sizing: content-box;
border-bottom: none;
}
.masthead .navigation .primary-nav>li a{
border-bottom: none;
padding: 0;
color: #006193;
}
.masthead .navigation .primary-nav>li a:hover{
text-decoration: underline;
}
.masthead .navigation .primary-nav>li a{
display: inline-block;
}
.masthead .navigation .primary-nav>li .card.masthead-card .card-title a{
color:#333;
}
.masthead .navigation a.dropdown-panel{
display: inline-block;
}
.masthead .navigation .primary-nav>li>a.header:after {
display: none;
}
.masthead .navigation .primary-nav>li:hover>.nav-dropdown {
visibility: visible;
}
.masthead .navigation .primary-nav>li:hover>.nav-dropdown .nav-sublevel {
visibility: visible;
}
.masthead .navigation .primary-nav .nav-dropdown {
left: auto;
}
.masthead .navigation .primary-nav .nav-dropdown.nav-dropdown1{
width: 66.666667%;
left: 0;
}
.masthead .navigation .primary-nav .nav-dropdown {
position: absolute;
top: 100%;
left: 0;
right: 0;
opacity: 1;
z-index: auto;
width: 100%;
height: auto;
visibility: hidden;
overflow: hidden;
background-color: #fff;
}
.masthead .navigation .primary-nav .nav-dropdown {
position: absolute;
top: 100%;
left: 0;
right: 0;
}
.masthead .navigation .primary-nav .nav-dropdown:after {
content: ‘‘;
display: none;
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
border-color: #ccc;
border-style: solid;
border-width: 0 1px 0 1px;
box-sizing: border-box;
}
.masthead .navigation .primary-nav .nav-dropdown a.skipLink {
display: inline-block;
padding: 5px;
}
.masthead .navigation .primary-nav .nav-dropdown a.skipLink:focus {
left: 30px;
text-decoration: none;
}
.masthead .navigation .primary-nav .nav-dropdown,
.masthead .navigation .primary-nav .nav-dropdown ul {
margin-left: 0;
}
.masthead .btn.btn-apply .icon-chevron-down-m{
color: #fff;
}
.masthead .navigation .nav-toggler {
border-bottom: none;
}
.masthead .navigation .primary-nav .nav-dropdown:after {
visibility: hidden;
clear: both;
content: "";
height: 0;
display: block;
}
.masthead .navigation .primary-nav .nav-dropdown .navCol {
width: 100%;
margin-left: 0;
margin-right: 0;
float: left;
padding: 30px 24px;
padding-top: 0;
}
.masthead .navigation .primary-nav .nav-dropdown .navCol.navcol-8{
width: 66.666667%;
}
.masthead .navigation .primary-nav .nav-dropdown .navCol>ul{
padding-top: 20px;
}
.masthead .navigation .primary-nav .nav-dropdown a.title {
width: 100%;
color: #006193;
}
.masthead .navigation .primary-nav .nav-dropdown a.title{
padding: 0;
}
.masthead .navigation .primary-nav .nav-dropdown a.title ~ ul {
margin-top: 5px;
/*max-width: 200px;*/
}
.masthead .navigation .primary-nav .nav-dropdown .nav-sublevel {
position: static;
width: auto;
opacity: 1;
line-height: 1.5em;
}
.masthead .nav-dropdown .dropdown-panel .nav-sublevel a{
color: #006193;
padding: 0;
}
.masthead .dropdown-panel.dropdown-panel-half{
padding: 0 18px;
width: 50%;
}
.masthead .dropdown-panel.dropdown-panel-half:first-child{
padding-left: 0;
}
.masthead .dropdown-panel.dropdown-panel-half:last-child{
padding-right: 0;
}
.masthead .dropdown-panel.dropdown-panel-third{
padding: 0 18px;
width: 33.3333%;
}
.masthead .nav-dropdown .dropdown-panel+li{
margin-top: 10px;
}

/*
quick links
dropdown list
*/
.masthead .secondary-nav .quick-links-droppanel{
position: absolute;
z-index: 9;
right: -50px;
display: none;
}
.masthead .secondary-nav .quick-links a:hover~.quick-links-droppanel{
display: block;
}
.masthead .secondary-nav .fil-triade {
position: absolute;
}
.masthead .secondary-nav .fil-triade.up {
left: 50%;
margin-left: -12px;
margin-top: -6px;
}
.masthead .secondary-nav .fil-triade.up>span>em {
width: 0;
height: 0;
position: absolute;
}
.masthead .secondary-nav .fil-triade.up>span>em {
border-bottom: 14px solid #f4f4f4;
border-right: 18px solid transparent;
border-left: 18px solid transparent;
top: 4px;
left: -10px;
}
.masthead .secondary-nav ul li.quick-links {
display: block;
position: relative;
}
.masthead .secondary-nav .quick-links>a,
.masthead .secondary-nav .institutional>a{
color: #415464
}
.masthead .quick-links .quick-links-droplist li{
float: none;
text-align: left;
margin: 0;
}
.masthead .quick-links .quick-links-droplist li a{
display: block;
margin: 0;
line-height: 20px;
padding: 10px 18px;
color: #006193;
text-decoration: none;
background-color: #f4f4f4;
border-bottom: 1px solid #d9dde0;
}
.masthead .quick-links .quick-links-droplist li a:hover{
background-color: #e7e7e7;
}
.masthead .quick-links .quick-links-droplist{
margin-top: 8px;
box-shadow: 0px 2px 1px rgba(0,0,0,0.1);
}
.masthead {
position: relative;
z-index: 3;
overflow: visible;
box-shadow: 0px 2px 1px rgba(0,0,0,0.1);
}
.masthead .navigation .nav-content {
bottom: 0;
background: #fff;
width: 320px;
height: auto;
background: 0 0;
position: static;
float: left;
width: 100%;
height: auto;
overflow: visible;
display: inline-block;
box-shadow: none;
padding: 0;
padding-top: 15px;
border-bottom: none;
border-right: none;
}
.masthead .top-bar {
position: relative;
display: block;
box-sizing: content-box;
border-bottom: none;
background: #fff;
}
.masthead .top-bar .logo {
display: block;
position: absolute;
width: 218px;
margin-top: 30px;
}
.masthead .top-bar .nav-wrap-bottom{
margin-top: 22px;
}
.masthead .secondary-nav {
float: right;
display: inline-block;
padding-top: 12px;
margin-right: 24px;
}
.masthead .secondary-nav ul {
float: right;
}
.masthead .navigation .nav-row {
position: static;
overflow: visible;
background: #f1f1f1;
box-sizing: border-box;
background-color: transparent;
border-bottom: none;
width: 100%;
color: #666;
padding-top: 0;
padding-bottom: 0;
overflow: visible;
}
.masthead .navigation .primary-nav li a.header{
text-decoration: none;
border-bottom: 4px solid transparent;
}
.masthead .navigation .primary-nav li a.header:hover{
text-decoration: none;
border-bottom: 4px solid #006193;
}
.masthead .navigation .primary-nav li.highlight a.header{
text-decoration: none;
border-bottom: 4px solid #006193;
}
.masthead .navigation .primary-nav li.active a.header{
text-decoration: none;
border-bottom: 4px solid #006193;
}
.masthead .navigation .title{
font-size: 1.2777rem;
}
.masthead .navigation .item.current .title{
color: #006193;
font-weight: bold;
}
.masthead .navigation .primary-nav li.item {
float: right;
width: auto;
margin-right: 12px;
margin-left: 12px;
padding-bottom:14px;
}
.nav-wrap-top:before,
.nav-wrap-top:after ,
.nav-wrap-bottom:before,
.nav-wrap-bottom:after{
content: " ";
display: table;
}
.nav-wrap-top:after,
.nav-wrap-bottom:after {
visibility: hidden;
clear: both;
content: ".";
height: 0;
display: block;
}
.masthead .primary-nav-list{
float: right;
}
.masthead .search-desktop {
float: right;
display: inline-block;
border: 1px solid #ccc;
width: 156px;
height: 40px;
margin-left: 12px;
margin-bottom: 20px;
}
.masthead .search-desktop input {
width: 100%;
border: none;
line-height: 1.0;
margin-top: 10px;
margin-right: 0;
padding-left: 10px;
outline: 0;
}
.masthead .navigation .search-desktop>a.btn-search {
position: absolute;
right: 8px;
top: 0;
display: block;
cursor: pointer;
}

/*sticky nav*/
.masthead.sticky .nav-wrap-top{
display: none;
visibility: hidden;
}
.masthead.sticky .top-bar{
background-color: #415464;
}
.masthead.sticky .navigation .primary-nav li a.header{
color:#fff;
}
.masthead.sticky .top-bar .logo{ margin-top:0; }
.masthead.sticky .navigation .title {
color:#fff;
}
.masthead.sticky .search-desktop input{
background-color: #fff;
}
.masthead.sticky .autoComplete.search-desktop{
background-color: #fff;
}
.masthead.sticky .navigation .primary-nav li a.header:hover {
text-decoration: none;
border-bottom: 4px solid #fff;
}
.masthead.sticky .navigation ul.nav-toggler li.logo a {
margin-top: 8px;
width: 171px;
height: 52px;
background-image: url(../images/logo_en_white.png);
background-image: url(../images/logo_en_white.svg), none;
background-position: 0 center;
background-repeat: no-repeat;
background-size: contain;
}
.masthead .nav-apply {
position: relative;
}
.apply-box {
width: 100%;
height: auto;
background-color: #f1f6f8;
top: 45px;
right: 0;
position: absolute;
z-index: 3;
text-align: left;
box-shadow: 0px 2px 1px rgba(0,0,0,0.1);
}

.masthead .top-bar .logo{
width: 218px;
height: 66px;
background-image: url(../images/logo.png);
background-image: url(../images/logo.svg), none;
background-position: 0 center;
background-repeat: no-repeat;
background-size: contain;
}
.masthead.sticky .top-bar .logo{
width: 218px;
height: 66px;
background-image: url(../images/logo_en_white.png);
background-image: url(../images/logo_en_white.svg), none;
background-position: 0 center;
background-repeat: no-repeat;
background-size: contain;
}
.masthead .navigation .primary-nav>li a.icon-search{
color: #999;
line-height: 1.4;
}
.masthead .icon-search{
font-size: 1.6rem;
color: #999;
width: auto;
height: auto;
top: 0;
}
body.mobileNavOpen .apply-box {
top: 0;
right: 0;
position: absolute;
}
.masthead .navigation .apply-now {
padding: 20px 15px;
}
}

@media only screen and (min-width: 81.25em){
.masthead .navigation {
height: auto;
}
.masthead .navigation {
border-bottom: none;
}
.masthead .navigation .nav-content {
bottom: 0;
background: #fff;
width: 320px;
height: auto;
background: 0 0;
position: static;
float: left;
width: 100%;
height: auto;
overflow: visible;
display: inline-block;
box-shadow: none;
padding: 0;
padding-top: 15px;
border-bottom: none;
border-right: none;
}
.masthead .top-bar {
position: relative;
display: block;
box-sizing: content-box;
border-bottom: none;
background: #fff;
}
.masthead .top-bar .logo {
display: block;
position: absolute;
width: 218px;
}
.masthead .navigation .primary-nav li a.header {
text-decoration: none;
border-bottom: 5px solid transparent;
}
.masthead .navigation .primary-nav li a.header:hover{
border-bottom: 5px solid #006193;
}
.masthead .navigation .primary-nav li.highlight a.header{
border-bottom: 5px solid #006193;
}
.masthead .navigation .primary-nav li.active a.header{
border-bottom: 5px solid #006193;
}
.masthead .secondary-nav {
float: right;
display: inline-block;
padding-top: 12px;
margin-right: 24px;
}
.masthead .secondary-nav ul {
float: right;
}
.masthead .secondary-nav ul li{
float: left;
}
.masthead .navigation .nav-row {
position: static;
overflow: visible;
background: #f1f1f1;
box-sizing: border-box;
background-color: transparent;
border-bottom: none;
width: 100%;
color: #666;
padding-top: 0;
padding-bottom: 0;
overflow: visible;
}
.masthead .navigation .primary-nav li a.header{
padding: 0 0 6px 0;
}
.masthead .navigation .title{
font-size: 23px;
color: #415464;
}
.dropdown-panel.dropdown-panel-tools a.more{
margin-left:0;
}
.masthead .navigation .primary-nav li.item {
margin-right: 15px;
margin-left: 15px;
padding-bottom: 14px;
}
.masthead.sticky .navigation .primary-nav li.item {
padding-bottom: 17px;
}
.nav-wrap-top:before,
.nav-wrap-top:after ,
.nav-wrap-bottom:before,
.nav-wrap-bottom:after{
content: " ";
display: table;
}
.nav-wrap-top:after,
.nav-wrap-bottom:after {
visibility: hidden;
clear: both;
content: ".";
height: 0;
display: block;
}
.masthead .primary-nav-list{
float: right;
}
.masthead .search-desktop {
float: right;
display: inline-block;
box-sizing: border-box;
border: 1px solid #ccc;
width: 156px;
height: 40px;
margin-left: 15px;
margin-bottom: 22px;
}
.masthead .search-desktop input {
width: 100%;
border: none;
line-height: 1.0;
margin-top: 8px;
margin-right: 0;
padding-left: 10px;
outline: 0;
}
.masthead .login {
margin-right: 0;
text-align: right;
}
.masthead .login a, .masthead .login>.button {
width: 100%;
text-align: right;
}
.masthead .navigation .primary-nav .nav-dropdown.nav-dropdown4 {
width: 66.666667%;
right: 0;
left: auto;
}
}
.test-backtop{
padding-top: 200px;
}
.test-backtop li{
line-height: 60px;
margin-bottom: 20px;
}

new-nav-css

标签:isp   ada   ide   :hover   ons   touch   z-index   ant   png   

原文地址:http://www.cnblogs.com/sailingweb/p/6031165.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!