@font-face {
  font-family: LexendDeca;
  font-style: normal;
  font-weight: 200;
  src: url("font/LexendDeca-ExtraLight.ttf") format("truetype");
}
@font-face {
  font-family: LexendDeca;
  font-style: normal;
  font-weight: 300;
  src: url("font/LexendDeca-Light.ttf") format("truetype");
}
@font-face {
  font-family: LexendDeca;
  font-style: normal;
  font-weight: 400;
  src: url("font/LexendDeca-Regular.ttf") format("truetype");
}
@font-face {
  font-family: LexendDeca;
  font-style: normal;
  font-weight: 600;
  src: url("font/LexendDeca-Bold.ttf") format("truetype");
}
@font-face {
  font-family: LexendDeca;
  font-style: italic;
  font-weight: 400;
  src: url("font/LexendDeca-It.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

:root {
  --headerHeight: 84px;

  --colorBordo: #811023;
  --backgroundColor: #333333;

  /* APP VARS lt = light theme, dt = dark theme */
  --lt-white: rgb(248, 248, 248);
}

.header-wrapper-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  background-color: #1d1d1d;
  background-image: url("../img/bg2.jpg") !important;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  overflow: hidden;
}

img {
  image-rendering: optimizeQuality;
  image-rendering: -webkit-optimize-contrast;
  -webkit-image-rendering: crisp-edges !important;
}

body {
  font-size: 12pt; /* 0.85vw = 12pt při fullhd */
  background: var(--backgroundColor);
  height: 100%;
  font-weight: 300;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto !important;
}

a.noUnderline {
  text-decoration: none !important;
}

a.noUnderline:hover {
  text-decoration: none !important;
  border: none !important;
}

a {
  text-decoration: underline;
  color: inherit;
}

a:hover {
  text-decoration: none;
}

a.linkSocials {
  opacity: 0.85;
}

a.linkSocials:hover {
  opacity: 1;
}

.red {
  color: red;
}

.marginLeft44 {
  margin-left: 44px;
}

.hidden {
  display: none !important;
}

.header-menu ul a {
  text-decoration: none;
}



#bgimage {
  width: 100%;
  position: absolute;
  bottom: 0;
  clear: both;
  overflow: hidden;
  margin: 0 auto;
  padding: 0;
}

#bgimage img {
  object-fit: contain;
  max-width: 100%;
}



.glide__slide {
  opacity: 0;
  margin: 0 10px;
  text-align: center;
  transition: opacity 1s ease;
}

.glide__slide img {
  max-height: 95vh;
  max-width: 75%;

  border: 6px solid rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
  filter: drop-shadow(15px 15px 8px rgba(0, 0, 0, 0.05));
  transform: scale(1);
  transition: all 0.25s ease-in-out;
}

.glide__slide img:hover {
  transform: scale(1);
  transition: all 0s ease-in-out;
  border: 6px solid rgba(0, 0, 0, 0.35);
}

.glide__slide.glide__slide--active {
opacity: 1;

}

.glide__arrow {
  padding: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;

  border-radius: 0 !important;

  border: 3px solid rgba(0, 0, 0, 0.5);
  filter: grayscale(1);
}

.glide__bullet {
  background-color: transparent !important;
  border: 3px solid rgba(0, 0, 0, 0.75) !important;
}

.glide__bullet--active {
  border: 3px solid var(--colorBordo) !important;
}

.keen-slider__slide img {
  max-height: 95vh;
  min-width: 60vh;
}



#form-omluvenka .title, #form-prihlaska .title {
  text-align: center;
  margin-bottom: 36px;
}

#form-omluvenka .title h2, #form-prihlaska .title h2 {
  width: unset;
  padding: 0 !important;
  margin: 0;
  text-align: center;
  font-family: LexendDeca;
  font-weight: 400;
  font-size: 2.05rem;
  color: rgba(43, 43, 43, 0.85);
  line-height: 96px;
  display: inline-block;
}

#form-omluvenka .title img, #form-prihlaska .title img {
  width: 96px;
  height: 96px;
  position: relative;
  top: -10px;
  margin-right: 16px;
  padding: 0;
  vertical-align: middle;
}

#form-omluvenka .form-omluvenka__field {
  display: inline-block;
  width: 100%;
  clear: both;
  line-height: 50px;
}

#form-prihlaska .form-prihlaska__field {
  display: block;
  width: 100%;
  clear: both;
  margin-bottom: 12px;
}

#form-omluvenka .form-omluvenka__field label {
  font-family: LexendDeca;
  font-weight: 200;
  font-size: 1.15rem;
  color: rgba(0, 0, 0, 0.75);
  line-height: 50px;
}

#form-prihlaska .form-prihlaska__field label {
  display: block;
  font-family: LexendDeca;
  font-weight: 200;
  font-size: 1.15rem;
  color: rgba(0, 0, 0, 0.75);
  line-height: auto;
  margin-bottom: 6px;
  width: 100%;
}

#form-omluvenka .form-omluvenka__field input,
#form-omluvenka .form-omluvenka__field select {
  padding: 8px 12px;
  font-family: LexendDeca;
  font-weight: 200;
  font-size: 1.15rem;
  margin-left: 16px;
  float: right;
}

#form-prihlaska .form-prihlaska__field input, #form-prihlaska .form-prihlaska__field select {
  padding: 8px 12px;
  font-family: LexendDeca;
  font-weight: 200;
  font-size: 1.15rem;
  width: 100%;
}

.form-omluvenka__field select option, .form-prihlaska__field select option {
  padding: 8px 12px;
  font-family: LexendDeca;
  font-weight: 200;
  font-size: 1.15rem;
}

#form-omluvenka .form-omluvenka__field button, #form-prihlaska .form-prihlaska__field button {
  padding: 16px 28px;
  cursor: pointer;
  font-family: LexendDeca;
  margin-left: 20px;
  position: relative;
  transition: all 0.15s ease-in-out;
  font-size: 1.1rem;
  color: rgb(248, 248, 248);
  display: block;
  user-select: none;
  opacity: 0.88;
  border: 0;
}

#form-omluvenka .form-omluvenka__field button:hover, #form-prihlaska .form-prihlaska__field button:hover {
  opacity: 1;
  transition: all 0.05s ease-in-out;
}

#form-omluvenka .form-omluvenka__field button.zrusit, #form-prihlaska .form-prihlaska__field button.zrusit {
  background-color: #979ba1;
  border-bottom: 0px solid #979ba1;
  float: left;
}

#form-omluvenka .form-omluvenka__field button.odeslat, #form-prihlaska .form-prihlaska__field button.odeslat {
  background-color: #276e9f !important;
  border-bottom: 0px solid #276e9f;
  float: right;
}

.icon-table {
  width: 100%;
  border-collapse: collapse;
  font-family: LexendDeca;
}
.icon-table thead th {
  padding: 16px 12px;
  background-color: #276e9f;
  border-bottom: 2px solid #276e9f;
  text-align: left;
  font-weight: 600;
  color: #f8f9fa;
}
.icon-table tbody td {
  padding: 14px 12px;
  border-bottom: 1px solid #e9ecef;
  vertical-align: middle;
}
.icon-table tbody tr:hover {
  background-color: #dddddd;
}
.icon-table .tr--download {
  cursor: pointer;
}

