.header{
	background: #e3e9f1;
	height: 77px;
	position: relative;
	padding-right: 30px;
	margin-right: -30px;
}

.header.notLoggedIn{

	padding-right: 0;
	margin-right: 0;
}






.header_w{
	width: 990px;
	margin: 0 auto;
	padding: 0;
}

.header.notLoggedIn .header_w{
	width: 996px;
}

.logo{

	float: left;
	width: 166px;
	margin-top: 10px;




}

.logo.loggedIn{

	padding: 0 0 0 6px;
}

.logo.guest{
	width: 157px;
}


.logo a{
	display: inline-block;
	visibility: hidden;


}



/*
.logo a.type1{
	width: 157px;
	height: 18px;
	display: block;
	background-position: -132px -269px;
	margin-top: 29px;

}
.logo a.type8{
	width: 182px;
	height: 45px;
	display: block;
	background-position: -197px -847px;
	margin-top: 16px;

}
*/


.piAvatarWrapper{
	float: right;
}

.piNavWrapper{

	padding-top: 20px;
	text-align: center;

}

.piNavWrapper.loggedIn{

}

.piNavWrapper.guest{

}




.piNavWrapper .nav{

}




.header .nav ul{
	margin: 0;
	padding: 0;
	background: url(../images/nav_header_bg.png) 0 0 repeat-x;
	height: 35px;
	border: 1px solid #dcdcdc;
	border-bottom: 1px solid #cacaca;
	border-top: none;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	-moz-border-radius: 3px;
	display: inline-block;
}

.header .nav ul li{
	margin: 0;
	padding: 0;
	float: left;

	height: 35px;
	font-size: 12px;
	line-height: 35px;
	background: url(../images/nav_header_marker.png) 100% 0 no-repeat;
}

.header .nav ul li:last-child{
	background: none;
}

/*
.header .nav ul li:last-child a{
	margin: 0;
	padding: 0 17px 0 12px;
}
*/

.header .nav ul li:last-child .selected{
	margin: 0 0 0 -1px;
	background: url(../images/nav_header_selected_last.png) 100% 0 no-repeat;
}

.header .nav ul li:first-child .selected{
	background: url(../images/nav_header_selected_first.png) 0 0 no-repeat;
}

.header .nav ul li a,
.header .nav ul li div.specialMenuElement{
	color: #6c6c6c;
	text-decoration: none;
	display: block;
	height: 36px;
	float: left;
	padding: 0 15px 0 12px;
	margin: 0 3px 0 0;
	cursor: pointer;
}

.header .nav ul li a.show_messages{
	margin: 0;
	padding-right: 18px;
}

.header .nav ul li div.piChats{
	padding: 0;
	position: relative;
}

.header .nav ul li div.piChats .piImg,
.header .nav ul li div.piChats .piText,
.header .nav ul li div.piChats .piArrowExpand{
	float: left;
	height: 36px;

}

.header .nav ul li div.piChats .piImg{
	width: 26px;
	height: 20px;
	margin: 9px 5px 0 9px;
	background-position: -118px -39px;
}

.header .nav ul li div.piChats:hover .piImg{
	background-position: -175px -53px;
}


.header .nav ul li div.piChats .piArrowExpand{
	width: 15px;
	height: 15px;
	margin: 11px 5px 0 1px;
	background-position: -16px -52px;
	opacity: 0.4;
}

.header .nav ul li div.piChats:hover .piArrowExpand{
	opacity: 0.8;
}

.header .nav ul li div.piChats .menuWrapper{
	z-index: 15;
}

.header .piChats .menu .item{
	display: block;
	height: 25px;
	margin: 0;
	padding: 0;
	width: 89px;
	float: none;
}

.piChats .menu .item div.inner{
	/*padding: 4px 17px 0 8px;*/
	text-align: left;
	height: 24px;
}


.piChats .menu .item div.inner .img,
.piChats .menu .item div.inner .text{
	float: left;
	height: 14px;

}

.piChats .menu .item div.inner .img{
	width: 14px;
	margin: 5px 6px 0 8px;
}

.piChats .menu .item div.inner .img4{
	background-position: -224px -53px;
}

