/*------------------------------------------------------------------
* Version: 0.1
* Author: Simon Rüfenacht
* Website: https://www.sumis.ch
-------------------------------------------------------------------*/

/*------------------------------------------------------------------
# [Import]
------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Overpass:ital,wght@0,100..900;1,100..900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.min.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.4/leaflet.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/leaflet.fullscreen/3.0.2/Control.FullScreen.min.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/fancyapps-ui/5.0.36/fancybox/fancybox.min.css");

/*------------------------------------------------------------------
# [Root / Reset]
------------------------------------------------------------------*/
:root{
	--bs-body-font-family: "Overpass",sans-serif;
	--bs-font-sans-serif: "Overpass";
	--bs-body-color: #0b0b0b;
	--bs-body-bg: #F7F7F7;
	--bs-border-radius: 0.375rem;
	--bs-border-radius-lg: 0.5rem;
	--bs-border-radius-xl: 0.75rem;
	--bs-primary-bg-subtle: rgba(var(--ph-primary-color),0.1);
	--ph-light-grey: #f7f6f3;	
	--ph-primary-color: 191, 174, 137;
	--ph-text-muted: #6c757d;
	--ph-hiking: 20, 133, 133;
	--ph-mountaineering: 102, 51, 153;
	--ph-snowshoe: 0,92,153;
	--ph-skitour: 255,87,154;
	--ph-header-height: 108px;
	
}

/*------------------------------------------------------------------
# Body
------------------------------------------------------------------*/
html { 
	font-size:16px;
}
body {
	font-size:1rem;
    width: 100%;
    height: 100%;
	text-size-adjust:100%;
}
a,
a:hover,
a:focus {
    text-decoration: none;
	color: inherit;
}
a:hover{
	color:#000;
}
.text-primary{
	color: rgb(var(--ph-primary-color)) !important;
}
.text-sm{
	font-size:0.875rem;
}
.text-xs{
	font-size:0.8125rem;
}
.text-muted-subtle{
	color: var(--ph-text-muted)
}
.link-hover-black:hover{
	color: var(--bs-body-color) !important;
}
.animate-right .bi-arrow-right::before{
  position: relative;
  transition: transform 0.3s ease;
  transform: translateX(0px);
}

.animate-right:hover .bi-arrow-right::before{
 transform: translateX(5px);
}
.mb-2rem{
	margin-bottom:2rem;
}
.text-hiking{
	color: rgba(var(--ph-hiking));
}
.text-mountaineering{
	color: rgba(var(--ph-mountaineering));
}
.text-snowshoe{
	color: rgba(var(--ph-snowshoe));
}
.text-skitour{
	color: rgba(var(--ph-skitour));
}
.flex-even {
	flex: 1;
}
.rounded{
	border-radius: var(--bs-border-radius-lg) !important;
}
a > picture{
	cursor: zoom-in;
}

/*------------------------------------------------------------------
# Layout
------------------------------------------------------------------*/

/* Global
------------------------------------------------------------------*/
.container-xxl{
	--bs-gutter-x: 2rem;
}

/* Header
------------------------------------------------------------------*/
header{
	background-color:#fff;
	z-index:1005;
	position:fixed;
	width:100%;

}
header .logo img{
	height:60px;
}
header .search-top{
	width:100%;
	max-width:350px;
}
header .header-inside{
	padding-top:1.5rem;
	padding-bottom:1.5rem;
}

/* Wrapper
------------------------------------------------------------------*/
#wrapper{
	overflow:hidden;
	padding-top: var(--ph-header-height);
	
}

/* Header-Image
------------------------------------------------------------------*/
.header-image{
	position:relative;
	width:100%;
	height:calc(80vh - var(--ph-header-height));
}
.header-image-sm{
	position:relative;
	width:100%;
	height: 350px;
}
.header-image img{
	object-fit:cover;
	width:100%;
	height:100%;
}
.header-image-content{
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;
	z-index:666;
}
.header-image-text .focus-title{
	color: #fff;
	font-weight:600;
	font-size:3rem;
	
}
.header-image-text .focus-title a:hover{
	color: #eee;
}
.header-image-text .focus{
	color: #eee;
	font-weight:500;
	font-size:1.375rem;
	
}
.header-image-gradient {
    height: 300px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: -webkit-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.75) 100%);
    background-image: -o-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.75) 100%);
    background-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.75) 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000',endColorstr='#4D000000',GradientType=0);
}

