@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Great+Vibes');
@import url('https://fonts.googleapis.com/css?family=Dancing+Script');

:root {
  --masterBrown: #5F3213;
  --masterOrange: #CB7628;
  --masterBrown2: #5F32134D;
  --masterOrange2: #CB76284D;
  --masterBlack: rgba(34, 34, 34, 1);
  --masterBackground: #e0dbd3;
}

* {
  margin: 0;
  padding: 0;
  border: 0;
  scroll-behavior: smooth;
}

a, img {
  text-decoration: none;
  border: 0;
  color: #FFF;
}

html {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
}
#privacyWrap {
  width: 80%;
  background: var(--masterOrange);
  position: fixed;
  box-sizing: border-box;
  bottom: 0px;
  padding: 10px 20px;
  z-index: 200;
}
#privacyWrap span {
  background: var(--masterBrown);
  display: inline-block;
  padding: 1px;
}
#privacyWrap span button {
  border: 2px solid var(--masterOrange);
  background: var(--masterBrown);
  padding: 3px 12px;
  color: #fff;
  box-sizing: border-box;
}
body {
  width: 100%;
  min-height: 2000px;
  background: var(--masterBackground);
  color: #333;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  position: relative;
}
#debugger {
  display: none;
  height: 60px;
  width: 45px;
  padding: 5px;
  position: fixed;
  bottom: 0;
  right: 0;
  background: red;
  color: green;
  z-index: 999;
}
body header {
  width: 100%;
  height: 700px;
  color: #fff;
  background: rgba(0, 0, 0, 0) url('../img/image4.jpg') no-repeat scroll top center / cover;
  position: relative;
  left: 0px;
  top: 0px;
  z-index: 10;
  opacity: 1;
  transition: opacity 1000ms linear 0s;

}

body header #headerOver {
  background: rgba(0,0,0,.4);
  height: 700px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
}
body header .headerText {
  z-index: 11;
  position: relative;
  top: 24%;
  left: 20%;
  width: 80%;
  box-sizing: border-box;
  text-align: justify;
}

body header .headerText .blocks {
  font-size: 60px;
  color: #FFFFFF;
  font-family: 'Raleway', sans-serif;
  font-weight: bold;
}
body header .headerText .heading {
  font-size: 120px;
  color: #FFFFFF;
  font-family: 'Great Vibes', cursive;
  margin: -30px 150px;

}
body header .headerText p {
  margin-top: 20px;
  width: 40%;
  font-size: 18px;
}
#headerViewportWrap {
  background: rgba(34,34,34,0);
  height: 55px;
  padding: 10px 0;
  position: fixed;
  width: 100%;
  padding: 10px 20%;
  z-index: 20;
  transition: all linear .3s;
}
#headerViewportWrap.colored {
  background: rgba(34,34,34,1);
}
#headerViewportWrap .logo {
  float: left;
}

#headerViewportWrap .logo img {
  height: 60px;

}
#headerViewportWrap nav {
  display: inline-block;
  margin: 20px auto;
  width: 50%;
  text-align: right;

  height: 50px;

}
#headerViewportWrap nav span {
  display: none;

}
#headerViewportWrap nav ul {
  margin-top: 0;
}

