body {
    /* background-color: white;*/
    background: #108ee9;
    background: linear-gradient(rgba(16, 142, 233, 0.67), rgba(0, 0, 0, 0) 40%) fixed no-repeat, url("../images/starfield2012.gif") repeat fixed top center;
    margin: 0;
    font-family: sans-serif;
    color: #ffffff;
    margin-top: 60px;

}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    margin: 20px auto;
    gap: 6px;
    width: 100%;
    max-width: 400px;
}
.grid-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}
.grid-item.dragging {
    z-index: 10;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0.9;
}
.grid-item.over {
    border: 4px dashed rgb(16, 142, 233);
}
@media (max-width: 480px) {
    .grid-container {
        gap: 4px;
    }
}
.grid-item {
    user-select: none;
    -webkit-user-select: none;
}

.menu__dropdown {
    background: rgb(16, 142, 233) !important;
}

.resultsTableHeader {
    width: 10%;
    vertical-align: top;
}

.banner {

    max-width: 1248px;
    margin: 0 auto;
    text-align: center;
}

.banner img {
    max-width: 988px;
    max-height: 140px;
    margin: 0 auto;
    border-radius: 15px;
    width: 100%;
}

.main-section {
    width: 100%;
    margin: 0 auto;
    max-width: 988px;
    text-align: center;
}

.full-section {
    max-width: 1130px;
    margin: 0 auto;
    padding: 10px;
}

.inner-section h2 {
    text-align: center;
}

.inner-section p {
    text-align: center;
}

.half-section, .full-section {
    background: rgba(0, 0, 0, 0.86);
    margin-top: 10px;
    border-radius: 15px;
}

.half-section {
    width: 49%;
    max-width: 550px;
    display: inline-block;
    vertical-align: top;
}

.half-section:first-child {
    margin-right: 1%;
}

.inner-section {
    margin: 10px;
}

/* Featured matches */

.featured-match {
	margin-top: 20px;
	margin-bottom: 20px;
}

.featured-images {
	margin-bottom: 20px;
}

.featured-contestants {
	font-size: 1.5em;
	font-weight: normal;
	margin-top: 30px;
	margin-bottom: 20px;
}

.featured-subtitle {
	margin-bottom: 20px;
	text-align: center;
	font-size: 1.2em;
	line-height: 120%;
}

.featured-description {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	text-align: left;
	width: 85%;
	line-height: 120%;
}


.video-preview {
    text-align: center;
    margin: 0 auto;
}

.center-text {
    text-align: center;
}

.charter_level_1 {
    list-style-type: upper-roman;
}

.charter_level_2 {
    list-style-type: upper-alpha;
}



.nomination_entry {
    display: inline-block;
    margin-top: 10px;
}

.nomination_label {
    padding-right: 8px;
    width: 60px;
}

.nomination_input {
    width: 200px;
}

.nomination_section {
    margin: 20px;
}

.nomination_title {
    text-align: center;
}

.nomination_rule_title {
    margin-left: 10px;
}

.listNoBullets {
    list-style-type: none;
}

.loaderButton {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}


.autonominated {
    color: greenyellow;
    font-style: italic;
}

.nominated {
    color: cyan;
}

.borderline {
    color: #e21248;
}

.nomination_table{
    margin: 0 auto;
}



.lang_flag {
    height: 20px;
    width: 30px;
    vertical-align: middle;
    margin-right: 10px;
}

.voting_standard_contestant {
    display: inline-block;
    width: 150px;
    vertical-align: top;
    border-radius: 15px;
    border: thin solid #108ee9;
    padding: 5px;
    margin-top: 5px;
    height: auto;
}
.voting_captcha_contestant {
    display: inline-block;
    border-radius: 15px;
    border: thin solid #108ee9;
    padding: 5px;
    margin: 2px;
    height: auto;
}
.voting_key_contestant{
    display: inline-block;
    border-radius: 15px;
    padding: 5px;
    height: auto;
}
.voting_dropdown_contestant, .voting_slider_contestant {
    display: inline-block;
    width: 140px;
    vertical-align: top;
    border-radius: 15px;
    border: thin solid #108ee9;
    padding: 5px;
    margin-top: 5px;
}

