* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border:0;

}

html {
    width: 100%
}

body {
    width: 100%;
    background: rgb(206, 212, 216);
    font-size: 18px;
    color: #1d2a3b;
}

img#logo {
    position: absolute;
    height: 150px;
    width: auto;
    top: 10px;
    left: 30px;
}

img#joy {
    position: absolute;
    height: 132px;
    width: auto;
    top: 10px;
    left: 990px;
}


#header {
    background: #ffbe54;
    position: relative;
    height: 80px;
    top: 0px;
    left: 0px;
    width: 100%;
    font-size: 20px;
    min-width: 1140px;
}

#header>h1 {
    font-family: 'Black Han Sans', sans-serif;
    display: block;
    position: absolute;
    top: 15px;
    left: 200px;
    color: #000;
    line-height: 1em;
    font-weight: 400;
    font-size: 40px;
}

#year {
    font-family: 'Black Han Sans', sans-serif;
    display: block;
    position: absolute;
    top: 38px;
    left: 800px;
    color: #ffbe54;
    line-height: 1em;
    font-weight: 400;
    font-size: 66px;
}


#menu {
    position: absolute;
    top: 50px;
    width: 100%;
    height: 60px;
    background-color: #000;
    box-shadow: 0px 3px 3px #888;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    min-width: 1140px;
}

ul {
    list-style: none;
}



#menu>ul {
    position: absolute;
    display: block;
    overflow: visible;
    left:204px;
    top:36px;
}

#menu>ul>li {
    display: block;
    float:left;
    margin-right: 30px;
    list-style: none;
}

#menu>ul>li>a {
    color:#aaa;
    font-weight: 800;
    line-height: 1em;
}

#content {
    position: absolute;
    top:140px;
    left:203px;
    right:0px;
    width: 900px;
    font-family: 'Kanit', sans-serif;
    float:left;
}   

p {
    clear: both;
    margin-bottom: 1em;
}

a {
    text-decoration: none;
    color:rgb(156, 115, 0)
}


a:hover {
    text-decoration: underline;
    color:rgb(156, 57, 0)
}

#smart-button-container {
    width: 400px;
    margin: 0 auto;
}

h2{
    font-size: 33px;
    margin-bottom: 1em;
    border-bottom: 3px solid black;
}


.checkerblock {
    position: absolute;
    background-color: #1d2a3b;
}

ul.gamelist {
    width: 100%;
}

ul.gamelist>li {
    width: 100%;
    background-color: rgb(163, 191, 216);
    padding: 6px;
    margin-bottom: 6px;
    clear:both;
    overflow: auto;
}

.gamelabel {
    font-family: 'Kanit', sans-serif;
    float: left;
}

.gamelabel>div {
    clear: left;
    width: 400px;
    margin-left: 20px;
    line-height: 1.2em;
}

.gamelabel>div>a {
    color:rgb(77, 128, 172);
    text-decoration: underline;
}
.gamename {
    font-size: 28px;
    font-weight: 700;
}

.gamedate, .gamedesc {
    font-size: 13px;
}

.gameauthor, .gamedesc {
    margin-bottom: 1em;
}

li.current>a {
    color:rgb(214, 157, 0) !important
}

.gameimg {
    float:left;
    width:336px;
    height: 240px;
    /*
    width:336px;
    height: 120px;
    */
}

.voteimg {
    height: 120px;
    width: auto;
}

.gamefloppy {
    float:right;
    width:40px;
    cursor: pointer;
}

ol {
    list-style-position: outside;
    margin:1em 0;
    margin-left: 1em;
    
}

ol>li {
    margin-bottom: .5em;
    padding-left: 1em;
    line-height: 1.2em;
}

ol>li>ul {
    list-style: square;
    list-style-position: outside;
    margin:1em 0;
    margin-left: 1em;
}

#jury {
    float: right;
    margin-top: 12px;
    border-bottom: 20px solid #fff;
    opacity: 0.7;
    padding-right: 20px;
    padding-left: 10px; 
}

#daycount {
    float: right;
    margin-top: 4px;
    opacity: 0.7;
    font-size: 34px;
    font-weight: 900;
    padding-right: 0px;
    padding-left: 10px; 
    color:white;
    line-height: 1.2em;
    text-align: center;
    text-shadow: 1px 1px 1px #aaa; 
    width: 450px;
}

.member {
    float: left;
    width: 70px;
    height: 80px;
    position: relative;
    padding-top: 60px;
}

.member>img {
    position: absolute;
    right: 0;
    bottom:0;
    height: 80%;
}

.member>.memname {
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: -19px;
    left: 10px;
    background-color: rgb(151, 156, 160);
    font-size: 13px;
    color: transparent;
    text-shadow: 0px 2px 3px rgba(255, 255, 255, 0.8);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;

}

.member>.votecard {
    width: 30%;
    height: 30%;
    background-color: #fff;
    position: absolute;
    text-align: center;
    font-size: 20px;
    line-height: 120%;
    color: rgb(206, 212, 216);
    border-radius: 5px;
    top:0;
    font-weight: 600;
    left:0;
    box-shadow: 0px 1px 1px #888;
}

.warning {
    font-weight: 600;
    color:rgb(184, 53, 14)
}


input,button {
    padding: 5px 15px;
    border-radius: 2px;
    box-shadow: 1px 1px 1px #888;
}

input[type='checkbox'] {
    margin-right: 1em;
}

#votinglist {
    margin-top: -1em
    
}

.voterdiv {
    font-size: 14px;
    clear: right;
    float: right;
    margin-bottom: 0.5em;
}

.votersel {
    font-size: 14px;
    background-color: #ffbe54;
    font-weight: 600;
    box-shadow: 1px 1px 1px #888;
    padding: 4px;

}

.votedone {
    background-color: #99c587;
}

.back {
    display: block;
    float: right;
    clear: right;
}

.endVoting {
    margin: 5px 0;
    float: right;
    cursor: pointer;
}

.invisible {
    display: none;
}