/* #Reset & Basics (Inspired by E. Meyers)
================================================== */
	html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 100%;
		font: inherit;
		vertical-align: baseline; }
	article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
		display: block; }
	body {
		line-height: 1; }
	ol, ul {
		list-style: none; }
	blockquote, q {
		quotes: none; }
	blockquote:before, blockquote:after,
	q:before, q:after {
		content: '';
		content: none; }
	table {
		border-collapse: collapse;
		border-spacing: 0; }


/* #Basic Styles
================================================== */
	body {
		background: #fff;
		font: 14px/21px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
		color: #444;
		-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
		-webkit-text-size-adjust: 100%;
 }


/* #Typography
================================================== */
	h1, h2, h3, h4, h5, h6 {
		color: #181818;
		font-family: "Georgia", "Times New Roman", serif;
		font-weight: normal; }
	h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
	h1 { font-size: 46px; line-height: 50px; margin-bottom: 14px;}
	h2 { font-size: 35px; line-height: 40px; margin-bottom: 10px; }
	h3 { font-size: 28px; line-height: 34px; margin-bottom: 8px; }
	h4 { font-size: 21px; line-height: 30px; margin-bottom: 4px; }
	h5 { font-size: 17px; line-height: 24px; }
	h6 { font-size: 14px; line-height: 21px; }
	.subheader { color: #777; }

	p { margin: 0 0 20px 0; }
	p img { margin: 0; }
	p.lead { font-size: 21px; line-height: 27px; color: #777;  }

	em { font-style: italic; }
	strong { font-weight: bold; color: #333; }
	small { font-size: 80%; }

/*	Blockquotes  */
	blockquote, blockquote p { font-size: 17px; line-height: 24px; color: #777; font-style: italic; }
	blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; }
	blockquote cite { display: block; font-size: 12px; color: #555; }
	blockquote cite:before { content: "\2014 \0020"; }
	blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; }

	hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; }


/* #Links
================================================== */
	a, a:visited { color: #333; text-decoration: underline; outline: 0; }
	a:hover, a:focus { color: #000; }
	p a, p a:visited { line-height: inherit; }


/* .lists
================================================== */
	ul, ol { margin-bottom: 20px; }
	ul { list-style: none outside; }
	ol { list-style: decimal; }
	ol, ul.square, ul.circle, ul.disc { margin-left: 30px; }
	ul.square { list-style: square outside; }
	ul.circle { list-style: circle outside; }
	ul.disc { list-style: disc outside; }
	ul ul, ul ol,
	ol ol, ol ul { margin: 4px 0 5px 30px; font-size: 90%;  }
	ul ul li, ul ol li,
	ol ol li, ol ul li { margin-bottom: 6px; }
	li { line-height: 18px; margin-bottom: 12px; }
	ul.large li { line-height: 21px; }
	li p { line-height: 21px; }

/* #Images
================================================== */

	img.scale-with-grid {
		max-width: 100%;
		height: auto; }


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

	form {
		margin-bottom: 20px; }
	fieldset {
		margin-bottom: 20px; }
	input[type="text"],
	input[type="password"],
	input[type="email"],
	textarea,
	select {
		border: 1px solid #ccc;
		padding: 6px 4px;
		outline: none;
		font: 13px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
		color: #777;
		margin: 0;
		width: 210px;
		max-width: 100%;
		display: block;
		margin-bottom: 20px;
		background: #fff; }
	select {
		padding: 0; }
	input[type="text"]:focus,
	input[type="password"]:focus,
	input[type="email"]:focus,
	textarea:focus {
		border: 1px solid #aaa;
 		color: #444; }
	textarea {
		min-height: 60px; }
	label,
	legend {
		display: block;
		font-weight: bold;
		font-size: 13px;  }
	select {
		width: 220px; }
	input[type="checkbox"] {
		display: inline; }
	label span,
	legend span {
		font-weight: normal;
		font-size: 13px;
		color: #444; }

/* #Misc
================================================== */
	.remove-bottom { margin-bottom: 0 !important; }
	.half-bottom { margin-bottom: 10px !important; }
	.add-bottom { margin-bottom: 20px !important; }




/*
 * Stat Carttirail styles 
 */

body,html {
	position: relative;
	width: 100%;
	height: 100%;
	font: 14px/18px "Open Sans", "Helvetica", "Arial", sans-serif;
}

h1,h2,h3,h4 {
	font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
}

::-webkit-scrollbar {
	background: #f9f9f9;
	width: 10px;
}
::-webkit-scrollbar-thumb {
	background: #000;
	.border-radius(5px);
}

#loading {
	position: absolute;
	z-index: 9999;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0,0,0,0.9);
	color: #fff;
	font-size: 32px;
	line-height: 32px;
	font-weight: 800;
	padding-top: 20%;
	text-align: center;
	box-sizing(border-box);
	padding-left: 30%;
	padding-right: 30%;
	text-shadow: 3px 3px 1px #000;
}

.loading #header {
	width: 100%;
}

#header {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100px;
	background: #000;
	z-index: 99999;
}

#header h1 {
	color: #fff;
	font-weight: 800;
	line-height: 100px;
	margin: 0 20px;
	float: left;
}

#header h2 {
	font-weight: 200;
	float: left;
	font-size: 20px;
	line-height: 100px;
	color: #555;
	text-transform: uppercase;
	margin-top: 5px;
}

#header h2 a {
	color: #fff;
	text-decoration: none;
}

