/*! normalize.css v1.0.1 | MIT License | git.io/normalize */

/* ==========================================================================
   Base
   ========================================================================== */

/*
 * 1. Corrects text resizing oddly in IE 6/7 when body `font-size` is set using
 *	`em` units.
 * 2. Prevents iOS text size adjust after orientation change, without disabling
 *	user zoom.
 */

html {
	font-size: 100%; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
	-ms-text-size-adjust: 100%; /* 2 */
}

/*
 * Addresses `font-family` inconsistency between `textarea` and other form
 * elements.
 */

html,
button,
input,
select,
textarea {
	font-family: sans-serif;
}

/*
 * Addresses margins handled incorrectly in IE 6/7.
 */

body {
	margin: 0;
}

/* ==========================================================================
   Links
   ========================================================================== */

/*
 * Addresses `outline` inconsistency between Chrome and other browsers.
 */

a:focus {
	outline: thin dotted;
}

/*
 * Improves readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
	outline: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

/*
 * Addresses font sizes and margins set differently in IE 6/7.
 * Addresses font sizes within `section` and `article` in Firefox 4+, Safari 5,
 * and Chrome.
 */

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

h2 {
	font-size: 1.5em;
	margin: 0.83em 0;
}

h3 {
	font-size: 1.17em;
	margin: 1em 0;
}

b,
strong {
	font-weight: bold;
}

/*
 * Addresses margins set differently in IE 6/7.
 */

p,
pre {
	margin: 1em 0;
}

/*
 * Prevents `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

/* ==========================================================================
   Lists
   ========================================================================== */

/*
 * Addresses margins set differently in IE 6/7.
 */

ol,
ul {
	margin: 1em 0;
}

/*
 * Addresses paddings set differently in IE 6/7.
 */

ol,
ul {
	padding: 0 0 0 40px;
}

/* ==========================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Removes border when inside `a` element in IE 6/7/8/9 and Firefox 3.
 * 2. Improves image quality when scaled in IE 7.
 */

img {
	border: 0; /* 1 */
	-ms-interpolation-mode: bicubic; /* 2 */
}

/*
 * Corrects overflow displayed oddly in IE 9.
 */

svg:not(:root) {
	overflow: hidden;
}


/* ==========================================================================
   Forms
   ========================================================================== */

/*
 * Corrects margin displayed oddly in IE 6/7.
 */

form {
	margin: 0;
}


/*
 * 1. Corrects font size not being inherited in all browsers.
 * 2. Addresses margins set differently in IE 6/7, Firefox 3+, Safari 5,
 *	and Chrome.
 * 3. Improves appearance and consistency in all browsers.
 */

button,
input,
select,
textarea {
	font-size: 100%; /* 1 */
	margin: 0; /* 2 */
	vertical-align: baseline; /* 3 */
	*vertical-align: middle; /* 3 */
}

/*
 * Addresses Firefox 3+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

button,
input {
	line-height: normal;
}

/*
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *	and `video` controls.
 * 2. Corrects inability to style clickable `input` types in iOS.
 * 3. Improves usability and consistency of cursor style between image-type
 *	`input` and others.
 * 4. Removes inner spacing in IE 7 without affecting normal text inputs.
 *	Known issue: inner spacing remains in IE 6.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button; /* 2 */
	cursor: pointer; /* 3 */
	*overflow: visible;  /* 4 */
}

/*
 * Re-set default cursor for disabled elements.
 */

button[disabled],
input[disabled] {
	cursor: default;
}

/*
 * 1. Addresses box sizing set to content-box in IE 8/9.
 * 2. Removes excess padding in IE 8/9.
 * 3. Removes excess padding in IE 7.
 *	Known issue: excess padding remains in IE 6.
 */

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box; /* 1 */
	padding: 0; /* 2 */
	*height: 13px; /* 3 */
	*width: 13px; /* 3 */
}

/*
 * Removes inner padding and border in Firefox 3+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

/*
 * 1. Removes default vertical scrollbar in IE 6/7/8/9.
 * 2. Improves readability and alignment in all browsers.
 */

textarea {
	overflow: auto; /* 1 */
	vertical-align: top; /* 2 */
}

/* ==========================================================================
   Tables
   ========================================================================== */

/*
 * Remove most spacing between table cells.
 */

table {
	border-collapse: collapse;
	border-spacing: 0;
}



/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */


html,
button,
input,
select,
textarea {
	color: #222;
}

body {
	font-size: 1em;
	line-height: 1.4;
}

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

img {
	vertical-align: middle;
}

textarea {
	resize: vertical;
}


/*
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



My customizations



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
*/

html {
	box-sizing: border-box;
}
*, *:before, *:after {
	box-sizing: inherit;
}

