@font-face {
    font-family: 'formula1display-wide';
    src: url('../fonts/formula1-wide-webfont.woff2') format('woff2'),
         url('../fonts/formula1-wide-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'formula1display-bold';
    src: url('../fonts/formula1-bold_web-webfont.woff2') format('woff2'),
         url('../fonts/formula1-bold_web-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'formula1display-bold2';
    src: url('../fonts/formula1-bold-4-webfont.woff2') format('woff2'),
         url('../fonts/formula1-bold-4-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'formula1display-italic';
    src: url('../fonts/formula1-italic-webfont.woff2') format('woff2'),
         url('../fonts/formula1-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'formula1display-regular';
    src: url('../fonts/formula1-regular-1-webfont.woff2') format('woff2'),
         url('../fonts/formula1-regular-1-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'formula1display-black';
    src: url('../fonts/formula1-black-webfont.woff2') format('woff2'),
         url('../fonts/formula1-black-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --background-color: #efe9e7;
    --text-color: #272727;
	--success-text-color: #00A300;
	--error-text-color: #FF1E00;
	--warning-text-color: #FFB02E;
	--title-color: #FF1E00;
	--correct-color: #00A300;
	--incorrect-color: #a50104;
	--disabled-color: #efe9e7;
	--updating-color: #FFB02E;
	--nav-background-color: #9CAFB7;
	--nav-highlight-color: #FF1E00;
	--nav-selected-color: #FF1E00;
	--nav-title-color: #FF1E00;
	--nav-link-color: #F2F5FF;
	--nav-info-color: #15151E;
	--nav-divider-color: #15151E;
	--messsage-border-color: #000000;
	--messsage-success-background-color: #D6FFD6;
	--messsage-error-background-color: #ED969C;
	--messsage-warning-background-color: #FEE486;
	--messsage-info-background-color: #BCE6F0;
	--messsage-text-color: #000000;
	--page-divider-color: #FF1E00;
	--dropdown-background-color: #EADED7;
	--dropdown-text-color: #272727;
	--dropdown-border-color: #3D3D3D;
	--button-border-color: #000000;
	--button-disabled-color: #666666;
	--table-title-color: #FF1E00;
	--table-border-color: #FF1E00;
	--table-header-background-color: #CEB2A1;
	--table-header-text-color: #272727;
	--table-row-background-color-first: #E3D2CA;
	--table-row-background-color-second: #EADDD7;
	--table-cell-text-color: #272727;
	--table-cell-border-color: #272727;
	--edit-results-table-row-odd-color: #E0E0E0;
	--edit-results-table-row-even-color: #F0939B;
	--slider-color: #FF1E00;
	--slider-background-color: #000000;
	--button-background-color: #efe9e7;
	--debug-text-color: #fdf0d5;
	
	--bs-body-font-size: 0.2rem;
}

.container {
	--bs-gutter-x: 0rem;
}

hr {
	margin: 0px;
	margin-top: 14px;
	margin-bottom: 14px;
}

body.dark-mode {
    --background-color: #272727;
    --text-color: #fdf0d5;
	--nav-link-color: #272727;
	--dropdown-background-color: #474747;
	--dropdown-text-color: #fdf0d5;
	--dropdown-border-color: #767676;
	--table-header-background-color: #333333;
	--table-header-text-color: #fdf0d5;
	--table-row-background-color-first: #5C5C5C;
	--table-row-background-color-second: #707070;
	--table-cell-text-color: #fdf0d5;
	--edit-results-table-row-odd-color: #707070;
	--edit-results-table-row-even-color: #D71D2D;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
}

.navbar {
	background-color: var(--nav-background-color);
	border-bottom: 4px solid var(--nav-highlight-color);
	height: 58px;
	display: inline-table;
	overflow: hidden;
	overflow-x: hidden;
	width: 100%;
	min-width:400px;
	background-repeat: repeat;
}

.navbar .navbar-toggler {
	z-index: 1000;
	flex-shrink: 0;
	flex-grow: 0;
	min-width: 56px;
	width: 56px;
	min-height: 40px;
	height: 40px;
	margin-top: 0px;
	margin-left: 8px;
	margin-right: 6px;
}

.navbar-toggler[aria-expanded="true"] {
	border: 1px solid var(--nav-highlight-color);
	box-shadow: none;
}

.navbar-toggler:focus, .navbar-toggler:active {
	outline: none;
	border: 1px solid var(--nav-highlight-color);
	box-shadow: none;
}

.navbar-toggler:focus:not([aria-expanded="true"]),
.navbar-toggler:active:not([aria-expanded="true"]) {
    outline: none;
    border: none;
    box-shadow: none;
}

.navbar-image {
	width:260px;
}

.navbar-collapse {
	border-right: 4px solid var(--nav-highlight-color);
	border-bottom: 4px solid var(--nav-highlight-color);
	z-index: 1200;
	transition: all 0.0s ease-in-out;
	min-width: 310px;
	max-width: 310px;
	position: absolute;
	top: 56px; 
    left: 0px;
}

.navbar-collapse.show .navbar-nav {
	background-color: var(--nav-background-color);
	display: flex;
	flex-direction: column;
	padding: 2px 12px;
	border: 0px;
	border-radius: 0px 0px 0px 0px;
	z-index: 1200;
}

.menu-title {
	color: var(--nav-title-color);
	padding: 0px;
	font-size: 14px;
	font-family: formula1display-bold2;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.4);
}

.navbar-nav .nav-link {
	color: var(--nav-link-color);
	padding: 0px;
	margin-left: 20px;
	font-size: 12px;
	font-family: formula1display-italic;
}

/*
'formula1display-wide'
'formula1display-bold'
'formula1display-bold2'
'formula1display-italic'
'formula1display-regular'
'formula1display-black'
*/

.navbar-nav .nav-info {
	color: var(--nav-info-color);
	padding: 0px;
	margin-left: 20px;
	font-size: 12px;
	font-family: formula1display-italic;
}

.navbar-nav .nav-username {
	color: var(--correct-color);
	padding: 0px;
	margin-left: 0px;
	font-size: 12px;
	font-family: formula1display-bold;
}

.nav-header-top,
.nav-header-middle,
.nav-header-bottom {
	color: var(--nav-divider-color);
	opacity: .50;
}
.nav-header-top {
	margin-top: 0px;
	margin-bottom: 10px;
}
.nav-header-middle {
	margin-top: 10px;
	margin-bottom: 10px;
}
.nav-header-bottom {
	margin-top: 10px;
	margin-bottom: 6px;
}

.custom-message-container {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1500;
	width: 100%;
	max-width: 350px;
	
}
.custom-message-text {
	display: block;
	margin-right: 20px;
}
.custom-message-button {
	display: block;
}

.alert {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    border: 3px solid var(--messsage-border-color);
    border-radius: 10px;
    margin: 10px;
    padding:6px 12px 6px 12px; /* Top | Right | Bottom | Left */
    font-size: 16px;
    font-weight: normal;
    font-family: Tahoma;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
	min-height: 58px;
}
.alert .btn-close {
    margin-left: 5px;
    justify-self: end;
    flex-shrink: 0;
}
.alert-success {
	color: var(--messsage-text-color);
	background-color: var(--messsage-success-background-color);
}
.alert-error {
	color: var(--messsage-text-color);
	background-color: var(--messsage-error-background-color);
}
.alert-warning {
	color: var(--messsage-text-color);
	background-color: var(--messsage-warning-background-color);
}
.alert-info {
	color: var(--messsage-text-color);
	background-color: var(--messsage-info-background-color);
}

.display-none {
	display: none;
}

.main-page-container {
    margin-left: 10px;
    margin-right: auto;
    max-width: 850px;
    width: calc(100% - 10px);
}

.page-title {
	color: var(--title-color);
	font-size: 24px;
	font-family: formula1display-bold;
	margin-top: 14px;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 1.0);
}

.page-sub-title {
	color: var(--title-color);
	font-size: 18px;
	font-family: formula1display-bold;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 1.0);
}

.page-divider,
.page-divider-top-spacing,
.page-divider-bottom-spacing {
	color: var(--page-divider-color);
    z-index: -1;
    position: relative;
	opacity: .75;
}
.page-divider {
	color: var(--page-divider-color);
    z-index: -1;
    position: relative;
	opacity: .75;
}
.page-divider-top-spacing {
	margin-top: 20px;
}
.page-divider-bottom-spacing {
	margin-bottom: 10px;
}

.spacer-extra-small
.spacer-small
.spacer-medium
.spacer-large
.spacer-extra-large {
    display: block;
    width: 100%;
}
.spacer-extra-small {
    height: 4px;
}
.spacer-small {
    height: 12px;
}
.spacer-medium {
    height: 16px;
}
.spacer-large {
    height: 20px;
}
.spacer-extra-large {
    height: 24px;
}

.info-container {
	margin-left: 20px;
}

.generic-page-text {
	color: var(--text-color);
	font-size: 14px;
	font-family: Tahoma;
}

.generic-page-note {
	color: var(--text-color);
	font-size: 12px;
	font-weight: lighter;
	font-family: Tahoma;
}

.generic-page-success,
.generic-page-error,
.generic-page-warning {
	font-size: 14px;
	/*
	font-weight: bold;
	font-family: Tahoma;	
	*/
	font-family: formula1display-bold2;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 1.0);
}
.generic-page-success {
	color: var(--success-text-color);
}
.generic-page-error {
	color: var(--error-text-color);
}
.generic-page-warning {
	color: var(--warning-text-color);
}

.generic-page-label-extra-small,
.generic-page-label-small,
.generic-page-label-medium,
.generic-page-label-large,
.generic-page-label-extra-large {
	color: var(--text-color);
	font-size: 14px;
	font-family: formula1display-bold2;
	text-align: left;
	margin-right: 4px;
}
.generic-page-label-extra-small {
	min-width: 60px;
	max-width: 60px;
}
.generic-page-label-small {
	min-width: 80px;
	max-width: 80px;
}
.generic-page-label-medium {
	min-width: 120px;
	max-width: 120px;
}
.generic-page-label-large {
	min-width: 160px;
	max-width: 160px;
}
.generic-page-label-extra-large {
	min-width: 200px;
	max-width: 200px;
}

.generic-text-field-extra-small,
.generic-text-field-small,
.generic-text-field-medium,
.generic-text-field-large,
.generic-text-field-extra-large {
	color: var(--dropdown-text-color);
	background-color: var(--dropdown-background-color);
	font-size: 16px;
	font-weight: normal;
	font-family: Tahoma;
	margin: 2px;
	padding:0px 6px 0px 6px; /* Top | Right | Bottom | Left */
}
.generic-text-field-extra-small {
	min-width: 100px;
	max-width: 100px;
}
.generic-text-field-small {
	min-width: 250px;
	max-width: 250px;
}
.generic-text-field-medium {
	min-width: 400px;
	max-width: 400px;
}
.generic-text-field-large {
	min-width: 550px;
	max-width: 550px;
}
.generic-text-field-extra-large {
	min-width: 700px;
	max-width: 700px;
}
.generic-text-field-extra-small:disabled,
.generic-text-field-small:disabled,
.generic-text-field-medium:disabled,
.generic-text-field-large:disabled,
.generic-text-field-extra-large:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.generic-dropdown-extra-extra-small,
.generic-dropdown-extra-small,
.generic-dropdown-small,
.generic-dropdown-medium,
.generic-dropdown-medium-extra,
.generic-dropdown-medium-large,
.generic-dropdown-large,
.generic-dropdown-extra-large,
.generic-dropdown-extra-extra-large {
	color: var(--dropdown-text-color);
	background-color: var(--dropdown-background-color);
	border: 1px solid var(--dropdown-border-color); 
	font-size: 14px;
	/*font-weight: normal;
	font-family: Tahoma;
	*/
	font-family: formula1display-italic;
	height: 24px;
	margin: 2px;
	padding:0px 2px 0px 2px; /* Top | Right | Bottom | Left */
}
.generic-dropdown-extra-extra-small {
	min-width: 60px;
	width: 60px;
}
.generic-dropdown-extra-small {
	min-width: 80px;
	width: 80px;
}
.generic-dropdown-small {
	min-width: 150px;
	width: 150px;
}
.generic-dropdown-medium {
	min-width: 220px;
	width: 220px;
}
.generic-dropdown-medium-extra {
	min-width: 240px;
	width: 240px;
}
.generic-dropdown-medium-large {
	min-width: 300px;
	width: 300px;
}
.generic-dropdown-large {
	min-width: 400px;
	width: 400px;
}
.generic-dropdown-extra-large {
	min-width: 500px;
	width: 500px;
}
.generic-dropdown-extra-extra-large {
	min-width: 600px;
	width: 600px;
}

.generic-page-button-tiny,
.generic-page-button-extra-small,
.generic-page-button-small,
.generic-page-button-medium,
.generic-page-button-large,
.generic-page-button-extra-large {
	background-color: var(--button-background-color);
	border: 2px solid var(--button-border-color);
	border-radius: 5px;
	height: 26px;
	margin-top: 2px;
    padding: 0px;
    font-size: 12px;
	font-family: formula1display-italic;
	text-align: center;
	cursor: pointer;
	z-index: 0;
	
	width: 100px;
}
.generic-page-button-tiny.enabled,
.generic-page-button-extra-small.enabled,
.generic-page-button-small.enabled,
.generic-page-button-medium.enabled,
.generic-page-button-large.enabled,
.generic-page-button-extra-large.enabled {
    background-color: var(--button-background-color);
    color: var(--text-color);
    opacity: 1;
}
.generic-page-button-tiny:disabled,
.generic-page-button-extra-small:disabled,
.generic-page-button-small:disabled,
.generic-page-button-medium:disabled,
.generic-page-button-large:disabled,
.generic-page-button-extra-large:disabled {
    background-color: var(--disabled-color);
    color: var(--button-disabled-color);
    cursor: not-allowed;
    opacity: 0.5;
}
.generic-page-button-tiny.updating,
.generic-page-button-extra-small.updating,
.generic-page-button-small.updating,
.generic-page-button-medium.updating,
.generic-page-button-large.updating,
.generic-page-button-extra-large.updating {
    background-color: var(--updating-color);
    color: var(--text-color);
    cursor: not-allowed;
    opacity: 0.5;
}
.generic-page-button-tiny {
	width: 30px;
	min-width: 30px;
}
.generic-page-button-extra-small {
	width: 100px;
	min-width: 100px;
}
.generic-page-button-small {
	width: 150px;
	min-width: 150px;
}
.generic-page-button-medium {
	width: 200px;
	min-width: 200px;
}
.generic-page-button-large {
	width: 250px;
	min-width: 250px;
}
.generic-page-button-extra-large {
	width: 300px;
	min-width: 300px;
}

.stat-checkbox-positive,
.stat-checkbox-negative {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	z-index: 0;
	vertical-align: middle;
}
.stat-checkbox-positive {
	accent-color: var(--correct-color);
}
.stat-checkbox-negative {
	accent-color: var(--incorrect-color);
}

.generic-checkbox {
	width: 18px;
	height: 18px;
	margin: 0px;
	margin-bottom: 6px;
	z-index: 0;
	vertical-align: middle;
	accent-color: var(--correct-color);
}

.generic-table-title {
	color: var(--table-title-color);
	font-size: 20px;
	font-family: formula1display-Bold2;
	margin-bottom: 6px;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 1.0);
}

.generic-table-sub-title {
	color: var(--table-title-color);
	font-size: 16px;
	/*
	font-weight: bold;
	font-family: Tahoma;
	*/
	font-family: formula1display-bold2;
	margin-bottom: 10px;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 1.0);
}

