/* fastforza 2011 */

body 
{
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	background-color: #000609;
	background-image: url("/images/portalbck.jpg");
	background-size: cover !important;
    background-attachment: fixed;
	color: #FFF;
	font-family: Ubuntu, Tahoma, Helvetica, Arial !important;
	font-weight: 300;
	line-height: 20px;
	background-position: center;
	padding: 60px 0;
}

h1 {
	font-weight: 300;
	letter-spacing: -2px;
    font-size: 36px;
	    line-height: 30px;
}

h2 {
	font-weight: 300;
	letter-spacing: -2px;
	font-size: 36px;
	color: #eee;
	text-shadow: 0 0 5px rgba(255, 255, 255, 0);
	    margin: 15px 0 20px 0;
}

h2:hover {
	text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
}

h2 span {
	font-weight: 300;
	letter-spacing: -2px;
	font-size: 36px!important;
	color: #ffe601;
}

a img
{
	padding: 0px;
	margin: 0px;
	vertical-align: middle;
	border: 0px;
	display: inline-block;
}

a
{
	text-decoration: none;
	outline: medium none;
	color: #7ad5ff;
}

a:hover {
	color: #006da8;
}


div#discord {
	filter: drop-shadow(0px 0px 5px rgba(255, 255, 255, 0));
	line-height: 32px;
	font-weight: 300;
	letter-spacing: -2px;
	font-size: 32px;
	color: #eee;
	text-align: center;
	margin: 40px 0 0 0;
}

#discord img {
	width: 32px;
	margin: auto;
    vertical-align: middle;
}

#discord span {
	vertical-align: middle;
}

div#discord:hover {
	filter: drop-shadow(0px 0px 5px rgba(255, 255, 255, 0.6));
}

div.gamesection {
	text-align: center;
	margin: 100px 0 0 0;
	border-radius: 20px;
	border: 1px solid;
}

div.gamesection.gs-small {
	margin: 60px 0 0 0;
}

.mxbutton {
	display: flex;
    justify-content: center;
}

.mxbutton a {
	background: #002d46;
    position: relative;
    display: block;
    width: fit-content;
    margin: 20px auto;
    padding: 10px;
}

.mxbutton a:hover {
	background: #001d2d;
}

div.maniaplanet {
	border-color: #79d5ff;
}

div.next {
	border-color: #6dfa9f;
}

.gamesection > img {
	width: 150px;
	margin: -76px 0;
}

.gamesection > h1 {
	letter-spacing: inherit;
	margin: -12px 0;
	text-shadow: 0 0 10px #000;
}

.next > h1, .next a {
	color: #6dfa9f;
}

.next a:hover {
	color: #00715a;
}

.maniaplanet > h1 {
	color: #79d5ff;
}

.ix > h1 {
	color: #fff;
}
.ix a {
	color: #ffe601;
}

.ix a:hover {
	color: #aa1c1c;
}

.tm1x > h1, .tm1x a {
	color: #d92828;
}

.tm1x a:hover {
	color: #996b00;
}

table, th, td {
	border-collapse: collapse;
}

td {
	padding: 0 8px;
}

.table-fixed {
	table-layout: fixed;
}

.text-muted {
	color: #aaa;
}

.nm {
	margin: 0;
	padding: 0;
}

.tl {
	text-align: left;
}

.tr {
	text-align: right;
}

.csq {
	width: 32px;
	height: 32px;
}

.csq-maniaplanet-1 {
	background-color: #79d5ff;
}

.csq-maniaplanet-2 {
	background-color: #006da8;
}

.csq-maniaplanet-3 {
	background-color: #002d46;
}

.csq-next-1 {
	background-color: #6efaa0;
}

.csq-next-2 {
	background-color: #00715a;
}

.csq-next-3 {
	background-color: #003228;
}

.csq-ix-1 {
	background-color: #fce301;
}

.csq-ix-2 {
	background-color: #996b00;
}

.csq-ix-3 {
	background-color: #331900;
}