.file-info {
  display: flex;
  align-items: center;
}
/* General Icon Styling */
.file-info .icon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  flex-shrink: 0; /* Prevents icon from shrinking if filename is long */
}
.file-info .icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.file-info img {
  display: block;
  width: 92px;
  height: 92px;
  margin-right: 12px;
}

/* Icon specific colors (optional) */
.icon-pdf {
  color: #d32f2f;
}
.icon-zip {
  color: #f57c00;
}
.icon-doc {
  color: #1976d2;
}
.icon-img {
  color: #388e3c;
}

/* Small tablets and larger mobile devices (481px - 768px) */
@media (width < 1025px) {
  html {
    overflow-x: hidden;
  }
  body {
    font-size: 12pt; /* 0.85vw = 12pt při fullhd */
    background: var(--backgroundColor);
    height: 100%;
    font-weight: 300;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: scroll;
  }

  #allwrapper {
    width: 100%;
    margin: 0 auto;
  }

  #footer-wrapper {
  position: relative;
  clear: both;
  margin: 700px auto 0;
}

  #form-omluvenka .title h2 {
    width: unset;
    padding: 0 !important;
    margin: 0;
    text-align: center;
    font-family: LexendDeca;
    font-weight: 400;
    font-size: 1.5rem;
    color: rgba(43, 43, 43, 0.85);
    line-height: 66px;
    display: inline-block;
  }

  #form-omluvenka .title img {
    width: 72px;
    height: 72px;
    position: relative;
    top: -10px;
    margin-right: 16px;
    padding: 0;
    vertical-align: middle;
  }

  #form-omluvenka .form-omluvenka__field {
    display: inline-block;
    width: 100%;
    clear: both;
    line-height: 35px;
    margin-bottom: 3px;
  }

  #form-omluvenka .form-omluvenka__field label {
    font-family: LexendDeca;
    font-weight: 200;
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.75);
    line-height: 35px;
  }

  #form-omluvenka .form-omluvenka__field input,
  #form-omluvenka .form-omluvenka__field select {
    padding: 8px 12px;
    font-family: LexendDeca;
    font-weight: 200;
    font-size: 1rem;
    margin-left: 16px;
    float: right;
  }

  #form-omluvenka .form-omluvenka__field button {
    padding: 12px 14px;
    cursor: pointer;
    font-family: LexendDeca;
    margin-left: 20px;
    position: relative;
    transition: all 0.15s ease-in-out;
    font-size: 0.95rem;
    color: rgb(248, 248, 248);
    display: block;
    user-select: none;
    opacity: 0.88;
    border: 0;
  }

  #header {
    position: relative;
    margin: 0 auto;
    width: 100%;
    transition: all 0.55s ease-in-out;

    transition-delay: 0.15s;

    user-select: none;
  }

  #header.unfolded {
    opacity: 0.95;
  }

  .header-wrapper #pnglogo-stamp {
    position: absolute;
    left: -300px;
    top: 50px;
    pointer-events: none;
    display: none;
    width: 100%;
    height: 185px;
    background-image: url("../img/zus melodie_logo_stamp-full_a4 width_transparent.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    z-index: 1000 !important;
    opacity: 0.95;
    
  }

  .header-background {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--colorBordo);
  }

  .header-background.unfolded {
    height: 20vh !important;
    max-height: 80px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.75);
    filter: drop-shadow(0 0 18px rgba(0, 0, 0, 0.5));
    opacity: 0.98;
  }

  .header-wrapper {
    position: relative;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    top: 0;
    left: 0;

    background-image: linear-gradient(rgb(248, 248, 248), #e6e6e6);
    transition: all 0.15s ease-in-out;
    opacity: 1 !important;
  }

  .header-menuUpper {
    position: absolute;
    right: 20px;
  }

  .header-menuUpper ul {
    list-style: none;
  }

  .header-menuUpper ul li {
    list-style-type: none;
    display: inline-block;
    float: left;
    padding: 13px 24px;
    cursor: pointer;
    font-family: LexendDeca;
    margin-left: 20px;
    position: relative;
    transition: all 0.15s ease-in-out;
  }

  .header-menuUpper ul li div {
    font-size: 1rem;
    color: rgb(248, 248, 248);
    display: block;
    user-select: none;
  }

  .header-menuUpper ul li:not(.selected) {
    top: -25px;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.15);
  }

  .header-menuUpper ul li.omluvenka:hover {
    border-bottom: 4px solid #52b1f5;
    transition: all 0.05s ease-in-out;
  }

  .header-menuUpper ul li.prihlaska:hover {
    border-bottom: 4px solid #57c738;
    transition: all 0.05s ease-in-out;
  }

  .header-menuUpper ul li.selected {
    top: -25px;
    padding-top: 25px;
    padding-bottom: 45px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.35);
  }

  .header-menuUpper ul li.disabled {
    display: none;
  }

  .header-menuUpper ul li.omluvenka {
    background-color: #276e9f !important;
    border-bottom: 0px solid #276e9f;
  }

  .header-menuUpper ul li.prihlaska {
    background-color: #3f9328 !important;
    border-bottom: 0px solid #3f9328;
  }

  .header-menu {
    position: relative;
    left: 0;
    top: 0;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .header-menu ul {
    width: 100%;
    list-style: none;
    height: auto;
    margin: 24px auto 0;
    padding: 0;
    display: block;
  }

  .header-menu ul li {
    list-style-type: none;
    display: block;
    height: 100%;
    padding: 12px 19px;
    cursor: pointer;
    font-family: LexendDeca;
    margin-left: 0px;
    position: relative;

    box-sizing: border-box;
    transition: all 0.15s ease-in-out;
  }

  .header-menu ul li div {
    font-size: 1rem;
    color: rgb(37, 37, 37);
    display: block;

    user-select: none;
  }

  .header-menu ul li.selected {
    background-color: #811023;
  }

  .header-menu ul li.selected > div {
    background-color: #811023;
    color: rgb(248, 248, 248);
  }

  .header-menu ul li:not(.selected):hover {
    background-color: #979ba1;
    transition: all 0.05s ease-in-out;
  }

  .header-menu ul a:not(.selected) {
    display: none;
  }
  .header-menu ul a.icon {
    position: absolute;
    right: 0;
    top: 0;
    color: rgb(248, 248, 248);
    display: block !important;
    text-align: right;
    width: 200px;
  }

  .header-wrapper svg {
    width: 100%;
    height: auto;
    fill: #811023;
    display: block;
    position: absolute;
    left: calc(50% + 15px);
    top: 60px;
    pointer-events: none;
    transition: all 0s ease-in-out;
    transform: translateX(-25%) !important;
    display: none !important;
  }

  .header-wrapper #pnglogo {
    position: relative;
    margin-top: 34px;
    display: block;
    width: 100%;
    height: 145px;
    background-image: url("../img/zus melodie_logo_horizontal_a4 length_transparent.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    z-index: 1000 !important;
    opacity: 0.95;
  }

  .header-wrapper .heroText {
    position: relative;
    top: 0px;
    left: 0;
    width: 100%;
    /* display: none !important; */
    place-items: center;
    height: calc(100% - 30px);
    padding-left: 25px;
    padding-right: 25px;
    font-family: LexendDeca;
    font-size: 0.95rem;
    line-height: 170%;
    color: rgba(0, 0, 0, 0.75);
    pointer-events: none;
    text-align: justify;
  }

  .contentDividerGraySmall {
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: 6px;
    background-color: #979ba1;
  }

  .contentDividerLight {
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: 40px;
    background-color: rgb(240, 240, 240);
    clear: both;
  }

  #content p {
    font-family: LexendDeca;
    font-weight: 300;
    font-size: 1.1rem;
    text-align: justify;
  }

  #page-wrapper {
    position: relative;
    width: 100%;

    /* padding-bottom: 1050px; */
    background-color: rgb(240, 240, 240);
    /* background-image: url("../img/zusmelodie_cz_background-1_min.png"); */
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: bottom center;
    overflow: hidden;
  }

  #hlavniStrana-aktuality-wrapper {
    width: 100%;
    background-color: #f5f5f5d0;
    /* min-height: 880px; */
    padding-top: 34px;
  }

  #hlavniStrana-aktuality-wrapper p {
    margin: 0 auto;
    padding: 8px 64px 18px;
    font-family: LexendDeca;
    font-weight: 200;
    font-size: 1.15rem;
    color: rgba(43, 43, 43, 0.92);
    line-height: 28px;
  }

  #contentwrapper {
    position: relative;
    margin: 0 auto;
    width: 100%;

    padding: 34px 0;
    /* margin-bottom: 500px; */
    background: #f5f5f5ef;
  }

  #contentwrapper .oboryIconsWrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: baseline;
    align-content: stretch;
  }

  #contentwrapper .oboryIcon-wrapper {
    padding: 24px 14px 14px;
    width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    float: left;
    transform: scale(0.9);
    background: rgba(252, 252, 252, 0);
    transition: all 0.05s ease-out;
    cursor: pointer;
  }

  #contentwrapper .oboryIcon-wrapper img {
    width: 65px;
    height: 65px;
    pointer-events: none;
    clear: both;
  }

  #contentwrapper .oboryIcon-wrapper .title {
    width: 100%;
    padding: 18px 0 8px;
    text-align: center;
    font-family: LexendDeca;
    font-weight: 400;
    font-size: 1.15rem;
    color: rgba(43, 43, 43, 0.85);
  }

  #contentwrapper .oboryIcon-wrapper .sub {
    width: 100%;
    padding: 18px 0 0;
    text-align: center;
    font-family: LexendDeca;
    font-weight: 400;
    font-size: 0.85rem;
    color: rgba(43, 43, 43, 0);
  }

  #contentwrapper .oboryIcon-wrapper:hover {
    transform: scale(1);
    background: rgba(252, 252, 252, 0.65);
    transition: all 0.15s ease-in;
  }

  #contentwrapper .oboryIcon-wrapper:hover .sub {
    color: rgba(43, 43, 43, 0.45);
  }

  #contentwrapper .oboryIcon-wrapper.selected {
    transform: scale(1);
    background: rgba(252, 252, 252, 0.95);
  }

  #contentwrapper .oboryIcon-wrapper.selected:hover {
    transform: scale(1);
    background: rgba(252, 252, 252, 0.95);
  }

  #contentwrapper .oboryIcon-wrapper.selected:hover .sub {
    color: rgba(43, 43, 43, 0);
  }

  #contentwrapper #oboryWrapper, #contentwrapper #pobockyWrapper {
    width: 100%;
    height: 0;
    opacity: 0;
    transition: all 0.35s ease-in-out;
  }

  #contentwrapper p {
    line-height: 160%;
    font-family: LexendDeca;
    font-weight: 300;
    font-size: 0.95rem;
    color: rgba(43, 43, 43, 0.85);
    padding: 0 24px;
  }

  #hlavniStrana-aktuality-wrapper {
    width: 100%;
    background: #f5f5f5ef;
    /* min-height: 880px; */
    padding-top: 44px;
  }

  #oboryWrapper .oboryDiv, #pobockyWrapper .pobockyDiv {
    padding: 12px 24px;
    text-align: left;
    line-height: 160%;
    font-family: LexendDeca;
    font-weight: 300;
    font-size: 1rem;
    color: rgba(43, 43, 43, 0.85);
  }



  #oboryWrapper .oboryDiv h2, #pobockyWrapper .pobockyDiv h2 {
    text-align: left;
    padding: 14px 8px 18px;
    line-height: 160%;
    margin: 0;
  }

  #oboryWrapper .oboryDiv h3, #pobockyWrapper .pobockyDiv h3 {
    text-align: left;
    font-size: 1.15rem;
    padding: 24px 8px 4px;
    margin: 0;
  }

  #oboryWrapper .oboryDiv ul, #pobockyWrapper .pobockyDiv ul {
    width: 100%;
    text-align: left;
    list-style: none;
    padding: 0 0 24px;
    margin: 0;
  }

  #oboryWrapper .oboryDiv ul li, #pobockyWrapper .pobockyDiv ul li {
    list-style: disc;
    text-align: left;
    padding: 0;
    margin: 0 44px;
    line-height: 160%;
    font-family: LexendDeca;
    font-weight: 300;
    font-size: 1rem;
    color: rgba(43, 43, 43, 0.85);
  }

  #contentwrapper h3 {
    font-family: LexendDeca;
    text-align: left;
    font-size: 1.15rem;
    padding: 24px 12px 24px;
    margin: 0;
  }

  #contentwrapper ul {
    width: 100%;
    text-align: left;
    list-style: none;
    padding: 0 12px 24px;
    margin: 0;
  }

  #contentwrapper ul li {
    list-style: disc;
    text-align: left;
    padding: 0;
    margin: 0 24px;
    line-height: 160%;
    font-family: LexendDeca;
    font-weight: 300;
    font-size: 1rem;
    color: rgba(43, 43, 43, 0.85);
  }

  .centered {
    margin: 0 auto;
  }

  h2 {
    width: 100%;
    padding: 28px 0 34px;
    text-align: center;
    font-family: LexendDeca;
    font-weight: 400;
    font-size: 1.75rem;
    color: rgba(43, 43, 43, 0.85);
  }

  #hlavniStrana-aktuality-aktualita-wrapper {
    width: 100%;
    padding: 8px 28px 44px;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    gap: 24px;
    align-items: flex-start;
    clear: both;
    overflow: hidden;
  }

  .hlavniStrana-aktuality-aktualita-box {
    width: 100%;
    min-height: 125px;
    background-color: #f5f5f5d0;
    border: 5px solid rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    filter: drop-shadow(15px 15px 8px rgba(0, 0, 0, 0.05));
  }

  .hlavniStrana-aktuality-aktualita-nadpis-img {
    width: 28px !important;
    height: 28px !important;
    float: left;
    margin: 0px 8px 0 0;
  }

  .hlavniStrana-aktuality-aktualita-nadpis {
    position: relative;
    width: 100%;
    font-family: LexendDeca;
    font-weight: 400;
    font-size: 1rem;
    line-height: 155%;
    padding: 8px 14px 12px;
    color: #1d1d1d;
    background-color: rgba(0, 0, 0, 0.15);
  }

  .hlavniStrana-aktuality-aktualita-datum {
    position: relative;
    width: 100%;
    font-family: LexendDeca;
    font-weight: 400;
    font-size: 0.85rem;
    line-height: 150%;
    padding: 4px 12px;
    color: #2e2e2e6e;
  }

  .hlavniStrana-aktuality-aktualita-text {
    position: relative;
    width: 100%;
    font-family: LexendDeca;
    font-weight: 400;
    text-align: left;
    font-size: 0.95rem;
    line-height: 150%;
    padding: 4px 12px 24px;
    color: #2e2e2ee3;
  }

  .swiper {
    position: relative;
    margin: 0;
    width: 100%;

    filter: drop-shadow(25px 25px 28px rgba(0, 0, 0, 0.05));
    user-select: none;
    height: auto;
    overflow: visible; /* ať se nic "neusekne" */
  }

  .swiper-content {
    height: 100% !important;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 700px;
    align-self: center;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center; /* důležité */
  }

  .swiper-slide img {
    display: block;
    height: 100% !important;
    object-fit: contain;
    max-width: 100%;
    border: 0px solid rgba(0, 0, 0, 0.15);
  }

  .swiper-button-prev {
    transform: translateX(20px);
    /* display: none !important; */
    width: 36px !important;
    height: 36px !important;
  }

  .swiper-button-next {
    transform: translateX(-20px);
    /* display: none !important; */
    width: 36px !important;
    height: 36px !important;
  }

  .swiper-pagination {
    transform: translateY(60px) !important;
  }

  #footer-wrapper {
    position: relative;
    clear: both;
    margin: 100px auto 0;
  }

  #footer {
    margin: 0 auto 0;
    width: 100%;

    position: relative;
    display: inline-block;
    background: #424a57;
    opacity: 0.98;
    /* filter: drop-shadow(0px 0px 320px rgba(0,0,0,3)); */
    padding: 0;
    clear: both;
  }

  #footer .nadpis {
    padding: 20px;
    color: rgba(252, 252, 252, 0.85);
    font-family: LexendDeca;
    font-weight: 400;
    font-size: 1rem;
  }

  #footer .column-left {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    align-content: flex-start;

    width: 100%;
    font-family: LexendDeca;
    font-weight: 300;
    font-size: 0.85rem;
    color: rgba(252, 252, 252, 0.85);
    line-height: 175%;
    padding: 0 20px 20px;
    border-bottom: 4px solid rgba(255, 255, 255, 0.35);
  }

  #footer p {
    /* border-top: 4px solid rgba(255, 255, 255, 0.35); */
    margin-top: 14px;
    clear: both;
    width: 100%;
    font-family: LexendDeca;
    font-weight: 300;
    font-size: 0.85rem;
    color: rgba(252, 252, 252, 0.85);
    line-height: 175%;

    padding: 14px 20px 20px;
  }

  #footer .column-left div {
    width: 50%;
    padding-bottom: 15px;
    padding-right: 8px;
  }

  #footer .column-right {
    width: 100%;
    padding: 20px;
  }

  #footer .column-right img {
    width: 48px;
    height: 48px;
    float: left;
    margin-bottom: 32px;
  }

  #footer .column-right span {
    line-height: 48px;
    margin-left: 14px;
    font-family: LexendDeca;
    font-weight: 400;
    font-size: 1rem;
    color: rgba(252, 252, 252, 0.85);
  }

  #form-omluvenka, #form-prihlaska {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    min-height: 400px;
    background: rgba(252, 252, 252, 1);
    box-shadow: none;
    padding: 32px 44px;
    transition: all 0.35s ease-in-out;
    transform: translateY(-100%);
    z-index: 1500;
    max-height: 100%;
    overflow-y: auto;
  }

  #form-omluvenka.open, #form-prihlaska.open {
    box-shadow: 0 0 56px rgba(0, 0, 0, 0.75);
    transform: translateY(0%);
  }

  #form-omluvenka .form-omluvenka__field label, #form-prihlaska .form-prihlaska__field label {
    font-size: 0.95rem;
  }

  #form-omluvenka .form-omluvenka__field input, #form-prihlaska .form-prihlaska__field input {
    padding: 7px 10px;
    font-family: LexendDeca;
    font-weight: 200;
    font-size: 0.95rem;
    width: 100%;
  }

  #form-omluvenka .form-omluvenka__field button, #form-prihlaska .form-prihlaska__field button {
    padding: 14px 24px;
    font-size: 1rem;
  }
}

