/* ********* definice obecnych HTML znacek ********* */
html {
  scroll-behavior: smooth;
}
:root {
  scroll-behavior: smooth;
}
body {
  padding: 0;
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 1.1em;
  background-color: white;
  color: rgb(27, 24, 22);
  position: relative;
}

img {
  border: none;
}
form {
  padding: 0px;
  margin: 0px;
}

a {
  color: #81afbe;
  text-decoration: none;
}
a:hover {
  color: rgb(27, 24, 22);
  text-decoration: none;
}
a:focus {
  color: #81afbe;
}

h1 {
  font-weight: normal;
  margin: 00;
  padding-top: 0px;
  font-size: 160%;
}
h2 {
  font-weight: 600;
  margin: 0 0 3vh 0;
  padding-top: 0px;
  font-size: 1.6em;
  line-height: 120%;
  text-transform: uppercase;
}
h3 {
  margin: 0 0 2vh;
  font-size: 1.2em;
  font-weight: 600;
  display: block;
  text-transform: uppercase;
}
h4 {
  font-size: 100%;
  font-weight: 600;
  margin: 0px;
}

small {
  font-size: 80%;
}
textarea {
  font-family: sans-serif;
  font-size: 100%;
}
.clear {
  clear: both;
  font-size: 1px;
  line-height: 1px;
  height: 1px;
}
div {
  box-sizing: border-box;
}
.plus {
  display: inline-block;
  font-weight: 500;
}

.pageEndSign,
.pageEndSignEnd {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  position: absolute;
  width: 100px;
  height: 40px;
  left: 0;
  right: 0;
  bottom: 2.5%;
  z-index: 30;
  margin: auto;
  transition: transform 0.1s ease;
}
.pageEndSign span,
.pageEndSignEnd span {
  display: inline-block;
  font-family: "Abril Fatface", cursive;
  font-size: 3em;
  color: #81afbe;
  transform-origin: 53% 53%;
  transform: rotate(90deg);
}
.pageEndSign:hover,
.pageEndSignEnd:hover {
  color: #81afbe;
  transform: scale(1.1);
}
.pageEndSignEnd span {
  transform: rotate(270deg);
  transform-origin: 26% 53%;
}
.pageEndSignEnd .white {
  color: white;
}

.flexik {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 1.5em;
  margin: 0 auto;
}

.tabulka {
  display: grid;
}

.tabulka .item .item__link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.tabulka .item .title a {
  color: #fff;
  position: relative;
  z-index: 1;
  transition: color 0.2s ease;
}
.tabulka .item:hover .title a {
  color: #000;
}

.material-symbols-outlined {
  font-size: 2em;
  display: inline-block;
  text-transform: none;
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 48;
  width: 30px;
  font-family: "Material Symbols Outlined", ui-sans-serif;
}

/********************* header **********************/
#webTitle {
  display: block;
  position: absolute;
  left: 35px;
  top: 30px;
  z-index: 0;
  font-size: 1em;
}

header {
  position: fixed;
  width: 100%;
  background-color: white;
  z-index: 100;
  height: 110px;
  top: 0;
  box-sizing: border-box;
  transition: top 0.2s ease-in-out;
}
#logo {
  position: absolute;
  display: block;
  z-index: 450;
  display: block;
  left: 3em;
  top: 20px;
  padding: 15px 25px 25px;
  background-color: white;
  border-radius: 0.5em;
}

#intro {
  position: relative;
}

#motto {
  position: absolute;
  left: 5%;
  top: calc(180px + 40vh);
  z-index: 30;
  width: 50%;
  color: white;
  font-size: 4vw;
  font-weight: 700;
  display: block;
  line-height: 100%;
  margin: 0;
  padding: 0;
  text-transform: none;
}
#motto .underlined {
  border-bottom: solid #81afbe 0.4em;
}

#intro .pageEndSign {
  border-radius: 20px;
  border: solid white 1px;
}
#intro .pageEndSign span {
  color: #81afbe;
}
#intro .pageEndSign:hover {
  color: #81afbe;
  border: solid #81afbe 1px;
}
#intro .pageEndSign:hover span {
  color: white;
}

/* ************ menu *********** */
#menu {
  position: relative;
  right: 3em;
  top: 22px;
  width: 100vw;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  flex-direction: row;
  align-items: center;
}
.menu li {
  list-style: none;
  display: inline-block;
  padding: 0px;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: flex-end;
}
.menu li a {
  font-size: 0.85em;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  color: #444541;
  padding: 0 1em;
  margin: 0;
  box-sizing: border-box;
  white-space: nowrap;
}
.menu li a:hover {
  color: #81afbe;
  font-weight: 400;
}
.menu li .active {
  color: #81afbe;
}

.menu li .plus {
  color: #81afbe;
}
.menu li:first-child .plus {
  display: none;
}

