/* Styles Géo Photo Rando v2.8 */
@import url("core/vendor/geolocation/leaflet/leaflet.css");
@import url("core/vendor/geolocation/leaflet/MarkerCluster.css");
@import url("core/vendor/geolocation/leaflet/MarkerCluster.Default.css");
@import url("core/vendor/geolocation/leaflet/leaflet-elevation.css");
@import url("core/vendor/geolocation/leaflet/Control.FullScreen.css");

.geophotoGalleryPicture {
	display: block;
	height: 150px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	background-color: rgba(0,0,0,0.1);
	position: relative;
	transition: background-color .3s ease;
}
.geophotoGalleryPicture:hover {
	background-color: rgba(255,255,255,.25);
}
.geophotoGalleryName {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 10px;
	background: rgba(0, 0, 0, .5);
	color: #FFF;
	text-align: center;
}
#galerie > .row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}
.button.reinit {
	display: inline-block;
	padding: 5px 0;
	width: 100%;
}
/* affichage gpx */
.leaflet-popup-content-wrapper {
	padding: 0 !important;
	}
.leaflet-popup-content {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 0 !important;
	font-size: 0 !important;
	}
.leaflet-popup-content p {
	margin: 0 !important;
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: #555 !important;
	color: white !important;
	}
a.popimg {
	text-decoration: none;
}
#mapdiv, #elevation-div {
    width: 100%;
    margin: 0 auto 20px;
}
#mapdiv {
    height: 75vmin;
    background-color: black;
}
#mapdiv input[type="text"] {
    color: black;
}
#elevation-div {
    height: 200px;
}
.elevation-summary span {
	line-height: 2;
}
.summaryvalue {
	margin-right: 10px;
}
.legend-altitude, span.download a {
	display: none;
}
.elevation-waypoint-icon::before {
	background: url(core/vendor/geolocation/leaflet/images/pin-marker-icon.png) no-repeat center center / contain;
}
.background {
	box-sizing: content-box;
	padding: 5px 0;
	border-radius: 0;
}
#missing_pic {
	text-align: center;
	padding: 20vh 0 0;
}
#missing_pic > h1 {
	color: red;
}
#missing_pic > p, #missing_pic > span {
	color: white;
}
#missing_pic > p {
	font-size: 1.2em;
}
#geophoto {
	position: relative;
	margin: 0;
	padding: 0;
}
#geophoto::before, #geophoto::after {
	content: " ";
	box-sizing: content-box;
}
/* selecteur de thèmes */
.divSelecTheme {
	padding-top: 0;
	padding-bottom: 0;
}
#themeselect label, #themeselect select, #themeselect input[type="submit"] {
	display: inline-block;
	font-size: 0.8rem;
}
#themeselect select {
	width: 155px;
	background-color: rgba(0,0,0,0.5);
	color: white;
}
/* contre common */
section input[type="checkbox"] {
	-webkit-appearance: auto;
	-moz-appearance: auto;
	appearance: auto;
	opacity: 1;
	height: 15px;
	width: 15px;
}
section.leaflet-control-layers-list {
	min-height: 10%;
	padding: 5px;
	background-color: rgba(0,0,0,0.7);
	color: white;
	border-radius: 3px;
}
section input.button {
	width: 13vmin;
	padding: 4px;
}
/* mediaqueries */
@media (max-width: 1023px) {
#galerie > .row {
	padding: 0 10px;
}
.gallery {
	flex: 0 0 33.3333%;
}
#mapdiv {
    height: 50vh;
}
#elevation-div {
    height: 140px;
}
#mapdiv, #elevation-div {
	width: 100%;
}
.leaflet-control-attribution {
	display: none;
}
}
@media (max-width: 1023px) and (orientation: landscape) {
#mapdiv {
    height: 80vh;
}
}
@media (max-width: 599px) {
.gallery {
	flex: 0 0 50%;
}
#elevation-div {
	display: none;
}
}
