@keyframes rot {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hideMe{ display: none;}

.noAnchorpoint{ margin-top: 70px;}

.erihlist.minHeight{
	min-height: 300em;
}

.erihlist > div{
	height: auto;
	opacity: 1;
	transition: opacity .25s ease;
}
.erihlist > div.fadeOut, .erihlist > div.lazy{
	opacity: 0;
}

.erihlist_placeholder{
	height: 15em;
	background: #dea576;
}

select.active{border: 1px solid var(--primary-color)}

.loading{
	display:none;
	height: 1px;
	transition: height .35s ease;
}
.loading.active{
	display: block;
	height: auto;
}

#infscr-loading, .loading, #loadMore{text-align: center; margin-top: 2rem;}

#infscr-loading img, .loading img{
  animation: rot 2.5s infinite linear;
}

#ErihListMap{
	width: 100%;
	height: 500px;
	border-bottom: 30px solid var(--primary-color);
}

/* Cookies ---- arrrrg */
.mapNoCookie{
	position: relative;
	background: url('../img/placeholder_noCookie_Map.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
.callCookiemanagement{
	position: absolute;
	left: 50%;
	top: 60%;
	font-size: 1.2em;
	max-width: 12em;
	text-align: center;
	transform: translateX(-50%) translateY(-50%);
	z-index: 10;
	background: rgba(255,255,255,.7);
	padding: 1em;
}

.erihFilter{ margin-top: 1rem;}

.erihFilter .switch{ line-height:0;}

.erihFilter .float-left{ line-height:1.333rem;}

.erihFilter .switch-input{
		margin-bottom:0 !important;
}

.erihFilter.enlarged{
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	z-index: 1000;
}

.erihFilter .switch-paddle{ height: 1.25rem !important; width: 2.25rem !important;}

.erihFilter .switch-paddle::after { width: 0.75rem !important; height: 0.75rem !important;}
.erihFilter input:checked~.switch-paddle:after{ left: 1.25rem !important;}

.themeRouteListicons{ margin-bottom: 1rem;}
.themeRouteListicon{}

/* !spinner ----------------------------------- */
.spinner{
	position: absolute;
	display: none;
	bottom: 220px;
	left: 50%;
	padding: 5px;
	border-radius: 5px;
	background: rgba(255,255,255,0.8);
	box-shadow: 1px 1px 3px 1px rgba(0,0,0,0.3);
}

/* !Mapcontrol ----------------------------------- */
.mapWrapper > .row{ position: relative;}
#mapControl{
	position: absolute;
	width: 40px;
	bottom: 60px;
	right: 1rem;
	z-index: 99;
}
#mapControl a { display: block; width: 40px; height: 40px; background: var(--primary-color); color: #fff; text-align: center; margin-bottom: 2px; box-shadow: 3px 3px 5px rgba(0,0,0,0.3)}
#mapScaleUp, #mapScaleDown{font-size: 2.5rem; font-weight: 600;}
#mapScaleUp{line-height: 1.125em; border-radius: 5px 5px 0px 0px;}
#mapScaleDown{line-height: 0.9em; border-radius: 0px 0px 5px 5px;}
#maximizeListMap{line-height: 2em; font-size: 1.25rem;}
#radialSearchMap{line-height: 1.45em; font-size: 1.75rem;}
#radialByInput{
	position: absolute;
	top:84px;
	left: -16.25rem;
	width: 16rem;
	display: none;
}
#radialByInput input{margin-bottom: 0; box-shadow: 3px 3px 5px rgba(0,0,0,0.3);}
#radialByInput button{
	margin-top: 0.25rem;
	background: var(--primary-color);
	color: #fff;
	font-weight: 700;
	padding: .3rem .5rem;
	font-size: 1.25rem;
	border-radius: 0px 0px 3px 3px;
	box-shadow: 3px 3px 5px rgba(0,0,0,0.3);
}
.tooltip{z-index:1111}

/* !Maplegend ----------------------------------- */
#mapLegend{
	position: absolute;
	bottom: 60px;
	left: 1rem;
	z-index: 99;
	background: rgba(255,255,255,.75);
	border-radius: 5px;
	color: #909090 !important;
	font-size: .8em;
	display: flex;
	padding: 4px 8px;
}
.mapLegend-item{
	border-right: 1px solid var(--primary-color);
	padding-right: 8px;
	margin-right: 8px;
}
.mapLegend-item:last-child{
	border-right:none;
	padding-right: 0;
	margin-right: 0;
}


