

/* ALLES WAS VORHANDEN SEIN SOLL, WIRD HIER EINGETRAGEN. ÄNDERUNGEN FÜR MOBILE VERSION IN _MOBILE.CSS */

/* Screen setup */
:root
{
	
	/* BACKGROUND COLOURS */
	--headerBackgroundColour: #fff;
	--menuBackgroundColour: #ba1e1e;
;
	--mainBackgroundColour: white;
	
	--contentLeftBackgroundColour: #eee;
	
	
	/* BUTTON COLOURS */
	--buttonHeaderBackbroundColour: #fff;
	--buttonHeaderBackgroundColourHover: #ddd;

	--buttonPopupAcceptColour: #d81919;
	--buttonPopupAcceptColourHover: rgb(255, 119, 119);
	--buttonPopupCancelColour: #ddd;
	--buttonPopupCancelColourHover: #eee;
}
@font-face {
   font-family: F1Font;
   src: url('Fonts/F1regular.ttf');
}

body
{
	font-family: F1Font;
	font-size: 0.9em;
	margin: 0;
	padding: 0;
/* 	height: auto; */
}


a:link {
  text-decoration: underline;
  color: black;
}

a:visited {
  text-decoration: underline;
}

a:hover {
  text-decoration: underline;
  color: grey;
}

a:active {
  text-decoration: underline;
}

.main
{
	display: flex;
	flex-flow: column nowrap;
	border: 0;
	max-width: 1500px;
/* 	height: auto; */
	align-items: stretch;
	margin:auto;
	padding:0;
	background-color: var(--mainBackgroundColour);
/* 	overflow-y: scroll; */
	-webkit-box-shadow: 0px 0px 36px 29px #C6C6C6; 
	box-shadow: 0px 0px 36px 29px #C6C6C6;

}


/* header */

.header
{
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
	
	width: auto;
	height: 3em;
	
	background-color: var(--headerBackgroundColour);
	order:0;
	padding: 0.2em;
}

.header_LogoTop
{
	display: none;
	order: 1;
}
.header_LogoTop image
{
	width: 120px;
}
/* display Menu-Button in mobile version, hide in screen mode*/
.header_MenuButton
{
	display: none;
	
}
.header_MenuButton img
{
	width: 100%;
	height: 100%;
}

.header_accountButton
{
	display: flex;
}

.header_SeasonText
{
	display: flex;
	flex-flow: column nowrap;
	align-self: center;
	justify-content: flex-start;
	font-size:2.1em;
	color: black;
	width: 100px;
	padding-right: 400px;
	padding-left: 15px;
}
.header_SeasonText text
{
	padding-top: 0.1em;
	font-size: 0.35em;

}

.header_TitleText
{
	display: flex;
	width: 300px;
	font-size: 1em;
	color: #aaa;
	
}

.header_ButtonContainer
{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-flow: row;
	width: 10em;
	height: 100%;
}
.header_ButtonContainer img
{
	width: 2em;
	height: 2em;
}

.header_Button
{
	display: flex;
	justify-content: center;
	align-items: center;
	border: 2px solid black;
	
	border-radius: 3px 0 3px 0;
	background-color: var(--buttonHeaderBackgroundColour);
	cursor: pointer;
	margin: 0.5em;
	padding: 0.3em;
	color: black;
	width: 3em;
	height: 1.5em;
	transition: 0.3s;
	
}

.header_Button:hover
{
	background-color: var(--buttonHeaderBackgroundColourHover);
	transition: 0.3s;
}

.menuBar
{
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
	padding: 0 4em 0 4em;
	height: 4em;
	/*background-image: linear-gradient(to right, #ba1e1e, #c92727);*/
	background-color: var(--menuBackgroundColour);
	width:90%;
	margin-left: auto;
	/*order: 3;	*/
	border-radius: 10px 0 0 0 ;
  	
}
.menuBar_Wrapper
{
	display: flex;
	flex-flow: row;
}

.menuBar_LogoContainer
{	
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 10px 0px;
	width: 10em;
	height: 3.5em;
	background-color: white;
	opacity: 0.98;
	padding-right: 2em;
}
.menuBar_LogoContainer img
{
	width: 100%;
}

.menuBar_ButtonContainer
{
	display: flex;
	flex-flow: row;
	width: 10em;
}

.menuBar_Button
{
	display: flex;
	justify-content: center;
	align-items: center;
	border: 2px solid rgba(255, 254, 254, 0);
	border-radius: 10px;
	/*background-color: rgba(255, 255, 255, 0.2);*/
	color:  rgb(225, 225, 225);
	width: 8em;
	height: 3.5em;
	cursor: pointer;
	transition: 0.3s;
	text-align: center;
	
}
.menuBar_Button:hover
{
	border: 2px solid rgb(250, 237, 237);
	color: white;
	transition: 0.3s;
}

