#content-wrapper {
    background-color: rgb(46,26,66);
}
.dteHeader {
    display: block;
    background-color:#6403c2;
    text-align: center;
    padding: 10px;
    padding-bottom: 30px;
    color:#f1efe8;    
}

.dteHeader.small{
    padding-bottom: 0px;
}

.dteHeader h1 {
    margin: 0;
}
.dteHeader h1 img {
    width: 450px;
    display: inline-block;
    margin: 0;
    padding: 0;
}

.dteHeader.small h1 img {
    width: 250px;   
}

.dteHeader p b {
    font-size:30px;  
    font-family: 'Yanone Kaffeesatz', sans-serif;  
    display: block;
}

.dteHeader p b.subtitle{
    font-size:20px;  
    font-weight:200;
}

.dteHeader.small p {
    margin-bottom: 10px;
}

.dteForm, .content {
    text-align: center;
    background: rgb(46,26,66);
    padding: 20px;
    border-top:10px solid #160d1f7b;
}

.dteForm form {
    display: inline-block;
    max-width: 600px;
}

.dteForm form .title {
    display: block;
    text-align: left;
    color:#f1efe8a4;
    margin: 0;
    padding-bottom: 4px;
}
#formMsg{
    color: #f1efe8;
}

#formWrapper{
    display: none;
}

#loading {
    display: block;
    text-align: center;
    color:#f1efe8;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    padding: 20px;
    font-size: 30px;       
}

#mainMessage {
    color: #f1efe8;
}

#mainMessage p{
    margin: 0;
    font-family: 'Yanone Kaffeesatz', sans-serif;   
    font-size: 25px;
}

#playersWrapper {    
    text-align: center;
    background: rgb(46,26,66);
    padding: 30px;
    padding-bottom: 20px;
    background-color: #471b79;  
    margin: 40px 20px;
    margin-top: 10px;
    border-radius: 10px;  
    background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.05) 35px, rgba(255,255,255,.05) 70px);    
    background-color: #a51897;        
    transition: width 2s, height 2s, background-color 2s, transform 2s;    
}

#playersWrapper p {
    color:#f1efe8;
    font-family: 'Yanone Kaffeesatz', sans-serif;    
    font-size: 20px;
    background-color: #a51897;
    border: 1px solid #aa249c;
    padding: 4px 10px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 10px;
}

.player {
    display: inline-block;
    width: 200px;
    height: 225px;    
    text-decoration: none;
    text-align: center;
    transition: scale 0.5s, opacity 0.5s, border-color 1s, transform 2s;
    position: relative;
}

.player.new{
    opacity: 0.5;   
    scale: 0.8; 
}

.player.loss {
    opacity: 0.5;    
}



.player:hover{
    font-weight: bold;
}

.player .imageWrapper{
    display: flex;
    margin: 0px;
    height:150px;
    width: 150px;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    background-color: #aa249c;    
    display: inline-block;
    border-radius: 50%;    
    -webkit-box-shadow: 0px 5px 18px 1px rgba(0,0,0,0.5); 
    box-shadow: 0px 5px 18px 1px rgba(0,0,0,0.5); 
    transition: width 2s, opacity 1s, border-color 1s, transform 2s;
}



.player .imageWrapper:hover{
    border-color:#aa249c;
}

.player .imageWrapper img {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    object-fit:cover;
}

.player .nameWrapper {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.player span {
    display: inline-block;
    background-color: #160e1f;
    padding:5px 10px;
    padding-bottom: 2px;
    border-radius: 5px;
    color: #f1efe8;
    text-decoration: none;
    max-width: 80%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    margin-left: 3%;
    margin-top: -12px;
    font-weight: 500;
    font-family: 'Yanone Kaffeesatz', sans-serif;  
    font-size: 20px;
    text-shadow: 1px 1px 2px #160d1f;
    border:2px solid #FFF;
}

#btns {
    display: block;    
    text-align: center;
    padding-bottom: 20px;

}

#start.btn {
    display: none;
}

#chatWrapper{
    display: block;
    text-align: center;
    position: relative;
    height: 50px;
    background: rgb(46,26,66);
}

#chat{
    width:90%;
    max-width:450px;
    border-radius: 10px;
    background-color: #f1efe8;
    position: absolute;
    bottom: 0px;
    right:5%;
    transition: width 1s, height 1s, border-color 1s, transform 2s;
}

#chatheader {
    display: block;
    padding: 3px 10px;
    background-color: #6003b6;
    color:#f1efe8;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 25px;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    line-height:25px;
    cursor: pointer;
}
#chatheader span{
    margin-top: 4px;
    display: inline-block;
}

