.travelwrapper {
	border-top: 40px solid #FFF;
	position: relative;
	min-height: 100vh;
}
.travelwrapper:after {
	content: "";
	display: block;
	clear: both;
}	


.travelwrapper #program {
	float: left;
	position: sticky;
	left: calc(50% + 20px);
	width: 280px;
	min-height: 300px;
	top: 20px;
	background: var(--wiz-lightgray);
}
.travelwrapper #program dl {
	padding: 20px;
	font-size: 16px;
	font-family: var(--wiz-title-font);
}
.travelwrapper #program dt {
	position: relative;
}

.travelwrapper #program dt a {
	font-weight: 500;
	padding-left: 30px;
	color: var(--wiz-question-color);
}
.travelwrapper #program dt a:after,
.travelwrapper #program dt a:before {
	width: 12px;
	height: 2px;
	background: var(--wiz-title-color);
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 10px;
	transform: translate(-50%,-50%);
	transition: all 0.3s ease;
}
.travelwrapper #program dt a.open:after {
	height: 12px;
	width: 2px;
}
.travelwrapper #program dd {
	margin-left: 10px;
	font-size: 15px;
	padding: 5px 0 5px 20px;
	position: relative;
	border-left: 1px solid rgba(0,0,0,0.15);
}
.travelwrapper #program dd:before {
	content: "";
	display: block;
	height: 1px;
	background: rgba(0,0,0,0.15);
	width: 12px;
	position: absolute;
	top: 14px;
	left: 0;
}
.travelwrapper #program dd.last:after {
	content: "";
	display: block;
	width: 10px;
	height: 20px;
	position: absolute;
	left: -1px;
	bottom: 0;
	background: var(--wiz-lightgray);
}
.travelwrapper #program dd span {
	display: block;
	line-height: 1.2;	
}
.travelwrapper #program dd a:hover span,
.travelwrapper #program dd span.time {
	color: var(--wiz-question-color);
}

.mainimage {
	position: relative;
	padding-bottom: 20px;
	margin-bottom: 20px;
}	
.mainimage img {
	width: 100%;
	height: auto;	
}
.mainimage a {
	width: 60px;
	height: 60px;
	position: absolute;
	bottom: 40px;
	left: 20px;
	background:  var(--wiz-title-color);
	border-radius: 2px;
}
.mainimage a:hover {
	background:  var(--wiz-question-color);
}
.mainimage a:before {
	content: "";
	display: block;
	width: 0;
	height: 0;
	border-left: 8px solid #FFF;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	
	
}
.mainimage a .label {
	display: none;	
}
.mainimage figcaption {
	height: 20px;
	text-align:right;
	position: absolute;
	bottom: 0;
	right: 0;
	font-size: 15px;	
}
.travelwrapper #map {
	background: red;
	height: calc(100vh - 40px);	
	position: sticky;
	left: calc(50% + 350px);
	right: 20px;
	width: calc(50vw - 350px);
	top: 20px;
	bottom: 20px;
}
.travelwrapper #poimap {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;	
}
.travelcol {
	width: 680px;
	float: left;
	font-size: 18px;
}
.travelcol .lead {
	font-size: 20px;	
}

.travelcol .maintitle {
	margin: 0 0 20px 0;	
	font-weight: bold;
	font-size: 40px;
}
.travelcol header {
	position: relative;
}
.travelcol header h4 {
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 14px;
	margin: 0;
	padding: 0;
	color: #6c0043;
	line-height: 1.2;
	padding: 20px 0;
}
.travelcol header .author_block {
	padding: 30px 0;
	position: relative;
}
.travelcol header .pdate,
.travelcol header .numviews,
.travelcol header .reading_time {
	padding: 10px 0;
	display: inline-block;
	margin-left: 20px;
}
.travelcol header .pdate:before {
	font-family: icomoon;
	color: #6c0043;
	content: "\e60c";
	padding-right: 0.5em;
	font-size: 90%;
}
.travelcol header .numviews {
	padding-left: 24px;
	background: url("img/eye.svg") left 22px no-repeat;
	background-size: auto 18px;	
}
.travelcol header .reading_time:before {
	font-family: icomoon;
	color: #6c0043;
	content: "\e60b";
	padding-right: 0.5em;
	font-size: 90%;
}
.travelcol header .author {
	font-family: coveredbyyourgrace, "arial narrow", sans-serif;
	font-size: 19px;
	display: inline-block;
	position: relative;
}

.travelcol header .author .img {
	display: inline-block;
}

.travelcol header .author .name {
	display: inline-block;
}

.travelcol header .author:before {
	content: "";
	display: block;
	background: url("img/red_barrow.svg") 0 0 no-repeat;
	background-size: 100% 100%;
	width: 50px;
	height: 26px;
	left: 90px;
	transform: scaleX(-1) rotate(144deg);
	position: absolute;
	top: -5px;
}
.travelcol header .author img {
	width: 80px;
	height: auto;
	vertical-align: middle;
}
.travelcol header .author span {
	color: #6c0043;
	line-height: 1.2;
	padding-top: 8px;
}
.travelcol header .author h3 {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	display: inline;
	color: #e60003 ;
	padding: 0;
	line-height: 1.2;
}

.daysection .title {
	color: var(--wiz-title-color);
}
.daysection {
	padding: 0 0 50px 0;	
}
.daysection dt  {
	padding: 40px 0 20px 0;	
}
.daysection dt .title,
.daysection dt .time {
	line-height: 1.3;
	padding: 0;
}
.daysection dt .title {
	font-weight: 500;
}


.programfooter {
	display: none;
}