#headerViewportWrap nav ul li {

  display: inline-block;
  line-height: 20px;
  padding: 10px 15px;
}
#headerViewportWrap nav ul li.search {
  height: 35px;
  width: 200px;
  padding: 0;
  margin: 0;
  text-align: left;
  box-sizing: border-box;
  line-height: 10px;
  position: relative;
  top: 10px;
  border: 1px solid #fff;
}
#headerViewportWrap nav ul li.search .searchBox {
  width: 85%;
  height: 100%;
  float: left;
  padding-left: 9px;
  box-sizing: border-box;
  font-size: 15px;
}
#headerViewportWrap nav ul li.search .searchBox input {
  width: 99%;
  height: 100%;
  background: transparent;
  border: none;
  color: #fff;
}
#headerViewportWrap nav ul li.search .searchButton {
  width: 15%;
  height: 100%;
  float: left;
}
#headerViewportWrap nav ul li.search .searchButton button {
  height: 100%;
  width: 100%;
  background: none;
  border-left: 1px solid #fff;
}
#headerViewportWrap nav ul li.search .searchButton button i {
  display: block;
  color: #fff;
  padding-top: 2px;
  background: rgba(0,0,0,0);
}
#headerViewportWrap nav ul li .language {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 32px;
  display: inline-block;
  background-image: url("../img/icons/sprite_flags.png");
  background-size: 240px;
  background-position: -120px -40px;
}
#headerViewportWrap nav ul li .language.en {
  background-position: -160px -40px;
}
#headerViewportWrap nav ul li .language.en:hover {
  background-position: -160px 0px
}
#headerViewportWrap nav ul li .language.de {
  background-position: -200px -40px;
}
#headerViewportWrap nav ul li .language.de:hover {
background-position: -200px 0;
}
#headerViewportWrap nav ul li .language:hover {
  background-position: -120px 0;
}
#headerViewportWrap nav ul li .languageSelector {
  display: none;
  position: absolute;
  width: 160px;
  height: 60px;
  background: var(--masterOrange);
  top: 32px;
  border-radius: 20px;
}

#headerViewportWrap nav ul li .languageSelector .cz {
  top: 10px;
  left: 10px;
  background-position: -120px -40px;
}
#headerViewportWrap nav ul li .languageSelector .cz:hover {
  background-position: -120px 0;
}
#headerViewportWrap nav ul li .languageSelector .en {
  top: 10px;
  left: 60px;
  background-position: -160px -40px;
}
#headerViewportWrap nav ul li .languageSelector .en:hover {
  background-position: -160px 0;
}
#headerViewportWrap nav ul li .languageSelector .de {
  top: 10px;
  left: 110px;
  background-position: -200px -40px;
}
#headerViewportWrap nav ul li .languageSelector .de:hover {
  background-position: -200px 0;
}

#headerViewportWrap nav ul li a {
  transition: all linear .3s;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 16px;
}
#headerViewportWrap nav ul li:hover>a {
  color: #da7e29;
}
#headerViewportWrap nav ul li:active>a {
  color: #87501d;
}
h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 40px;
  font-weight: 100;
  text-align: center;
  display: block;
  color: var(--masterBrown);
  padding-top: 85px;
  margin: 0;
}
h1:before, h1:after {
  content: "";
  background-color: transparent;
  margin: 9px 20px;
  background-image: url("../img/web/h1stripes.png");
  background-repeat: no-repeat;
  width: 55px;
  height: 11px;
  display: inline-block;
}
h1:before {
  background-position: left center;
}
h1:after {
  background-position: right center;
}

h2 {
  color: var(--masterBrown);
}

main {}
main article {
  width: 60%;
  min-height: 450px;
  margin: auto;
}
main article:not(.full) p {
  text-align: justify;
  font-size: 18px;
  padding-bottom: 10px;
}
main article.full {
  margin: 0;
  width: 100%;
}
main article .smallBlocks {
  width: 50%;
  text-align: justify;
  margin: auto;

}

main article ul {
  list-style: none;
  margin: unset;
  position: relative;

  padding-bottom: 80px;

}


main article ul .box {
  margin: 5px auto;
  text-align: center;
  width: 800px;
  padding: 15px 0px;
  color: #000;

}
main article ul .box.inline {
  display: inline-block;
  width: unset;
  padding: 10px 15px;
  margin: 0 8px;

}

main article ul .box:nth-child(even) {

  background: var(--masterBrown2);

}
main article ul .box:nth-child(odd) {
  background: var(--masterOrange2);

}
main article ul .box:nth-child(even):hover {
  background: var(--masterBrown);
  color: var(--masterOrange);
}
main article ul .box:nth-child(odd):hover {
  background: var(--masterOrange);
}

main article #brainTree {
  text-align: center;
  position: relative;
}
main article ul li.line {
  width: 300px;
  margin: 15px auto;
  position: relative;
  padding-left: 30px;
  box-sizing: border-box;
}

