﻿/* MP - wyswietlanie popupów */

/* popup */

.leaflet-popup {
  position: absolute;
  text-align: center;
}

.leaflet-popup-content-wrapper {
  padding: 0px;
  text-align: center;
  /*text-align: left;*/
  border-radius: 0px;
  /*zaokrąglanie brzegów*/
}

.leaflet-popup-content {
  margin: 2;
  /*margines między treścią a ramką*/
  padding: 0;
  line-height: 1.4;
}

.leaflet-popup-content p {
  margin: 0px 0;
}


.leaflet-popup-tip-container {
  margin: 0 auto;
  width: 40px;
  height: 20px;
  position: relative;
  overflow: hidden;
}

/*dziubek*/

.leaflet-popup-tip {
  width: 17px;
  height: 17px;
  padding: 1px;

  margin: -15px auto 0;

  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: white;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
  border: 2px solid #568D0D;
  /*ramka*/
}

.leaflet-container a.leaflet-popup-close-button {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 4px 0 0;
  text-align: center;
  width: 16px;
  height: 16px;
  font: 16px/16px Tahoma, Verdana, sans-serif;
  color: #c3c3c3;
  text-decoration: none;
  background: transparent;
}

.leaflet-container a.leaflet-popup-close-button:hover {
  color: #999;
}

.leaflet-popup-scrolled {
  overflow: auto;
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
}

.leaflet-oldie .leaflet-popup-content-wrapper {
  zoom: 1;
}

.leaflet-oldie .leaflet-popup-tip {
  width: 24px;
  margin: 0 auto;
  -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
  filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
}

.leaflet-oldie .leaflet-popup-tip-container {
  margin-top: -1px;
}


.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
  border: 1px solid #999;
}


/* div icon */

.leaflet-div-icon {
  background: #fff;
  border: 1px solid #666;
}




.newdiv1 {
  /*width: 80%;
    float:left;*/
  /*overflow: hidden; /*dopasowuje sie do wysokości treści*/
  /*overflow:scroll; /*przewijanie za dlugiej treści*/
  overflow: auto;
  vertical-align: middle;
  padding: 5px;

}

.newdiv2 {
  /*width: 20%;
    float:left;*/
  clear: both;
  overflow: hidden;
  line-height: 0;
  text-align: center;
  /*background-color:#95B767;*/
  /*border-bottom: 1px solid #568D0D;*/
  margin-top: 0px;
}

.newdiv3 {
  clear: both;
  overflow: hidden;
  line-height: 0;
  /*background-color:#568D0D;*/
  margin: 0;

}


.photolist img {

  /*float: right;*/
  /*width: 50px;*/
  margin: 5px;
  margin-top: -7px;
  display: inline-block;
  text-align: center;
  /*position: fixed;*/
  /*top: 5px;
    right: 5px;*/
  float: none;
  /*nie sasiaduje z innymi elementami*/
  opacity: 0.8;
  filter: alpha(opacity=40);
  width: auto;
}

.photolist:hover img {
  opacity: 1.0;
  filter: alpha(opacity=100);
  /*border:-1px solid #6A7279; */
}

.poiicon {
  float: right;
  line-height: 0;
  margin-right: 15px;
  margin-top: -3px;
}

.poiname {
  /*position:absolute;*/
  /*margin-top:0px;*/
  display: table-cell;
  width: auto;
  float: none;
  /*nie sasiaduje z innymi elementami*/
  /*table-layout:fixed;*/
  text-align: left;
  font-size: 22px;
  color: green;
  /*#4863A0;*/
  /*top: 0px;*/
  line-height: 1;
  /*border-bottom: thick double #b2b1b1;*/
}


.poidecsription {
  /*position:fixed;*/
  font-family: Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif;
  font-size: small;
  line-height: 1.4;
  margin-bottom: 1px;
  margin-left: 8px;
  margin-right: 8px;
  margin-top: 5px;
  text-align: justify;
  /*wyjustowany*/
  color: #8E8B8A;
  border-bottom: 1px solid #C9C4C2;
  padding-bottom: 5px;
  /*width:65%;*/
  /*float:left;*/
}

/*link email i www*/

.poilink:link {
  color: rgb(0, 120, 168);
}


/*link button*/

.poibutton:link {
  font-family: Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif;
  font-size: 1.5rem;
  text-align: center;
  color: #B5B0AE;
  /*color:#8E8B8A;
    background-color:#95B767;*/
  display: inline-block;
  /*w jednym rzedzie jako blok*/
  text-decoration: none;
  /*underline*/
  margin: .5rem;
  /*odstęp buttona od reszty*/
  margin-bottom: .7rem;
  padding: 1.2rem 1.4rem;
  /*odstep ramki od treści*/
  padding-top: 1rem;
  border-style: solid;
  border-width: .1rem;
  border-color: #B5B0AE;

  /*border-color:#8E8B8A;*/
  border-radius: 1px;
  /*zaokrąglanie brzegów*/
  float: none;
  /*nie sasiaduje z innymi elementami*/
}


.poibutton:hover {
  font-family: Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif;
  font-size: 1.5rem;
  text-decoration: none;
  color: #f5f5f5;
  background-color: #B5B0AE;
  /*background-color:#8E8B8A;
    background-color:#568D0D;*/
}


.poibutton:active {
  font-family: Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif;
  font-size: 1.5rem;
  /*font-weight:bold;*/
  color: #f5f5f5;
  background-color: #8E8B8A;
}



.back {
  display: none;
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 1001;
  -moz-opacity: 0.7;
  opacity: 0.70;
  filter: alpha(opacity=70);
}
