/* General properties */
img {
	border: none;
}

a, a:visited {
	color: #0033BD;
	text-decoration: none;
}

a:hover {
	color: #BD3300;
	text-decoration: none;
}

a, input, a:focus, input:focus {
	outline: none;
}

input, textarea, select {
	border: solid 1px #cdd2d6;
	color: #444;
}

input:hover, textarea:hover, select:hover {
	border-color: #abb0b4;
}

input:hover {
	color: #733;
}

body {
    font-family : sans-serif, Verdana, "Trebuchet MS";
	font-size: 90%;	
	padding: 0em; 
	margin: 0;
	color: #2F3F58;
}

.oversized {
	font-size: 140%;
	font-weight : bold;
}

.downsized {
	font-size: 90%;
}

.centered {
	text-align: center;
}

.left {
	text-align: left;
}

.right {
	text-align: right;
}

.inline {
	display: inline;
	margin-right: 0.5em;
}

.oversized-less {
	font-size: 110%;
	padding: 0.5em;
}

.bigfirst:first-letter {
	font-size: 170%;
}

/**********
 * HEADER *
 **********/

#header {
	margin: 1em;
}

#logo {
	float: left; 
}

#logo h1 { 
	margin : 0; 
	padding : 0;
}

#control-panel {
	float: right;
	padding: 0.1em 5em 0.1em 0.5em;
	margin: 0 -1em 0 0;
	border: 1px solid #ced3d7;
	background-color: #e0e6ea;
}

#loading { 
	position: fixed;
	top: 1px;
	left: 50%;
	padding: 0.2em 0.2em 0.2em 24px;
	font-weight: bold;
	color: #877;
	background: #ffa url('/images/clock.png') no-repeat scroll 4px center;
}

/**********
 * FOOTER *
 **********/
#footer {	
	padding: 0.2em;
	margin: 0;
	clear: both;
	border: 1px solid #ced3d7;
	background-color: #e0e6ea;
}

/***********
 * CONTENT *
 ***********/
#content {
	clear:both;
	margin: 1em;
	padding: 1em;
}

/*********
 ** MAP **
 *********/

#browse h2 {
	margin: 0 0 1em 0;
	padding: 0;
}

#browse-common {
	float: left;
	width: 510px;
    margin: 0 1em 0 0;
}

#map {
	width: 500px;
	height: 530px;
	margin: 0;	
}

#map-content {
	width: 498px;
	height: 500px;
	margin: 0;	
}

#map-toolbar {
	width: 100%;
	height: 30px;
	margin: 0;
	background: #EDF0F3 url('/images/resizable-corner.png') no-repeat bottom right;
	line-height: 25px;
}

#map-toolbar input {
	vertical-align: bottom;
}

#map-toolbar .search-map {
	display:inline;	
	padding-left: 3px;
}

#map-toolbar .search-map .search-location {
}

#map-toolbar .search-map .search-button {
}

#map-toolbar .map-options {
	margin: 0;
	padding: 3px;
	display: inline;
}

#map-toolbar li {
	display: inline;
	list-style-type: none;
}

#map-toolbar .map-options input {
	color: #2F3F58;
	/*border: none;*/
}

/***********
 * OPTIONS *
 ***********/

#browse-options {
	margin: 1em 0 1em 0;
}

#browse-options h2 {
	margin-bottom: 0.5em;	
}

#browse-options li {
	list-style: none;
	margin: 0.4em 0.4em 0.4em 0;
}

#browse-options ul {
	margin: 1em 0 0 0;
}

#browse-options-browse_my_tracks_link {
	padding: 0.2em 0.2em 0.2em 24px;
	background: url('/images/map.png') no-repeat scroll 4px center;	
}

#browse-options .browse-options-link, .link_with_icon {
	padding: 0.2em 0.2em 0.2em 24px;
	background-repeat: no-repeat;
	background-position: 4px center;
}

#browse-options .browse_my_tracks, #browse-options .manage_tracks {
	background-image: url('/images/map.png');	
}

