#page {
	max-width: 100%;
	width: calc(100% - 20);
	margin: 0 auto;
}

#profile {
	padding-top: 30px;
	max-width: 1170px;
	width: calc(100% - 20);
	margin: 0 auto;
}

/* profile - main */
.profile .checkbox {
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: top;
	*display: inline;
	zoom: 1;
	background: url("data:image/svg+xml,%3Csvg%20width%3D%2222%22%20height%3D%2222%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cg%20stroke%3D%22null%22%3E%3Cpath%20stroke%3D%22null%22%20d%3D%22m6.035747%2C8.699686l-1.694915%2C1.694915l5.448426%2C5.448426l12.107594%2C-12.107594l-1.694915%2C-1.694915l-10.41268%2C10.351726l-3.753511%2C-3.692557zm13.439564%2C10.775624l-16.950621%2C0l0%2C-16.950621l12.107594%2C0l0%2C-2.421542l-12.107594%2C0c-1.33197%2C0%20-2.421542%2C1.089572%20-2.421542%2C2.421542l0%2C16.950621c0%2C1.33197%201.089572%2C2.421542%202.421542%2C2.421542l16.950621%2C0c1.33197%2C0%202.421542%2C-1.089572%202.421542%2C-2.421542l0%2C-9.686053l-2.421542%2C0l0%2C9.686053z%22/%3E%3C/g%3E%3C/svg%3E");
	height: 22px;
	width: 22px;
	opacity: 0.3;
	cursor: default;
	margin: 0 5px 0 0;
}
.profile label:hover .checkbox {
	opacity: 0.7;
}
.profile .checkbox.active {
	opacity: 1 !important;
	background: url("data:image/svg+xml,%3Csvg%20width%3D%2222%22%20height%3D%2222%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cg%20stroke%3D%22null%22%3E%3Cpath%20fill%3D%22%234681ec%22%20stroke%3D%22null%22%20id%3D%22svg_2%22%20d%3D%22m6.035747%2C8.699686l-1.694915%2C1.694915l5.448426%2C5.448426l12.107594%2C-12.107594l-1.694915%2C-1.694915l-10.41268%2C10.351726l-3.753511%2C-3.692557zm13.439564%2C10.775624l-16.950621%2C0l0%2C-16.950621l12.107594%2C0l0%2C-2.421542l-12.107594%2C0c-1.33197%2C0%20-2.421542%2C1.089572%20-2.421542%2C2.421542l0%2C16.950621c0%2C1.33197%201.089572%2C2.421542%202.421542%2C2.421542l16.950621%2C0c1.33197%2C0%202.421542%2C-1.089572%202.421542%2C-2.421542l0%2C-9.686053l-2.421542%2C0l0%2C9.686053z%22/%3E%3C/g%3E%3C/svg%3E");
}
.profile .image {
	position: relative;
	width: 200px;
	height: 200px;
	text-align: center;
	overflow: hidden;
}
.profile .image .progress {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 10;
	margin: -5px 0 0 -40px;
}
.profile .image img {
	display: block;
	width: 200px;
}
.profile .image .box .nav {
	position: absolute;
	overflow: hidden;
	left: 50%;
	top: 50%;
	margin: -17px 0 0 -34px;
	color: #fff;
	background: #000;
	background: rgba(0,0,0,0.5);
	opacity: 0.3;
	cursor: default;
			border-radius: 4px;
	   -moz-border-radius: 4px;
	-webkit-border-radius: 4px;
		 -o-transition:all 200ms linear;
	   -moz-transition:all 200ms linear;
	-webkit-transition:all 200ms linear;
			transition:all 200ms linear;
}
.profile .image .hover .nav {
	opacity: 1;
}
.profile .image label {
	display: block;
	float: left;
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0.8;
	width: 30px;
	height: 30px;
	margin: 2px;
	cursor: pointer;
}
.profile .image label:hover {
	opacity: 1;
}
.profile .upload label {
	visibility: hidden;
}
.profile .image label.edit {
	background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22m12%209.4c-1.8%200-3.3%201.4-3.3%203.3%200%201.8%201.4%203.3%203.3%203.3%201.8%200%203.3-1.4%203.3-3.3%200-1.8-1.4-3.3-3.3-3.3l0%200zm7.2-4.6c-0.3%200-1.2-0.4-1.3-0.7l-0.5-0.9c-0.4-0.5-1.3-1-2.1-1l-6.5%200c-0.7%200-1.6%200.5-2.1%201l-0.5%200.9c-0.1%200.3-0.9%200.7-1.3%200.7l-2.2%200c-1.2%200-2.4%200.8-2.4%202l0%2012.7c0%201.2%201.2%202.4%202.4%202.4l18.8%200c1.2%200%202.4-1.2%202.4-2.4l0-12.7c0-1.2-1.2-2-2.4-2l-2.2%200zm-12.4%207.8c0-2.9%202.4-5.2%205.2-5.2%202.9%200%205.2%202.4%205.2%205.2%200%202.9-2.4%205.2-5.2%205.2%20-2.9%200-5.2-2.4-5.2-5.2zm13.7-3.9c-0.4%200-0.7-0.3-0.7-0.7%200-0.4%200.3-0.7%200.7-0.7%200.4%200%200.7%200.3%200.7%200.7%200%200.4-0.3%200.7-0.7%200.7l0%200z%22%20fill%3D%22%23fff%22/%3E%3C/svg%3E");
}
.profile .image label.remove {
	background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%20-256%201792%201792%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22m1149%20414q0%2026-19%2045l-181%20181%20181%20181q19%2019%2019%2045%200%2027-19%2046l-90%2090q-19%2019-46%2019-26%200-45-19L768%20821%20587%201002q-19%2019-45%2019-27%200-46-19l-90-90q-19-19-19-46%200-26%2019-45L587%20640%20406%20459q-19-19-19-45%200-27%2019-46l90-90q19-19%2046-19%2026%200%2045%2019L768%20459%20949%20278q19-19%2045-19%2027%200%2046%2019l90%2090q19%2019%2019%2046zm387%20226Q1536%20431%201433%20254.5%201330%2078%201153.5-25%20977-128%20768-128%20559-128%20382.5-25%20206%2078%20103%20254.5%200%20431%200%20640%200%20849%20103%201025.5%20206%201202%20382.5%201305%20559%201408%20768%201408%20977%201408%201153.5%201305%201330%201202%201433%201025.5%201536%20849%201536%20640z%22%20fill%3D%22%23FFF%22/%3E%3C/svg%3E");
}
.profile .image input {
	position: absolute;
	width: 1px;
	height: 1px;
	top: 0%;
	left: 0%;
	font-size: 10em;
	opacity: 0;
	z-index: -1;
	pointer-events: none;
}
.profile .upload .progress {
	display: block;
}
.profile .upload img {
	opacity: 0.5;
	filter: alpha(opacity=50);
}
.profile .upload .nav {
	display: none;
}
.profile .body {
	margin-left: 220px;
}
.profile .body a {
	margin-right: 10px;
	text-decoration: none;
	border-bottom: 1px dashed;
}
.profile .body h1 {
	color: #4681ec;
	margin: 0 0 10px 0;
	padding: 0;
	text-transform: capitalize;
	border: none;
}
.profile .body h3 {
	color: #415e68;
	font-size: 13pt;
	margin: 0 0 10px 0;
	padding: 0;
	border: none;
}
.profile .body label {
	color: #757575;
	margin: 0 2px 0 0;
}
.profile .body .row {
	margin: 0 0 10px 0;
}
.profile .body .row .wi {
	padding: 2px 0;
}
.profile .body .row .cell {
	width: 244px;
	margin-left: 10px;
}
.profile .body .row .cell:first-child {
	margin-left: 0px;
}
.profile .info {
	margin: 10px 0;
}
.profile .info li {
	list-style-type: none;
	padding: 2px 0;
}
.profile .info a {
	font-size: 13px;
	margin: 0 0 0 10px;
}
.profile .notice {
	padding: 8px 8px 8px 40px;
	margin: 10px 0;
	background-size: 20px;
	background-position: 10px center;
	font-size: 10pt;
	line-height: normal;
	background: #d2dade url(pic/warning-image.svg) 8px center no-repeat;
			border-radius: 4px;
	   -moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

/* profile - change password */
.profile .change .row {
	margin-bottom: 8px;
}



.profile-form {
	margin: 0 0 20px 0;
}
.profile-form label {
}

.profile-login > div {
	margin: 10px 0;
}
.profile-login label {
	padding: 5px 6px 0 0;
	width: 70px;
	text-align: right;
}
.profile-login a.button {
	margin: 0 0 0 12px;
}
.profile-login a.button:first-child {
	margin: 0;
}
.profile-restore > div > div {
	margin: 10px 0;
}
.profile-login .text {
	width: 100%;
	line-height: 40px;
	height: 40px;
	font-size: 15px;
	color: #6a6a6a;
	background: #f5f5f5;
	padding: 0 13px;
	border-radius: 5px;
	border: none;
	outline: none;
}
.profile-login .text:focus {
			box-shadow: inset 0px 1px 10px rgba(0,0,0,0.1);
	   -moz-box-shadow: inset 0px 1px 10px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 0px 1px 10px rgba(0,0,0,0.1);
}


.profile-block {
	text-align: center;
	padding: 20px 0;
}
.profile-block form {
	max-width: 300px;
	margin: auto;
}

#page .profile-block:first-child {
	background: #fff1e0;
}


