html,
body {
    background-color: #27264E;
    font-family: Lato, Oxygen, Open Sans, Arial, sans serif;
    margin: 0px;
}

#header {
    margin-top: 10px;
    margin-bottom: 25px;
    background-color: #f9db00;
    box-shadow: 0 7px 0px 0px #C1B421;
    padding: 0;
    border-radius: 5px;
}

.footer {
    background-color: #72398A;
    box-shadow: 0 7px 0px 0px #5B2E6E;
}

.footer:hover {
    background-color: #DE208B;
    box-shadow: 0 7px 0px 0px #B11A6F;
}

.container {
    margin: auto;
    width: 900px;
    max-width: 100%;
    padding-bottom: 10px;
}
.content {
    border-radius: 0px 0px 5px 5px;
    padding: 10px;
    transition-duration: 0.4s;
}

.content.blue {
    background-color: #086a9a;
    box-shadow: 0 7px 0px 0px #295179;
}

.content.yellow {
    background-color: #F9CD02;
    box-shadow: 0 7px 0px 0px #9A7B02;
}

.content.red {
    background-color: #ED7D51;
    box-shadow: 0 7px 0px 0px #B3603D;
}

.content.green {
    background-color: #2e9146;
    box-shadow: 0 7px 0px 0px #25733A;
}

p {
    background-color: rgba(0, 0, 0, .2);
}

p:empty {
    color: rgba(255, 255, 255, 0);
    width: 0;
    margin-top: 0;
    opacity: 0;
    font-size: 0;
}

p,
h2,
li,
tr {
    color: #fff;
    padding: 7px;
    border: 0;
    border-radius: 5px;
    transition-duration: 0.4s;
}

p:hover,
h2:hover {
    background-color: rgba(0, 0, 0, .4);
    -webkit-transition-delay: 0s !important;
    transition-delay: 0s !important;
}

.leaderboardRow:hover {
    background-color: rgba(0, 0, 0, .4);
    -webkit-transition-delay: 0s !important;
    transition-delay: 0s !important;
}

h2 {
    background-color: rgba(0, 0, 0, .3);
}

h3 {
    margin-top: 0;
}

h3,
legend,
label {
    color: #fff;
}

.top {
    padding-left: 5px;
    border-radius: 5px 5px 0 0;
    margin-bottom: 0px;
}
.bottom {
    border-radius: 5px;
    margin-top: 0px;
	margin-bottom: 5px;
    background-color: rgba(0, 0, 0, .2);
}

ul {
    background-color: #303c44;
}

li {
    display: inline-block;
    font-size: 1.5em;
    font-weight: bold;
    border-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-top: 5px;
}

.tab {
    cursor: default;
}

.tab.blue:hover {
    background-color: rgba(41, 81, 121, 0.5);
}

.tab.yellow:hover {
    background-color: rgb(193, 180, 33, 0.5);
}

.tab.red:hover {
    background-color: rgb(237, 125, 81, 0.5);
}

.tab.green:hover {
    background-color: rgba(41, 130, 63, 0.5);
}

.activeTab.blue,
.activeTab.blue:hover {
    background: #086a9a !important;
}

.activeTab.yellow,
.activeTab.yellow:hover {
    background: #F9CD02 !important;
}

.activeTab.red,
.activeTab.red:hover {
    background: #ED7D51 !important;
}

.activeTab.green,
.activeTab.green:hover {
    background: #2e9146 !important;
}

#rateStatus {
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}

input[type=text] {
    width: calc(100% - 40px);
    padding: 20px;
    margin: 20px;
    margin-top: 10px;
    box-sizing: border-box;
    border: 0;
    border-radius: 8px;
    resize: none;
    font-size: x-large;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 7px 0px rgba(0, 0, 0, 0.3);
    transition-duration: 0.4s;
}

