/* základní css pro rmapa - tabulátory atd */

.leaflet-popup-content h4 {
	font-weight: bold;
	font-size: 15px;
	text-align: center;
	margin: 5px;
	padding: 3px;
}

.leaflet-popup-content div {
	text-align: center;
}

.leaflet-popup-content {
	text-align: center;
}

.leaflet-popup-content img {
	max-width: 100%; 
	height: auto;
	margin-bottom: 6px;
}

.leaflet-popup-content h4+div {
	margin-top: 5px;
}

.leaflet-popup-content div:last-child {
	margin-top: 5px;
	margin-bottom: 5px;
	/* min-width: 250px; */
	margin-top: 10px;
	text-align: center;
}

.leaflet-popup-content div:last-child a {
	background-color: #555555;
	color: white;
	padding: 4px;
	padding-left: 7px;
	padding-right: 7px;
	font-weight: bold;
	font-size: 14px;
	text-decoration: none;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}


.mycard-body {
	font-size: 14px;
}

.mycard-mini {
	/* float: left; */
	padding: 0px;	
  padding-top: 5px;
  padding-bottom: 5px;
}

.mycard-mini img {
	padding: 0;
  max-width: 100%;
	margin: 5px 0px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.leaflet-popup-content-wrapper {
/*    min-height: 300px; */
}

/* cluster značky */

/* Obecný styl pro všechny clusterové značky */
.marker-cluster {
    background-color: #f39c12; /* Barva pozadí */
    background-color: white; /* Barva pozadí */
    color: black; /* Barva textu */
    border: 6px solid white; /* Barva okraje */
    border-radius: 50%; /* Kulatý tvar */
    font-size: 20px; /* Velikost textu */
    font-weight: bold; /* Tučný text */
    display: flex; /* Vycentrování textu */
    align-items: center; /* Vycentrování textu vertikálně */
    justify-content: center; /* Vycentrování textu horizontálně */
    opacity: 90%;
}

.marker-cluster div {
  width: auto;
  height: auto;
  margin-left: 0px;
  margin-top: 0px;
  text-align: center;
  border-radius: 0px;
  font: inherit;
}

/* Styl pro malé clustery */
.marker-cluster-small {
    background-color: #1abc9c; /* Světlejší zelená */
    border-color: #16a085; /* Tmavší zelená */
		background-color: white; /* Světlejší zelená */
		border-color: rgba(0, 0, 0, 0.5);
}

.marker-cluster-small div {
	background-color: transparent;
}


/* Styl pro střední clustery */
.marker-cluster-medium {
    background-color: #e67e22; /* Oranžová */
    border-color: #d35400; /* Tmavší oranžová */
    background-color: #fff98d;
		border-color: rgba(0, 0, 0, 0.5);
}

.marker-cluster-medium div {
	background-color: transparent;
}

/* Styl pro velké clustery */
.marker-cluster-large {
    background-color: #e74c3c; /* Červená */
    border-color: #c0392b; /* Tmavší červená */
    background-color: #ffc2c2;
		border-color: rgba(0, 0, 0, 0.5);
    
}

.marker-cluster-large div {
	background-color: transparent;
}

/* --- přepínač vrstev ---- */

.vrstvy {
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
	padding: 0px 0px 5px 0px;
}

.vrstvy-title {
	float: left;
	width: 50px;
	padding-top: 4px;
	padding-left: 4px;
	padding-left: 0px;
}

.vrstvy-switch {
	margin-left: 52px;
}

.vrstvy .sw {
/* 	float: left; */
	padding-right: 3px;
	padding-right: 0px;
	position: relative;
}

.vrstvy .sw label, .vrstvy .sw input {
    display: inline-block;
    vertical-align: middle;    
}

/* --- pokus - flex---- */
.vrstvy-switch {
	 display: -webkit-flex; /* Safari */
    -webkit-flex-wrap: wrap; /* Safari 6.1+ */
    display: flex;
    flex-wrap: wrap;
	
    
    flex-wrap: wrap;
   
  
    display: -webkit-flex; /* Safari */
    display: flex;
}
.sw {
	border: 1px solid #FFFFFF;
	background-color: #e8e8e8;
	 -webkit-flex-grow: 0; /* Safari 6.1+ */
    -webkit-flex-shrink: 0; /* Safari 6.1+ */
    -webkit-flex-basis: 40px; /* Safari 6.1+ */
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 99px;
	flex-basis: 99px;
	 box-sizing: border-box;
	float: left;
	width: 120px; 
	width: 99px;
	
}

/*
.sw:nth-of-type(7) {flex-basis: 120px;
}
.sw:nth-of-type(8) {flex-basis: 80px;
}
*/