#socialLinks {
  margin-left: 2em;
  display: block;
}
#socialLinks a {
  display: inline-block;
  padding: 0 !important;
  margin: 0 0.6em;
  width: 27px !important;
  height: auto;
  overflow: hidden !important;
  border-radius: 7px;
  font-size: 0 !important;
}
#socialLinks a img {
  width: 100%;
  transition: transform 0.3s ease;
}
#socialLinks a:hover img {
  transform: scale(1.5);
}

#languages {
  margin-left: 2em;
  display: block;
  display: none;
}
#languages a {
  display: inline-block;
  padding: 0 !important;
  margin: 0 0.1em;
}

/* ************ menu mobile *********** */
#menuToggle {
  display: block;
  position: absolute;
  width: 40px;
  top: 30px;
  margin: 0;
  z-index: 500;
  -webkit-user-select: none;
  user-select: none;
}
#menuToggle input {
  display: none;
  width: 60px;
  height: 32px;
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
}

/* ********** hamburger ************** */
#menuToggle span {
  display: none;
  width: 40px;
  height: 0.15em;
  margin-bottom: 5px;
  position: relative;
  background: #74a1b0;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}
#menuToggle span:first-child {
  transform-origin: 0% 0%;
}
#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(30deg) translate(-2px, -1px);
  background: #74a1b0;
}
#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}
#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-30deg) translate(-2px, 0px);
}

#menuToggle input:checked ~ ul {
  transform: none;
}

/********************* main content **********************/
main {
  padding: 0;
  margin: 0;
  position: relative;
}
article {
  margin: 0;
  text-align: center;
  line-height: 135%;
  font-size: 1.2em;
  text-align: center;
  padding: 140px 4em;
  position: relative;
  background-color: #f0f2f2;
}
article h2 {
  margin-top: 0.5em;
}
article h2 .plus {
  color: #81afbe;
  padding: 0 10px;
}
#aktuality,
#o-nas,
#fotogalerie,
#program {
  padding: 145px 4em;
}
#aktuality {
  background-color: #81afbe;
  color: white;
}

/********aktuality**********/
#aktuality a {
  color: white;
}
#aktuality h2 .plus {
  color: #5f615f;
  padding: 0 10px;
}
#aktuality .flexik {
  width: 75%;
  margin: 7vh auto;
  flex-wrap: wrap;
}
#aktuality .flexik .item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  width: 23%;
  min-height: 15vw;
  background-color: #d3cdbc;
  border: solid white 1px;
  border-radius: 1em;
  padding: 1.5em;
  text-align: left;
  transition: transform 0.3s ease;
  background-size: cover;
  background-repeat: no-repeat;
  background-position-y: bottom;
}
#aktuality .flexik .item h3 {
  color: white;
  font-weight: 600;
  position: relative;
  font-size: 1.1em;
}
#aktuality .flexik .item .more {
  display: block;
  text-transform: lowercase;
  color: white;
  position: relative;
  font-size: 1.1em;
}
#aktuality .flexik .item:hover {
  transform: scale(1.02);
}
/*****ztmavit - zesvetlit********/
#aktuality .flexik .item:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: all 0.2s linear;
  border-radius: 1em;
}
#aktuality .flexik .item:hover:before {
  background: rgba(0, 0, 0, 0.1);
}
#aktuality .pageEndSign span {
  color: white;
}

.home #aktuality .flexik {
  justify-content: center;
}

/**********aktuality detail***************/
#aktualityDetail {
  padding: 120px 20em;
}
#aktualityDetail h2 {
  font-size: 1.3em;
  text-transform: initial;
}
#aktualityDetail h2 .plus {
  display: none;
}
#aktualityDetail .flexik {
  width: 90%;
  gap: 2.5em;
  justify-content: center;
}
#aktualityDetail .flexik .OnasPics {
  text-align: left;
}
#aktualityDetail .flexik .OnasPics img {
  display: block;
  border-radius: 1em;
  margin-bottom: 2em;
  width: 100%;
}
#aktualityDetail .flexik .text {
  text-align: left;
}
#aktualityDetail .flexik .text p {
  line-height: 180%;
}

/* fotogalerie*/
#_gallery-6-258.oxy-gallery-captions
  .oxy-gallery-item
  .oxy-gallery-item-contents
  figcaption:not(:empty) {
  font-weight: normal !important;
}

