.templated-profile[data-state="hidden"]{
	display: none;
}
.templated-profile{
	z-index: 9;
}
.templated-profile .templated-user-profile{
	max-width: 256px;
}
.templated-profile img.avatar-thumbnail{
	width: 110px;
    border-radius: 50%;
    display: block;
    margin: auto;
    margin-bottom: 10px;
    border: solid 5px #192a41;
}

    
.templated-profile .templated-user-content{
	width: calc(100% - 322px);
}
.templated-profile .online-status{
	position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -15px;
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
}
.templated-profile[data-online="0"] .online-status:before{
	content: "User is not available";
	display: block;
	text-align: center;
	color: orange;
}
.templated-profile[data-online="1"] .online-status:before{
	content: "User is online";
	display: block;
	text-align: center;
	color: greenyellow;
}
.templated-profile[data-online="1"].own-profile .online-status:before{
	content: "This is you";
	display: block;
	text-align: center;
	color: #fff;
}

.templated-profile.public-profile .templated-user-profile.friends:before{
	    content: "";
    width: 32px;
    height: 32px;
    background-image: url(../assets/svg/profile.svg);
    background-color: #0586c2;
    background-size: 60%;
    border-radius: 50%;
    line-height: 32px;
    text-align: center;
    position: absolute;
    display: block;
    z-index: 99;
    background-repeat: no-repeat;
    background-position: center;
    top: -25px;
    left: 42px;
    border: solid 1px #000;
    pointer-events: none;
}
.templated-profile.public-profile .templated-user-profile.waiting-on-you:before{
	content: "\231B \00a0 Awaiting Response From You";
    width: 92px;
    background-color: #b22319;
    border-radius: 5px;
    text-align: center;
    position: absolute;
    display: block;
    z-index: 99;
    background-repeat: no-repeat;
    background-position: center;
    top: 86px;
    left: -3px;
    padding: 6px;
    border: solid 1px #000;
    pointer-events: none;
    color: #fff;
    font-size: 8px;
    line-height: 10px;
}
.templated-profile.public-profile .templated-user-profile.waiting-on-friend:before{
	content: "\2713 \00a0 Friend Request Sent";
    width: 92px;
    background-color: #0d6d40;
    border-radius: 5px;
    line-height: 10px;
    text-align: center;
    position: absolute;
    display: block;
    z-index: 99;
    background-repeat: no-repeat;
    background-position: center;
    top: -15px;
    left: -3px;
    padding: 6px;
    border: solid 1px #000;
    pointer-events: none;
    color: #fff;
    font-size: 8px;
}
.templated-profile button.request-friendship{
	display: block;
    clear: both;
    transform: translateY(10px);
    background-color: #0883c0;
    color: #fff;
    text-decoration: none;
    border: none;
    padding: 12px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 9px;
    border-radius: 4px;
    cursor: pointer;
    width: 170px;
    position: absolute;
    top: -45px;
    height: auto;
    left: 41px;
}
.templated-profile button.request-friendship img{
	height: 16px;
    vertical-align: middle;
    margin-right: 7px;
	transform: scale(2);
}
.templated-profile a{
	text-decoration: none;
}