.csq-tm1x-1 {
	background-color: #d92828;
}

.csq-tm1x-2 {
	background-color: #aa1c1c;
}

.csq-tm1x-3 {
	background-color: #620909;
}

.csq-acc-1 {
	background-color: #cccccc;
}

.csq-acc-2 {
	background-color: #aaaaaa;
}

.csq-acc-3 {
	background-color: #888888;
}

div#mxsites {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	margin: 0 -10px;
}

div.mxsection {
	text-align: center;
	margin: 100px 10px 0 10px;
	border-radius: 20px;
	border: 1px solid;
	max-width: 520px;
}

div.ix {
	border-color: #ffe601;
}

div.tm1x {
	border-color: #d92828;
}

div.tmnews {
	border-color: #79d5ff;
}

.maniaplanet img {
	filter: drop-shadow(0px 0px 5px rgba(121, 213, 255, 0));
}

.maniaplanet img:hover {
	filter: drop-shadow(0px 0px 5px rgba(121, 213, 255, 0.6));
}

.next img {
	filter: drop-shadow(0px 0px 5px rgba(110, 250, 160, 0));
}

.next img:hover {
	filter: drop-shadow(0px 0px 5px rgba(110, 250, 160, 0.6));
}

.ix img {
	filter: drop-shadow(0px 0px 5px rgba(255, 230, 1, 0));
}

.ix img:hover {
	filter: drop-shadow(0px 0px 5px rgba(255, 230, 1, 0.6));
}

.tm1x img {
	filter: drop-shadow(0px 0px 5px rgba(217, 40, 40, 0));
}

.tm1x img:hover {
	filter: drop-shadow(0px 0px 5px rgba(217, 40, 40, 0.6));
}

.tmt img {
	filter: drop-shadow(0px 0px 5px rgba(200, 200, 200, 0));
}

.tmt img:hover {
	filter: drop-shadow(0px 0px 5px rgba(200, 200, 200, 0.6));
}

.tmx img {
	filter: drop-shadow(0px 0px 5px rgba(196, 33, 33, 0));
}

.tmx img:hover {
	filter: drop-shadow(0px 0px 5px rgba(196, 33, 33, 0.6));
}

div.tmt {
	border-color: #6e6f71;
}

div.tmx {
	border-color: #f30f30;
	max-width: 100%;
	width: 100%;
}

.mxsection > img {
	width: 150px;
	margin: -76px 0;
}

div.stacked {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-row-gap: 8px;
}

.stacked img {
	max-width: 100%;
}

div#Sites {
	display: flex;
	justify-content: space-evenly;
	align-items: baseline;
	margin-top: 15px;
}

#Sites:first-of-type
{
	margin-top: 60px;
}

#Sites > div, .stacked > div {
	display: grid;
	text-align: center;
	justify-content: center;
	align-items: end;
	margin: 15px;
	flex: 1;
	grid-row-gap: 4px;
}

#Sites > div:first-child {
	margin-right: auto;
}

#Sites > div:last-child {
	margin-left: auto;
}

#Sites span {
	font-size: 16px;
}

div#portal-main
{
	width: 1200px;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

div#logo-float, .center
{
    margin: auto;
    text-align: center;
}

#logo-float img{
	width: 200px;
}

div#welcome
{
	text-align: center;
	font-size: 16px;
}

div.logo-container
{
	float: right;
	width: 310px;
	padding-right: 85px;
}

span.padded
{
	padding-left: 20px;	
}

.notext
{
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  text-indent: -7331px;
}

i.logo-tmufx
{
	background-image: url("https://account.mania.exchange/img/logos/TMU.png");
	background-repeat: no-repeat;
    background-size: cover;
    min-height: 96px;
    min-width: 96px;
	display: inline-block;
}

i.logo-tmnfx
{
	background-image: url("https://account.mania.exchange/img/logos/TMNF.png");
	background-repeat: no-repeat;
    background-size: cover;
    min-height: 96px;
    min-width: 96px;
	display: inline-block;
}

