.nav,.nav a,.nav ul,.nav li,.nav div,.nav form,.nav input {margin: 0; padding: 0; border: none; outline: none;}.nav a { text-decoration: none; }.nav li { list-style: none; }.nav ul { width:100%; }.nav {display: inline-block; position: relative; cursor: default; z-index: 9999; width:1024px; }.nav > li {display: block;float: left;}.nav > li > a { position: relative; display: block; z-index: 9999; height: 50px; padding: 0 20px; line-height: 50px; font-weight: bold; font-size: 14px; color: #fcfcfc; text-shadow: 0 0 1px rgba(0,0,0,.35); background:#3498db; border-left: 1px solid #3498db; border-right: 1px solid #2980b9; -webkit-transition: all .3s ease; -moz-transition: all .3s ease; -o-transition: all .3s ease; -ms-transition: all .3s ease; transition: all .3s ease;}.nav > li:hover > a { background: #2980b9; }.nav > li:first-child > a {border-radius: 3px 0 0 3px; border-left: none;}/* Search Form */.nav > li.nav-search {float: left; width: 235px; overflow:hidden;}.nav > li.nav-search > form { position: relative; height: 50px; z-index: 9999; border-left: 1px solid #3498db;}.nav > li.nav-search input[type="text"] {display: block; float: left; height: 20px; padding: 15px 20px; line-height: 24px; font-size: 13px; color: #fff; text-shadow: 0 0 1px rgba(0,0,0,.35); background: #3498db;}.nav > li.nav-search input[type="text"]:focus { color: #fff; }.nav > li.nav-search input[type="text"]:focus,.nav > li.nav-search:hover input[type="text"] { color: #fff; padding: 15px 20px; }.nav > li.nav-search input[type="submit"] { display: block; float: left; width: 50px; height: 50px; cursor: pointer; background: #2980b9 url(img/search-icon.png) no-repeat center center; border-radius: 0 3px 3px 0;}.nav > li.nav-search input[type="submit"]:hover { background-color: #34495e; }/* Menu Dropdown */.nav > li > div { position: absolute; display: block; width: 100%; top: 50px; left: 0; opacity: 0; visibility: hidden; overflow: hidden; background: #fff; border-radius: 0 0 3px 3px; -webkit-transition: all .3s ease .15s; -moz-transition: all .3s ease .15s; -o-transition: all .3s ease .15s; -ms-transition: all .3s ease .15s; transition: all .3s ease .15s;}.nav > li:hover > div { opacity: 1; visibility: visible; overflow: visible;}