/* Tablets and small laptops (769px - 1024px) */
/* @media (min-width: 769px) {

} */

/* Large desktops and high-resolution screens (1025px and up) */
@media (width >= 1025px) and (width < 1440px) {
  body {
    font-size: 12pt; /* 0.85vw = 12pt při fullhd */
    background: var(--backgroundColor);
    height: 100%;
    font-weight: 300;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: scroll;
  }

  #footer-wrapper {
  position: relative;
  clear: both;
  margin: 700px auto 0;
}

  #allwrapper {
    max-width: max(1025px, 80vw);
    margin: 0 auto;
  }

  #header {
    position: relative;
    margin: 0 auto;
    width: 100%;
    transition: all 0.55s ease-in-out;

    transition-delay: 0.15s;

    user-select: none;
  }

  #header.unfolded {
    opacity: 0.95;
  }

  .header-background {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--colorBordo);
  }

  .header-background.unfolded {
    height: 20vh !important;
    max-height: 80px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.75);
    filter: drop-shadow(0 0 18px rgba(0, 0, 0, 0.5));
    opacity: 0.98;
  }

  .header-wrapper {
    position: relative;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    top: 0;
    left: 0;
    min-height: 500px;
    background-image: linear-gradient(rgb(248, 248, 248), #e6e6e6);
    transition: all 0.15s ease-in-out;
    opacity: 1 !important;
  }

  .header-menuUpper {
    position: absolute;
    right: 40px;
  }

  .header-menuUpper ul {
    list-style: none;
  }

  .header-menuUpper ul li {
    list-style-type: none;
    display: inline-block;
    float: left;
    padding: 13px 24px;
    cursor: pointer;
    font-family: LexendDeca;
    margin-left: 20px;
    position: relative;
    transition: all 0.15s ease-in-out;
  }

  .header-menuUpper ul li div {
    font-size: 1rem;
    color: rgb(248, 248, 248);
    display: block;
    user-select: none;
  }

  .header-menuUpper ul li:not(.selected) {
    top: -25px;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.15);
  }

  .header-menuUpper ul li.omluvenka:hover {
    border-bottom: 4px solid #52b1f5;
    transition: all 0.05s ease-in-out;
  }

  .header-menuUpper ul li.prihlaska:hover {
    border-bottom: 4px solid #57c738;
    transition: all 0.05s ease-in-out;
  }

  .header-menuUpper ul li.selected {
    top: -25px;
    padding-top: 25px;
    padding-bottom: 45px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.35);
  }

  .header-menuUpper ul li.disabled {
    display: none;
  }

  .header-menuUpper ul li.omluvenka {
    background-color: #276e9f !important;
    border-bottom: 0px solid #276e9f;
  }

  .header-menuUpper ul li.prihlaska {
    background-color: #3f9328 !important;
    border-bottom: 0px solid #3f9328;
  }

  .header-menu {
    position: absolute;
    left: 0;
    bottom: 0px;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .header-menu ul {
    width: 100%;
    list-style: none;
    height: auto;
    margin: 0 auto;
    padding: 0;
    display: inline-block;
    display: flex;

    justify-content: center;
  }

  .header-menu ul li {
    list-style-type: none;
    display: block;

    height: 100%;
    padding: 12px 19px;
    cursor: pointer;
    font-family: LexendDeca;
    margin-left: 10px;
    position: relative;
    top: 0px;
    box-sizing: border-box;
    transition: all 0.15s ease-in-out;
  }

  .header-menu ul li div {
    font-size: 1rem;
    color: rgb(37, 37, 37);
    display: block;

    user-select: none;
  }

  .header-menu ul li.selected {
    background-color: #811023;
  }

  .header-menu ul li.selected > div {
    background-color: #811023;
    color: rgb(248, 248, 248);
  }

  .header-menu ul li:not(.selected):hover {
    background-color: #979ba1;
    transition: all 0.05s ease-in-out;
  }

  .header-menu ul a:not(.selected) {
    display: block !important;
  }
  .header-menu ul a.icon {
    position: absolute;
    right: 0;
    top: 0;
    color: rgb(248, 248, 248);
    display: none !important;
    padding: 0 22px;
  }

  .header-wrapper svg {
    width: 450px;
    height: auto;
    fill: #811023;
    display: block;
    position: absolute;
    left: 125px;
    top: 40px;
    pointer-events: none;
    transition: all 0s ease-in-out;
  }

  .header-wrapper #pnglogo-stamp {
    position: absolute;
    left: 64px;
    top: 28px;
    pointer-events: none;
    display: block;
    width: 100%;
    height: 225px;
    background-image: url("../img/zus melodie_logo_stamp-full_a4 width_transparent.png");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1000 !important;
    opacity: 0.95;
  }

  .header-wrapper #pnglogo {
    display: none !important;
  }

  .header-wrapper .heroText {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100% !important;
    display: grid !important;
    place-items: center;
    height: calc(100% - 30px);
    padding-left: 340px;
    padding-right: 60px;
    font-family: LexendDeca;
    font-size: 1.05rem;
    line-height: 170%;
    color: rgba(0, 0, 0, 0.75);
    pointer-events: none;
    text-align: left;
  }

  .contentDividerGraySmall {
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: 6px;
    background-color: #979ba1;
  }

  .contentDividerLight {
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: 40px;
    background-color: rgb(240, 240, 240);
    clear: both;
  }

  #content p {
    font-family: LexendDeca;
    font-weight: 300;
    font-size: 1.1rem;
    text-align: justify;
  }

  #page-wrapper {
    position: relative;
    width: 100%;
    min-height: 500px;
    /* padding-bottom: 1050px; */

    background-color: rgb(240, 240, 240);
    background-image: url("../img/zusmelodie_cz_background-1_min.png");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: bottom center;
    overflow: hidden;
  }

  #hlavniStrana-aktuality-wrapper {
    width: 100%;
    background-color: #f5f5f5d0;
    /* min-height: 880px; */
    padding-top: 44px;
  }
  #hlavniStrana-aktuality-wrapper p {
    margin: 0 auto;
    padding: 8px 64px 18px;
    font-family: LexendDeca;
    font-weight: 200;
    font-size: 1.15rem;
    color: rgba(43, 43, 43, 0.92);
    line-height: 28px;
  }

  #contentwrapper {
    position: relative;
    margin: 0 auto;
    width: 100%;
    min-height: 500px;
    padding: 44px 64px;
    background: #f5f5f5ef;
  }

  #contentwrapper .oboryIconsWrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: baseline;
    align-content: stretch;
  }

  #contentwrapper .oboryIcon-wrapper {
    padding: 44px 44px 14px;
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    float: left;
    transform: scale(0.9);
    background: rgba(252, 252, 252, 0);
    transition: all 0.05s ease-out;
    cursor: pointer;
  }

  #contentwrapper .oboryIcon-wrapper img {
    width: 144px;
    height: 144px;
    pointer-events: none;
    clear: both;
  }

  #contentwrapper .oboryIcon-wrapper .title {
    width: 100%;
    padding: 28px 0 14px;
    text-align: center;
    font-family: LexendDeca;
    font-weight: 400;
    font-size: 1.95rem;
    color: rgba(43, 43, 43, 0.85);
  }

  #contentwrapper .oboryIcon-wrapper .sub {
    width: 100%;
    padding: 18px 0 0;
    text-align: center;
    font-family: LexendDeca;
    font-weight: 400;
    font-size: 1.05rem;
    color: rgba(43, 43, 43, 0);
  }

  #contentwrapper .oboryIcon-wrapper:hover {
    transform: scale(1);
    background: rgba(252, 252, 252, 0.65);
    transition: all 0.15s ease-in;
  }

  #contentwrapper .oboryIcon-wrapper:hover .sub {
    color: rgba(43, 43, 43, 0.45);
  }

  #contentwrapper .oboryIcon-wrapper.selected {
    transform: scale(1);
    background: rgba(252, 252, 252, 0.95);
  }

  #contentwrapper .oboryIcon-wrapper.selected:hover {
    transform: scale(1);
    background: rgba(252, 252, 252, 0.95);
  }

  #contentwrapper .oboryIcon-wrapper.selected:hover .sub {
    color: rgba(43, 43, 43, 0);
  }

  #contentwrapper #oboryWrapper, #contentwrapper #pobockyWrapper {
    width: 100%;
    height: 0;
    opacity: 0;
    transition: all 0.35s ease-in-out;
  }

  #contentwrapper p {
    line-height: 160%;
    font-family: LexendDeca;
    font-weight: 300;
    font-size: 1rem;
    color: rgba(43, 43, 43, 0.85);
  }

  #hlavniStrana-aktuality-wrapper {
    width: 100%;
    background: #f5f5f5ef;
    /* min-height: 880px; */
    padding-top: 44px;
  }

  #oboryWrapper .oboryDiv, #pobockyWrapper .pobockyDiv {
    padding: 12px 44px;
    text-align: left;
    line-height: 160%;
    font-family: LexendDeca;
    font-weight: 300;
    font-size: 1rem;
    color: rgba(43, 43, 43, 0.85);
  }


  #oboryWrapper .oboryDiv h2, #pobockyWrapper .pobockyDiv h2 {
    text-align: left;
    padding: 14px 8px 18px;
    margin: 0;
  }

  #oboryWrapper .oboryDiv h3, #pobockyWrapper .pobockyDiv h3 {
    text-align: left;
    font-size: 1.15rem;
    padding: 24px 0 4px;
    margin: 0;
  }

  #oboryWrapper .oboryDiv ul, #pobockyWrapper .pobockyDiv ul {
    width: 100%;
    text-align: left;
    list-style: none;
    padding: 0 0 24px;
    margin: 0;
  }

  #oboryWrapper .oboryDiv ul li, #pobockyWrapper .pobockyDiv ul li {
    list-style: disc;
    text-align: left;
    padding: 0;
    margin: 0 24px;
    line-height: 160%;
    font-family: LexendDeca;
    font-weight: 300;
    font-size: 1rem;
    color: rgba(43, 43, 43, 0.85);
  }

  #contentwrapper h3 {
    font-family: LexendDeca;
    text-align: left;
    font-size: 1.15rem;
    padding: 24px 0 24px;
    margin: 0;
  }

  #contentwrapper ul {
    width: 100%;
    text-align: left;
    list-style: none;
    padding: 0 0 24px;
    margin: 0;
  }

  #contentwrapper ul li {
    list-style: disc;
    text-align: left;
    padding: 0;
    margin: 0 24px;
    line-height: 160%;
    font-family: LexendDeca;
    font-weight: 300;
    font-size: 1rem;
    color: rgba(43, 43, 43, 0.85);
  }

  .centered {
    margin: 0 auto;
  }

  h2 {
    width: 100%;
    padding: 28px 0 34px;
    text-align: center;
    font-family: LexendDeca;
    font-weight: 400;
    font-size: 1.75rem;
    color: rgba(43, 43, 43, 0.85);
  }

  #hlavniStrana-aktuality-aktualita-wrapper {
    width: 100%;
    padding: 8px 28px 44px;
    display: flex;
    justify-content: space-around;
    gap: 24px;
    align-items: flex-start;
    clear: both;
    overflow: hidden;
  }

  .hlavniStrana-aktuality-aktualita-box {
    max-width: 35%;
    min-height: 125px;
    background-color: #f5f5f5d0;
    border: 5px solid rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    filter: drop-shadow(15px 15px 8px rgba(0, 0, 0, 0.05));
  }

  .hlavniStrana-aktuality-aktualita-nadpis-img {
    width: 28px !important;
    height: 28px !important;
    float: left;
    margin: 0px 8px 0 0;
  }

  .hlavniStrana-aktuality-aktualita-nadpis {
    position: relative;
    width: 100%;
    font-family: LexendDeca;
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 155%;
    padding: 8px 14px 12px;
    color: #1d1d1d;
    background-color: rgba(0, 0, 0, 0.15);
  }

  .hlavniStrana-aktuality-aktualita-datum {
    position: relative;
    width: 100%;
    font-family: LexendDeca;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 150%;
    padding: 4px 12px;
    color: #2e2e2e6e;
  }

  .hlavniStrana-aktuality-aktualita-text {
    position: relative;
    width: 100%;
    font-family: LexendDeca;
    font-weight: 400;
    text-align: left;
    font-size: 1rem;
    line-height: 150%;
    padding: 4px 12px 24px;
    color: #2e2e2ee3;
  }

  .swiper {
    position: relative;
    margin: 0;
    width: 100%;

    filter: drop-shadow(25px 25px 28px rgba(0, 0, 0, 0.05));
    user-select: none;
    height: auto;
    overflow: visible; /* ať se nic "neusekne" */
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center; /* důležité */
  }

  .swiper-content {
    height: 100% !important;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 700px;
    align-self: center;
  }

  .swiper-slide img {
    display: block;
    height: 100% !important;
    object-fit: contain;
    max-width: 100%;
    border: 6px solid rgba(0, 0, 0, 0.15);
    display: block;
    max-width: 100%;
  }

  .swiper-button-prev {
    transform: translateX(20px);
    display: flex !important;
  }

  .swiper-button-next {
    transform: translateX(-20px);
    display: flex !important;
  }

  #footer {
    margin: 0 auto 0;
    width: 100%;

    display: inline-block;
    background: #424a57;
    opacity: 0.98;
    /* filter: drop-shadow(0px 0px 320px rgba(0,0,0,3)); */
    padding: 40px 50px;
    clear: both;
  }

  #footer .nadpis {
    padding: 0 0 20px;
    color: rgba(252, 252, 252, 0.85);
    font-family: LexendDeca;
    font-weight: 400;
    font-size: 1.05rem;
  }

  #footer .column-left {
    float: left;
    columns: 2 auto;
    width: 75%;
    font-family: LexendDeca;
    font-weight: 300;
    font-size: 0.95rem;
    color: rgba(252, 252, 252, 0.85);
    line-height: 175%;
    border-right: 4px solid rgba(255, 255, 255, 0.35);
    background: #424a57;
  }

  #footer p {
    /* border-top: 4px solid rgba(255, 255, 255, 0.35); */
    clear: both;
    margin-top: 14px;
    
    width: 100%;
    font-family: LexendDeca;
    font-weight: 300;
    font-size: 0.95rem;
    color: rgba(252, 252, 252, 0.85);
    line-height: 175%;
    padding: 14px 0 0;

  }

  #footer .column-left div {
    width: 100%;
    padding-bottom: 15px;
    padding-right: 5px;
  }

  #footer .column-right {
    float: right;
    width: 20%;
    background: #424a57;
  }

  #footer .column-right img {
    width: 48px;
    height: 48px;
    float: left;
    margin-bottom: 32px;
  }

  #footer .column-right span {
    line-height: 48px;
    margin-left: 14px;
    font-family: LexendDeca;
    font-weight: 400;
    font-size: 1rem;
    color: rgba(252, 252, 252, 0.85);
  }

  #form-omluvenka, #form-prihlaska {
    position: fixed;
    top: 0;
    right: 0;
    width: 650px;
    min-height: 400px;
    background: rgba(252, 252, 252, 1);
    box-shadow: none;
    padding: 32px 44px;
    transition: all 0.35s ease-in-out;
    transform: translateY(-100%);
    z-index: 1500;
    max-height: 100%;
    overflow-y: auto;
  }

  #form-omluvenka.open, #form-prihlaska.open {
    box-shadow: 0 0 56px rgba(0, 0, 0, 0.75);
    transform: translateY(0%);
  }
}