.slider {
		width: 90%;
}


.standard_voting_arena {
    margin: 10px;
    border-radius: 15px;
    border: thin solid #108ee9;
    display: inline-block;
}

.voting_abstain_btn {
    border-radius: 0 0 15px 15px;
    border: thin solid #108ee9;
    height: 30px;
    text-align: center;
    vertical-align: middle;
    line-height: 30px;
	margin-top: 10px;
}



.voting_contestant_clicked {
    background: #108ee9;
}



.voting_contestant_name {

    margin: 3px;
    vertical-align: middle;
}
.voting_contestant_series {

    margin: 3px;
    font-size: .8em;
    vertical-align: middle;

}
.voting_standard_contestant_avatar, .voting_captcha_contestant_avatar {
    vertical-align: middle;

}
.voting_standard_contestant_avatar img {
    height: 84px;
    /* width: 126px; */
}
.voting_captcha_contestant_avatar img {
    height: 84px;
    border-radius: 5px;
    /* width: 126px; */
}

.voting_standard_contestant_content {
    display: inline-block;
    vertical-align: middle;
    margin-top: 15px;
    margin-bottom: 15px;
    height: 130px;

}
.voting_captcha_contestant_content {
    display: inline-block;
    vertical-align: middle;
    margin-top: 15px;
    margin-bottom: 15px;
    height: 100px;

}


.voting_entry {
    display: inline-block;
    margin-top: 10px;
}

.voting_label {
    padding-right: 8px;
    width: 60px;
}

.voting_input {
    width: 200px;
}

.voting_section {
    margin: 20px;
}

.voting_title {
    text-align: center;
}

.voting_rule_title {
    margin-left: 10px;
}

.voting_demographics_section input[type="radio"] {
    display: none;
}

.voting_demographics_section label, #voting_form_submit, #voting_form_reset {
    display: inline-block;
    padding: 4px 11px;
    font-size: 1.2em;
    cursor: pointer;
    vertical-align: bottom;
    border-radius: 15px;
    border: solid #108ee9 1px;
    margin: 0 5px;
    height: 50px;
    min-width: 80px;
}

.voting_demographics_section label img {
    height: 100%;
    vertical-align: middle;
}

.voting_demographics_section label p {
    vertical-align: middle;
    margin: 0;
    display: inline-block;
    line-height: 50px;
}

.voting_demographics_section input[type="radio"]:checked + label {
    background-color: #108ee9;
}

.avatar_code_img {
    margin: 0;
    padding: 0;
    border-radius: 5px;
}

.avatar_code_arena {
    display: inline-block;
}

.arenaPreviewArena{
    border-bottom: solid darkgray 1px;
    padding: 2px 0px;
}

.arenaPreviewContestant{
    display: inline-block;
    width: 40%;
    margin: 5px;
    
}

.arenaPreviewContestantIcon{
    width: 82px;
    display: inline-block;
}

.arenaPreviewContestantTitle{
    display: inline-block;
    width: 60%;
}

.arenaPreviewContestantName, .arenaPreviewContestantSeries{
    margin: 0;
    text-align: center;
}

.arenaPreviewContestantSeries{
    font-size: .9em;
}

.arenaPreviewContestant * {
    vertical-align: middle;
}

.resultsArenaGroup {
    
    border-bottom: solid darkgray 1px;
}

.resultArenaPosition {
    display: inline-block;
    width: 45%;
    text-align: left;
}
.contestantFlag {
    width: 64px;
}
.contestantInfo {
    display: inline-block;
    vertical-align: middle;
}

.contestantTitle {
    width: 60%;

}

.contestantTitle p {
    margin: 0;

}
.contestantSeries {
    font-size: .85em;
}

.victoryText {
    color: #00d500;
}

.eliminatedText {
    color: red;
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 930px) {
    .half-section {
        width: 100%;
        max-width: 100%;
    }
    

}

