html, body {
    height: 100%;
    font-family: Arial, Helvetica, Sans-serif;
}

body {
    width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-size: 16px;
    background-image: url('images/bgr.jpg');
    background-repeat: repeat;
}

section {
    position: relative;
}

section.header {
    height: 3em;
    width: 100%;
    background-color: #666;
    position: fixed;
    z-index: 100;
}

section.header .button {
    box-sizing: border-box;
    height: 100%;
    padding: 0.1em 0.5em;
    text-decoration: none;
    font-size: 1.8em;
    color: #ddd;
    background-color: #666;
    cursor: pointer;
}

section.header .button:hover {
    color: white;
}

section.header h1 {
    display: inline-block;
    color: white;
    font-size: 1.5em;
    line-height: 2em;
    padding: 0;
    margin: 0 0 0 1em;
}

.content {
    position: absolute;
    top: 3em;
}

.contentt:after {
    content: " ";
    display: table;
    clear: both;
}

#home {
    float: left;
}

#menu {
    float: right;
}

section.header .network {
    display: block;
    float: right;
    height: 14px;
    width: 14px;
    background-color: transparent;
    position: relative;
    top: 1.5em;
    background-repeat: no-repeat;
    background-size: cover;
}

.settings {
    position: absolute;
    max-width: 500px;
    width: 100%;
    right: 0;
    top: 3em;
    background-color: #666;
    padding: 15px;
    box-sizing: border-box;
    display: none;
    color: white;
    border: 3px solid white;
    z-index: 100;
}

/*
.settings .lbl-column {
    display: inline-block;
    width: 50%;
    text-align: right;
}
*/
.settings label {
    display: block;
    font-size: 1.3em;
    padding: 0.4em 0;
}

.settings input[type=text],
.settings select {
    width: 90px;
    font-size: 1em;
    box-sizing: border-box;
    padding: 0.1em 0.2em;
}

#cta-start {
    margin: auto;
    font-size: 1.2em;
}

#defaults {
    display: none;
    visibility: none;
}

section.reciever {
    height: 2em;
    font-size: 1em;
    line-height: 2em;
}

section.reciever .button {
    background-color: red;
    color: #ddd;
    background-color: rgba(26, 26, 26, 0.5);
    border-radius: 2px;
    font-size: 1.2em;
    text-decoration: none;
    padding: 0.1em 0.3em;
    margin: 0 0.2em;
    height: 100%;
}

section.reciever .button:hover {
    background-color: rgba(26, 26, 26, 0.7);
    color: white;
}

section.reciever #scoresId {
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 3px;
    margin: 0 0.3em 0 0.1em;
    font-size: 1.5em;
    width: 5em;
    text-align: center;
    letter-spacing: 0.16em;
}

section.reciever .err-msg {
    color: #a00;
}

.recieved-from-server .name input {
    margin: 0;
}

.viewport {
    margin: 3em auto 0 auto;
    max-width: 1250px;
}

.recieved-from-server .viewport {
    margin-top: 0;
}

@media (max-width: 420px) {
    .settings label span,
    .settings input[type=text],
    .settings select {
        display: block;
        width: 100%;
    }
    .settings .lbl-column {
        text-align: left;
        width: 80%;
    }

    body {
        font-size: 12px;
    }
}

.rules {
    display:none;
    position: absolute;
    width: 100%;
    top: 3em;
    box-sizing: border-box;
    padding: 1em;
    text-indent: 1em;
}

.rules .unsupported {
    color: #555;
    text-decoration: line-through;
}

/* Common clases */
.button:hover {
    color: white;
    outline: none;
}

.clearfix:after {
    content: " ";
    display: table;
    clear: both;
}