#fotogalerie a {
  color: white;
  align-content: flex-start;
}
#fotogalerie h2 .plus {
  color: #81afbe;
  padding: 0 10px;
}
#fotogalerie .flexik {
  justify-content: space-evenly;
  width: 70%;
  margin: 7vh auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2em;
}
#fotogalerie .flexik .item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  min-width: 16vw;
  min-height: 15vh;
  background-color: #d3cdbc;
  border: solid white 1px;
  border-radius: 1em;
  padding: 1.5em;
  text-align: left;
  transition: transform 0.3s ease;
  background-size: cover;
  background-repeat: no-repeat;
  background-position-y: bottom;
}
#fotogalerie .flexik .item h3 {
  color: white;
  font-weight: 600;
  position: relative;
  font-size: 1em;
}
#fotogalerie .flexik .item .more {
  display: block;
  text-transform: lowercase;
  color: white;
  position: relative;
  font-size: 1.1em;
}
#fotogalerie .flexik .item:hover {
  transform: scale(1.02);
}
/*****ztmavit - zesvetlit********/
#fotogalerie .flexik .item:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.45);
  transition: all 0.2s linear;
  border-radius: 1em;
}
#fotogalerie .flexik .item:hover:before {
  background: rgba(0, 0, 0, 0.1);
}
#fotogalerie .pageEndSign span {
  color: white;
}
/******fotogalerie detail****/
#div_block-2-258 {
  padding: 145px 4em;
}
#div_block-2-258 h2 {
  text-transform: lowercase;
}
#div_block-2-258 h2 .plus,
#div_block-2-258 .pageEndSign {
  display: none;
}
#_gallery-6-258 .oxy-gallery-item {
  border-radius: 1em;
}

/**********o nas***************/
#o-nas h2 .plus {
  color: #81afbe;
  padding: 0 10px;
}
#o-nas .flexik {
  width: 90%;
  gap: 2em;
  justify-content: space-evenly;
}
#o-nas .flexik .OnasPics {
  width: 32%;
  text-align: left;
  padding-top: 2em;
}
#o-nas .flexik .OnasPics img {
  display: block;
  border-radius: 1em;
  margin-bottom: 2em;
}
.OnasPics img:first-child {
  width: 22vw;
}
.OnasPics img:nth-child(2) {
  width: 13vw;
  float: right;
}
.OnasPics img:nth-child(3) {
  width: 17vw;
}
#o-nas .flexik .text {
  width: 55%;
  text-align: left;
}
#o-nas .motto2 {
  font-size: 2.6em;
  font-weight: 700;
  display: block;
  line-height: 120%;
  margin: 0;
  padding: 0 20% 0 0;
  text-transform: none;
  color: #81afbe;
}
#o-nas .flexik .text p {
  margin: 2em 0 0 5vw;
  line-height: 180%;
}
#o-nas .flexik .text p .firstLetter {
  float: left;
  font-size: 6.3em;
  font-weight: 200;
  color: #81afbe;
  margin: 0.25em 0.1em 0.2em 0;
  font-family: "Abril Fatface", cursive;
}
#o-nas .flexik .text p .firstLetter:nth-child(odd) {
  color: #b6ac96;
}
#o-nas .flexik .text p .firstLetter:nth-child(1) {
  color: #81afbe;
}
#o-nas .pageEndSign {
  margin: 6vh auto 0;
}
#o-nas .pageEndSign span {
  color: #5f615f;
}

/**************kontakty******************/
#kontakty {
  background-color: #d3cdbc;
}
#kontakty a {
  color: rgb(27, 24, 22);
}
#kontakty a:hover {
  color: white;
}
#kontakty h2 .plus {
  color: #81afbe;
}
#kontakty .map {
  width: 40vw;
  text-align: center;
  margin: 0 auto 2vh;
}
#kontakty .map iframe {
  border-radius: 1em;
  width: 100%;
}
#kontakty .flexik {
  width: 40vw;
  gap: 2em;
  justify-content: space-evenly;
}
#kontakty .flexik a,
#kontakty .flexik strong {
  font-weight: 600;
}
#kontakty .pageEndSignEnd span {
  color: white;
}

/****************article a normalni stranka*****************************/
.article,
#normalni-stranka {
  background-color: #f0f2f2;
}
.article,
.program {
  padding-top: 5vh;
}
.article .plus,
.program .plus {
  padding: 0 10px;
  color: #81afbe;
}

#normalni-stranka {
  text-align: center;
  padding-top: 20px;
}
#normalni-stranka h2 {
  margin-bottom: 1.5em;
}
#normalni-stranka h3 {
  color: #81afbe;
}
#normalni-stranka h2 .plus {
  color: #81afbe;
  padding: 0 10px;
}
#normalni-stranka .ct-section-inner-wrap {
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 120px 4em;
}
#normalni-stranka .pageEndSignEnd {
  display: none;
}