i.logo-tmnx
{
	background-image: url("https://account.mania.exchange/img/logos/TMN.png");
	background-repeat: no-repeat;
    background-size: cover;
    min-height: 96px;
    min-width: 96px;
	display: inline-block;
}

i.logo-tmsx
{
	background-image: url("https://account.mania.exchange/img/logos/TMS.png");
	background-repeat: no-repeat;
    background-size: cover;
    min-height: 96px;
    min-width: 96px;
	display: inline-block;
}

i.logo-tmox
{
	background-image: url("https://account.mania.exchange/img/logos/TMO.png");
	background-repeat: no-repeat;
    background-size: cover;
    min-height: 96px;
    min-width: 96px;
	display: inline-block;
}

i.game-tm
{
	background-image: url("images/mx_tm_logo.png");
	background-repeat: no-repeat;
	min-height: 100px;
	min-width: 300px;
	display: inline-block;
}

i.game-tm:hover
{
	background-image: url("images/mx_tm_logo_hover.png");
	background-repeat: no-repeat;
	min-height: 100px;
	min-width: 300px;
	display: inline-block;
}

i.game-sm
{
	background-image: url("images/mx_sm_logo.png");
	background-repeat: no-repeat;
	min-height: 100px;
	min-width: 300px;
	display: inline-block;
}

i.game-sm:hover
{
	background-image: url("images/mx_sm_logo_hover.png");
	background-repeat: no-repeat;
	min-height: 100px;
	min-width: 300px;
	display: inline-block;
}

i.game-qm
{
	background-image: url("images/mx_qm_logo.png");
	background-repeat: no-repeat;
	min-height: 100px;
	min-width: 300px;
	display: inline-block;
}

i.game-qm:hover
{
	background-image: url("images/mx_qm_logo_hover.png");
	background-repeat: no-repeat;
	min-height: 100px;
	min-width: 300px;
	display: inline-block;
}

i.game-tmt
{
	background-image: url("images/tmtubelogo.png");
	background-size: contain;
	background-repeat: no-repeat;
	min-height: 80px;
    margin: 10px;
    min-width: 300px;
	display: inline-block;
	filter: drop-shadow(0px 0px 5x rgba(255, 255, 255, 0));
}

i.game-tmt:hover
{
	background-image: url("images/tmtubelogo.png");
	background-repeat: no-repeat;
	min-height: 80px;
    margin: 10px;
    min-width: 300px;
	display: inline-block;
filter: drop-shadow(0px 0px 5px rgba(255, 255, 255, 0.6));
}

i.game-tm2020
{
	background-image: url("images/trackmanialogo.png");
	background-size: contain;
	background-repeat: no-repeat;
	min-height: 80px;
    margin: 10px;
    min-width: 300px;
	display: inline-block;
	filter: drop-shadow(0px 0px 5px rgba(255, 255, 255, 0));
}

i.game-tm2020:hover
{
	background-image: url("images/trackmanialogo.png");
	background-repeat: no-repeat;
	min-height: 80px;
    margin: 10px;
    min-width: 300px;
	display: inline-block;
filter: drop-shadow(0px 0px 5px rgba(255, 255, 255, 0.6));
}

@media only screen and (max-width: 1200px) {
	body {
		padding: 30px 0;
	}
	
	div#portal-main {
		width: 100%;
		padding: 10px;
		max-width: calc(100% - 20px);
	}
	
	div.stacked {
		grid-template-columns: 1fr;
	}
	
	div#Sites {
		flex-wrap: wrap;
	}
	
	div#mxsites {
		flex-wrap: wrap;
	}
	
	div.mxsection {
		max-width: 100%;
		width: 100%;
	}
	
		div.mxsection:nth-of-type(2) {
		    margin: 110px 10px 0 10px;
	}
	
	div.mxsection:nth-of-type(3) {
		    margin: 68px 10px 0 10px;
	}
}