/* 
    Document   : v2
    Created on : Feb 16, 2013, 3:15:48 AM
    Author     : thrax
    Description:
        Purpose of the stylesheet follows.
*/

root { 
    display: block;
}

#shaderIFrame , #imageCache {
    width: 0px;
    height: 0px;
    visibility:hidden;
    background-color: #d8da3d 
}

html, body {
    width: 100%;
    height: 100%;
    border: 0px;
    padding: 0px;
    margin: 0px;
    background-color: #050510;
    font-family: 'Orbitron', 'Share Tech Mono', monospace;
    overflow: hidden;
    color: #0f0;
}

/* Custom Scrollbars for Sci-Fi theme */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 20, 0, 0.5);
    border-left: 1px solid rgba(0, 255, 0, 0.2);
}
::-webkit-scrollbar-thumb {
    background: #0f0;
    border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
    background: #00cc00;
}

/* Scanline Animation Overlay */
body::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 1000;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    opacity: 0.3;
}

a {
    color: #fff;
}

video {
    display: none;
}

CANVAS {
    background-color: black;
}

.uiTitle {

    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 512px;
    height: 175px;

    margin: auto;

    z-index: 2;
    background-color: rgba(0,0,0,0.25);
    border-radius: 6px;
    padding: 1px;
    color: yellow;

    text-align: center;
    visibility: hidden;

}

.uiComponent, .uiElem{
    z-index: 2;
    color: #0f0;
    font-family: 'Orbitron', monospace;
    font-size: small;
    background-color: rgba(10, 15, 25, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 2px;
    padding: 0px;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.1);
}

* {
    
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;    
}

.selectable {
    -webkit-touch-callout: text;
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;    
    
}

.uiElem {
    position: absolute;
    top: 10px;
    left: 10px;

    overflow: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    border-radius: 2px;
    padding: 1px;
}

/* Sci-fi buttons */
button {
    font-family: 'Orbitron', monospace;
    background: rgba(0, 20, 0, 0.6);
    color: #0f0;
    border: 1px solid #0f0;
    padding: 8px 12px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.2);
}
button:hover {
    background: rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
    transform: scale(1.05);
}


#viewContainer {
    width: 100%;
    height: 100%;
}

:root {
    --magenta: #db17cb;
    --light-blue: #2ac8ca;
    --light-green: #20db17;
    --orange: #db8617;
    --green: #14751c;
    --tan: #bb9878;
}

.colorBar {
    height:12px;
    width:100px;
    padding:0;
    margin:0px auto;
    background-color:#000;
}

.colorBox {
    height:13px;
    width:13px;
    padding:0;
    margin:0px auto;
    margin-right:-1px;
    background-color:#000;
    display:inline-block;
}



/*
html
{
    height:100%;   
}

body {

    height:100%;
    background-color:#36F;
    padding:0px;
    margin:0px auto;

}
*/

#playerListElems {
    position:absolute;
    z-index:1;
    left:0px;
    width:100px;
    height:100px;
}

#topLeftBox {
    position:absolute;
    z-index:1;
    top:0px;
}

#topRightBox {

    position:absolute;
    z-index:25;
    right:0px;
    top:0px;
}

#bottomLeftBox {
    position:absolute;
    z-index:1;
    bottom:0px;
}

#bottomRightBox {
    position:absolute;
    z-index:1;
    right:0px;
    bottom:0px;
}

#incomingChatMessage {
    overflow-x: auto;
    overflow-y: auto;
}

#bottomCenterBox {
    z-index:1;
    margin:0px auto;
    position:absolute;
    left: 300px;
    bottom:20px;
    padding:12px;
    height: auto;
    background-color: rgba(10, 15, 25, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    margin-left: auto;
    margin-right: auto;
    overflow-x: auto;
    overflow-y: auto;
}

#centerBox {
    z-index:1;
    margin:0px auto;
    position:absolute;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
    top: 70px;
    padding:12px;
    background-color: rgba(10, 15, 25, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    display: none;
}


#rightBox {
    z-index:1;
    margin:0px auto;
    position:absolute;
    right: 20px;
    height: auto;
    top: 70px;
    padding:12px;
    background-color: rgba(10, 15, 25, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    display: block;
}


.statBar {
    display:block;
}

#statsBox {
    background-color: rgba(10, 15, 25, 0.75);
    backdrop-filter: blur(8px);
    display:inline-block;
    padding:0px;
    margin:0px auto;
    height:64px;
}

#statsBoxText {
    background-color: rgba(10, 15, 25, 0.75);
    display:inline-block;
    padding:0px;
    margin:0px auto;
}