/***************PROGRAM**************************/
#program {
  min-height: 85vh;
}
#program .mec_footer_navigation {
  margin-top: 1.5em;
}
#program .mec_footer_navigation a {
  transition: color 0.33s;
}
#program .mec_header_navigation .tabulkaMonthNavigation {
  display: none;
}
#program {
  background-color: #333232;
  color: white;
  background-size: cover;
  background-repeat: no-repeat;
}
.program .plus {
  color: #81afbe;
}
#program .months {
  display: flex; /*justify-content: space-between;margin:0 0 0.6em 0;*/
  flex-wrap: nowrap;
  margin: 2.5em 0 2.6em 0;
  justify-content: center;
}
#program .months .current {
  text-align: left;
  font-weight: 700;
}
#program .months .current .year {
  display: inline-block;
  margin-left: 0.3em;
  font-weight: 700;
}
#program .months div,
#program .mec_footer_navigation .tabulkaMonthNavigation {
  display: flex;
  justify-content: flex-end;
  flex-wrap: nowrap;
  font-size: 70%;
  gap: 1em;
}
#program .months div a {
  color: white;
}
#program .months div a:hover,
#program .mec_footer_navigation a:hover,
#program .mec_footer_navigation a.mec-load-month-link:hover {
  color: #81afbe;
}
#program .months .archiv {
  font-size: 70%;
}
#program .tabulka {
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2em;
  margin-bottom: 2vh;
}
#program .tabulka .item {
  font-size: 1.2rem;
  min-height: 12em;
  border: solid white 2px;
  border-radius: 2em;
  padding: 1em 1.5em;
  background-color: #b6ac96;
  display: flex !important;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  transition: transform 0.3s ease;
}
#program .tabulka .item:hover {
  transform: rotateX(20deg);
}
#program .tabulka .item title,
#program .tabulka .item .date,
#program .tabulka .item .title {
  display: block;
  font-weight: 700;
  color: white;
}
#program .tabulka .item .itemHeader {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  color: white;
  font-size: 85%;
}
#program .tabulka .item title,
#program .tabulka .item .title {
  font-size: 1.2em;
  margin: 0.5em 0;
  transition: color.2s ease;
}
#program .tabulka .item:hover title,
#program .tabulka .item .title {
  color: rgb(27, 24, 22);
}
#program .mec-skin-tile-month-navigator-container,
#program .mec-month-navigator,
#program .mec-previous-month,
#program .mec-next-month {
  all: unset;
}
#program .mec-load-month .mec-load-month-link i {
  display: none;
}
#program .mec-month-navigator,
#program .mec_footer_navigation {
  display: flex;
  justify-content: space-between;
}
#program .tabulkaFormattedDate {
  text-align: left;
  font-size: 2em;
  font-weight: 700;
  line-height: 85%;
}
#program .months span,
#program .months a,
#program .mec_footer_navigation .mec-next-month a,
#program .mec_footer_navigation .mec-previous-month a,
#program .mec_footer_navigation a {
  font-size: 29px;
  font-weight: 600;
  line-height: 85%;
  text-transform: lowercase;
  color: #fff;
}
#program .months .tabulkaMonthNavigation .mec-load-month a,
#program .mec_footer_navigation .mec-next-month a,
#program .mec_footer_navigation .mec-previous-month a,
#program .mec_footer_navigation a {
  font-size: 24px;
  pointer-events: all;
}
#program .mec-skin-tile-month-navigator-container:before,
#program .mec-skin-tile-month-navigator-container:after {
  content: unset;
}
/*#program .item.-purple {background-color: #8184e5;}
#program .item.-green {background-color: #a3e581;}
#program .item.-pink {background-color: #df81e5;}
#program .item.-lightblue {background-color: #81afbe;}
#program .item.-lightbrown {background-color: #b6ac96;}*/

#program .tabulka .item:nth-child(2),
#program .tabulka .item:nth-child(4),
#program .tabulka .item:nth-child(5),
#program .tabulka .item:nth-child(7),
#program .tabulka .item:nth-child(10),
#program .tabulka .item:nth-child(12),
#program .tabulka .item:nth-child(13),
#program .tabulka .item:nth-child(15),
#program .tabulka .item:nth-child(18),
#program .tabulka .item:nth-child(22),
#program .tabulka .item:nth-child(36) {
  background-color: #81afbe;
}

#detail-programu h1 {
  text-align: left;
}
#detail-programu #code_block-165-84 {
  display: flex;
  justify-content: flex-end;
  width: 90%;
  margin: auto;
}

@media only screen and (max-width: 1400px) {
  #detail-programu #-carousel-builder-84-84 .oxy-dynamic-list > .ct-div-block,
  #-carousel-builder-84-84 .oxy-dynamic-list .flickity-slider > .ct-div-block,
  #-carousel-builder-84-84 .oxy-inner-content .oxy-dynamic-list {
    height: 304px;
  }
}

@media only screen and (min-width: 1810px) {
  #detail-programu #-carousel-builder-84-84 .oxy-dynamic-list > .ct-div-block,
  #-carousel-builder-84-84 .oxy-dynamic-list .flickity-slider > .ct-div-block,
  #-carousel-builder-84-84 .oxy-inner-content .oxy-dynamic-list {
    height: 470px;
  }
}