.templated-profile .flag{
	vertical-align: middle;
    margin-right: 2px;
    height: 12px;
    margin-top: -3px;
}
.templated-profile article{
	font-size: 12px;
    color: #5dc5ec;
    margin: 10px;
    padding: 20px;
    border: solid 1px #132e38;
    border-radius: 5px;
}
.templated-profile ul.public-profile-friends{
	list-style: none;
    padding: 0;
    margin: 0px;
    margin-top: 0px;
    background-color: #000;
    position: absolute;
    z-index: 999;
    top: 360px;
    margin-left: -100px;
    margin-right: -100px;
    border: solid 1px #000;
    border-radius: 6px;
	left: 0px;
    right: 0px;
	text-align: center;
}
.templated-profile ul.public-profile-friends:before{
	content: "Friends";
    position: relative;
    display: block;
    color: #693d9e;
    text-align: center;
    font-size: 17px;
    text-transform: uppercase;
    line-height: 16px;
    padding: 10px;
    margin-top: 0px;
    margin-bottom: 10px;
}
.templated-profile ul.public-profile-friends:empty:after{
	content: "No Friends Found! Send them a Request.";
    position: relative;
    display: block;
    color: #999;
    text-align: center;
    font-size: 12px;
    line-height: 46px;
    padding: 10px;
}
.templated-profile ul.public-profile-friends>li{
	width: calc(25% - 20px);
    margin: 10px;
    display: inline-block;
    vertical-align: top;
    position: relative;
}
.templated-profile ul.public-profile-friends>li.awaiting-confirmation{
	
}
.templated-profile ul.public-profile-friends>li.awaiting-confirmation:before{
	content: "Awaiting Confirmation by you or the other person";
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 10px;
    text-align: center;
    color: #acacac;
    pointer-events: none !important;
    z-index: 9;
    font-size: 10px;
}
.templated-profile ul.public-profile-friends>li.awaiting-confirmation>*{
	opacity: 0.3;
	pointer-events: none !important;
}
.templated-profile ul.public-profile-friends>li img.avatar{
	border-radius: 5px;
    width: 100%;
}
.templated-profile ul.public-profile-friends>li>p{
	color: #ffffff;
    font-size: 11px;
    margin-top: 0px;
    margin-bottom: 4px;
    text-align: center;
	word-break: break-all;
}
.templated-profile ul.public-profile-friends>li>p.user{
	
}
.templated-profile ul.public-profile-friends>li>p.aka{
	color: #eab731;
}
.templated-profile ul.public-profile-friends>li>p.aka img.flag{
	color: #eab731;
}

.templated-profile ul.public-profile-friends>li .avatar-holder{
	position: absolute;
    top: -15px;
    left: 50%;
    width: 180px;
    height: 130px;
    transform: scale(0.9) translateX(-50%);
    z-index: 9999;
    margin-left: -9px;
}
.templated-profile ul.public-profile-friends>li .avatar-holder:before{
	width: 117px;
    left: 50%;
    top: 15px;
    border: solid 10px #1a2a41;
    content: "";
    display: block;
    height: 117px;
    transform: translateX(-50%);
    position: absolute;
    border-radius: 50%;
    box-shadow: 0px 0px 4px rgb(255 255 255 / 80%);
}
.templated-profile ul.public-profile-friends>li .avatar-holder:after{
	width: 117px;
    left: 50%;
    top: 15px;
    border: solid 10px #1a2a41;
    content: "";
    display: block;
    height: 117px;
    transform: translateX(-50%);
    position: absolute;
    border-radius: 50%;
    background-color: #000;
    z-index: -1;
}
.templated-profile ul.public-profile-friends>li .avatar-holder>iframe{
	display: block;
    width: 100%;
    background-color: transparent;
    overflow: hidden;
    height: 100%;
    border: none;
    border-radius: 5px;
    margin-top: 0px;
    pointer-events: none;
    -webkit-mask-image: url(/assets/mask.png);
    mask-image: url(/assets/mask.png);
    -webkit-mask-size: 132px 132px;
    mask-size: 132px 132px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
	margin-top: 10px;
}
.templated-profile ul.public-profile-friends>li .avatar-holder>canvas{
	display: block;
    width: 100%;
    background-color: transparent;
    overflow: hidden;
    height: 100%;
    border: none;
    border-radius: 5px;
    margin-top: 0px;
    pointer-events: none;
    -webkit-mask-image: url(/assets/mask.png);
    mask-image: url(/assets/mask.png);
    -webkit-mask-size: 132px 132px;
    mask-size: 132px 132px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
	margin-top: 10px;
}
.templated-profile ul.public-profile-friends>li>p.aka img.flag{
	width: 16px;
}