body {
	position: relative;
	font-family: Helvetica, Arial, sans-serif; 
	background: #e9e8e3;
	color: #412A58;
}
h1 {
	font-size: 2em;
	line-height: 2em;
	color: #666;
	font-weight: lighter;
	width: 100%;
	border-bottom: 1px solid #ccc;
}
#main-container {
	position: relative;
	background: white;
	padding: 20px 40px;
	margin: 0 auto;
	width: 768px;
	-webkit-box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.3);
}
#logo {
	background-image: url(../img/logo.png);
	background-color: white;
	background-repeat: no-repeat;
	background-position: center center;
	width: 133px;
	height: 164px;
	display: block;
	margin-bottom: 10px;
}

#main-container ul {
	margin-top: 0;
	margin-bottom: 5px;
	list-style: none;
	padding: 0 0 0 10px;
}
#main-container li {
	text-indent: -1.5em;
	padding-left: 1.5em;
	margin-bottom: 1em;
}
#main-container li:before {
	content: '\00BB';
	color: #e54126;
	padding-right: 1em;
}
a {
	text-decoration: none;
	color: #e54126;
}
a:hover {
	color: #412A58;
}
label, input, button {
	display: inline-block;
	margin-top: 1.5em;
}
input, button {
	margin-left: 0.5em;
	padding: 10px;
}
/*
input[type="submit"], button {
	width: 220px;
}
*/
label {
	width: 200px;
	text-align: right;
}
select {
	margin-left: 0.5em;
}
p.copyright {
	border-top: 1px solid #ccc;
	margin-top: 5em;
	margin-bottom: 0.5em;
	font-size: 0.75em;
	color: #999;
}
.extrastrong {
	background: #e54126;
	color: white;
	font-weight: bold;
}
/* retina display ----------- */
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
	#logo {
		   background-image: url(../img/logo@2x.png); 
		   -webkit-background-size: 133px 164px;
	}
}

table.nikedata  {
	table-layout: fixed;
	width: 100%;
}

table.nikedata th,
table.nikedata td {
	padding: 10px 5px;
	vertical-align: middle;
	line-height: 1;
}


table.nikedata  th {
	font-family: inherit;
	font-size: 12px;
	text-align: right;
	font-weight: bold;
	background: #412A58;
	color: white;
}
table.nikedata  th:first-child {
	text-align: left;
	padding: 4px 4px 4px 10px;
}
table.nikedata  th.run {
	text-align: left;
	padding: 4px 4px 4px 0;
}
table.nikedata  th.center {
	text-align: center;
}
table.nikedata  td {
	font-family: inherit;
	font-size: 12px;
	text-align: right;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	border-top: 1px solid #ddd;
	border-bottom: none;
	color: #ccc;
}
table.nikedata tr.gray td {
	background-color: #fafafa;
}
table.nikedata  td.run {
	text-align: left;
}
table.nikedata  td:first-child {
	text-align: left;
	padding-left: 10px;
}
table.nikedata  td.gps {
	background-image: url(../img/gps.png);
	background-repeat: no-repeat;
	background-position: center center;
}
table.nikedata  td.hr {
	background-image: url(../img/heart.png);
	background-repeat: no-repeat;
	background-position: center center;
}
table.nikedata td.downloaded {
	background-image: url(../img/checkmark.png);
	background-repeat: no-repeat;
	background-position: center center;
}
table.nikedata  td.new_year {
	font-weight: normal;
	background-color: #888;
	color: white !important;
	border-bottom: 1px solid #888 !important;
	border-top: 1px solid #888 !important;
}
table.nikedata  td.new_month {
	font-weight: normal;
	background-color: #bbb;
	color: white !important;
	border-bottom: 1px solid #bbb !important;
	border-top: 1px solid #bbb !important;
}
table.nikedata td.selected {
	background-color: #C7F464 !important;
	border-bottom: 1px solid #9c0 !important;
	border-top: 1px solid #9c0 !important;
}
table.nikedata td.clickable {
	cursor: pointer;
	color: #333;
}
table.nikedata td.empty {
	border: none;
	font-size: 24px;
	color: #bbb;
	background: #f5f5f5;
	text-align: center;
	vertical-align: center;
	height: 180px;
}

#submitButton {
	width: 160px;
	padding: 15px;
	margin-top: 24px;
	-webkit-appearance: none;
	border: none;
	border-radius: 0;
	background: #422b59;
	color: white;
	font-weight: normal;
	font-size: 14px;
}
#submitButton:disabled {
	background: #ccc;
}

label.error {
	color: #d00;
}