#header .nav {
	float: right;
	margin: 38px 20px 0;
}

#header .nav a {
	font-size: 11px;
	line-height: 11px;
	font-weight: bold;
	color: #999;
	text-decoration: none;
	text-transform: uppercase;
	background: #111;
	float: left;
	padding: 8px 12px;
	margin-right: 1px;
}

#header .nav a:hover {
	color: #fff;
}

.loading .map-container {
	width: 100%;
}

.carttirail-map-container {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.carttirail-map-container #carttirail-map {
	width: 100%;
	height: 100%;
}

.loading #carttirail-content {
	width: 0px;
}

#carttirail-content {
	position: fixed;
	top: 100px;
	bottom: 0;
	right: 0;
	width: 30%;
	min-width: 300px;
	background: #f0f0f0;
	border-left: 10px solid #000;
	overflow: hidden;
}

#carttirail-content .inner {
	padding: 20px;
}

#carttirail-content h3 {
	text-transform: uppercase;
	font-weight: 200;
	margin: 0 0 20px;
}

#carttirail-content #filters h4 {
	font-weight: 800;
	text-transform: uppercase;
	font-size: 14px;
	line-height: 14px;
}

#carttirail-content #filters .clear-search {
	float: right;
	font-size: 11px;
	line-height: 11px;
	text-transform: uppercase;
	cursor: pointer;
	margin: 5px 0 0;
	font-weight: 800;
	background: #fff;
	padding: 8px 12px;
}

#carttirail-content #filters input {
	box-sizing: border-box;
	width: 100%;
	padding: 10px;
	margin-bottom: 10px;
}

#carttirail-content #filters select {
	width: 100%;
	height: 100px;
	box-sizing: border-box;
	padding: 10px;
}

#carttirail-content #filters .chzn-container {
	margin-bottom: 10px !important;
	width: 100% !important;
}

#carttirail-content #filters .chzn-drop {
	width: 100% !important;
}

#carttirail-content #filters .search-field input {
	height: auto;
	margin: 0;
}

#carttirail-content #filters .chzn-container .chzn-results .highlighted {
	background: #000;
}

#carttirail-content #filters .chzn-container-multi .chzn-choices {
	border-color: #ccc;
	box-shadow: 0 0 0 !important;
	-webkit-box-shadow: 0 0 0 !important;
	-moz-box-shadow: 0 0 0 !important;
	background: #fff !important;
}

#carttirail-content #filters .chzn-container-multi .chzn-choices .search-choice {
	margin-top: 5px;
	border-radius: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border: 0;
	background: #f0f0f0;
	color: #333;
	padding: 5px 20px 5px 8px;
}

#carttirail-content #filters .chzn-container-multi .chzn-choices .search-choice .search-choice-close {
	top: 6px;
}

#carttirail-content #filters .chzn-container-single .chzn-single {
	border-radius: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	background: #fff;
	box-shadow: 0 0 0;
	-webkit-box-shadow: 0 0 0;
	-moz-box-shadow: 0 0 0;
	border-color: #ccc;
	padding: 10px;
	height: auto;
}

#carttirail-content #filters .chzn-container-single .chzn-single span {
	font-size: 12px;
	line-height: 12px;
}

#carttirail-content #filters .chzn-container-single .chzn-single div {
	top: 5px;
}

