/*
	CSS - Skype.com
	NAVIGATION
*/


/* Initialise
----------------------------------------------------------------------------------------------------*/

nav {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 30;
}

	nav.animate {
		transition: padding-left 0.2s ease-in-out, padding-right 0.2s ease-in-out;
		-moz-transition: padding-left 0.2s ease-in-out, padding-right 0.2s ease-in-out;
		-webkit-transition: padding-left 0.2s ease-in-out, padding-right 0.2s ease-in-out;
	}

nav .navWrapper {
    display: block;
    margin: auto;
    max-width: 960px;
    min-width: 320px;
    padding: 0 30px;
    position: relative;
    text-align: right;
    z-index: 100;
}

	/* IE6, IE7, IE8 */
	nav .navWrapper {
		*min-width: 960px;
		min-width/*\**/: 960px\9;
	}
	/* IE9, IE10 */
	@media screen and (min-width:0\0) {
	    nav .navWrapper { min-width: 320px; }
	}

nav ul.navMain {
    background-color: #FFFFFF;
    box-shadow: 0 0 1px #D2D0CE;
	border: 1px solid white;
	border-top: none;
	height: 71px;
	position: relative;
}

nav .menuItem.hidden {
    display: none;
}

nav .skypeLogo {
    left: 1px;
    position: absolute;
    top: 0;
}