.generic-table-info-title {
	color: var(--generic-page-text);
	font-size: 12px;
	font-weight: normal;
	font-family: Tahoma;
	margin: 0px;
	padding: 0px;
}

.generic-table-filter {
	display: inline-table;
	padding:0px 20px 0px 0px; /* Top | Right | Bottom | Left */
}

.generic-table-filter-title {
	color: var(--text-color);
	font-size: 12px;
	font-family: formula1display-bold2;
	text-align: center;
	vertical-align: middle;
	margin-right: 4px;
}

.generic-table {
	table-layout: fixed;
	border-collapse: collapse;
	border: 3px solid var(--table-border-color);
	flex-shrink: 0;
}

.generic-table .main-header-extra-extra-small,
.generic-table .main-header-extra-small,
.generic-table .main-header-small,
.generic-table .main-header-medium,
.generic-table .main-header-large,
.generic-table .main-header-extra-large,
.generic-table .main-header-extra-extra-large,
.generic-table .main-header-extra-expandable,
.generic-table .main-header-group,
.generic-table .main-header-results-group,
.generic-table .inner-header,
.generic-table .inner-header-debug {
	background-color: var(--table-header-background-color);
	color: var(--table-header-text-color);
	border: 1px solid var(--table-cell-border-color);
	width: auto;
	min-width: 16px;
	font-size: 15px;
	/*
	font-weight: bold;
	font-family: Tahoma;
	*/
	font-family: formula1display-bold2;
	text-align: center;
	padding: 0px 4px 0px 4px;  /* Top | Right | Bottom | Left */
}
.generic-table .main-header-extra-extra-small {
	width: 50px;
	min-width: 50px;
}
.generic-table .main-header-extra-small {
	width: 80px;
	min-width: 80px;
}
.generic-table .main-header-small {
	width: 100px;
	min-width: 100px;
}
.generic-table .main-header-medium {
	width: 150px;
	min-width: 150px;
}
.generic-table .main-header-large {
	width: 200px;
	min-width: 200px;
}
.generic-table .main-header-extra-large {
	width: 250px;
	min-width: 250px;
}
.generic-table .main-header-extra-extra-large {
	width: 300px;
	min-width: 300px;
}
.generic-table .main-header-extra-expandable {
	width: auto;
	min-width: 10px;
}
.generic-table .main-header-group {
	width: 150px;
	min-width: 150px;
	font-size: 18px;
}
.generic-table .main-header-results-group  {
	width: 150px;
	min-width: 150px;
	font-size: 18px;
	height: 150px;
}
.generic-table .inner-header,
.generic-table .inner-header-debug {
	font-family: formula1display-italic;
	font-size: 12px;
	width: auto;
	min-width: 15px;
	padding-top: 6px;
	padding-bottom: 6px;
	writing-mode: vertical-lr;
}
.generic-table .inner-header-debug {
	background-color: var(--incorrect-color);
	color: var(--debug-text-color);
	font-family: formula1display-italic;
	font-size: 13px;
}