.piChats .menu .item div.inner .img2{
	background-position: -119px -60px;
}

.piChats .menu .item div.inner .img3{
	background-position: -45px -54px;
}

.piChats .menu .item div.inner .img1{
	background-position: -59px -54px;
}



.piChats .menu .item div.inner .text{
	line-height: 14px;
	margin: 5px 0 0 0;

}


.piChats{
	outline: none;
}

.header .piChats .menuWrapper{
	width: 109px;
	right: -20px;
	top: 20px;
}

.piChats .menu{
	width: 89px;
}

.piChats .menu .item .inner.last{
	border-bottom: none;
	height: 25px;
}






.header .nav ul li span.root{
	color: #6c6c6c;
	display: block;
	height: 36px;
	float: left;
	background: url(../images/icons_header_nav.png) 0 0 no-repeat;
}

.header .nav ul li a:hover{
	background: url(../images/nav_header_bg.png) 0 -35px repeat-x;
}

.header .nav ul li span.people{
	background-position: 0 7px;
	padding: 0 0 0 29px;
}

.header .nav ul li span.encounters{
	background-position: 0 -128px;
	padding: 0 0 0 34px;
	margin: 0 0 0 1px;
}

.header .nav ul li span.msg{
	background-position: 0 -265px;
	padding: 0 0 0 33px;
	position: relative;
}

.header .nav ul li span.msg div.count{
	background: url(../images/icons_header_nav.png) 0 -540px no-repeat;
	width: 24px;
	height: 22px;
	color: #fff;
	position: absolute;
	top: 7px;
	left: 0;
}

.header .nav ul li span.msg div.count b{
	font-weight: normal;
	text-align: center; /*width: 16px;*/
	width: 17px;
	height: 10px;
	display: block; /*margin: 2px 0 0 3px;*/
	margin: 2px 0 0 2px;
	font-size: 10px;
	line-height: 10px;
	color: #fff;
}

.header .nav ul li span.city3d{
	background-position: 0 -400px;
	padding: 0 0 0 32px
}

.header .nav .selected{
	float: left;
	padding: 0 15px 0 12px;
	margin: 0 3px 0 0;
	background: url(../images/nav_header_selected.png) 0 0 repeat-x;
}

.header .nav .sel_f{
	margin: 0 2px 0 0;
	padding: 0 16px 0 12px;
}

.header .nav .sel_c{
	margin: 0 2px 0 -1px;
	padding: 0 16px 0 13px;
}

.header .nav .sel_l{
	margin: 0 0 0 -1px;
	padding: 0 15px 0 13px;
}

.header .nav .selected span.people{
	background-position: 0 -60px;
}

.header .nav .selected span.encounters{
	background-position: 0 -197px;
}

.header .nav .selected span.city3d{
	background-position: 0 -467px;
}

.header .avka .frame a{
	display: block;
	width: 25px;
	height: 28px;
	position: absolute;
	top: 2px;
	left: 3px;
}

.header .avka .frame a:hover{
	border: 1px solid #fff;
}

.header .avka a.header_pic_marker{
	background: url(../images/header_pic_marker.png) 0 0 no-repeat;
	width: 15px;
	height: 15px;
	display: block;
	float: left;
	margin: 10px -6px 0 0;
	padding: 0 6px 0 0;
}

.header .avka_item{
	width: 91px;
	height: 75px;
	background: green;
	position: absolute;
	top: 3px;
	right: 5px;
}

.header .avka_item ul.pp_small{
	background: grey;
	height: 0;
	overflow-y: hidden;
}

.header .avka_item ul.pp_small li{
	height: 20px;
	padding: 5px 0 0 20px;
}







.header_w .iconOnoneOnOneChatRequestsActivated,
.header_w .heHasMicro,
.header_w .heHasCamera{
	float: right;

}

.header_w .iconOnoneOnOneChatRequestsActivated{
	margin: 26px 8px 0 0;
}


.header_w .heHasMicro,
.header_w .heHasCamera{

	margin: 27px 8px 0 0;
}


