/* Strava Multiple Ride Mapper - Styles */

html {
	height: 100%;
	width: 100%;
	overflow: hidden;
}

body {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	background-color: #eee;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	overflow: hidden;
}

body, p, td {
	font-size: 9pt;
}

#container {
	height: 100%;
	width: 100%;
	padding-bottom: 35px;
	box-sizing: border-box;
}

#titleDiv {
	margin-top: 5px;
}

#map_canvas {
	height: 100%;
}

#status {
	font-size: 8pt;
	width: 345px;
	margin-top: 10px;
	overflow: auto;
}

#control {
	font-size: 9pt;
}

#layoutTable {
	width: 98%;
	height: 100%;
	table-layout: fixed;
	margin-left: auto;
	margin-right: auto;
}

td {
	vertical-align: top;
}

#controlTable td {
	vertical-align: middle;
}

#controlTable .tooltip {
	position: relative;
	top: 5px;
}

#col1 {
	width: 370px;
}

#col2 {
	width: 100%;
}

#col3 {
	width: 0px;
}

a {
	text-decoration: none;
}

a.result {
	color: #000066;
}

a.editedResult {
	color: #660000;
}

select {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

label {
	display:block;
	margin-top:7px;
	float:left;
	clear:left;
	width:110px;
}

input, textarea {
	border: 1px solid #ccc;
	padding: 2px;
	margin-top: 3px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
}

#ui-datepicker-div {
	display: none;
}

#progressbar {
	height: 15px;
	margin-top: 10px;
}

#tooltip {
	position: absolute;
	font-size: 10pt;
	border: 1px solid #333;
	background: #f7f5d1;
	padding: 6px 6px;
	color: #333;
	display: none;
	z-index: 10;
}

#linkDiv {
	margin-top: 10px;
	width: 100%;
	text-align: center;
}

#fullscreenUI {
	box-shadow: 1px 1px 5px #444444;
}

p.authentication {
	font-size: 12pt;
}

#authenticationButton {
	margin-left: 50px;
	margin-right: auto;
	height: 41px;
	width: 195px;
	font-size: 12pt;
	background: -webkit-gradient(linear, left top, left bottom, from(#fc4c02), to(#fc4c02));
	background: -o-gradient(linear, left top, left bottom, from(#fc4c02), to(#fc4c02));
	background: -ms-gradient(linear, left top, left bottom, from(#fc4c02), to(#fc4c02));
	border-color: #f97443 #d13f16 #d13f16 #f97443;
	border-radius: 5px;
	cursor: pointer;
}

#authenticationSpan {
	color: white;
}

.hidden {
	display: none;
}

#footer {
	box-sizing: border-box;
	line-height: 30px;
}

/* Modern Button Styles */
#controlTable input[type='button'],
#controlTable input[type='submit'],
#hideMapButton,
#resetMapButton,
#dateRangeButton,
#lastYearButton,
#lastMonthButton,
#thisYearButton {
	background: linear-gradient(to bottom, #4a90e2, #357abd);
	color: white;
	border: 1px solid #2d6ba3;
	border-radius: 6px;
	padding: 8px 16px;
	font-size: 10pt;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	width: 100%;
	text-align: center;
}

#controlTable input[type='button']:hover,
#controlTable input[type='submit']:hover,
#hideMapButton:hover,
#resetMapButton:hover,
#dateRangeButton:hover,
#lastYearButton:hover,
#lastMonthButton:hover,
#thisYearButton:hover {
	background: linear-gradient(to bottom, #5a9ff2, #4585c7);
	box-shadow: 0 3px 6px rgba(0,0,0,0.15);
	transform: translateY(-1px);
}

#controlTable input[type='button']:active,
#controlTable input[type='submit']:active,
#hideMapButton:active,
#resetMapButton:active,
#dateRangeButton:active,
#lastYearButton:active,
#lastMonthButton:active,
#thisYearButton:active {
	background: linear-gradient(to bottom, #357abd, #2d6ba3);
	box-shadow: 0 1px 2px rgba(0,0,0,0.1) inset;
	transform: translateY(0);
}

#controlTable #hideMapButton,
#hideMapButton {
	background: linear-gradient(to bottom, #6c757d, #5a6268);
	border-color: #4e555b;
}

#controlTable #hideMapButton:hover,
#hideMapButton:hover {
	background: linear-gradient(to bottom, #7c858d, #6a7278);
}

#controlTable #hideMapButton:active,
#hideMapButton:active {
	background: linear-gradient(to bottom, #5a6268, #4e555b);
}

#controlTable #resetMapButton,
#resetMapButton {
	background: linear-gradient(to bottom, #6c757d, #5a6268);
	border-color: #4e555b;
}

#controlTable #resetMapButton:hover,
#resetMapButton:hover {
	background: linear-gradient(to bottom, #7c858d, #6a7278);
}

#controlTable #resetMapButton:active,
#resetMapButton:active {
	background: linear-gradient(to bottom, #5a6268, #4e555b);
}

/* Modal Buttons */
#applyDatesButton,
#clearDatesButton {
	background: linear-gradient(to bottom, #4a90e2, #357abd);
	color: white;
	border: 1px solid #2d6ba3;
	border-radius: 6px;
	padding: 8px 16px;
	font-size: 10pt;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#applyDatesButton:hover,
#clearDatesButton:hover {
	background: linear-gradient(to bottom, #5a9ff2, #4585c7);
	box-shadow: 0 3px 6px rgba(0,0,0,0.15);
	transform: translateY(-1px);
}

#applyDatesButton:active,
#clearDatesButton:active {
	background: linear-gradient(to bottom, #357abd, #2d6ba3);
	box-shadow: 0 1px 2px rgba(0,0,0,0.1) inset;
	transform: translateY(0);
}

#clearDatesButton {
	background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
	color: #495057;
	border-color: #ced4da;
}

#clearDatesButton:hover {
	background: linear-gradient(to bottom, #ffffff, #f8f9fa);
	color: #212529;
}

#clearDatesButton:active {
	background: linear-gradient(to bottom, #e9ecef, #dee2e6);
}

/* Close modal button */
#closeModal {
	transition: color 0.2s ease;
}

#closeModal:hover {
	color: #e74c3c;
}

/* Modal Input Fields */
#modalStartDate,
#modalEndDate {
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#modalStartDate:focus,
#modalEndDate:focus {
	outline: none;
	border-color: #4a90e2;
	box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}