.stat_wrap {}
.stat_wrap td {
	padding-left: 15px;
}
.stat_wrap td:first-child {
	padding-left: 0;
}
.stat_wrap p {
	margin: 0;
}
.stat_wrap label {
	display: block;
	padding: 0 0 10px 0;
}
.stat_wrap td.balance {
	white-space: nowrap;
}
.stat_wrap .box {
	padding: 15px;
	font-size: 150%;
	font-weight: 300;
	white-space: nowrap;
	line-height: 130%;
	color: #fff !important;
	background: #2b2f40;
	cursor: pointer;
	margin: 0 0 5px 0;
	-o-transition:all 100ms linear;
	-moz-transition:all 100ms linear;
	-webkit-transition:all 100ms linear;
	transition:all 100ms linear;
}
.stat_wrap .box:hover {
	background-color: #55596a;
}
.stat_wrap .box font {
	color: #666;
}
.stat_wrap .stat {
	margin-left: 20px;
}
.stat_wrap .stat a {
	color: #969696;
}
.stat_wrap .stat p {	
	margin: 8px 0 0 0;
}
.stat_wrap .stat .date {
	color: #bbb;
	font-size: 90%;
	line-height: 90%;
	padding: 2px 0 0 0;
}
.stat_wrap .stat .price {
	padding: 0 0 0 10px;
	color: #bbb;
	font-size: 90%;
}
.stat_wrap .stat .price p {
	color: #13BADA;
	font-size: 110%;
}