.countdown_Container
{
	display: flex;
	height: auto;
	justify-content: center;
	align-items: center;
	flex-flow: column;
	background-color: black;
	
	padding: 0.3em;
	box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
	z-index:10;
	order: 3;
}
.countdown_Container p
{
	margin: 0.2em;
}
.countdown_Container text
{
	color: white;
}

.content_Container
{
	display: flex;
	flex-flow: row nowrap;
	background-color: var(--contentLeftBackgroundColour);
	background-image: url('images/background/xgrey.jpg');
	background-size: auto;
	background-repeat: repeat-y;
	width: 100%;
 	flex-grow: 2; 
 	min-height: 500px; 
/* 	margin: auto; */
	margin-top: 0;
/* 	overflow-y: scroll; */
	-webkit-animation: fadeEffect 1s;
  	animation: fadeEffect 1s;
  	align-items: stretch;
}
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}

}
/* Fade in tabs */
@-webkit-keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}

}
.content_left
{
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	
	flex-grow: 1;
	height: auto;
/* 	overflow: hide; */
	gap:2em;
	padding-top:1em;
	min-width: 400px;
	max-width: 460px;
/* 	border: 1px solid black; */
}
.content_right
{
	display: flex;
	
	align-items: center;
	flex-flow: column nowrap;
	width:100%;
/* 	flex-grow: 2; */
/* 	height: auto; */
	padding-top: 1em;
/* 	overflow-y: scroll;  */
/* 	border: 1px solid black; */
}
.content_right_account
{
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-flow: row wrap;
	flex-grow: 2;
	height: auto;
	padding-top: 1em;
/* 	overflow-y: scroll; */
/* 	border: 1px solid black; */
}
.content_right_pitstop
{
	display: flex;
	
	align-items: center;
	flex-flow: column nowrap;
	width:100%;
	margin: auto;
	margin-top: 0px;
	min-height: 700px;
	padding-top: 1em;
	/*border: 3px solid green;*/
}

.footer
{
	display: flex;
	
	width: 100%;
	height: 20em;
	margin: 0;
	background-color: black;
	color: white;
	justify-content: space-between;
	align-items: center;
	font-size: 0.8em;
}

.footerElement
{
	display: flex;
	flex-flow: column nowrap;
	height: 15em;
	margin: auto;
	align-items: center;
	margin: 2em;
	max-width: 500px;
}
.footerElement header
{
	display: flex;
	justify-content: center;
	color: red;
	margin-bottom: 1em;
}

.footerElement a
{
	color: white;
}

.footerElement p
{
	margin: 0.6em;
}

.footerElement a:link {
  text-decoration: none;
  color: white;
}

.footerElement a:visited {
  text-decoration: none;
}

.footerElement a:hover {
  text-decoration: underline;
  color: white;
}

.footerElement a:active {
  text-decoration: underline;
}


.ruleElement
{
	display: flex;
	background-color: white;
	flex-flow: column;
	border: 1px solid black;
	border-left: 10px solid darkred;
 	border-radius: 5px 0 0 5px; 
 	padding: 0.5em;
 	padding-left:1em;
 	width: 90%;
 	margin: 0.5em;
 	gap: 0.3em;
}


/* standings table inside left-content areaC */
.container_Standings
{
	display: flex;
	flex-flow: column nowrap;
	gap: 0.3em;
/* 	padding: 1em; */
	width: 90%;
	max-width: 350px;
	max-height: 390px;
	overflow-y: scroll;
/* 	border-radius: 1em 0em 1em 0em; */
/* 	border: 2px solid green; */
	margin: 0.5em;
/* 	align-self: center; */
	background-color: none;
	align-self: center;
	padding: 1em;
}
.container_StandingsLeagueShortInfo
{
	display: flex;
	flex-flow: column nowrap;
	gap: 0.3em;
	width: 90%;
	max-width: 350px;
	max-height: 350px;
	overflow-y: scroll;
	margin: 0.5em;
	background-color: none;
	align-self: center;
	padding: 1em;
}

/* Player data in the standings table */
.standings_playerData
{
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	padding: 0.15em;
	padding-right:0.25em;
	color: black;
	cursor: pointer;
	border: 1px solid rgb(236, 239, 255);
	background-color: #ffffff;
	border-radius: 5px 0 5px 0;
	height: 2em;
	align-items: center;
}

.standings_playerData:hover
{
	background-color: #eef2f7;
	border: 1px solid black;
	border-radius: 5px 0px;
}

.standings_playerData.active
{
	border: 1px solid black;
	border-radius: 5px 5px 0px 0px;
	background-color: #fddbdb;
}
.standings_playerDataItem
{
	display: flex;
	justify-content: flex-start;
	min-width: 1.5em;
}

.hidewhenBig
{
	display: none;
}

