html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, hr, p, blockquote, pre,a, abbr, acronym, address, big, button, 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;}
img, video, object, embed {max-width: 100%;height: auto !important;}
*, *:before, *:after {-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box}
button {
	background: none; text-align: left;
}

:root {
	
	--color-white:								#fff;
	--color-key:								#18181c;
	--color-key-medium:							#6f6f7e;
	--color-key-medium-light:					#e7e7ee;
	--color-key-light:							#fafafa;
	--color-accent:								#1447E0;
	
}

html {
	-webkit-tap-highlight-color: 				rgba(0,0,0,0);
	-ms-overflow-style:							scrollbar;
	scroll-behavior: 							smooth;
	-moz-text-size-adjust: 						none;
	-webkit-text-size-adjust: 					none;
	text-size-adjust: 							none;
}

body {
	font-family: sans-serif;
	position: relative;
	color: var(--color-key);
	font-size: 0.92rem;
	line-height: 1.5;
}

a {
	color: var(--color-accent);
}

b, strong {
	font-weight: bold;
}

.container {
	display: flex;
	flex-direction: column;
	height: 100vh;
}

.main {
	width: 100%;
	height: 100%;
	display: inline-block;
	top: 0;
	left: 0;
}

.sidebar {
	width: 100%;
	display: inline-block;
	background: #fff;
	padding: 1rem;
}

@media only screen and (min-width: 769px) {
	
	.container {
		display: flex;
		flex-direction: row;
	}
	
	.main {
		
		fwidth: 70%;
		height: 100%;
	}
	
	.sidebar {
		flex: 0 0 360px;
		display: inline-block;
		width: 360px;
		height: 100%;
		padding: 32px;
	}
}

.map {
	width: 100%;
	height: 100%;
}

h1 {
	font-size: 1.5rem;
	margin-bottom: 1.125rem;
}

h2 {
	font-size: 1.25rem;
	margin-bottom: 1rem;
}

h3 {
	font-size: 1.125rem;
	margin-bottom: 1rem;
}

p { margin-bottom: 1rem;}

.button-what {
	border: 			0px;
	padding: 			0;
	margin: 			0;
	font-size: 			inherit;
	line-height: 		1;
	background: 		none;
	cursor: 			pointer;
	transition: 		all 0.3 ease-in-out;
}

.button-what svg {
	margin-bottom: 		-3px;
}

.button-what:hover {
	color: 				var(--color-key);
}

/* List */

.list-bullets li {
	list-style: 		disc;
	margin: 			4px 0 12px 16px;

}

/* Marker */

map-marker {
	position: relative;
	text-align: center;
	width: 14px;
	height: 14px;
	margin-top: -8px;
	margin-left: -8px;
}

.map-marker div.icon {
	position: relative;
	overflow: hidden;
	background-repeat:no-repeat;
	background-position:center;
	width: 14px; /*Same as marker width*/
	height: 14px; /*Same as marker height*/
	border-radius: 8px;
	border: 2px var(--color-white) solid;
	box-shadow: 0 0 8px rgba(0,0,0,0.3);
	margin-top: -8px;
	margin-left: -8px;
}

/** Forms */

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.form-control {
	display: block;
	width: 100%;
	height: auto;
	padding: 8px 12px;
	position: relative;
	color: var(--color-key);
	background-color:transparent;
	background-image: none;
	border:1px var(--color-key-medium) solid;
	margin: 0;
	line-height: 1;
	transition: all 0.2s ease-in-out;
}
select:hover,
select:focus,
input:hover,
input:focus {
	outline: 0;
}
select[multiple],
select[size] {
	height: auto;
}

select {
	text-indent: 1px;
	text-overflow: '';
    text-indent: 0.01px;
    text-overflow: '';
	outline:none;
	-moz-outline: none;
	-webkit-outline: none;
}


/** Tooltip */

.leaflet-container {
	font-family: Inter, sans-serif;
    font-size: 0.85rem;
}

.leaflet-popup-content-wrapper, 
.leaflet-popup-tip {
	color:var(--color-key);
}

.infoWindowContent {
	max-width: 360px;
}
.bookPlace {
	font-size: 12px;
	padding-bottom: 5px;
	font-weight: 700;
}

.bookstopTitle{
	font-size: 1rem;
	padding-bottom: 5px;
	font-weight: 700;
}

.bookTitle {
	font-size: 0.85rem;
	padding-bottom: 3px;
}

.bookAuthor {
	color:var(--color-key-medium);
	font-size: 0.85rem;
	padding-bottom: 10px;
	font-style: italic;
}

.bookQuote {
	max-height: 200px;
	padding:10px 15px;
	overflow-y: auto;
	border: 1px  var(--color-key-medium-light) solid;
	background: var(--color-key-light);
}