#chatheader b {
    font-size: 15px;
    display: inline-block;
    font-family: Helvetica, sans-serif;    
    font-weight: 200;
    line-height: 25px;

}

#chatlog{
    display: block;
    height:0px;
    overflow: scroll;
    padding: 0px;
    transition: width 1s, height 1s, border-color 1s, transform 2s;
}

#chat.open #chatlog{    
    height:200px; 
    padding: 10px;  
}

#chatform {
    background-color: #471b79;
    display: block;
    margin-bottom: 0px;
    height: 0px;
    transition: width 1s, height 1s, border-color 1s, transform 2s; 
    overflow: hidden;
}

#chat.open #chatform {
    height: 40px;
}

#chatinput{
    background: transparent;
    border: none;
    border-radius: 0px;
    outline: none;
    outline-style: none;
    box-shadow: none;
    font-size: 16px;    
    color:#160d1f;
    font-family: 'Helvetica', sans-serif;
    border:1px solid #ff00de;
    background-color: #f1efe8;
    border-radius: 10px;
    resize: none;
    -webkit-appearance: none;
    box-shadow: none;
    text-align: left;
    width: 82%;
    height: 25px;
    margin-bottom: 0px;
    margin-left: 1%;
}

#chatsubmit {
    color: #f1efe8;
    margin-bottom: 0px;
    text-transform: capitalize; 
    width: 13%;   
}
#chatlog div {
    display: block;
    text-align: left;
    margin-bottom: 10px;
    color:#666;
}
#chatlog div span {
    padding: 4px;
    border-radius: 3px;
    color:#f1efe8;
    font-weight: 500;
    margin-right: 5px;
}

#invite {
    background-color: rgb(46,26,66);
    padding: 10px 30px;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 18px;
    text-align: center;
    margin-top: 20px;
    transition: all 1s ease; 
    -webkit-transition: all 1s ease; 
    -moz-transition: all 1s ease; 
    -ms-transition: all 1s ease; 
    -o-transition: all 1s ease;   
}

#inviteWrapper{    
    padding: 20px; 
    color: #f1efe8; 
    background-color: #e0b1d6;
    padding: 15px;    
    flex-wrap: wrap;
    border:4px dashed #86557e;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    text-align: center;   
    display: inline-block;    
    transition: all 1s ease; 
    -webkit-transition: all 1s ease; 
    -moz-transition: all 1s ease; 
    -ms-transition: all 1s ease; 
    -o-transition: all 1s ease;     
}

#inviteWrapper span{    
    color:#160e1f;
    font-size: 25px;
    padding-right: 10px;
}

#inviteURL #url {
    inline-size: 100%;
    overflow-wrap: break-word;
    color: #160d1f;
}

#inviteURL #copy {
    transition: all 1s ease; 
    -webkit-transition: all 1s ease; 
    -moz-transition: all 1s ease; 
    -ms-transition: all 1s ease; 
    -o-transition: all 1s ease;  
}

#board{
    display: block;
    margin: 20px;
    border-radius: 20px;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.05) 35px, rgba(255,255,255,.05) 70px);    
    background-color: #a51897;        
    transition: width 2s, height 2s, background-color 2s, transform 2s;   
    min-height: 600px;
    overflow-x: scroll;
    overflow-y: auto;
    padding: 20px;
}

#board-content {
    display: block;    
    min-width: 600px;
    min-height: 600px;    
    padding: 20px;
    width: auto;
}

.round {
    width: 240px;        
    height: 100%;
    border-right: 2px dashed #e0b1d6;
    padding-right: 20px;
    margin-right: 20px;     
    float: left;
}

.round .roundname{
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 25px;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    color:#FFF;
}

.round .match{
    background-color: #6403c2;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 10px;
    display: flex;
    -webkit-box-shadow: 0px 5px 18px 1px rgba(0,0,0,0.5); 
    box-shadow: 0px 5px 18px 1px rgba(0,0,0,0.5); 
}

.round .match .players{
    margin: auto;
}

#battle-board{
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: #2f0d50ac;
    top:0px;
    left:0px;
    z-index: 100;    
    border-radius: 20px;    
}

#battle-board #wrapper{
    margin: auto;
    width: 95%;
    height: 90%;
    background-color: #6403c2;
    border-radius: 20px;
    -webkit-box-shadow: 0px 5px 18px 1px rgba(0,0,0,0.5); 
    box-shadow: 0px 5px 18px 1px rgba(0,0,0,0.5); 
}