@media screen and (max-width: 630px) {
    body {
        font-size: 12px;
    }
    #voting_captcha{
        width: 98%;
    }
    #nomination_form {
        margin: 0;
    }

    .resultArenaPosition{
        width: 100%;
    }
    .resultsArenaGroup{

        overflow-x: scroll;
    }
    .resultsArenaGroup::-webkit-scrollbar {
		display: none;
	}
    .chartMenu::-webkit-scrollbar {
        display: none;
    }
    .nomination_block {
        border-bottom: solid white 1px;
        padding-bottom: 5px;
        max-width: 90%;
        margin: auto;
    }

    .nomination_input {
        width: 90%;
    }

    .nomination_entry {
        width: 95%;
    }

    .voting_block {
        border-bottom: solid white 1px;
        padding-bottom: 5px;
        max-width: 90%;
        margin: auto;
    }

    .voting_input {
        width: 70%;
    }

    .voting_entry {
        width: 95%;
    }

    .voting_demographics_section label {
        width: 70%;
        margin-top: .4em;
    }

    .voting_table{
        min-width: 600px;
    }

    .voting_standard_contestant, .voting_captcha_contestant,.voting_key_contestant,.voting_dropdown_contestant, .voting_slider_contestant {
        width: 80px;
        height: auto;
    }

    .voting_standard_contestant_content {
        display: inline-block;
        vertical-align: middle;
        margin-top: 3px;
        margin-bottom: 3px;
        height: 120px;
    }
    .voting_standard_contestant_avatar img {
        height: auto;
        width: 100%;
    }
    .voting_captcha_contestant_avatar img {
        height: auto;
        width: 100%;
    }
    .voting_contestant_name {
        margin: 2px;
        font-size: .8em;
    }
    .voting_contestant_series {
        margin: 2px;
        font-size: .65em;
    }
    .voting_captcha_contestant_content {
        margin-top: 15px;
        margin-bottom: 15px;
        height: 60px;
    
    }
}


.gallery {
    margin: 30px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: flex-start;
    gap: 5px;

}
.gallery img {


    width: 120px;
    height: auto;
    object-fit: cover;


}
.winner_poster_box {
    width: 120px;
    height: 220px;
}
.winner_name_box {
    font-size: 14px;
    font-weight: bold;
}
.winner_title_box {
    margin-top: 3px;
    font-size: 12px;
}



.showballot {
  max-height: 3000px;
  overflow: hidden;
  transition: max-height 0.5s;
}
 
.hideballot {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s;
}

.showText {
    max-height: 100px;
    overflow: hidden;
    transition: max-height 0.5s;
}

.hideText {
max-height: 0;
overflow: hidden;
transition: max-height 0.5s;
}

.showCaptcha {
    max-height: 800px;
    overflow: hidden;
    transition: max-height 0.5s;
}

.hideCaptcha {
max-height: 0;
overflow: hidden;
transition: max-height 0.5s;
}

.roundMenu{
    width: 100%;
    margin: 15px auto;
}
.chartMenu{
    display: -webkit-flex; /* Safari */
    display: flex;
    max-width: 100%;
    overflow-x: scroll;
    margin: 15px auto;
}

.chartMenu::-webkit-scrollbar {
    width:16px;
    height:16px;
    background-color:#f5f5f500;
}

.chartMenu::-webkit-scrollbar-track
{
    -webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0.3);
    border-radius:10px;
    background-color:#f5f5f500;
}

.chartMenu::-webkit-scrollbar-thumb
{
    border-radius:10px;
    -webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);
    background-color:#555555c2;
}

.buttonItem{
    min-width: 67px;
    border: solid #cdcdcdb9 1px;
    border-radius: 10px;
    margin: 0 .2em 0 .2em;
    vertical-align: middle;
    
}

.active{
    color:rgb(255, 255, 255) ;
    text-decoration:none;
}


.join{
    color: rgb(99, 148, 203);
    text-decoration:none;

}

@media (any-hover: hover){
	.join:hover{
        color:rgb(255, 213, 0);
        
    }
    .active:hover{
        color:rgb(255, 213, 0);
    }
    .arenaStats:hover {
        background-color: rgba(38, 38, 38);
        cursor: pointer;
        cursor: hand;
    }
    .voting_standard_contestant:hover {
        background: #108ee9;
        cursor: pointer;
    }
    .voting_captcha_contestant:hover {
        background: #108ee9;
        cursor: pointer;
    }
    .voting_abstain_btn:hover {
        background: #108ee9;
        cursor: pointer;
    }

}