#browse-options .create_new_track {
	background-image: url('/images/add.png');	
}

#browse-options .show_selected_track {
	background-image: url('/images/magnifier.png');	
}

#tracks .show_track {
	background-image: url('/images/magnifier.png');		
}

#show_track_button {
}


/***********
 * DETAILS *
 ***********/

#browse-details {
	margin: 0 0 0 510px;	
}

#browse-details input.textfield {
	width: 25%;
}

#browse-details textarea {
	width: 25%;
	height: 6em;
}

#track_distance {
	border: 0;
	background: #fff;
	width: 5em;
}

#browse-details form fieldset, #laps-browse form fieldset {
	background: #edf0f3;
    border: 0;
	border-top: 1px solid #dee3e7;
	border-bottom: 1px solid #dee3e7;
/*	width: 50em;*/
    padding: 0.5em;
	margin: 0 0 1em 0;
}

#browse-details form fieldset label, #laps-browse form fieldset label {
	margin-left: 0.5em;
}

#browse-details form fieldset .button, #laps-browse form fieldset .button  {
	display:none;
}

#track-results th, #laps-list th {
  text-align: left;
  padding-right: 0.5em;
}

#track-results tr.even, #laps-list tr.even {
	background: #e5ffe5;
}

#track-results tr.odd, #laps-list tr.odd {
	background: #eed;
}

#track-results td, #laps-list td {
	padding: 0.2em 1em 0.2em 0.5em;
}

/**************
 * TRACK SHOW *
 **************/

#selected-track-info {
    margin: 0 0 0 0;
}

#selected-track-info li {
	margin: 0.4em 0 0 0;
	list-style-image: url("/images/bullet_arrow_right.png");
}

#selected-track-subscribe {
	margin: 2em;
}

#selected-track-subscribe input.submit {
	border: 1px solid #855;
	color: #300;
	background-color: #eed;
	padding: 0.2em;
	margin: 0 0 0 2em;
}

#selected-track-subscribe a:hover {
	border: 2px solid #855;
}

/********
 * LAPS *
 ********/

#new-lap-form select {
	padding: 2px;
	margin: 2px;
}

#new-lap-form input {
	height: 2em
}

#new-lap-form-date {
	float: left;
	margin: 0 1em 1em 0;
}

#lap_hundredths {
	margin-right: 1em;
}

#laps-browse form fieldset {
	width: 20em;
	margin: 1em;
}

/*********
 * USERS *
 *********/

#user-form {
	margin-left: 2em;
}
#user-form input {
	padding: 2px;
	margin: 2px;
}
#user-form input.textfield {
	width: 8em;
}

/*******************
 * COMMON ELEMENTS *
 *******************/
 
/* Pagination */

.pagination {
    margin: 0.5em 0 0.5em 0;
}
.pagination a {
    padding: 0.1em 0.3em 0.1em 0.3em;
    margin: 0.1em;
    border: 1px solid #558;
    background-color: #e5ffe5;
	color: #003;
}

.pagination span.current, .pagination a:hover {
    padding: 0.1em 0.3em 0.1em 0.3em;
    margin: 0.1em;
    font-weight: bold;
	border: 1px solid #855;
    color: #300;
    background-color: #eed;

}

.pagination span.disabled {
    padding: 2px 5px 2px 5px;
    margin: 2px;
    border: 1px solid #ddd;
    color: #ccc;
}

/* CSS Images */
.text-with-left-icon {
	padding-left: 18px;
	background-position: center left;
	background-repeat: no-repeat;
}

.only-icon-button {
	width: 24px;
	padding: 0;
	margin: 0;
	background-position: center center;
	background-repeat: no-repeat;
}

.undo {
	background-image: url('/images/undo.png');
}

.resize {
	background-image: url('/images/arrow_inout.png');
}

.zoom-in {
	background-image: url('/images/zoom-in.png');
}

.zoom-out {
	background-image: url('/images/zoom-out.png');
}

.zoom-default {
	background-image: url('/images/magnifier.png');
}