main article ul a {
  display: contents;
}


main article ul .box.line.email,
main article ul .box.line.telephone,
main article ul .box.line.instagram,
main article ul .box.line.facebook,
main article ul .box.line.youtube {
 background: var(--masterOrange2);
 color: var(--masterBlack);
}
main article ul .box.line.instagram,
main article ul .box.line.facebook,
main article ul .box.line.youtube {
  padding: 0;
}

main article ul .box.line.instagram a,
main article ul .box.line.facebook a,
main article ul .box.line.youtube a {
  color: #000;
  display: inline-block;
  height: 50px;
  width: 300px;
  padding: 15px;
  box-sizing: border-box;
  text-align: center;
  position: relative;
  left: 15px;
}

main article ul .box.line.email:hover,
main article ul .box.line.telephone:hover,
main article ul .box.line.instagram:hover,
main article ul .box.line.facebook:hover,
main article ul .box.line.youtube:hover {
 background: var(--masterOrange);
}

main article ul li.line.email:before,
main article ul li.line.telephone:before,
main article ul li.line.instagram:before,
main article ul li.line.facebook:before,
main article ul li.line.youtube:before {
  display: inline-block;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 10px;
  left: 70px;
  content: "";
  background-size: 30px;
  background-repeat: no-repeat;
}
main article ul li.line.email:before {
  background-image: url("../img/web/mail.png");
  left: 30px;
}
main article ul li.line.telephone:before {
  background-image: url("../img/web/tel.png");
}
main article ul li.line.instagram:before {
  background-image: url("../img/web/logoIGWhite.png");
}
main article ul li.line.facebook:before {
  background-image: url("../img/web/logoFBWhite.png");
}
main article ul li.line.youtube:before {
  background-image: url("../img/web/logoYTWhite.png");
}

main article #tree {

}

main article #tree #treeWrap {
  width: 540px;
  height: 600px;
  text-align: center;
  margin: 0 auto;
  /*NEW*/
  position: relative;
}
main article #tree #treeWrap img {
  border: 2px solid var(--masterBrown);
  border-radius: 50%;
  padding: 80px;
  position: relative;
  width: 35%;
  text-align: center;
  top: 200px;
/*NEW*/
border: 3px solid var(--masterBrown);
  border-radius: 50%;
  padding: 70px;
  position: relative;
  width: 50%;
  text-align: center;
  top: 125px;
}
main article #tree #treeWrap img {
border: 3px solid var(--masterBrown);
  border-radius: 50%;
  padding: 70px;
  position: relative;
  width: 50%;
  text-align: center;
  top: 125px;
}

main article #tree #treeWrap .treeFruit {
  position: relative;
  transition: all linear .2s;

  border-radius: 10px;
  width: 70%;
  display: inline-block;
  background: var(--masterOrange2);

  /*NEW*/
  position: absolute;
  padding: 15px 10px;

}
main article #tree #treeWrap .treeFruit h2 {
  /*position: relative;
  top: -40px;*/
}
main article #tree #treeWrap .treeFruit p {
  /*position: relative;
  top: -30px;*/
}
/* old */
main article #tree #treeWrap .treeFruit:nth-child(2) {
  top: -45%;
  left: -63%;
}
main article #tree #treeWrap .treeFruit:nth-child(3) {
  top: -85%;
  left: 62%;

}
main article #tree #treeWrap .treeFruit:nth-child(4) {
  top: -75%;
  left: -75%;

}
main article #tree #treeWrap .treeFruit:nth-child(5) {
  top: -120%;
  left: 75%;
}
/*new*/
main article #tree #treeWrap .treeFruit:nth-child(2) {
  top: 10%;
  left: -70%;
}
main article #tree #treeWrap .treeFruit:nth-child(3) {
  top: 10%;
  left: 100%;

}
main article #tree #treeWrap .treeFruit:nth-child(4) {
  top: 55%;
  left: -75%;

}
main article #tree #treeWrap .treeFruit:nth-child(5) {
  top: 55%;
  left: 105%;
}