.generic-table tr:nth-child(odd) {
    background-color: var(--table-row-background-color-first);
}
.generic-table tr:nth-child(even) {
    background-color: var(--table-row-background-color-second);
}

#id-weekend-result-table tr:nth-child(odd),
#id-driver-results-table tr:nth-child(odd),
#id-penalties-table tr:nth-child(odd) {
    background-color: var(--edit-results-table-row-odd-color);
}

#id-weekend-result-table tr:nth-child(even),
#id-driver-results-table tr:nth-child(even),
#id-penalties-table tr:nth-child(even) {
    background-color: var(--edit-results-table-row-even-color);
}

.generic-table  td {
	background-color: transparent;
	color: var(--table-cell-text-color);
	border: 1px solid var(--table-cell-border-color);
	width: auto;
	min-width: 24px;
	overflow: visible;
	padding: 1px;
	font-size: 12px;
	/*
	font-weight: normal;
	font-family: Tahoma;
	*/
	font-family: formula1display-regular;
	text-align: center;
	vertical-align: middle;
}

.generic-table td.predictions-answers-column {
    white-space: nowrap;
    overflow: hidden;
	vertical-align: middle;
	text-align: left;
}
.generic-table td.predictions-answers-column.center-images {
	text-align: center;
}

.generic-table td.stat-table {
	padding: 0px 4px 0px 4px;  /* Top | Right | Bottom | Left */
}
.generic-table td.stat-table.title-cell{
	font-weight: bold;
}