input[type=text]:hover,
input[type=text]:focus {
    background-color: rgba(255, 255, 255, 1);
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

a {
    color: #fff;
}

#gameIDBookmark {
    text-transform: uppercase;
    color: #fff;
}
#gameIDBookmark:hover {
    text-shadow: 0 0 5px #fff;
}

#alert {
    position: fixed;
    left: 0;
    right: 0;
    top: 25%;
    margin-left: auto;
    margin-right: auto;
    max-width: 450px;
	padding-left: 10px;
	padding-right: 10px;
    transition-duration: 0.4s;
}

#alertTitle {
    border-radius: 5px 5px 0px 0px;
    background-color: #F5D229;
    display: inline-block;
    padding: 10px 20px 10px 20px;
    margin-left: 20px;
    color: #5A2023;
}

#alertText {
    background-color: #F1F1E3;
    border: 4px solid #F5D229;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 7px 0px rgba(0, 0, 0, .3);
    color: #5A2023;
    text-align: center;
}

#alertContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition-duration: 0.4s;
}

#dismissAlert {
    border-radius: 40px;
    box-shadow: none;
    background-color: #DADACD;
    border: 3px solid #DADACD;
    max-width: 150px;
    padding: 10px;
    margin-top: 20px;
    font-size: medium;
}

#dismissAlert:hover {
    background-color: #5A2023;
    color: #fff;
    border: 3px solid #F5D229;
    width: 35%;
}

#dismissAlert:active {
    color: #5A2023;
    transform: translateY(0px);
    background-color: #F5D229;
}

.kncbtn {
    border-radius: 40px;
    box-shadow: none;
    background-color: #E9E9DB;
    border: 3px solid #E9E9DB;
    padding: 10px;
    margin-top: 20px;
    font-size: medium;
}

.kncbtn:hover {
    max-width: 100px;
    background-color: #5A2023;
    color: #fff;
    border: 3px solid #F5D229;
    width: 35%;
}

.kncbtn:active {
    max-width: 100px;
    color: #5A2023;
    transform: translateY(0px);
    background-color: #F5D229;
}

button {
    width: 35%;
    max-width: 250px;
    padding: 20px;
    margin: 0 auto;
    margin-top: 5px;
    box-sizing: border-box;
    border: 0;
    border-radius: 10px;
    resize: none;
    font-size: large;
    background-color: #FFE500;
    color: #5A2023;
    text-align: center;
    display: block;
    transition-duration: 0.4s;
    box-shadow: 0 7px 0px rgba(0, 0, 0, .3);
    opacity: 1;
}

button:hover {
    background-color: #FFFF85;
    width: 36%;
    max-width: 260px;
}



button:active,
button:disabled {
    transition-duration: 0.2s;
    width: 36%;
    max-width: 260px;
    transform: translateY(5px);
    box-shadow: 0 3px 0px rgba(0, 0, 0, .3);
    background-color: #313244;
    color: #fff;
    width: 35%;
}

#getLevel {
    margin-top: 0;
    margin-bottom: 5px;
}

button:disabled#getLevel,
button:disabled#rateLevelSubmit,
button:disabled#submitLevelSubmit {
    transition-duration: 0.6s;
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
    color: rgba(255, 255, 255, 0);
    background-color: #313244;
    width: 0;
    padding: 0;
    margin-top: 0;
    opacity: 0;
    font-size: 0;
}

@media screen and (max-width: 920px){
	body {
		width: calc(100% - 20px);
		margin: auto;
	}
}

@media screen and (max-width: 700px) {
    button,
    button:active,
    button:disabled {
        width: 38%;
    }
    button:hover {
        width: 40%;
    }
}

@media screen and (max-width: 550px) {
    button,
    button:active,
    button:disabled {
        width: 52%;
    }
    button:hover {
        width: 54%;
    }
	body {
		width: 100%;
	}
	#header {
		margin-top: 0px;
		border-radius: 0 0 5px 5px;
	}
}