/* old */
main article #tree #treeWrap .treeFruit:nth-child(2):before {
  left: 220px;
  top: 140px;

}
main article #tree #treeWrap .treeFruit:nth-child(3):before {

  top: 200px;
  left: -225px;
  background-position-x: -110px;
}
main article #tree #treeWrap .treeFruit:nth-child(4):before {

  top: 70px;
  left: 230px;
  background-position-x: -160px;
}
main article #tree #treeWrap .treeFruit:nth-child(5):before {
  top: 110px;
  left: -225px;
  background-position-x: -270px;
}
/* new */


main article #tree #treeWrap .treeFruit:nth-child(2):before {
  left: 450px;
  top: 120px;

}
main article #tree #treeWrap .treeFruit:nth-child(3):before {

  top: 120px;
  left: -130px;
  background-position-x: -110px;
}
main article #tree #treeWrap .treeFruit:nth-child(4):before {

  top: 90px;
  left: 520px;
  background-position-x: -160px;
}
main article #tree #treeWrap .treeFruit:nth-child(5):before {
  top: 90px;
  left: -200px;
  background-position-x: -270px;
}

main article #tree #treeWrap .treeFruit:hover:before {
  background-color: var(--masterBrown);
  color: #fff;
  background-image: url("../img/icons/notesSpriteW.png");
}

main article #tree #treeWrap .treeFruit:hover {
  background: var(--masterOrange);
  color: #fff;
  border-color: var(--masterBrown);
  border-radius: 20px;
  padding: 15px 20px;
}
main article #tree #treeWrap .treeFruit:hover>h2 {
  color: #fff;

}
main article #tree #treeWrap .treeFruit:before {
  background: var(--masterBackground);
  transition: all linear .5s;
  width: 50px;
  height: 50px;
  position: relative;
  border: 2px solid var(--masterBrown);
  border-radius: 50%;
  display: inline-block;
  color: var(--masterBrown);
  font-size: 34px;
  padding-top: 4px;
  content: "";
  background-image: url("../img/icons/notesSpriteB.png");
  background-size: cover;
  background-position: -55px 0;


  /*new*/
  background: var(--masterBackground);
  transition: all linear .5s;
  width: 50px;
  height: 50px;
  position: absolute;
  border: 2px solid var(--masterBrown);
  border-radius: 50%;
  display: inline-block;
  color: var(--masterBrown);
  font-size: 34px;
  padding-top: 4px;
  content: "";
  background-image: url("../img/icons/notesSpriteB.png");
  background-size: cover;
  background-position:
-55px 0;
}

main article #tree div.over {
  background: var(--masterBackground);
  height: 25px;
  position: relative;
  width: 65%;
  top: -45px;
  margin: auto;
}
main article #tree div.over div {
  background: rgb(34, 34, 34);
  height: 15px;

}

.gallery {
  width: 70%;
  margin: 0 auto;
}

.galleryWrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  position: relative;
}

/* Nastavení pro box s obrázkem */
.galleryImage {
  width: 100%;
  padding-top: 75%;
  position: relative;
  overflow: hidden;
  background-color: #f0f0f0;
  cursor: pointer;
}

.galleryImage:before {
  background: var(--masterBrown2);
  width: 100%;
  height: 100%;
  display: inline-block;
  position: absolute;
  content: "";
  z-index: 1;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease;
}
.galleryImage:hover > img {
  transform: translate(-50%, -50%) scale(1.2);

}
.galleryImage:hover:before {

  opacity: 0;
}


.galleryImage img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  transition: transform 0.5s ease;
}


.wdPhotoCaption {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: #333;
  display: none;
}
iframe {
  border: none;
}

.video-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  position: relative;
}
.video-thumb {
  position: relative;
  width: 100%;

  overflow: hidden;
  cursor: pointer;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.3s ease;
}
.video-thumb .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.2);
  opacity: 0;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
  padding: 0.5rem;
}
.video-thumb:hover .overlay {
  opacity: 1;
}
.play-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--masterOrange);
}
.video-title {
  font-size: 13px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--masterBrown);
  width: 100%;
  padding: 4px;
}

.videoModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.videoModal-content {
  position: relative;
  margin: 5% auto;
  max-width: 800px;
  background: #000;
}

.videoModal-videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.videoModal-videoWrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.videoModal-close {
  position: absolute;
  top: -30px;
  right: -40px;

  font-size: 60px;
  cursor: pointer;
  z-index: 1;
  color: var(--masterOrange);
}



footer {
  background: var(--masterBlack);
  height: 55px;
  color: #fff;
  text-align: center;
  padding: 20px 0;

}
#temp {
  position: fixed;
  bottom: 0;

  background: #0000006b;
  right: 0;
  z-index: 100;
  transition: all 0.5s ease;
}
#temp.toped {
  position: fixed;
  bottom: 60px;
}
#temp.bottomed {
  position: absolute;
  bottom: 95px;
}
#temp a {

  display: block;
  width: 40px;
  height: 40px;
  padding: 6px 4px;
  background-size: 40px;
  background-repeat: no-repeat;
  background-position: center;
}
#temp a.facebook {
  background-image: url("../img/web/logoFBWhite.png");
}
#temp a.instagram {
  background-image: url("../img/web/logoIGWhite.png");
}
#temp a.youtube {
  background-image: url("../img/web/logoYTWhite.png");
}
#temp a.facebook:hover {
  background-image: url("../img/web/logoFBBlack.png");
}
#temp a.instagram:hover {
  background-image: url("../img/web/logoIGBlack.png");
}
#temp a.youtube:hover {
  background-image: url("../img/web/logoYTBlack.png");
}
#temp img {
  height: 40px;
  padding: 6px 4px;
}

  .achievements {
  background-color: rgba(202, 202, 202, 0.78);
  background-image: url('../img/image6.jpg');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;

  padding-top: 22px;
  position: relative;
}

  .achievements h1 {
  position: relative;
}


  .achievements:before {
  width: 100%;
  height: 99px;
  background: #22222278;
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  background: linear-gradient(180deg, var(--masterBackground) 30px, rgba(202, 202, 202, 0.78) 100%);
  padding-top: 70px;
}

  .achievements:after {
  width: 100%;
  height: 80px;
  background: #22222278;
  content: "";
  position: absolute;
  bottom: 0;
  background: linear-gradient(180deg, #fff0 10%,var(--masterBackground) 80%);
}
  .achievements ul {
  background: rgba(202, 202, 202, 0.78);
}
.concerts {
  margin-top: 50px;
  background-color: #222222;
  background-image: url('../img/image7.jpg');
  background-position: center -64px;
  background-repeat: no-repeat;
  background-size: cover;
}
.concerts a {
  color: var(--masterOrange);
}

.concerts .concert:hover a {
  color: var(--masterBrown);
}
.concerts .concert a:hover {
  color: var(--masterBrown2);
}
.concerts h1 {

  z-index: 5;
  position: relative;

}
.concerts-block {
  width: 100%;
  background-color: rgba(202, 202, 202, 0.78);
  color: white;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
}
.concerts-block:before {
  width: 100%;
  height: 200px;
  background: #22222278;
  content: "";
  position: absolute;
  top: -200px;
  left: 0px;
  background: linear-gradient(180deg, var(--masterBackground) 75px, rgba(202, 202, 202, 0.78) 100%);
}

.emptyEvents {
  text-align: center;
  color: var(--masterOrange);
  font-size: 20px;
  font-weight: bold;
}
.months {
  display: flex;
  justify-content: space-between;
  text-align: center;
  border-bottom: 2px solid var(--masterOrange);
  padding-bottom: 20px;
  margin-bottom: 20px;
  min-height: 250px;
}

.month-block {
  flex: 1;
  padding: 0 15px;
}

.month-block h2 {
  color: var(--masterBrown);
  margin-bottom: 15px;
}

.concert {
  display: block;
  min-height: 80px;
  background-color: var(--masterOrange2);
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  transition: background-color 0.3s, transform 0.3s;
  text-align: left;

  position: relative;
}
.concert h3 {
  text-align: left;
}

.concert:hover {
  background-color: var(--masterOrange);
  transform: scale(1.02);
}
.concert:hover h3 {
  color: var(--masterBrown);
}
.date {
  display: inline-block;
  color: white;
  font-weight: bold;
  padding: 5px;
  border-radius: 5px;
  width: 75px;
  height: 80px;
  margin-right: 10px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
  background-image: url("../img/web/calendar-icon.png");
  background-size: 75px;
  background-origin: content-box;
  background-repeat: no-repeat;
  text-align: center;
  position: absolute;
  top: 10px;
  left: 10px;
}
.year {
  display: block;
  padding-top: 7px;
}

.month {
  display: block;
  font-size: 0.8em;
  color: var(--masterOrange);
}

.day {
  display: block;
  font-size: 1.5em;
  color: var(--masterBrown);
}

.details {
  color: white;
  display: inline-block;
  width: 75%;

  position: relative;
  top: -10px;
  left: 95px;
}

.event-name {
  font-size: 1.2em;
  color: var(--masterBrown);
}

.event-time,
.event-description {
  font-size: 0.9em;
  text-align: left;
}
.concerts .concerts-block .upcoming-events {
  width: 80%;
  margin: auto;
}

.repertoire li {
  font-size: 16px;
  line-height: 1.8;
  padding-left: 20px;
}

.repertoire li:before {
  width: 20px;
  height: 20px;
  content: "";
  display: inline-block;
  position: relative;
  top: 18px;
  left: -10px;
}


.miniMenu {
  text-align: center;
  padding-bottom: 0;
  margin-top: 20px;
}
.miniMenu .box.inline {
  background: var(--masterOrange2);
  color: var(--masterBrown);
  cursor: pointer;
}
.miniMenu .box.inline:hover {
  background: var(--masterBrown);
  color: var(--masterOrange);
}

.miniMenu .box.inline.active {
  background: var(--masterOrange);
  color: var(--masterBrown);
  cursor: pointer;
}
.miniMenu .box.inline.active:hover {
  color: #fff;
}
.frameWrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 450px;
  display: none;
  /*overflow: hidden;*/
}

