/* GLOBAL */

html, body {
    padding: 0;
    margin: 0;
    overflow: hidden;
    overflow-x: hidden;
    -webkit-text-size-adjust: none;
    width: 100%;
    height: 100%;
    position: fixed;
}

/* IDs */

#overlays {
    display:none; 
    position: absolute; 
    left: 0; 
    right: 0; 
    top: 0; 
    bottom: 0; 
    background-color: 
    rgba(0,0,0,0.5); 
    z-index: 200;
}

#pp {
    /*display:none;  */   
    position: absolute;    
    bottom:0;
    border-radius: 10px;
    width: 150px;
    height: 30px;
    left:91%;
    text-align: center;
    background-color:rgba(41, 39, 39, 0.753);
    color:rgba(255, 255, 255, 0.774);
    z-index: 200;
    line-height: 30px;
}

#ad2 {
    /*display:none;  */   
    position: absolute;    
    bottom:-15px;
    border-radius: 15px;
    width: 728px;
    height: 90px;
    left:50%;
    margin-left:-364px;
    background-color:rgba(41, 39, 39, 0.753);
    color:rgba(255, 255, 255, 0.774);
    z-index: 200;
}

#ad1 {
    /*display:none;  */   
    position: absolute;    
    top:0px;
    border-radius: 15px;
    width: 321px;
    height: 250px;
    left:60px;
    margin-left:660px;
    background-color:rgba(41, 39, 39, 0.753);
    color:rgba(255, 255, 255, 0.774);
    z-index: 200;
}

#info {
    /*display:none;  */   
    position: absolute;    
    top:0px;
    border-radius: 15px;
    padding-left: 25px;
    padding-top: 13px;
    font-weight: 900;
    font-size:20px;
    width: 300px;
    height: 334px;
    left:0;
    margin-left:-310px;
    background-color: #363940;
    color:rgba(255, 255, 255, 0.774);
    z-index: 200;
}

.gamemode-text, .gamemode-text-two {
    font-size:10px;
    font-weight: 900;
    text-align: center;
    
}

.gamemodes-title {
    font-size:30px;
    margin-top: 10px;
    margin-bottom: -5px;
    text-align: center;
}

#gamemodes {
    /*display:none;  */   
    position: absolute;    
    top:0px;
    border-radius: 15px;
    width: 321px;
    height: 294px;
    left:0;
    margin-left:390px;
    background-color:#363940;
    color:rgba(255, 255, 255, 0.774);
    z-index: 200;
}

.gamemodes-mode {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border-radius: 10px;
    margin: 2px;
    height: 100px;
    width: 55px;
    flex: 0 0 23%;
    /*padding: 20px;*/
    cursor: pointer;
    background-color: #2a2b30;
    color: darkgrey;
}

.gamemodes-panel {
    margin: 20px;
    width: 280px;
    height: 215px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-evenly;
    /*flex-flow: row wrap;*/
}

.ffa:hover, .teams:hover, .instant:hover, .mega:hover, .duel:hover, .gamemodes-mode:hover, .lms:hover, .na_teams:hover, .teams_no_rules:hover, .na_teams-active, .lms-active, .ffa-active, .teams-active, .instant-active, .mega-active, .duel-active, .teams_no_rules-active {
    color: black;
    -o-transition:.5s;
    -ms-transition:.5s;
    -moz-transition:.5s;
    -webkit-transition:.5s;
    
    transition:.3s;
}

.lms:hover, .lms-active {
    background-color: rgb(8, 236, 0)
}

.teams_no_rules:hover, .teams_no_rules-active {
    background-color: #fde71e;
}

.na_teams:hover, .na_teams-active {
    background-color: #1d64d8;
}

.ffa:hover, .ffa-active {
    background-color: #f53e57;
}

.teams:hover, .teams-active {
    background-color: #ffaa00;
}

.instant:hover, .instant-active {
    background-color: #00c1f1;    
}

.mega:hover, .mega-active {
    background-color: rgb(90, 20, 255);
}

.duel:hover, .duel-active {
    background-color: rgb(241, 21, 138);
}
#login-text {
    font-weight: 900;
    font-size: 15px;
}

#ad-text {
    font-weight: 900;
    font-size: 30px;
    padding: 30px;
    text-align: center;
}
#ad-text2 {
    font-weight: 900;
    font-size: 23px;
    padding: 27px;
    padding-top: 30px;
    text-align: center;
}

#title {
    padding: 10px;
}

#canvas {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