/* !Google Maps ---------------------------------- */

#ErihListMap .gm-style-iw{
	border-top: 30px solid var(--primary-color);
	background-color: rgba(144,144,144,.9) !important;
	margin-top: 30px;
	padding-bottom: 30px;
	width: 240px;
}

#ErihListMap .gm-style-iw-t::before, #ErihListMap .gm-style-iw-t::after{ display: none;}

#ErihListMap .gm-style-iw, #ErihListMap .gm-style-iw p, #ErihListMap .tabs-content{
	color: #fff;
	font-size: 1rem;
	font-family: 'Franklin Gothic Condensed', sans-serif;
}
#ErihListMap .gm-style-iw strong{
	font-weight: 700;
	color: var(--primary-color);
}

a.ErihMapInfoWindowMore{ background-color: var(--primary-color); color: #fff; padding: 0.5rem; width: 50%; text-align: center; display: block; margin-bottom: 22px;}
a.ErihMapInfoWindowMore:hover{ background-color:#af5800;}

.ErihMapInfoWindow{ width: 220px;}
.ErihMapInfoWindow .tabs-title>a{ font-size: .75rem; padding: .25rem .5rem; font-family: 'Franklin Gothic Condensed', sans-serif; font-weight: 300; text-transform: uppercase;}
.ErihMapInfoWindow .tabs, .ErihMapInfoWindow .tabs-content{ border: none; background: transparent; max-width:90%;}
.ErihMapInfoWindow .tabs-content{height: 230px; min-height: 100px;}
.ErihMapInfoWindow .tabs-panel{padding-right: 0; padding-left: 0; padding-bottom: 0;}
.ErihMapInfoWindow img{ max-width: 100%; height: auto; margin-bottom: 0.5rem;}

/* !show ----------------------------- */

.services td ul.menu li{padding:0 0.5rem; border-right: 2px solid #ccc;}
.services td ul.menu li:first-child{padding-left:0;}
.services td ul.menu li:last-child{padding-right:0; border: none;}

.erihshow_headerimage{
	width: 100%;
	height: 500px;
	background-color: #333;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	margin-bottom: 1rem;
}

.erihshow img{ width: 100%;}

.erihshow h1{ text-transform: uppercase;}
.erihshow h1, .erihshow h3{ color: var(--primary-color); margin-bottom: 0.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid #ddd;}
.erihshow.justSite h1{color: #666;}
.erihshow h1 span{ font-size: 0.5em; line-height: 0; position: relative; margin-left: 0.25em;}
.erihshow h1 span.member{ color: #8e908f;}
.erihshow h1 span.erih-wheel:before, .erihshow h1 span.erih-star:before{ position: absolute; top: -0.25em;}

.erihshow_history{ margin-bottom: 2em;}
.erihshow_history h3{font-family: 'Franklin Gothic', sans-serif; font-weight: 600}

#ErihDetailMap{ width: 100%; height: 460px; background-color: #f6f6f6;}
.erihshow_mapnavigation{ color: var(--primary-color); margin: 0.8rem 0; overflow: hidden;}
.erihshow_mapnavigation a{ line-height: 2rem;}
.erihshow_mapnavigation a:hover {color: #af5800}
    
.erihshow_mapnavigation .icon{ display: block; width: 30px; height: 30px; border-radius: 3px; background: var(--primary-color); color: #fff; text-align: center; float: left; margin-right: 0.5em; transition: background-color 0.25s ease-out, color 0.25s ease-out;}
.erihshow_mapnavigation a:hover .icon{background: #af5800}
.erihshow_mapnavigation .maximize .icon{line-height: 1.9em;}
.erihshow_mapnavigation .navigate .icon{line-height: 2em; text-indent: -0.125em;}
.erihshow_mapnavigation .maximize, .erihshow_mapnavigation .navigate{overflow: hidden; float: left; margin-right: 1rem;}

#minimizeShowMap{ position: fixed; top:1rem; right: 1rem; z-index: 9999; display: none; background: var(--primary-color); color: #fff; padding: 0.5rem 0.8rem; border-radius: 5px; box-shadow: 3px 3px 5px rgba(0,0,0,0.3)}
#navigationPanel{ margin-top: 0.5rem; display: none;}

.erihshow_infos{margin-bottom: 2em;}

.erihshow_info{ background-color: var(--primary-color); padding: 0.9375em; color: #fff; font-family: 'Franklin Gothic Condensed', sans-serif; font-size: 1.125em; font-weight: 400; margin-bottom: 0.5em;}
.erihshow_info p{ margin-bottom: 0; font-size: 1.125em; line-height: 1.4em;}
.erihshow_info a{ color: #fff; text-decoration: underline;}

.erihshow_info.singlebox{ padding: 0;}
.erihshow_info.singlebox a{ color: #fff; text-decoration: none;}
.erihshow_info.singlebox span{ display: inline-block; padding: 0.5rem; line-height: 1.125rem;}
.erihshow_info.singlebox span.icon{padding: 0.5rem 0; width: 2.25rem; text-align: center; border-right: 1px solid #fff;}
.erihshow_info.singlebox span.icon:before{ vertical-align: middle;}
.erihshow_info.singlebox span.icon.information{font-size: 1.625rem !important; font-weight: 600; line-height: 1.25rem; vertical-align: middle;}

.singlebox.erih-map{position: relative; height: 60px;}
.singlebox.erih-map:before{ position: absolute; right: 0.5rem; bottom: 0.5rem; vertical-align: middle; font-size: 3rem; line-height: 1em; z-index: 0;}
.singlebox.erih-map span.iconcolor: #f0d1b3;{ height: 60px; vertical-align: top !important; font-size: 2rem !important; line-height: 2.75rem !important;}
.singlebox.erih-map .content{ position: relative; height: 60px; font-size: 1.5rem; font-weight: 500; z-index: 1; text-shadow: 1px 1px 1px var(--primary-color);}
.singlebox.erih-map .content i.myRoute{ font-style: normal; color: #f0d1b3; text-transform: uppercase; line-height: 1em;}

#addMyRoute{ height: 100%; display: block;}
#addMyRoute span.information{ height: 100%; vertical-align: bottom; line-height: 1.8em}
.callCookiemanagement{padding-left: .5em; padding-top: .5em; line-height: 1.125em !important;}

.singlebox.erih-map.active{background-color:#8e908f}
.singlebox.erih-map.active .content{ text-shadow: none; }
.singlebox.erih-map.active .content i.myRoute{ color: #fff;}
#addMyRoute.active:hover{ color:#ddd !important; }

.singlebox .content i{ font-style: normal;}

.erihshow_info-wrapper{
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
}
.erihshow_info-wrapper .singlebox{ margin-right: .25em; width: 18%;}
.erihshow_info-wrapper .singlebox:last-child{margin-right: 0}

.erihshow_info-wrapper .singlebox span.icon{ width: 100%; border: none; padding: .75rem 0 }
.erihshow_info-wrapper .singlebox span.icon:before { font-size: 1.25em;}
.erihshow_info-wrapper .singlebox span.icon.information { font-size: 1.6em !important;}

.erihshow_info a:hover{ color: #f0d1b3}

.showPagination{ margin-top: 2rem;}
.showPagination a{ position: relative;}

.showPagination a.rightArrow:after, .showPagination a.leftArrow:after{
	position: absolute;
	top: 40%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	content:'';
	display:block;
	width: 0;
	height: 0;
	border-style: solid;
	-webkit-transform:rotate(360deg);
}
.showPagination a.rightArrow:after{
	right:0.5rem;
	border-width: 5px 0 5px 15px;
	border-color: transparent transparent transparent #fff;
}
.showPagination a.leftArrow:after{
	left:0.5rem;
	border-width:  5px 15px 5px 0;
	border-color: transparent #fff transparent transparent;
}

@media screen and (max-width:320px) {
	#ErihListMap{height: 360px;}
}

@media screen and (max-width:640px) {
	.noAnchorpoint{ margin-top: 35px;}
	#ErihListMap{height: 360px;}
	.erihshow_headerimage{ height: 360px}
}

/* !Slider ------------------------------- */

.detailSlider{ margin: 3em 0;}

.detailSlider .owl-controls {
    margin-top: 1em;
    text-align: center;
    -webkit-tap-highlight-color: transparent
}

.detailSlider .owl-dots .owl-dot {
    display: inline-block;
    zoom: 1;
    * display: inline
}

.detailSlider .owl-dots .owl-dot span {
    width: 15px;
    height: 15px;
    margin: 5px;
    background: #d6d6d6;
    display: block;
    -webkit-backface-visibility: visible;
    -webkit-transition: opacity 200ms ease;
    -moz-transition: opacity 200ms ease;
    -ms-transition: opacity 200ms ease;
    -o-transition: opacity 200ms ease;
    transition: opacity 200ms ease;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px
}

.detailSlider .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {background: var(--primary-color);}

/* !shariff --------------------------------------------- */
.shariff .orientation-horizontal {
    display: block;
    flex-wrap:nowrap:
}

.shariff .orientation-horizontal li {
    float: left;
    -webkit-flex: 0;
    -ms-flex: 0;
    flex: 0;
    margin-right: 2%;
    
    min-width: 50px;
    max-width: 600px;
    
    width: 48%;
}

.shariff .orientation-horizontal li:nth-child(2n) {
    margin-right: 0;
    float: right;
}

/* !InfoModal ------------------------------------------- */

.reginalrouteInfo, .themerouteInfo{margin-bottom:1rem; margin-top:1rem;}
.reginalrouteInfo h3, .themerouteInfo h3{ text-transform: uppercase;}
.reginalrouteInfo h3 span, .themerouteInfo h3 span{ color: var(--primary-color);}
.reginalrouteInfo .revealImage, .themerouteInfo .revealImage{ margin-bottom:1rem;}

.themeRouteIcons{ overflow: hidden;}
.themeRouteIcons a{ display:block; width: 38px; float: left;}

.reginalrouteHeadline, .themerouteHeadline{
	font-style: normal;
	color: var(--primary-color);
	margin-bottom: .5rem;
	border-bottom: 1px solid #ddd;
}
.themerouteHeadline{ overflow: hidden;}
.themerouteHeadline span{width:calc(100% - 45px);}
.themerouteHeadline img{}

.revealImage{ margin-bottom: 0.5rem;}

.scrollTopModal{
	float: right;
	text-align: center;
	background-color: rgba(51, 51, 51, .8);
	color: #fff;
	width: 40px;
	height: 40px;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
.scrollTopModal:before{
	font-size: 1.875rem;
	line-height: 1.25em;
}

#discoverDestination{
	margin-top: .5em;
}
#discoverDestination p{
	margin-bottom: 0;
}

#discoverDestination .toggler{
	cursor: pointer;
}

#discoverDestination .toggler:after{
	content: '+';
	display: inline-block;
	color: #ccc;
	padding: 0 .25em;
	border: 1px solid #ccc;
	line-height: 1em;
	margin-left: 1em;
	width: 20px;
	text-align: center;
	transition: color .25s ease;
}

#discoverDestination .toggler:hover:after{
	color: var(--primary-color);
}

#discoverDestination .toggler.open:after{
	content: '–';
}

.discoverDestinationText{
	padding-top: .5em;
	margin-top: .5em;
	border-top: 1px solid var(--primary-color);
}

/* Tabs --------------------------------------------- */
.erihtabs .tabs-panel .menu a{
	padding: 0 0 0 1em;
	line-height: 1.4em;
}


/* cards-listing ----------------------------------- */
/* Toggle Text not used ---
.toggleText{
	position: relative;
	padding-bottom: 1.5em;
	margin-top: .5em;
	max-height: 20em;
	transition:max-height .3s ease;
}
.toggleText.closed{
	max-height: 4em;
	overflow: hidden;
}
.toggleText.closed:after{
	content: '';
	display: block;
	height: 4em;
	width: 100%;
	position: absolute;
	z-index: 50;
	bottom: 0;
	background: linear-gradient( to bottom, rgba(255,255,255,0), rgba(255,255,255,.8) 50% , rgba(255,255,255,1) 70%);
}
.toggleText .toggler{
	position: absolute;
	z-index: 100;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	cursor: pointer;
	display: block;
	
	background: #fff;
	padding: 0 .25em;
	border: 1px solid #ccc;
	line-height: 1em;
	width: 20px;
	text-align: center;
	transition: color .25s ease;
	text-indent: -1000px;
}
.toggleText .toggler:after{
	text-indent: 0;
	content: '+';
	display: block;
	color: #ccc;
	line-height: 1em;
	position: absolute;
	top: 0;
}

.toggleText .toggler:hover:after{
	color: var(--primary-color);
}

.toggleText .toggler.open:after{
	content: '–';
}

-- */

body.contrast .card{
	border-color: var(--primary-color-contrast);
}

.card-imageWrapper{
	position: relative;
}
.card-imageWrapper .title{
	position: absolute;
	bottom: 0;
	background: rgba(0,0,0,.7);
	width: 100%;
}
.card-imageWrapper h5{
	font-size: 1.25em;
}
.card-imageWrapper .title a{
	color: #fff;
	transition: color .25s ease;
}
.card-imageWrapper .title a:hover{
	color: var(--primary-color);
}
.card-imageWrapper img{
	max-width: 100%;
	height: auto;
}

.card-section .place{
	color: var(--primary-color);
	font-family: "Franklin Gothic Condensed", sans-serif;
	display: flex;
	align-items: center;
}
.card-section .place span{
	display: flex;
	align-items: center;
	line-height: 1em;
}
.card-section .place .routes{
	margin-left: auto;
	display: flex;
	justify-content: flex-end;
}

.card-section .place .routes img{
	width: auto !important;
	max-width: 24px;
}

.erih-card__teaser-text{
	margin-top: 0;
}
.erih-card__teaser-text a{
	color: #000;
	transition: color .25s ease;
}
.erih-card__teaser-text a:hover{
	color: var(--primary-color);
}

.card-section.footer{
	display: flex;
	padding-top: .25em;
	padding-bottom: .25em;
	padding-left: .5em;
}
.card-section.footer .icon{
	font-size: 2em;
	color: #fff;
	line-height: 1em;
	display: flex;
	align-items: center;
}
.card-section.footer .more{
	margin-left: auto;
	display: flex;
	align-items: center;
}
.card-section.footer .more a{
	color: #fff;
	font-weight: bold;
	transition: color .25s ease;
}
.card-section.footer .more a:hover{
	color: #ffe6cc;
}
.card-section.footer.anchorpoint{
	background: var(--primary-color);
}
.card-section.footer.members{
	background: #8e908f;
}
.card-section.footer.sites{
	padding-left: 1em;
	background: #eee;
}
.card-section.footer.sites .more a{
	color: var(--primary-color);
}
.card-section.footer.sites .more a:hover{
	color: #994d00;
}

.card-section.footer.sites .icon{
	font-size: 1em;
	color: var(--primary-color);
}

#switchLayout{
	margin-top: .5em;
}
#switchLayout p{
	margin-bottom: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	line-height: 1.2em;
}
#switchLayout a{
	display: inline-block;
	width: 24px;
	height: 24px;
	border: 1px solid #ccc;
	margin-left: .5em;
	position: relative;
	text-align: left;
	line-height: 0;
}
#switchLayout a:hover, #switchLayout a.active{
	border-color: var(--primary-color);
}
#switchLayout a:hover span, #switchLayout a.active span{
	border-color: var(--primary-color);
}
a.cards-layout span{
	display: inline-block;
	margin-left: 2px;
	margin-top: 2px;
	width: 8px;
	height: 8px;
	border: 1px solid #ccc;
}
a.list-layout span{
	display: inline-block;
	margin-left: 2px;
	margin-top: 2px;
	width: 18px;
	height: 1px;
	border: 1px solid #ccc;
}
a.list-layout span:first-child{
	margin-top: 5px;
}

@media screen and (max-width:640px) {
	.card{
		margin-left: 1em;
		margin-right: 1em;
	}
	#reginalrouteInfoModal{
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		height: 100vh;
		min-height: 100vh;
		max-width: none;
		margin-left: 0;
		border: 0;
	}
}