#bottomBanner{
    display: none;
}

.battlemode { background: url('/assets/img/faceoff-bg.webp') no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#dragselection {
    display: block;
    width: 100%;
    position: absolute;
    bottom: 30px;  
    z-index: 10;
    transition: opacity 0.2s, height 2s, background-color 2s, transform 2s;
    opacity: 0;    
}

#dragselectiontitle{
    display: block;
    font-size: 25px;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    color:#FFF;
    padding-bottom: 10px;
}

.battle .queen.queenoption{
    width: 145px;
    height: 200px;
}

.battle .queen.queenoption .imageWrapper {
    width: 120px;
    height: 120px;
}

.tickerwrapper{
    display: block;
}

.tickerlegend{
    background-color: #6403c2;
    font-size: 18px;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    color:#FFF;
    padding: 4px 8px;
    padding-top:8px;
    border-radius: 5px;
}

.ticker{
    background-color: #ff00de;
    font-size: 18px;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    color:#FFF;
    padding: 4px 8px;
    padding-top:8px;
    border-radius: 5px;
}

#queen-1-wins {
    display: none;
}

#queen-2-wins {
    display: none;
}

.queen .player {
    position: absolute;
    scale: 0.6;
    
}

#queen-1 .player {
    left: -30px;
    bottom: -67px;
}

#queen-2 .player {
    right: -30px;
    bottom: -67px;
}

.battle .queen .player{
    width: 145px;
    height: 200px;
}

.battle .queen .player .imageWrapper {
    width: 120px;
    height: 120px;
    border:none;
}

.battle .queen .player span {
    font-size: 25px;
    border:none;
}

#waitingmsg {
    display: block;
    width: 100%;
    position: absolute;
    bottom: 100px;  
    z-index: 10;
    transition: opacity 0.2s, height 2s, background-color 2s, transform 2s;
    opacity: 0;    
    color:#f1efe8;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 30px;
    text-align: center;
}

.roundtitle {
    color:#f1efe8;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 30px;
    text-align: center;
    margin-top: 10px;
}

#battle-board #message{
    display: none;    
    height: 100%;
    width: 100%;
    vertical-align: middle;
    margin: auto;
    background: url('/assets/img/faceoff-bg.webp') no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    border-radius: 20px;    
}

#battle-board #message #messageWrapper{    
    margin: auto;
    display: block;
}


#battle-board #message #title {
    color:#f1efe8;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 35px;
    text-align: center;
    font-weight: 500;
}

#battle-board #message #subtitle {
    color:#f1efe8;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
}

#battle-board #message #image {
    width: 300px;
    display: inline-block;        
}

.dteHeader .tickerlegend{
    background-color: #160e1f;
}

.tournament_list_item{
    display: inline-block;
    background-color: #a51797;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.05) 35px, rgba(255,255,255,.05) 70px);    
    margin-top:20px;
    border-radius: 10px;
    padding: 2%;
    -webkit-box-shadow: 0px 5px 18px 1px rgba(0,0,0,0.5); 
    box-shadow: 0px 5px 18px 1px rgba(0,0,0,0.5);
    min-height: 100px;
    width: 96%;
}

.tournament_list_item a.btn {
    float: right;
    margin-top: 20px;
    margin-right: 10px;
}

.tournament_list_item .contentwrap{
    float: left;        
    max-width: 65%;
    padding: 10px;
}

.tournament_list_item .contentwrap .title{
    color:#f1efe8;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 30px;
    line-height: 34px;
    margin-bottom: 10px;
}

.tournament_list_item .contentwrap .players {
    background-color: #160d1f;
    color: #f1efe8;
    padding: 5px 10px;
    border-radius: 5px;
    width: auto;
    max-width: 200px;
    text-align: center;
    float: left;
}



@media only screen and (max-width: 768px) {
    .dteHeader h1 img, .dteHeader.small h1 img {
        width: 55%;
    }

    .player{
        width: 145px;
        height: 200px;
    }

    .player .imageWrapper{
        width: 120px;
        height: 120px;
    }

    #dragselectiontitle{       
        font-size: 22px;       
    }

    .battle .queen.queenoption {
        width: 110px;
        height: 150px;
    }

    .battle .queen.queenoption .imageWrapper {
        width: 90px;
        height: 90px;
        border:6px solid #FFF;
    }

    .battle .queen .player .imageWrapper {
        width: 120px;
        height: 120px;
        border:none;
    }

    .round {
        width: 185px;        
    }
}