.generic-table td.season-stat-entities {
    white-space: normal;
    overflow: hidden;
	vertical-align: middle;
	text-align: left;
}
.generic-table td.season-stat-entities.center-images {
	text-align: center;
}


.number-input-extra-small,
.number-input-small,
.number-input-medium,
.number-input-large,
.number-input-extra-large,
.number-input-extra-extra-large {
	color: var(--dropdown-text-color);
	background-color: var(--dropdown-background-color);
	border: 1px solid var(--dropdown-border-color); 
	padding: 0px;
	height: 24px;
	margin: 2px;
	font-size: 14px;
	text-align: center;
	outline: none;
	box-shadow: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
}
.number-input-extra-small {
	width: 40px;
	min-width: 40px;
}
.number-input-small {
	width: 50px;
	min-width: 50px;
}
.number-input-medium {
	width: 60px;
	min-width: 60px;
}
.number-input-large {
	width: 70px;
	min-width: 70px;
}
.number-input-extra-large {
	width: 90px;
	min-width: 90px;
}
.number-input-extra-extra-large {
	width: 120px;
	min-width: 120px;
}
.number-input-extra-small::-webkit-inner-spin-button,
.number-input-extra-small::-webkit-outer-spin-button,
.number-input-small::-webkit-inner-spin-button,
.number-input-small::-webkit-outer-spin-button,
.number-input-medium::-webkit-inner-spin-button,
.number-input-medium::-webkit-outer-spin-button,
.number-input-large::-webkit-inner-spin-button,
.number-input-large::-webkit-outer-spin-button,
.number-input-extra-large::-webkit-inner-spin-button,
.number-input-extra-large::-webkit-outer-spin-button,
.number-input-extra-extra-large::-webkit-inner-spin-button,
.number-input-extra-extra-large::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance:textfield;
}


