@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400');

body {
	background: #83AA4F;
	display: flex;
	justify-content: center;
	margin: 0;
	margin-bottom: 30px;
	
	/* Prevent larger fonts in landscape iPhone view. */
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
}

h2 {
	font-family: Helvetica neue, sans-serif;
	color: #462;
}

a:link, a:visited {
	color: #462;
	background-color: transparent;
}

a.header-item, a.header-item:visited {
	color: #f80;
	text-decoration: none;
}

a.nounder:link,a.nounder:visited {
	text-decoration: none;
	border-bottom: none;
}

a.subtle:link,a.subtle:visited {
	color: #000;
	text-decoration: none;
	border-bottom: none;
}

code {
	font-size: 120%;
	font-family: "Source Code Pro", monospace;
}

/*pre { white-space: pre-wrap; }*/

div.codeblock {
	white-space: pre-wrap;
	margin-left: 0.7em;
	padding: 2px 4px;
	background-color: #fafafa;
	border: 1px solid #ddd;
	font-family: "Source Code Pro", monospace;
	font-size: 120%;
	display: inline-block;
	border-radius: 2px;
}

#full-page {
	max-width: 1000px;
	width: 100%;
}

#masthead-box {
	padding: 0px;
	background-color: #83AA4F;
	height: 100px;
    background: url(/images/mbgsm.jpg);
    display: flex;
    align-items: center;
}

#masthead-link {
	font-family: Helvetica neue, sans-serif;
	font-size: 200%;
	font-weight: bold;
	color: #f07500;
	text-shadow: 4px 3px 3px #000;
	text-decoration: none;
	letter-spacing: 2px;
	margin-left: 100px;
}

#large-header {
	display: flex;
	background-color: #222;
	padding: 5px;
}

#small-header {
	display: flex;
	background-color: #335018;
	padding: 10px;
	text-shadow: 3px 2px 2px #000;
}

#large-header,#small-header {
	font-family: Helvetica neue, sans-serif;
	font-weight: bold;
}

.header-item {
	color: #f80;
}

.header-item,.header-separator {
	padding: 5px;
	font-size: 120%;
}

a.header-item-selected {
	background-color: #3a3a3a;
}

.header-separator {
	color: #888;
	padding: 5px 5px 0px;
}

.header-spacer {
	flex: 1;
}

.article {
	background-color: #fff;
	padding: 10px;
	display: flex;
	border: 1px solid #462;
	align-items: flex-start;
	justify-content: center;
	font-family: Verdana, sans-serif;
	color: #222;
}

#sidebar {
	min-width: 150px;
	max-width: 150px;
	margin-right: 20px;
	font-size: 90%;
	flex: 0;
}

.sidebar-box {
	background-color: #eeffcf;
	border: 1px solid #335018;
	margin-bottom: 10px;
}

.sidebar-head {
	font-family: Helvetica neue, sans-serif;
	background-color: #335018;
	color: #f80;
	
	font-weight:bold;
	text-shadow: 3px 2px 2px #000;
	padding: 5px 5px 5px 10px;
}

.sidebar-heading {
	padding: 5px;
	font-weight: bold;
}

.sidebar-item {
	padding: 5px;
}

#main-column {
	max-width: 810px;
	
	flex: 1;
}

#heading-box {
	position: relative;
    margin: 5px;
}

#heading-burger {
	padding: 5px;
	cursor: pointer;
}

.bigger-burger {
	font-size: 130%;
	line-height: 80%;
}

#subpage-popup {
	position: absolute;
	display: none;
	background-color: #eeffcf;
	border: 1px solid #335018;
	z-order: 1;
	left: 4px;
	top: 4px;
	
	font-size: 90%;
}

.subpage-popup-title {
	background-color: #335018;
	color: #f80;
	
	font-family: Helvetica neue, sans-serif;
	font-weight:bold;
	font-size: 110%;
	text-shadow: 3px 2px 2px #000;
	padding: 5px 50px 5px 15px;
}

.subpage-popup-item,.subpage-popup-heading {
	padding: 5px 50px 5px 10px;
}

.subpage-popup-heading {
	font-weight: bold;
}

.wide-body .thumb-right { 
	float: right; 
	margin: 5px 0px 25px 25px;
	border-bottom: none;
}

.narrow-body .thumb-right { 
	margin: 5px auto 25px auto;
	border-bottom: none;
	clear: both;
	display: block;
}

.end-of-article {
	clear: both;
}

/* Manage narrow and wide header/sidebar elements. */
.narrow-body :is(#masthead-box,#large-header,#sidebar,#heading-noburger) {
	display: none;
}
.wide-body :is(#heading-burger,#small-header) {
	display: none;
}

#problems {
	width: 200px;	
}

.progress-0, .progress-50, .progress-100 {
	margin: 5px 0px;
	padding: 3px;
}

:is(.progress-0, .progress-50, .progress-100) :is(a:link, a:visited) {
	text-decoration: none;
	color: black;
}

.progress-0 {
    background-color: #eee;
}

.progress-50 {
    background: linear-gradient(90deg, #60cc30 50%, #eee 50%);
}

.progress-100 {
    background-color: #60cc30;
}

/* cleartext annotations */
#part1, #part2, #coda, #answer1, #answer2 {
	border: 1px solid black;
}

.submit {
  font-family: Verdana, sans-serif;
  bbackground-color: #83AA4F;
  background-color: #f07500;
  color: #fff;
  text-shadow: 1px 1px 1px #000;
  border: none;
  padding: 8px 32px;
  margin-top: 8px;
  text-align: center;
  text-decoration: none;
  display: inline;
  font-size: 16px;
  border-radius: 4px;
}

.copy-input {
  font-family: Verdana, sans-serif;
  background-color: #f07500;
  color: #fff;
  text-shadow: 1px 1px 1px #000;
  border: none;
  padding: 4px 8px;
  text-align: center;
  text-decoration: none;
  display: inline;
  font-size: 16px;
  border-radius: 4px;
}

.input-text {
  font-family: Verdana, sans-serif;
  font-size: 100%;
  padding: 4px;
  border-radius: 4px;
}

#copy-bubble, #copy-failed-bubble {
  display: none;
  opacity: 0;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
 
  transition: opacity 500ms;
 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
  margin-left: -60px;
  margin-top: -2em;
  padding: 5px 10px;
}

.status-text {
	word-break: break-all;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

table {
	margin: 0px;
 	padding: 0px;
	font-family: Verdana, sans-serif;
	font-size: 90%;
	color: #335018;
	border-spacing: 0px;
	border-collapse: collapse;
	border: 1px solid #335018;
}

tr {
	background:#fff;
}

th {
	text-align: left;
	color: #f80;
	background: #335018;
	padding: 5px;
	border: 1px solid #335018;
}

td.td1, td.td1b, td.td2, td.td2b {
	min-width: 50px;
	padding: 2px;
	border:none;
}

td.td1, td.td1b {
	background:#eeffcf;
	padding-top: 3px;
}

td.td1b, td.td2b {
	font-weight: bold;
}
