.layout-content--library-homepage .main-content,
.layout-content--viewbookspage .main-content,
.book .main-content {
  float: none !important;
  width: 100% !important;
}

.layout-content--book aside.layout-aside.mb,
.layout-content--news aside.layout-aside.mb {
  display: none;
}

.layout-content--library-homepage .breadcrumbs {
  display: none !important;
}

.search-results__main {
  width: auto;
  float: none !important;
}

.main-content p img,
.main-content table img {
  width: auto;
}

.ui-datepicker-trigger {
  width: auto;
}

.articles .news-feed__footer .dash,
.articles .news-feed__footer a {
  display: none;
}

.i_btn {
  text-transform: uppercase;
  font-weight: 600;
  padding: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 4.6rem !important;
  line-height: 4.6rem !important;
}

#ebscohostsearchtext::-webkit-input-placeholder {
  opacity: 0;
  transition: opacity 0.3s;
}

#ebscohostsearchtext:-moz-placeholder {
  opacity: 0;
  transition: opacity 0.3s;
}

#ebscohostsearchtext::-moz-placeholder {
  opacity: 0;
  transition: opacity 0.3s;
}

#ebscohostsearchtext:-ms-input-placeholder {
  opacity: 0;
  transition: opacity 0.3s;
}

.visible-placeholder::-webkit-input-placeholder {
  opacity: 1 !important;
  transition: opacity 0.3s;
}

.visible-placeholder:-moz-placeholder {
  opacity: 1 !important;
  transition: opacity 0.3s;
}

.visible-placeholder::-moz-placeholder {
  opacity: 1 !important;
  transition: opacity 0.3s;
}

.visible-placeholder:-ms-input-placeholder {
  opacity: 1 !important;
  transition: opacity 0.3s;
}

.section-title-bold {
  font-weight: 600;
}

@media (min-width: 48em) {
  .thirds-row {
    display: flex;
  }
  .one-third,
  .two-thirds {
    width: calc(49.95% - 15px);
  }
  .one-third:nth-child(1n),
  .two-thirds:nth-child(1n) {
    float: left;
    margin-right: 30px;
    clear: none;
  }
  .one-third:last-child,
  .two-thirds:last-child {
    margin-right: 0;
  }
  .one-third:nth-child(2n),
  .two-thirds:nth-child(2n) {
    margin-right: 0;
    float: right;
  }
  .one-third:nth-child(2n+1),
  .two-thirds:nth-child(2n+1) {
    clear: both;
  }
}
@media (min-width: 64em) {
  .one-third {
    width: calc(33.3% - 20px);
  }
  .one-third:nth-child(1n) {
    float: left;
    margin-right: 30px;
    clear: none;
  }
  .one-third:last-child {
    margin-right: 0;
  }
  .one-third:nth-child(3n) {
    margin-right: 0;
    float: right;
  }
  .one-third:nth-child(3n+1) {
    clear: both;
  }
  .two-thirds {
    width: calc(66.6% - 10px);
  }
  .two-thirds:nth-child(1n) {
    float: left;
    margin-right: 30px;
    clear: none;
  }
  .two-thirds:last-child {
    margin-right: 0;
  }
  .two-thirds:nth-child(3n) {
    margin-right: 0;
    float: right;
  }
  .two-thirds:nth-child(3n+1) {
    clear: both;
  }
}
@media (max-width: 62.4375em) {
  .header__logo .header__logo-img {
    display: block;
    height: min(5.6rem, 15vw);
    width: auto;
  }
}
.lib-search {
  background-color: white;
  margin-left: auto;
  margin-right: auto;
  margin-top: 4rem;
  max-width: 83rem;
}
.lib-search__wrap {
  padding: 1rem;
}
.lib-search__input-wrap {
  flex-grow: 1;
}
.lib-search__input {
  min-height: 4.2rem !important;
  border: none !important;
}
.lib-search__input::-webkit-input-placeholder {
  color: #a8a8a8;
  font-size: 1.8rem;
}

.lib-search__input:-moz-placeholder {
  color: #a8a8a8;
  font-size: 1.8rem;
}

.lib-search__input::-moz-placeholder {
  color: #a8a8a8;
  font-size: 1.8rem;
}

.lib-search__input:-ms-input-placeholder {
  color: #a8a8a8;
  font-size: 1.8rem;
}