.foldable-container {
	margin-bottom: 5px;
	border: 2px solid var(--dropdown-border-color);
	border-radius: 10px;
}

.foldable-header {
	color: var(--text-color);
	background-color: var(--dropdown-background-color);
	border-radius: 10px;
	padding: 4px;
	padding-left: 10px;
	cursor: pointer;
	font-size: 16px;
	font-weight: bold;
	font-family: Tahoma;
	
	z-index: 10;
}

.foldable-content {
	display: none;
	padding: 4px;
}

.foldable-content.open {
	display: block;
}








.additional-buttons-row-container {
	display: flex;
	justify-content: flex-start;
	align-items: left;
	gap: 10px;
}

.additional-filters-row-container {
	display: inline-table;
	overflow-x: visible;
}

.predictions-question-data-container {
	padding: 6px;
}

.predictions-debug-title {
	color: var(--table-title-color);
	font-size: 12px;
	font-weight: bold;
	font-family: Tahoma;
	margin-bottom: 10px;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 1.0);
}

.predictions-debug-label {
	color: var(--text-color);
	font-size: 12px;
	font-weight: bold;
	font-family: Tahoma;
	text-align: left;
	margin-right: 4px;
	min-width: 160px;
	max-width: 160px;
}

.predictions-debug-info {
	color: var(--generic-page-text);
	font-size: 10px;
	font-weight: lighter;
	font-family: Tahoma;
	margin: 0px;
	padding: 0px;
}

.predictions-question-data-table {
	table-layout: fixed;
	border-collapse: collapse;
	border: 1px solid var(--table-border-color);
	flex-shrink: 0;
}

.predictions-question-data-table .question-data-header {
	background-color: var(--table-header-background-color);
	color: var(--table-header-text-color);
	border: 1px solid var(--table-cell-border-color);
	width: auto;
	min-width: 16px;
	max-width: 120px;
	font-size: 10px;
	font-weight: bold;
	font-family: Tahoma;
	text-align: center;
	padding: 0px 6px 0px 6px;  /* Top | Right | Bottom | Left */
}

.predictions-question-data-table tr:nth-child(odd) {
    background-color: var(--table-row-background-color-first);
}
.predictions-question-data-table tr:nth-child(even) {
    background-color: var(--table-row-background-color-second);
}

.predictions-question-data-table  td {
	background-color: transparent;
	color: var(--table-cell-text-color);
	border: 1px solid var(--table-cell-border-color);
	width: auto;
	min-width: 24px;
	overflow: visible;
	padding: 1px;
	font-size: 12px;
	font-weight: normal;
	font-family: Tahoma;
	text-align: center;
	vertical-align: middle;
	padding: 0px 6px 0px 6px;  /* Top | Right | Bottom | Left */
}


.predictions-star {
	width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 2px;
    vertical-align: middle;
}

.predictions-correct-answer-image {
	border: 2px solid black;  /* TODO */
    width: 34px;
    height: 34px;
	margin-bottom: 2px;
}

.predictions-correct-answers-container {
	display: flex;
	justify-content: flex-start;
	white-space: nowrap;
    overflow: visible;
	gap: 2px;
}

.predictions-result-image-default,
.predictions-result-image-correct,
.predictions-result-image-incorrect,
.predictions-result-image-unknown {
	width: 28px;
    height: 28px;
	margin: 1px;
}
.predictions-result-image-default {
    border: 2px solid black;  /* TODO */
}
.predictions-result-image-correct {
    border: 2px solid green;  /* TODO */
}
.predictions-result-image-incorrect {
    border: 2px solid red;  /* TODO */
	opacity: 60%;
	filter: grayscale(60%);
}
.predictions-result-image-unknown {
    border: 2px solid grey;  /* TODO */
	opacity: 60%;
	filter: grayscale(60%);
}

.predictions-result-closest-answer {
	min-width: 80px;
	width: auto;
	display: inline-flex;
    align-items: center;
	vertical-align: middle;
}

.predictions-result-closest-answer-text {
	display: inline-block;
	color: var(--text-color);
	font-size: 12px;
	font-weight: normal;
	font-family: Tahoma;
	margin-left: 4px;
	padding: 0px;
}

.hidden-checkbox {
    display: none;
}

.predictions-checkbox-container {
	min-width: 220px;
	max-width: 220px;
	min-height: 54px;
	max-height: 54px;
	margin-right: 4px;
	margin-bottom: 4px;
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 10px;
    
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.0s ease, box-shadow 0.0s ease;
	border: 2px solid black;
}
.predictions-checkbox-container:hover {
    transform: scale(1.025);
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3);
}
.predictions-checkbox-container:has(.hidden-checkbox:checked) {
    border: 3px solid DarkGreen;
}
.predictions-checkbox-container:has(.hidden-checkbox:checked) .predictions-survey-image {
    border: 3px solid DarkGreen;
}
.predictions-checkbox-container:has(.hidden-checkbox:checked) .predictions-survey-background {
    opacity: 0.5;
}
.predictions-checkbox-container:has(.hidden-checkbox:checked) .predictions-survey-primary-name {
	font-weight: bold;
}
.predictions-checkbox-container:has(.hidden-checkbox:checked) .predictions-survey-secondary-name {
	font-weight: bold;
}
.predictions-checkbox-container:has(.hidden-checkbox:not(:checked)) {
    border: 1px solid black;
}
.predictions-checkbox-container:has(.hidden-checkbox:not(:checked)) .predictions-survey-image {
    border: 1px solid black;
}
.predictions-checkbox-container:has(.hidden-checkbox:not(:checked)) .predictions-survey-background {
    opacity: 0.2;
}
.predictions-checkbox-container:has(.hidden-checkbox:not(:checked)) .predictions-survey-primary-name {
	font-weight: normal;
}
.predictions-checkbox-container:has(.hidden-checkbox:not(:checked)) .predictions-survey-secondary-name {
    font-weight: normal;
}