/* Sections
------------------------------------------------------------------*/
section.content{
	padding:3rem 0;
}
section.intro{
	padding: 5rem 0;
}
section.intro .ce-text{
	font-size:1.25rem;
}

/* Überschriften
------------------------------------------------------------------*/
h1{
	margin-bottom:2rem;
}

#mobile-sidebar{
    border-color: rgba(0,0,0,.12);
    background-color: #fff;
    z-index: 1003;
    width: 100%;
    display: flex;
	height:60vh;
	padding-top: var(--ph-header-height);
}
#mobile-sidebar{
	-webkit-box-shadow: 0 8px 10px -5px rgba(0,0,0,.2), 0 16px 24px 2px rgba(0,0,0,.14), 0 6px 30px 5px rgba(0,0,0,.12);
    box-shadow: 0 8px 10px -5px rgba(0,0,0,.2), 0 16px 24px 2px rgba(0,0,0,.14), 0 6px 30px 5px rgba(0,0,0,.12);
    left: 0;
	top:0;
    right: auto;
    position: fixed;
	display:none;
}
#mobile-sidebar.sidebar-open{
	display: flex;
}
#mobile-sidebar .sidebar-close{
	cursor: pointer;
}
#mobile-sidebar .inside{
	padding:1rem;
	width:100%;
}



/*------------------------------------------------------------------
# Navigation
------------------------------------------------------------------*/

/* Top-Navigation
------------------------------------------------------------------*/
nav.nav-top ul {
    list-style: none;
    position: relative;
	margin:0;
	padding:0;
	display:flex;
}
nav.nav-top ul li{
	margin-right:0.5rem;
}
nav.nav-top ul li a{
	color: var(--bs-gray-600);
	display:block;
	font-size:1.25rem;
	font-weight:800;
	padding:0 1rem;
}
nav.nav-top ul li a:hover,
nav.nav-top ul li.active{
	color: var(--bs-body-color);
}
nav.nav-top ul li.active a{
	color: var(--bs-body-color);
}

/* mobile-Navigation
------------------------------------------------------------------*/
.navi-mobile{
	--bs-list-group-bg: #fff;
	--bs-list-group-active-bg: rgb(var(--ph-primary-color));
    --bs-list-group-active-border-color: rgb(var(--ph-primary-color));
}
.navi-mobile .list-group-item{
	font-weight:700;
}

/* Trigger */
.nav-trigger{
	color: var(--bs-secondary);
	display:none;
	font-size:2rem;
}
.nav-trigger .close{
	display:none;
}

/*------------------------------------------------------------------
# Komponenten
------------------------------------------------------------------*/

/* Cards
------------------------------------------------------------------*/
.card {
	--bs-border-width:0;
	--bs-card-border-radius: var(--bs-border-radius-xl);
	--bs-card-inner-border-radius: var(--bs-border-radius-xl);
	--bs-card-bg: var(--bs-white);
}

/* Dropdown
------------------------------------------------------------------*/
.dropdown-filter .dropdown-menu,
.typeahead.dropdown-menu{
	--bs-dropdown-border-width: 1px;
	--bs-dropdown-border-radius:var(--bs-border-radius-xl);
    --bs-dropdown-bg: #fff;
	--bs-dropdown-border-color: var(--bs-border-color);
    --bs-dropdown-item-padding-y: 0.5rem;
	--bs-dropdown-min-width: 300px;
    --bs-dropdown-link-active-bg: rgba(var(--ph-primary-color),0.25);
	--bs-dropdown-link-active-color: var(--bs-body-color);
}
.dropdown-filter a.dropdown-toggle{
	background-color:#fff;
	border:2px solid var(--bs-border-color);
	border-radius: var(--bs-border-radius-xl);
	padding:0.375rem 0.75rem;
	display:flex;
	align-items:center;
}
.dropdown-filter a.dropdown-toggle:hover,
.dropdown-filter a.dropdown-toggle.show{
	border:2px solid var(--bs-border-color);
	background-color:#fff;
	border-color: rgba(var(--ph-primary-color),0.5);
}
.dropdown-filter a.dropdown-toggle .bi{
	padding-top:1px;
}
.dropdown-filter .dropdown-toggle::after {
	margin-left:0.5rem;
	color: rgb(var(--ph-primary-color));
}

