#outcontainer { width: 100%; height: 100%; }
.grayed { -webkit-filter: grayscale(50%); filter: grayscale(50%); } 

/* Revive, disconnect, error screen */
.disconnectwindow { width:640px; height:200px; max-width:100%; max-height:100%; text-align: center; }

/* Popup windows border and background */
.windowborder { background:rgba(20,36,61,0.8); background: linear-gradient(rgba(20, 36, 61, 0.9) 25%, rgb(13, 24, 38) 100%); backdrop-filter: grayscale(1); border: 6px solid #335980; border-radius:24px; padding: 48px 56px; position:absolute; margin-left:auto; margin-right:auto; margin-top: auto; margin-bottom:auto; left: 0; right: 0; top: 0; bottom: 0; z-index:100; font-size: 20pt; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 2px 0 #000, 1px 2px 0 #000; color:white; max-width: calc(100% - 128px); }

/* Menu adjustment */
#newpopup:has(.menuitemimage[style*="bbuilder_newbutton_settings.png"]) .titletext { background-image: url(../../files/gui/corleone_namelogo.png); background-size: 142px; background-repeat: no-repeat; background-position: center center; color: transparent; text-shadow: none; }
#newpopup:has(.menuitemimage[style*="bbuilder_newbutton_settings.png"]) .menuitem { width: 110px; height: 100px; float: left; margin-top: 20px; }
#newpopup:has(.menuitemimage[style*="bbuilder_newbutton_settings.png"]) .menuitemtext { color: #ddeeff; font-size: 18px; left: -6px; }

/* Popup window title, menu items and close button */
.titletext { width:100%; height:54px; position:absolute; left:0px; top:0px; font-size:40px; line-height:52px; text-align:center; color:white; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 2px 0 #000, 1px 2px 0 #000; border-bottom: 6px solid #335980; }
.gameadminbadge { background:url(../../files/gui/bbuilder_gameadmin_badge.png); background-size:cover; width:113px; height:27px; position:absolute; top:45px; margin-left:auto; margin-right:auto; left:0; right:0; }

.menuitem { width:106px; height:96px; float:left; position:relative; margin-top:10px; }
.menuitemtext { position:absolute; width:100%; height:20px; top:74px; line-height:20px; font-size:16px; text-align:center; pointer-events: none; }
.menuitemtext2 { position:absolute; width:100%; text-align:center; pointer-events: none; }
.menuitemsubtitle { position:absolute; width:100%; height:14px; right: 5px; bottom:5px; line-height:14px; font-size:14px; text-align:right; pointer-events: none; }
.menuitemsmall { height: 88px; }
.menuitemlarge { height:124px; padding:4px; }
.menuitem.selected { border: 4px solid #335980; border-radius: 12px; height:124px; padding:0px; }
  
.closebutton { position:absolute; top:-12px; right:-12px; width:80px; height:80px; cursor:pointer; }
.closebuttonimage { position:absolute; left:24px; top:24px; width:32px; height:32px; background:url(../../files/gui/bbuilder_closebutton.png); background-size:contain; }

.backbutton { background:url(../../files/gui/bbuilder_backbutton.png); position:absolute; top:4px; left:0px; width:80px; height:40px; }

.likebutton { background:url(../../files/gui/bbuilder_likebutton2.png); position:absolute; bottom:10px; right:0px; width:80px; height:32px; background-size: contain; }
.unlikebutton { background:url(../../files/gui/bbuilder_unlikebutton.png); position:absolute; bottom:10px; right:0px; width:80px; height:32px; background-size: contain; }

.bigmapimage { background:url(../../files/gui/bbuilder_bigmap.jpg); position:absolute; left:0px; top:0px; width:100%; height:calc(100% - 4px); background-size:100% 100%; border-bottom-right-radius:16px; border-bottom-left-radius:16px; }
.button { position:absolute; cursor:pointer; background-color:#80bfff; color:#142433; border-style: none; border-radius: 64px; }
.button:disabled { color:lightgray; }
.inputbutton { cursor:pointer; background-color:#80bfff; color:#142433; border-style: none; border-radius: 64px; }
.windowborder hr { border-color:#335980; margin-right:20px; }

#ingamedoms { position:absolute; overflow:hidden; left:0px; top:0px; width:100%; height:100%; }
#ingamedoms iframe { overflow:hidden; }

/* Position of game buttons */
#chatbutton { left:8px; top:8px;  }
#clanchatbutton { left:8px; top:65px;  }
#menubutton { left:68px; top:8px; }
#homebutton { left:128px; top:8px; }
#pmbutton { left:188px; top:8px; }
#pmbubble { width:70%; height:70%; background-size:contain;  }
#coinsbutton { right:240px; top:8px; }
#coinscount {color:#ffffff;position:absolute;font-size:16px;right:210px;top:60px;width:120px;text-align:center;text-shadow:1px 1px 0 #000000;}
#helpbutton { right:200px; top:8px; }
#invitebutton { right:160px; top:68px; }
#furniturebutton { right:200px; top:8px; }
#postpicturebutton { right:160px; top:8px; }
#logoutbutton { right:6px; top:158px; width:48px; height:48px; background-size:cover; }
#fullscreenbutton { right:164px; top:68px; width:48px; height:48px; background-size:cover; }

/* Image definitions for game and menu buttons */
#chatbutton { background-image:url(../../files/gui/bbuilder_newbutton_chat.png); }
#clanchatbutton { background-image:url(../../files/gui/bbuilder_newbutton_clanchat.png); }
#menubutton { background-image:url(../../files/gui/bbuilder_newbutton_menu.png); }
#homebutton { background-image:url(../../files/gui/bbuilder_newbutton_home.png); }
#pmbutton { background-image:url(../../files/gui/bbuilder_newbutton_default.png); }
#pmbubble { background-image:url(../../files/gui/bbuilder_chatbubble_red.png); }
#helpbutton { background-image:url(../../files/gui/bbuilder_newbutton_help.png); }
#invitebutton { background-image:url(../../files/gui/bbuilder_newbutton_invite.png); }
#coinsbutton { background-image:url(../../files/gui/bbuilder_newbutton_buycoins.png); }
#furniturebutton { background-image:url(../../files/gui/bbuilder_newbutton_furniture.png); }
#postpicturebutton { background-image:url(../../files/gui/bbuilder_newbutton_share.png); }
#logoutbutton { background-image:url(../../files/gui/bbuilder_newbutton_logout.png); }
#fullscreenbutton { background-image:url(../../files/gui/bbuilder_newbutton_fullscreen.png); }

/* Size of game and menu buttons */
.gamebutton { background-size: auto 60px; position:absolute; width:60px; height:60px; }
.gamewidebutton { background-size: cover; position:absolute; width:50px; height:50px; }
.menuitemimage { background-size: auto 64px; background-repeat: no-repeat; position:absolute; left:16px; width:64px; height:64px; margin-left:auto; margin-right:auto; pointer-events: none; }
.storymenuimage { left:24px; top:36px; }

/* Popups */
#modal_background, #alertwindow_background { position: absolute; width: 100%; height: 100%; z-index: 99; background: rgba(0,0,0,0.25); opacity: 0; left: 0px; top: 0px; }
#likearrow { background: url("../../files/gui/bbuilder_likebutton.png"); width:78px; height:40px; position:absolute; left:0px; top:5px; }
#coinsarrow { background: url("../../files/gui/bbuilder_coinsarrow.png"); width:117px; height:44px; position:absolute; right:115px; top:77px; pointer-events: none; }

/* Map markers */
.pin {
  width: 120px;
  height: 20px;
  position: absolute;
  margin: -44px 0px 0px -68px;

  color: white;
  font: bold 18px Coolvetica;
  line-height: 16px;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 2px 0 #000, 1px 2px 0 #000;
  text-align:center;
  padding: 8px 8px;
}

.friendpin {
  width: 240px;
  height: 20px;
  position: absolute;
  margin: -48px 0px 0px -128px;

  color: gold;
  font: bold 16px Coolvetica;
  line-height: 15px;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 2px 0 #000, 1px 2px 0 #000;
  text-align:center;
  padding: 8px 8px;
}

/* Input */
.gamelink { color:lime; }
input[type=text], input[type=number], textarea { height:24px; font-size:21px; }
input[type=submit] { -webkit-appearance: button; width:120px; height:30px; font-size:21px; }
input[type=checkbox] { width:24px; height:24px; }

/* Images in GUI */

.pixelimage { image-rendering: optimizeSpeed; image-rendering: -moz-crisp-edges; image-rendering: -webkit-optimize-contrast; image-rendering: optimize-contrast; image-rendering: pixelated; -ms-interpolation-mode: nearest-neighbor; } 
.flipximage { -moz-transform: scaleX(-1); -o-transform: scaleX(-1); -webkit-transform: scaleX(-1); transform: scaleX(-1); filter: FlipH; -ms-filter: "FlipH"; }
.menubadge { position: absolute; right: 20px; top: 10px; width: 20px; height: 16px; background-size: contain; background-repeat: no-repat; }

/* Movement help for Facebook version */

#movementhelp { background:url(../../files/gui/corleone_movementhelp_fb.png); margin: auto; position: absolute; top: 0; left: 0; bottom: 0; right: 0; width:518px; height:518px; opacity: 1.0; }
#movementhelpad { position:absolute; left: 20px; top: 264px; right: 15px; bottom: 15px; color:white; }

/* Short message */

#shortmessage { position:absolute; left: 0px; right: 0px; top: 60px; height: 30px; text-align:center; font-size: 20pt; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 2px 0 #000, 1px 2px 0 #000; color:white; display:none; }

#pinglabel { position:absolute; left: 0px; right: 0px; bottom: 15px; height: 20px; text-align:center; font-size: 10pt; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 2px 0 #000, 1px 2px 0 #000; color:white; pointer-events:none; display:none; }


/* PM blinking */

@-moz-keyframes blink {
    0% { opacity: 1; filter: none; }
   50% { opacity: 0; filter: alpha(opacity=0); }
  100% { opacity: 1; filter: none; }
}
@-webkit-keyframes blink {
    0% { opacity: 1; filter: none; }
   50% { opacity: 0; filter: alpha(opacity=0); }
  100% { opacity: 1; filter: none; }
}
@keyframes blink {
    0% { opacity: 1; filter: none; }
   50% { opacity: 0; filter: alpha(opacity=0); }
  100% { opacity: 1; filter: none; }
}
#pmbubble {
  -webkit-animation: blink 1s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps(1, end);
  -moz-animation: blink 1s;
  -moz-animation-iteration-count: infinite;
  -moz-animation-timing-function: steps(1, end);
  -ms-animation: blink 1s;
  -ms-animation-iteration-count: infinite;
  -ms-animation-timing-function: steps(1, end);
  animation: blink 1s;
  animation-iteration-count: infinite;
  animation-timing-function: steps(1, end);
}

.pmbadge { position:absolute; top:2px; right:2px; min-width:10px; padding:1px 2px 1px 2px; background-color:red; color:white; font-weight:bold; font-size:0.55em; border-radius:30px; box-shadow:1px 1px 1px gray; text-shadow:none; text-align:center; }

/* Winner message */

#winnercanvas { position:absolute; left:8px; top:150px; width:118px; height:60px; }

/* Admin console */

.chatnick { color: green; font-weight: 600; } 

.resizablewindowtitle { position: absolute; left:0px; top:0px; right:0px; height:28px; padding-left: 5px; padding-top: 4px; -webkit-user-select: none; color: white; font-family: Verdana; font-size: 16px; cursor: move; }
.resizablewindowclose { background:url(../../files/gui/bbuilder_closebutton.png); background-size:contain; position: absolute; top: 2px; right: 2px; width:24px; height: 24px; cursor: pointer; }
.adminconsoletext { position: absolute; left: 2px; right: 2px; bottom: 30px; top: 28px; background-color: #838c954d; color: #ffffff; font-family: Verdana; font-size: 14px; padding: 2px; resize: none; overflow: auto; user-select: text !important; }
.adminconsoleinputcontainer { position: absolute; left: 2px; bottom: 4px; right: 20px; height: 24px; }
input[type=text].adminconsoleinput { width: 100%; height: 100%; padding: 0; padding-left: 2px; border-width: 0px; background-color: #d5d5d54d; border-radius: 25px; color: #ffffff; font-family: Verdana; font-size: 15px; border-width: 1px; border-style: solid; border-color: gray; resize: none; }
.resizablewindowcontent { position:absolute; left:0px; right:0px; top:28px;bottom:40px; }
.ace_editor * { font: 14px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace; }

/* Custom uploads */
.uploadstitched { padding: 10px; margin: 10px; background: #00c000; color: #fff; font-size: 21px; font-weight: bold; line-height: 1.3em; border: 2px dashed #fff; border-radius: 10px; box-shadow: 0 0 0 4px #00c000, 2px 1px 6px 4px rgba(10, 10, 0, 0.5); font-weight: normal; }
.uploaddroptext { position:absolute; left:0px; right:0px; bottom:10px; text-align:center; -webkit-user-select:none; pointer-events:none; }

/* Offerwall */
.offer .menuitemimage { border-radius:15px; }
.itembuybutton { background-size: auto 96px; background-repeat: no-repeat; position:absolute; width: 96px; height: 96px; cursor:pointer; }

/* Ship controls */
#shipcontrols { position: absolute; right: 8px; top: 8px; width: 144px; height: 144px;  }
.shipbutton { background-image:url(../../files/gui/bbuilder_movearrows.png); position: absolute; width:32px; height:32px; }
#shipupbutton { left: 32px; top: 40px; background-position: 0px 0px; } 
#shipleftbutton { left: 0px; top: 72px; background-position: -64px 0px; } 
#shipdownbutton { left: 32px; top: 104px; background-position: -32px 0px; } 
#shiprightbutton { left: 64px; top: 72px; background-position: -96px 0px; } 
#leaveshipbutton { left:0px; top:0px; background-image:url(../../files/gui/bbuilder_newbutton_home.png); }

/* Notifications */
#notifications, .notification {-moz-user-select:none;-webkit-user-select:none;-o-user-select:none;-ms-user-select:none;}
#notifications {width:100%;left:0px;top:64px;bottom:0px;position:absolute;overflow:hidden; pointer-events: none; }
.notification { position:relative; width:100%; height:auto; text-align:center; }
.notificationtext { position:relative; width:auto; height:auto; max-width:calc(100% - 260px); background:rgba(20,36,61,0.5); margin-right:60px; margin-bottom:3px; padding:0px 8px 0px 12px;border-radius:8px;color:rgba(255,255,255,0.8); display:inline-block; text-align:center; font-size: 14pt; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 2px 0 #000, 1px 2px 0 #000; color:white; cursor:pointer; pointer-events: auto; }
.notificationtitle { position:relative; float:left; min-height:30px; margin-right:16px; }
.notificationbutton, .notificationbutton[type=submit] { position:relative; cursor:pointer; background:white; color:black; float:right; width:auto; min-width:60px; margin: 1px 2px 1px 0px; line-height:100%; border-radius:6px; }
.dismissnotification { background-image:url(../../files/gui/bbuilder_dismissarrow.png); background-repeat: no-repeat; position:absolute; right:6px; top:8px; width:20px; height:20px; margin-left:8px; display:inline-block; }

.dismissnotification { background-image:url(../../files/gui/bbuilder_dismissarrow.png); background-repeat: no-repeat; position:absolute; right:6px; top:6px; width:20px; height:20px; margin-left:8px; display:inline-block; }

/* Hotkeys */
#hotkeys { position:absolute; left: 0px; bottom:0px; right:128px; height:75px; overflow:hidden; }
.hotkey { float:left; position:relative; width: 75px; height:75px; background-image:url(../../files/gui/corleone_hotkey.png); background-size:contain; cursor:pointer; }
.hotkeynumber { color:white; position:absolute; right: 15px; top:10px; font-size:20px; pointer-events:none;  }
.hotkeyimage { width:100%; height:100%; pointer-events:none; transform: translate(-14px, -7px) rotate(45deg); }

/* ShowVs spar display */

.showvswindow { background:rgba(45,45,45,0.5);padding:0px 12px 0px 12px;border-radius:8px;color:white; text-align:center; position:absolute; margin-left:auto; margin-right:auto; margin-top: auto; margin-bottom:auto; left: 0; right: 0; top: 0; bottom: 0; font-size: 28px; line-height:28px; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 2px 0 #000, 1px 2px 0 #000; color:white; max-width:100%; max-height:100%; } 
.deathwindow { width:640px; height:220px; margin-top: initial; margin-bottom: initial; top:50px; max-width:100%; max-height:100%; text-align: center; padding:20px; }
#showvs { width:600px; height:250px;  }
.showvsplayer { position:absolute; width:250px; height:100%;  }
.showvshead { /* background-image:url(../../files/heads/bbuilder_head1.png);*/ background-size: 480px 200px; position:absolute; left:45px; top:32px; width:160px; height:160px; }
.showvshat { /* background-image:url(../../files/hats/corleone_250kpk.png);*/ background-size: 480px 280px; position:absolute; left:45px; top:-16px; width:160px; height:240px; }
.showvsvs { position:absolute; left:250px; top: 100px; width:100px; height: 100px; font-size: 48px; line-height:48px; }
.showvsname { position:absolute; left:0px; top: 190px; width:100%; height: 60px; color:lightgray; }
#showvsplayer1 { left:0px; }
#showvsplayer2 { left:350px;  }

#showvsclans { width:360px; height:300px; background:rgba(45,45,45,0.8);  }
.showvsclan { position:absolute; left:0px; width:100%; height: 120px; font-size: 48px; line-height:48px; color:lightgray; }
.showvsclansvs { position:absolute; left:0px; top: 120px; width:100%; height: 60px; font-size: 48px; line-height:48px; }
#showvsclan1 { top:30px; }
#showvsclan2 { top:200px; }

#showvswinner { width:250px; height:330px; }
#showvsplayerw { left:10px; top:60px; height:270px; }
.showvslabel, .showvsclanlabel { position:absolute; left:0px;top:0px;width:100%;height:60px; font-size: 48px; line-height:48px; }
.showvsstreak { position:absolute; left:0px;top:235px;width:100%;height:20px; font-size: 20px; line-height:20px; font-style: italic; }

#showvsclanwinner { width:360px; height: 200px;  }
#showvsclanw { top:80px; }

/* Quests/Tasks */

#taskdescription { position:absolute; top: 80px; right: 70px; width: 200px; height: 120px; margin:auto; left:initial; bottom:initial; padding: 0; font-size: 18px; border-width: 16px; }
.tasklarge #taskdescription { left: 0; right: 0; top: 0; bottom: 0; width:420px; height:300px;  }
.taskimage { position:absolute; left:0;right:0; margin-left:auto;margin-right:auto; margin-top:20px; }

.pmtranslate { text-decoration:underline; color:lightblue; cursor:pointer; }
.pmtranslated { color:lightblue; }

/* Story interface */

#recordinterface { position:absolute; margin-left: auto; margin-top: auto; margin-right:auto; margin-bottom: auto; left:0;right:0; top:28px;bottom:0; width:256px; height:326px; }
#recordborder { background:url(../../files/gui/bbuilder_recordborder.png); background-size:contain; position:absolute; width:256px;height:256px; left:0px;top:35px; }
#recordclosebutton { right:-24px;top:-24px; }
#recordstartbutton { background:url(../../files/gui/bbuilder_recordbutton.png); background-size:contain; position: absolute; left:88px; bottom:0px;width:80px;height:32px; cursor:pointer; }
#recordstopbutton { background:url(../../files/gui/bbuilder_recordstopbutton.png); background-size:contain; position: absolute; left:88px; bottom:0px;width:80px;height:32px; cursor:pointer; display:none; }

#recordborder.recording {
  -webkit-animation: blink 1s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  -moz-animation: blink 1s;
  -moz-animation-iteration-count: infinite;
  -moz-animation-timing-function: linear;
  -ms-animation: blink 1s;
  -ms-animation-iteration-count: infinite;
  -ms-animation-timing-function: linear;
  animation: blink 1s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.storycanvas { border: 4px solid #335980; border-radius:24px; -webkit-mask-image: -webkit-radial-gradient(white, black); }
.storymenu .menuitem { border: 4px solid #335980; border-radius:24px; margin-right: 8px; width: 114px; height: 114px;  }
.storymenu .menuitem.selectedstory { border: 4px solid #598000; }
.storymenu .menuitemtext { font-size: 18px; padding:4px; width:calc(100% - 8px); height:auto;top:0px; background:rgba(0,0,0,0.4); border-radius:8px; border-top-left-radius:20px; border-top-right-radius:20px; }
.storymenu .menuitemhead { left:32px !important; top:52px !important; }
.storymenu .menuitemhat { left:32px !important; top:36px !important; }
.storysmallcontainer { border: 4px solid #808080; border-radius:6px; -webkit-mask-image: -webkit-radial-gradient(white, black); margin:-4px; overflow:hidden; position:absolute; width:144px; height:144px; }

/* New profile */

.profilefieldlabel { position:absolute; font-size:22px; width:180px; }
.profilefield { position:absolute; right:0px; top:0px; }
.profilebuttons { position:absolute;left:0px;bottom:0px;width:100%;height:38px;border-top: 6px solid #335980; }
.profilebutton { position:absolute; top:0px; height:100%; text-align:center; cursor:pointer; }
.profilebutton.selected:before { border: solid; border-color: #335980 transparent; border-width: 0px 8px 8px 8px; top: 0px; margin-top: -14px; content: ""; left: 50%; margin-left:-8px; position: absolute; z-index: 99; }
#profilebuttonsocial { left:0px; width:33%; }
#profilebuttonprofile { left:33%; right:33%; border-left: 6px solid #335980; border-right: 6px solid #335980; }
#profilebuttonmore { right:0px; width:33%; }

.profilehpback { position:absolute;left:0px;top:20px;width:180px;height:22px;border: 2px solid lime; box-sizing: border-box;border-radius:15px; }
.profilehp { position:absolute;left:0px;top:20px;height:22px;background:lime; border-radius:15px; } 

#profilecharacter { pointer-events: none; }

.profile_specialtitle { position:absolute; left:0px; top:0px; width:100%; font-size:22px; text-align:center; font-style:italic; color:#e0e0e0; }
.profile_specialtitle_level { font-size:12px; }
.profile_specialtitle_id { position:absolute; left:0px; top:20px; width:100%; font-size:22px; text-align:center; font-style:italic; color:#e0e0e0; }
.profile_value       { font-size:22px; font-weight:bold; user-select: text;}
.profile_id          { position:absolute; left:0px; top:0px; width:100%; text-align:center; font-style:italic; color:#e0e0e0;  }
.profile_offlinetime { position:absolute; left:  0px; top: 20px; }
.profile_online      { position:absolute; left:  0px; top: 20px; }
.profile_onlinetime  { position:absolute; left:  0px; top: 60px; }
.profile_bombs       { position:absolute; left:120px; top: 60px; display:none; }
.profile_coins       { position:absolute; left:  0px; top: 95px; }
.profile_arrows      { position:absolute; left:120px; top:130px; }
.profile_eventcoin   { position:absolute; left:  0px; top:130px; width:100px; }
.profile_nitrocoin   { position:absolute; left:130px; top:235px; width:100px; }
.profile_spar        { position:absolute; left:  0px; top:165px; }
.profile_kills       { position:absolute; left:  0px; top:200px; }
.profile_deaths      { position:absolute; left:  0px; top:235px; display:none; }
.profile_mobkills    { position:absolute; left:  0px; top:235px; width:120px; }
.profile_holidayloot { position:absolute; left:  0px; top:270px; }
.profile_holidayloot2 { position:absolute; left: 80px; top:270px; }
.profile_holidayloot3 { position:absolute; left: 160px; top:270px; }
.profile_status      { position:absolute; left:420px; top:0px; right:0px; bottom:36px; overflow:auto; }
.profile_kills .profile_value { color:#ff2014; }
.profile_streak      { font-style:italic; position:absolute;top:18px;width:300px;left:0px;font-size:18px; }
.profile_addfriend, .profile_removefriend { position:absolute; left:0px; bottom:50px; font-size:20px; cursor:pointer; z-index:1; }
.profile_addmessage  { position:absolute; left:274px; bottom:50px; font-size:20px; cursor:pointer; z-index:1; }
.profile_viewclan    { position:absolute; right:20px; bottom:50px; font-size:20px; cursor:pointer; z-index:1; }
.profile_ping        { position:absolute; left:0px; top:270px; }
.profile_like        { position:absolute; vertical-align:middle; left:20px; top:4px; font-size:20px; cursor:pointer; z-index:1; }
.profile_coins    .profilefield { color:#47ff33; }
.profile_deaths   .profilefield { color:#ff3024; }
.profile_mobkills .profilefield { color:#ff3024; }
.profile_kills    .profilefield { color:#ff3024; }

/* Clan menu */

.clan_news     { position:absolute; left:0px; top:0px; width:300px; height:270px; overflow:hidden; border-style: solid; border-width: 2px; border-radius: 10px; padding: 5px 5px; }
.clan_leader   { position:absolute; left:332px; top:0px; width:300px; }
.clan_founded  { position:absolute; left:332px; top:38px; width:300px; }
.clan_jointime { position:absolute; left:332px; top:76px; width:300px; }
.clan_basetime { position:absolute; left:332px; top:114px; width:300px; }
.clan_kills    { position:absolute; left:332px; top:152px; width:300px; }
.clan_spar     { position:absolute; left:332px; top:190px; width:300px; }
.clan_members  { position:absolute; left:332px; top:228px; width:180px; }
.clan_value    { position:absolute; top:0px; right:0px; }
.clan_editnews { position:absolute; left:230px; top:240px; width:80px !important; height:40px !important; }
.clan_settag { position:absolute; right:0px; top:7px; width:145px !important; height:40px !important; }
.clan_showmembers { position:absolute; right:0px; top:225px; width:105px !important; height:40px !important; }

/* New Console */
.resizablewindowtitle { text-indent: -9999px; line-height: 0; /* Collapse the original line */ }
.resizablewindowtitle::after { content: attr(title); font-weight: bold; text-indent: 0; display: block; line-height: initial; }
.resizablewindow {
  -webkit-user-select: none;
  user-select: none;
  position: absolute;
  left: 10px;
  top: 10px;
  width:400px;
  height: 240px;
  min-width:400px;
  min-height:240px;
  max-width: 100%;
  max-height: 100%;
  border-color: black;
  z-index: 1000;
  resize: both;
  overflow: auto;

  background:rgba(20,36,61,0.8);
  background: linear-gradient(to bottom, rgba(20,36,61,0.8) 0%,rgba(20,36,61,1) 100%);
  border: 6px solid #335980;
  border-radius:24px;
}

/* Identify */
#identifyscreen { position: absolute; left:0px; top:0px; width: 100%; height: 100%; z-index: 99; }
#identifybuttons { position: absolute; width:240px; height:240px; left: 50%; margin-left:-120px; top: 50%; margin-top:-120px; }
#identifyscreen .windowborder { display:none;position:absolute; width:320px; height:100px; left:50%;margin-left:-224px;top:50%;margin-top:-104px; }
#identifyscreen .menuitem:hover,
#identifyscreen .backbutton:hover,
#identifyscreen input[type=submit]:hover { -webkit-filter: brightness(1.4); filter: brightness(1.4); }

#identifybuttons .menuitem { position:absolute;top:0px;margin-top:0px;height:120px;cursor:pointer; background:rgba(20,36,61,0.5); border-radius:8px; text-align:center; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 2px 0 #000, 1px 2px 0 #000; color:white; }
.identifybuttonimage { position:absolute; left:5px; width:96px;height:96px; background-size:contain; }

#identifydevicebutton.menuitem   { left:0px; }
#identifydevicebutton .identifybuttonimage   { background-image:url(../../files/gui/bbuilder_newbutton_logindevice.png); }
#identifyfacebookbutton.menuitem { left:120px; top: 0px; }
#identifyfacebookbutton .identifybuttonimage { background-image:url(../../files/gui/bbuilder_newbutton_loginfacebook.png); }
#identifygooglebutton.menuitem { left:0px; top: 0px; }
#identifygooglebutton .identifybuttonimage { background-image:url(../../files/gui/bbuilder_newbutton_logingoogle.png); }
#identifycognitobutton.menuitem { left:120px; top:128px; }
#identifycognitobutton .identifybuttonimage { background-image:url(../../files/gui/bbuilder_newbutton_loginnewuser.png); }
#identifysteambutton.menuitem { left:0px; top:128px; }
#identifysteambutton .identifybuttonimage { background-image:url(../../files/gui/bbuilder_newbutton_loginsteam.png); }
#identifyemailbutton.menuitem    { left:168px; }
#identifyemailbutton .identifybuttonimage    { background-image:url(../../files/gui/bbuilder_newbutton_loginemail.png); }
#identifynewuserbutton.menuitem  { left:280px; }
#identifynewuserbutton .identifybuttonimage  { background-image:url(../../files/gui/bbuilder_newbutton_loginnewuser.png); }
#identifyforumsbutton.menuitem   { left:168px; top: 128px; }
#identifyforumsbutton .identifybuttonimage   { background-image:url(../../files/gui/bbuilder_newbutton_forum.png); }

#identifyscreen label { position:absolute; left:20px; top:50px; }
#identifyscreen label#identifynewuserdesc { right:20px; top:86px; font-size:21px; text-align:center; }
#identifyscreen input[type=text], #identifyscreen input[type=password] { position:absolute; left:160px; right:20px; top:50px; height:24px; font-size:21px; }
#identifyscreen input[type=submit] { position:absolute; width: 160px; left:50%; margin-left:-80px; bottom:20px; height:32px; }
#identifyscreen input[type=submit]#identifynewusersendbutton { width:240px; margin-left:-120px;  }

#identifywait { display:none; position:absolute; width:64px;height:64px; left:50%; margin-left:-32px; top:50%; margin-top:-32px; }
#identifylinks { position:absolute; left:4px; bottom:4px; font-size:21px; color:#C0C0C0; }
#identifylinks a:link { color:white; }
#identifylinks a:visited { color:white; }

/* Trading */
.tradeitem { border: 4px solid #335980; border-radius:24px; margin-top:4px; margin-left:4px; height:88px; }
.tradeitem .menuitemtext { top: 68px; font-size: 16px; line-height:14px; } 
.tradeplayername { position:absolute;text-align:center;width:100%;top:105px;font-style:italic;opacity:0.5; }
#tradechattext { position: absolute; left: 0px; right: 0px; bottom: 36px; top: 0px; background-color: white; color: black; font-family: Verdana; font-size: 14px; padding: 2px; border-width: 1px; border-style: solid; border-color: gray; resize: none; overflow: auto; text-shadow: none; }
#tradechatinputcontainer { position: absolute; left: 0px; bottom: 4px; right: 4px; height: 30px; }
#tradechatinput { position:absolute; width: 100%; height: 100%; padding: 0; padding-left: 2px; border-width: 0px; background-color: white; color: black; font-family: Verdana; font-size: 21px; border-width: 1px; border-style: solid; border-color: gray; resize: none; }
.tradebutton { width:70px; height: 70px; margin: 0 16px 0 -16px; }
.tradehistoryitem { height: 88px;  }
.tradehistoryitem .menuitemtext { font-size:18px; line-height:16px; top:64px;  }

/* Tree */

ul.tree, ul.tree ul { list-style: none; margin: 0; padding: 0; }
ul.tree { display: none; }
ul.tree.active { display: block; }
ul.tree ul { margin-left: 1.0em; }
ul.tree li { margin-left: 0.35em; border-left: thin solid #000; }
ul.tree li:last-child { border-left: none; }
ul.tree li:before { width: 0.9em; height: 0.6em; margin-right: 0.1em; vertical-align: top; border-bottom: thin solid #000; content: ""; display: inline-block; }
ul.tree li:last-child:before { border-left: thin solid #000; }
ul.tree .foldertitle, ul.tree li { -webkit-user-select: none; user-select: none; cursor:pointer; }
ul.tree .foldertitle:before { content:""; display:inline-block; margin: 0 4px 0 0; width:1em; height:1em; background:url(../../files/gui/bbuilder_fileicon_folder.png); background-size: contain; }
ul.tree .foldertitle.active:before { background-image:url(../../files/gui/bbuilder_fileicon_folderopen.png); }
ul.tree .filetitle { background-image: url(../../files/gui/bbuilder_fileicon_default.png); background-size: 0; }
ul.tree .filetitle:before { content:""; display:inline-block; margin: 0 4px 0 0; width:1em; height:1em; background-image: inherit; background-size: contain; }

/* Right-click menu */

.contextmenu_background { position:absolute; left:0px; top:0px; width:100%; height:100%; z-index:200; }
.contextmenucontainer { background:rgba(0,0,0,.6); border-radius:5px; position:absolute; line-height:40px; z-index:201; color:white; font-size:20px; padding: 5px 15px; cursor:pointer; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 2px 0 #000, 1px 2px 0 #000; }
.contextmenu { float:left; clear:left; width:100%; }

/* Guest mode */

.guestmode #logoutbutton   { display:none !important; }
.guestmode #chatbutton     { display:none !important; }
.guestmode #clanchatbutton { display:none !important; }
.guestmode #registerbutton { display:block !important; }
#registerbutton { left:108px; top:8px; width:auto; height:74px; background-image:url(../../files/gui/corleone_register.png); background-size:100% 100%; color:white; line-height:68px; font-size:48px; padding-left:20px; padding-right:20px; }

@-moz-keyframes regblink {
    0% { opacity: 1; filter: none; }
   50% { opacity: 0.5; filter: alpha(opacity=0.5); }
  100% { opacity: 1; filter: none; }
}
@-webkit-keyframes regblink {
    0% { opacity: 1; filter: none; }
   50% { opacity: 0.5; filter: alpha(opacity=0.5); }
  100% { opacity: 1; filter: none; }
}
@keyframes regblink {
    0% { opacity: 1; filter: none; }
   50% { opacity: 0.5; filter: alpha(opacity=0.5); }
  100% { opacity: 1; filter: none; }
}
#registerbutton {
  -webkit-animation: regblink 1s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps(1, end);
  -moz-animation: regblink 1s;
  -moz-animation-iteration-count: infinite;
  -moz-animation-timing-function: steps(1, end);
  -ms-animation: regblink 1s;
  -ms-animation-iteration-count: infinite;
  -ms-animation-timing-function: steps(1, end);
  animation: regblink 2s;
  animation-iteration-count: infinite;
  animation-timing-function: steps(10, end);
}

