:root {
  --ndl-orange: #fe5e00;
  --ndl-blue: #5563ff;
  --ndl-dark-blue: #281ea9;
}

@font-face {
  font-family: 'Naivni-pismo';
  src: url('../fonts/Naivnipismo-Regular.woff2') format('woff2'),
       url('../fonts/Naivnipismo-Regular.woff') format('woff');
  font-display: swap;
}

html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: #fff; }
img { max-width: 100%; height: auto; }
.container { width: auto; }
.main-container { box-sizing: border-box; max-width: 1140px; margin-right: auto; margin-left: auto; padding-right: 0; padding-left: 0; }
.footer { box-sizing: border-box; max-width: 1170px; margin-right: auto; margin-left: auto; }
.main-container { margin-top: 0; }
.visually-hidden, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.navbar.navbar-default { z-index: 50; }
.navbar.navbar-default .logo,
.navbar.navbar-default .header-bg,
.navbar.navbar-default .header-bg-mobile { pointer-events: none; }
.navbar.navbar-default .link-front { z-index: 1002; }
.navbar.navbar-default .right { z-index: 1003; }
.navbar.navbar-default .navbar-collapse { z-index: 1001; }
.site-header .search { position: relative; display: block; width: 26px; height: 26px; overflow: hidden; border: 0; background: transparent; color: transparent; font-size: 0; line-height: 1; text-decoration: none; }
.site-header .search .glyphicon { display: none; }
.site-header .search::before { content: ''; position: absolute; left: 3px; top: 3px; width: 12px; height: 12px; border: 3px solid #fff; border-radius: 50%; box-sizing: border-box; }
.site-header .search::after { content: ''; position: absolute; left: 14px; top: 14px; width: 10px; height: 3px; background: #fff; border-radius: 2px; transform: rotate(45deg); transform-origin: left center; }
.navbar-collapse .contextual-region { position: static; }
.navbar-collapse { display: none; }
.navbar-collapse.is-open { display: block; }
#block-ndl11-main-menu > ul { margin: 0; padding: 0; list-style: none; background: #ffa068; box-shadow: none; }
#block-ndl11-main-menu > ul a { display: block; padding: 10px 14px; color: #000; background: transparent; text-align: center; text-transform: uppercase; text-decoration: none; font-weight: 400; }
#block-ndl11-main-menu > ul a:hover, #block-ndl11-main-menu > ul a:focus { background: var(--ndl-orange); color: #000; font-weight: 700; }
.page-hero { width: 100%; max-width: 1140px; margin: 0 auto; overflow: visible; }
#page-header_static img { display: block; width: 100%; height: auto; object-fit: contain; }
.main-container { min-height: 260px; }
.main-container > .block-system-main-block { padding-top: 0; }
#block-ndl11-page-title h1 { margin: 0; padding: 17px 10px; border: 0; background: var(--ndl-orange); color: #000; text-align: center; text-transform: uppercase; font-size: 46px; line-height: 1.05; font-weight: 700; }
#block-ndl11-breadcrumbs { display: none; }
body:has(.node-profile) #block-ndl11-page-title,
body:has(.node-play) #block-ndl11-page-title { display: none; }
.footer { padding: 35px 25px 36px; background: #000; color: #fff; }
.footer a { color: #fff; }
.footer .icon a { display: inline-block; min-height: 28px; padding-left: 40px; line-height: 28px; }
.footer .icon.icon-fb a { background: url('../images/icon-footer-fb.png') left center / 28px 28px no-repeat; }
.footer .icon.icon-in a { background: url('../images/icon-footer-in.png') left center / 28px 28px no-repeat; }
.footer .icon.icon-yt a { background: url('../images/icon-footer-yt.png') left center / 28px 28px no-repeat; }
.footer .icon.icon-no a { background: url('../images/icon-footer-no.png') left center / 28px 28px no-repeat; }
.footer .icon.icon-em a { background: url('../images/icon-footer-em.png') left center / 28px 28px no-repeat; }
.footer .icon.icon-ph a { background: url('../images/icon-footer-ph.png') left center / 28px 28px no-repeat; }
.footer .icon.icon-map a { padding-left: 40px; }
.footer .icon.icon-pc { padding-left: 40px; line-height: 28px; }
.footer .icon.icon-pc a { padding-left: 0; line-height: inherit; }
@media (min-width: 768px) {
  .footer .column.left .icon:not(.icon-pc) { margin-left: 28px; }
}
.node-play .play-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr); gap: 42px; }
.field--type-image { display: flex; flex-wrap: wrap; gap: 10px; }
.ndl-card { display: block; min-height: 100%; color: #000; text-decoration: none; }
.ndl-card__image img { display: block; width: 100%; height: 300px; object-fit: cover; }
.ndl-card__content { padding: 7px 20px 10px; }
.ndl-card__content h2 { margin: 0 0 2px; font-size: 16px; line-height: 1.2; text-transform: uppercase; font-weight: 700; }
.view-news .views-row { margin-top: 10px; padding: 20px; overflow: hidden; }
.view-news .views-row:nth-child(odd) { background: #ffa068; }
.view-news .views-row:nth-child(even) { background: #aab2ff; }
.ndl-news-teaser { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; min-height: 170px; }
.ndl-news-teaser h2 { margin: 0 0 14px; font-size: 25px; line-height: 1.15; font-weight: 700; }
.ndl-news-teaser h2 a { color: #000; text-decoration: underline; }
.ndl-news-teaser p { margin: 0 0 8px; line-height: 1.25; }
.ndl-news-teaser__image { display: block; }
.ndl-news-teaser__image img { display: block; width: 300px; height: 170px; object-fit: cover; }

.view-plays .view-content .views-row .views-field-field-play-age,
.view-plays-archive .view-content .views-row .views-field-field-play-age {
  background: url('../images/repertoire-age-bg.png') no-repeat 0 0;
}

.node-profile .profile-participation { margin: 4px 0 0; padding: 0; list-style: none; }
.node-profile .profile-participation li { margin: 0; line-height: 1.28; }
.node-profile .profile-participation a { color: #281ea9; }
.node-profile .profile-participation-note { margin-top: 2px; }
.view-people .views-row { box-sizing: border-box; width: 33.33%; float: left; margin-top: 10px; height: 360px; overflow: hidden; background-color: #aab2ff; }
.view-people .views-row:nth-of-type(odd) { background-color: #ffa068; }
.view-people .views-row a { display: block; height: 100%; color: #000; text-decoration: none; outline: none; }
.view-people .views-row a .views-field-field-profile-photo { height: 300px; position: relative; overflow: hidden; background: #ccc; }
.view-people .views-row a .views-field-field-profile-photo img { display: block; width: 100%; height: 300px; max-width: none; position: relative; object-fit: cover; object-position: center; }
.view-people .views-row a .views-field-title { font-weight: 700; text-transform: uppercase; }
.view-people .views-row a .views-field-title,
.view-people .views-row a .views-field-field-profile-profession { padding: 5px 20px; line-height: 1.2; }
.view-people .views-row a .views-field-field-profile-profession .field-content { display: block; }
.node-profile .field-name-field-profile-gallery,
.node-play .field-name-field-play-gallery { display: block; clear: both; overflow: visible; background: #fff; }
.node-profile .field-name-field-profile-gallery > div:has(a.colorbox),
.node-profile .field-name-field-profile-gallery .field__items:has(a.colorbox),
.node-play .field-name-field-play-gallery > div:has(a.colorbox),
.node-play .field-name-field-play-gallery .field__items:has(a.colorbox) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: #fff; }
.node-profile .field-name-field-profile-gallery div:has(> a.colorbox),
.node-play .field-name-field-play-gallery div:has(> a.colorbox) { box-sizing: border-box; float: none; width: auto; border: 0; }
.node-profile .field-name-field-profile-gallery a.colorbox,
.node-play .field-name-field-play-gallery a.colorbox { display: block; }
.node-profile .field-name-field-profile-gallery a.colorbox img,
.node-play .field-name-field-play-gallery a.colorbox img { display: block; width: 100%; height: auto; max-width: none; }
.node-play header > .field-name-field-play-photo > div,
.node-play header > .field-name-field-play-photo > div > div { height: 100%; }
.node-play header > .field-name-field-play-photo img { display: block; width: 100%; height: 380px; object-fit: cover; }
.node-play header .field-name-field-play-age { background: url('../images/repertoire-age-bg.png') no-repeat 0 0; background-size: 100px 100px; }
.node-play header .field-name-field-play-age > div > div:first-child { display: none; }
.node-play header .field-name-field-play-age > div > div:last-child { display: block; }
.node-play header .field-name-field-play-subtitle,
.node-play header .field-name-field-play-premiere,
.node-play header .field-name-field-play-length,
.node-play header .field-name-field-play-ndl-studio { box-sizing: border-box; }
.node-play header .field-name-field-play-premiere > div > div,
.node-play header .field-name-field-play-length > div > div,
.node-play header .field-name-field-play-ndl-studio > div > div { display: inline; float: none; }
.node-play > div:first-of-type .field-name-field-play-premiere > div,
.node-play > div:first-of-type .field-name-field-play-author > div,
.node-play > div:first-of-type .field-name-field-play-concept > div,
.node-play > div:first-of-type .field-name-field-play-director > div,
.node-play > div:first-of-type .field-name-field-play-drama > div,
.node-play > div:first-of-type .field-name-field-play-setting > div,
.node-play > div:first-of-type .field-name-field-play-music > div,
.node-play > div:first-of-type .field-name-field-play-drama-coop > div,
.node-play > div:first-of-type .field-name-field-play-music-coop > div,
.node-play > div:first-of-type .field-name-field-play-move > div,
.node-play > div:first-of-type .field-name-field-play-anim > div,
.node-play > div:first-of-type .field-name-field-play-cast > div { display: block; margin: 0; }
.node-play > div:first-of-type .field-name-field-play-premiere > div > div,
.node-play > div:first-of-type .field-name-field-play-author > div > div,
.node-play > div:first-of-type .field-name-field-play-concept > div > div,
.node-play > div:first-of-type .field-name-field-play-director > div > div,
.node-play > div:first-of-type .field-name-field-play-drama > div > div,
.node-play > div:first-of-type .field-name-field-play-setting > div > div,
.node-play > div:first-of-type .field-name-field-play-music > div > div,
.node-play > div:first-of-type .field-name-field-play-drama-coop > div > div,
.node-play > div:first-of-type .field-name-field-play-music-coop > div > div,
.node-play > div:first-of-type .field-name-field-play-move > div > div,
.node-play > div:first-of-type .field-name-field-play-anim > div > div,
.node-play > div:first-of-type .field-name-field-play-cast > div > div,
.node-play > div:first-of-type .field-name-field-play-author > div > div > div,
.node-play > div:first-of-type .field-name-field-play-concept > div > div > div,
.node-play > div:first-of-type .field-name-field-play-director > div > div > div,
.node-play > div:first-of-type .field-name-field-play-drama > div > div > div,
.node-play > div:first-of-type .field-name-field-play-setting > div > div > div,
.node-play > div:first-of-type .field-name-field-play-music > div > div > div,
.node-play > div:first-of-type .field-name-field-play-drama-coop > div > div > div,
.node-play > div:first-of-type .field-name-field-play-music-coop > div > div > div,
.node-play > div:first-of-type .field-name-field-play-move > div > div > div,
.node-play > div:first-of-type .field-name-field-play-anim > div > div > div,
.node-play > div:first-of-type .field-name-field-play-cast > div > div > div { display: inline; float: none; }
.node-play header .field-name-field-play-premiere > div > div:first-child::after,
.node-play header .field-name-field-play-length > div > div:first-child::after,
.node-play > div:first-of-type .field-name-field-play-premiere > div > div:first-child::after,
.node-play > div:first-of-type .field-name-field-play-author > div > div:first-child::after,
.node-play > div:first-of-type .field-name-field-play-concept > div > div:first-child::after,
.node-play > div:first-of-type .field-name-field-play-director > div > div:first-child::after,
.node-play > div:first-of-type .field-name-field-play-drama > div > div:first-child::after,
.node-play > div:first-of-type .field-name-field-play-setting > div > div:first-child::after,
.node-play > div:first-of-type .field-name-field-play-music > div > div:first-child::after,
.node-play > div:first-of-type .field-name-field-play-drama-coop > div > div:first-child::after,
.node-play > div:first-of-type .field-name-field-play-music-coop > div > div:first-child::after,
.node-play > div:first-of-type .field-name-field-play-move > div > div:first-child::after,
.node-play > div:first-of-type .field-name-field-play-anim > div > div:first-child::after,
.node-play > div:first-of-type .field-name-field-play-cast > div > div:first-child::after { content: ': '; }
.node-play > div:first-of-type .field-name-field-play-premiere > div > div:first-child,
.node-play > div:first-of-type .field-name-field-play-author > div > div:first-child,
.node-play > div:first-of-type .field-name-field-play-concept > div > div:first-child,
.node-play > div:first-of-type .field-name-field-play-director > div > div:first-child,
.node-play > div:first-of-type .field-name-field-play-drama > div > div:first-child,
.node-play > div:first-of-type .field-name-field-play-setting > div > div:first-child,
.node-play > div:first-of-type .field-name-field-play-music > div > div:first-child,
.node-play > div:first-of-type .field-name-field-play-drama-coop > div > div:first-child,
.node-play > div:first-of-type .field-name-field-play-music-coop > div > div:first-child,
.node-play > div:first-of-type .field-name-field-play-move > div > div:first-child,
.node-play > div:first-of-type .field-name-field-play-anim > div > div:first-child,
.node-play > div:first-of-type .field-name-field-play-cast > div > div:first-child { font-weight: 700; }
.node-play > div:first-of-type .field-name-field-play-cast > div > div:nth-child(2) > div:not(:last-child)::after { content: ', '; }
.node-play .file-download { display: inline-block; min-height: 16px; padding-left: 18px; background-position: left 2px; background-repeat: no-repeat; background-size: 13px 13px; }
.node-play .ndl-download-field { margin-top: 28px; }
.node-play .ndl-download-field > div:first-child { font-weight: 700; margin-bottom: 3px; }
.node-play .ndl-download-field > div:nth-child(2) > div { line-height: 1.25; }
.node-play .file-download-image { background-image: url("data:image/svg+xml,%3Csvg width='13' height='13' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5.5h7l3 3v9h-10z' fill='%23fff5b0' stroke='%23b99b00'/%3E%3Cpath d='M8.5.5v3h3' fill='none' stroke='%23b99b00'/%3E%3Cpath d='M3 9l2-2 1.5 1.5L8 6l2 3z' fill='%2345a14a'/%3E%3C/svg%3E"); }
.node-play .file-download-pdf,
.node-play .file-download-application { background-image: url("data:image/svg+xml,%3Csvg width='13' height='13' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5.5h7l3 3v9h-10z' fill='%23fff' stroke='%23cc3d3d'/%3E%3Cpath d='M8.5.5v3h3' fill='none' stroke='%23cc3d3d'/%3E%3Cpath d='M3 9.5h7' stroke='%23cc3d3d'/%3E%3Cpath d='M3 7.5h7' stroke='%23cc3d3d'/%3E%3C/svg%3E"); }
.view-front-teaser,
.view-front-teaser-en,
.view-contact-teaser { display: block; margin-bottom: 10px; }
.view-front-teaser .view-content,
.view-front-teaser-en .view-content,
.view-contact-teaser .view-content,
.view-front-teaser .views-view-unformatted,
.view-front-teaser-en .views-view-unformatted,
.view-contact-teaser .views-view-unformatted { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 10px; }
.view-front-teaser .views-row, .view-front-teaser-en .views-row, .view-contact-teaser .views-row { width: auto; float: none; height: auto; padding: 0; }
.view-front-teaser .views-row .ndl-front-link,
.view-front-teaser-en .views-row .ndl-front-link,
.view-contact-teaser .views-row a { position: static; display: grid; place-items: center; box-sizing: border-box; width: 100%; min-height: 200px; padding: 20px; color: #000; text-align: center; text-transform: uppercase; text-decoration: none; font-size: 30px; line-height: 1.2; }
.view-front-teaser .views-row:nth-child(odd) .ndl-front-link, .view-front-teaser-en .views-row:nth-child(odd) .ndl-front-link, .view-contact-teaser .views-row:nth-child(odd) a { background: #aab2ff; }
.view-front-teaser .views-row:nth-child(even) .ndl-front-link, .view-front-teaser-en .views-row:nth-child(even) .ndl-front-link, .view-contact-teaser .views-row:nth-child(even) a { background: #ffa068; }
.view-front-about-en {
  position: relative;
  margin: 0 0 10px;
  padding: 28px 20px 34px;
  background: #ffa068;
  color: #000;
}
.view-front-about-en .views-row,
.view-front-about-en article,
.view-front-about-en article > div {
  margin: 0;
}
.view-front-about-en h2 {
  margin: 0 0 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}
.view-front-about-en h2 a,
.view-front-about-en h2 a:hover,
.view-front-about-en h2 a:focus {
  color: #000;
  text-decoration: none;
}
.view-front-about-en p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}
.view-front-about-en .links {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0;
}
.view-front-about-en .links li {
  display: block;
  margin: 0;
  padding: 0;
}
.view-front-about-en .links a {
  display: block;
  min-width: 58px;
  padding: 6px 12px;
  background: #fe5e00;
  color: #fff;
  font-size: 0;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}
.view-front-about-en .links a::before {
  content: "more";
  font-size: 12px;
}
.view-front-about-en .links a .visually-hidden {
  display: none;
}
.view-frontpage { display: none; }
.view-front-carousel .carousel-control { border: 0; cursor: pointer; }
.view-front-carousel .carousel-control .icon-prev::before { background: rgba(255, 255, 255, .5) url('../images/chevron-white-left.png') center center no-repeat; }
.view-front-carousel .carousel-control .icon-next::before { background: rgba(255, 255, 255, .5) url('../images/chevron-white-right.png') center center no-repeat; }
.ndl-carousel-slide { position: relative; display: block; }
.ndl-carousel-slide > div > div:first-child { display: none; }
.ndl-carousel-slide img { width: 100%; max-height: 560px; object-fit: cover; }
.ndl-carousel-slide__title { position: absolute; left: 75px; bottom: 0; padding: 15px 30px 75px; color: #fff; background: rgba(0,0,0,.75); font-size: 4rem; line-height: 1.15; text-transform: uppercase; text-decoration: none; }
.ndl-carousel-slide:hover .ndl-carousel-slide__title,
.ndl-carousel-slide:focus .ndl-carousel-slide__title { color: #fff; text-decoration: none; }
.pager .pager__item--first,
.pager .pager__item--last { display: none; }
.pager li a,
.pager .pager__item a { border-radius: 0; border: 0; background: #5563ff; color: #fff; font-weight: 700; text-transform: uppercase; }

.view-news nav.pager,
.view-news nav[role="navigation"] {
  margin: 50px 0 0;
  text-align: center;
}

.view-news .pager__items,
.view-news .pager,
.view-news .js-pager__items,
.view-news nav[role="navigation"] ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.view-news .pager__item,
.view-news .pager li,
.view-news .js-pager__items li,
.view-news nav[role="navigation"] li {
  display: inline-block;
  list-style: none;
  margin: 0;
  padding: 0;
}

.view-news .pager__item--current,
.view-news .pager__item--first,
.view-news .pager__item--last,
.view-news .pager__item--ellipsis,
.view-news .js-pager__items li:not(:has(a)),
.view-news nav[role="navigation"] li:not(:has(a)) {
  display: none;
}

.view-news .pager__item a,
.view-news .pager li a,
.view-news .js-pager__items li a,
.view-news nav[role="navigation"] li a,
.pager-link {
  background: #ffa068;
  border: 0;
  border-radius: 0;
  color: #000;
  display: inline-block;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.2;
  min-width: 160px;
  padding: 5px 35px;
  text-transform: uppercase;
}

.view-news nav[role="navigation"] li + li {
  margin-left: 10px;
}

.node-news-full {
  margin: 0 auto;
}

.node-news-full__title {
  background: #fe5e00;
  color: #000;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  padding: 30px 20px;
  text-align: center;
  text-transform: uppercase;
}

.node-news-full__content {
  background: #ffa068;
  margin-top: 10px;
  padding: 35px;
}

.node-news-full__body {
  color: #000;
  font-size: 14px;
  line-height: 1.45;
}

.node-news-full__body p {
  margin: 0 0 18px;
}

.node-news-full__gallery {
  background: #fff;
  margin-top: 20px;
  padding: 2px;
}

.node-news-full__gallery .field,
.node-news-full__gallery .field__items,
.node-news-full__gallery > div,
.node-news-full__gallery > div > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  background: #fff;
}

.node-news-full__gallery > div > div {
  display: block;
}

.node-news-full__gallery .field__item,
.node-news-full__gallery > div > div > div,
.node-news-full__gallery a {
  display: block;
}

.node-news-full__gallery img {
  display: block;
  height: 220px;
  object-fit: cover;
  width: 100%;
}

@media (min-width: 768px) and (max-width: 991px) {
  .node-profile .field-name-field-profile-gallery > div:has(a.colorbox),
  .node-profile .field-name-field-profile-gallery .field__items:has(a.colorbox),
  .node-play .field-name-field-play-gallery > div:has(a.colorbox),
  .node-play .field-name-field-play-gallery .field__items:has(a.colorbox),
  .node-news-full__gallery .field,
  .node-news-full__gallery .field__items,
  .node-news-full__gallery > div,
  .node-news-full__gallery > div > div,
  .ndl-static-page article > div > div:has(a.colorbox),
  .ndl-path-cs-budova-ndl article > div > div:has(a.colorbox),
  .ndl-path-cs-prohlidky-zakulisi article > div > div:has(a.colorbox),
  .ndl-path-cs-studio-ypsilon article > div > div:has(a.colorbox) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .page-hero { margin-top: -45px; }
  body.path-frontpage #block-ndl11-front-carousel { margin-top: -45px; }
}

@media (min-width: 1101px) {
  .navbar.navbar-default .right .navbar-toggle { left: -34px; }
  .navbar.navbar-default .right .search { top: 4px; margin-left: -7px; margin-right: 8px; }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .navbar.navbar-default.site-header { width: calc(100% - 30px); max-width: 960px; height: 86px; margin: 0 auto; background: #ff6400; overflow: visible; }
  .site-header > .container { position: static; width: auto; height: 100%; margin: 0; padding: 0; }
  .site-header .navbar-header { position: static; }
  .site-header .logo { display: flex !important; position: absolute; top: 0; left: 105px; right: 175px; width: auto; height: 86px; opacity: 1; visibility: visible; overflow: hidden; align-items: center; justify-content: center; text-align: center; }
  .site-header .header-bg { display: none !important; }
  .site-header .header-bg-mobile { display: block !important; width: auto; max-width: 100%; height: 58px; object-fit: contain; object-position: center center; transform: translateY(5px); }
  .navbar.navbar-default .right { position: absolute; left: 15px; right: 15px; top: 50%; bottom: auto; display: flex; align-items: center; height: 45px; margin: 0; line-height: 45px; transform: translateY(-50%); }
  .navbar.navbar-default .right .navbar-toggle { position: relative; left: 0; top: 0; flex: 0 0 auto; margin: 0 auto 0 0; padding: 0; }
  .navbar-toggle .icon-bar { width: 30px; height: 4px; margin: 8px 0 0; border-radius: 0; }
  .navbar-toggle .sr-only + .icon-bar { margin-top: 0; }
  .navbar.navbar-default .right .search { flex: 0 0 26px; top: 2px; margin: 0 10px 0 auto; }
  .site-header .lang { flex: 0 0 auto; color: #fff; font-size: 20px; line-height: 45px; white-space: nowrap; }
  .site-header .lang a { color: #fff; }
  .navbar-collapse { left: 15px; right: auto; top: 86px; width: 250px; }
  .page-hero { margin-top: 0; }
  body.path-frontpage #block-ndl11-front-carousel { margin-top: 0; }
}

@media (min-width: 768px) and (max-width: 1254px) {
  .main-container { margin-top: 101px; }
  body:has(.page-hero) .main-container,
  body.path-frontpage .main-container { margin-top: 0; }
  .page-hero,
  body.path-frontpage #block-ndl11-front-carousel { margin-top: 101px; }
}

.messages { padding: 15px 18px; margin: 18px 0; border-left: 5px solid var(--ndl-blue); background: #f3f4ff; }
.ndl-archive-decades { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; margin: 0 0 10px; padding: 12px 18px; background: #ffa068; color: #000; font-size: 18px; line-height: 1.25; }
.ndl-archive-decades span { margin-right: 6px; }
.ndl-archive-decades a,
.ndl-archive-decades a:visited { color: #000; font-weight: 400; text-decoration: none; }
.ndl-archive-decades a:hover,
.ndl-archive-decades a:focus,
.ndl-archive-decades a:active { color: #000; font-weight: 400; text-decoration: underline; }
.ndl-archive-decades a + a::before { content: ' | '; color: #000; display: inline-block; margin: 0 4px; }
.ndl-contact-form { max-width: 760px; margin: 25px auto; padding: 25px; background: #aab2ff; }
.ndl-contact-form .form-item { margin-bottom: 16px; }
.ndl-contact-form label { display: block; margin-bottom: 5px; font-weight: 700; }
.ndl-contact-form input[type="text"], .ndl-contact-form input[type="email"], .ndl-contact-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #281ea9; background: #fff; }
.ndl-contact-form .button { padding: 10px 28px; border: 0; background: #fe5e00; color: #000; font-weight: 700; text-transform: uppercase; }

.ndl-user-account-page #block-ndl11-page-title { display: none; }
.ndl-path-cs-repertoar-archiv #block-ndl11-page-title,
.ndl-path-en-repertoire-archive #block-ndl11-page-title { display: none; }
.ndl-user-account-page #block-ndl11-breadcrumbs,
.ndl-user-account-page .breadcrumb { display: none; }
.ndl-user-account-page #block-ndl11-primary-local-tasks h2,
.ndl-user-account-page #block-ndl11-primary-local-tasks .visually-hidden { display: none; }
.ndl-user-account-page .tabs,
.ndl-user-account-page .nav-tabs { margin: 0 0 12px; padding: 0; border: 0; border-bottom: 1px solid #e5e5e5; list-style: none; }
.ndl-user-account-page .tabs::after,
.ndl-user-account-page .nav-tabs::after { content: ""; display: table; clear: both; }
.ndl-user-account-page .tabs li,
.ndl-user-account-page .nav-tabs li { display: inline-block; margin: 0; padding: 0; }
.ndl-user-account-page .tabs a,
.ndl-user-account-page .nav-tabs a { display: block; padding: 10px 15px; border: 1px solid transparent; border-bottom: 0; color: #337ab7; font-weight: 400; text-decoration: none; }
.ndl-user-account-page .tabs a.is-active,
.ndl-user-account-page .tabs a.active,
.ndl-user-account-page .nav-tabs .active a,
.ndl-user-account-page .nav-tabs a.is-active { border-color: #e5e5e5; background: #fff; color: #333; }
.ndl-user-account-page .region-content > ul:not(.contextual-links),
.ndl-user-account-page .region-content > nav ul { margin: 0 0 12px; padding: 0; border-bottom: 1px solid #e5e5e5; list-style: none; }
.ndl-user-account-page .region-content > ul:not(.contextual-links) li,
.ndl-user-account-page .region-content > nav li { display: inline-block; margin: 0; }
.ndl-user-account-page .region-content > ul:not(.contextual-links) a,
.ndl-user-account-page .region-content > nav a { display: block; padding: 10px 15px; color: #337ab7; text-decoration: none; }
.ndl-path-cs-user-login a[href$="/user/login"],
.ndl-path-cs-user-password a[href$="/user/login"] { font-size: 0; }
.ndl-path-cs-user-login a[href$="/user/login"]::after,
.ndl-path-cs-user-password a[href$="/user/login"]::after { content: "Přihlásit se"; font-size: 14px; }
.ndl-path-cs-user-login a[href$="/user/password"],
.ndl-path-cs-user-password a[href$="/user/password"] { font-size: 0; }
.ndl-path-cs-user-login a[href$="/user/password"]::after,
.ndl-path-cs-user-password a[href$="/user/password"]::after { content: "Zaslat nové heslo"; font-size: 14px; }
.ndl-user-account-page form.user-login-form,
.ndl-user-account-page form.user-pass { margin: 0; padding: 0; }
.ndl-user-account-page .form-item { margin: 0 0 18px; }
.ndl-user-account-page label { display: block; margin-bottom: 7px; color: #222; font-weight: 700; }
.ndl-user-account-page .form-required::after { margin-left: 3px; color: #000; content: "*"; }
.ndl-user-account-page .form-text { display: block; width: 100%; height: 34px; padding: 6px 12px; border: 1px solid #ccc; border-radius: 3px; background: #fff; color: #222; font-size: 14px; line-height: 1.42857143; box-shadow: inset 0 1px 1px rgba(0,0,0,.075); }
.ndl-user-account-page .form-text:focus { border-color: #66afe9; outline: 0; box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6); }
.ndl-user-account-page .field-prefix { display: inline-block; margin-right: 6px; font-weight: 700; }
.ndl-user-account-page .form-item-ndl-login-captcha-answer .form-text { display: inline-block; max-width: 120px; vertical-align: middle; }
.ndl-user-account-page .description { margin-top: 5px; color: #555; font-size: 13px; }
.ndl-user-account-page .button,
.ndl-user-account-page .btn { display: inline-block; padding: 8px 16px; border: 1px solid #2e6da4; border-radius: 4px; background: #337ab7; color: #fff; font-weight: 700; line-height: 1.42857143; text-align: center; text-decoration: none; }
.ndl-user-account-page .button:hover,
.ndl-user-account-page .button:focus,
.ndl-user-account-page .btn:hover,
.ndl-user-account-page .btn:focus { border-color: #204d74; background: #286090; color: #fff; }

.ndl-search-page #block-ndl11-page-title,
.ndl-search-page #block-ndl11-breadcrumbs,
.ndl-search-page .breadcrumb { display: none; }
.ndl-search-page .search-form { margin: 0 0 28px; }
.ndl-search-page .search-form .container-inline { display: flex; align-items: flex-end; gap: 12px; margin: 0; }
.ndl-search-page .search-form .form-item { flex: 1 1 auto; margin: 0; }
.ndl-search-page .search-form label { display: block; margin-bottom: 7px; color: #222; font-weight: 700; }
.ndl-search-page .search-form input[type="search"],
.ndl-search-page .search-form .form-search { display: block; width: 100%; height: 38px; padding: 7px 12px; border: 1px solid #ccc; border-radius: 3px; background: #fff; font-size: 15px; line-height: 1.4; box-shadow: inset 0 1px 1px rgba(0,0,0,.075); }
.ndl-search-page .search-form input[type="search"]:focus,
.ndl-search-page .search-form .form-search:focus { border-color: #66afe9; outline: 0; box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6); }
.ndl-search-page .search-form .button { height: 38px; padding: 7px 18px; border: 1px solid #2e6da4; border-radius: 4px; background: #337ab7; color: #fff; font-weight: 700; line-height: 1.4; }
.ndl-search-page .search-form .button:hover,
.ndl-search-page .search-form .button:focus { border-color: #204d74; background: #286090; }
.ndl-search-page .search-help-link { display: none; }
.ndl-search-page h2 { margin: 22px 0 16px; color: #000; font-size: 30px; font-weight: 700; text-transform: uppercase; }
.ndl-search-page .search-results { margin: 0 0 36px; padding: 0; list-style: none; }
.ndl-search-page .search-result { margin: 0 0 22px; padding: 0 0 20px; border-bottom: 1px solid #ddd; }
.ndl-search-page .search-result h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.2; font-weight: 700; text-transform: uppercase; }
.ndl-search-page .search-result h3 a { color: #000; text-decoration: none; }
.ndl-search-page .search-result h3 a:hover,
.ndl-search-page .search-result h3 a:focus { color: #fe5e00; }
.ndl-search-page .search-snippet-info { padding-left: 0; }
.ndl-search-page .search-snippet { color: #111; font-size: 15px; line-height: 1.45; }
.ndl-search-page .search-info { margin-top: 7px; color: #555; font-size: 13px; }

@media (max-width: 767px) {
  .ndl-search-page .search-form .container-inline { display: block; }
  .ndl-search-page .search-form .form-item { margin-bottom: 10px; }
  .ndl-search-page .search-form .button { width: 100%; }
}

.ndl-sitemap-page #block-ndl11-page-title,
.ndl-sitemap-page #block-ndl11-breadcrumbs,
.ndl-sitemap-page .breadcrumb { display: none; }
.ndl-sitemap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 44px; }
.ndl-sitemap__section { padding: 24px 24px 26px; background: #ffa068; }
.ndl-sitemap__section:nth-child(even) { background: #aab2ff; }
.ndl-sitemap__section h2 { margin: 0 0 18px; color: #000; font-size: 28px; line-height: 1.1; font-weight: 700; text-transform: uppercase; }
.ndl-sitemap__section ul { margin: 0; padding: 0; list-style: none; }
.ndl-sitemap__section li { margin: 0; border-top: 1px solid rgba(0,0,0,.22); }
.ndl-sitemap__section a { display: block; padding: 9px 0; color: #000; font-size: 17px; line-height: 1.25; text-decoration: none; }
.ndl-sitemap__section a:hover,
.ndl-sitemap__section a:focus { color: #281ea9; text-decoration: underline; }

@media (max-width: 767px) {
  .ndl-sitemap { grid-template-columns: 1fr; margin-bottom: 28px; }
  .ndl-sitemap__section { padding: 20px 18px; }
  .ndl-sitemap__section h2 { font-size: 24px; }
  .ndl-sitemap__section a { font-size: 16px; }
}

.ndl-path-cs-newsletter #block-ndl11-page-title,
.ndl-path-en-newsletter #block-ndl11-page-title,
.ndl-path-cs-newsletter #block-ndl11-breadcrumbs,
.ndl-path-en-newsletter #block-ndl11-breadcrumbs,
.ndl-path-cs-newsletter .breadcrumb,
.ndl-path-en-newsletter .breadcrumb { display: none; }
.node-page-newsletter .field--name-body h2 { margin: 0 0 10px; font-size: 28px; line-height: 1.15; text-transform: none; }
.node-page-newsletter .field--name-body p { margin: 0 0 22px; font-size: 14px; line-height: 1.35; font-weight: 700; }
.node-page-newsletter .field--type-image,
.node-page-newsletter .field--name-field-page-gallery,
.node-page-newsletter .field--name-field-page-gallery .field__items { display: block; margin: 14px 0 26px; text-align: center; }
.node-page-newsletter .field--type-image img,
.node-page-newsletter .field--name-field-page-gallery img,
.subscribe-form a.colorbox img { display: inline-block; width: auto; max-width: 150px; height: auto; }
.subscribe-form { margin: 100px 0; padding: 36px 30px 15px; background: #ffa068; text-align: center; }
.subscribe-form form { max-width: 720px; margin: 0 auto; }
.subscribe-form .form-item { margin: 0 0 16px; }
.subscribe-form label,
.subscribe-form legend,
.subscribe-form .fieldset-legend,
.subscribe-form .description,
.subscribe-form .form-type-checkbox { display: none; }
.subscribe-form .form-email,
.subscribe-form .form-text { display: block; width: 100%; height: auto; margin: 0 auto; padding: 15px; border: 0; border-radius: 0; background: #fff; color: #000; text-align: center; font-size: 24px; line-height: 1.25; font-weight: 700; box-shadow: none; }
.subscribe-form .form-email:focus,
.subscribe-form .form-text:focus { outline: 2px solid #281ea9; outline-offset: 0; }
.subscribe-form .form-submit,
.subscribe-form .button { display: inline-block; margin-top: 4px; padding: 7px 30px; border: 0; border-radius: 0; background: #fe5e00; color: #000; font-weight: 700; text-transform: uppercase; line-height: 1.4; }
.subscribe-form .form-submit:hover,
.subscribe-form .form-submit:focus,
.subscribe-form .button:hover,
.subscribe-form .button:focus { background: #000; color: #fff; }

@media (max-width: 767px) {
  .subscribe-form { margin: 45px 0; padding: 24px 15px 18px; }
  .node-page-newsletter .field--name-body h2 { font-size: 24px; }
  .node-page-newsletter .field--name-body p { font-size: 16px; }
  .subscribe-form .form-email,
  .subscribe-form .form-text { font-size: 18px; }
}

.ndl-static-page #block-ndl11-page-title,
.ndl-en-repertoire-page #block-ndl11-page-title,
.ndl-static-page h1:not(.ndl-static-title) { display: none; }
.ndl-static-title { display: block !important; margin: 0; padding: 24px 20px; background: #fe5e00; color: #000; text-align: center; text-transform: uppercase; font-size: 48px; line-height: 1.05; font-weight: 700; }
.ndl-static-tiles { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 10px; }
.ndl-static-tiles a { display: grid; place-items: center; min-height: 200px; padding: 20px; color: #000; text-align: center; text-transform: uppercase; text-decoration: none; font-size: 30px; line-height: 1.2; }
.ndl-static-tiles a:nth-child(odd) { background: #aab2ff; }
.ndl-static-tiles a:nth-child(even) { background: #ffa068; }
.ndl-download-tabs { margin-bottom: 35px; padding: 10px 20px; background: #ffa068; color: #000; text-align: center; font-size: 18px; line-height: 1.25; }
.ndl-download-tabs a { color: #000; text-transform: uppercase; }
.ndl-download-tabs a + a::before { content: ' | '; color: #000; text-decoration: none; display: inline-block; margin: 0 4px; }
.ndl-path-cs-o-divadle article > div { background: transparent; margin-top: 0; padding: 0; }
.ndl-path-cs-o-divadle article > div > div:first-child { background: #ffa068; margin-top: 10px; padding: 30px 20px; }
.ndl-path-en-about-theatre article > div,
.ndl-path-en-contacts article > div { background: #ffa068; margin-top: 10px; padding: 30px 20px; overflow: hidden; }
.ndl-path-en-about-theatre article > div > div,
.ndl-path-en-contacts article > div > div { max-width: none; }
.ndl-path-cs-o-divadle article > div::after,
.ndl-path-cs-kontakty article > div::after,
.ndl-path-en-about-theatre article > div::after,
.ndl-path-en-contacts article > div::after,
.ndl-path-cs-nasi-pratele article > div::after,
.ndl-path-cs-ke-stazeni article > div::after,
.ndl-path-cs-ke-stazeni-verejne-dokumenty article > div::after { content: ''; display: block; clear: both; }
.ndl-static-page article p { margin: 0 0 16px; line-height: 1.35; }
.ndl-static-page article strong { font-weight: 700; }
.ndl-static-page article a { color: #00f; }
.ndl-path-cs-kontakty article iframe,
.ndl-path-en-contacts article iframe { float: right; width: 550px; max-width: 50%; margin: 0 0 15px 25px; }
.ndl-path-cs-nasi-pratele article > div > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px 90px; padding: 55px 90px 0; background: #fff; }
.ndl-path-cs-nasi-pratele article > div > div > div { position: relative; min-height: 130px; }
.ndl-path-cs-nasi-pratele article > div > div > div img { position: absolute; left: 50%; top: 50%; max-width: 100%; max-height: 130px; width: auto; height: auto; transform: translate(-50%, -50%); }
.ndl-static-page article > div > div:has(a.colorbox),
.ndl-path-cs-budova-ndl article > div > div:has(a.colorbox),
.ndl-path-cs-prohlidky-zakulisi article > div > div:has(a.colorbox),
.ndl-path-cs-studio-ypsilon article > div > div:has(a.colorbox) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; margin-top: 10px; padding: 0; background: #fff; }
.ndl-static-page article > div > div:has(a.colorbox) > div,
.ndl-path-cs-budova-ndl article > div > div:has(a.colorbox) > div,
.ndl-path-cs-prohlidky-zakulisi article > div > div:has(a.colorbox) > div,
.ndl-path-cs-studio-ypsilon article > div > div:has(a.colorbox) > div { box-sizing: border-box; border: 0; }
.ndl-static-page article > div > div:has(a.colorbox) a.colorbox,
.ndl-path-cs-budova-ndl article > div > div:has(a.colorbox) a.colorbox,
.ndl-path-cs-prohlidky-zakulisi article > div > div:has(a.colorbox) a.colorbox,
.ndl-path-cs-studio-ypsilon article > div > div:has(a.colorbox) a.colorbox { display: block; }
.ndl-static-page article > div > div:has(a.colorbox) a.colorbox img,
.ndl-path-cs-budova-ndl article > div > div:has(a.colorbox) a.colorbox img,
.ndl-path-cs-prohlidky-zakulisi article > div > div:has(a.colorbox) a.colorbox img,
.ndl-path-cs-studio-ypsilon article > div > div:has(a.colorbox) a.colorbox img { display: block; width: 100%; height: auto; max-width: none; }

@media (min-width: 768px) and (max-width: 991px) {
  .ndl-static-page article > div > div:has(a.colorbox),
  .ndl-path-cs-budova-ndl article > div > div:has(a.colorbox),
  .ndl-path-cs-prohlidky-zakulisi article > div > div:has(a.colorbox),
  .ndl-path-cs-studio-ypsilon article > div > div:has(a.colorbox) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .view-people .views-row { width: 100%; float: none; }
  .navbar.navbar-default.site-header {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    z-index: 50;
  }
  .site-header { width: calc(100% - 30px); max-width: 480px; height: 95px; margin: 0 auto; background: #ff6400; }
  .site-header > .container { position: static; width: auto; height: 100%; margin: 0; padding: 0; }
  .site-header .navbar-header { position: static; }
  .site-header .logo { display: block !important; position: absolute; top: 0; left: 0; width: 100%; height: 50px; opacity: 1; visibility: visible; overflow: hidden; text-align: center; }
  .site-header .header-bg { display: none !important; }
  .site-header .header-bg-mobile { display: inline-block !important; width: auto; max-width: calc(100% - 92px); height: 50px; object-fit: contain; object-position: center top; }
  .main-container, .page-hero { width: calc(100% - 30px); max-width: 480px; }
  .footer { width: calc(100% - 20px); max-width: 500px; }
  #page-header_static img { height: auto; max-height: 340px; }
  .navbar.navbar-default .right { position: absolute; left: 15px; right: 15px; bottom: 0; display: flex; align-items: center; height: 45px; margin: 0; line-height: 45px; }
  .navbar.navbar-default .right .navbar-toggle { position: relative; left: 0; top: 0; flex: 0 0 auto; margin: 0 auto 0 0; padding: 0; }
  .navbar-toggle .icon-bar { width: 30px; height: 4px; margin: 8px 0 0; border-radius: 0; }
  .navbar-toggle .sr-only + .icon-bar { margin-top: 0; }
  .navbar-collapse { left: 15px; right: auto; top: 95px; width: min(250px, calc(100vw - 45px)); }
  .navbar-collapse ul.menu { display: block; padding: 12px 20px 20px; background: var(--ndl-dark-blue); }
  .site-header .lang { flex: 0 0 auto; color: #fff; font-size: 20px; line-height: 45px; white-space: nowrap; }
  .site-header .lang a { color: #fff; }
  .site-header .search { display: block; flex: 0 0 26px; width: 26px; height: 26px; margin: 0 9px 0 auto; }
  .footer-grid, .node-play .play-detail { grid-template-columns: 1fr; }
  .view-front-teaser .view-content, .view-front-teaser-en .view-content, .view-contact-teaser .view-content, .view-front-teaser .views-view-unformatted, .view-front-teaser-en .views-view-unformatted, .view-contact-teaser .views-view-unformatted { display: grid !important; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .view-front-teaser > .views-row, .view-front-teaser-en > .views-row, .view-contact-teaser > .views-row, .view-front-teaser .view-content > .views-row, .view-front-teaser-en .view-content > .views-row, .view-contact-teaser .view-content > .views-row, .view-front-teaser .views-view-unformatted > .views-row, .view-front-teaser-en .views-view-unformatted > .views-row, .view-contact-teaser .views-view-unformatted > .views-row { width: auto !important; height: auto !important; padding: 0 !important; float: none !important; min-width: 0; }
  .view-front-teaser .views-row .ndl-front-link, .view-front-teaser-en .views-row .ndl-front-link, .view-contact-teaser .views-row a { display: grid; place-items: center; box-sizing: border-box; width: 100%; min-height: 132px; padding: 8px; font-size: 20px; line-height: 1.2; }
  .ndl-carousel-slide img { height: 205px; object-fit: cover; }
  .ndl-carousel-slide__title { left: 0; bottom: 0; padding: 10px 15px; font-size: 2rem; }
  .ndl-news-teaser { display: block; min-height: 0; }
  .ndl-news-teaser h2 { font-size: 18px; }
  .ndl-news-teaser p { font-size: 11px; line-height: 1.2; }
  .ndl-news-teaser__image { display: none; }
  .view-news .views-row { padding: 14px; }
  .ndl-static-title { padding: 16px 12px; font-size: 34px; }
  .ndl-static-tiles { grid-template-columns: repeat(3, 1fr); }
  .ndl-static-tiles a { min-height: 132px; padding: 8px; font-size: 20px; }
  .ndl-download-tabs { margin-bottom: 24px; padding: 10px 12px; font-size: 15px; }
  .ndl-path-cs-o-divadle article > div { padding: 20px 15px; }
  .ndl-path-en-about-theatre article > div,
  .ndl-path-en-contacts article > div { padding: 20px 15px; }
  .ndl-path-cs-kontakty article iframe,
  .ndl-path-en-contacts article iframe { float: none; display: block; width: 100%; max-width: 100%; height: 320px; margin: 0 0 18px; }
  .ndl-path-cs-nasi-pratele article > div > div { grid-template-columns: repeat(2, 1fr); gap: 25px 35px; padding: 35px 35px 0; }
  .ndl-path-cs-nasi-pratele article > div > div > div { min-height: 150px; }
  .node-profile .field-name-field-profile-gallery > div:has(a.colorbox),
  .node-profile .field-name-field-profile-gallery .field__items:has(a.colorbox),
  .node-play .field-name-field-play-gallery > div:has(a.colorbox),
  .node-play .field-name-field-play-gallery .field__items:has(a.colorbox),
  .node-news-full__gallery .field,
  .node-news-full__gallery .field__items,
  .node-news-full__gallery > div,
  .node-news-full__gallery > div > div,
  .ndl-static-page article > div > div:has(a.colorbox),
  .ndl-path-cs-budova-ndl article > div > div:has(a.colorbox),
  .ndl-path-cs-prohlidky-zakulisi article > div > div:has(a.colorbox),
  .ndl-path-cs-studio-ypsilon article > div > div:has(a.colorbox) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .node-news-full__gallery img { height: 150px; }
  body.path-frontpage .pager li { display: none; }
  body.path-frontpage .pager .pager__item--next { display: inline-block; }
  body.path-frontpage .pager .pager__item--next a { font-size: 0; }
  body.path-frontpage .pager .pager__item--next a::after { content: 'NÁSLEDUJÍ'; font-size: 14px; }
  .view-plays .ndl-card--play, .view-plays-archive .ndl-card--play { grid-template-columns: 1fr; }
  .view-plays .ndl-card--play .ndl-card__image, .view-plays-archive .ndl-card--play .ndl-card__image { grid-row: auto; grid-column: 1; }
  .view-plays .ndl-card--play .ndl-card__content, .view-plays-archive .ndl-card--play .ndl-card__content { grid-row: auto; grid-column: 1; }
  .view-plays .ndl-card--play h2, .view-plays-archive .ndl-card--play h2 { font-size: 38px; }
  .footer-grid { gap: 25px; }
}

@media (max-width: 400px) {
  .ndl-front-link { min-height: 100px; font-size: 16px; }
}

@media (max-width: 520px) {
  .view-front-teaser,
  .view-front-teaser-en,
  .view-contact-teaser,
  .view-front-teaser .view-content,
  .view-front-teaser-en .view-content,
  .view-contact-teaser .view-content,
  .view-front-teaser .views-view-unformatted,
  .view-front-teaser-en .views-view-unformatted,
  .view-contact-teaser .views-view-unformatted { display: block !important; }
  .view-front-teaser > .views-row,
  .view-front-teaser-en > .views-row,
  .view-contact-teaser > .views-row,
  .view-front-teaser .view-content > .views-row,
  .view-front-teaser-en .view-content > .views-row,
  .view-contact-teaser .view-content > .views-row,
  .view-front-teaser .views-view-unformatted > .views-row,
  .view-front-teaser-en .views-view-unformatted > .views-row,
  .view-contact-teaser .views-view-unformatted > .views-row { width: 100% !important; }
  .view-front-teaser .views-row .ndl-front-link,
  .view-front-teaser-en .views-row .ndl-front-link,
  .view-contact-teaser .views-row a { min-height: 64px; }
  .ndl-static-tiles { display: block; }
  .ndl-static-tiles a { min-height: 64px; }
  .ndl-static-page article > div > div:has(a.colorbox),
  .ndl-path-cs-budova-ndl article > div > div:has(a.colorbox),
  .ndl-path-cs-prohlidky-zakulisi article > div > div:has(a.colorbox),
  .ndl-path-cs-studio-ypsilon article > div > div:has(a.colorbox) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ndl-path-cs-nasi-pratele article > div > div { grid-template-columns: 1fr; }
}
/* Mateřinka migrated content first-pass layout. */
.main-container.ndl-path-cs-materinka #block-ndl11-page-title,
.main-container.ndl-path-cs-materinka #block-ndl11-breadcrumbs {
  display: none !important;
}

.main-container.ndl-path-cs-materinka-fotogalerie #block-ndl11-page-title,
.main-container.ndl-path-cs-materinka-galerie #block-ndl11-page-title,
.main-container.ndl-path-en-materinka-fotogalerie #block-ndl11-page-title,
.main-container.ndl-path-en-materinka-galerie #block-ndl11-page-title {
  display: none !important;
}

.main-container[class*="ndl-path-cs-materinka"] #block-ndl11-breadcrumbs,
.main-container[class*="ndl-path-en-materinka"] #block-ndl11-breadcrumbs {
  display: none !important;
}

.materinka-front {
  margin-top: 0;
}

.materinka-front #page-header_static {
  margin-top: -75px;
}

.materinka-front #page-header_static img {
  display: block;
  max-width: 100%;
  width: 100%;
}

.materinka-front #page-header_static .title {
  background: #000;
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  padding: 20px 120px;
  text-align: center;
  text-transform: uppercase;
}

.materinka-front-teaser-content::after,
.materinka-front-news .views-row::after {
  clear: both;
  content: "";
  display: block;
}

.materinka-front-teaser-content {
  display: flex;
  margin: 0;
  padding: 0;
  width: 100%;
}

.materinka-front-tile {
  background: #aab2ff;
  box-sizing: border-box;
  flex: 1 1 0;
  height: 200px;
  margin: 0;
  padding: 0;
  position: relative;
  width: auto;
}

.materinka-front-tile.is-even {
  background: #fe5e00;
}

.materinka-front-tile a {
  align-items: center;
  box-sizing: border-box;
  color: #000;
  display: flex;
  font-size: 3rem;
  height: 100%;
  justify-content: center;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  width: 100%;
}

.materinka-front-news .views-row {
  margin-top: 10px;
  padding: 30px;
  position: relative;
}

.materinka-front-news .views-field-title {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.materinka-front-news .views-field-title a {
  color: #000;
  text-decoration: underline;
}

.materinka-front-news .views-field-body p {
  color: #000;
}

.materinka-front-news .views-field-field-news-teaser-image {
  float: right;
}

.materinka-front-news .views-field-field-news-teaser-image img {
  display: block;
  margin-left: 20px;
}

.materinka-front-news .pager {
  margin: 30px 0 0;
  padding: 0;
  text-align: center;
}

.materinka-front-news .pager li {
  display: inline-block;
}

.materinka-front-news .pager li a {
  background: #ffa068;
  border: 0;
  border-radius: 0;
  color: #000;
  font-weight: 700;
  padding: 10px 35px;
  text-transform: uppercase;
}

.materinka-news-detail .materinka-detail-title {
  background: #fe5e00;
  color: #000;
  font-size: 5rem;
  font-weight: 700;
  margin: 0 0 10px;
  padding: 30px 20px;
  text-align: center;
  text-transform: uppercase;
}

.materinka-news-detail-row {
  background: #ffa068;
  margin: 10px 0;
  min-height: 210px;
  overflow: hidden;
  padding: 30px;
}

.materinka-news-detail-row:nth-of-type(even) {
  background: #aab2ff;
}

.materinka-news-detail-copy h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 24px;
  text-decoration: underline;
  text-transform: uppercase;
}

.materinka-news-detail-copy p {
  color: #000;
  font-size: 1.45rem;
  line-height: 1.45;
  margin: 0 0 16px;
}

.materinka-news-detail-image {
  float: right;
  margin: 0 0 20px 30px;
  max-width: 380px;
}

.materinka-news-detail-image img {
  display: block;
  height: auto;
  width: 100%;
}

.materinka-page .page-header {
  background: #fe5e00;
  color: #000;
  font-size: 5rem;
  font-weight: 700;
  margin: 0 0 10px;
  padding: 30px 20px;
  text-align: center;
  text-transform: uppercase;
}

.materinka-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0 0 10px;
}

.materinka-nav a {
  align-items: center;
  background: #aab2ff;
  color: #000;
  display: flex;
  font-size: 2.4rem;
  justify-content: center;
  min-height: 120px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.materinka-nav a.is-active,
.materinka-nav a:nth-child(even) {
  background: #ffa068;
}

.materinka-intro,
.materinka-empty {
  background: #ffa068;
  margin: 10px 0;
  padding: 30px;
}

.materinka-intro h2 {
  margin-top: 0;
  text-transform: uppercase;
}

.materinka-gallery-intro-text {
  margin: 0 0 10px;
  color: #000;
  font-size: 14px;
  line-height: 1.35;
}

.materinka-gallery-intro-text p {
  margin: 0;
}

.node-mat-gallery__body {
  margin: 10px 0 0;
  padding: 22px 0 8px;
}

.node-mat-gallery__body p {
  margin: 0 0 14px;
  line-height: 1.35;
}

.materinka-gallery-intro-grid,
.node-mat-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin: 0 0 10px;
  background: #fff;
}

.node-mat-gallery__grid {
  margin-top: 10px;
}

.materinka-gallery-intro-grid a,
.node-mat-gallery__grid a {
  display: block;
  overflow: hidden;
}

.materinka-gallery-intro-grid img,
.node-mat-gallery__grid img {
  display: block;
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.node-mat-gallery__links {
  margin: 0 0 38px;
}

.node-mat-gallery__links a {
  display: block;
  padding: 10px 14px;
  border-bottom: 2px solid #fff;
  background: #ffa068;
  color: #000;
  font-size: 18px;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.node-mat-gallery__links a:hover,
.node-mat-gallery__links a:focus,
.node-mat-gallery__links a.is-active {
  text-decoration: underline;
}

.materinka-card-grid {
  display: grid;
  gap: 10px;
}

.materinka-card-grid-news,
.materinka-card-grid-plays {
  grid-template-columns: 1fr;
}

.materinka-card-grid-people,
.materinka-card-grid-galleries {
  grid-template-columns: repeat(3, 1fr);
}

.materinka-card {
  background: #ffa068;
  color: #000;
  min-height: 160px;
  position: relative;
}

.materinka-card::after {
  clear: both;
  content: "";
  display: block;
}

.materinka-card a {
  color: #000;
}

.materinka-card-image {
  background: #000;
  display: block;
  overflow: hidden;
}

.materinka-card-image img {
  display: block;
  height: auto;
  width: 100%;
}

.materinka-card-grid-news .materinka-card-image,
.materinka-card-grid-plays .materinka-card-image {
  float: right;
  width: 33.333%;
}

.materinka-card-grid-people .materinka-card-image,
.materinka-card-grid-galleries .materinka-card-image {
  float: none;
  width: 100%;
}

.materinka-card-grid-galleries .materinka-card {
  min-height: 0;
}

.materinka-card-content {
  padding: 24px 30px;
}

.materinka-card-grid-galleries .materinka-card-content {
  padding: 14px 24px 16px;
}

.materinka-card h2,
.materinka-card h3 {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 15px;
  text-transform: uppercase;
}

.materinka-card-grid-plays .materinka-card h2 {
  font-family: 'Naivni-pismo', sans-serif;
  font-size: 4.5rem;
  line-height: 1.05;
  text-transform: none;
}

.materinka-card-grid-galleries .materinka-card h2 {
  margin-bottom: 0;
}

.materinka-card-meta {
  font-weight: 700;
  margin-bottom: 12px;
}

.materinka-age {
  background: url(/themes/custom/ndl11/images/repertoire-age-bg.png) left top / 100% 100% no-repeat;
  font-size: 2rem;
  font-weight: 700;
  height: 100px;
  left: 0;
  padding: 12px 10px;
  position: absolute;
  top: 0;
  width: 100px;
  z-index: 2;
}

.materinka-news-preview > h2 {
  background: #fe5e00;
  margin: 10px 0;
  padding: 20px;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .materinka-nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .materinka-card-grid-people,
  .materinka-card-grid-galleries {
    grid-template-columns: repeat(2, 1fr);
  }

  .materinka-gallery-intro-grid,
  .node-mat-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .materinka-card-grid-news .materinka-card-image,
  .materinka-card-grid-plays .materinka-card-image {
    float: none;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .materinka-front #page-header_static {
    margin-top: 0;
  }

  .materinka-front #page-header_static .title {
    font-size: 1.8rem;
    padding: 15px 20px;
  }

  .materinka-front-teaser-content {
    display: block;
  }

  .materinka-front-tile {
    height: auto;
  }

  .materinka-front-tile a {
    font-size: 2.4rem;
    line-height: 1.2;
    padding: 28px 15px;
  }

  .materinka-front-news .views-field-field-news-teaser-image {
    float: none;
  }

  .materinka-front-news .views-field-field-news-teaser-image img {
    margin: 0 0 20px;
    width: 100%;
  }

  .materinka-news-detail .materinka-detail-title {
    font-size: 3rem;
    padding: 20px 15px;
  }

  .materinka-news-detail-image {
    float: none;
    margin: 0 0 20px;
    max-width: none;
  }

  .materinka-page .page-header {
    font-size: 3rem;
    padding: 20px 15px;
  }

  .materinka-nav {
    display: block;
  }

  .materinka-nav a {
    min-height: 0;
    padding: 20px;
  }

  .materinka-card-grid-people,
  .materinka-card-grid-galleries {
    grid-template-columns: 1fr;
  }

  .materinka-gallery-intro-grid,
  .node-mat-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .materinka-card h2,
  .materinka-card h3,
  .materinka-card-grid-plays .materinka-card h2 {
    font-size: 2.6rem;
  }

  .materinka-card-grid-galleries .materinka-card-content {
    padding: 12px 16px 14px;
  }
}

/* Stable responsive header geometry. */
.site-header.navbar.navbar-default {
  box-sizing: border-box;
  border: 0;
  min-height: 0;
}

.site-header > .container,
.site-header .navbar-header,
.site-header .right {
  box-sizing: border-box;
}

.site-header > .container,
.site-header .navbar-header {
  position: static;
  height: 100%;
  margin: 0;
  padding: 0;
}

.site-header .logo {
  pointer-events: none;
}

.site-header .header-bg,
.site-header .header-bg-mobile {
  pointer-events: none;
}

.site-header .lang,
.site-header .lang a {
  color: #000;
}

.navbar.navbar-default .right .navbar-toggle {
  display: block;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.navbar.navbar-default .right .navbar-toggle:hover,
.navbar.navbar-default .right .navbar-toggle:focus {
  background: transparent;
}

.navbar-toggle .icon-bar {
  display: block;
  width: 30px;
  height: 4px;
  margin: 8px 0 0;
  border-radius: 0;
  background: #fff;
}

.navbar-toggle .sr-only + .icon-bar {
  margin-top: 0;
}

@media (min-width: 1255px) {
  .site-header.navbar.navbar-default {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 1280px;
    height: 145px;
    margin: 0 auto 14px;
    overflow: visible;
    background: transparent;
    transform: none;
  }

  .navbar.navbar-default .logo {
    display: block !important;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    text-align: left;
  }

  .navbar.navbar-default .header-bg {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 28px !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
  }

  .navbar.navbar-default .header-bg-mobile {
    display: none !important;
  }

  .navbar.navbar-default .link-front {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 74%;
    height: 100%;
  }

  .navbar.navbar-default .right {
    position: absolute;
    right: 85px;
    top: 48px;
    display: flex;
    align-items: center;
    height: 34px;
    margin: 0;
    line-height: 34px;
    transform: none;
  }

  .navbar.navbar-default .right .navbar-toggle {
    position: static;
    flex: 0 0 30px;
    margin: 0 22px 0 0;
    padding: 0;
  }

  .navbar.navbar-default .right .search {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    margin: 0 13px 0 0;
    top: 0;
    transform: translateY(7px);
  }

  .site-header .lang {
    flex: 0 0 auto;
    font-size: 20px;
    line-height: 34px;
    white-space: nowrap;
    transform: translateY(7px);
  }

  .navbar.navbar-default .navbar-collapse {
    left: auto;
    right: 120px;
    top: 88px;
    width: 200px;
    z-index: 1001;
  }
}

@media (min-width: 768px) and (max-width: 1254px) {
  .site-header.navbar.navbar-default {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% - 30px);
    max-width: 1140px;
    height: 86px;
    margin: 8px auto 14px;
    overflow: visible;
    background: #ff6400;
    transform: none;
  }

  .main-container,
  body:has(.page-hero) .main-container,
  body.path-frontpage .main-container,
  .page-hero,
  body.path-frontpage #block-ndl11-front-carousel {
    margin-top: 0;
  }

  .navbar.navbar-default .logo {
    display: flex !important;
    position: absolute;
    top: 0;
    left: 110px;
    right: 190px;
    width: auto;
    height: 86px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
  }

  .navbar.navbar-default .header-bg {
    display: none !important;
  }

  .navbar.navbar-default .header-bg-mobile {
    display: block !important;
    width: auto;
    max-width: 100%;
    height: 58px;
    object-fit: contain;
    object-position: center center;
    transform: none !important;
  }

  .navbar.navbar-default .link-front {
    display: block;
    position: absolute;
    left: 110px;
    right: 190px;
    top: 0;
    width: auto;
    height: 86px;
  }

  .navbar.navbar-default .right {
    position: absolute;
    left: 30px;
    right: 30px;
    top: 50%;
    bottom: auto;
    display: flex;
    align-items: center;
    height: 45px;
    margin: 0;
    line-height: 45px;
    transform: translateY(-50%);
  }

  .navbar.navbar-default .right .navbar-toggle {
    position: static;
    flex: 0 0 30px;
    margin: 0 auto 0 0;
    padding: 0;
  }

  .navbar.navbar-default .right .search {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    margin: 0 12px 0 auto;
    top: 0;
  }

  .site-header .lang {
    flex: 0 0 auto;
    font-size: 20px;
    line-height: 45px;
    white-space: nowrap;
  }

  .navbar.navbar-default .navbar-collapse {
    left: 30px;
    right: auto;
    top: 86px;
    width: 200px;
    z-index: 1001;
  }
}

@media (max-width: 767px) {
  .site-header.navbar.navbar-default {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% - 30px);
    max-width: 480px;
    height: 95px;
    margin: 8px auto 0;
    overflow: visible;
    background: #ff6400;
    transform: none;
  }

  .navbar.navbar-default .logo {
    display: flex !important;
    position: absolute;
    top: 0;
    left: 56px;
    right: 56px;
    width: auto;
    height: 50px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
  }

  .navbar.navbar-default .header-bg {
    display: none !important;
  }

  .navbar.navbar-default .header-bg-mobile {
    display: block !important;
    width: auto;
    max-width: 100%;
    height: 50px;
    object-fit: contain;
    object-position: center center;
    transform: none !important;
  }

  .navbar.navbar-default .link-front {
    display: block;
    position: absolute;
    left: 56px;
    right: 56px;
    top: 0;
    width: auto;
    height: 50px;
  }

  .navbar.navbar-default .right {
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0;
    display: flex;
    align-items: center;
    height: 45px;
    margin: 0;
    line-height: 45px;
  }

  .navbar.navbar-default .right .navbar-toggle {
    position: static;
    flex: 0 0 30px;
    margin: 0 auto 0 0;
    padding: 0;
  }

  .navbar.navbar-default .right .search {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    margin: 0 9px 0 auto;
    top: 0;
  }

  .site-header .lang {
    flex: 0 0 auto;
    font-size: 20px;
    line-height: 45px;
    white-space: nowrap;
  }

  .navbar.navbar-default .navbar-collapse {
    left: 15px;
    right: auto;
    top: 95px;
    width: min(200px, calc(100vw - 45px));
    z-index: 1001;
  }
}