@media only screen and (max-width: 1200px) {
}
@media only screen and (max-width: 990px) {
  #-carousel-builder-84-84 {
    --carousel-cell-width: 42%;
  }
}
@media only screen and (max-width: 750px) {
  #-carousel-builder-84-84 {
    --carousel-cell-width: 60%;
  }
}
@media only screen and (max-width: 600px) {
  #-carousel-builder-84-84 {
    --carousel-cell-width: 100%;
  }
}
/******************** press **********************************/
.press {
  background-color: white;
  border-radius: 1em;
  color: #81afbe;
  padding: 2em;
  margin: 0 auto 2em auto;
  line-height: 120%;
  font-size: 90%;
}
.pressCont {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}
.pressCont p {
  margin: 0;
}
.pressCont a {
  color: rgb(27, 24, 22);
}
.pressCont .pressLink:hover {
  color: #81afbe;
}
.pressCont .pressLink {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  color: rgb(27, 24, 22);
  cursor: pointer;
  width: 45%;
}
.pressIcon {
  display: flex;
  width: 40px;
  height: 40px;
  background-color: #81afbe;
  color: white;
  border-radius: 0.2em;
  font-size: 1em;
  font-weight: 400;
  align-items: center;
  justify-content: space-around;
}
.pressCont a:hover .pressIcon {
  color: #81afbe;
  background-color: white;
  border: 1px solid #81afbe;
}

.partners {
  display: flex;
  margin: 1.5em auto 8vh;
  gap: 2.5em;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.partners a {
  display: block;
}

.pressCont nav {
  text-align: left;
  margin: 1em 0;
  font-size: 90%;
}
.pressCont nav a {
  color: #81afbe;
}
.pressCont nav a:hover {
  color: rgb(27, 24, 22);
}

/********************* footer ****************************/
footer {
  margin: 0px auto 20px auto;
  color: rgb(76, 84, 92);
  text-align: center;
  font-size: 80%;
  position: relative;
}
footer .copy {
  margin: 20px 0px;
  padding: 0px;
}
footer a {
  color: rgb(76, 84, 92);
}

/*************Carousel homepage***********************/

#introCarousel {
  position: relative;
  z-index: 20;
  min-height: 100vh;
  box-sizing: border-box;
  background-color: #352f2b;
}

/* Carousel styling */
#introCarousel,
.carousel-inner,
.carousel-item,
.carousel-item.active {
  height: 100vh;
}

.carousel-item {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.carousel-item img {
  object-position: center !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-control-next,
.carousel-control-prev {
  font-family: "Material Icons";
  font-size: 2em;
  width: 10%;
}
.center img {
  object-position: 50% 110px;
}

/* Height for devices larger than 576px
@media (min-width: 992px) { #introCarousel {margin-top: -58.59px;} }*/

/* css3 transition fade-in effect on page load */
main {
  animation: fadein 5s;
  -moz-animation: fadein 5.5s; /* Firefox */
  -webkit-animation: fadein 5s; /* Safari and Chrome */
  -o-animation: fadein 5s; /* Opera */
}
#motto {
  animation: 0.9s ease-out 0s 1 slideInFromLeft;
  -moz-animation: 0.9s ease-out 0s 1 slideInFromLeft; /* Firefox */
  -webkit-animation: 0.9s ease-out 0s 1 slideInFromLeft; /* Safari and Chrome */
  -o-animation: 0.9s ease-out 0s 1 slideInFromLeft; /* Opera */
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
  }
}
@-moz-keyframes fadein {
  /* Firefox */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes fadein {
  /* Safari and Chrome */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-o-keyframes fadein {
  /* Opera */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  0% {
    transform: translateX(-3%);
  }
  100% {
    transform: translateX(0);
  }
}
@-moz-keyframes slideInFromLeft {
  0% {
    transform: translateX(-3%);
  }
  100% {
    transform: translateX(0);
  }
}
@-webkit-keyframes slideInFromLeft {
  0% {
    transform: translateX(-3%);
  }
  100% {
    transform: translateX(0);
  }
}
@-o-keyframes slideInFromLeft {
  0% {
    transform: translateX(-3%);
  }
  100% {
    transform: translateX(0);
  }
}

@media only screen and (min-width: 1700px) {
  #program {
    padding: 145px 15vw;
  }
}

@media only screen and (min-width: 1600px) {
  #aktuality .flexik .item,
  #fotogalerie .flexik .item {
    min-height: 12vw;
  }
}

@media only screen and (max-width: 1600px) {
  #aktuality .flexik {
    width: 90%;
  }
}

