/*motive*/


@media (min-width: 767px) {
  #motive {
    height: unset;
  }
}

@media (min-width: 991px) {
  #motive {
    height: unset;
  }
}

@media (min-width: 1199px) {
  #motive {
    height: unset;
  }
}

#motive {
  height: 300px;
  border-bottom: 0;
}


/*------------------ tabulka table-bordered --------------*/
.table-bordered tr > td:first-child > p, .table-bordered tr > td:first-child {
  text-align: left;
}
.table-bordered td > p, .table-bordered td {
  text-align: center;
}
.table-bordered tbody > tr:first-child {
  background: rgba(229, 229, 229, 0.53);
}
table td {
  padding: 10px 37px 10px 0;
  vertical-align: top;
}
table.table-bordered td {
  vertical-align: middle;
}
td img {
  margin-top: 10px;
  margin-bottom: 20px;
}
td > p {
  text-align: justify;
}
p, .table-bordered td {
  font-size: 16px;
}
.table-bordered td > p {
  font-size: 16px;
}
.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
  border: 1px solid #8b8b8b;
}
.table-bordered td {
  padding: 4px 10px;
}
td > p {
  margin-bottom: 0;
}
table tr > td:nth-child(2) {
  width: 49%;
}
table.table-bordered tr > td:nth-child(2) {
  width: auto;
}
table.table-bordered img {
  min-width: 120px !important;
}
table.table-bordered:last-of-type tr > td:nth-child(2) > p {
  text-align: left;
}
/*
table.table-bordered:last-of-type tr > td:nth-child(3) {
  min-width: 150px;
}*/
table.table-bordered:last-of-type tr > td:nth-child(1) {
  max-width: 250px;
}
td.text-left p {
  text-align: left;
}
.table-bordered td li {
  font-size: 1em;
}
.table-bordered.text-left li {
  text-align:left;
}
main a:hover {
  color: #2341fe;
}
main button.btn:hover {
  color: #2341fe;
}

/* -------------------- fixy ---------------------- */

.cookies-settings-btn {
  padding: 8px !important;
}

.cookies-settings-btn,
.cookies-settings-btn__open-label {
  font-size: 14px;
}

.cookies-settings-btn__dismiss-icon,
.modal-cookies .button-close,
.button-more-icon {
  width: 20px !important;
  height: 20px !important;
  background-repeat: no-repeat;
}

.cookies-settings-btn__open {
  display: flex;
}

#cookiesModalLabel {
  font-size: 20px !important;
}

.modal-cookies p,
.button-more-title,
.custom-control-label {
  font-size: 16px !important;
}

.section-bg-light {
  z-index: 0 !important;
}


/* -------------------- galerie ---------------------- */
/*
#photogalleries .link-thumbnail {
width: 110px;
height: 110px;
margin: auto;
}

#photogalleries .link-thumbnail img {
width: 100%;
height: 100%;
object-fit: contain;
}

.photos .item-photo {
margin-bottom: 1rem;
}

.photos .item-photo .thumbnail {
width: 150px;
height: 150px;
margin: auto;
}

.photos .item-photo .img-thumbnail {
width: 100%;
height: 100%;
object-fit: contain;
}
*/
/*oblibene odkazy*/
#panel-favourites .panel-title {
  font-size:0px
}

#panel-favourites .panel-heading:after {
  content:"Další odkazy";
  font-size:1.6em;
  text-align:center;
  display:block;
}

/*fotogalerie*/
#galleriesphoto,
.photos,
#tab-images .row {
  columns: unset;
  column-gap: unset;
  display: unset;
  width: unset;
  align-self: center;
  margin: 0 -15px;
}

#galleriesphoto div, .photos div, #tab-images div {
  display: unset;
  width: inherit;
  padding: 0px 15px 15px 15px;
  margin: 0;
  float: left;
}

@media (min-width: 768px) {
  #galleriesphoto div, .photos div, #tab-images div {
    width: 50%;
  }
}

@media (min-width: 992px) {
  #galleriesphoto div, .photos div, #tab-images div {
    width: 25%;
  }
}

@media (min-width: 1200px) {
  #galleriesphoto div, .photos div, #tab-images div {
    width: 16.666666%;
  }
}

#galleriesphoto img, .photos img, #tab-images img {
  width: 100%;
  height:auto;
  max-height:auto;
  margin:0;
  padding: 0;
  background-color: transparent;
  border:transparent;
}

#galleriesphoto .item-photo .thumbnail, 
.photos .item-photo .thumbnail, 
#tab-images div .thumbnail {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border: 1px solid #dfdfdf;
  overflow:hidden;
}