.header_w .notVipHeaderPromoVip{
	display: block;

	height: 16px;
	padding: 1px 7px 0 5px;
	float: right;
	margin: 29px 8px 0 0;

	border-radius: 5px;
	background: rgba(255,140,45,1);
	background: -moz-linear-gradient(left, rgba(255,140,45,1) 0%, rgba(255,181,102,1) 100%);
	background: -webkit-gradient(left top, right top, color-stop(0%, rgba(255,140,45,1)), color-stop(100%, rgba(255,181,102,1)));
	background: -webkit-linear-gradient(left, rgba(255,140,45,1) 0%, rgba(255,181,102,1) 100%);
	background: -o-linear-gradient(left, rgba(255,140,45,1) 0%, rgba(255,181,102,1) 100%);
	background: -ms-linear-gradient(left, rgba(255,140,45,1) 0%, rgba(255,181,102,1) 100%);
	background: linear-gradient(to right, rgba(255,140,45,1) 0%, rgba(255,181,102,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff8c2d', endColorstr='#ffb566', GradientType=1 );
	/*box-shadow: 0px 1px 0 0px rgba(0,0,0,0.3);*/

}

.header_w .notVipHeaderPromoVip .icon,
.header_w .notVipHeaderPromoVip .text{
	float: left;
}

.header_w .notVipHeaderPromoVip .icon{
	width: 16px;
	height: 14px;
	background:  url("data:image/svg+xml;utf8,<svg width='16' height='13.758' enable-background='new 0 0 512 512' version='1.1' viewBox='0 0 16 13.757936' xmlns='http://www.w3.org/2000/svg'><g transform='matrix(-.064516 0 0 .064516 24.774 -9.8952)'><path d='m365.65 196.44c-10.137 0-18.353 8.2165-18.353 18.353 0 4.9648 1.9904 9.4522 5.1931 12.757l-37.677 36.526-39.086-61.988c6.199-3.9072 10.348-10.766 10.348-18.636 0-12.19-9.8821-22.073-22.072-22.073-12.19 0-22.072 9.8832-22.072 22.073 0 7.8549 4.1328 14.707 10.314 18.62l-39.07 62.004-37.661-36.524c3.2048-3.3035 5.1963-7.7925 5.1963-12.759 0-10.137-8.2171-18.353-18.353-18.353s-18.353 8.2165-18.353 18.353c0 10.135 8.217 18.352 18.353 18.352 1.1146 0 2.1946-0.13758 3.2555-0.32852l17.402 84.538h161.98l17.403-84.538c1.0603 0.19199 2.1403 0.32853 3.256 0.32853 10.136-1e-5 18.353-8.2165 18.353-18.352 0-10.137-8.2166-18.353-18.353-18.353z' opacity='.3'/><polygon points='185.07 327.35 175.54 366.62 352.45 366.62 342.92 327.35' opacity='.3'/></g><g transform='matrix(-.064516 0 0 .064516 24.774 -9.8952)' fill='%23fff'><path d='m357.65 188.44c-10.137 0-18.353 8.2165-18.353 18.353 0 4.9648 1.9904 9.4522 5.1931 12.757l-37.677 36.526-39.086-61.988c6.199-3.9072 10.348-10.766 10.348-18.636 0-12.19-9.8821-22.073-22.072-22.073-12.19 0-22.072 9.8832-22.072 22.073 0 7.8549 4.1328 14.707 10.314 18.62l-39.07 62.004-37.661-36.524c3.2048-3.3035 5.1963-7.7925 5.1963-12.759 0-10.137-8.2171-18.353-18.353-18.353s-18.353 8.2165-18.353 18.353c0 10.135 8.217 18.352 18.353 18.352 1.1146 0 2.1946-0.13758 3.2555-0.32852l17.402 84.538h161.98l17.403-84.538c1.0603 0.19199 2.1403 0.32853 3.256 0.32853 10.136-1e-5 18.353-8.2165 18.353-18.352 0-10.137-8.2166-18.353-18.353-18.353z'/><polygon points='177.07 319.35 167.54 358.62 344.45 358.62 334.92 319.35'/></g></svg>");
	margin-right: 4px;
}

.header_w .notVipHeaderPromoVip .text{
	font-size: 10px;
	color: white;
	text-shadow: 0 1px 0 #404040
}



.piIamVip{
	float: right;
	margin: 26px 8px 0 0;
}

.piIrisedSearchPriority{
	float: right;
	margin: 27px 8px 0 0;
	width: 21px;
	height: 20px;
	background-position: -97px -39px;
}


.piYouAreVeryPopular{
	float: right;
	margin: 27px 8px 0 0;
	width: 21px;
	height: 20px;
	background-position: -97px -19px;
}







.link_credit{
	float: right;
	margin: 26px 7px 0 0;


}

.link_credit a{
	text-decoration: none;

	height: 22px;
	display: block;

}

.link_credit a .icon,
.link_credit a .text{
	float: left;
}

.link_credit a .icon{
	width: 22px;
	height: 22px;
	background-position: -202px -52px;
	margin-right: 4px;
}

.link_credit a .text{
	margin-top: 4px;
}




.header .piAvatar{
	float: right;
	margin: 22px 5px 0 0;
	position: relative;
	cursor: pointer;
	z-index: 10;
}


.header .piAvatar .frame{
	background-position: -195px -288px;
	width: 33px;
	height: 33px;
	padding: 3px 0 0;
	text-align: center;
	position: relative;
	float: left;
}

.header .piAvatar .frame img{
	width: 25px;
}


.header .piAvatar .arrowDown{
	height: 36px;
	width: 17px;
	float: left;
}

.header .piAvatar .arrowDown .inner{
	width: 9px;
	height: 5px;
	margin: 13px 0 0 3px;
	background-position: -19px -57px;
}

.piDropdownNew .menuWrapper{
	position: absolute;
	padding: 0 0 0 10px;
	overflow: hidden;
	height: 0px;

}


.header .piAvatar .menuWrapper{
	width: 128px;
	right: 10px;
	top: -7px;
}


.piDropdownNew .menu{
	margin: 10px 0;
	box-shadow: rgb(51, 51, 51) 0px 3px 7px 0px;
}


.header .piAvatar .menu{
	width: 118px;
}





.piDropdownNew .menu .item.decoArrowWrapper{
	position: relative;
}

.piDropdownNew .menu .item.decoArrowWrapper .decoArrowLeft{
	position: absolute;
	height: 24px;
	width: 10px;
	right: -10px;
	background-position: -290px -269px;
}




.piDropdownNew .menu .item.decoArrowWrapper .decoArrowLeft.hovered{
	background-position: -290px -294px;
}

.piDropdownNew .menu .item.decoArrowWrapper .decoArrowUp.hovered{
	background-position: -24px -107px;
}




.piDropdownNew .menu .item a,
.piDropdownNew .menu .item div.inner{
	display: block;
	font-size: 10px;
	color: black;
	font-weight: bold;
	text-decoration: none;

	background-color: #F3F3F3;
	border-bottom: 1px solid #e3e3e3;
	line-height: 14px;
}




.header .piAvatar .menu .item a{
	padding: 5px 17px 0 26px;
	height: 19px;
}

.header .piAvatar .menu .item a:hover,
.piDropdownNew .menu .item div.inner:hover{
	background: #000000;
	color: white;

}


.header .piAvatar .menu .item a.settings,
.header .piAvatar .menu .item a.logout{
	background-image: url('/images/pp_small_list_marker.png');
	background-repeat: no-repeat;
}

.header .piAvatar .menu .item a.settings{
	background-position: 6px -43px;


}

.header .piAvatar .menu .item a.settings:hover{
	background-position: 6px -77px;
}



.header .piAvatar .menu .item a.logout{
	background-position: 6px -113px;
	border-bottom: none;
}

.header .piAvatar .menu .item a.logout:hover{
	background-position: 6px -149px;
}

.header .piAvatar .menu .item a.profile{
	padding-left: 7px;

	/*border-bottom: 1px solid #F3F3F3;*/
}

.header .piAvatar .menu .item a.profile .icon,
.header .piAvatar .menu .item a.profile .text{
	float: left;
	height: 14px;
}

.header .piAvatar .menu .item a.profile .icon{
	width: 12px;
	margin-right: 7px;
	background-position: -229px -288px;
}

.header .piAvatar .menu .item a.profile:hover .icon{
	background-position: -229px -303px;
}

