.predictions-checkboxes-wrapper {
	width: 600px;
	display: flex;
	flex-wrap: wrap;
}

.predictions-checkbox-content {
    z-index: 2;
	width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
	user-select: none;
}

.predictions-survey-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
	user-select: none;
}

.predictions-survey-image {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid black;
	pointer-events: none;
	user-select: none;
}

.predictions-survey-text-block {
    display: flex;
    flex-direction: column;
    text-align: left;
	width: 100%;
	line-height: 16px;
	height: 100%;
    gap: 0px;
	pointer-events: none;
	user-select: none;
}

.predictions-survey-primary-name {
    font-size: 16px;
	font-weight: normal;
	font-family: Tahoma;
    color: black;
	z-index: 10;
	position: relative;
	margin-top: 6px;
	pointer-events: none;
	user-select: none;
}

.predictions-survey-secondary-name {
    font-size: 12px;
    font-weight: normal;
	font-family: Tahoma;
    color: black;
	z-index: 10;
	pointer-events: none;
	user-select: none;
}


.predictions-survey-driver-number {
    font-size: 56px;
    font-weight: lighter;
    color: #ddd;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    position: absolute;
    right: -76px; 
	bottom: 20px; 
    z-index: 2;
    opacity: 0.7;
    text-align: center;
	width: 100%;
	height: 100%;
	pointer-events: none;
	user-select: none;
}

.predictions-driver-pair-container {
	background-color: Gainsboro; 
	min-width: 436px;
	max-width: 436px;
	min-height: 94px;
	max-height: 94px;
	position: relative;
	margin-right: 4px;
	margin-bottom: 4px;
    display: flex;
    flex-direction: column;
    padding: 4px;
    border-radius: 10px;
	z-index: 10;
    overflow: hidden;
    cursor: auto;
    transition: transform 0.0s ease, box-shadow 0.0s ease;
	border: 2px solid black;
}

.predictions-driver-pair-constructor-group {
	display: flex;
    flex-direction: row;
}

.predictions-driver-pair-constructor-title {
	font-size: 18px;
	width: 160px;
	min-width: 160px;
	font-weight: bold;
	font-family: Tahoma;
    color: black;
	z-index: 12;
	margin-left: 4px;
	margin-right: 10px;
	pointer-events: none;
	user-select: none;
	vertical-align: middle;
}

.predictions-driver-pair-constructor-info{
	font-size: 16px;
	position: absolute;
	font-weight: bold;
	font-family: Tahoma;
    color: red;
	z-index: 12;
	width: 100%;
	margin-top: 0px;
	margin-right: 0px;
	pointer-events: none;
	user-select: none;
	vertical-align: middle;
	text-align: center;
}

.predictions-driver-pair-constructor-info.selected {
    color: green;
}

.predictions-driver-pair {
	z-index: 12;
	width: 100%;
    display: flex;
    align-items: left;
    gap: 0px;
	user-select: none;
}

.predictions-driver-pair-checkbox-container:hover {
    transform: scale(1.025);
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3);
}

.predictions-driver-pair-checkbox-container:has(.hidden-checkbox:checked) {
    border: 2px solid DarkGreen;
}
.predictions-driver-pair-checkbox-container:has(.hidden-checkbox:checked) .predictions-survey-image {
    border: 2px solid DarkGreen;
}
.predictions-driver-pair-checkbox-container:has(.hidden-checkbox:checked) .predictions-survey-background {
    opacity: 0.5;
}
.predictions-driver-pair-checkbox-container:has(.hidden-checkbox:checked) .predictions-survey-primary-name {
	font-weight: bold;
}

.predictions-driver-pair-checkbox-container:has(.hidden-checkbox:not(:checked)) {
    border: 1px solid black;
}
.predictions-driver-pair-checkbox-container:has(.hidden-checkbox:not(:checked)) .predictions-survey-image {
    border: 1px solid black;
}
.predictions-driver-pair-checkbox-container:has(.hidden-checkbox:not(:checked)) .predictions-survey-background {
    opacity: 0.2;
}
.predictions-driver-pair-checkbox-container:has(.hidden-checkbox:not(:checked)) .predictions-survey-primary-name {
	font-weight: normal;
}

.predictions-driver-pair-checkbox-container {
	min-width: 210px;
	max-width: 210px;
	min-height: 54px;
	max-height: 54px;
	margin-right: 4px;
	margin-bottom: 4px;
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 10px;
    
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.0s ease, box-shadow 0.0s ease;
	border: 2px solid black;
}

.predictions-fantasy-league-intro {
	max-width: 550px;
	margin-bottom: 12px;
}

.predictions-fantasy-league-bullet-point {
	color: var(--text-color);
	font-size: 14px;
	font-weight: normal;
	font-family: Tahoma;
}



.predictions-sortable-list {
	width: 250px;
	min-width: 250px;
    padding: 0;
    margin: 0;
	cursor: grab;
	user-select: none;
	z-index: 20;
	
}