.templated-profile iframe[name="avatar-frame"]{
	display: block;
    width: 100%;
    background-color: transparent;
    overflow: hidden;
    height: 100%;
    border: none;
    border-radius: 5px;
    margin-top: 0px;
    pointer-events: none;
	-webkit-mask-image: url(/assets/mask.png);
    mask-image: url(/assets/mask.png);
    -webkit-mask-size: 260px 260px;
    mask-size: 260px 260px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}
.templated-profile canvas[name="avatar-frame"]{
	display: block;
    width: 100%;
    background-color: transparent;
    overflow: hidden;
    height: 100%;
    border: none;
    border-radius: 5px;
    margin-top: 0px;
    pointer-events: none;
	-webkit-mask-image: url(/assets/mask.png);
    mask-image: url(/assets/mask.png);
    -webkit-mask-size: 260px 260px;
    mask-size: 260px 260px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}
.templated-profile.public-profile{
	position: absolute;
    top: 100px;
    left: 50%;
    width: 360px;
    height: 260px;
    transform: translateX(-50%);
	z-index: 9999;
}
.templated-profile.public-profile button#call-public-profile-screenname{
	position: absolute;
    right: 13px;
    top: 13px;
    width: 42px;
    height: 42px;
    border-radius: 590%;
    padding: 10px;
    background: #F954FB;
background: linear-gradient(60deg,rgba(249, 84, 251, 1) 0%, rgba(39, 89, 253, 1) 100%);
    cursor: pointer;
    z-index: 999;
}
.templated-profile.public-profile.own-profile button#call-public-profile-screenname{
	background: #e52828 !important;
	background-color: #e52828 !important;
    cursor: not-allowed;
    z-index: 999;
}
.templated-profile.public-profile button#call-public-profile-screenname>img{
	width: 100%;
}
.templated-profile.public-profile:before{
	width: 234px;
    left: 50%;
    top: 15px;
    border: solid 10px #1a2a41;
    content: "";
    display: block;
    height: 234px;
    transform: translateX(-50%);
    position: absolute;
    border-radius: 50%;
	box-shadow: 0px 0px 4px rgb(255 255 255 / 80%);
	border-color: darkorange;
    box-shadow: 0px 0px 20px darkorange;
	transition: all 2s;
}
.templated-profile.public-profile[data-online="1"]:before{
	border-color: #3ef03e;
    box-shadow: 0px 0px 20px #63ff63;
}
.templated-profile.public-profile.own-profile[data-online="1"]:before{
	border-color: #192a41;
    box-shadow: 0px 0px 20px #000;
}
.templated-profile.public-profile[data-online="1"]:after{
	border-color: #3ef03e;
    box-shadow: 0px 0px 20px #63ff63;
}
.templated-profile.public-profile.own-profile[data-online="1"]:after{
	border-color: #192a41;
    box-shadow: 0px 0px 20px #000;
}
.templated-profile.public-profile:after{
	width: 234px;
    left: 50%;
    top: 15px;
    border: solid 10px #1a2a41;
    content: "";
    display: block;
    height: 234px;
    transform: translateX(-50%);
    position: absolute;
    border-radius: 50%;
    background-color: #000;
    z-index: -1;
	border-color: darkorange;
    box-shadow: 0px 0px 20px darkorange;
	transition: all 2s;
}
.templated-profile.public-profile .templated-user-profile{
	position: absolute;
    left: 54px;
    top: 275px;
    width: 220px;
    background-color: #000;
    transform: none;
    margin: 0px;
    bottom: initial;
    padding: 15px;
    padding-top: 0px;
    border: solid 1px #2d4cbe;
	opacity: 1;
	transition: all 0.3s;
}
.templated-profile.public-profile .templated-user-profile>img {
    border-radius: 5px;
    float: left;
    width: 80px;
	margin-right: 10px;
	display: none;
}

