:root {
	--pagebg: black;
}

body {
	background-color: var(--pagebg);
	font-family: "Calibri", sans-serif;
}

.center {
	margin-right: auto;
	margin-left: auto;
}

table, td {
	padding: 0px;
	margin: 0px;
	border: 0px;
}

td {
	border-collapse: collapse;
}


table.tabs {
	margin-right: auto;
	margin-left: auto; 	
}

.tabs td {
/*	text-transform: uppercase;*/
	padding: 15px;
	border-top: 2px solid var(--pagebg);
	margin: 0px;	
	font-weight: bold;
	font-size: 32px;
	border-radius: 8px 8px 0px 0px; 
}

.tabs a {
  text-decoration: none;
  color: black;
}

.tabs a:hover {
  color: gray;
}

.tabs .active {
  background-color: var(--active);
  border-top: 2px solid var(--active);
}

.tabs .active a {
  color: black;
  text-decoration: none; 
}

.buttons {
  border-radius: 8px 8px 0px 0px; 
  border: 6px solid black;
  background-color: white;
  border-bottom: none;
  text-align: center;
}

.buttons table {
	width: 100%;
}	

.buttons .center {
	width: 60%;
	text-align: center;	
}	

.buttons .left {
	width: 20%;	
	text-align: left;	
}	

.buttons .right {
	width: 20%;	
	text-align: right;
}	

.buttons img {
	margin-left: 10px;
	margin-right: 10px;
}	

.content {
  background-color: white;
  padding: 5px 10px 5px 10px;
  border-radius: 0px 0px 8px 8px; 
  border: 6px solid black;
  width: 1000px;

}

.simple_content {
  background-color: white;
  padding: 5px 10px 5px 10px;
  border-radius: 8px; 
  border: 6px solid gray;
  width: 1000px;

}
	
.warning {
	color: red;
}

#q_audio_button, #a_audio_button {
	position: absolute; 
	top: 5px; 
	left: 5px;
	right: 0;
	opacity: 0.5;
	cursor: pointer;
}

#audio_button {
	opacity: 0.5;
	cursor: pointer;
}


#a_wiki {
	cursor: pointer;
	}
#answer {
	display:none;
}

.decks {
	font-size: 28px;
}

.decks a {
	text-decoration: none; 
	color: black;
	margin-bottom: 10px;	
}

.decks a:hover {
	color: gray;
}

.decks li {
	list-style-type: circle;
	margin-bottom: 10px;	
}

.decks li.active {
	list-style-type: disc;
	font-weight: bold;
}

.decks ul li .deck_header {
	font-size: 28px;
}

.decks span {
	display:inline-block;
	font-size: 26px;
	border-radius: 4px;
	background-color: lightgray;	
	border: 6px solid lightgray;
	font-weight: normal;
	padding: 5px; 
	margin-right: 10px;	
}

.decks span:hover {
	background-color: gray;
	border: 6px solid gray;	
}

.card_header {
	font-size: 24px;
	border-radius: 5px; 
	border: 4px solid gray;	
	padding: 5px;	
}

.card_header span {
	font-weight: bold;
}

.card_header span.warning {
	font-weight: normal;
}

form h1 {
	margin: 0px;
	font-size: 20px;
}

.form-frame {
	border-radius: 5px; 
	border: 4px solid gray;	
	padding: 5px;	
	margin-bottom: 10px;
}

label {
	display:block; 
	margin-bottom:5px;
}

input[type=text], input[type=password], input[type=submit],  select {
	border:1px solid gray;
	border-radius:4px;
	height: 32px;
	width: 200px;
	margin-bottom:5px;	
}

input[type=text], input[type=password] {
	width: 400px;
}
select {
	width: 100%;
}

.button {
	display:inline-block;
	width: 100px;
}
	
.button:hover{cursor: pointer;}	

.btn-primary {color:#fff;background-color:#007bff;border-color:#007bff}

.btn-primary:hover{color:#fff;background-color:#0069d9;border-color:#0062cc; cursor: pointer;}



.paginator {
	width: 100%;
	border:4px solid gray;
	border-radius:4px;
	background-color: gray;
	padding: 4px;
	font-size: 30px;
}


.paginator a {
	text-decoration: none; 
	color: black;
}



.paginator a:hover {
	color: white;
}

.paginator .current_card {
	font-weight: bold;
}

.paginator .left {
	width: 15%;	
	text-align: left;	
}	

.paginator .left a {
	margin-right: 5px;
}	

.paginator .right {
	width: 85%;	
	text-align: right;
}	

.paginator .right a, .paginator .right span {
	margin-left: 5px;
}	

.paginator img {
	height: 20px;
}

.stats {
	width: 100%;
	border:4px solid gray;
	border-radius:4px;
	padding: 4px;
}

.stats th {
	border-bottom: 2px gray solid;
}

.stats td {
	border-top: 2px gray solid;
}

.stats td, .stats th {
	padding: 5px;
	text-align: left;		
}

.frame {
	border-radius: 5px; 
	border: 4px solid gray;	
	padding: 5px;	
	margin-bottom: 10px;
}


.container, .media_container {
	position: relative;
}

.media_container {
	text-align: center; 
}


.card_content {
	margin-top: 4px;
	font-size: 16px;
}

.card_content p {
	margin-top: 0px;
	margin-bottom: 10px;	
	font-size: 20px;
}

.card_content li {
	font-size: 20px;
}

.card_content h1 {
	margin-top: 0px;
	margin-bottom: 10px;	
	font-size: 28px;
	font-weight: bold;	
}

.card_content h2 {
	margin: 0px;
	margin-bottom: 10px;
	font-size: 18px;
	font-weight: bold;	
}

.content h1 {
	margin-top: 0px;
	margin-bottom: 10px;	
	font-size: 64px;
	font-weight: bold;	
}

.content h2 {
	margin: 0px;
	margin-bottom: 10px;
	font-size: 48px;
	font-weight: bold;	
}

.small_flag {
	border-radius: 5px; 
	border: 4px solid gray;
	height: 100px;	
}
	
.math-tex {
	font-size: 25px;
}

.text_container {
}

.die {
	background-color: green;
}

.der {
	background-color: red;
}

.das {
	background-color: yellow;
}

.aux_imgs {
	width: 100%;
	display: flex;
	justify-content: center;
	vertical-align: middle;
	align-items: center;
}

.aux_imgs div {
	background-color: white;
	margin: 5px;
	padding: 5px;	
	display: flex; align-items: center; justify-content: center;
	border-radius: 5px; 
	border: 4px solid black;	
	text-align: center;
	vertical-align: middle;
}


.aux_imgs div.s {width: 200px; height: 200px;}	

.aux_imgs div.m {width: 400px; height: 400px;}

.aux_imgs div.l {width: 600px; height: 600px;}

.aux_imgs div.xl {width: 800px; height: 800px;}

.aux_imgs div.xxl {width: 1000px; height: 1000px;}


.aux_imgs div.s_3_2 {width: 300px; height: 200px;}	

.aux_imgs div.m_3_2 {width: 600px; height: 400px;}

.aux_imgs div.l_3_2 {width: 900px; height: 600px;}


.aux_imgs div.s_16_9 {width: 356px; height: 200px;}	

.aux_imgs div.m_16_9 {width: 711px; height: 400px;}

.aux_imgs div.l_16_9 {width: 1067px; height: 600px;}


.aux_imgs div img {
	max-width: 100%;
	max-height: 100%;	
	margin: 0px;
}