@media only screen and (max-width: 1400px) {
  #menuToggle {
    right: 2em;
    left: auto;
    top: 50px;
  }
  #menuToggle input,
  #menuToggle span {
    display: block;
  }
  #menu {
    position: absolute;
    width: 70vw;
    min-height: 100vh;
    right: -2em;
    top: -45px;
    box-sizing: border-box;
    display: block;
    margin: 0;
    text-align: left;
    overflow: auto;
    padding: 180px 10vw 80px;
    background: #fffffff0;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(150%, 0);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  }
  #menu li {
    width: auto;
    padding: 0;
    justify-content: flex-start;
  }
  .menu li a {
    padding: 0;
    font-size: 1.6em;
  }
  .menu li a:hover {
    color: #81afbe;
  }
  .menu .plus {
    font-size: 1.6em;
    font-weight: 300;
    padding-right: 10px;
  }
  .menu li:first-child .plus {
    display: inline-block;
  }

  #socialLinks {
    display: flex;
    gap: 0.5em;
    margin: 10vh auto 2vh;
  }
  #socialLinks a {
    width: 28px !important;
  }

  #languages {
    margin: 0em;
  }
  #languages a {
    font-size: 1.6em;
  }
  #logo {
    left: 2em;
    top: 20px;
  }

  #aktuality .flexik {
    width: 70%;
  }
  #fotogalerie .flexik {
    width: 90%;
  }
  #aktuality .flexik .item {
    min-width: 30% !important;
  }
  #aktuality .flexik .item h3,
  #aktuality .flexik .item .more,
  #fotogalerie .flexik .item h3 {
    font-size: 1.5vw;
  }
  #o-nas .motto2 {
    padding: 0;
  }

  #program {
    padding: 120px 5em;
  }
  #program .tabulka {
    gap: 1em;
  }
  #program .tabulka .item title,
  #program .tabulka .item .title {
    font-size: 0.9em;
  }
  #aktualityDetail .flexik .OnasPics img {
    width: 25vw;
  }
  #aktualityDetail {
    padding: 140px 10em;
  }
}

@media only screen and (max-width: 1050px) {
  #aktuality .flexik,
  #fotogalerie .flexik {
    width: 90%;
  }
  #aktuality .flexik .item h3,
  #aktuality .flexik .item .more,
  #fotogalerie .flexik .item h3 {
    font-size: 1.8vw;
  }
  #o-nas .motto2 {
    font-size: 1.9em;
  }
  #o-nas {
    font-size: 1em;
  }
  #kontakty .map,
  #kontakty .flexik {
    width: 60vw;
  }
  #kontakty .map iframe {
    height: 150px;
  }
}

@media only screen and (max-width: 990px) {
  article {
    font-size: 1em;
    padding: 145px 1.5em 100px;
  }
  #program {
    padding: 145px 2em 100px;
  }
  #program .tabulka {
    grid-template-columns: 32% 32% 32%;
  }
  #aktuality .flexik,
  #fotogalerie .flexik {
    margin: 5vh auto 7vh;
  }
  #fotogalerie .flexik {
    width: 90% !important;
  }
  #o-nas .motto2 {
    font-size: 2.2em;
  }
  #o-nas .flexik .OnasPics {
    width: 36%;
  }
  .OnasPics img:first-child {
    width: 24vw;
  }
  .OnasPics img:nth-child(2) {
    width: 15vw;
  }
  .OnasPics img:nth-child(3) {
    width: 19vw;
  }
  #motto {
    width: 60%;
    font-size: 5vw;
  }

  #program .tabulka {
    gap: 1em;
    grid-template-columns: 1fr 1fr 1fr;
  }
  #program .tabulka .item {
    min-height: 10em;
    padding: 1em;
  }
  #program .tabulka .item:nth-child(2),
  #program .tabulka .item:nth-child(6),
  #program .tabulka .item:nth-child(8),
  #program .tabulka .item:nth-child(10),
  #program .tabulka .item:nth-child(12),
  #program .tabulka .item:nth-child(14),
  #program .tabulka .item:nth-child(18),
  #program .tabulka .item:nth-child(22) {
    background-color: #81afbe;
  }

  #program .tabulka .item:nth-child(5),
  #program .tabulka .item:nth-child(7),
  #program .tabulka .item:nth-child(13),
  #program .tabulka .item:nth-child(16) {
    background-color: #b6ac96;
  }

  #program .tabulka .item title,
  #program .tabulka .item .title {
    font-size: 1em;
    margin: 0;
  }
  #detail-programu h1 {
    font-size: 1.5em;
  }
  #detail-programu #code_block-165-84 {
    justify-content: flex-start;
  }

  #aktualityDetail {
    padding: 175px 2em 100px;
    text-align: center;
  }
  #aktualityDetail .flexik .OnasPics img {
    width: 30vw;
  }

  #fotogalerie .flexik {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media only screen and (max-width: 800px) {
  #menu {
    width: 100vw;
    padding: 180px 25vw 80px;
  }
  .flexik {
    gap: 1em;
  }
  #aktuality .flexik .item h3,
  #fotogalerie .flexik .item h3 {
    font-size: 1.9vw;
  }
}

