body {
    background-color: #424242;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 14pt;
    margin: auto;
    width: 90%;
}

h2 {
    font-size: 1.2em;
    margin-bottom:0.3em;
}

#dayHeader, #radioBox, #dayVoteButton, #nightWolfButton, #wolfHeader, #logHeader, #gameLog{
    display: none;
}

input[type="submit"], button{
    background-color: #c33535;
    color: white;
    font-size: 1em;
    border-style: solid;
    border-radius: 3px;
    border-color: #952828;
    border-width: 1.5px;
    cursor:pointer;
}

input[type="submit"]:active, button:active, button.holdActive{
    background-color: #952828;
}


button:disabled{
    border-color: #333333;
    background-color: #777777;
}

#loginLogo{
    width:70%;
    max-width:300px;
    display: block;
    margin: 1em auto;
}

#loginscreen {
    padding-top: 5%;
}

#invalidID{
    display: none;
    text-align: center;
    font-size: 0.8em;
}

.roomLabel{
    background-color: white;
    color: grey;
    display: inline-block;
    box-sizing: border-box;
    border-radius: 3px;
    border-color: #952828;
    border-style: solid;
    border-width: 1.5px;
    padding-left: 1.5%;
    min-height: 2.4em;
    line-height: 2.4em;
    width: 100%;
    margin: 0.5em auto;
    max-width: 400px;
    display: block;
}

.roomInput{
    background-color: white;
    outline: none;
    border: none;
    width: 70%;
    font-size: 1em;
}

.actionButton{
    width: 100%;
    margin: 0.5em auto;
    max-width: 400px;
    display: block;
    height: 2.8em;
    /*! margin: 0.5em 0; */
}

#gamescreen, #dayscreen, #nightscreen{
    display: none;
}

#banner{
    height: 35px;
    padding: 1% 0;
    list-style-type: none;
}

#bannerLogo{
    height: 30px;    
    float: left;
    vertical-align: middle;
}

#currentSettings{
    position: relative;
    display: inline-block;   
    top: -5px;
    text-align: right;
    float: right;
}

#currentSettingsButton{
    position: relative;
    z-index: 10;
    padding: 0.5em 1em;
    cursor:pointer;
    padding-left: 10px;
    width: 60px;
}

#currentSettingsDropdown{
    color: black;
    cursor: auto;
    position: absolute;
    min-width: 200px;
    right: 0;
    top: 0;
    background-color: white;
    outline-style: solid;
    outline-width: 2px;
    outline-color: #eeeeee;
    z-index: 5;
}

#currentSettingsDropdown > div {
    padding: 0.5em 1em;
    position: relative;
    z-index: 7;
    white-space: nowrap;
}

#leaveGameButton {
    color: #c33535;
    cursor: pointer;
}

#gameLog{
    border-style: solid;
    border-width: 1px;
    border-color: #952828;
    background-color: white;
    color: black;
    font-size: 0.8em;
    height: 120px;
    overflow-y: scroll;
}

.logitem{
    padding: 0.2em 0.3em;
}

.logitem:nth-child(even){
    background-color: #eeeeee;
    postion: absolute;
    left: 50px;
}

#radioBox, #activeList{
    width: 102%;
    position: relative;
    left: -1%;
}

.playername{
    display: inline-block;
    box-sizing: border-box;
    width: 48%;
    margin: 1%;
    padding: 0.5em;
    border-color: white;
    border-style: solid;
    border-width: 1.5px;
    border-radius: 3px;
    white-space: nowrap;
    overflow-x: hidden;
    text-overflow: ellipsis;
}

input[type=radio]{
    visibility: hidden;
}

input[type=radio]+label{
    position: relative;
    left: -1em;
}

input[type=radio]+label::before{
    border-color: white;
    border-style: solid;
    border-width: 1.5px;
    border-radius: 50%;
    display: inline-block;
    width: 1em;
    height: 1em;
    content: " ";
    vertical-align: -15%;
    margin-right: 0.5em;
    position: relative;
}

input[type=radio]:checked+label::before{
    background-color: white;
    box-shadow: 0px 0 0 0.2em #424242 inset;
}

#notice{
    text-align: center;
    font-size: 2em;
    font-weight: bold;
}

#copyright{
    width: 100%;
    text-align: center;
    font-size: 0.6em;
    margin-top: 4em;
}
/*input[type=radio]:checked+label::before(2){
    border-color: red;
    border-style: solid;
    border-width: 1.5px;
    border-radius: 50%;
}*/

@media all and (min-width: 620px){

    body {
        width: 80%;
    }

    .playername{
        width: 23%;
    }

}

@media all and (min-width: 920px){

    body {
        width: 60%;
    }

}
