.card-header,
.card-body,
.card-footer {
	padding: 8px 12px 8px 12px;
}

@media (min-width: 1080px) {
	.lead-img {
		float: left !important;
		max-height: 320px;
	}
	.lead-img-large {
		float: left !important;
		max-height: 480px;
	}
	.lead-img-xlarge {
		float: left !important;
		max-height: 640px;
	}
}

.lead-img, .lead-img-large, .lead-img-xlarge {
	max-width: 100%;
	margin-right: 12px;
	margin-bottom: 8px;
}

.crumb-container {
  max-width: 1208px;
  padding-left: 4px;
  padding-right: 4px;
  margin-left: auto;
  margin-right: auto;
}

.primary-card-title, .card-title, .poi-card-title, .poi-contact-card-title {
	color: #800000;
}

.primary-card-title img, .card-title img, .poi-card-title img, .poi-contact-card-title img {
	float: left !important;
	max-width: 100%;
	margin-right: 8px;
}

.primary-card-title img, .card-title img {
	float: left !important;
	max-width: 100%;
}

.poi-card-title, .poi-contact-card-title {
	padding: 6px 8px 6px 8px !important;
}

.poi-card-title img, .poi-contact-card-title img {
	margin-right: 6px;
	max-height: 32px;
}

.primary-card-title img {
	max-height: 56px;
}

.primary-card-title h1 {
	font-size: 1.6em;
	font-weight: normal;
}

.card-title img {
	max-height: 48px;
}

.card-title h1 {
	font-size: 1.3em;
	font-weight: normal;
}

.poi-card-title h1, .poi-contact-card-title h1 {
	font-size: 1.2em;
	font-weight: normal;
}

.card-image-container {
	position: relative;
	width: 100%;
	overflow: hidden;
	padding-top: calc(100% * 4 / 7); /* Aspect ratio 4:7 */
}

.card-image-container img {
	position: absolute;
	top: 50%;
	left: 50%;
	max-width: 100%;
	height: auto;
	transform: translate(-50%, -50%);
}

.content-title h1 {
	font-size: 1.6em;
	font-weight: normal;
	color: #800000;
}

.main-strip {
	max-width: 1208px;
	padding-left: 4px;
	padding-right: 4px;
	margin: auto;
}

.main-strip img {
	max-width: 100%;
}

.content-title img {
	float: left !important;
	margin-right: 8px;
	max-height: 56px;
}

.article-content p {
	margin-bottom: 0.5rem;
}

.article-content h2 {
	margin: 4px 0 4px 0;
	font-size: 1.4em;
	font-weight: normal;
	color: #e60000;
}

.article-content .lead-img {
	max-height: 400px;
}

.article-content hr {
	clear: both;
	border: 0;
	width: 75%;
	height: 2px;
	background: linear-gradient(to right, #e60000, white);
	opacity: 100;
}

.article-date {
	color: #e60000;
}

.article-ellipsis {
	color: #e60000;
}

.article-signature {
	color: #e60000;
}

.article-signature a {
	text-decoration: none;
}

.tour-content, .tracks-content {
	max-width: 800px;
}

.sheet-content {
	max-width: 600px;
}

.sheet-content td {
	width: 50%;
}

.sheet-label {
}

.sheet-value {
	font-family: "Consolas", "Menlo", "Courier New", monospace;
}

.sheet-notes {
	font-family: "Consolas", "Menlo", "Courier New", monospace;
	font-size: 0.92em;
}

.map-content, .altimetry-content, .gallery-content, .about-content {
	background-color: #00000080;
}

.map-content .modal-body, .altimetry-content .modal-body, .gallery-content .modal-body {
	padding: 0;
}

#map-element {
	height: 80vh;
	border: 0;
	padding: 0;
}

#altimetry-chart {
	height: 80vh;
	border: 0;
	padding: 0;
}

.altimetry-marker {
   width: 32px;
   height: 32px;
   position: absolute;
   visibility: hidden;
}

.altimetry-marker img {
	padding: 2px;
	background-color: rgba(128, 128, 128, 0.2);
	border-radius: 3px;
}

.callout-border {
	position: absolute;
	left: -64px;
	bottom: 40px;
	width: 160px;
	font-size: 0.8em;
	padding: 4px;
	border: 1px solid lightgrey;
	color: black;
	background: white;
	border-radius: 3px;
	box-shadow: 0px 0px 4px lightgrey;
	z-index: 2;
	visibility: hidden;
}

.callout-border:before {
	content: "";
	position: absolute;
	bottom: -12px;
	left: 71px;
	border-width: 12px 12px 0;
	border-style: solid;
	border-color: white transparent;
	width: 0;
	z-index: 3;
}

.callout-border:after {
	content: "";
	position: absolute;
	bottom: -13px;
	left: 70px;
	border-width: 13px 13px 0;
	border-style: solid;
	border-color: lightgrey transparent;
	width: 0;
	z-index: 2;
}

.gallery-content .carousel-inner {
	border-bottom-left-radius: calc(0.5rem - (1px));
	border-bottom-right-radius: calc(0.5rem - (1px));
}

.weather-content {
	max-width: 600px;
}

.weather-img-day {
  float: left;
  margin-right: 4px;
  margin-top: -4px;
  margin-bottom: -4px;
  max-width: 48px !important;
}

.weather-img-slot {
  float: left;
  margin-right: 4px;
  margin-top: -4px;
  margin-bottom: -4px;
  max-width: 32px !important;
}

.poi-content {
	max-width: 600px;
}

.contact-content, .poi-contact-content, .search-content {
	max-width: 600px;
}