@media only screen and (max-width: 790px) {
  .pageEndSign {
    width: 80px;
    height: 38px;
  }
  #intro .pageEndSign {
    border-radius: 15px;
    bottom: 2%;
  }
  .pageEndSign span {
    font-size: 2.5em;
  }

  #aktuality .flexik,
  #fotogalerie .flexik {
    width: 100% !important;
  }
  #aktuality .flexik .item,
  #fotogalerie .flexik .item {
    padding: 1em;
  }
  #aktuality .flexik .item h3,
  #aktuality .flexik .item .more,
  #fotogalerie .flexik .item h3 {
    font-size: 2.4vw;
  }
  #o-nas {
    font-size: 1em;
  }
  #o-nas .flexik {
    width: 100%;
    gap: 0.2em;
    padding-top: 1em;
  }
  #o-nas .flexik .OnasPics img {
    border-radius: 1em;
  }
  #o-nas .motto2 {
    font-size: 1.5em;
  }
  .article,
  .program {
    padding-top: 2vh;
  }
  #aktualityDetail .flexik .OnasPics {
    align-items: center;
  }
  #aktualityDetail .flexik {
    width: 100%;
    flex-wrap: wrap;
    gap: 1em;
  }
}

@media only screen and (max-width: 700px) {
  #motto {
    width: 90%;
    font-size: 7vw;
  }
  #aktuality .flexik .item {
    padding: 1em;
    width: 33vw;
  }
  #aktuality .flexik .item h3,
  #aktuality .flexik .item .more,
  #fotogalerie .flexik .item h3 {
    font-size: 2.3vw;
  }
  #kontakty .map,
  #kontakty .flexik {
    width: 90vw;
    font-size: 0.9em;
  }
  .kreslo img {
    object-position: 35%;
  }

  #program .tabulka {
    grid-template-columns: 48% 48%;
  }
  #program .tabulka .item {
    min-height: 11em;
  }
  #program .tabulka .item:nth-child(3),
  #program .tabulka .item:nth-child(7),
  #program .tabulka .item:nth-child(7),
  #program .tabulka .item:nth-child(11),
  #program .tabulka .item:nth-child(15),
  #program .tabulka .item:nth-child(18),
  #program .tabulka .item:nth-child(19) {
    background-color: #81afbe;
  }
  #program .tabulka .item:nth-child(4),
  #program .tabulka .item:nth-child(8),
  #program .tabulka .item:nth-child(12),
  #program .tabulka .item:nth-child(16) {
    background-color: #b6ac96;
  }

  #fotogalerie .flexik {
    grid-template-columns: 1fr 1fr;
  }
}

@media only screen and (max-width: 550px) {
  h2 {
    font-size: 1.5em;
  }
  #menuToggle {
    right: 1em;
  }
  #logo {
    left: 1.5em;
    top: 5px;
    padding: 10px 15px 15px;
  }
  #logo img {
    width: 85px;
  }
  #menu {
    padding: 150px 8vw 80px;
  }
  #menu li a,
  .menu .plus {
    font-size: 1.3em;
  }
  .flexik {
    flex-wrap: wrap;
  }
  #motto {
    top: calc(180px + 30vh);
    font-size: 10.5vw;
    line-height: 110%;
  }
  .carousel-control-next,
  .carousel-control-prev {
    top: 180px;
    bottom: auto;
  }
  #aktuality .flexik .item,
  #fotogalerie .flexik .item {
    display: block !important;
    padding: 2em 1.5em !important;
    width: 100% !important;
    height: auto !important;
    min-height: 15vh !important;
  }
  #aktuality .flexik .item h3,
  #aktuality .flexik .item .more,
  #fotogalerie .flexik .item h3 {
    font-size: 1.1em;
  }
  #fotogalerie {
    padding: 145px 1.5em 100px;
  }
  #fotogalerie .flexik {
    grid-template-columns: 1fr;
  }
  #o-nas .flexik {
    padding-top: 0;
  }
  #o-nas .flexik .text {
    width: 100%;
  }
  #o-nas .flexik .text p {
    margin: 1em 0 0 0;
  }
  #o-nas .flexik .OnasPics {
    width: 100%;
    margin: 0.3em 0 2em;
    padding: 0;
  }
  #o-nas .flexik .OnasPics div {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
  }
  #o-nas .flexik .OnasPics img {
    margin-bottom: 0.5em;
  }
  .OnasPics img:first-child,
  .OnasPics img:nth-child(2) {
    width: 49%;
    height: 30vw;
    object-fit: cover;
    margin: 0.5em;
    float: none;
  }
  .OnasPics img:first-child {
    float: left;
  }
  .OnasPics img:nth-child(3) {
    display: none !important;
  }

  #o-nas .pageEndSignEnd,
  #aktuality .pageEndSign,
  #o-nas .pageEndSign {
    display: none;
  }

  #kontakty .flexik,
  #kontakty .map {
    width: auto;
  }
  .nav-up {
    top: -135px !important;
  }

  .partners,
  .press {
    width: 100%;
  }
  .press {
    padding: 1em;
  }
  .press .pressCont {
    justify-content: space-between;
  }

  #aktualityDetail h2 {
    font-size: 1.1em;
    margin: 0.4em;
  }
  #aktualityDetail .flexik {
    gap: 0em;
  }
  #aktualityDetail .flexik .OnasPics img {
    width: 50vw;
    margin-bottom: 1em;
  }
  #aktuality,
  #aktualityDetail,
  #o-nas,
  #fotogalerie {
    padding: 175px 1.5em 2em;
  }

  #normalni-stranka .ct-section-inner-wrap {
    padding: 145px 1em;
  }

  #program {
    padding: 140px 1.5em 2em;
  }
  #program .months {
    margin: 0.5em 0 1.6em 0;
  }
  #program .months span,
  #program .months a,
  #program .mec_footer_navigation .mec-next-month a,
  #program .mec_footer_navigation .mec-previous-month a,
  #program .mec_footer_navigation a {
    font-size: 20px;
  }
  #program .months .tabulkaMonthNavigation .mec-load-month a,
  #program .mec_footer_navigation .mec-next-month a,
  #program .mec_footer_navigation .mec-previous-month a,
  #program .mec_footer_navigation a {
    font-size: 20px;
  }
  #program .tabulka .item title,
  #program .tabulka .item .title {
    font-size: 0.9em;
  }

  #detail-programu h1 {
    font-size: 1.2em;
    font-weight: 600;
  }
  #detail-programu .event-time {
    font-size: 0.7em;
  }
  #detail-programu .ct-div-block {
    gap: 0.6em;
  }
  .partners {
    gap: 1.5em;
  }
}