.predictions-sortable-item-container {
	width: 300px;
	min-width: 300px;
	max-width: 300px;
	height: 72px;
	min-height: 54px;
	max-height: 54px;
	margin-bottom: 4px;
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 10px;
	cursor: grab;
	z-index: 22;
    
    position: relative;
    overflow: hidden;
    transition: transform 0.0s ease, box-shadow 0.0s ease;
	border: 2px solid black;
}

.predictions-sortable-item-container:hover {
    transform: scale(1.025);
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3);
}

.predictions-sortable-rank-label {
	width: 60px;
	min-width: 60px;
	max-width: 60px;
	margin-left:2px;
	
	
	font-size: 16px;
	font-weight: bold;
	font-family: Tahoma;
    color: black;
	text-align: center;
	
	z-index: 24;
	
	overflow: visible;
}

.predictions-sortable-item-image {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid black;
	pointer-events: none;
	user-select: none;
	z-index: 26;
}


.predictions-sortable-item-dragged-element {
    border: 4px solid Black;
}


.predictions-sortable-item-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
	user-select: none;
}



.predictions-sortable-item-content {
    z-index: 2;
	width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
	user-select: none;
}

.predictions-sortable-item-text-block {
    display: flex;
    flex-direction: column;
    text-align: left;
	width: 100%;
	line-height: 16px;
	height: 100%;
    gap: 0px;
	pointer-events: none;
	user-select: none;
}

.predictions-sortable-item-primary-name {
    font-size: 16px;
	font-weight: normal;
	font-family: Tahoma;
    color: black;
	z-index: 10;
	position: relative;
	margin-top: 2px;
	pointer-events: none;
	user-select: none;
}

.predictions-sortable-item-secondary-name {
    font-size: 12px;
    font-weight: normal;
	font-family: Tahoma;
    color: black;
	z-index: 10;
	pointer-events: none;
	user-select: none;
}

.predictions-sortable-item-driver-number {
    font-size: 56px;
    font-weight: lighter;
    color: #ddd;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    position: absolute;
    right: -112px; 
	bottom: 20px; 
    z-index: 2;
    opacity: 0.7;
    text-align: center;
	width: 100%;
	height: 100%;
	pointer-events: none;
	user-select: none;
}

.predictions-driver-row-selection-container {
	min-width: 450px;
	max-width: 450px;
	display: flex;
	margin-bottom: 12px;
}

.predictions-driver-row-selection-grid-rows-container {
	margin-right: 6px;
}

.predictions-driver-row-selection-drivers-container {
	width: auto;
	max-width: 430px;
	display: inline-block;
}




.predictions-driver-row-selection-driver-container {
	display: inline-flex;
	min-width: 210px;
	max-width: 210px;
	height: 72px;
	min-height: 54px;
	max-height: 54px;
	margin: 2px;
	padding: 2px;
    align-items: center;
    border-radius: 10px;
	cursor: grab;
	z-index: 22;
    
    position: relative;
    overflow: hidden;
    transition: transform 0.0s ease, box-shadow 0.0s ease;
	border: 2px solid black;
}


.predictions-driver-row-selection-driver-number {
    font-size: 56px;
    font-weight: lighter;
    color: #ddd;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    position: absolute;
	overflow: hidden;
    right: 4px;  
    z-index: 2;
    opacity: 0.7;
    text-align: center;
	line-height: 45px;
	width: 54px;
	height: 100%;
	pointer-events: none;
	user-select: none;
}


.predictions-driver-row-selection-grid-row-title {
	font-size: 10px;
	font-weight: bold;
	font-family: Tahoma;
    color: black;
	z-index: 10;
	pointer-events: none;
	user-select: none;
	margin: 0px;
}

.predictions-driver-row-selection-grid-row {
	background-color: LightGrey;
	width: min-content;
	min-width: 218px;
	min-height: 40px;
	
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	
	border: 2px solid black;
}





.predictions-driver-row-selection-driver-list-title {
	display: block;
	font-size: 10px;
	font-weight: bold;
	font-family: Tahoma;
    color: black;
	z-index: 10;
	pointer-events: none;
	user-select: none;
	margin: 0px;
}

.predictions-driver-row-selection-driver-list {
	width: auto;
	min-width: 40px;
	min-height: 40px;
	
	margin: 0px;
	margin-bottom: 12px;
	padding: 0px;
	list-style-type: none;
	
	column-count: 2;
    column-gap: 0px;
	
	border: 2px solid black;
	
	padding-top: 0px;
}


.predictions-driver-tally-weekends-container {
	width: auto;
	display: flex;
	margin-bottom: 4px;
}

.predictions-driver-tally-weekend-title {
	font-size: 10px;
	font-weight: bold;
	font-family: Tahoma;
    color: black;
	z-index: 10;
	pointer-events: none;
	user-select: none;
	margin: 0px;
}

.predictions-driver-tally-weekend-slot {
	background-color: LightGrey;
	width: min-content;
	min-width: 218px;
	min-height: 61px;
	
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	
	border: 2px solid black;
}

.predictions-driver-tally-weekend {
	margin-right: 10px;
}

.predictions-tally-entity {
	width: 100%;
    display: flex;
    align-items: left;
    gap: 5px;
	padding:0px 2px 0px 2px; /* Top | Right | Bottom | Left */
	line-height: 30px;
	user-select: none;
}

.empty {
    visibility: hidden;
}








.predictions-constructor-row-selection-constructor-container {
	display: inline-flex;
	min-width: 210px;
	max-width: 210px;
	height: 72px;
	min-height: 54px;
	max-height: 54px;
	margin: 2px;
	padding: 2px;
    align-items: center;
    border-radius: 10px;
	cursor: grab;
	z-index: 22;
    
    position: relative;
    overflow: hidden;
    transition: transform 0.0s ease, box-shadow 0.0s ease;
	border: 2px solid black;
}