/* Forms
------------------------------------------------------------------*/
.form-control{
	border-radius: var(--bs-border-radius-xl);
	border-width:2px;
	background-color:#fff;
}
.form-control::placeholder {
	margin-top:2px;
	font-weight: bold;
	color: var(--bs-secondary);
}
.form-control:focus,
.btn-close:focus{
    box-shadow: none;
	outline: none;
    background-color: #fff;
	border-color: rgba(var(--ph-primary-color),0.5);
}
.form-range-custom .form-control{
	width:90px;
}
.form-range-custom .form-control:hover{
	border-color: rgba(var(--ph-primary-color),0.5);
}
.input-group-text{
	border-width:2px;
}
.form-range-custom .btn-light,
.filter-wrapper .btn-light{
    --bs-btn-bg: #fff;
    --bs-btn-hover-bg: #fff;
    --bs-btn-active-bg: #fff;
    --bs-btn-border-width:2px;
	--bs-btn-border-color: var(--bs-border-color);
    --bs-btn-hover-border-color: rgba(var(--ph-primary-color),0.5);
    --bs-btn-active-border-color: rgba(var(--ph-primary-color),0.5);
    --bs-btn-border-radius: var(--bs-border-radius-xl);
}
.btn{
    --bs-btn-border-radius: var(--bs-border-radius-xl);
}

/*------------------------------------------------------------------
# Custom
------------------------------------------------------------------*/
.box-shadow{
	box-shadow: 0px 0px 10px #0000001A;
}
.box-shadow-xs {
    box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px;
}
.box-shadow-xs.hover:hover {
    box-shadow: rgba(0, 0, 0, 0.12) 0px 4px 8px 0px;
}
.icon-flex, .icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}
.icon-wrapper {
    border-radius: 50%;
	background-color: rgba(var(--ph-primary-color),0.22);
    overflow: hidden;
    width: 50px;
    height: 50px;
}
.icon-wrapper.icon-light{
	background-color: rgba(255,255,255,0.90);
    width: 40px;
    height: 40px;
}
.sep {
    display: inline-block;
    margin: 0 0.25rem;
    color: rgb(var(--ph-primary-color));
}

/*------------------------------------------------------------------
# peakhunters
------------------------------------------------------------------*/

/* Statistiken
------------------------------------------------------------------*/
.ph-stats-card{
	background-color: rgba(var(--ph-primary-color),0.15);
	padding:1.375rem;
	border-radius: var(--bs-border-radius-xl);
}
.ph-stats-card:hover{
	background-color: rgba(var(--ph-primary-color),0.20);
}
.ph-stats-card .ph-stats-value{
	font-weight:600;
	font-size:3rem;
	line-height:3rem;
}
.ph-stats-card .ph-stats-label{
	margin-bottom:0.5rem;
	text-transform: uppercase;
	color: var(--ph-text-muted);
}
.ph-stats-card .ph-stats-link{
	border-top:1px solid rgba(var(--ph-primary-color),0.40);
}
.ph-starred{
	position:absolute;
	top:10px;
	left:15px;
	font-size:1.5rem;
}

/* Gipfelbuch
------------------------------------------------------------------*/
.ph-portrait{
	font-size:1.125rem;
}
.ph-portrait p{
	margin-bottom:0;
}
.ph-peak-entry{
	padding:0.5rem 0.75rem;
}
.ph-peak-entry .label{
	font-size:90%;
	color: var(--ph-text-muted);
}
.ph-peak-entry .value{
	font-weight:600;
	font-size:1.125rem;
}