/* Player data in the standings table */
.standings_LeagueData
{
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-start;
	padding: 0.1em;
	color: black;
	cursor: pointer;
	border: 2px solid white;
}
.standings_LeagueData:hover
{
	background-color: #eee;
	border: 2px solid black;
	border-radius: 5px 0px;
}

.standings_LeagueDataItem
{
	display: flex;
	justify-content: flex-start;
	min-width: 1.5em;
}


.standings_center
{
	justify-content: center;
	width: 100%;
}


.playerInfoBoxContainer
{
	display: flex;
	flex-flow: column nowrap;
	position: relative;	

}
@keyframes fadeEffect2 {
  from {opacity: 0; }
  to {opacity: 1;}
}
@keyframes fadeEffectStat {
  from {left: -50; opacity:0; }
  to {left: 0; opacity: 1;}
}
/* original
.playerInfoBox
{
	display: flex;
	flex-flow: column nowrap;
	width: inherit;
	padding: 0.5em;
	gap: 0.5em;
	background-color: white;
	border: 1px solid black;
	border-top: 0;
	border-radius: 0 0px 10px 10px;
	-webkit-box-shadow: 0px 8px 19px -2px rgba(0,0,0,0.72); 
	box-shadow: 0px 8px 19px -2px rgba(0,0,0,0.72);

}
*/

.playerInfoBox
{
	display: flex;
	flex-flow: row nowrap;
	width: inherit;
	padding: 0.5em;
	gap: 0.2em;
	background-color: white;
	border: 1px solid black;
	border-top: 0;
	border-radius: 0 0px 10px 10px;
	-webkit-box-shadow: 0px 8px 19px -2px rgba(0,0,0,0.72); 
	box-shadow: 0px 8px 19px -2px rgba(0,0,0,0.72);

}

.playerInfoElementContainer
{
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	gap: 4em;
}

.playerInfoLeft
{
	font-weight: bold;
	color: black;
}
.playerInfoColumn
{
	display: flex;
	flex-flow: row;
	flex-wrap: wrap;
	width: 50%;
	min-height: 220px;
	justify-content: center;
	font-weight: bold;
	color: black;
	border-radius: 10px;
	border: none;
}

.playerInfoColumn_img
{
	height: 130px;
	align-self: center;
	border-radius: 5px;
	padding: 0.5em;
	margin: 0.5em;
}

.playerInfoTile
{
	display: flex;
	flex-flow: column;
	border: 0px solid rgb(8, 58, 1);
	border-radius: 5px;
	width: 45%;
	height: 30%;
	padding: 0.1em;
	margin: auto;
	-webkit-box-shadow: 0px 0px 9px -3px rgba(0,0,0,0.47); 
	box-shadow: 0px 0px 9px -3px rgba(0,0,0,0.47);

}

.playerInfoTile_img
{
	width: 35px;
	height: auto;
	align-self: center;
	padding: 0;
	margin: auto;
	border: none;
	background-color: white;
	border-radius: 5px;
}

.playerInfoTile_header
{
	font-size: 0.75em;
	font-weight: normal;
	color: rgb(6, 98, 43);
	width: 100%;
	text-align: center;
}

.playerInfoTile_text
{
	font-size: 1.3em;
	color: black;
	width: 100%;
	margin: auto;
	text-align: center;
}

.playerInfoTile_footer
{
	font-size: 0.65em;
	font-weight:normal;
	color: rgb(0, 0, 0);
	width: 100%;
	margin: auto;
	margin-bottom: 0.1em;
	text-align: center;
}

.playerInfoRight
{
	font-weight: normal;
	font-style: italic;
	color: red;
}


.statInfoBoxContainer
{
	display: flex;
	flex-flow: column nowrap;
}

.statInfoBox
{
	display: flex;
	flex-flow: column nowrap;
	width: 80%;
	padding: 0.5em;
	margin: 1em;
	gap: 0.8em;
	background-color: white;
	border: 2px dashed black;
	border-radius: 0 0px 10px 0px;
}

.statInfoText
{
	display: flex;
	font-style: italic;
	color: black;
	margin: 1em;
	width: 90%;
	padding: 0.5em;
	justify-content: center;

}

.statInfoElementContainer
{
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	border-bottom: 1px dashed #eee;
	
}

.statInfoLeft
{
	font-weight: bold;
	color: black;
	font-family: arial;
	font-size: 1.1em;
}
.statInfoRight
{
	display: flex;
	align-items: center;
	font-weight: normal;
	font-style: italic;
	gap: 0.5em;
	color: red;
}

