body {
	font-family: Helvetica, sans-serif;
	width: 100%;
	margin: 0;
	-webkit-text-size-adjust: none; /* Prevent font scaling in landscape */

}

a {
	text-decoration: none;
	color: #2B68B0;
	font-weight: bold;
}

a:hover {
	color: #112A48;
}

select:focus {
	width: auto;
}

th,td {
	vertical-align: top;
}

table {
	font-family: Helvetica, sans-serif;
	font-size: 13px;
}

#page {
	margin: auto 5%;
}

img.logo{
	margin: 1em auto;
	display: block;
}

table#time_sheet_portal_table, table#table_main, table#schedule_list_table
{
	width: 100%;
	border-spacing: 10px;
}

table#time_sheet_portal_table {
	table-layout: fixed;
}

table#time_sheet_portal_table tr.header th.last {
	width: 58px;
}

table#schedule_list_table, table#contact_list_table, table#cal_details_table, table#cal_details_table td, table#time_sheet_billed_table, table#time_sheet_unbilled_table
{
	width: 100%;
	border-spacing: 10px;
}

table#cal_details_table th {
	width: 50%;
}

table#time_sheet_billed_table tr td {
	text-align: left;
}

table#time_sheet_unbilled_table tr td {
	text-align: left;
}

table#time_sheet_billed_table tr td.total {
	font-weight: bold;
}

table#time_sheet_unbilled_table tr td.total {
	font-weight: bold;
}

table#time_table {
	padding: 1em 0;
}

table th {
	text-align: left;
}

div#login table, div#login table input {
	width: 100%;
}

ul#navbar{
	width: 100%;
	max-width: 360px;
	margin: 0 auto;
	padding: .5em 0;
}

ul#navbar li {
	float: left;
	list-style: none;
	width: 33%;
	padding: 1em 0;
	outline: white 2px solid;
	background-color: #2B68B0;
	text-align: center;
}

ul#navbar li a {
/*	width: 150px;*/
	color: white;
	font-weight: bold;
}

div#time_sheet_portal, div#time_sheet_portal_header, div.action_button, div.logout, div#login {
	max-width: 360px;
	margin: 0 auto;
}

div.page_header {
	padding: 1em 0;
	font-size: 1.5em;
	clear: both;
}

div.page_header.login {
	color: #2B68B0;
	text-align: center;
}

div.page_header a {
	font-size:.75em;
	padding-left: 1em;
}

div.logout {
	text-align: center;
}

div.logout.wider{
	max-width: 700px;
}

div#time_sheet_portal, div#schedule_detail, div#schedule_list, div#contacts_detail{
	font-size: 13px;
	margin: 0 auto;
}

div#schedule_detail {
	max-width: 360px;
}

div#contacts_detail {
	max-width: 560px;
}

div#time_sheet_portal, div#schedule_list, div#schedule_detail, div.page_header, div#contacts_detail {
	border-bottom: #2B68B0 1px solid;
}

table#time_sheet_billed_table.submitted {
	border-top: #2B68B0 1px solid;
}

table#time_sheet_unbilled_table.submitted {
	border-top: #2B68B0 1px solid;
}

div#time_sheet_portal_header {
	border-top: #2B68B0 1px solid;
}

div#time_sheet_portal tr.header th, div#schedule_list tr th, div#schedule_detail tr th, div#contacts_detail th {
/*	border-bottom: #2B68B0 1px solid;*/
	font-weight: normal;
	color: #5A5A5A;
	text-decoration: underline;
}

div#time_sheet_portal {
	height: 250px;
	overflow: auto;
}

form#time_form div#time_sheet_unbilled {
	height: 300px;
	overflow: auto;
}

form#time_form div#time_sheet_billed {
	height: 300px;
	overflow: auto;
	margin-top: 20px;
}

div.action_button, div.logout {
	padding: 1.5em 0 1em 0;
	clear: both;
}

ul#navbar li.active{
	background-color: #6296d6;
}

ul#navbar li:hover{
	background-color: #112A48;
}

.top{
	vertical-align: top;
	padding-top: 1em;
}

.bottom{
	padding-bottom: 1em;
}


.button {
	background-color:#d9b937;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #baa03e;
	display:block;
	color:#ffffff;
	font-weight:bold;
	padding:8px 24px;
	text-decoration:none;
	text-shadow:1px 1px 0px #a47f22;
	text-align: center;
	font-family: Helvetica, sans-serif;
}

.button:hover {
/*	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.5, #2B68B0), color-stop(1, #112A48) );
	background:-moz-linear-gradient( center top, #2B68B0 5%, #112A48 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#2b69b0', endColorstr='#79bbff');
*/	background-color:#a47f22;
	-webkit-transition: background-color .5s;
	-moz-transition: background-color .5s;
	transition: background-color .5s;
}

.button:active {
	position:relative;
	top:1px;
}

.button.blue {
	background-color:#2B68B0;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #112A48;
	display:inline;
	color:#ffffff;
	font-weight:bold;
	padding:8px 24px;
	text-decoration:none;
	text-shadow:1px 1px 0px black;
	text-align: center;
	font-family: Helvetica, sans-serif;
	font-size: 1em;
}

.button.red {
	background-color:crimson;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid darkred;
	display:inline;
	color:#ffffff;
	font-weight:bold;
	padding:8px 24px;
	text-decoration:none;
	text-shadow:1px 1px 0px black;
	text-align: center;
	font-family: Helvetica, sans-serif;
	font-size: 1em;
}

.button.login {
	margin: 1em 0;
	font-family: Helvetica, sans-serif;
	font-size: 1em;
	float: right;
}

.button.timesheet {
	max-width: 50%;
}

.nowrap {
	white-space: nowrap;
}

.input_box_long {
	height: 4em;
	width: 100%;
}

#request_form .button {
	margin: 20px 0;
}

#request_form .newcustomer {
	color: crimson;
	font-weight: bold;
}

.error {
	color: crimson;
	font-weight: bold;
	text-align: center;
}

#tabs {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

@media only screen and (max-device-width: 500px), (max-width: 500px) {
td.hidden, tr.hidden, th.hidden {
	display: none;
}
}