.frameWrap.active {
  display: flex;
}
.frame {
  position: relative;
  width: 200px;
  height: 300px;
  margin: 0 10px;
  background-color: #ddd;
  border-radius: 10px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease,left 0.3s ease;
  left: 0;
  cursor: pointer;
}

.frame .imageBorder {
  width: 200px;
  height: 300px;
  object-fit: cover;
  display: block;
  overflow: hidden;
}
.frame .imageBorder img {
  transition: transform 0.5s ease;
}
.frame .imageBorder:before {
  background: var(--masterBrown2);
  width: 200px;
  height: 300px;
  display: inline-block;
  position: absolute;
  content: "";
  z-index: 1;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease;
}
.frame .imageBorder:hover:before {
  opacity: 0;
}
.frameHeaderName {
  position: absolute;
  top: -50px;
  background: var(--masterBrown2);
  width: 200px;
  height: 50px;
  font-size: 18px;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  color: var(--masterOrange);
}
.frameHeaderType {
  position: absolute;
  top: -18px;
  color: #fff;
  text-align: center;
  width: 200px;
}

.frame:hover .frameHeaderName {
  background: var(--masterBrown);
}

.frame .imageBorder {}
.frame:hover .imageBorder img {
  transform: scale(1.2);
}

.frame.active img {
  width: 200px;
}
/* Skrytí dalších rámečků */
.frame.hidden-left {
  transform: translateX(-20%) scale(0.8);
  opacity: 0;
}

.frame.hidden-right {
  transform: translateX(120%) scale(0.8);
  opacity: 0;
}

.frame.active {
  position: absolute;
  width: 100%;
  height: 300px;
  z-index: 10;
  left: 0;
}