.achievementContainer
{
	display: flex;
	flex-flow: column nowrap;
	width: 80%;
	padding: 0.5em;
	margin: 1em;
	gap: 0.8em;
	background-color: white;
	border: 0px dashed black;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
	border-radius: 0 0px 10px 0px;
}
.joinContentDiv
{
	display: flex;
	flex-flow: column nowrap;
	align-items: justify-content;
	background-color: rgba(255,255,255,1);
	
	width: 80%;
	max-width: 500px;
	height: auto;
	padding: 0.3em 1.3em;
	border: 3px solid #ddd;
	border-radius: 5px;
	
	box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.joinContentDiv p
{
	width: 20%;
}

.playerAccountSettings_Container
{
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	background-color: rgba(255,255,255,1);
	padding: 0.5em;
/* 	width: 80%; */
	width: 400px;
	min-height: 200px;
	height: auto;
	margin: 1em;
	
	border: 1px solid black;
	border-left: 5px solid black;
	border-radius: 5px;
	
	box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.playerAccountEngines
{
	display: flex;
	flex-flow: row nowrap;
	gap: 1em;
	width: 100%;
	justify-content: center;
}
.playerAccountEngines img
{
	width: 60px;
	margin: 0.2em;
}



.playerAccountSettings_Container header
{
	display: flex;
	width: 100%;
	justify-content: center;
	font-size: 1.5em;
}

.playerAccountSettings_ContentDiv
{
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-evenly;
	padding: 0.5em;
	margin: auto;
}
.playerAccountSettings_ContentDiv label
{
	font-size: 1.2em;
	color: red;
}


.infoTextInput
{
	border: 0px;
	border-bottom: 1px dashed grey;
	width: 100%;
	font-size: 1.3em;
	text-align: right;
	margin-bottom: 0.3em;
}


.playerAccountImageDiv
{
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-width: 250px;
	background-color: #7f9788;
	gap: 2em;
	padding: 0.5em;
	border-radius: 10px;
	align-self: center;
}

.playerAccountSettings_ContentDiv img
{
	display: flex;
	height: 130px;
}

.activeGameDiv_Container
{
	display: flex;
	flex-flow: column nowrap;
	align-items: justify-content;
	background-color: rgba(255,255,255,1);
	width: 80%;
/* 	min-width: 600px; */
	height: auto;
	margin: 0.5em;
	padding: 0.5em;
	border: 1px solid black;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.activeGameDiv_Container header
{
	display: flex;
	width: 100%;
	justify-content: center;
	font-size: 2em;
	color: red;
}

.activeGameContentDiv
{
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-evenly;
	align-items: center;
}

.activeGameElementDiv
{
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	justify-content: flex-start;
	height: 250px;
	width: 300px;
	flex-grow: 1;
	
	margin: 1em;
	padding: 1em;
	padding-top: 0em;
	padding-right: 0em;
 	border-radius: 10px 0px;
}


.activeGameElementDiv img
{
	width: 100%;
	
}


.activeGameElementDiv header
{
	display: flex;
	align-self: flex-start;
	flex-flow: row;
	margin: 0;
	color: black;
	
	border: 1px solid grey;
	border-radius: 10px 0px;
	min-height:2em;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	padding: 0 0.2em;
	font-size: 1.2em;
}

.activeGameElementDiv header img
{
	width: 30px;
	height: 1em;
	margin: 0.3em;
	border: 1px solid black;
}

.trackContainer
{
	display: flex;
	justify-content: center;
	background-image:url('images/tracks/background.jpg');
	background-size: cover;
	padding: 1em;
	
	width: 80%;
	height: 100%;
	margin:auto;
	border: 1px solid black;
	border-top: 0;
	border-radius: 0 0 15px 0;
	align-items: center;
	overflow: hidden;
	-webkit-box-shadow: inset 1px 1px 32px -17px rgba(0,0,0,0.35);
	-moz-box-shadow: inset 1px 1px 32px -17px rgba(0,0,0,0.35);
	box-shadow: inset 1px 1px 32px -17px rgba(0,0,0,0.35);
}

.driverContainer
{
	display: flex;
	justify-content: center;
	padding: 1em;
	
	width: 80%;
	height: 100%;
	margin:auto;
	border: 1px solid black;
	border-top: 0;
	border-radius: 0 0 15px 0;
	align-items: center;
	overflow: hidden;
	-webkit-box-shadow: inset 1px 1px 32px -17px rgba(0,0,0,0.35);
	-moz-box-shadow: inset 1px 1px 32px -17px rgba(0,0,0,0.35);
	box-shadow: inset 1px 1px 32px -17px rgba(0,0,0,0.35);
}

.driverContainer img
{
	height: auto;
	max-height: 100%;
	max-width: 100%;
	width: auto;
	margin: auto;
	
}
.trackContainer img
{
	max-height: 90%;
	max-width: 90%;
	width: auto;
	margin: auto;
}

.trackData
{
	display: flex;
	position: relative;
	bottom: 100px;
	left: 0px;
	width:100px;
	height: 100px;
	background-color: rgb(200, 200, 200, 0.5);
	border: 1px solid black;
}


.leagueDiv_Container
{
	display: flex;
	flex-flow: column nowrap;
	align-items: justify-content;
	background-color: rgba(255,255,255,1);
	width: 75%;
	height: auto;
	margin: 1em;
	
	padding: 0.5em 1em;
	
	border: 1px solid black;
/* 	border-left: 7px solid darkred; */
	border-radius: 5px;
	
	box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.leagueDiv_Container header
{
	display: flex;
	width: 100%;
	justify-content: center;
	font-size: 1.5em;
	margin-bottom: 1em;
	color: black;
}

.leagueContentDiv
{
	display: flex;
	flex-flow: row wrap;
	justify-content: space-evenly;
	gap: 1em;
	padding: 0.5em;
}

.HallOfFameElementDiv
{
	display: flex;
	flex-flow: row nowrap;
/* 	align-items: center; */
	justify-content: space-between;
	min-height: 170px;
	min-width: 70%;
	max-width: 80%;
	padding: 0.3em 1em;
	margin: 1em;
 	border: 3px solid rgb(0, 0, 0); 
 	border-radius: 15px 0px 15px 0px;
 	background-color: white;
 	box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
 		box-shadow: lightgrey 2px 2px 5px;
}

.Trophy
{
	display: flex;
	width:170px;
	order: 1;
}

.centerElement
{
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-between;
	align-items: center;
	margin: 0 1em;
	padding: 0.5em 0;
	height: auto;
	order: 2;
}

.Year
{
	display: flex;
	font-size: 2.5em;
	color: red;
}
.Name
{
	display: flex;
	font-size: 3em;
	color: black;
}
.Score
{
	display: flex;
	font-size: 2em;
	color: black;
	flex-flow: column;
	justify-content: center;
	order: 3;
	background-color: #eee;
	padding: 0 0.3em;
	border-radius: 5px;
}

.ScoreTop
{
	display: flex;
	color:red;
	font-size:0.5em;
	justify-content: center;
	order: 2;
}
.ScoreBottom
{
	display: flex;
	justify-content: center;
}

.LeagueElementDiv
{
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	justify-content: space-between;
	min-height: 170px;
	width: 270px;
	max-width:270px;
	padding: 0.3em 1em;
 	border: 2px solid rgb(0, 0, 0); 
 	border-radius: 15px 0px 15px 0px;
 	background-color: white;
 	box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
 		box-shadow: lightgrey 2px 2px 5px;
}

.LeagueElementDiv:hover
{
	background-color: #f5f5f5;
}

.LeagueElementDiv p
{
	margin:0.2em;
}

.LeagueElementDiv header
{
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	font-size: 0.8em;
	padding: 0.4em;
	border-radius: 5px;
	border: 2px solid lightgrey;
	gap: 1em;
	background-color: white;
}




.LeagueElementDivJoin
{
	display: flex;
	flex-flow: column;
	background-color: white;
	border: 2px solid black;
	border-radius: 5px;
	padding: 0.3em;
	justify-content: center;
	width: 90%;
	margin: auto;
	-webkit-animation: fadeEffect 1s;
  	animation: fadeEffect 1s;
}
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}

}
/* Fade in tabs */
@-webkit-keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}

}