.foc td.price {
	white-space: nowrap;
}
.foc td.balance,
.foc td.balance > span {
	color: #12C4E2 !important;
}
.foc td.null,
.foc td.null * {
	color: #666;
}
.foc td div {
	font-size: 90%;
	color: #B9B9B9;
}
.accounting td.plus {
	color: #02C702;
}
.accounting td.minus {
	color: #FF4706;
}


.ref_link {
	margin: 15px 0 0 0;
}
.ref_link label {
	display: block;
	line-height: 33px;
}
.ref_link label div {
	margin: 0 5px 0 0;
}
.ref_link label input {
	width: 160px;
}
.ref_link p {
	margin: 5px 0 0 0;
}
.ref_table th {
	padding: 8px 2px;
	color: #B9B9B9;
	background: #4D4D4D;
	text-align: center;
	border-bottom: 2px solid #A4DD0A;
	font-size: 13px;
}
table.ref_table th:hover {
	background: #474747;
}
table.ref_table td {
	padding: 6px 2px;
	border-bottom: 1px solid #474747;
}





#profile .sidebar {
	position: relative;
	margin: 0 0 0 -100%;
	width: 170px;
	float: left;
	border-right: 1px solid #eee;
}
#profile .middle {
	width: 100%;
	float: left;
	overflow: hidden;
}
#profile .middle > .body {
	margin-left: 170px;
	padding-left: 20px;
	border-left: 1px solid #eee;
}