/* Extra-large screens (1440px and up) */
@media (width >= 1440px) {
  body {
    font-size: 12pt; /* 0.85vw = 12pt při fullhd */
    background: var(--backgroundColor);
    height: 100%;
    font-weight: 300;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: scroll;
  }

#footer-wrapper {
  position: relative;
  clear: both;
  margin: 700px auto 0;
}

  #allwrapper {
    max-width: max(1200px, 80vw);
    margin: 0 auto;
  }

  #header {
    position: relative;
    margin: 0 auto;
    width: 100%;
    transition: all 0.55s ease-in-out;

    transition-delay: 0.15s;

    user-select: none;
  }

  #header.unfolded {
    opacity: 0.95;
  }

  .header-wrapper #pnglogo-stamp {
    position: absolute;
    left: 64px;
    top: 30px;
    pointer-events: none;
    display: block;
    width: 100%;
    height: 300px;
    background-image: url("../img/zus melodie_logo_stamp-full_a4 width_transparent.png");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1000 !important;
    opacity: 0.95;
  }

  .header-background {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--colorBordo);
  }

  .header-background.unfolded {
    height: 20vh !important;
    max-height: 80px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.75);
    filter: drop-shadow(0 0 18px rgba(0, 0, 0, 0.5));
    opacity: 0.98;
  }

  .header-wrapper {
    position: relative;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    top: 0;
    left: 0;
    min-height: 620px;
    background-color: rgb(248, 248, 248);
    background-image: linear-gradient(rgb(248, 248, 248), #e6e6e6);
    transition: all 0.15s ease-in-out;
    opacity: 1 !important;
  }

  .header-menuUpper {
    position: absolute;
    right: 80px;
  }

  .header-menuUpper ul {
    list-style: none;
  }

  .header-menuUpper ul li {
    list-style-type: none;
    display: inline-block;
    float: left;
    padding: 16px 28px;
    cursor: pointer;
    font-family: LexendDeca;
    margin-left: 20px;
    position: relative;
    transition: all 0.15s ease-in-out;
  }

  .header-menuUpper ul li div {
    font-size: 1.1rem;
    color: rgb(248, 248, 248);
    display: block;
    user-select: none;
  }

  .header-menuUpper ul li:not(.selected) {
    top: -25px;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.15);
  }

  .header-menuUpper ul li.omluvenka:hover {
    border-bottom: 6px solid #52b1f5;
    transition: all 0.05s ease-in-out;
  }

  .header-menuUpper ul li.prihlaska:hover {
    border-bottom: 6px solid #57c738;
    transition: all 0.05s ease-in-out;
  }

  .header-menuUpper ul li.selected {
    top: -25px;
    padding-top: 25px;
    padding-bottom: 45px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.35);
  }

  .header-menuUpper ul li.disabled {
    display: none;
  }

  .header-menuUpper ul li.omluvenka {
    background-color: #276e9f !important;
    border-bottom: 0px solid #276e9f;
  }

  .header-menuUpper ul li.prihlaska {
    background-color: #3f9328 !important;
    border-bottom: 0px solid #3f9328;
  }

  .header-menu {
    position: absolute;
    left: 0;
    bottom: 0px;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .header-menu ul {
    width: 100%;
    list-style: none;
    height: auto;
    margin: 0 auto;
    padding: 0;
    display: inline-block;
    display: flex;

    justify-content: center;
  }

  .header-menu ul li {
    list-style-type: none;
    display: block;

    height: 100%;
    padding: 16px 28px;
    cursor: pointer;
    font-family: LexendDeca;
    margin-left: 10px;
    position: relative;
    box-sizing: border-box;
    transition: all 0.15s ease-in-out;
  }

  .header-menu ul li div {
    font-size: 1.1rem;
    color: rgb(37, 37, 37);
    display: block;

    user-select: none;
  }

  .header-menu ul li.selected {
    background-color: #811023;
  }

  .header-menu ul li.selected > div {
    background-color: #811023;
    color: rgb(248, 248, 248);
  }

  .header-menu ul li:not(.selected):hover {
    background-color: #979ba1;
    transition: all 0.05s ease-in-out;
  }

  .header-menu ul a:not(.selected) {
    display: block !important;
  }
  .header-menu ul a.icon {
    position: absolute;
    right: 0;
    top: 0;
    color: rgb(248, 248, 248);
    display: none !important;
  }

  .header-menu ul a.icon li {
    display: none;
  }

  .header-wrapper svg {
    width: 550px;
    height: auto;
    fill: #811023;
    display: block;
    position: absolute;
    left: 125px;
    top: 25px;
    pointer-events: none;
    transition: all 0.15s ease-in-out;
  }

  .header-wrapper #pnglogo {
    display: none !important;
  }

  .header-wrapper .heroText {
    position: absolute;
    top: 140px;
    left: 0;
    width: 100% !important;
    display: grid !important;
    place-items: center;
    /* height: calc(100% - 30px); */
    padding-left: 400px;
    padding-right: 60px;
    font-family: LexendDeca;
    font-size: 1.15rem;
    line-height: 170%;
    color: rgba(0, 0, 0, 0.75);
    pointer-events: none;
    text-align: left;
  }

  .contentDividerGraySmall {
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: 6px;
    background-color: #979ba1;
  }

  .contentDividerLight {
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: 40px;
    background-color: rgb(240, 240, 240);
    clear: both;
  }

  #content p {
    font-family: LexendDeca;
    font-weight: 300;
    font-size: 1.1rem;
    text-align: justify;
  }

  #page-wrapper {
    position: relative;
    width: 100%;
    min-height: 500px;
    height: auto;
    /* padding-bottom: 1050px; */
    background-color: rgb(240, 240, 240);
    background-image: url("../img/zusmelodie_cz_background-1_min.png");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: bottom center;
    overflow: hidden;
  }

  #hlavniStrana-aktuality-wrapper p {
    margin: 0 auto;
    padding: 8px 64px 18px;
    font-family: LexendDeca;
    font-weight: 200;
    font-size: 1.15rem;
    color: rgba(43, 43, 43, 0.92);
    line-height: 28px;
  }

  #contentwrapper {
    position: relative;
    margin: 0 auto;
    width: 100%;
    min-height: 500px;
    padding: 44px 64px;
    background: #f5f5f5ef;
  }

  #contentwrapper .oboryIconsWrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: baseline;
    align-content: stretch;
  }

  #contentwrapper .oboryIcon-wrapper {
    padding: 44px 44px 14px;
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    float: left;
    transform: scale(0.9);
    background: rgba(252, 252, 252, 0);
    transition: all 0.05s ease-out;
    cursor: pointer;
  }

  #contentwrapper .oboryIcon-wrapper img {
    width: 144px;
    height: 144px;
    pointer-events: none;
    clear: both;
  }

  #contentwrapper .oboryIcon-wrapper .title {
    width: 100%;
    padding: 28px 0 14px;
    text-align: center;
    font-family: LexendDeca;
    font-weight: 400;
    font-size: 1.95rem;
    color: rgba(43, 43, 43, 0.85);
  }

  #contentwrapper .oboryIcon-wrapper .sub {
    width: 100%;
    padding: 18px 0 0;
    text-align: center;
    font-family: LexendDeca;
    font-weight: 400;
    font-size: 1.05rem;
    color: rgba(43, 43, 43, 0);
  }

  #contentwrapper .oboryIcon-wrapper:hover {
    transform: scale(1);
    background: rgba(252, 252, 252, 0.65);
    transition: all 0.15s ease-in;
  }

  #contentwrapper .oboryIcon-wrapper:hover .sub {
    color: rgba(43, 43, 43, 0.45);
  }

  #contentwrapper .oboryIcon-wrapper.selected {
    transform: scale(1);
    background: rgba(252, 252, 252, 0.95);
  }

  #contentwrapper .oboryIcon-wrapper.selected:hover {
    transform: scale(1);
    background: rgba(252, 252, 252, 0.95);
  }

  #contentwrapper .oboryIcon-wrapper.selected:hover .sub {
    color: rgba(43, 43, 43, 0);
  }

  #contentwrapper #oboryWrapper, #contentwrapper #pobockyWrapper {
    width: 100%;
    height: 0;
    opacity: 0;
    transition: all 0.35s ease-in-out;
  }

  #contentwrapper p {
    line-height: 160%;
    font-family: LexendDeca;
    font-weight: 300;
    font-size: 1rem;
    color: rgba(43, 43, 43, 0.85);
  }

  #hlavniStrana-aktuality-wrapper {
    width: 100%;
    background: #f5f5f5ef;
    /* min-height: 880px; */
    padding-top: 44px;
  }

  #oboryWrapper .oboryDiv, #pobockyWrapper .pobockyDiv {
    padding: 12px 44px;
    text-align: left;
    line-height: 160%;
    font-family: LexendDeca;
    font-weight: 300;
    font-size: 1rem;
    color: rgba(43, 43, 43, 0.85);
  }

  

  #oboryWrapper .oboryDiv h2, #pobockyWrapper .pobockyDiv h2 {
    text-align: left;
    padding: 14px 8px 18px;
    margin: 0;
  }

  #oboryWrapper .oboryDiv h3, #pobockyWrapper .pobockyDiv h3 {
    text-align: left;
    font-size: 1.15rem;
    padding: 24px 0 4px;
    margin: 0;
  }

  #oboryWrapper .oboryDiv ul, #pobockyWrapper .pobockyDiv ul {
    width: 100%;
    text-align: left;
    list-style: none;
    padding: 0 0 24px;
    margin: 0;
  }

  #oboryWrapper .oboryDiv ul li, #pobockyWrapper .pobockyDiv ul li {
    list-style: disc;
    text-align: left;
    padding: 0;
    margin: 0 24px;
    line-height: 160%;
    font-family: LexendDeca;
    font-weight: 300;
    font-size: 1rem;
    color: rgba(43, 43, 43, 0.85);
  }

  #contentwrapper h3 {
    font-family: LexendDeca;
    text-align: left;
    font-size: 1.15rem;
    padding: 24px 0 24px;
    margin: 0;
  }

  #contentwrapper ul {
    width: 100%;
    text-align: left;
    list-style: none;
    padding: 0 0 24px;
    margin: 0;
  }

  #contentwrapper ul li {
    list-style: disc;
    text-align: left;
    padding: 0;
    margin: 0 24px;
    line-height: 160%;
    font-family: LexendDeca;
    font-weight: 300;
    font-size: 1rem;
    color: rgba(43, 43, 43, 0.85);
  }

  .centered {
    margin: 0 auto;
  }

  h2 {
    width: 100%;
    padding: 48px 0 64px;
    text-align: center;
    font-family: LexendDeca;
    font-weight: 400;
    font-size: 2.05rem;
    color: rgba(43, 43, 43, 0.85);
  }

  #hlavniStrana-aktuality-aktualita-wrapper {
    width: 100%;
    padding: 8px 28px 64px;
    display: flex;
    justify-content: space-around;
    gap: 24px;
    align-items: flex-start;
  }

  .hlavniStrana-aktuality-aktualita-box {
    max-width: auto;
    min-height: 150px;
    background-color: #f5f5f5d0;
    border: 6px solid rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    filter: drop-shadow(15px 15px 8px rgba(0, 0, 0, 0.05));
  }

  .hlavniStrana-aktuality-aktualita-nadpis-img {
    width: 32px !important;
    height: 32px !important;
    float: left;
    margin: 4px 10px 0 0;
  }

  .hlavniStrana-aktuality-aktualita-nadpis {
    position: relative;
    width: 100%;
    font-family: LexendDeca;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 200%;
    padding: 8px 14px 12px;
    color: #1d1d1d;
    background-color: rgba(0, 0, 0, 0.15);
  }

  .hlavniStrana-aktuality-aktualita-datum {
    position: relative;
    width: 100%;
    font-family: LexendDeca;
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 150%;
    padding: 4px 12px;
    color: #2e2e2e6e;
  }

  .hlavniStrana-aktuality-aktualita-text {
    position: relative;
    width: 100%;
    font-family: LexendDeca;
    font-weight: 400;
    text-align: left;
    font-size: 1.05rem;
    line-height: 150%;
    padding: 12px 12px 24px;
    color: #2e2e2ee3;
  }

  #footer {
    width: 100%;
    height: 458px;
    margin: 0 auto 0;
    /* background: url('../img/zusmelodie_cz_footer.png') no-repeat; */
    background: #424a57;
    opacity: 0.98;
    /* filter: drop-shadow(0px 0px 320px rgba(0,0,0,3)); */
    padding: 45px 100px;
    clear: both;
  }

  #footer .nadpis {
    padding: 0 0 20px;
    color: rgba(252, 252, 252, 0.85);
    font-family: LexendDeca;
    font-weight: 400;
    font-size: 1.05rem;
  }

  #footer .column-left {
    float: left;
    columns: 2 auto;
    width: 75%;
    font-family: LexendDeca;
    font-weight: 300;
    font-size: 1.05rem;
    color: rgba(252, 252, 252, 0.85);
    line-height: 175%;
    border-right: 4px solid rgba(255, 255, 255, 0.35);
  }

  #footer p {
    /* border-top: 4px solid rgba(255, 255, 255, 0.35); */
    margin-top: 14px;
    clear: both;
    width: 100%;
    font-family: LexendDeca;
    font-weight: 300;
    font-size: 0.95rem;
    color: rgba(252, 252, 252, 0.85);
    line-height: 175%;
    padding: 14px 0 14px;
  }

  #footer .column-left div {
    width: 100%;
    padding-bottom: 15px;
    padding-right: 5px;
    display: inline-block;
  }

  #footer .column-right {
    float: right;
    width: 20%;
  }

  #footer .column-right img {
    width: 64px;
    height: 64px;
    float: left;
    margin-bottom: 32px;
  }

  #footer .column-right span {
    line-height: 64px;
    margin-left: 14px;
    font-family: LexendDeca;
    font-weight: 400;
    font-size: 1.0rem;
    color: rgba(252, 252, 252, 0.85);
  }

  #form-omluvenka, #form-prihlaska {
    position: fixed;
    top: 0;
    right: 0;
    width: 650px;
    min-height: 400px;
    background: rgba(252, 252, 252, 1);
    box-shadow: none;
    padding: 32px 44px;
    transition: all 0.35s ease-in-out;
    transform: translateY(-100%);
    z-index: 1500;
    max-height: 100%;
    overflow-y: auto;
  }

  #form-omluvenka.open, #form-prihlaska.open {
    box-shadow: 0 0 56px rgba(0, 0, 0, 0.75);
    transform: translateY(0%);
  }

 
}

 #content-pobocky--wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: stretch;
    align-content: stretch;
    flex-wrap: wrap;
    gap: 10px;
  }

  .pobocka--wrapper {
    text-align: center;
    padding: 8px 18px;
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
    max-width: fit-content;
    font-family: LexendDeca;
    font-weight: 600;
    font-size: 1.5rem;
    color: rgba(43, 43, 43, 0.85);
    line-height: 200%;
    cursor: pointer;
    transform: scale(0.9);
    transition: all 0.35s ease-in-out;
  }

  .pobocka--wrapper:hover {
    background-color: #3186c4;
    color: rgba(252, 252, 252, 0.85);
    transform: scale(1);
    transition: all 0.02s ease-in-out;
  }

  .pobocka--wrapper.selected {
    background-color: #276e9f;
    color: rgba(252, 252, 252, 0.85);
    transform: scale(1);
  }

#width {
  position: fixed;
  top: 0;
  left: 0;
  width: 150px;
  height: 50px;
  background: #1976d2;
  color: #f3f3f3;

}


.gallery {
 
  cursor: default;
}

.gallery-cell {

  height: max-content;
  margin-right: 44px;
  counter-increment: gallery-cell;
  background-size: contain;
}

.gallery-cell img {
  display: block;
  max-height: 100vh;
  max-width: 100vw;
  height: auto;
  border: 6px solid rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease-in-out;

}


.gallery-cell img:hover {
  transform: scale(1);
  transition: all 0s ease-in-out;
  border: 6px solid rgba(0, 0, 0, 0.35);
}