/* Zobrazení textu */
.frame.active .text {
  display: block;
  position: absolute;
  top: 0;
  left: 220px;
  width: 100%;
  height: 300px;
  padding: 10px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.3s ease;
  box-sizing: border-box;
}

.frame .text {
  display: none;
  opacity: 0;
  transform: translateX(10%);
  transition: opacity 0.3s ease;
}
.frame .text p {
  font-size: 16px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Modalní pozadí */
#photoModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#photoModal:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

/* Obsah modalu */
.photoModal-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  max-width: 90%;
  height: 90%;
  /* Fix: Vždy 90% výšky okna */
  margin: auto;
  box-sizing: border-box;
}

/* Obrázek */
#modalImage {
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: auto;
  border-radius: 9px;
}

/* Caption */
#photoCaption {
  position: absolute;
  /* Umožní zarovnání k obrázku */
  bottom: 0;
  /* Přilepíme ke spodnímu okraji */
  left: 0;
  /* Zarovnáme levý okraj */
  width: 100%;
  /* Plná šířka rodiče */
  background: #5F3213E0;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 1rem;
  box-sizing: border-box;
  border-bottom-left-radius: 9px;
  border-bottom-right-radius: 9px;
  display: none;
}
#photoCaption:hover {
  background: var(--masterBrown);
}

/* Zavírací tlačítko */
.photoModal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--masterBrown2);
  color: var(--masterOrange);
  border: none;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;

}

.photoModal-close:hover {
  background: var(--masterBrown);

}

/* Navigační šipky */
.photoModal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--masterOrange);
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  width: 300px;
  height: 70%;
  transition: color 0.3s ease;
}

.photoModal-nav.prev {
  left: -25px;
  padding-right: 200px;
}

.photoModal-nav.next {
  right: -25px;
  padding-left: 200px;
}

.photoModal-nav:hover {
  color: var(--masterBrown);
}


@media screen and (max-width: 1900px) {
  #headerViewportWrap {
    padding: 10px 10%;
  }
  #headerViewportWrap nav {
  display: inline-block;
  margin: 20px auto;
  width: 70%;
  text-align: center;

  height: 50px;

}
}
@media screen and (max-width: 1500px) {
  body header #headerOver,body header {
    height: 420px;
  }

  body header .headerText {
    left: 100px;
    width: 85%;
    top: 100px;
  }
  body header .headerText p {
    width: 100%;
  }
  #headerViewportWrap {
    padding: 6px;
    position: fixed;
    background: #000;
    text-align: left;
    height: unset;
    box-sizing: border-box;


  }
  #headerViewportWrap .logo {

    z-index: 1;
    position: relative;
  }
  #headerViewportWrap .logo img {
    height: 50px;
  }
  #headerViewportWrap nav .burger {
    display: block;
    height: 25px;
    width: 35px;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  #headerViewportWrap nav {
    display: block;

    width: 100%;
    height: 75px;
    margin: 0;
    text-align: left;
    position: absolute;
    top: 0px;
    right: 0px;
  }
  #headerViewportWrap nav span {
    display: block;
    position: absolute;
    height: 5px;
    width: 100%;
    background: var(--masterOrange);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
    top: 0;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
    content: "";
  }
  #headerViewportWrap nav span:nth-child(2) {
    top: 10px;
  }
  #headerViewportWrap nav span:nth-child(3) {
    top: 20px;
  }
  #headerViewportWrap nav.open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: -3px;
    left: 8px;
  }

  #headerViewportWrap nav.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
  }

  #headerViewportWrap nav.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 23px;
    left: 8px;
  }

  #headerViewportWrap nav ul {
    display: none;
    margin-top: 60px;
  }
  #headerViewportWrap nav ul.open {
    display: block;
  }
  #headerViewportWrap nav ul li {
    display: block;

    line-height: 30px;
    text-align: center;
    background: #000;
  }

  #headerViewportWrap nav ul li .language {
    position: unset;
  }
  #headerViewportWrap nav ul li .languageSelector {
    position: relative;
    top: -50px;
    margin: auto;
    padding-top: 10px;
    box-sizing: border-box;
  }
  main article #tree #treeWrap {
    height: unset;
    width: unset;
    margin: 0;
    position: static;
    width: 100%;
  }

  main article #tree #treeWrap img {
    display: none;
  }

  main article #tree #treeWrap .treeFruit {
    position: static;
    width: 90%;
    margin: 10px 0;
    padding: 20px 25px;
    box-sizing: border-box;
  }