@media (max-width: 1400px) {
	
	.travelwrapper #map {
		clear: both;
		display: block;
		width: 680px;
		height: 400px;
		position: relative;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		margin-left: calc(50% - 500px);
	}
	.travelcol {
		margin-left: calc(50% - 500px);
		float: left;
	}
	
	.travelwrapper #program {
		left: calc(50% + 240px);
	}
}
@media (max-width: 1080px) {
	
	.travelwrapper #program {
		width: 260px;
		left: calc(50% + 220px);
	}
	
	.travelwrapper #map,
	.travelcol {
		margin-left: calc(50% - 480px);
		float: left;
	}
}
@media (max-width: 1000px) {
	.travelwrapper #program,
	.travelwrapper #map {
		display: none;
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		bottom: 0;
		height: 100%;
		width: auto;
		margin: 0;
		z-index: 1001;
	}
	#toggleprogram:checked ~ #main #program {
		display: block;
	}
	#togglemap:checked ~ #main  #map {
		display: block;
	}
	#togglemap:checked ~ #main,
	#toggleprogram:checked ~ #main {
		z-index: 1050;	
	}
	
	.togglebiatch:checked ~ #togglelabel {
		display: block;
		position: fixed;
		z-index: 1051;
		width: 50px;
		height: 50px;
		top: 20px;
		right: 20px;
		background: #FFF;
		border-radius: 50%;
		cursor: pointer;
	}
	
	.togglebiatch:checked ~ #togglelabel:before,
	.togglebiatch:checked ~ #togglelabel:after {
		width: 24px;
		height: 2px;
		background: var(--wiz-question-color);
		content: "";
		display: block;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%) rotate(45deg);
	}
	.togglebiatch:checked ~ #togglelabel:before {
		transform: translate(-50%,-50%) rotate(-45deg);
	}
	
	.travelcol {
		max-width: 680px;
		width: auto;
		margin: 0 auto;
		float: none;
	}
	
	.programfooter {
		display: block;
		position: fixed;
		left: 0;
		bottom: 0;
		right: 0;
		z-index: 1000;
		background: var(--wiz-lightgray);
		padding: 20px;
		border-top: 2px solid #CCC;
	}
	.programfooter label {
		margin: 0 auto;
		max-width: 680px;
		display: block;
		color: var(--wiz-title-color);
		font-weight: 500;
		cursor: pointer;
		font-family: var(--wiz-title-font);
	}

}



.leaflet-marker-icon.travelogue {
	border-radius: 50%;
	background: var(--wiz-title-color);
		
}
.leaflet-marker-icon.travelogue.selectedMarker:after {
	width: 100%;
	height: 100%;
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 50%;
	outline: 5px solid var(--wiz-question-color);
	opacity: 0.3;
}
.leaflet-marker-icon.travelogue.selectedMarker {
	background: var(--wiz-question-color);
}
.leaflet-marker-icon.travelogue:before {
	position: absolute;
	top: 50%;
	left: 50%;
	background: #FFF;
	content: "";
	border-radius: 50%;
	width: 6px;
	height: 6px;
	transform: translate(-50%,-50%);
}

.travelogue-poibox {
	padding: 10px;	
}
.travelogue-poibox img {
	float: left;	
}
.travelogue-poibox img + div {
	margin-left: 44px;	
}
.travelogue-poibox div {
	line-height: 44px;
	padding: 0 10px;	
}
.travelogue-poibox.loc div,
.travelogue-poibox.poi div {
	line-height: 22px;	
}
.leaflet-container .travelogue-poibox a {
	color: var(--wiz-question-color);	
}
.leaflet-container .travelogue-poibox .title:before {
	content: "• ";	
}
.leaflet-container .travelogue-poibox .title {
	color: var(--wiz-title-color);	
}
.travelogue-poibox h3 {
	font-weight: 500;	
}
.mobilenav {
	display: none;	
}
@media (max-width: 1000px) {
	.mobilenav {
		display: flex;
		justify-content: space-between;
		padding: 20px 0;	
	}
	.mobilenav label {
		display: inline-block;
		width: calc(50% - 10px);
		cursor: pointer;
		border: 2px solid var(--wiz-title-color);
		border-radius: 2px;
		color: var(--wiz-title-color);
		line-height: 40px;
		text-align: center;
		font-family: var(--wiz-title-font);
		font-weight: 500;
		font-size: 16px;
	}
	.mobilenav label:hover {
		color: #FFF;
		background: var(--wiz-title-color);
	}
}
@media (max-width: 500px) {
	.mainimage {
		margin: 0 -20px;
		
	}
	.mobilenav {
		display: block;
	}
	.mobilenav label {
		padding: 0 20px;
		display: block;
		margin: 0 0 10px 0;
		width: auto;
		text-align: left;
	}
}




.travelcol.footercol {
	margin-top: 30px;
	margin-bottom: 30px;
	float: none;
}


.travelcol footer #ratingform,
.travelcol footer .author {
	margin: 40px -20px;
	padding: 30px 20px 30px 140px;
	border: 1px solid #EEE;
	border-radius: 3px;
	position: relative;
	min-height: 80px;
}
.travelcol footer #ratingform {
	padding-left: 120px;
}

.travelcol footer .author .image {
	width: 80px;
	height: 80px;
	position: absolute;
	left: 20px;
	top: 40px;
	background: #e60003 url("img/texture.png");
}

.travelcol footer .author .image img {
	width: 100%;
	height: auto;
	position: relative;
	top: -20px;
	right: -20px;	
}
.travelcol footer .author h3 {
	color: #e60003;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
}

@media (max-width: 720px) {
	.travelcol footer #ratingform,
	.travelcol footer .author {
		margin: 40px 0;
		padding: 30px 20px 30px 140px;
		border: 1px solid #EEE;
		border-radius: 3px;
		position: relative;
		min-height: 80px;
	}

}