@media screen and (max-width: 420px) {
    button,
    button:active,
    button:disabled {
        width: 60%;
    }
    button:hover {
        width: 62%;
    }
    #content {
        max-width: calc(100% - 20px);
        border-radius: 0px;
    }
}

@media screen and (max-width: 350px) {
    button,
    button:active,
    button:disabled {
        width: 80%;
    }
    button:hover {
        width: 83%;
    }
    .hsm {
        display: none;
    }
}

#ssm {
    display: none;
}

@media screen and (max-width: 475px) {
    #ssm {
        display: initial;
    }
}

hr {
    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 1px;
}

fieldset {
    border: 3px solid rgba(0, 0, 0, .2);
    border-radius: 5px;
    transition-duration: 0.4s;
    background-color: rgba(0, 0, 0, .04);
}

fieldset:hover,
fieldset:active,
fieldset:focus {
    border-color: rgba(0, 0, 0, .4);
}

div.stars {
    width: 270px;
    display: block;
    background-color: white;
    margin: 0 auto;
    text-align: center;
}

input.star {
    display: none;
}

label.star {
    float: right;
    padding: 10px;
    font-size: 36px;
    color: rgba(255, 255, 255, 0.7);
    transition: all .2s;
}

input.star:checked ~ label.star:before {
    content: '\f005';
    color: #FFCC00;
    transition: all .25s;
    text-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}

input.star-1:checked ~ label.star:before {
    color: #FF6600;
}

input.star-2:checked ~ label.star:before {
    color: #FF8000;
}

input.star-3:checked ~ label.star:before {
    color: #FF9900;
}

input.star-4:checked ~ label.star:before {
    color: #FFB300;
}

input.star-5:checked ~ label.star:before {
    color: #FFCC00;
	
}

label.star:hover {
    transform: rotate(-15deg) scale(1.3);
}

label.star:before {
    content: '\f006';
    font-family: FontAwesome;
}

.leaderboard {
    width: 100%;
    border-spacing: 0px 5px;
	table-layout: fixed;
}

.leaderboard td {
    padding: 2px;
}

.leaderboardRow {
    background-color: rgba(0, 0, 0, .2);
}

.leaderboardRow td:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.leaderboardIndex {
    font-weight: bold;
    text-align: center;
	width: 20px;
}

.leaderboardName {
    display: block;
}

.leaderboardLikes,
.leaderboardLikesTotal {
    display: inline-block;
    margin-right: 20px;
}

.leaderboardLikes::before {
    content: "Likes: ";
    color: chartreuse;
}
.leaderboardLikesTotal::before {
    content: "Total Likes: ";
    color: lightgreen;
}

.leaderboardThumbnail a {
    overflow: hidden;
    height: 68px;
    display: block;
    margin: 4px;
}

.leaderboardThumbnail img {
    /* height: 50px; */
    /* clip: rect(0px,50px,100px,0px); */
    /* position: absolute; */
    transform: translateY(-11px);
}

.leaderboardThumbnail {
	width: 130px;
}

td.leaderboardDescription {
    padding-left: 10px;
	word-wrap: break-word;
}

.costume {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
    image-rendering: optimizeSpeed;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: pixelated;
    position: absolute;
}

#kbtns {
    position: fixed;
    bottom: 0px;
    z-index: 999;
    bottom: 0px;
    left: 0;
    right: 0;
    display: none;
}

.kncbtn {
    max-width: 100px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .6);
}

tr td:first-child {
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

tr td:last-child {
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 5px;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

button, .noselect {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#gameIDSpan {
	text-transform: uppercase;
}

.spinner {
  width: 40px;
  height: 40px;
  position: relative;
  margin: -10px auto 5px auto;
}

.double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #EEE;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  
  -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

@-webkit-keyframes sk-bounce {
  0%, 100% { -webkit-transform: scale(0.0) }
  50% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bounce {
  0%, 100% { 
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 50% { 
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}