/*
Tomáš Přibyl 2023
code source: 
HTTPS - Head of Tired Tomas Pribyl before Sleeping
inspired by
https://www.jakpsatweb.cz
https://www.w3schools.com
and so other

html */
body {
  background-image: url("IMG/bckg_01.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-attachment: fixed;
  background-size: 70% 100%;
}
.fog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  opacity: 0.97;
  z-index: -100;
}
.logo {
  position:relative;
  float:right;
  width:35%;
  height:auto;
  padding-left: 10px;
  display: none;
}
.logo img {
  width: 100%;
  height: auto;
}
.overlay {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  width: 95%;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-family: "Calibri",sans-serif;
  font-size: 20px;
  line-height: 1.2;
  padding: 0;
  text-align: center;
}
.logo:hover .overlay {
  opacity: 1;
}
.mark {
  z-index: 2;
  float: right;
  opacity: 1;
  width: 50px;
  height: 50px;
  color: #000;
  text-align: center;
  font-family: "Calibri",sans-serif;
  font-size: 30.0pt;
  font-weight: bold;
  border-radius: 50px;
  margin-right: 10px;
  background-color: #fff;
}
.mark a {
  color: #000;
  text-decoration: none;
}
.info {
  border: 3px solid #4b89ff !important;
}
.info:hover {
  background-color: #4b89ff;
  opacity: 0.6;
}
.media {
  border: 3px solid #fff4a3 !important;
}
.media:hover {
  background-color: #fff4a3;
  opacity: 0.6;
}
.contact {
  border: 3px solid #04aa6d !important;
}
.contact:hover {
  background-color: #04aa6d;
  opacity: 0.6;
}
.important {
  border: 3px solid #ffc0c7 !important;
}
.important:hover {
  background-color: #ffc0c7;
  opacity: 0.6;
}
.bazar {
  border: 3px solid #ffa500 !important;
}
.bazar:hover {
  background-color: #ffa500;
  opacity: 0.6;
}
.txtblock .media,
.txtblock .media:hover {
  background-color: #fff4a3;
  opacity: 0.6;
}
.txtblock .bazar,
.txtblock .bazar:hover {
  background-color: #ffa500;
  opacity: 0.6;
}
/* text */
.txtblock {
max-width: 60%;
display: block;
margin: auto;
}
.txtblock p {
margin-top: 0cm;
margin-right :0cm;
margin-bottom: 8.0pt;
margin-left: 0cm;
line-height: 107%;
font-size: 12.0pt;
font-family: "Calibri",sans-serif;
}
-->
 /* gallery */
.row {
  position: relative;
  max-width: 60%;
  margin: auto;
  padding-bottom: 1%;
  padding-top: 1%;
}   
.column {
  margin: auto;
  float: left;
  width: 49.6%;
  padding: 1px;
}
.columntext {
  margin: auto;
  float: left;
  width: 49%;
  padding: 1px;
  background: rgba(0, 0, 0, 0.5);
  margin:2px;
}
.column a {
  overflow: hidden;
  display: flex;
}
.columntext a {
  overflow: hidden;
  display: flex;
}
.column img {
  opacity: 0.8;
  cursor: pointer;
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.columntext img {
  opacity: 0.8;
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.column img:hover {
  opacity: 1;
}
.columntext img:hover {
  opacity: 1;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}
.container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  margin:auto;
}
#imgtext {
  position: absolute;
  top: 15px;
  left: 15px;
  color: white;
  font-family: "Calibri",sans-serif;
  font-size: 20px;
  background: rgba(0, 0, 0, 0.5);
  padding: 1%;
}
.imgtext {
  position: relative;
  color: white;
  font-family: "Calibri",sans-serif;
  font-size: 20px;
  background: rgba(0, 0, 0, 0.5);
  padding: 1%;
}
.closebtn {
  position: absolute;
  top: 15px;
  right: 15px;
  color: white;
  font: bold 50px/30px Calibri, sans-serif;
  cursor: pointer;
  background-color: red;
  height: 35px;
  width: 35px;
  border: 5px solid #fff;
  border-radius: 50%;
  padding-left: 10px;
}

#expandedImg {
max-height: 100vh;
width:auto;
}

@media screen and (max-width: 1024px) {
body {
  background-image: url("IMG/bckg.jpg");
  background-size: 100% 100%;
}
.txtblock, .row, .column, .columntext, .container {
  max-width: 100%;
  width: 100%;
}
.column img, .columntext img {
  opacity: 1;
}
#expandedImg {
height: 100%;
width: 100%;
}
.closebtn {
  font: bold 100px/0px Calibri, sans-serif;
  top: 0px;
  line-height: 80%;
  background-color: transparent;
  height: auto;
  width: auto;
  border: none;
  padding-left: none;
}
.mark {
  display: none;
}
.infline,
.impline {
  border-right: 0px solid transparent !important;
}
}