/* Touren
------------------------------------------------------------------*/
.ph-tour-entry{
	padding:0.75rem 1rem;
}
.ph-tour-items{
	font-size:0.8125rem;
	
}
.ph-tour-item{
	display:flex;
	align-items:center;
	border-right:1px solid var(--bs-border-color);
	padding-right:0.5rem;
}
.ph-tour-item:last-of-type{
	border:0;
}
.ph-tour-item .bi{
	font-weight:normal;
	color: var(--bs-secondary);
}

.ph-tour-item > span{
	font-weight:bold;
}
.ph-tour-card-icon{
	position:absolute;
	top:15px;
	left:15px;
	font-size:1.5rem;
}
.svg-icon{
	width:22px;
}
.svg-icon-sm{
	width:18px;
}
.ph-grid{
	display: grid;
	grid-template-columns: 4fr 1fr 4fr 1fr 4fr;
	grid-column-gap: 4px;
	grid-row-gap: 1rem;
}
.ph-tour-waypoint{
	min-height:65px;
}
.ph-tour-waypoint,
.ph-tour-waypoint-icon{
    padding: 0.5rem 0.75rem;
	display:flex;
	align-items:center;
}
.ph-tour-waypoint-icon{
	justify-content:center;
}
.ph-tour-waypoint-icon:nth-of-type(3n + 1){
	display:none;
}


/* Karten
------------------------------------------------------------------*/
.ph-map{
	width:100%;
	height:350px;
}
.ph-map-sm{
	height:300px;
}
.ph-map-xl{
	height:500px;
}
.ph-map-overview{
	height:700px;
	border:2px solid var(--bs-border-color);
}

/*------------------------------------------------------------------
# Module
------------------------------------------------------------------*/
.leaflet-container {
	font-family: "Overpass",sans-serif;
}
.leaflet-container .popup-link{
	color: var(--bs-body-color);
}
.leaflet-container .popup-link strong:hover{
	text-decoration: underline;
}
.leaflet-container .popup-link span{
	color: var(--bs-secondary);	
}
#nearby{
	background-color: var(--bs-body-bg);
}
/*------------------------------------------------------------------
# Media Queries
------------------------------------------------------------------*/

@media (min-width: 1600px) {
    .container-xxl {
        max-width: 1440px;
    }

}
@media (max-width: 992px){
	section.intro {
		padding: 4rem 0;
	}
	nav.nav-top{
		display:none;
	}
	.nav-trigger{
		display:block;
	}
	header .logo img{
		width:75px;
	}
	header .header-inside{
		padding-top:1rem;
		padding-bottom:1rem;
	}
	.header-image {
		height: calc(60vh - var(--ph-header-height));
	}
	#mobile-sidebar .search-box{
		display:none;
	}
	:root{
		--ph-header-height: 92px !important;
	}
}
@media (max-width: 776px){
	section.intro {
		padding: 3rem 0;
	}
	section.content{
		padding: 2rem 0;
	}
	header .search-top{
		display:none;
	}
	.header-image {
		height: calc(50vh - var(--ph-header-height));
	}
	.header-image-text .focus-title {
		font-size: 2rem;
	}
	.header-image-text .focus {
		font-size: 1.125rem;
	}
	#mobile-sidebar .search-box{
		display:block;
	}
	.ph-portrait-wrapper{
		flex-direction: column !important;
		align-items:start !important;
	}
	.ph-portrait-wrapper h5{
		margin-bottom:0.25rem !important;
	}
	.ph-grid{
		display: grid;
		grid-template-columns: 4fr 4fr;
		grid-column-gap: 1rem;
	}
	.ph-tour-waypoint-icon{
		display:none;
	}
}
@media (max-width: 576px){
	.ph-grid{
		display: grid;
		grid-template-columns: 4fr;
		grid-row-gap: 0.5rem;
	}
}