.delete-penalty-button,
.delete-driver-result-button {
	background-color: #F8312F;
    color: black;
	margin-top: 0px;
    padding: 0px 0px;
    font-size: 12px;
	border: 1px solid black;
    border-radius: 50%;
	width: 22px;
	font-family: Monospace;
	font-weight: 450;
	height: 22px;
	text-align: center;
	z-index: 0;
}

.refresh-button {
    border: none;
    background: transparent;
    font-size: 24px;
    width: 26px;
    height: 26px;
    text-align: center;
    cursor: pointer; 
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}
.refresh-button:focus {
    outline: none;
}
.refresh-button:hover {
    opacity: 0.7;
}


.update-players-button {
    border: none;
    background: transparent;
    font-size: 24px;
    width: 26px;
    height: 26px;
    text-align: center;
    cursor: pointer; 
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}
.update-players-button:focus {
    outline: none;
}
.update-players-button:hover {
    opacity: 0.7;
}


.graph-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
	padding:2px 0px 2px 0px; /* Top | Right | Bottom | Left */
    color: #555;
    transition: color 0.2s ease-in-out;
}
.graph-button:hover {
    color: #007bff;
}
.graph-button:focus {
    outline: none;
}

.inspect-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
	padding:2px 0px 2px 0px; /* Top | Right | Bottom | Left */
    color: #555;
    transition: color 0.2s ease-in-out;
}
.inspect-button:hover {
    color: #007bff;
}
.inspect-button:focus {
    outline: none;
}

.question-data-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
	padding:2px 0px 2px 0px; /* Top | Right | Bottom | Left */
    color: #555;
    transition: color 0.2s ease-in-out;
}
.question-data-button:hover {
    color: #007bff;
}
.question-data-button:focus {
    outline: none;
}

.additional-padding-left {
	padding-left: 7px;
}

.championship-graph-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0px;
    color: #555;
    transition: color 0.2s ease-in-out;
}
.championship-graph-button:hover {
    color: #007bff;
}
.championship-graph-button:focus {
    outline: none;
}








.pop-up-window-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 1054;
}

.pop-up-window-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--background-color);
    color: var(--text-color);
    box-sizing: border-box;
}

.pop-up-window-close-button {
    background: none;
    border: none;
    font-size: 1.0rem;
    color: var(--text-color, #ffffff);
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.pop-up-window-button:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 0;
    overflow: visible;
}

.pop-up-window-dialog {
    position: fixed;
    top: 10%;
    left: 10%;
    resize: both;
    overflow: auto;
    width: 700px;
    height: 500px;
    min-width: 400px;
    min-height: 300px;
    max-width: 95vw;
    max-height: 95vh;
    z-index: 1055;
    background-color: var(--background-color);
    color: var(--text-color);
    border: 2px solid var(--table-border-color);
    display: flex;
    flex-direction: column;
}

.pop-up-window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:2px 4px 0px 4px; /* Top | Right | Bottom | Left */
    cursor: move;
    background-color: var(--background-color);
    color: var(--text-color);
}

.pop-up-window-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 6px;
    overflow: hidden;
}

.hidden {
    display: none !important;
}

#id-history-graph-container {
    flex: 1;
    position: relative;
    border: 1px solid var(--table-border-color);
    overflow: hidden;
}

#id-history-graph-canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

#id-question-data-container {
    flex: 1;
    position: relative;
    border: 1px solid var(--table-border-color);
    overflow: hidden;
}









.options-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 300px;
    height: 8px;
    background: #000000;
    border-radius: 4px;
    outline: none;
    margin-right: 15px;
    cursor: pointer;
}

.options-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, var(--slider-color) var(--progress), var(--slider-background-color) var(--progress));
    border-radius: 4px;
    cursor: pointer;
}

.options-slider::-moz-range-track {
    width: 100%;
    height: 8px;
    background: var(--slider-color);
    border-radius: 4px;
    cursor: pointer;
}

.options-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--slider-color);
    border-radius: 50%;
    cursor: pointer;
    margin-top: -4px;
}

.options-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--slider-color);
    border-radius: 50%;
    cursor: pointer;
}


.options-slider-value {
	color: var(--text-color);
	font-size: 16px;
	font-weight: bold;
	font-family: Tahoma;
}

.player-joined-label {
	color: var(--text-color);
	font-size: 12px;
	font-weight: normal;
	font-family: Tahoma;
	text-align: left;
	min-width: 0px;
	max-width: 400px;
}

.site-award {
	width: 40px;
    height: 40px;
	margin: 1px;
}

.player-stat-label {
	color: var(--text-color);
	font-size: 14px;
	font-weight: bold;
	font-family: Tahoma;
	text-align: left;
	margin-right: 4px;
	min-width: 250px;
	max-width: 250px;
}

.player-stat-text {
	color: var(--text-color);
	font-size: 14px;
	font-weight: normal;
	font-family: Tahoma;
	text-align: left;
	min-width: 0px;
	max-width: 400px;
}



.race-weekend-info-label {
	color: var(--text-color);
	font-size: 12px;
	font-family: formula1display-bold2;
	text-align: left;
	margin-right: 4px;
	min-width: 140px;
	max-width: 140px;
	display: inline-block;
}

.race-weekend-info-text {
	color: var(--text-color);
	font-size: 12px;
	font-family: formula1display-regular;
	text-align: left;
	min-width: 0px;
	max-width: 400px;
}