.templated-profile.public-profile article h3{
	color: #fff;
}
.templated-profile.public-profile article{
	font-size: 13px;
    color: #5dc5ec;
    margin: 0px;
    padding: 20px;
    border: none;
    border-radius: 5px;
    position: absolute;
    right: -1px;
    top: 1px;
    width: 180px;
    height: 401px;
    overflow: auto;
}
.templated-profile.public-profile .hud-view {
    border: solid 1px #383838;
    position: absolute;
    box-shadow: none;
    width: 238px;
    height: 238px;
    border-radius: 50%;
    margin-left: 0px;
    display: block;
    margin-bottom: 0px;
    cursor: pointer;
    transition: all 0.6s;
	transition-delay: 0s; 
    top: 213px;
    left: -13px;
    opacity: 1;
    box-shadow: 0px 20px 10px rgba(0, 0, 0, 0.8);
	perspective: 1000px;
	transform-origin: 29px 225px;
	z-index: 9;
}
.templated-profile.public-profile .hud-view:before{
	content: "";
    background-image: url(../assets/compass.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 256px;
    height: 256px;
    position: absolute;
    top: -6px;
    left: -8px;
    z-index: 999;
    transition: all 1.6s cubic-bezier(0.34, 1.9, 0.64, 1);
    pointer-events: none;
    transform: none;
	transition-delay: 0.2s; 
    transform-origin: 29px 225px;
	filter: drop-shadow(0px 20px 10px rgba(0, 0, 0, 0.8));
}

.templated-profile.public-profile .hud-view.swing:before{
	transform: rotateZ(134deg);
}

.templated-profile.public-profile .templated-user-profile>p.user{
	text-align: left;
}
.templated-profile.public-profile .templated-user-profile>p.aka{
	text-align: left;
}
.templated-profile video{
	width: 100%;
    border-radius: 50%;
    height: 100%;
    object-fit: cover;
    background-image: url(../assets/weaksignal.png);
    background-position: center center;
    background-repeat: no-repeat;
	pointer-events: none;
}
.templated-profile .hud-view{
	border: 4px solid #000;
    position: relative;
    box-shadow: 0px 3px 5px #114d75;
    width: calc(100% - 8px);
    height: 221px;
    border-radius: 10px;
    margin-left: 0px;
    display: block;
    margin-bottom: 0px;
    cursor: default;
    transition: all 0.6s;
}

.templated-profile .hud-view .hud{
	border: none;
    position: absolute;
    bottom: 25px;
    left: 10px;
    right: 10px;
    color: #eab731;
    font-size: 10px;
    padding: 10px;
    border-radius: 3px;
    padding: 7px;
    text-align: center;
	pointer-events: none;
}    
@media (max-width: 960px) {
	.templated-profile.public-profile .hud-view {
		transform: scale(0.8);
	}
	.templated-profile.public-profile .templated-user-profile>img {
		width: 60px;
	}
	.templated-profile.public-profile article{
		width: 140px;
	}
}
@media (max-width: 820px) {
	.templated-profile.public-profile .hud-view {
		transform: scale(0.7);
	}
}
@media (max-width: 680px) {
	.templated-profile.public-profile .templated-user-profile{
		
		max-width: initial !important;
	}
	.templated-profile.public-profile .templated-user-profile>img{
		width: 60px;
	}
	.templated-profile.public-profile .hud-view {
		transform: scale(0.6);
	}
}
@media (max-width: 580px) {
	.templated-profile ul.public-profile-friends{
		margin-left: -50px;
    	margin-right: -50px;
	}
	.templated-profile ul.public-profile-friends>li{
		width: calc(33.33% - 20px);
	}
	
}
@media (max-width: 480px) {
	.templated-profile ul.public-profile-friends{
		margin-left: 0px;
    	margin-right: 0px;
	}
	.templated-profile ul.public-profile-friends>li{
		width: calc(50% - 20px);
	}
	
}
@media (max-width: 380px) {
	.templated-profile.public-profile{
		width: 320px;
	}
}
@media (max-width: 340px) {
	.templated-profile.public-profile{
		width: 300px;
	}
}