html {
    overflow-y: scroll;
}
body {
	margin: 0;
    font-family: sans-serif;
    background: url('/assets/twc_bg.jpg') center no-repeat fixed;
    background-size: cover;
}
* {
	color: #fff;
	text-decoration: none;
}
button {
	background-color: #333;
}
select {
	background-color: #000;
}
main {
    margin: 0px auto 0px auto;
    background-color: rgba(34, 34, 34, 0.5);
    box-shadow: 4px 4px 4px 2px #88888830;
    -webkit-box-shadow: 4px 4px 4px 2px #88888830;
    max-width: 100%;
    min-width: 50%;
    padding: 15px;
}
h1 {
    margin-top: 64px;
}
main a {
	color: #19f;
}
header a {
    color: #fff;
}
aside {
    float: right;
    width: 20%;
}
input {
	background-color: #000;
}
table {
    border: 1px solid white;
}
td {
    border-top: 1px solid white;
    padding-left: 4px;
    padding-right: 4px;
}
.moverdowner {
	height: 0;
	background-color: #222;
}
.header {
	background-color: #222;
	box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
    position: absolute;
	width: 100%;
    z-index: 1;
}
.logo {
    width: 50%;
}
.banner {
    width: auto;
    height: 60px;
}
.header ul {
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
	background-color: #222;
}
.header ul .subpage {
	display: block;
	text-decoration: none;
}
.header ul .subpage:not(.flag_container) {
    padding-left: 20px;
    padding-right: 20px;
    line-height: 58px;
}
.header ul .subpage:hover, .menu-icon:hover, .lang-icon:hover {
	background-color: #444;
}
.header ul .subpage:active, .menu-icon:active, .lang-icon:active {
	background-color: #888;
}
.header .logo {
	float: left;
	display: block;
	font-size: 2em;
	padding-left: 20px;
}
.header .menu, .header {
	clear: both;
	max-height: 0;
	transition: max-height .1s ease-out;
}
.header .menu-icon {
	padding: 28px 20px;
	position: relative;
	float: right;
	cursor: pointer;
}
.header .lang-icon {
    padding: 7px 7px 6px 6px;
    position: relative;
    float: right;
    cursor: pointer;
}
.header .menu-icon .nav-icon, .header .lang-icon .nav-icon {
	background: #fff;
	display: block;
	height: 2px;
	width: 18px;
	position: relative;
}
.header .menu-icon .nav-icon:before {
	background: #fff;
	content: "";
	display: block;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 5px;
}
.header .menu-icon .nav-icon:after {
	background: #fff;
	content: "";
	display: block;
	height: 100%;
	width: 100%;
	position: absolute;
	bottom: 5px;
}
.header .menu-btn, .lang-btn {
	display: none;
}
.header .menu-btn:checked ~ #main_list {
	max-height: 400px;
}
.header .lang-btn:checked ~ #lang_list {
    max-height: 400px;
}
.language {
    color: white;
    width: 100%;
    height: 100%;
    display: inline-block;
}
.selected {
    background: rgba(255, 255, 0, 0.5);
}
.tooltip {
    font-weight: initial;
    visibility: hidden;
    background-color: #000;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    top: 100%;
}
.flag {
    position: relative;
}
.flag .tooltip {
    left: 0%;
    margin-left: -60px;
}
.flag:hover .tooltip {
    visibility: visible;
}
.flag_container {
    margin-top: 0px;
    margin-bottom: 0px;
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown_button {
    text-decoration: none;
    cursor: default;
}
.dropdown_content {
    display: none;
    position: absolute;
    border: 1px solid #000;
    min-width: 165px;
    opacity: 1.0;
    z-index: 1;
}
.dropdown_content {
    background-color: #222;
}
.dropdown_content p:not(.selected) a:hover {
    background-color: #444;
}
.dropdown_content p:not(.selected) a:active {
    background-color: #888;
}
.dropdown_content p a {
    display: inline-block;
    width: 100%;
}
.dropdown:hover .dropdown_content {
    display: block;
}
.languages {
    display: none;
}
#language_small {
    display: list-item;
}
#language_link {
    padding-left: 15px;
    padding-right: 15px;
}
@media (min-width: 1050px) {
    main {
        margin-top: 20px;
        max-width: fit-content;
    }
    h1 {
        margin-top: inherit;
    }
    .languages {
        display: block;
    }
	.header li {
		float: left;
	}
    .logo, .banner {
        width: initial;
    }
	.header .menu, .header .languages {
		clear: none;
		float: right;
		max-height: none;
	}
	.header .menu-icon, .header .lang-icon, .mobile_br {
		display: none;
	}
	.header ul .subpage {
		border-left: 1px solid #aaa;
	}
	.moverdowner {
		height: 58px;
	}
    #lang_list {
        display: none;
    }
}
iframe {
    float: right;
}
.cards_inner {
    flex: 0 0 33%;
    display: flex;
    flex-direction: column;
}
.card {
    border: 1px solid #fff;
    border-radius: 5px;
    box-shadow: 2px 2px 2px 1px #888;
  	-webkit-box-shadow: 2px 2px 2px 1px #888;
    margin: 0px auto 25px auto;
    display: block;
    /* Absolute limit. Any wider and the site layout breaks */
    width: 330px;
    overflow: hidden;
}
.card_link:hover {
    background-color: #555;
}

.card:hover {
    box-shadow: 6px 6px 6px 3px #888;
    -webkit-box-shadow: 6px 6px 6px 3px #888;
}
.bottom {
    text-align: center;
    font-size: 11px;
    color: #bbb;
    clear: both;
}
.card_link {
    display: inline-block;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}
.card_link_split {
    /* For some reason, using a value just 1px bigger makes it stack and clip into the card below.
    Number is (330 / 2) - 3 */
    width: 163px !important;
}
.card_link_split_left {
    margin-left: -1px;
}
.card_link_split_right {
    margin-right: -1px;
}
.title {
    display: flex;
    align-items: center;
    justify-content: left;
}
.language_small {
    font-size: 14px;
    margin: 0px 10px 0px 10px;
}
.large {
    font-size: 20px;
}
.huge {
    font-size: 32px;
}
.icon {
    margin-right: 4px;
}
#countdowns {
    padding: 20px 0px 20px 0px;
    text-align: center;
}
#countdown_start {
    font-family: serif;
    font-size: 48px;
}
#countdown_title_start, #countdown_title_match, #current_match {
    display: none;
}
#match_category {
    color: #19f;
    text-decoration: underline;
}
#cards {
    text-align: center;
    display: flex;
    flex-direction: row;
}
@media only screen and (max-width: 1850px) {
    .thumbnail {
        width: 300px;
        height: 192px;
    }
    .large {
        font-size: 16px;
    }
    .icon {
        margin-right: 0px;
    }
}
@media only screen and not (min-width: 1050px) {
    #cards {
        flex-direction: column;
    }
    .card {
        width: 300px;
    }

    .card_link_split {
        width: 100% !important;
        display: block;
    }

    .card_link_split_left {
        margin-left: 0;
    }
    .card_link_split_right {
        margin-right: 0;
    }

}
@media only screen and (max-width: 750px) {
    .card {
        width: 200px;
    }
    .thumbnail {
        width: 200px;
        height: 128px;
    }
}