.lib-search__label {
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-top: 1rem;
  display: block;
}
.lib-search__logo-wrap {
  display: none;
}
.lib-search__logo {
  margin: 18px 23px;
  width: 50px;
}
.lib-search__submit {
  height: 5rem;
  background-color: transparent;
  border: none;
  text-indent: -9999px;
  background-image: url(../images/icons/search.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1.8rem;
  cursor: pointer;
}
@media (min-width: 48em) {
  .lib-search__wrap {
    display: flex;
    padding: 0;
  }
  .lib-search__logo-wrap {
    display: block;
    border-right: 0.1rem solid #dcdcdc;
    margin-right: 3rem;
  }
  .lib-search__submit {
    height: auto;
    width: 9rem;
  }
}

.lib-hours__wrap {
  display: flex;
  flex-flow: row wrap;
}
.lib-hours__bg {
  width: 100%;
  height: 22rem;
  background-size: cover;
  background-position: center;
}
.lib-hours__main {
  padding: 3rem 4rem;
}
.lib-hours__col {
  margin-bottom: 2rem;
}
.lib-hours__col p {
  margin: 0 !important;
}
.lib-hours__col address {
  background-image: url(../images/icons/pin.svg);
  background-size: 28px 38px;
  background-repeat: no-repeat;
  background-position: 0px 3px;
  padding-left: 5rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.lib-hours__col table {
  margin-top: 1rem;
}
.lib-hours__col table td {
  padding-right: 2rem;
}
@media (min-width: 48em) {
  .lib-hours__main {
    display: flex;
    width: 100%;
  }
  .lib-hours__col {
    margin-bottom: 0;
    width: calc(49.95% - 15px);
  }
  .lib-hours__col:nth-child(1n) {
    float: left;
    margin-right: 30px;
    clear: none;
  }
  .lib-hours__col:last-child {
    margin-right: 0;
  }
  .lib-hours__col:nth-child(2n) {
    margin-right: 0;
    float: right;
  }
  .lib-hours__col:nth-child(2n+1) {
    clear: both;
  }
}
@media (min-width: 64em) {
  .lib-hours__bg {
    height: auto;
    width: 33.3%;
  }
  .lib-hours__bg:nth-child(1n) {
    float: left;
    margin-right: 0;
    clear: none;
  }
  .lib-hours__bg:last-child {
    margin-right: 0;
  }
  .lib-hours__bg:nth-child(3n) {
    margin-right: 0;
    float: right;
  }
  .lib-hours__bg:nth-child(3n+1) {
    clear: both;
  }
  .lib-hours__bg {
    background-size: cover;
    background-position: center;
  }
  .lib-hours__main {
    width: 66.6%;
  }
  .lib-hours__main:nth-child(1n) {
    float: left;
    margin-right: 0;
    clear: none;
  }
  .lib-hours__main:last-child {
    margin-right: 0;
  }
  .lib-hours__main:nth-child(3n) {
    margin-right: 0;
    float: right;
  }
  .lib-hours__main:nth-child(3n+1) {
    clear: both;
  }
}

.lib-circle-links {
  height: 100%;
}
.lib-circle-links__heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
}
.lib-circle-links__heading-btn {
  margin-top: 0;
}
.lib-circle-links__list {
  padding-top: 3rem;
  display: flex;
  flex-wrap: wrap;
}
.lib-circle-links__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 35rem;
  margin-bottom: 3rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.lib-circle-links__title {
  min-width: 10rem;
  width: 10rem;
  min-height: 10rem;
  height: 10rem;
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 1.5rem;
}
.lib-circle-links__title:hover .lib-circle-links__title-name:before {
  border-color: rgba(187, 19, 62, 0.6);
}
.lib-circle-links__title-name {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 300;
  color: #bb133e;
}
.lib-circle-links__title-name:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  border: 0.2rem solid rgba(187, 19, 62, 0.1);
  transition: border-color 0.3s;
}
.lib-circle-links__text {
  line-height: 1.45;
}
.lib-circle-links__text p {
  margin: 0;
}
@media (min-width: 64em) {
  .lib-circle-links__title {
    margin-bottom: 0;
  }
  .lib-circle-links__item {
    flex-direction: row;
    width: calc(49.95% - 15px);
  }
  .lib-circle-links__item:nth-child(1n) {
    float: left;
    margin-right: 30px;
    clear: none;
  }
  .lib-circle-links__item:last-child {
    margin-right: 0;
  }
  .lib-circle-links__item:nth-child(2n) {
    margin-right: 0;
    float: right;
  }
  .lib-circle-links__item:nth-child(2n+1) {
    clear: both;
  }
  .lib-circle-links__item {
    margin-bottom: 5rem;
  }
  .lib-circle-links__text {
    margin-left: 2rem;
    text-align: left;
  }
}