nav .skypeLogo a {
    background-color: #FFFFFF !important;
    height: 40px;
    overflow: hidden;
    padding: 16px 20px 15px 19px;
    position: relative;
    width: 89px;
    z-index: 2;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

nav .skypeLogo .menuSprite {
    display: block;
    height: 40px;
    overflow: hidden;
    position: relative;
    width: 90px;
    z-index: -2;
	*background: url('../images/logo-sprite.png') no-repeat;
	*background-position: 0 0;
}

	.svg nav .menuSprite:before {
	    content: '';
	    display: inline-block;
	    position: relative;
	    width: 140px !important;
	    height: 40px;
	    background-image: url(../images/logo-sprite.png);
	    background-position: 37px 0px;
	    background-size: 38px 38px;
	    background-repeat: no-repeat;
	}

  	nav .menuSprite:before {
    	content: url('../assets/images/china/menu-sprite.png');
    	display: inline-block;
  	}

  	nav .skypeLogo a:hover .menuSprite,
  	nav .skypeLogo a:focus .menuSprite {
		*background-position: 0 -50px;
  	}

  	nav .skypeLogo a:hover .menuSprite:before,
  	nav .skypeLogo a:focus .menuSprite:before {
/*     	margin: -50px 0; */
  	}

nav ul li {
	cursor: pointer;
    display: inline-block;
    float: left;
    font-size: 16px;
    letter-spacing: -0.5px;
    list-style-type: none;
    position: relative;
    text-align: left;
}

	nav ul li.menuLeft {
		left: 129px;
	}

	nav ul li.menuLeft a {
		min-width: 50px;
		text-align: center;
	}

nav ul li.menu > a {
	cursor: default !important;
}

nav ul li > ul > li {
	display: block;
    float: none;
    margin: 1px 0 0;
    position: relative;
}

	nav ul li.selected > a {
		color: #1C1C1C;
	}

	nav ul li:hover > a,
	nav ul li.hover > a,
	nav ul li:focus > a,
	nav ul li.focus > a {
		background-color: #00AFF0;
		color: #FFFFFF;
	}

		nav ul li.menuLeft:hover > a,
		nav ul li.menuLeft.hover > a,
		nav ul li.menuLeft:focus > a,
		nav ul li.menuLeft.focus > a {
			border: 1px solid #00AFF0;
	    	padding: 24px 12px 28px;
		}

nav ul li > ul {
	box-shadow: 0 0 1px #D2D0CE;
    height: 0 !important;
    margin-top: -72px;
    overflow: hidden;
    padding-top: 72px;
    position: absolute;
    width: 100% !important;
}

nav ul a {
    background-color: #FFFFFF;
    display: block;
    font-size: 20px;
    padding: 25px 13px 28px;
    position: relative;
    text-decoration: none;
    z-index: 1;
}

	nav ul a:hover,
	nav ul:hover > a,
	nav ul a:focus,
	nav ul:focus > a,
	nav ul li.selected a:focus,
	nav ul:focus > a {
		background-color: #00AFF0;
		color: #FFFFFF;
		text-decoration: none;
	}

		nav ul li.menuLeft a:focus,
		nav ul:focus li.menuLeft > a,
		nav ul li.menuLeft.selected a:focus,
		nav ul:focus li.menuLeft > a {
			border: 1px solid #00AFF0;
	    	padding: 24px 12px 28px;
		}

		/*nav ul a:hover,
		nav ul:hover > a,
		nav ul a:focus,
		nav ul:focus > a,
		nav ul li.selected a:focus,
		nav ul:focus > a {
			background-color: #00AFF0;
			border: 1px solid #00AFF0;
			color: #FFFFFF;
	    	padding: 24px 12px 28px;
			text-decoration: none;
		}*/

nav ul li > ul a {
	font-size: 16px;
    padding: 20px 30px 20px 13px;
    height: auto;
    z-index: -1;
}

	nav ul li.hover > ul {
	    cursor: default;
	}

	nav ul li.hover > ul a {
	    z-index: 0;
	}

	nav ul li > ul a:hover,
	nav ul li > ul:hover > a,
	nav ul li > ul a:focus,
	nav ul li > ul:focus > a {
		background-color: #0093DC;
		margin-top: -1px;
		padding-top: 21px;
	}

nav ul li.focus,
nav ul li.hover {
	position: static;
}

	nav ul li.focus > ul,
	nav ul li.hover > ul {
		height: auto !important;
		width: auto !important;
		overflow: visible !important;
	}

nav .accountLink {
	cursor: default;
    float: none;
}

	nav .accountLink {
		*display: inline;
	}

	nav .accountLink a {
		font-size: 16px;
		padding: 27px 13px 26px;
	}

	nav .accountLink a:hover,
	nav .accountLink a:focus,
	nav .accountLink:hover a,
	nav .accountLink:focus a {
	    background-color: #FFFFFF;
	    color: #0078CA;
	    cursor: pointer;
	    text-decoration: underline;
	}

	nav .marginRight {
		margin-right: 13px;
	}

nav a:focus {
    outline: none;
}

nav .skipNavigation {
	box-shadow: 0 0 1px #D2D0CE;
	display: block;
    height: 0;
    left: 0;
    overflow: hidden;
    position: absolute !important;
    top: 72px;
    z-index: 2;
}

	nav .skipNavigation.focus {
	    height: auto;
	}

	nav .skipNavigation a {
		background-color: #0093DC !important;
		border: 1px solid #0093DC;
		color: #FFFFFF;
	    font-size: 16px;
    	outline: none;
		padding: 20px 19px 19px 12px;
		min-width: 98px;
	}


/* Overrides for Tablet
----------------------------------------------------------------------------------------------------*/

nav.tablet {
    padding: 0 0 52px;
}

nav.tablet .navWrapper {
    padding: 0;
}

nav.tablet .skipNavigation {
    display: none !important;
}

nav.tablet .navMain {
    border-bottom: none;
    height: 72px;
}

nav.tablet .navBottom {
    box-shadow: 0 0 1px #D2D0CE;
    left: 0;
    position: absolute;
    top: 72px;
    width: 100%;
    z-index: -1;
}

	nav.tablet .navBottom span {
	    background-color: rgba(255, 255, 255, 0.9);
	    border: 1px solid #F7F9FA;
    	border-top: 1px solid #DBDFE0;
    	display: block;
	    height: 50px;
	}

nav.tablet .menuLeft.menuItem {
	left: -1px;
	top: 72px;
}

	nav.tablet .menuLeft.menuItem  a {
		background-color: transparent;
		font-size: 16px;
		padding: 15px 15px 18px;
	}

	nav.tablet ul li.menuLeft a {
		min-width: 40px;
		text-align: center;
	}

	nav.tablet .menuLeft.menuItem  a:hover,
	nav.tablet .menuLeft.menuItem  a:focus {
		background-color: #00AFF0;
		border: 1px solid #00AFF0;
		padding: 14px 14px 18px;
	}


/* Overrides for Mobile
----------------------------------------------------------------------------------------------------*/

@media only screen and (max-width: 600px) {

	nav {
		background-color: none;
		box-shadow: none;
		padding: 0;
		position: static;
		left: auto;
		margin: 0 auto;
		margin-bottom: 0;
		height: 53px;
	}

	nav .navWrapper {
		position: relative;
		height: 52px;
		width: 100%;
		padding: 0;
		left: auto;
		border-bottom: 1px solid #c5d9e1;
		box-shadow: none;
	}

		nav .navWrapper > ul {
			border: none;
			height: inherit;
		}

	nav .skipNavigation {
	    display: none !important;
	}
	
	nav .skypeLogo a {
		top: 9px;
		left: 14px;
		height: 34px;
		width: 76px;
		outline: none;
		padding: 0;
	}
	
	nav .skypeLogo .menuSprite {
		height: 34px;
		width: 76px;
	}

		nav .skypeLogo:hover {
		    *background-position: 0px -100px;
		}

	  	nav .skypeLogo .menuSprite:before  {
		    margin: -100px 0;
	  	}

	  	nav .skypeLogo a:hover .menuSprite:before,
	  	nav .skypeLogo a:focus .menuSprite:before {
	    	margin: -150px 0;
	  	}

	nav .openMenu {
		position: absolute;
		right: 0;
	}

		nav .openMenu a {
			outline: none;
		    padding: 0;
		}

		nav .openMenu .menuText {
			font-size: 16px;
		    line-height: 38px;
		    padding-right: 10px;
		    position: absolute;
		    right: 58px;
		    text-align: right;
		    top: 6px;
		    width: 140px;
		}

		nav .openMenu .menuSprite {
		    display: block;
		    height: 38px;
		    margin: 0;
		    overflow: hidden;
		    padding: 0;
		    position: absolute;
		    right: 20px;
		    top: 7px;
		    width: 38px;
		    z-index: -2;
		}

		nav .openMenu .menuSprite:before {
		    margin:	0 -100px;
		}

		  	nav .openMenu a:hover .menuSprite:before,
		  	nav .openMenu a:focus .menuSprite:before {
		    	margin: -50px -100px;
		  	}

		nav ul li.openMenu:hover > a,
		nav ul li.openMenu.hover > a,
		nav ul li.openMenu:focus > a,
		nav ul li.openMenu.focus > a,
		nav ul li.openMenu a:hover,
		nav ul:hover li.openMenu > a,
		nav ul li.openMenu a:focus,
		nav ul:focus li.openMenu > a {
			background-color: #FFFFFF;
			color: #00548D;
			text-decoration: none;
		}

	nav .closeMenu {
		background-color: #00AFF0;
		border-bottom: 1px solid #4DC7F5;
		display: none !important;
	    left: 0;
	    position: relative;
	    width: 100%;
	    z-index: 2;
	}

		nav .closeMenu.show {
			display: block !important;
		}

		nav .closeMenu a {
			background-color: #00AFF0;
		    height: 52px;
		    outline: medium none;
		    padding: 0;
		}

		nav .closeMenu .menuText {
			color: #FFFFFF;
			font-size: 16px;
		    line-height: 38px;
		    padding-right: 10px;
		    position: absolute;
		    left: 58px;
		    top: 6px;
		}

		nav .closeMenu .menuSprite {
		    display: block;
		    height: 28px;
		    margin: 0;
		    overflow: hidden;
		    padding: 0;
		    position: absolute;
		    left: 20px;
		    top: 12px;
		    width: 28px;
		    z-index: -2;
		}

		nav .closeMenu .menuSprite:before {
		    margin:	-200px 0;
		}

		nav ul li.closeMenu a:hover,
		nav ul li.closeMenu a:focus {
			background-color: #0093DC;
			text-decoration: none;
		}

	nav li.menuLeft.menuItem,
	nav li.menuRight.menuItem {
		display: none;
		float: left;
		left: 0;
		width: 100%;
	}

		nav li.menuLeft.menuItem.show,
		nav li.menuRight.menuItem.show {
			display: block;
		}

		nav li.menuLeft.menuItem a,
		nav li.menuRight.menuItem a {
			background-color: #00AFF0;
			border-bottom: 1px solid #4DC7F5;
			color: #FFFFFF;
			font-size: 16px;
			outline: none;
			padding: 16px 20px 18px;
			text-decoration: none;
			text-align: left;
		}

		nav ul li.menuLeft.menuItem:hover > a,
		nav ul li.menuLeft.menuItem.hover > a,
		nav ul li.menuLeft.menuItem:focus > a,
		nav ul li.menuLeft.menuItem.focus > a,
		nav ul li.menuLeft.menuItem.selected:hover > a,
		nav ul li.menuLeft.menuItem.selected.hover > a,
		nav ul li.menuLeft.menuItem.selected:focus > a,
		nav ul li.menuLeft.menuItem.selected.focus > a,
		nav ul li.menuRight.menuItem:hover > a,
		nav ul li.menuRight.menuItem.hover > a,
		nav ul li.menuRight.menuItem:focus > a,
		nav ul li.menuRight.menuItem.focus > a,
		nav ul li.menuRight.menuItem.selected:hover > a,
		nav ul li.menuRight.menuItem.selected.hover > a,
		nav ul li.menuRight.menuItem.selected:focus > a,
		nav ul li.menuRight.menuItem.selected.focus > a {
			background-color: #0093DC;
			border: none;
			border-bottom: 1px solid #4DC7F5;
			padding: 16px 20px 18px;
		}

		nav ul li.menuLeft.menuItem > a:focus,
		nav ul li.menuLeft.menuItem.selected > a:focus,
		nav ul li.menuRight.menuItem > a:focus,
		nav ul li.menuRight.menuItem.selected > a:focus {
			background-color: #0093DC;
			border: none;
			border-bottom: 1px solid #4DC7F5;
			padding: 16px 20px 18px;
		}

}