#modal {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #000;
	opacity: 0.5;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;	
	display: none;
}
#loading {
	position: fixed;
	background: black url(../img/spin.gif) no-repeat 35px center;
	left: 50%;
	top: 50%;
	margin-left: -200px;
	margin-top: -50px;
	width: 400px;
	height: 100px;
	line-height: 100px;
	color: white;
	font-size: 18px;
	text-align: left;
	padding-left: 100px;
	opacity: 0.75;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
	border-radius: 8px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;	
	display: none;
}


#result {
	position: fixed;
	background: black url(../img/close.png) no-repeat 396px 10px;
	left: 50%;
	top: 50%;
	margin-left: -220px;
	margin-top: -75px;
	width: 440px;
	line-height: 1.4;
	color: white;
	font-size: 18px;
	text-align: left;
	padding: 50px 60px;
	opacity: 0.75;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
	border-radius: 8px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;	
	display: none;
}
#result p {
	margin: 0;
}


button.strava,
button.runkeeper,
button.mapmyrun {
	display: block;
	width: 260px;
	height: 60px;
	margin: 0;
	padding: 0;
	border: none;
} 
button.strava {
	background: white url(../img/sprites.png) no-repeat 0 0;
}
button.runkeeper {
	background: white url(../img/sprites.png) no-repeat 0 -120px;
}
button.mapmyrun {
	background: white url(../img/sprites.png) no-repeat 0 -60px;
}

button.strava.gray {
	background: white url(../img/sprites.png) no-repeat -260px 0;
}
button.runkeeper.gray {
	background: white url(../img/sprites.png) no-repeat -260px -120px;
}
button.mapmyrun.gray {
	background: white url(../img/sprites.png) no-repeat -260px -60px;
}

button.strava.uploaded {
	background: url(../img/checkmark_outline.png) no-repeat 232px 32px,
				white url(../img/sprites.png) no-repeat 0 0;
}
button.runkeeper.uploaded {
	background: url(../img/checkmark_outline.png) no-repeat 232px 32px,
				white url(../img/sprites.png) no-repeat 0 -120px;
}
button.mapmyrun.uploaded {
	background: url(../img/checkmark_outline.png) no-repeat 232px 32px,
				white url(../img/sprites.png) no-repeat 0 -60px;
}



button.strava.border,
button.runkeeper.border,
button.mapmyrun.border {
	margin-bottom: 20px;
	border: 1px solid #ccc;
}

button.toggle,
button.toggled {
	background: white;
	width: 160px;
	height: 60px;
	margin: 0;
	padding: 0;
	border: none;
	font-size: 16px;
	font-weight: bold;
}
button.toggle {
	color: #ccc;
}
button.toggled {
	color: #412a58;
}

#download_button {
	position: fixed;
	top: 0;
	left: 50%;
	height: 60px;
	width: 230px;
	margin: 0 0 0 114px;
	padding: 0 0 0 74px;
	text-align: left;
	color: white;
	background: #e64227 url(../img/download.png) no-repeat 12px center;
	border: none;
	-webkit-border-bottom-right-radius: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-moz-border-radius-bottomright: 6px;
	-moz-border-radius-bottomleft: 6px;
	border-bottom-right-radius: 6px;
	border-bottom-left-radius: 6px;
	-webkit-box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.4);
	box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.4);
}


button.close {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 40px;
	height: 40px;
	background: white url(../img/sprites.png) no-repeat 0 -180px;
	margin: 0;
	padding: 0;
	border: none;
}
button.upload {
	background: transparent;
	font-family: inherit;
	color: #4585f3;
	width: 100%;
	height: 26px;
	margin: 0;
	padding: 0;
	border: none;
}
#dialog {
	position: fixed;
	top: 50%;
	left: 50%;
	margin: -250px 0 0 -170px;
	width: 340px;
	height: 500px;
	padding: 40px 40px 0;
	background: white;
	display: none;
	-webkit-box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.4);
	box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.4);
}
#dialog p {
	margin: 0 0 16px 0;
	line-height: 1;
	font-weight: normal;
}
#dialog p.border {
	margin-top: 1.5em;
	padding-top: 1.5em;
/* 	border-top: 1px solid #ccc; */
}

#dialog span.big {
/* 	font-weight: bold; */
	font-size: 30px;
}

table.services td {
	padding: 2px 0 0 0;
	margin: 0;
	border: 1px solid #ccc;
	line-height: 1;
	font-size: 10px;
	vertical-align: middle;
}
table.services td.spacer {
	padding: 0;
	margin: 0;
	border: none;
	height: 20;
}

select {
	margin: 0 20px 0 0;
	padding: 5px;
	border: 1px solid #ccc;
	font-size: 14px;
}

input[type="password"],
input[type="email"] {
	border: 1px solid #ccc;
	border-radius: 0;
}