.lib-book-slider {
  background-color: #bb133e;
}
.lib-book-slider__heading {
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  border-bottom: 0.2rem solid rgba(246, 246, 246, 0.1);
}
.lib-book-slider__heading-btn {
  margin-top: 0;
}
.lib-book-slider__list {
  display: flex;
}
.lib-book-slider__item {
  color: #fff;
  list-style: none;
  padding: 1.5rem;
  padding-bottom: 5rem;
}
.lib-book-slider__img {
  max-width: 18rem;
  margin: 0.5rem auto 3.5rem;
}
.lib-book-slider__img-link {
  display: block;
}
.lib-book-slider__title {
  font-style: 2rem;
  margin-bottom: 0.5rem;
}
.lib-book-slider__title-link {
  text-decoration: none;
}
.lib-book-slider__title-link:hover {
  text-decoration: underline;
}
.lib-book-slider__author {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
}
.lib-book-slider .lSPager {
  padding: 0;
  list-style: none;
  text-align: center;
  padding: 2rem 0 !important;
  display: flex;
  justify-content: center;
  border-top: 0.2rem solid rgba(246, 246, 246, 0.1);
}
.lib-book-slider .lSPager li {
  width: 1rem !important;
  height: 1rem;
  display: inline-block;
  border-radius: 50%;
  text-indent: -99999px;
  background-color: #fff;
  opacity: 0.5;
  margin: 0 0.5rem;
  transition: opacity 0.3s;
}
.lib-book-slider .lSPager li.active {
  opacity: 1;
}

.webform-submission-form {
  background: #fff;
  padding: 20px;
  margin-bottom: 40px;
}
.webform-submission-form fieldset {
  border: none;
  background: #fff;
  position: relative;
  margin-top: 80px;
}
.webform-submission-form legend {
  font-size: 2rem;
  padding: 1.5rem;
  border-bottom: 0.2rem solid #f6f6f6;
  text-transform: uppercase;
  color: #d43241;
  margin-bottom: 0;
  margin-left: -10px;
  background: #fff;
  width: 150%;
  position: absolute;
  top: -64px;
}
.webform-submission-form .form-text {
  padding: 10px;
  margin-bottom: 5px;
}
.webform-submission-form > .js-form-type-checkbox {
  background: #fff;
  padding: 10px;
  width: 100%;
}
.webform-submission-form > .js-form-type-checkbox * {
  display: inline-table;
  width: auto;
}
.webform-submission-form .form-submit {
  display: inline-block;
  background-color: #d43241;
  font-size: 1.6rem;
  height: 3.6rem;
  line-height: 3.6rem;
  color: #fff;
  padding: 0;
  margin-bottom: 1rem;
  border: 0.2rem solid #d43241;
  cursor: pointer;
  box-sizing: content-box;
  transition: all 0.3s;
}

.webform-confirmation {
  background: #fff;
  padding: 40px;
  margin-top: 40px;
}

.captcha {
  background-color: #fff6f7;
  padding: 1rem;
  margin-inline: 1.5rem;
  margin-block: 1.5rem;
  outline: none;
}
.captcha img {
  margin-top: 0.5rem;
  max-width: 50%;
}
.captcha .form-item-captcha-response {
  max-width: 50%;
}
.captcha .description {
  display: none;
}
.captcha .reload-captcha-wrapper {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  column-gap: 0.5rem;
}

.reload-captcha-wrapper::before {
  content: "\f2f1";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  text-decoration: none;
}

.captcha .reload-captcha {
  text-decoration: underline;
}

[id^=block-tabs] ul {
  padding: 0;
  margin: 0;
  text-align: right;
}
[id^=block-tabs] li {
  display: inline-table;
  padding: 0 !important;
  margin: 0 0 0 15px !important;
}
[id^=block-tabs] li::before {
  display: none !important;
}
[id^=block-tabs] li a.is-active {
  background: #fff;
  color: #000;
}
[id^=block-tabs] li,
[id^=block-tabs] li a {
  background: #e8e8e8;
  padding: 5px 20px 20px;
  text-decoration: none;
  width: 97px;
  text-align: center;
}

#news [id^=block-tabs] {
  float: left;
}

.footer--library {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-block: 5rem;
  gap: 2rem;
}
@media (max-width: 600px) {
  .footer--library {
    flex-direction: column;
    align-items: flex-start;
    gap: 5rem;
  }
}

#block-knihovnapaticka {
  display: inline-block;
}
#block-knihovnapaticka li {
  width: 100%;
}

.fb-consent-placeholder {
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 0.1rem solid rgba(255, 255, 255, 0.15);
  border-radius: 0.4rem;
  max-width: 22rem;
}
.fb-consent-placeholder__text {
  font-size: 1.3rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1.2rem;
}
.fb-consent-placeholder__btn {
  display: inline-block;
  background: none;
  border: 0.1rem solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 1.3rem;
  padding: 0.6rem 1.2rem;
  border-radius: 0.3rem;
  cursor: pointer;
  transition: all 0.3s;
}
.fb-consent-placeholder__btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

#oteviracidoba {
  display: grid;
  grid-template-columns: auto auto;
  list-style-type: none;
}
#oteviracidoba li:nth-child(even) {
  justify-content: flex-end;
}

.today {
  font-weight: 800;
}

.knihovnakontakt {
  height: auto;
}
.knihovnakontakt li:last-child, .knihovnakontakt:first-child li:nth-last-child(2) {
  padding-bottom: 0 !important;
  margin-bottom: 20px;
}
.knihovnakontakt:last-child li:last-child {
  border: 0;
}