#profile .sidebar ol,
#profile .sidebar ol li {
	padding: 0;
	list-style-type: none;
}
#profile .sidebar a {
	display: block;
	position: relative;
	padding: 4px 6px;
	border-right: 0px solid #222;
		 -o-transition:all 70ms linear;
	   -moz-transition:all 70ms linear;
	-webkit-transition:all 70ms linear;
			transition:all 70ms linear;
}
#profile .sidebar a.active {
	/* color: #fff; */
	border-right: 2px solid #4681ec;
	text-decoration: none;
}
#profile .sidebar a:hover {
	color: #333;
	background-color: #eee;
}
#profile .sidebar a:hover,
#profile .sidebar a:focus {
	outline: 0;
			box-shadow: none;
	   -moz-box-shadow: none;
	-webkit-box-shadow: none;
}
#profile .sidebar a span {
	position: absolute;
	font-size: 70%;
	color: #ddd;
	margin: -3px 0 0 4px;
}


#profile .dialogs a,
#profile .dialogs .item {
	display: block;
	position: relative;
	cursor: pointer;
	padding: 10px;
	color: #0DADE1;
	overflow: hidden;
	text-decoration: none;
		 -o-transition:background-color 150ms ease-in-out;
	   -moz-transition:background-color 150ms ease-in-out;
	-webkit-transition:background-color 150ms ease-in-out;
			transition:background-color 150ms ease-in-out;
}
#profile .dialogs .item {
	cursor: default;
}
#profile .dialogs a:hover {
	color: #BAFF00;
	background-color: #272727;
}
#profile .dialogs a.noread,
#profile .dialogs .item.noread {
	background-color: #615C00;
	background-color: #114859;
}
#profile .dialogs a.noread:hover {
	background-color: #0C4252;
}
#profile .dialogs .load {
	color: transparent;
	background-image: url(pic/progress.gif);
	background-repeat: no-repeat;
	background-position: center center;
}
#profile .dialogs .empty {
	display: block;
	padding: 20px;
	text-align: center;
	color: #C0C0C0;
}
#profile .dialogs .avatar {
	position: relative;
	float: left;
	width: 54px;
	height: 54px;
	overflow: hidden;
	border: 0;
			border-radius: 3px;
	   -moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
#profile .dialogs .avatar img {
	display: inline;
	width: 54px;
	height: auto;
}
#profile .dialogs .avatar span {
	display: block;
	position: absolute;
	top: 3px;
	left: 3px;
	width: 8px;
	height: 8px;
	background-color: #A4DD0A;
			border-radius: 4px;
	   -moz-border-radius: 4px;
	-webkit-border-radius: 4px;
			box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
	   -moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
	-webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
#profile .dialogs .info {
	display: block;
	margin: 0 0 0 64px;
}
#profile .dialogs .name {
	padding: 0 0 3px 0;
	line-height: 14px;
}
#profile .dialogs .text {
	font-size: 90%;
	color: #fff;
}
#profile .dialogs .date {
	font-size: 80%;
	color: #C0C0C0;
}
#profile .dialogs .info .avatar {
	width: 36px;
	height: 36px;
	margin: 0 5px 0 0;
			border-radius: none;
	   -moz-border-radius: none;
	-webkit-border-radius: none;
}
#profile .dialogs .info .avatar img {
	width: 36px;
}
#profile .dialogs .info > span {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#profile .message_form .tofull {
	font-size: 85%;
}
#profile .message_form label {
	display: block;
	margin-top: 2px;
	margin-bottom: 4px;
	color: #ddd;
}
#profile .message_form .button {
	width: 120px;
}

#profile .message_form .full {
	margin: 0 0 10px;
}
#profile .message_form .full .image {
	width: 32px;
	height: 32px;
	overflow: hidden;
}
#profile .message_form .full img {
	display: inline;
	width: 32px;
	height: auto;
}
#profile .message_form .full .info {
	margin: 0 0 0 8px;
	padding-top: 7px;
}
#profile .message_form .full .remove {
	width: 32px;
	height: 32px;
	cursor: pointer;
	background: #272727;
	margin: 0 0 0 12px;
			border-radius: 16px;
	   -moz-border-radius: 16px;
	-webkit-border-radius: 16px;
}
#profile .message_form .full .remove span {
	display: block;
	width: 14px;
	height: 12px;
	margin: 9px;
	background: url(pic/icons.png) no-repeat -13px 0px;
}
#profile .message_form .full .remove:hover {
	background: #222;
}
#profile .message_form .full .remove:hover span {
	background-position: 1px 0px;
}