.bookLink {
	padding-top: 10px;
}

/** Legends lateral */

@media only screen and (max-height: 750px) {
	.booklist-container {
		width:  100%;
		height: 50vh;
		overflow-y: scroll;
	}
}

.booklist {
	position: relative;
	z-index: 4;
	padding: 10px 0;
}


@media only screen and (max-width: 769px) {
	.booklist {
		display: none;
	}
}

.legendBookCheckbox {
  display: inline-block;
  line-height: 18px;
  height: 12px;
  position: relative;
  top: -2px;
  cursor: pointer;

}

.legendBook {
	width: 100%;
	display: block;
	cursor: pointer;
	font-size: 0.85rem;
	color: var(--color-key-medium);
	padding:0.75rem 0.5rem;
	border: 1px transparent solid;
	transition: all 0.2s ease-in-out;
}
.legendBook:hover {
	border-color: var(--color-key-medium-light);
}

.legendBook.selected  {
	color: var(--color-key);
	border-color: var(--color-key);

}
.legendBookColor {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 5px;
  margin-right: 5px;
  border-radius: 6px;
  transform: translateY(8px);
 
}
.legendBookTitle {
  display: inline-block;
  line-height: 1;
  position: relative;
  padding-left: 3px;

}

.legendBookAuthor {
	font-size: 0.8em;
	padding-left: 26px;
}

.btn-showall {
	transform: translateY(9px);
}
/*
.gm-style .gm-style-iw {
  max-width: 300px;
  font-weight: normal;
  padding: 5px;
}*/

.bookLink a {
	color: var(--color-accent);
}

.bookQuote {
  font-size: 0.85rem;
  line-height: 19px;
}

#legendShowAll {
	cursor: pointer;
	padding-top: 2px;
	padding-left: 0.5rem;
	font-size: 14px;
	color: var(--color-key-medium);
	font-weight: 400;
}

#legendShowAll:hover {
	color: var(--color-key);
}

#bookListMobile {
	display: block;
}

@media only screen and (min-width: 769px) {
	#bookListMobile {
		display: none;
	}
}

/* -------------------------------------------------------------------------- *\
 * Necessary styling for the dialog to work
 * -------------------------------------------------------------------------- */


[data-a11y-dialog-native] .dialog-overlay {
	display: none;
}

dialog[open] {
	display: block;
}

.dialog[aria-hidden="true"] {
	display: none;
}

/* -------------------------------------------------------------------------- *\
 * Styling to make the dialog look like a dialog
 * -------------------------------------------------------------------------- */

.dialog-overlay {
	z-index: 5000;
	background-color: rgba(0, 0, 0, 0.66);
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

dialog::backdrop {
	background-color: rgba(0, 0, 0, 0.66);
}

.dialog-content {
	background-color: rgb(255, 255, 255);
	z-index: 5003;
	position: fixed;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	margin: 0;
}

/* -------------------------------------------------------------------------- *\
 * Extra dialog styling to make it shiny
 * -------------------------------------------------------------------------- */

@keyframes fade-in {
	from { opacity: 0;  }
	to { opacity: 1;  }
}

@keyframes appear {
	from { transform: translate(-50%, -40%); opacity: 0; }
	to { transform: translate(-50%, -50%); opacity: 1; }
}

.dialog:not([aria-hidden='true']) > .dialog-overlay {
	animation: fade-in 200ms 1 both;
}

.dialog:not([aria-hidden='true']) > .dialog-content {
	animation: appear 400ms 150ms 1 both;
}

.dialog-content {
	padding: 32px 8px 8px 8px;
	max-width: 90%;
	width: 600px;
	border-radius: 2px;
}


@media screen and (min-width: 700px) {
	.dialog-content {
    	padding: 56px 32px 32px 32px;
	}
}

.dialog-overlay {
  background-color: rgba(43, 46, 56, 0.9);
}

.dialog h1 {
  margin: 0;
  font-size: 1.25em;
}

.dialog-close {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  border: 0;
  padding: 0;
  background-color: transparent;
  font-weight: bold;
  font-size: 1.25em;
  width: 1.2em;
  height: 1.2em;
  text-align: center;
  cursor: pointer;
  transition: 0.15s;
}

@media screen and (min-width: 700px) {
  .dialog-close {
    top: 1em;
    right: 1em;
  }
}

/* Author */

.author {
	
	position: fixed;
	left: 		24px;
	bottom: 	16px;
	background: var(--color-white);
	padding: 	4px;
	z-index: 	500;
}

/** Helps */
.mt-1 {
	margin-top: 8px;
}
.mt-3 {
	margin-top: 24px;
}