#carttirail-content #filters .chzn-container-single .chzn-single abbr {
	top: 10px;
}

#carttirail-content #filters .chzn-container-single .chzn-search input {
	width: 100% !important;
	padding: 4px 20px 4px 5px;
	box-sizing: boder-box;
}

#carttirail-content #filters .date {
	width: 48%;
	float: left;
}

#carttirail-content #filters .time {
	width: 48%;
	float: right;
}

#carttirail-content #filters .filter.toggle {
	margin-bottom: 10px;
}

#carttirail-content #filters .filter.toggle input,
#carttirail-content #filters .filter.toggle label {
	width: auto;
	display: inline;
}

#carttirail-content .list {
	position: absolute;
	overflow: auto;
	top: 20px;
	bottom: 20px;
	left: 20px;
	right: 20px;
}

#carttirail-content .list ul {
	margin: 0 20px 0 0;
}

#carttirail-content .list li {
	background: #fff;
	box-shadow: 0px 1px 0px #000;
	padding: 10px;
	margin: 0 0 20px;
	cursor: pointer;
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
}

#carttirail-content .list li:hover {
	background: #f0f0f0;
}

#carttirail-content .list li p.category {
	font-style: italic;
	font-size: 12px;
	line-height: 12px;
	color: #666;
	margin: 0 0 10px;
}

#carttirail-content .list li h3 {
	font-size: 18px;
	line-height: 22px;
	font-weight: 800;
	margin: 0;
	padding: 0;
}

#single-page {
	display: none;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #222;
	box-sizing: border-box;
	background: rgba(0,0,0,0.85);
	overflow: auto;
	color: #f0f0f0;
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
}

#single-page .loading {
	font-size: 20px;
	margin-top: 30%;
	color: #f0f0f0;
	text-align: center;
}

#single-page .content {
	overflow: auto;
	top: 15%;
	bottom: 15%;
	right: 15%;
	left: 15%;
	position: absolute;
	padding-right: 20px;
}

#single-page.toggled {
	top: 80% !important;
}

#single-page h1,
#single-page h2,
#single-page h3,
#single-page h4,
#single-page h5 {
	color: #fff;
	margin: 0;
}

#single-page img.thumbnail {
	max-width: 50%;
	max-height: 100%;
	float: right;
	margin: 35px 0 20px 20px;
	border: 5px solid rgba(0,0,0,0.95);
}

#single-page p.cat {
	margin: 10px 0;
	font-size: 11px;
	font-weight: 800;
	line-height: 11px;
}

#single-page h2 {
	font-weight: 800;
	margin: 0;
	width: 80%;
}

#single-page h3 {
	font-weight: 100;
	font-size: 20px;
	line-height: 20px;
}

#single-page p.local {
	font-weight: 600;
	margin: 20px 0;
}

#single-page p.local span {
	font-weight: 800;
}

#single-page .actions {
	position: absolute;
	top:15%;
	right: 15%;
	margin-right: 20px;
	text-transform: uppercase;
	cursor: pointer;
	font-size: 11px;
	line-height: 11px;
	font-weight: 800;
	z-index: 100;
	width: 20%;
}

#single-page .actions p {
	float: right;
	margin: 10px 5px;
}


/*
 * Map
 */

#carttirail-map .leaflet-popup-content-wrapper {
	border-radius: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
}

#carttirail-map .leaflet-popup-content {
	margin: 10px;
}

#carttirail-map .leaflet-popup-content p.meta {
	font-size: 11px;
	margin: 0 0 5px;
}

#carttirail-map .leaflet-popup-content p.meta span {
	background: #f0f0f0;
	padding: 3px 5px;
	text-transform: uppercase;
}

#carttirail-map .leaflet-popup-content p.meta span.cat {
	font-weight: 800;
}

#carttirail-map .leaflet-popup-content h2 {
	font-size: 14px;
	font-weight: 800;
	line-height: 18px;
}

#carttirail-map .leaflet-popup {
	margin-bottom: 20px;
	max-width: 200px;
}

#carttirail-map .leaflet-popup:after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	margin-left: -10px;
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 10px solid #fff;
}

#carttirail-map .leaflet-popup-close-button,
#carttirail-map .leaflet-popup-tip-container {
	display: none !important;
}

#carttirail-map .leaflet-popup-content-wrapper,
#carttirail-map .leaflet-popup-tip {
	border: 0;
}