main article #tree #treeWrap .treeFruit:before {

    position: static;
  }



  main article #tree div.over {
    display: none;
  }

}

/*MOBILE*/
@media screen and (max-width: 1200px) {

  body header {
    height: 100%;
    padding-bottom: 110px;
    background-position: right center;
  }

  body header #headerOver {
    height: 100%;
  }

  body header .headerText {
    left: 10px;
    width: 95%;
    top: 100px;
    box-sizing: border-box;
  }

  body header .headerText .blocks {
    font-size: 40px;
    text-align: center;
  }
  body header .headerText .heading {
    margin: 0;
    font-size: 60px;
    width: 100%;
    text-align: center;
  }
  h1 {
    padding-top: 20px;
  }
  main article.full {
    overflow: hidden;
  }
  main article .smallBlocks {
    width: 90%;
  }


  .achievements ul {
    width: 100%;
    padding: 5px 10px;
    box-sizing: border-box;
  }
  .achievements::after {
    height: 12px;
  }
  main article ul .box {
    width: 100%;
  }

  .chamber-music {
    width: 100%;

  }

.repertoire .main-wrapper {
    width: 100%;
  }
.repertoire .tabs {
    display: block;
    height: unset;
  }

.repertoire .tabs_heading {
    writing-mode: unset;
    transform: unset;
    display: block;
    width: unset;
    text-align: left;
    white-space: break-spaces;
    margin-top: -10px;
  }
.repertoire .tabs_link .tabs_heading:before {
    background: var(--masterBrown);
    width: 10px;
    height: 10px;
    display: block;
    content: "";
    position: relative;
    left: -13px;
    top: 17px;
  }
.repertoire .tabs_link.active .tabs_heading:before {
    background: var(--masterOrange);
  }
  .tabs_content {
    height: 0;
    -webkit-transition: none;
    transition: none;
  }
  .tabs_content.active {
    height: unset;
  }
.repertoire h2 {
    display: none;
  }
.repertoire .tab_wrap {
    position: relative;
    padding: 0;
  }
  .tabs_link {
    font-size: 16px;
    padding: 20px 15px;
    border-bottom: 2px solid #CB7628;
    border-left: 2px solid transparent;
  }
  .tabs_link.active {
    padding: 20px 15px;
  }
.repertoire ul {
    padding: 15px 8px;
  }
.repertoire li:before {
    display: none;
  }
.repertoire li {
    line-height: 1.5;
    padding-left: 0;
    font-size: 14px;
  }

  .frameWrap {
    height: unset;
  }
  .frameWrap.active {
    display: block;
    width: 100%;
  }
  .frameWrap .frame {
    margin: 65px auto;
    height: unset;
    position: relative;

  }
  .frameWrap .frame.active {
    margin: 65px auto;
    height: unset;
    position: relative;

  }
  .frame .text {
    transform: none;
  }
  .frame.active .text {
    position: relative;
    left: 0;
    height: unset;
    width: 90%;
  }
  .frame.hidden-right {
    transform: none;
    opacity: 1;
  }
  .concerts-block {
    padding: 0;
  }
  .months {
    display: block;
  }

  .gallery {
    padding: 5px 20px;
    box-sizing: border-box;
    width: 100%;
  }
  .galleryWrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-grid {
  grid-template-columns: repeat(2, 1fr);
}
  .videoModal-close {
  top:unset;
  right: unset;
  bottom: -70px;
  left: 50%;
  margin-left: -30px;
}

  .contact {
    width: 100%;
  }

}