.mapycz {
	width: 16px;
	height: 16px;
	background: url(mapy/img/mapycz.png) 0 0;
	margin-top: -2px;
    margin-left: -2px;
}
.googlem {
	width: 16px;
	height: 16px;
	background: url(mapy/img/g_maps.png) 0 0;
	margin-top: -2px;
    margin-left: -2px;
}
body {font-family: Arial, Helvetica, sans-serif;}

#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal-l {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9; /* Sit on top */
  padding-top: 10px; /* Location of the box */
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  width: 900px; /* Full width */
  height: 600px; /* Full height */
  max-width: 60%;
  overflow: no; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
}

/* The Modal (background) */
.modal-p {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9; /* Sit on top */
  padding-top: 30px; /* Location of the box */
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  width: 500px; /* Full width */
  height: 700px; /* Full height */
  max-height: 90%;
  overflow: no; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
}
/* The Modal (background) */
.modal-c {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9; /* Sit on top */
  padding-top: 10px; /* Location of the box */
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  width: 600px; /* Full width */
  height: 600px; /* Full height */
  max-height: 600px;
  overflow: no; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
}


/* Modal Content (image) */
.modal-content {
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 40px;
  margin-right: 30px; 
  display: block;
  width: 85%;
  /*max-width: 85%;*/
  height: 80%;
  /*max-height: 80%;*/
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  */height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/*************** 100% Image Width on Smaller Screens *********/
@media only screen and (max-width: 800px),screen and (max-height: 600px){
  
/* The Modal (background) */
  .modal-l {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9; /* Sit on top */
  padding-top: 10px; /* Location of the box */
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  width: 600px; /* Full width */
  height: 300px; /* Full height */
  max-width: 70%;
  overflow: no; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
  }  


/* The Modal (background) */
.modal-p {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9; /* Sit on top */
  padding-top: 30px; /* Location of the box */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 420px; /* Full width */
  height: 600px; /* Full height */
  max-height: 80%;
  overflow: no; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
}
/* The Modal (background) */
.modal-c {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9; /* Sit on top */
  padding-top: 10px; /* Location of the box */
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  width: 400px; /* Full width */
  height: 400px; /* Full height */
  max-height: 60%;
  overflow: no; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
}

/* Modal Content (image) */
  .modal-content {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-right: 10px; 
    /*display: block;*/
    width: 90%;
    height: 90%;
}

/* Caption of Modal Image */
#caption {
  margin-top: -10px;
  display: block;
  width: 80%;
  max-width: 300px;
  text-align: center;
  color: #ccc;
  padding: 0px 0;
  */height: 150px;
}
}