/**
* The style-sheet holds all the class/IDs related to the navigation buttons that, at time of this writing, display at the top of the screen
*/

#menuButtonContainer
{
	position: absolute;
    top: 5px;
    left: 5px;
    transform-origin: top left;
}

.iconButtonExitGame {
    background-image: url("../imgs/navigation/exit.png");
    background-size: 58px 64px;
}

.iconButtonOptions {
    background-image: url("../imgs/navigation/options.png");
    background-size: 40px 40px;
}

.iconButtonEmotes {
    background-image: url("../imgs/navigation/emotes.png");
    background-size: 40px 40px;
}

.iconButtonFriends {
    background-image: url("../imgs/navigation/btn_friends.png");
    background-size: 40px 40px;
}

.iconButtonChats {
    background-image: url("../imgs/navigation/chat.png");
    background-size: 40px 40px;
}

#friendsContainer
{
    position: absolute;
    right: 0;
    bottom: 0;
    transform-origin: bottom right;
    pointer-events: none;
    
}

#btnFriends
{
    position: absolute;
    bottom: 4px;
    right: 4px;
    pointer-events: auto;
}

#btnChats.hideBtn
{
    display: none !important;
}

#btnChats
{
    position: absolute;
    bottom: 4px;
    right: 69px;
    pointer-events: auto;
}

.iconButtonSeparate {
    background-image: url("../imgs/navigation/btn_separate.png");
    background-size: 40px 36px;
}

.iconButtonFullScreen {
    background-image: url("../imgs/navigation/btn_full.png");
    background-size: 58px 64px;
}

.iconButtonRankList {
    background-image: url("../imgs/navigation/rank.png");
    background-size: 40px 40px;
}

.iconButtonProfile {
    background-image: url("../imgs/navigation/btn_profile.png");
    background-size: 40px 40px;
}

.iconButtonClanList {
	background-image: url("../imgs/navigation/clans.png");
    background-size: 36px 42px;
}

.iconButtonTutorialSmall {
	background-image: url("../imgs/navigation/faq.png");
    background-size: 30px 34px;
}

.iconButtonTutorialLarge {
    background-image: url("../imgs/navigation/faq.png");
    background-size: 30px 34px;
}

.iconButtonWiki {
    background-image: url("../imgs/navigation/wiki.png");
    background-size: 58px 64px;
}

.iconButtonGetGold {
    background-image: url("../imgs/navigation/btn_coins.png");
    background-size: 58px 64px;
}

.iconButtonMapEditor {
    background-image: url("../imgs/navigation/editor.png");
    background-size: 58px 64px;
}

.iconButtonDiscord {
    background-image: url("../imgs/navigation/discord.png");
    background-size: 58px 64px;
}

.iconButtonChangelog {
    background-image: url(../imgs/patchnotes.png);
    width: 151px;
    height: 68px;
}

.iconButtonChat {
    background-image: url("../imgs/navigation/btn_chat.png");
    background-size: 44px 40px;
}

.iconButtonTutorial {
    background-image: url(../imgs/tutorial.png);
    width: 158px;
    height: 68px;
}

#btnChat .iconButtonBackgroundStandard {
    background-image: url("../imgs/navigation/btn_blue.png");
}


#friendsList
{
    position: absolute;
    right: 8px;
    bottom: 80px;
    border-image: url(../imgs/items/item2_bg.png) 12 stretch;
    border-style: solid;
    border-width: 24px;
    padding: 0px 0px 3px 1px;
    width: 370px;
    height: 280px;
    pointer-events: auto;
}

#friendsListContent
{
    background: #15060b;
    position: absolute;
    top: -8px;
    left: 0;
    bottom: 0px;
    right: 0;
    overflow-y: scroll;
    overflow-x: clip;
}

.friendApplyButton
{
    background-image: url(../imgs/friend/friend_add.png);
}

.friendDeleteButton
{
    background-image: url(../imgs/friend/friend_delete.png);
}

.friendApplyButton, .friendDeleteButton {
    background-size: 100% 100%;
    width: 31px;
    height: 27px;
    transition: linear 0.02s;
    border: 0;
    background-color: rgba(0, 0, 0, 0);
}

.friendApplyButton:hover, .friendDeleteButton:hover
{
    filter: brightness(170%);
    cursor: pointer;
}

#friendsListContent > div
{
    display: flex;
    align-items: baseline;
}

.friendOffline
{
    filter: grayscale(40%);
    opacity: 0.4;
}

.onlineImg
{
    margin-right: 10px;
    margin-bottom: 4px;
    width: 12px;
    height: 12px;
}

.friendClan
{
    margin-right: 6px;
}

.friendClanText
{
    color: #ffff78;
    text-decoration: underline;
    cursor: pointer;
}

