html, body {
    height: 100%;
    overflow-x: hidden;
}

html {
    margin: auto;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

div {
    margin: 0;
    padding: 0
}

div#content {
    margin: 0;
    padding: 0px 10px 10px 10px;
    clear: both;
}

div#attribution {
    text-align: right;
    font-size: 80%;
    padding-right: 20px;
}

span.attribution {
    color: #a0a0a0;
}

.error {
    color: red;
}

.even {
background-color: #f0f0f6;
}

@media screen {

    div#heading {
	background-color: #4080b0;
	color: #ffffff;
	padding: 4px 0 4px 0;
	width: 100%;
	display: inline-block;
	position: relative;
    }

    div#heading img {
	float: left;
	margin-left: 10px;
	margin-right: 20px;
    }

    div#page_title {
	float: left;
	font-weight: normal;
	height: 48px;
	font-size: 172%;
	line-height: 172%;
	white-space: nowrap;
    }

    div#nav {
	position: absolute;
	bottom: 4px;
	right: 10px;
	display: inline-block;
	clear: left;
	white-space: nowrap;
    }

    div#nav a,
    div#nav a:link,
    div#nav a:active {
	text-decoration: none;
	color: white;
	padding-left: 20px;
    }

    div#nav a:hover {
	text-decoration: none;
	color: #e0e0e0;
    }

    div#user-tools {
	float: right;
	padding-right: 10px;
    }
    div#user-tools a,
    div#user-tools a:link,
    div#user-tools a:visited,
    div#user-tools a:active {
	color: black;
	text-decoration: none;
    }
    
    div#outer {
	
	border: 1px solid #a0a0a0;
	margin: 0;
	padding: 0;
	min-width: 100%;
	min-height: 90%;
    }

    div#breadcrumbs {
	font-size: 80%;
	float: left;
	padding-left: 10px;
    }

    div#breadcrumbs a,
    div#breadcrumbs a:link,
    div#breadcrumbs a:visited,
    div#breadcrumbs a:active {
	color: #a00000;
	text-decoration: none;
    }

    div#breadcrumbs a:hover {
	text-decoration: underline;
    }

    .button, .button:link, .button:visited {
	background-color: #e0e0e0;
	border: 1px solid black;
	border-radius: 6px;
	color: black;
	font-weight: 400;
	padding: 2px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 14px;
	padding: 1px 12px;
	margin: 0px;
	cursor: pointer;
    }

    .button:active {
	background-color: #d0d0d0;
    }

    div#login_form {
	border: 2px solid black;
	border-radius: 20px;
	display: inline-block;
	text-align: center;
	padding: 10px;
    }

    table.login_form_table td, th {
	padding: 10px 0px;
    }

    table.login_form_table input {
	font-size: 120%;
	max-width: 90%;
    }

    ul.errorlist {
	color: red;
	text-align: left;
	max-width: 300px;
    }
    div.link {
	margin-top: 40px;
	padding-left: 30px;
    }
    div.link button {
	border: 0px;
	height: 36px;
	width: 160px;
	border-radius: 18px;
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-size: 24px;
	padding: 0px 0px 0px 0px;
	background-color: #00a000;
	color: white;
    }
    div.link button:hover {
	background-color: #00c000;
    }
}

@media screen and (max-width: 600px) {
    div#user-tools {
	margin-bottom: 24px;
	margin-left: 20px;
	float: left;
    }
    table.login_form_table td {
	padding: 20px 0px;
    }
}

@media only screen and (min-width: 600px) {
    table.login_form_table td {
	width: 400px;
    }
    input[type=password] {
	width: 200px;
    }
    input[type=submit].login {
	width: 180px;
    }
}

@media screen and (max-width: 400px) {
    div#user-tools {
	float: left;
	margin-left: 10px;    
    }
    div#page_title {
	font-size: 5.5vw;
	line-height: 200%;
    }
    div#breadcrumbs {
	clear: both;
    }
}

@media print {

    #breadcrumbs {
	display: none;
    }

}
