body {
	width: 100%;
	min-width: 270px;
	margin: 0px;
	font-family: arial;
	font-size: 1em;
}

/* Used to draw the hangman */
canvas {
	border: 1px solid black;
	margin: 3px;
	margin-bottom: 10px;
	width: 40vmax;
	height: 17vmax;
	border-radius: 20px;
}

h5 {
	font-size:1em;
	text-decoration: underline;
	margin:auto;
	margin-top:15px;
	text-align: center;
}

.outer-wrapper {
/*	background:green;*/
}

.row {
	display:flex;
	align-items:center;
/*	background:orange;*/
	margin:3px;
}


.column-1 {
/*	background: violet;*/
	flex: 0 0 50%;
	text-align:end;
	padding:10px
}

.column-2 {
/*	background: blue;*/
	flex: 0 0 50%;
	padding-bottom:px
}

label {
/*	background: pink;*/

}

input, select {
/*	background: red;*/
	width:10em;
	height:1.5em;
	font-size:1em;
	
}

.radio {
	width: 50px;
	vertical-align: bottom;
	margin-left:-5px;
	margin-top:-1px;
}

.radio-2 {
	margin-left: 10px;
}

.radio-label {
/*	background: indigo;*/
	margin-left:-15px; /*Move label closer to button*/
	font-size:1.2em;
}

#graph-chartjs, #graph {
	margin: auto;
	margin-top: 20px;
}

#graph-chartjs {
	background:white;	
}

#graph-google {
	background: purple;
}

.button {
	margin: auto;
	background: blue;
	color: white;
	width: 28em;
	font-size: 1.2em;
}

#addBtn {
	font-size:10px;
	font-weight:bold;
	color:black;
	width:15em;
	height:3em;
	background:orange;	
}

/* Display a message to user */
#message {
	margin: auto;
	display: none;
}

#add-payment-list {
	margin: auto;
}

/* Displays the contributions, interest, total */
.summary {
	margin-top:10px;
	width:100%;
	font-size: 0.9em;
	display:flex;
	flex-direction:row;
	justify-content:center;
	display: none;
	font-weight:bold;
}


#initial, #total-payments, #total-interest, 
#total-percent-interest, #duration-result,
#age-paid, #year-end, #summary-rate {
	color:#800080;
}

/* Additional Payment List */
li {
	font-size:1em;
	margin:0px;
	margin-left:5em;
	padding:0px;
}

/* Clear the additional payment list */
#clearBtn {
	display: none;
	font-size:14px;
	font-weight:bold;
	width:8em;
	height:2.2em;
	background:red;
}

#calc-btn {
	margin-top:5px;
}


#period-type {
	text-align:end;
}


@media screen and (max-width: 500px) {
	  
	body {
	}


	.summary {
		font-size:0.7em;
		display:flex;
		flex-direction:column;
		align-items:center;
		margin:0px;
		padding:0px;
		display: none;
	}

	.header {
		margin:0px;
		margin-bottom:-10px;
	}

	#graph {
		overflow:scroll;
		font-size:1.3em;
	}
	
}


