body { font-family: Arial;}
.maintable {
  border-collapse: collapse;
  border-spacing: 0;
  width: 1136px;
  border: 1px solid #ddd;
}

.maintable th, .maintable td {
  text-align: left;
  padding: 8px;
}

tr:nth-child(even){background-color: #eee7e1}

.imglaura {margin:0 20px 0 0;}

@media screen and (max-width: 560px) {
.imglaura {width: 145px; margin:0 10px 0 0;}

}

#kontakti { margin: 50px 0 20px 0; }









.header a {
  color: black;
  text-decoration: none;
}

.container .row {
  display: flex;
  flex-wrap: nowrap;
}

.container.two-map > .row {
  margin: 40px -15px;
}
.container.two-map > .row > div {
  flex-basis: calc(50% - 30px);
  margin: 0 15px;
}

.container.two-map img {
  height: 171px;
  object-fit: cover;
}

.gallery .row {
  flex-wrap: wrap;
}

.container.gallery > .row  {
  margin: 0 -10px;
}
/* .container.gallery > .row > div */
.column {
  flex-basis: calc(100% / 3 - 20px);
  padding: 0px 10px;
  max-height: 250px;
  height: 220px;
}

.column img {
  height: 100%;
  object-fit: contain;
  max-height: 220px;
}













/* LightBox styles */



/* .row:after {
  content: "";
  display: table;
  clear: both;
} */

/* Create four equal columns that floats next to eachother */
.modal-content .column {
  float: left;
  width: calc(100% / 9 - 20px);
  padding: 10px 10px;
  max-height: 120px;
}

.modal-content .row {
  height: 140px;
  display: none;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  /* padding-top: 100px; */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
  align-items: center;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: black;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
  
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(0, 0, 0, 0.8);
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Caption text */
.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

img.demo {
  opacity: 0.6;
  width: 100%;
}

.active, .demo:hover {
  opacity: 1;
}

/* img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
} */


video {
  width: 100%;
  height: auto;
  max-height: 100%;
}




















.tabs {
  font-size: 0;
  /* max-width: 350px; */
  margin-left: auto;
  margin-right: auto;
}

.tabs>input[type="radio"] {
  display: none;
}

.tabs>div {
  /* скрыть контент по умолчанию */
  display: none;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding: 30px 0;
  font-size: 16px;
}

/* отобразить контент, связанный с вабранной радиокнопкой (input type="radio") */
#tab-btn-1:checked~#content-1,
#tab-btn-2:checked~#content-2,
#tab-btn-3:checked~#content-3,
#tab-btn-4:checked~#content-4,
#tab-btn-5:checked~#content-5 {
  display: flex;
}

#tab-btn-1:checked~#tab-label-1,
#tab-btn-2:checked~#tab-label-2,
#tab-btn-3:checked~#tab-label-3,
#tab-btn-4:checked~#tab-label-4,
#tab-btn-5:checked~#tab-label-5 {
  font-weight: bold;
}

.tabs>label {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 3px 3px 0 0;
  margin-left: 5px;
  padding: 6px 18px;
  font-size: 16px;
  line-height: 1.5;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
  cursor: pointer;
  position: relative;
  top: 1px;
}

/* .tabs>label:not(:first-of-type) {
  border-left: none;
} */

.tabs>input[type="radio"]:checked+label {
  background-color: #fff;
  border-bottom: 1px solid #fff;
}

.tabs-content {
  display: flex;
}

.tabs-content .col:first-child {
  max-width: 30%;
}

.tabs-content .col:last-child {
  padding-left: 30px;
}

.tabs-content h3 {
  margin-top: 0;
}

.tabs-content img {
  width: 100%;

}












@media (max-width: 1024px) {

  .container.two-map > .row {
    flex-wrap: wrap;
  }
  .column {
    flex-basis: calc(100% / 2 - 20px);
  }

  .container.two-map > .row > div {
    flex-basis: calc(100% - 30px);
    margin: 0 15px;
  }

  .container.two-map img {
    height: auto;
    object-fit: cover;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {



  .container.two-map > .row > div {
    flex-basis: calc(100% - 30px);
    margin: 0 15px;
  }

  /* .container.two-map > .row > div:first-child {
    margin-bottom: 30px;
  } */

  .column {
    flex-basis: calc(100% / 1 - 20px);
  }

  .modal-content .column {
    width: calc(100% / 3 - 20px);
  }

  #tab-btn-1:checked~#content-1, #tab-btn-2:checked~#content-2, #tab-btn-3:checked~#content-3, #tab-btn-4:checked~#content-4, #tab-btn-5:checked~#content-5 {
    flex-direction: column;
  }

  .tabs-content .col:first-child {
    max-width: 100%;
  } 

  .tabs-content .col:last-child {
    padding-left: 0px;
    padding-top: 20px;
  }
}