/* CSS Document */

* {
  box-sizing: border-box;
}

/* Style the body */
body {
  font-family: Arial;
  margin: 0;
}

/* Header/logo Title */
.header {
  padding: 5px;
  text-align: center;
  background: #273583;
  color: white;
}

.header > h1 {
  font-size: 48px;
  font-family: "Courier New", monospace;
}

.formtable > tbody > tr > th {
	text-align: left;
}

.formtable > tbody > tr > td > input[type=text] {
	width: 100%;
	padding: 4px 4px;
	margin: 2px 0;
	box-sizing: border-box;
}

.numberfield {
	padding: 4px 4px;
	margin: 2px 0;
	box-sizing: border-box;
	text-align: right;
}

.inputfield {
	padding: 4px 4px;
	margin: 2px 0;
	box-sizing: border-box;
}

.submitbutton {
	background-color: #273583; /* Green */
	border: none;
	color: white;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
}

/* Style the top navigation bar */
.navbar {
  display: flex;
  background-color: #333;
  justify-content: center;
}

/* Style the navigation bar links */
.navbar > a {
  color: white;
  padding: 14px 20px;
  text-decoration: none;
  text-align: center;
}

/* Change color on hover */
.navbar > a:hover {
  background-color: #ddd;
  color: black;
}

/* Column container */
.row {  
  display: flex;
  flex-wrap: wrap;
}

/* Create two unequal columns that sits next to each other */
/* Sidebar/right column */
.side_right {
  flex: 0 0 340px;
  background-color: #f1f1f1;
  padding: 20px;
  display: flex;
}

.bottomtext {
    align-self: flex-end;
	flex: 0 0 100%;
	font-size: 12px;
	background: rgba(255, 255, 255, .6);
	padding: 10px;
}

/* Main column */
.main {
  flex: 1;
  background-color: white;
  padding: 20px;
}

/* Footer */
.footer {
  padding: 20px;
  text-align: center;
  background: #273583;
  color: white;
  font-size: 12px;
}

.footer > div {
  color: white;
  font-size: 12px;
}

/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
  .row, .navbar {   
    flex-direction: column;
  }
}
	
.flex-container {
  display: flex;
  flex-wrap: wrap;
}

.flex-image {
  flex: 0 0 320px;
  margin: 10px;
}

.flex-text {
  flex: 1;
  margin: 10px;
}

.textfield {
	font-family: "Courier New", monospace;
}