@media only screen and (max-width: 470px) {
  article,
  #program {
    padding: 160px 1em 100px;
  }
  #program .months div {
    gap: 0.5em;
  }
  #program .tabulka .item .itemHeader {
    font-size: 80%;
  }
  #program .tabulka .item {
    min-height: 11em;
    font-size: 1.1em;
    padding: 0.5em;
    border-radius: 1em;
  }
}

@media only screen and (max-height: 970px) {
  #intro .pageEndSign {
    bottom: 10vh;
  }
}

@media only screen and (max-height: 650px) and (max-width: 1400px) {
  #menu {
    padding-top: 100px;
    background: #ffffff;
  }
  #menu li a,
  .menu .plus {
    font-size: 1.1em;
    font-weight: 600;
  }
}

@media only screen and (max-height: 700px) {
  #motto {
    top: calc(110px + 16vh);
    bottom: auto;
  }
  .carousel-control-next,
  .carousel-control-prev {
    top: auto;
    bottom: 2%;
  }
}

@media only screen and (max-height: 460px) {
  #motto {
    top: calc(110px + 11vh);
    line-height: 100%;
  }
}

@media only screen and (max-height: 960px) and (max-width: 550px) {
  #motto {
    top: calc(110px + 25vh);
    line-height: 100%;
    font-size: 9vw;
  }
}

@media only screen and (max-height: 460px) and (max-width: 550px) {
  #logo {
    left: 1.5em;
    padding: 0;
  }
  #motto {
    top: calc(110px + 8vh);
    line-height: 100%;
    font-size: 8vw;
  }
}

@media only screen and (max-height: 460px) and (max-width: 1500px) {
  #menu {
    padding-top: 40px;
    height: 100vh;
    overflow-y: scroll;
  }
  #menu li a,
  .menu .plus {
    font-size: 1em;
  }
}

@media only screen and (max-height: 600px) and (max-width: 750px) {
  #logo {
    padding: 0;
  }
  #logo img {
    width: 75px;
  }
  .pageEndSign {
    display: none;
  }
  #aktuality .flexik .item {
    padding: 1.5em;
  }
  .carousel-item img {
    object-position: left bottom;
  }
  .kreslo img {
    object-position: 25%;
  }
}

@media only screen and (min-height: 970px) {
  #intro .pageEndSign {
    bottom: 10vh;
  }
}

/*Newsletter */
form {
  font-size: 85%;
}
button,
input,
optgroup,
select,
textarea {
  border-radius: 0.4em;
  border: none;
  text-align: center;
}
button,
[type="submit"] {
  background-color: #81afbe;
  color: white;
  padding: 0.2em 0.6em;
}

.es_subscription_message.success,
.es_subscription_message.error {
  color: white;
  font-size: 16px;
  margin: 1em 3em 2em;
}
.es_subscription_message.error {
  color: #912124;
  font-size: 90%;
  font-weight: 500;
}
.es_caption {
  padding-bottom: 1em;
  padding-right: 0.5em;
  font-size: 115%;
  font-weight: 600;
}
/*
TranslatePress přepínač
*/
.trp-language-switcher {
  width: auto;
  height: auto;
	    font-size: 0.85em;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    color: #444541;
    margin: 0;
    box-sizing: border-box;
    white-space: nowrap;
}
.trp-language-switcher > div {
  background: var(--white);
  border: 0px;
  padding: 0px;
width: auto !important;
}
.trp-language-switcher > div > a {
  color: var(--black);
  padding: calc(var(--space-xs)/2);
  font-family: inherit;
  font-size: inherit;
}
.trp-language-switcher > div > a:hover {
  background: var(--primary);
  border-radius: 0px; 
}
.trp-language-switcher:hover .trp-ls-shortcode-language {
  padding: 0px!important;
}