#connecting {
    display:none;
    position: absolute; 
    left: 0; 
    right: 0; 
    top: 0; 
    bottom: 0; 
    z-index: 100; 
    background-color: rgba(0,0,0,0.5);
}

#nick {
    color: #77787D;
    background-color: #212226;
    width: 200px;
    float: left;
}

#donation {
    position: relative;
    margin-left: 0px;
    margin-right: 0px;
    width: 100%;    
    display: block;
    margin-top: 5px;
    margin-bottom: 20px;
    
}

#team {
    color: #77787D;
    background-color: #212226;
    width: 100px;
    float: right;
}

#gamemode {
    width: 255px;
    margin-left: 10px;
    margin-right: 5px;
    float: left;
    color: #77787D;
    background-color: #212226;
}

#helloDialog {
    width: 380px;
    color: white;
    background-color: #363940;
    margin: 10px auto;
    border-radius: 15px;
    padding: 5px 15px 5px 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#chat_textbox {
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    position: absolute;
    z-index: 1;
    bottom: 10px;
    background: rgba(0, 0, 0, .2);
    border: 0px;
    outline: none;
    color: #FFF;
    height: 30px;
    text-indent: 12px;
    left: 10px;
    width: 300px;
}

#chat_textbox:focus {
    background: rgba(0, 0, 0, .5);
}

#footer {
    text-align: center;
    margin-bottom: 10px;
    margin-top: -10px;
}

#play-btn {
    margin-left: 10px;
    width: 250px;
}

#settings-btn {
    float: left;
}

#spectate-btn {
    float: right;;
}

#refresh-gamemodes-btn {
    margin-left: 0px; 
}

#mobileStuff {
    display: none;
}
#touchpad, #touchCircle, #splitBtn, #ejectBtn {
    position: fixed;
}
#touchpad, #splitBtn, #ejectBtn {
    z-index: 2;
}
#touchpad {
    background: #000;
    opacity: 0.3;
    width: 20vw;
    height: 20vh;
    left: 0;
    bottom: 0;
}
#touchCircle {
    width: 4vw;
    height: 4vw;
    border-radius: 2vw;
    background: #f00;
    opacity: 0.3;
    z-index: 3;
}
#splitBtn, #ejectBtn {
    width: 8vw;
    height: 8vw;
    border-radius: 4vw;
    background: #777;
    opacity: 0.5;
}
#splitBtn {
    right: 18vw;
    bottom: 0;
}
#ejectBtn {
    bottom: 18vw;
    right: 0;
}
#settings {
    display: none;
}
#instructions {
    display: none;
    color: #bcc0c6;
}

/* CLASSES */

.checkbox label {
    margin-right: 10px;
}

.mb-10 {
    /*margin-top: 10px;*/
    position: absolute;
    padding: 0px 10px 0px 10px;
    left: -210px;
    background: #FFF;
    width: 200px;
    height: 245px;
    text-align: center;
}

.mb-10 h3 {
    margin-bottom: 20px;
}

.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

.center {
    display: table;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.gallery {
    width: 64%;
    float: right;
}
.skin {
    list-style-type: none;
    margin-right: 10px;
    margin-bottom: 10px;
    float: left;
    max-width: 150px;
}
.circular {
    width: 150px;
    height: 150px;
    border-radius: 75px;
    -webkit-border-radius: 75px;
    -moz-border-radius: 75px;
    background-repeat: no-repeat;
    box-shadow: 0 0 8px rgba(0, 0, 0, .8);
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
    -moz-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
    background-size: 150px 150px;
    cursor: pointer;
}
.circular:hover {
    box-shadow: 0 0 12px rgba(0, 0, 0, .8);
    -webkit-box-shadow: 0 0 12px rgba(0, 0, 0, .8);
    -moz-box-shadow: 0 0 12px rgba(0, 0, 0, .8);
    -webkit-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    transition: all 0.2s linear;
}
.skin > .title {
    cursor: pointer;
    text-align: center;
}
.skin > .title:hover {
    text-shadow: 0 0 2px rgba(0, 0, 0, .8);
    -webkit-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    transition: all 0.2s linear;
}
.imgDescription {
    text-align: center;
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(29, 106, 154, 0.72);
    color: #fff;
    visibility: hidden;
    opacity: 0;
    transition: visibility opacity 0.2s;    
    -webkit-transition: visibility opacity 0.2s;
}
.circular:hover .imgDescription {
    visibility: visible;
    opacity: 1;
}

.grecaptcha-badge {
    visibility: collapse;
}