#profile .message_form .dialog_form {
	margin: 8px 0 2px;
	padding-top: 8px;
	border-top: 1px solid #222;
}
#profile .message_form .dialog_form .image {
	width: 66px;
	height: 66px;
	overflow: hidden;
			border-radius: 2px;
	   -moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}
#profile .message_form .dialog_form .image img {
	display: inline;
	width: 66px;
	height: auto;
}
#profile .message_form .dialog_form .wi {
	margin: 0 70px;
}
#profile .message_form .dialog_form .smiles_box {
	margin-left: -201px;
}
#profile .message_form .dialog_form .smiles_box .pointer {
	left: 180px;
}



#profile .message_form .smiles_box {
	position: absolute;
	z-index: 10;
	width: 260px;
	height: 138px;
	padding: 6px 6px;
	left: 100%;
	background: #1c1c1c;
	background: rgba(26, 26, 26, 0.9);
	margin: -140px 0px 0px -272px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
			border-radius: 3px;
	   -moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	visibility: hidden;
	opacity: 0;
	filter: alpha(opacity=0);
		 -o-transition:all 300ms ease-in-out;
	   -moz-transition:all 300ms ease-in-out;
	-webkit-transition:all 300ms ease-in-out;
			transition:all 300ms ease-in-out;
}
#profile .message_form .smiles_box.show {
	visibility: visible;
	opacity: 1;
	filter: alpha(opacity=100);
	margin-top: -150px;
}
#profile .message_form .smiles_box .pointer {
	position: absolute;
	background: url(pic/icons_box.png) 0 0 no-repeat;
	width: 13px;
	height: 7px;
	top: 100%;
	left: 251px;
}
#profile .message_form .smiles_wrap {
	height: 138px;
}
#profile .message_form .smiles_wrap li {
	margin: 1px;
}
#profile .message_form .smiles_wrap .viewport {
	height: 138px;
	margin: 0 8px 0 0;
}
#profile .message_form .smiles_wrap .bar,
#profile .message_form .smiles_wrap .thumb {
			border-radius: 2px;
	   -moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	width: 6px;
	overflow: hidden;
}
#profile .message_form .smiles_wrap .thumb {
	background: #C2C2C2;
}
#profile .message_form .smile {
	position: absolute;
	display: block;
	z-index: 2;
	top: 1px;
	right: 1px;
	padding: 5px;
	opacity: 0.5;
	filter: alpha(opacity=50);
		 -o-transition:all 200ms linear;
	   -moz-transition:all 200ms linear;
	-webkit-transition:all 200ms linear;
			transition:all 200ms linear;
}
#profile .message_form .smile:hover {
	opacity: 0.7;
	filter: alpha(opacity=70);
}
#profile .message_form div.smiles ul {
	list-style-type: none;
}
#profile .message_form div.smiles li {
	list-style-type: none;
	float: left;
	padding: 4px;
	cursor: pointer;
			border-radius: 2px;
	   -moz-border-radius: 2px;
	-webkit-border-radius: 2px;
		 -o-transition:all 100ms linear;
	   -moz-transition:all 100ms linear;
	-webkit-transition:all 100ms linear;
			transition:all 100ms linear;
}
#profile .message_form div.smiles li.hover {
	background: #272727;
}


#profile .referal {}
#profile .referal h2 {
	background: none;
	padding: 0;
	margin: 0 0 10px 0;
	text-transform: initial;
	color: #4FC8EC;
}
#profile .referal .notice {
	background: #272727;
	padding: 10px;
	font-size: 90%;
	line-height: normal;
}
#profile .referal .dox {
	padding: 15px 0;
}
#profile .referal nav {
	padding: 7px 0;
}
#profile .referal nav a {
	margin-right: 10px;
}


#profile .graph {
	position: relative;
	background-color: rgba(0,0,0,0.1);
	margin: 10px 0 20px 0;
	padding: 0 20px;
}
#profile .graph > div {
	position: relative;
	height: 230px;
}
#profile .tooltip {
	position: absolute;
	font-size: 80%;
	padding: 4px 0;
	white-space: nowrap;
	text-shadow: 1px 1px 2px #000;
}