﻿/* ========================================
   BASE STYLES
   ======================================== */

html, body {
	color: var(--mud-palette-white) !important;
	height: 100%;
	margin: 0;
	padding: 0;
}

body {
	background: linear-gradient(180deg, var(--mud-palette-gray-light), var(--mud-palette-gray-default));
	background-attachment: fixed;
	background-repeat: no-repeat;
}

/* Utility Classes */
.full-width {
	width: 100%;
	box-sizing: border-box;
	display: flex;
	flex: 1;
}

/* ========================================
   LAYOUT - HEADER / APP BAR
   ======================================== */

.app-bar {
	position: center;
	background-color: var(--mud-palette-gray-default) !important;
	color: var(--mud-palette-primary) !important;
}

div.badge,
a.brand,
a.brand:visited {
	font-weight: 500;
	font-size: 16px;
	color: var(--mud-palette-primary) !important;
	text-transform: uppercase;
}

.avatar {
	background-color: var(--mud-palette-surface);
	color: var(--mud-palette-gray-light) !important;
}

.header-title {
	font-size: 32px;
	text-transform: uppercase;
}

/* ========================================
   LAYOUT - DRAWER / MENU
   ======================================== */

.mud-drawer-content {
	background: linear-gradient(180deg, var(--mud-palette-gray-light), var(--mud-palette-gray-default));
}

.menu-item {
	text-transform: uppercase;
}

/* ========================================
   LAYOUT - MAIN CONTENT
   ======================================== */

.mud-main-content {
	padding-bottom: 96px;
}

/* ========================================
   LAYOUT - FOOTER
   ======================================== */

.footer {
	background-color: var(--mud-palette-gray-default) !important;
	color: var(--mud-palette-primary) !important;
}

.copyright {
	text-align:end;
	width:100%;
}

/* ========================================
   COMPONENTS - CHALLENGE
   ======================================== */

.challenge-name,
.challenge-description,
.challenge-detail {
	color: var(--mud-palette-text-secondary) !important;
}

/* ========================================
   COMPONENTS - ANSWER
   ======================================== */
.answer-group {
	background-color: var(--mud-palette-surface) !important;
	width: 100%;
}

.answer-input {
	color: var(--mud-palette-text-primary);
	background-color: var(--mud-palette-surface);
	border-radius: 5px 0 0 5px;
	padding: 0;
	width: 100%;
}

.answer-input .mud-input-outlined-border {
	border-color: transparent !important;
}

.check-button {
	border-radius: 0 5px 5px 0;
}

/* ========================================
   COMPONENTS - QUESTION
   ======================================== */

.question {
	padding: 10px;
}

.question-hint {
	color: var(--mud-palette-primary) !important;
	font-size: 12px;
	margin-top: 5px;
}

/* ========================================
   COMPONENTS - RANKING
   ======================================== */

.ranking-flags {
	width: 15%;
}

.ranking-name {
	width: 70%;
}

.ranking-score {
	width: 15%;
}

/* ========================================
   COMPONENTS - STATISTICS
   ======================================== */

.mud-chart {
	font-size: 32px;
	text-transform: uppercase;
}

.score-control svg {
	overflow: visible !important;
}

.score-control .axis-title {
	font-size: 16px !important;
	fill: var(--mud-palette-white) !important;
}

.score-control .mud-charts-yaxis .axis-title {
	fill: var(--mud-palette-white) !important;
}

/* ========================================
   COMPONENTS - SCORE
   ======================================== */

.my-score-control {
	margin-left:15px;
}

.score-badge {
	margin-top: 30px;
}

.score-incorrect > span > span {
	background-color: var(--mud-palette-error) !important;
}

/* ========================================
   COMPONENTS - STEPPER
   ======================================== */

.stepper-container {
	width: 100%;
	overflow-x: auto;
}

.mud-stepper-actions button {
	display: none;
}

.mud-step-label-content-title {
	color: var(--mud-palette-white) !important;
	text-transform: uppercase !important;
	font-size:18px;
	font-weight: 400 !important;
}

@media (max-width: 960px) {
	.stepper-container {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

/* ========================================
   COMPONENTS - TOPIC
   ======================================== */

.topic-control-start {
	padding-left: 20px;
}

.topic-control-end {
	padding-right: 20px;
}

.topic-title {
	text-transform: uppercase !important;
	font-size: 24px;
}

.topic-group {
	background-color: var(--mud-palette-surface) !important;
}

/* ========================================
   COMPONENTS - CONTENT
   ======================================== */

.content-paragraph {
	margin-bottom:5px;
}

.content-warning {
	color:white;
}

ol.content-list {
	padding-left: 15px;
	margin-top:5px;
}
ul.content-list {
	list-style-type: none;
	padding-left: 0;
	margin-top: 5px;
	margin-top: 5px;
}

ol.content-list li {
	position: relative;
}
ul.content-list li {
	padding-left: 20px;
	position: relative;
}

	ol.content-list li::before {
		position: absolute;
		left: 0;
	}

ul.content-list li::before {
	content: "- ";
	position: absolute;
	left: 0;
}

.content-code {
	background-color:var(--mud-palette-warning-hover);
	color: white;
	margin-top: 10px;
}

.content-button {
	width: 100%;
	box-sizing: border-box;
}