/* Basic formats */

p, h1, h2, h3, a {
	font-family: "Times New Roman", Times, serif;
}

p, a,span {
	font-size: 1em;
}

h1 {
	font-size: 1.5em;
}

a{
	text-decoration: none;
	color: #4CAF50;
}

/* Format header */

header  {
	background: url('img/headerimg.png') right top no-repeat; 
	height: 80px;
}

#page_title {
	position: relative;
	top: 30%;
}

/* Format main */

main {
}

/* Format form */

form {
box-sizing: border-box;
padding: 5px;
}

input, select {
	margin: 10px 0;
}

#myform {
	width:75%;

	float: left;
	background: #ddd; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(left, #ddd, #fff); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, #ddd, #fff); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, #ddd, #fff); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, #ddd, #fff); /* Standard syntax */
}

#sources {
	clear: both;
	padding-top: 15px;
	margin-left: 10px;
}

/* Format footer */

footer {
	margin-top: 20px;
	overflow: hidden;
}

footer span {
	position: relative;
	top: 25px;
}
#logos {
	display: inline-block;
	position: relative;
	float: right;
}

#logos a {
	margin-right: 10px;
}

/* Format result tables */

.display_table {
    border-collapse: collapse;
	box-sizing: border-box;
	text-align: left;
	font-size: 0.90em;
}

.display_table td {
	padding: 2px 3px;
}

.display_table:last-child {
	margin-right:0;
}

.display_table td, th {
	text-align: center;
}

.display_table tr:nth-child(even){
	background-color: #ddd;
}

.display_table th {
	color: #fff;
	border: none;
}

.display_table .go-left {
	text-align: left;
}

.display_table .go-right {
	text-align: right;
}

#table_all {
	width: 80%;
	margin: 0 auto;	
}

#table_totals {
	width: 24%;
	margin-right: 10px;
	float: left;
}

#table_5p {
	width: 80%;
	margin: 0 auto;
}

#table_all th {
	background-color: #3366ff;	
}

#table_totals th {
	background-color: #4caf50;	
}

#table_5p  th {
	background-color: #ed9d12;		
}

/* Excel form*/

#excel {
	clear: both;
	margin: 0;
}

#excel input[type=submit] {
	width: 32px;
	height: 32px;
	background: url('img/csv.png') no-repeat;
	border: none;
	cursor: pointer;
	margin: 0;
}

/* Format results window */

#myResponse {
margin-top: 10px;
}

.warning {
	color: red;
}