.LeagueElementDivJoinCode
{
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: center;
}
.LeagueElementDivJoinCodeTextInput
{
	border: 2px solid red;
	border-radius: 5px 0;
	font-size: 1.4em;
	height: 2em;
	width: 7em;
	color: red;
	margin-top: 0.3em;
	text-align: center;
	background-color: white;
	text-transform: uppercase;
}

.LeagueElementDivJoinCodeTextInput:focus
{
	background-color: red;
	border: 2px solid black;
	color: white;
	transition: background-color .5s;

	outline: none;
}

@-webkit-keyframes fadeEffectPopup {
  from {opacity: 0;}
  to {opacity: 1;}

}

/* Popups */
.userPopupDiv
{
	display: flex;
	flex-flow: column nowrap;
	position: fixed;
	margin-left: auto;
	margin-right: auto;
	top: 100px;
	left: 50%;
	border-radius: 15px 0 15px 0;
	transform: translate(-50%, 0%);
	padding: 0.3em;	
	background-color: white;
	width: 300px;
	height: auto;
	z-index: 3000;
 	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),  0 0px 1000px 1000px rgba(0, 0, 0, 0.61);
}

.userPopupTop
{
	display: flex;
	flex-flow: row nowrap;
	width: auto;
	margin: 0px;
}
/* for image */
.userPopupTopLeft
{
	display: flex;
	flex-grow: 1;
	min-width: 50%;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	width: auto;
	margin: 0px;
	border: 1px solid lightgray;
	border-right: none;
}