.friendName
{
    text-decoration: underline;
    cursor: pointer;
}

.friendChatButton
{
    width: 18px;
    height: 16px;
    background-image: url(../imgs/friend/chat.png);
    cursor: pointer;
    background-size: contain;
    border: none;
    background-color: rgba(0,0,0,0);
}

.friendWholeNameSpan
{
    overflow: hidden;
}

.friendChatButton:hover
{
    scale: 1.2;
}

.friendOffline .friendChatButton, .listPending .friendChatButton
{
    display: none;
}

.listFriends .friendApplyButton, .listFriends .friendDeleteButton, .requestSent .friendApplyButton
{
    display: none;
}

.listPending .friendServer, .friendOffline .friendServer
{
    display: none;
}

.friendServer
{
    color: grey;
    font-size: 14px;
    margin-left: 12px;
    margin-right: 12px;
}

.friendListSubTitle
{
    color: #aaaaaa;
    font-size: 14px;
    margin: 6px 0px 6px 21px;
}


.friendButtonSpan
{
    text-align: right;
    margin-left: auto;
}

#friendListFriendsButton, #friendListPendingButton
{
    position: absolute;
    top: -57px;
    background-image: url(../imgs/navigation/friendlist_top_button.png);
    background-size: contain;
    width: 138px;
    height: 40px;
    border: none;
    background-color: rgba(0,0,0,0);
    color: #d2d2d2;
    font-size: 14px;
}

#friendListFriendsButton
{
    left: 30px;
}

#friendListPendingButton
{
    right: 30px;
}

#friendListFriendsButton.background, #friendListPendingButton.background
{
    background-image: url(../imgs/navigation/friendlist_top_button_back.png);
    cursor: pointer;
    font-size: 12px;
    color: #adadad;
}

#friendListFriendsButton.background:hover, #friendListPendingButton.background:hover
{
    filter: brightness(2);
}


#chatDiv
{
    position: absolute;
    right: 8px;
    bottom: 80px;
    border-image: url(../imgs/items/item2_bg.png) 12 stretch;
    border-style: solid;
    border-width: 24px;
    width: 500px;
    height: 300px;
    pointer-events: auto;
}

#chatDivContent
{
    background: #15060b;
    position: absolute;
    top: 0px;
    left: -3px;
    right: 0px;
    bottom: 0px;
}

#chatDivTitle
{
    position: absolute;
    width: 201px;
    height: 295px;
    bottom: 5px;
    left: -3px;
    border-style: solid;
    background: #15060b;
    border-image: url(../imgs/main_ui/standard_field_standard.png) 3 3 5 3 repeat;
}

#chatDivTitle > div
{
    margin-left: 4px;
    margin-right: 4px;
    padding-left: 7px;
    padding-bottom: 3px;
    cursor: pointer;
    display: flex;
}

#chatDivTitle > div:hover
{
    background-color: rgba(255, 255, 255, 0.144);
}

#chatDivTitle > div:first-child
{
    margin-top: 4px;
}

#chatDivContentInner
{
    position: absolute;
    top: -6px;
    right: -4px;
    width: 57%;
    bottom: 47px;
    overflow: auto;
    border-image: url(../imgs/main_ui/standard_field_standard.png) 3 3 5 3 repeat;
    border-style: solid;
    font-size: 13px;
    background: #0e0306;
}

#chatDivContentInner > div
{
    margin: 8px;
}

#chatDivInput
{
    position: absolute;
    right: -5px;
    bottom: 5px;
    width: 294px;
    height: 34px;
    cursor: url(../imgs/text.cur.png), text;
    border-image: url(../imgs/main_ui/standard_field_standard.png) 3 3 5 3 repeat;
    background: #0e0306;
    padding-left: 6px;
    font-size: 14px;
}

.chatTitleActive
{
    background-color: rgba(255, 255, 255, 0.308);
}

.chatTitleNewMsg
{
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: red;
    color: white;
    margin-left: auto;
    text-align: center;
    font-size: 11px;
    margin-top: 4px;
    margin-right: 5px;
}

#btnChatsNewMsg, #friendsButtonOnline
{
    z-index: 2;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: red;
    color: white;
    text-align: center;
    font-size: 11px;
    margin-top: 4px;
    margin-right: 5px;
    position: absolute;
    top: 5px;
    right: 5px;
}

#friendListFriendsButtonCount
{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: red;
    color: white;
    text-align: center;
    font-size: 11px;
    display: inline-block;
}

#friendListPendingButtonCount
{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: red;
    color: white;
    text-align: center;
    font-size: 11px;
    display: inline-block;
}

.background #friendListFriendsButtonCount, .background #friendListPendingButtonCount
{
    opacity: 0.5;
}