html, body {
    margin: 0;
    padding: 0;
    background-color: #fffcc7;
    font-family: Arial, serif;
    font-size: 13px;
}

#logo {
    width: 350px;
    height: 120px;
    margin: auto;
}

#snl_play {
    position: relative;
    display: flex;
    justify-content: center;
    width: 776px;
    height: 433px;
    margin: auto;
    overflow: hidden;
}

#snl_title {
    text-align: center;
    font-size: 25px;
    color: #fffcc7;
    margin-top: 20px;
}

#snl_play.menu {
    width: 400px;
}

#snl_games {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    background-color: black;
}

#snl_board {
    display: none;
}

#snl_dice {
    position: absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    pointer-events: none;
}

.player {
    position: absolute;
    border-radius: 100%;
    box-shadow: -1px 0 3px black;
}

#snl_message {
    position: absolute;
    display: none;
    margin:auto;
    background-color: rgba(255, 252, 199, 0.9);
    border-radius: 15px;
    font-size: 20px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
}

#snl_results {
    position: absolute;
    display: none;
    font-size: 20px;
    padding: 10px;
    background-image: url('img/podium.png');
    width: 100%;
    height: 100%;

    background-repeat: no-repeat;
    background-position: 170px;
}

#snl_results .place {
    width: 35px;
    height: 35px;
    position: absolute;
    border-radius: 100%;
}

#snl_results #place_1 {
    top: 95px;
    left: 360px;
}

#snl_results #place_2 {
    top: 150px;
    left: 250px;
}

#snl_results #place_3 {
    top: 160px;
    left: 467px;
}

#snl_results #summary {
    top: 267px;
    position: absolute;
    text-align: center;
    left: 203px;
    background-color: #afafaf;
    width: 325px;
    padding: 10px;
    font-size: 16px;
}

#snl_message_timeout {
    height: 5px;
    background-color: black;
    display: inline-block;
    border-radius: 2px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

#snl_tab {
    display: none;
    flex: 1;
    flex-direction: column;
}

#snl_log {
    overflow: auto;
    flex: 1;
    padding: 5px;
    text-align: left;
}
.snl_log {
    opacity: 0.3;
    font-size: 10px;
}

#snl_chat {
    height: 60px;
    border-top: 1px solid #804f38;
    display:flex;
}

#snl_chat textarea {
    flex:1;
    background-color: #fffcc7;
    border: none;
}
#snl_chat button {
    width:50px;
    background-color: #fffcc7;
    border: 1px solid #804f38;
    border-top: none;
    border-bottom: none;
    color: #804f38;
}

#createGame, #startGame, #singlePlayer {
    margin-top: 20px;
    margin-bottom: 10px;
}

#joinGame {
    margin-top: 10px;
    margin-bottom: 10px;
}

#back,#multiPlayer {
    margin-top: 20px;
    margin-bottom: 20px;
}

#back_results {
    width: 330px;
    margin-top: 10px;
}

#back_results .innerbigbutton {
    width: 310px;
    margin-left: 1px;
}

label {
    width: 100px;
    display: inline-block;
}

input, select {
    color: #fffcc7;
    background-color: black;
    border: 1px solid #fffcc7;
    padding: 5px;
    font-size: 15px;
    border-radius: 5px;
}

select {
    width: 220px
}

input {
    width: 205px;
}

.formline {
    margin-top: 10px;
    width: 320px;
    color: #fffcc7;
    font-size: 15px;
}

.gameline {
    width: 320px;
    color: #fffcc7;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    padding: 5px;
}

.gameline:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.gameline > .gamename {
    flex: 1;
}

.gameline > .gametemplate {
    width: 100px
}

.gameline > .gameamount {
    width: 50px;
}

.gamelineheader {
    border-bottom: 1px solid #fffcc7;
    margin-top: 10px;
    cursor: default;
}

.gamelineheader:hover {
    background-color: rgba(255, 255, 255, 0);
}

/*Buttons from tv*/
@font-face {
    font-family: Blair;
    src: url('../fonts/BlairMdITC TT Medium.eot?#iefix') format('embedded-opentype'),
    url('../fonts/BlairMdITC TT Medium.woff') format('woff'),
    url('../fonts/BlairMdITC TT Medium.ttf') format('truetype'),
    url('../fonts/BlairMdITC TT Medium.svg#Blair') format('svg');
}

.bigbutton:hover {
    cursor: pointer;
}

.bigbutton {
    border-radius: 5px;
    width: 335px;
    height: 50px;

    box-shadow: 0 0 5px black;

    background: #887266; /* Old browsers */
    background: -moz-linear-gradient(top, #887266 0%, #371200 10%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #887266), color-stop(10%, #371200)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #887266 0%, #371200 10%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #887266 0%, #371200 10%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #887266 0%, #371200 10%); /* IE10+ */
    background: linear-gradient(to bottom, #887266 0%, #371200 10%); /* W3C */
}

.innerbigbutton {
    width: 319px;
    height: 36px;
    margin-top: 7px;
    margin-left: 8px;
    display: inline-block;
    border-radius: 1px;

    text-align: center;

    box-shadow: inset 0 0 1px black;

    background: #efeaa8; /* Old browsers */
    background: -moz-linear-gradient(top, #efeaa8 0%, #cec128 40%, #cec128 80%, #efeaa8 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #efeaa8), color-stop(40%, #cec128), color-stop(80%, #cec128), color-stop(100%, #efeaa8)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #efeaa8 0%, #cec128 40%, #cec128 80%, #efeaa8 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #efeaa8 0%, #cec128 40%, #cec128 80%, #efeaa8 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #efeaa8 0%, #cec128 40%, #cec128 80%, #efeaa8 100%); /* IE10+ */
    background: linear-gradient(to bottom, #efeaa8 0%, #cec128 40%, #cec128 80%, #efeaa8 100%); /* W3C */
}

.innerbigbutton:hover {
    background: #efeaa8; /* Old browsers */
    background: -moz-linear-gradient(top, #efeaa8 0%, #cec128 57%, #cec128 80%, #efeaa8 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #efeaa8), color-stop(57%, #cec128), color-stop(80%, #cec128), color-stop(100%, #efeaa8)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #efeaa8 0%, #cec128 57%, #cec128 80%, #efeaa8 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #efeaa8 0%, #cec128 57%, #cec128 80%, #efeaa8 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #efeaa8 0%, #cec128 57%, #cec128 80%, #efeaa8 100%); /* IE10+ */
    background: linear-gradient(to bottom, #efeaa8 0%, #cec128 57%, #cec128 80%, #efeaa8 100%); /* W3C */
}

.innerbigbutton:active {
    box-shadow: inset 0 0 10px black;
}

.innerbigbutton span {
    display: inline-block;
    margin-top: 5px;
    font-family: Blair, serif;
    font-size: 16px;
    text-shadow: -1px 0 #dfd668, 0 1px #dfd668, 1px 0 #dfd668, 0 -1px #dfd668;
    color: #000000;
}

.innerbigbutton span::first-letter {
    font-size: 20px;
}