.userPopupTopLeft_Button
{
  display: flex;
  position: relative;
  padding: 0.2em;
  margin: 0.2em;
  border: none;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  color: white;
  font-size: 0.8em;
  width: 50%;
  justify-content: center;
  bottom: 30px;
}
.userPopupTopLeft_Button a
{
  color: white;
}
.userPopupTopLeft_Button a:active
{
  color: white;
  font-weight: bold;
}

.userPopupTopLeftImage_Container
{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 80%;
	height: 150px;
	border: 2px solid black;
	background-color: #f3f3f3;
	border-radius: 10px;
	margin: 1em;
	margin-bottom: 0.3em;
}

.userPopupTopLeft img
{
	max-height: 90%;
	border-radius:10%;
	object-fit: cover;
}
.userPopupTopRight
{
	display: flex;
	flex-grow: 1;
	flex-flow: column nowrap;
	width: auto;
	margin: 0px;
	border: 1px solid lightgray;
	border-left: none;
}

.userPopupDiv header
{
	display: flex;
	font-size: 1.1em;
	max-height: 1.2em;
/* 	border-bottom: 1px solid black; */
	justify-content: space-between;
	align-content: center;
	overflow: show;
	padding: 0.3em;
}

.userPopupDivImageContainer
{
	display: flex;
	justify-content: center;
	border-radius: 5px 0;
	border: 2px solid black;
	overflow: hidden;
	
	
	min-width: 1.8em;
	max-width: 1.8em;
	height: 1.4em;
}

.userPopupDiv header img
{
	height: 100%;
}


.userPopupClose
{
	display: flex;
	position: relative;
	bottom: 1em;
	left: 1.5em;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	color: white;
	background-color: rgba(0, 0, 0, 1);
	cursor: pointer;
}
.userPopupClose:hover
{
	background-color: #aaa;
}



.popupDiv{
	display: flex;
	flex-flow: column nowrap;
	position: fixed;
	margin-left: auto;
	margin-right: auto;
	top: 10%;
	left: 50%;
	transform: translate(-50%, 0%);
	border-radius: 15px 0 15px 0;
	background-color: white;
	width: 300px;
	height: auto;
	z-index: 3000;
 	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),  0 0px 1000px 1000px rgba(0, 0, 0, 0.61);
}
.popupDiv header
{
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	
	width: auto;
	height: 2em;
	color: white;
	font-size: 1.2em;
	padding: 0 0 0 0.3em;
	border-radius: 15px 0 0 0;
	background-color: black;
}
.popupDiv p
{
	font-size: 1em;
}
.popupDiv content
{
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	padding: 1em;
}

.popupDiv_ButtonContainer
{
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	width: auto;
}

/* ACCEPT BUTTON FOR POPUPS */
.popupDiv_Button 
{
	display: flex;
	justify-content: center;
	align-items: center;
	border: 2px solid black;
	border-radius: 3px 0 3px 0;
	background-color: var(--buttonPopupAcceptColour);
	cursor: pointer;
	margin: 0.5em;
	padding: 0.3em;
	color: white;
	min-width:5em;
	width: auto;
	height: auto;
	font-size: 1em;
}

.popupDiv_ButtonCancel
{
	background-color: var(--buttonPopupCancelHoverColour);
	color: black;
}


.popupDiv_Button:hover
{
	background-color: var(--buttonPopupAcceptColourHover);
}
.popupDiv_ButtonCancel:hover
{
	background-color: var(--buttonPopupCancelColourHover);
}

.leagueMenuButtonContainer
{
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}

.leagueMenu_Button
{
	display: flex;
	justify-content: center;
	align-items: center;
	border: 2px solid black;
	border-radius: 3px 0 3px 0;
	background-color: black;
	cursor: pointer;
	margin: 0.5em;
	padding: 0.3em;
	color: white;
	min-width:5em;
	width: auto;
	height: auto;
	font-size: 1em;
}

.leagueMenu_button:hover
{
	background-color: white;
	color: black;
}

/* links */
a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a:active {
  text-decoration: none;
}

.inputcontainer
{
	display: flex;
	flex-flow: row nowrap;
	width: 100%;
	justify-content: space-between;
}

.inputcontainer input
{
	width: 60%;
}
.inputcontainer select
{
	width: 60%;
}


.countrySelect
{
	background-color: white;
	font-size: 1em;
	width: 150px;
	
}

.tab {
	display: flex;
	flex-flow: row wrap;
  	overflow: hidden;
  	justify-content: center;
  	gap: 0.3em;
  	margin-bottom: 1em;
}
	
/* Style the buttons inside the tab */
.tab button {
  background-color: white;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;

  transition: 0.3s;
  font-size: 17px;
  color: black;
  border-radius: 10px 0;
}

.tab a:link
{
	color: black;
}