#basesBox {
    background-color: rgba(10, 15, 25, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(187, 152, 120, 0.3);
    display:inline-block;
}

#purposeBox {
    background-color: rgba(10, 15, 25, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    display:inline-block;
}

#turretsBox {
    margin-left:12px;
    background-color: rgba(10, 15, 25, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(20, 117, 28, 0.3);
    display:inline-block;
}

#logoBox {
    background-color: rgba(10, 15, 25, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    text-shadow: 0 0 5px #0f0;
}

.purposeButton {
    display:inline-block;
}



.navFont {
    font-family: 'Orbitron', sans-serif;
    font-weight:bold;
    font-size:small;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    font-family:Arial, Helvetica, sans-serif;
    font-weight:bold;
    font-size:small;
    color:#fff;
    text-decoration:none;
}

a.hover {
    font-family:Arial, Helvetica, sans-serif;
    font-weight:bold;
    font-size:small;
    color:#666;
}

#next-level-box {
    margin-top: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    font-size: 0.9em;
    font-family: monospace;
    text-align: left;
}

#next-level-box .title {
    font-weight: bold;
    color: yellow;
    text-align: center;
    margin-bottom: 8px;
}

#next-level-box .req-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

/* Live Scoreboard styling */
#info-scoreboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: calc(100% + 8px);
}

.scoreboard-tank-name {
    padding: 5px;
    text-align: left !important;
}

.scoreboard-team {
    padding: 5px;
    text-align: center;
}

.scoreboard-score {
    padding: 5px;
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
}
}

#bottomRightBox {
    position:absolute;
    z-index:1;
    right:0px;
    bottom:0px;
}

#incomingChatMessage {
    overflow-x: auto;
    overflow-y: auto;
}

#bottomCenterBox {
    z-index:1;
    margin:0px auto;
    position:absolute;
    left: 300px;
    bottom:20px;
    padding:12px;
    height: auto;
    background-color: rgba(10, 15, 25, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    margin-left: auto;
    margin-right: auto;
    overflow-x: auto;
    overflow-y: auto;
}

#centerBox {
    z-index:1;
    margin:0px auto;
    position:absolute;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
    top: 70px;
    padding:12px;
    background-color: rgba(10, 15, 25, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    display: none;
}


#rightBox {
    z-index:1;
    margin:0px auto;
    position:absolute;
    right: 20px;
    height: auto;
    top: 70px;
    padding:12px;
    background-color: rgba(10, 15, 25, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    display: block;
}


.statBar {
    display:block;
}

#statsBox {
    background-color: rgba(10, 15, 25, 0.75);
    backdrop-filter: blur(8px);
    display:inline-block;
    padding:0px;
    margin:0px auto;
    height:64px;
}

#statsBoxText {
    background-color: rgba(10, 15, 25, 0.75);
    display:inline-block;
    padding:0px;
    margin:0px auto;
}

#basesBox {
    background-color: rgba(10, 15, 25, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(187, 152, 120, 0.3);
    display:inline-block;
}

#purposeBox {
    background-color: rgba(10, 15, 25, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    display:inline-block;
}

#turretsBox {
    margin-left:12px;
    background-color: rgba(10, 15, 25, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(20, 117, 28, 0.3);
    display:inline-block;
}

#logoBox {
    background-color: rgba(10, 15, 25, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    text-shadow: 0 0 5px #0f0;
}

.purposeButton {
    display:inline-block;
}



.navFont {
    font-family: 'Orbitron', sans-serif;
    font-weight:bold;
    font-size:small;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    font-family:Arial, Helvetica, sans-serif;
    font-weight:bold;
    font-size:small;
    color:#fff;
    text-decoration:none;
}

a.hover {
    font-family:Arial, Helvetica, sans-serif;
    font-weight:bold;
    font-size:small;
    color:#666;
}

#next-level-box {
    margin-top: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    font-size: 0.9em;
    font-family: monospace;
    text-align: left;
}

#next-level-box .title {
    font-weight: bold;
    color: yellow;
    text-align: center;
    margin-bottom: 8px;
}

#next-level-box .req-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

/* Live Scoreboard styling */
#info-scoreboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: calc(100% + 8px);
}

.scoreboard-tank-name {
    padding: 5px;
    text-align: left !important;
}

.scoreboard-team {
    padding: 5px;
    text-align: center;
}

.scoreboard-score {
    padding: 5px;
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
}

#hud > * {
    pointer-events: auto;
}

input, textarea {
    cursor: text !important;
    user-select: text !important;
    -webkit-user-select: text !important;
}

input[type="range"], input[type="checkbox"], input[type="radio"], input[type="button"], input[type="submit"] {
    cursor: pointer !important;
}