.tab a:visited
{
	color: black;
}
.tab a:hover
{
	color: white;
}
.tab a:active
{
	color: white;
}
/* Change background color of buttons on hover */
.tab button:hover {
  background-color: black;
  color: white;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: black;
  color: white;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 0px;
  flex-flow: column; 
  justify-content: center;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 15px 0;
  margin-bottom: 1em;
  background-color: white;
  width: 500px;
  transition: 0.5s;
}

/* Style the tab content */
.tabcontent_pitstop {
  display: none;
  padding: 0px;
  flex-flow: column; 
  justify-content: center;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 15px 0;
  margin-bottom: 1em;
  background-color: white;
  width: 90%;
  max-width: 350px;
  transition: 0.5s;
}

.pitstop_embedded
{
	width: 90%;
	min-height: 750px; 
	/*margin: auto;*/
	/*border: 7px solid magenta;*/
}

.chat_Container
{
	display: flex;
	flex-flow: column nowrap;
	align-items: justify-content;
	background-color: rgba(255,255,255,1);
	width: 80%;
/* 	min-width: 600px; */
	max-height: 500px;
	margin: 0.5em;
	padding: 0.5em;
	border: 3px solid black;
	border-radius: 5px;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.chat_Container form
{
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center;
}

.chat_Container header
{
	display: flex;
	color: red;
	font-size: 1.5em;
	justify-content: center;
	margin-bottom: 1em;
}

.chat_messages_container
{
	display: flex;
	flex-flow: column nowrap;
	overflow-y: scroll;
	max-height: 400px;
	border-bottom: 2px solid black;
	margin-bottom: 1em;
	gap: 0.2em;
	padding-bottom: 0.2em;
}

.chat_messages
{
	display: flex;
	flex-flow: row nowrap;
	border: 1px dashed #ccc;
	border-radius: 15px 0;
}
.chat_messages:hover
{
	background-color: #eee;
}


.chat_messages_left
{
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center;
	max-width: 70px;
	margin-right: 1em;
}

.chat_messages_left img
{
	border-radius: 50%;
	max-width: inherit;
	margin: 0.3em;
}
.chat_messages_left text
{
	font-size: 0.5em;
	color: black;
}

.chat_messages_right
{
	display: flex;
	flex-flow: column nowrap;
	margin: 0em;
	width: auto;
}

.chat_messages_date
{
	color: red;
	font-size: 0.8em;
	margin: 0.1em;
}
.chat_messages_message
{
	color: black;
	font-size: 1em;
	margin: 0.1em;
	
}

.messageAlertMessage
{
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-end;
	align-items: center;
	border: 1px solid black;
	border-radius: 10px 0px;
	width: 90%;
	padding: 0 0.3em;
	margin: 0.3em;
}

.messageAlertMessage:hover
{
	background-color: #eeeeee;
}


/* width */
::-webkit-scrollbar {
  width: 5px;
  opacity: 0.5;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px white; 
  border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: red; 
  border-radius: 10px 0px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #b30000; 
}

.achievementTopText
{
	display: flex;
	justify-content: center;
	position: relative;
	top: -90;
	left: 0;
	width: 100%;
	height: auto;
	color: rgb(242, 209, 46); 
	font-size: 0.8em;
}

.achievementXPText
{
	display: flex;
	justify-content: center;
	position: relative;
	top: -85; 
	left: 0;
	width: 100%;
	height: auto;
	color: rgb(190, 247, 221);
	font-size:0.7em;
}

/* Carousel Container */
.carousel-container {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 450px;
	perspective: 1000px;
}

.slider {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	position: relative;
}

/* Individual Card Style */
.card {
	position: absolute;
	width: 280px;
	min-height: 340px;
	background: #f4f4f4;
	border: 2px solid rgb(38, 1, 1);
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: all 0.4s ease-in-out;
	opacity: 0;
	z-index: 0;
	pointer-events: none;
}

.resultOverlay{
	display: flex;
	flex-flow: column;
	position: absolute;
	background-color: f4f4f4;
	left: 0;
	top: 0;
	z-index: 10;
	/*border: 3px solid green;*/
	width: 100%;
	height: 100%;
	overflow-y: scroll;
}

.resultHeader
{
	display: flex;
	position: fixed;
	top: 0px;
	left: 0;
	background-color: var(--menuBackgroundColour);
	border-bottom: 1px solid black;
	width: 100%;
	height: 30px;
	font-size: 1.2em;
	font-weight: bold;
	color: rgb(236, 234, 234);
	text-align: center;
	align-items: center;
	justify-content: center;
	-webkit-box-shadow: 0px 6px 10px 5px rgba(139,139,139,0.42); 
	box-shadow: 0px 6px 10px 5px rgba(139,139,139,0.42);
}

.resultHeader:hover{
		background-color: rgb(231, 149, 149);
}
.resultHeader:active{
	background-color: rgb(231, 149, 149);
}
.resultData
{
	padding-top:30px;
	touch-action: auto;
	scroll-behavior: smooth;

}

.raceResultList
{
	display: flex;
	flex-flow: row;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0.5em;
	padding: 0.5em;
	justify-content: space-between;
	opacity: 1;
	transition: visibility 0.5s;
}

.card-date
{
	display: flex;
	width: 90%;
	margin: auto;
	text-align: center;
	justify-content: center;
	font-size: 0.8em;
	font-weight: bold;
	color: red;
	padding-top: 0.3em;
}

/* Top Part: Image */
.card-image {
	display: flex;
	align-items: center;
	min-height: 150px;
	width: 70%;
	padding: 0.5em;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 40px;
	margin: auto;
	margin-top: 1em;
	-webkit-box-shadow: 0px 0px 10px 5px rgba(139,139,139,0.42); 
	box-shadow: 0px 0px 10px 5px rgba(139,139,139,0.42);
}

/* Bottom Part: Data */
.card-data {
	display: flex;
	padding: 10px;
	text-align: center;
	flex-direction: column;
	margin: auto;

}

.card-data h3 { margin: 0 0 10px 0; color: #333; }
.card-data p { color: #666; font-size: 0.9rem; }

/* States: Center, Left, Right */
.card.active {
	display: flex;
	opacity: 1;
	z-index: 10;
	transform: translateX(0) scale(1.0);
	pointer-events: auto;
}

.card.prev {

	opacity: 0.7;
	z-index: 5;
	transform: translateX(-350px) scale(0.8);
	pointer-events: auto;
	filter: blur(5px);
}

.card.next {

	opacity: 0.7;
	z-index: 5;
	transform: translateX(350px) scale(0.8);
	pointer-events: auto;
	filter: blur(5px);
}

/* Navigation Arrows */
.controls {
	margin-top: 40px;
	display: flex;
	gap: 20px;
}

.arrow {
	background: var(--menuBackgroundColour);
	color: white;
	border: 2px solid var(--menuBackgroundColour);;
	padding: 15px 25px;
	border-radius: 50px;
	cursor: pointer;
	font-size: 1.2rem;
	transition: background 0.2s;
	box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.arrow:hover {
	background: var(--menuBackgroundColour);
	border: 2px solid white;
}

.arrow:active {
	transform: scale(0.95);
}


.loading
{
	display: flex;
	position: absolute;
	align-items: center;
	justify-content: center;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	margin: auto;
	width:150px;
	height: 100px;
	border: 1px solid black;
	border-radius: 15px;
	color: green;
	background-color: white;
	text-align: center;
	opacity: 0.8;
}

.votingContainer
{
	display: flex;
	flex-flow: row;
	margin: auto;
	align-items: center;
}

.dataCenterTop
{
	display: flex;
	flex-flow: column;
	height: 80%;
	padding: 1em;
	text-align: center;
	justify-content: space-between;
}

.dataCenterBottom
{
	display: flex;
	height: 20%;
	justify-content: center;
}

.dataCenterAdjust
{
	height: 300px;
	width: 300px;
}

.dataIcon
{
	display: flex;
	width: 100%;
	font-size: 4em;
	margin: 0;
	justify-content: center;
}

.pitstopTimingContainer
{
	display: flex;
	width: 95%;
	padding: 0.6em;
	padding-left: 1em;
}

.pitstopTiming_Left
{
	width: 35%;
}

.pitstopTiming_Center
{
	display: flex;
	margin: auto;
	text-align: start;
	margin-left: 0;
}
.pitstopTiming_Center text
{
	color: green;
	font-weight: bold;
}

.pitstopTiming_Right
{
	display: flex;
	align-self: flex-end;
	margin: auto;
	margin-right:1em;
	align-self: right;
	font-style:italic;
}

p.speech {

  position: relative;
  width: 250px;
  height: fit-content;
  text-align: center;
  margin-left: 10px;
  line-height: 25px;
  background-color: #fff;
  border: 2px solid #b5b5b5;
  padding: 10px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  -webkit-box-shadow: 2px 2px 4px #888;
  -moz-box-shadow: 2px 2px 4px #888;
  box-shadow: 2px 2px 4px #888;
  font-size: 0.8em;
}

p.speech:before {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: 45px;
  top: 100%;
  border: 19px solid;
  border-color: #b5b5b5 transparent transparent #b5b5b5;
}

p.speech:after {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: 48px;
  top: 100%;
  border: 15px solid;
  border-color: #fff transparent transparent #ffffff;
}

/* Mobile specific adjustments */
        @media (max-width: 600px) {
            .card.prev { transform: translateX(-180px) scale(0.7); }
            .card.next { transform: translateX(180px) scale(0.7); }
            .card { width: 240px; }
        }