/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/
#pohadky .fusion-image-element {
  position: relative;
  margin-bottom: -6rem;
}

#pohadky .fusion-image-element span {
  position: relative;
  overflow: visible;
}

/* #pohadky .fusion-image-element span::before {
  content: "";
  background: url(/wp-content/uploads/img/hvezdy.svg) no-repeat;
  width: 8vW;
  height: 8vW;
  position: absolute;
  left: -10.5rem;
  bottom: 9rem;
}

#pohadky .fusion-image-element span::after {
  content: "";
  width: 9rem;
  height: 7rem;
  background: url(/wp-content/uploads/img/hvezdicky.svg) no-repeat;
  position: absolute;
  right: -6rem;
  bottom: -13rem;
} */

.text-info {
  font-size: 4.5rem !important;
  max-width: 600px;
  margin: 0 auto !important;
  line-height: 1em !important;
  font-family: "Pally Bold"!important;
  z-index: 999;
}

.text-info .styled, .text-info .big {
  display: block;
}

.text-info .big {
  font-size: 14rem;
  line-height: 1em;
}


@media (max-width:767px){
  .text-info {
    font-size: 2.25rem !important;
  } 

  .text-info .big {
    font-size: 5.75rem;
}
}
#pohadky .fusion-layout-column {
  margin: 0;
}

.text-info p{
 margin: 0!important;
}

header.fusion-sticky-transition {
  box-shadow: 1px 1px 25px -6px #8f8f8f8c;
}


a.big-btn {
  padding: 1.5rem 2.25rem!important;
}

.fusion-button {
  transition: all ease-in 0.15s
 }
 
 .fusion-button:hover {
  transform: scale(0.92);
 }

.awb-swiper-button-next, .awb-swiper-button-prev {
  background:none!important
}
h3,
h4,
h5 {
  margin: 0 !important;
}

.post h2,
.post-content h2,
h2,
h2.entry-title {
  font-size: clamp(1.25rem, 5vw, 4rem) !important;
  text-align: center;
}

.hvezda {
  position: absolute;
  max-width: 3.75rem;
  width: 100%;
  right: 27rem;
}

a.btn, .thankyoumessage {
  color: var(--awb-color4);
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: 16px;
  background: var(--awb-custom_color_1);
  font-size: 2rem;
  cursor: pointer;
  font-family: "Boing Semibold";
}

a.btn:hover {
  background: var(--awb-color5);
  color: inherit;
}


span.thankyoumessage {
  font-size: 2.5rem;
  padding: 0.5rem 1rem;
  border-radius: 16px;
  letter-spacing: 1px;
  position: absolute;
  cursor:default;
  line-height: 1.4em;
  text-align: center;
  max-width: 100%;
}

.hvezda {
  opacity: 0;
}

@keyframes star-up {
  0% {
    transform: translateY(220px) rotate(0deg);
    opacity: 0
  }
 
  100%{ 
  transform: translateY(0px) rotate(360deg);
  opacity: 1
}
  
}

@keyframes float {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-10px);
	}
	100% {
		transform: translatey(0px);
	}
}

@keyframes float2 {
	0% {
		transform: translatey(0px) rotate(-50deg);
	}
	50% {
		transform: translatey(-10px) rotate(-50deg);
	}
	100% {
		transform: translatey(0px) rotate(-50deg);
	}
}

@keyframes herofloat {
	0% {
		transform: translatey(0px) rotate(33deg);
	}
	50% {
		transform: translatey(-10px) rotate(33deg);
	}
	100% {
		transform: translatey(0px) rotate(33deg);
	}
}


.hvezda {
transition:transform ease-in 0.3s, opacity ease-in 0.3s
}
.hvezda.active {
  animation: star-up 1.2s cubic-bezier(.5,-.75,.7,2) forwards;
} 
@media (min-width:1025px) {
  .floating, #pocitani-ovecek .oblak-bg{
    animation: float 2.2s ease-in-out infinite;
  }
}


.delayed {
  animation-delay: 0.3s;
}


.hvezda img {
  width: 100%;
}
/* header*/

header .fusion-standard-logo {
  max-width: 6.5rem;
}

header span.menu-text {
  text-transform: uppercase;
}

/* hero */

div#hero::before,
div#hero::after,
#pocitani-ovecek::before,
#pocitani-ovecek::after {
  content: "";
  width: clamp(8rem, 22vw, 75rem);
  height: clamp(8rem, 25vw, 45rem);
  position: absolute;
  left: -16rem;
  top: 3rem;
  background: url(/wp-content/uploads/img/ovecka.svg) no-repeat;
  animation: herofloat 2.9s ease-in-out infinite;
  transform: rotate(33deg);
}

div#hero::before {
  left: 2rem;

}


#hero::after, #pocitani-ovecek::after, .banner-tento-bottom::after {
  animation: herofloat 3.4s 0.4s ease-in-out infinite;
}

div#hero::after,
#pocitani-ovecek::after {
  left: unset;
  right: -6rem;
}

#hero .hvezda.right {
  left: unset;
  right: 20%;
  top: 3rem;
  animation-delay: 0.6s;
  /* max-width: 2.8rem; */
}

#hero .hvezda {
  top: 1rem;
  left: 25%;
  /* max-width: 2.9rem; */
}

#hero .hvezda.left {
  left: 17%;
  top: 2.5rem;
  animation-delay: 0.2s;
  animation-duration: 1.4s;
  
}

#hero .hvezda img {
  transform: rotate(20deg);
}

#hero {
  text-align: center;
}

#hero h1,
#hero h2 {
  color: white;
  margin: 0;
  z-index: 999;
}

#hero h1 {
  font-size: clamp(3em, 8vw, 7rem) !important;
  margin: 0 auto;
  margin-bottom: 1.75rem;
}

#hero h2 {
  font-size: clamp(1.4rem, 5vw, 3rem) !important;
  letter-spacing: 1px;
}

#hero p {
  font-weight: 600;
  font-family: "Pally Bold";
  font-size: 2.25rem !important;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

#hero {
  color: var(--awb-custom_color_4);
}

.question-section::before {
  content: "";
  background: url(/wp-content/uploads/img/shape.svg) no-repeat;
  width: 100%;
  height: 22rem;
  position: absolute;
  left: 0;
  bottom: 1rem;
  max-width: clamp(300px, 35vW, 30%)!important;
}

.question-section .hvezda {
  top: -5rem;
  left: -3%;
}

.question-section .hvezda img {
  transform: rotate(42deg);
}

.question-section h2,
.dynamic-part {
  flex-basis: 50%;
  color: var(--awb-color4);
  margin: 0;

}
.question-section h2 {
  letter-spacing: 2px!important;
  font-size: clamp(1.5rem, 3.5vw, 3.5rem) !important;
  text-align: left;
}

.dynamic-part {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  position: relative;
}
.dynamic-part .btn {
  min-width: 14rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.5rem;
  padding: 0.5rem 2.25rem;
  font-size: 2.75rem;
  letter-spacing: 3px;
}

/* oblacky */

.oblak.stars::before {
  content: "";
  width: 9rem;
  height: 7rem;
  background: url(/wp-content/uploads/img/hvezdicky.svg) no-repeat;
  position: absolute;
  left: 5rem;
  top: -3rem;
}

.oblak,
.oblak-bg {
  color: white;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  line-height: 1.2em;
}

.oblak strong,
.oblak-bg strong,
.oblak-tip strong {
  font-family: "Boing Semibold";
}

.oblak.tip strong {
  font-size:clamp(2.25rem, 2.25vw, 3rem)!important;
  line-height: 1.2em;
}

.oblak p {
  margin: 0 !important;
}

#oblak1::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 4rem;
  height: 4rem;
  background: url(/wp-content/uploads/img/hvezda.svg) no-repeat;
  transform: rotate(-40deg);
}

#oblak1 .fusion-column-wrapper,
#oblak2 .fusion-column-wrapper,
#oblak3 .fusion-column-wrapper,
#oblak4 .fusion-column-wrapper {
  background: url(/wp-content/uploads/img/oblak1.svg) no-repeat;
  background-position: center !important;
  padding: 2rem;
  background-size: contain;
  display: flex;
  align-items: center;
  justify-content: center;
}

#oblak1 .fusion-column-wrapper {
  transform: rotate(6deg) translateX(20px) !important;
  height: 24rem;
}

#oblak2 .fusion-column-wrapper {
  background: url(/wp-content/uploads/img/oblak2.svg) no-repeat;
  height: 23rem;
  transform: rotate(-6deg) translateX(-20px) !important;
}

#oblak3 .fusion-column-wrapper {
  background: url(/wp-content/uploads/img/oblak3.svg) no-repeat;
  transform: rotate(-6deg) translateX(110px) !important;
  height: 18rem;
}

#oblak4 .fusion-column-wrapper {
  background: url(/wp-content/uploads/img/oblak4.svg) no-repeat;
  height: 19rem;
  padding-right: 3rem;
}
#oblak3 {
  margin-top: -2.5rem;
}
#oblak4 {
  margin-top: -4.5rem;
  z-index: -1;
}

.oblak .fusion-text {
  position: relative;
}

#oblak3 .fusion-text::before,
#oblak4 .fusion-text::before {
  content: "";
  width: 3rem;
  height: 3rem;
  background: url(/wp-content/uploads/img/sipka.svg) no-repeat;
  position: absolute;
  right: -2rem;
  bottom: 1rem;
}

#oblak4 .fusion-text::before {
  right: -3.5rem;
  bottom: 2rem;
}


.banner-tento,#pohadky {
  padding-left: 0!important;
  padding-right: 0!important;
}

.banner-tento .fusion-imageframe,
.banner-tento img {
  width: 100% !important;
  z-index: 0;
}

.banner-tento .fusion-column-wrapper {
  position: relative;
}

.banner-tento .hvezda {
  right: 24.5%;
  top: 3rem;
}

.banner-tento .hvezda.right img {
  transform: rotate(35deg);
}

.banner-tento .hvezda.right {
  right: 24%;
  top: -7rem;
  max-width: 3.5rem;
  animation-delay: 0.2s;
  animation-duration:1.2s;
}

.banner-tento .hvezda.right2 {
  right: 20%;
  top: 7rem;
  max-width: 3rem;
  animation-delay: 0.6s;
}

.banner-tento .hvezda.left {
  left: 3rem;
  bottom: 3rem;
  top: unset;
  animation-duration:1s;
  z-index: 9999999;
}

#pocitani-ovecek h2 {
  color: var(--awb-color4) !important;
}

#pocitani-ovecek .fusion-column-wrapper {
  align-items: center;
}

.oblak-bg {
  background-position: center !important;
  padding: 2rem;
  background-size: contain;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(/wp-content/uploads/img/oblak3.svg) no-repeat;
  height: 30rem;
  max-width: 50rem;
  flex-direction: column;
  text-align: center;
  color: white;
  width: 100%;
}

.oblak-bg h3 {
  color: white !important;
  margin-bottom: 1rem !important;
  font-size: clamp(1.25rem, 5.25vw, 3.25rem)!important;
}

#pocitani-ovecek .oblak-bg {
  transform: rotate(-3deg);
}

#pocitani-ovecek .hvezda.left1 {
  left: 5%;
  top: 7rem;
}
#pocitani-ovecek .hvezda.left1 img{
  transform: rotate(-55deg);
}

#pocitani-ovecek .hvezda.left2 {
  left: 12%;
  top: 10rem;
  animation-delay: 0.2s;
  animation-duration:1.9s;
}

#pocitani-ovecek .hvezda.right1 {
  right: 6%;
  top: 5rem;
  animation-delay: 0.2s;
}

#pocitani-ovecek .hvezda.right1 img {
  transform: rotate(40deg);
}

#pocitani-ovecek .hvezda.right2 {
  right: 10%;
  top: 10rem;
  animation-duration:0.9s;
}

#pocitani-ovecek .hvezda.right2 img{
  transform: rotate(-55deg);
}

.kniha::before {
  content: "";
  background: url(/wp-content/uploads/img/hvezda.svg) no-repeat;
  width: 3vW;
  height: 3vW;
  position: absolute;
  left: 6vW;
  top: 10vW;
}

#tipy::before,
#tipy::after,
#jak-nato::before,
#jak-nato::after,
.banner-tento-bottom::after {
  content: "";
  width: clamp(8rem, 22vw, 75rem);
  height: clamp(8rem, 25vw, 45rem);
  position: absolute;
  right: 0;
  top: 3rem;
  background: url(/wp-content/uploads/img/ovecka-right.svg) no-repeat;
}

#tipy::after {
  right: unset;
  left: -6rem;
  top: 30%;
  background: url(/wp-content/uploads/img/ovecka-reversed.svg) no-repeat;
  transform: rotate(-50deg);
  animation: float2 2.2s ease-in-out infinite;
}

.banner-tento-bottom::after {
  right: -5rem;
  top: -20rem;
  background: url(/wp-content/uploads/img/ovecka.svg) no-repeat;
  transform: rotate(38deg);
  z-index: 999;
}

.oblak .fusion-column-wrapper {
  background-position: center !important;
  padding: 2rem !important;
  background-size: contain !important;
  height: 15rem;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.oblak.pink .fusion-column-wrapper {
  background: url(/wp-content/uploads/img/oblak2.svg) no-repeat;
}

.oblak.white .fusion-column-wrapper {
  background: url(/wp-content/uploads/img/oblak-white.svg) no-repeat;
}

.oblak.blue .fusion-column-wrapper {
  background: url(/wp-content/uploads/img/oblak-blue.svg) no-repeat;
}

.oblak.darkblue .fusion-column-wrapper {
  background: url(/wp-content/uploads/img/oblak3.svg) no-repeat;
}

/* .home #tipy .fusion-layout-column:nth-child(even) .fusion-column-wrapper, */
.home #tipy .fusion-layout-column:nth-child(even),
#jak-nato
  /* .fusion-layout-column:nth-child(odd):not(:first-child) .fusion-column-wrapper, */
#jak-nato .fusion-layout-column:nth-child(odd):not(:first-child) {
  transform: translateY(6rem)!important;
}
.home #tipy .fusion-layout-column:nth-child(odd):not(:last-child) {
  justify-content: flex-end;
}

.home #tipy .fusion-layout-column:last-child h3 {
  text-decoration: underline;
}

.home #tipy .fusion-column-wrapper {
  max-width: max-content;
  padding: 8rem !important;
  position:relative
}

.custom-tooltip {
  position: absolute;
  top: 80%;
  background: white;
  z-index: 9999999999999999999999999999999999999999;
  padding: 1.75rem;
  width: 100%;
  max-width: 320px;
  color: var(--awb-color4);
  left: 65%;
}
@media (max-width:1600px) {
  .custom-tooltip {
    left: 50%;
    top: 90%;
    transform: translateX(-50%);
  }

  .custom-tooltip::before {
    display: none;
  }

}

@media (max-width:1200px) {
  .custom-tooltip {
    padding: 1.25rem;
  }
}

@media (max-width:991px) {
.custom-tooltip {
  display: none;
}}


.mobiletooltip {
  background: white;
  position: fixed;
  left: 1rem;
  top: 140px;
  width: calc(100% - 2rem);
  height: auto;
  z-index: 999999999999999;
  padding: 2rem 1.25rem 1.75rem;
  display: none;
  font-size: 1.25rem;
  line-height: 1.3em;
}

.mobiletooltip i {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
}

.custom-tooltip i {
  position: absolute;
  right: 0;
  color: var(--awb-color4);
  top: 10px;
  right:10px
}

.custom-tooltip::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 40px solid white;
  border-left: 40px solid transparent;
  left: -39px;
  position: absolute;
  top: 0;
}

.home #tipy .fusion-layout-column:not(.active) .custom-tooltip{
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

.home #tipy .fusion-layout-column.active .custom-tooltip{
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

.home #tipy .fusion-layout-column.active {
  z-index: 999999999;
}


#tipy .fusion-title {
  position: relative;
}

.home #tipy .fusion-title::before {
  content: "";
  width: 3rem;
  height: 3rem;
  background: url(/wp-content/uploads/img/sipka-blue.svg) no-repeat;
  position: absolute;
  right: calc(50% - 1.5rem);
  bottom: -3.5rem;
}

.oblak.pink .fusion-title::before {
  filter: invert(1) saturate(0) brightness(1.5);
}

div#nase-tipy .link:hover {
  transform: scale(0.98)!important;
}

/* banner */

.banner-tento-bottom .hvezda {
  left: 7%;
  right: unset;
  bottom: 13rem;
  top: unset;
  max-width: 3rem;
}

.banner-tento .hvezda.left {
  left: 10%;
  bottom: 4rem;
  max-width: 3.5rem;
}

.banner-tento-bottom .hvezda.right {
  left: unset;
  right: 5%;
  top: 15rem;
}

/* vyhry */

#vyhry {
  text-align: center;
}

#vyhry h2 {
  margin-bottom: 1rem;
}

#vyhry p {
  font-size: clamp(1rem, 3vw, 2rem);
  line-height: 1em;
  margin: 0 auto;
}

#vyhry h3 {
  font-size: clamp(2.25rem, 5vw, 6rem);
  background: url(/wp-content/uploads/img/ovce.svg) no-repeat;
  background-position: center;
  padding: 5rem 0 12rem !important;
  background-position: 17%;
}

#vyhry h4 {
  font-size: clamp(1.1rem, 3vw, 2.5rem);
}

#vyhry h5 {
  font-size: clamp(1.3rem, 3.5vw, 4rem);
  max-width: 30rem;
  margin: 0 auto !important;
}

#vyhry img {
  max-width: 22rem;
  margin: 1rem auto;
}

#vyhry .vyhra-box p {
  font-family: "Pally Bold";
  max-width: 35rem;
}

/* jak nato*/

#jak-nato h2 {
  text-align: center;
}

#jak-nato h3 {
  color: white;
}

#jak-nato p {
  text-align: center;
  font-family: "Pally Bold";
  font-size: 2rem;
  margin: 1.25rem 0 0 0 !important;
  line-height: 1.15em;
}

.oblak.zoomed p {
  font-size: 2.5rem!important;
  line-height: 1.1em!important;
}

#jak-nato .oblak .fusion-column-wrapper {
  height: 17rem;
}
#jak-nato::before {
  background: url(/wp-content/uploads/img/ovecka.svg) no-repeat;
  bottom: 0;
  top: unset;
  left: -14rem;
  transform: rotate(50deg);
}

div#jak-nato::after {
  background: url(/wp-content/uploads/img/ovce.svg) no-repeat;
  bottom: -8rem;
  top: unset;
  transform: rotate(-35deg);
  height: clamp(8rem, 32vw, 75rem);
  right: -22rem;
  width: 40rem;
}

#jak-nato .oblak:nth-of-type(4) {
  position: relative;
}

#jak-nato .oblak:nth-of-type(4)::before {
  content: "";
  background: url(/wp-content/uploads/img/hvezdy.svg) no-repeat;
  width:8vW;
  height: 8vW;
  position: absolute;
  left: -4.5rem;
  bottom: -4rem;
}

/* pohadky */
.pohadky img {
  max-width: 4rem;
  width:100%
}

.pohadky a {
  margin: 0 0.5rem;
  position: relative;
}

.pohadka_audio .pause {
  position: absolute;
  left: 0;
  opacity: 0;
  }


.pohadka_audio.playing .play {
    opacity: 0;
}

.pohadka_audio.playing .pause {
  opacity: 1;
}

.pohadky {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pohadky_btns {
  display: flex;
}

.pohadka-box .fusion-imageframe, .pohadka-box .fusion-imageframe img {
  width: 100%!important;
}

.pohadka-box .fusion-imageframe img {
  max-width: 1000px!important;
  max-height: 50vH;
}

.titles {
  margin-right: 1rem;
}

.pohadky h3 {
  font-size: 3.25rem!important;
}

.pohadky h4 {
  font-size: 2.5rem!important;
}

#pohadky i::before {
  font-size: 7rem;
  color: white;
  opacity: 0.6;
}

img.bg-img {
  position: absolute;
  right: -400px;
  max-width: 800px;
}

#pohadky .awb-swiper-button-prev {
left: 6rem!important;
}



#pohadky .awb-swiper-button-next {
  right:6rem!important
}

#pohadky .swiper-pagination-bullet {
  width: 1.75rem;
  height: 1.75rem;
  background: white;
  margin: 0 0.7rem;
}

  #pohadky .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
    opacity: 0.25;
}

#pohadky .swiper-wrapper {
  padding-bottom: 3rem;
}



/* kontakt */

@media (min-width: 1025px) {
  form .d-flex .fusion-form-field {
    flex-basis: 48%;
  }
}

#kontakt form {
  background: white;
  box-shadow: 1px 1px 25px -6px #8f8f8f;
  padding: 3rem !important;
  margin-top: 1.25rem !important;
}

form label {
  font-family: "Boing Semibold";
}

.fusion-form-input, .fusion-form-form-wrapper .fusion-form-field .fusion-form-checkbox label:before {
  border-radius: 0 !important;
  border-color: #c1c1c1 !important;
}

.fusion-form-textarea-field {
  height: 100%;
}

.fusion-form-textarea-field textarea {
  height: calc(100% - 2rem) !important;
}

.fusion-form-consent-field label {
  margin: 0 !important;
}

abbr.fusion-form-element-required {
  display: none;
}

button.form-form-submit {
  background: transparent;
  border: solid 1px var(--awb-color4) !important;
  padding: 1rem 2.75rem!important;
}

button.form-form-submit:hover {
  background: var(--awb-color4);
}

#kontakt button.form-form-submit span {
  color: var(--awb-color4);
  font-size: 1rem;
  text-transform: none;
}

#kontakt button.form-form-submit:hover span {
  color: white;
}

/* footer*/
footer {
  text-align: center;
  font-size:clamp(1rem, 2vW, 1.3rem);
}

footer a {
  font-family: 'Boing Semibold';
  font-size: clamp(1.25rem, 3vW, 2rem);
  transition: opacity ease-in 0.15s
}

footer p a {
  font-size: clamp(1rem, 2vW, 1.3rem);
  text-decoration: underline;
}

footer a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.footer-bottom a{
  margin:2rem 1.25rem 
}

.footer-bottom a img {
  max-height: 3.5rem;
  transition:transform ease-in 0.15s
}

.footer-bottom a:hover img {
 transform: scale(0.92);
}

/* tipy - page */
#tipy.page h1 {
  margin-bottom: 3rem !important;
}

.oblak-tip div.fusion-column-wrapper {
  position: relative;
  padding: 2.25rem !important;
  margin-bottom: 0rem;
  min-height: 26rem;
  align-items: center;
  justify-content: center!important;
}

.oblak-tip div.fusion-column-wrapper p {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  line-height: 1.2em;
  text-align: center;
  color:white
}


.oblak-tip .fusion-column-wrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: -1rem;
  background: url(/wp-content/uploads/img/oblak-pink.svg);
  background-repeat: no-repeat!important;
  background-size: 100%t!important;
  background-position:center!important;
  transform: scale(1.2);
  z-index: -1;
}

.oblak-tip:nth-child(2n) .fusion-column-wrapper::before {
  background: url(/wp-content/uploads/img/oblak-wh.svg);
}

.oblak-tip:nth-child(3n) .fusion-column-wrapper::before {
  background: url(/wp-content/uploads/img/oblak1.svg);
}

.oblak-tip:nth-child(4n) .fusion-column-wrapper::before {
  background: url(/wp-content/uploads/img/oblak-dark.svg);
}

.oblak-tip:nth-child(2n) .fusion-column-wrapper p {
  color:var(--h2_typography-color)
}

.oblak-tip:nth-child(4n) .fusion-column-wrapper p, .oblak-tip:nth-child(3n) .fusion-column-wrapper p {
  color:white
}


.oblak-tip:nth-child(odd) {
  transform:rotate(-3deg);
}
.oblak-tip:nth-child(even) {
  transform:rotate(5deg);
}


#tipy.page .oblak-tip:nth-child(odd) .fusion-column-wrapper {
  transform: translate(3rem, -1rem);
}

#tipy.page .oblak-tip:nth-child(even) .fusion-column-wrapper {
  transform: translate(-3rem, 13rem);
}

/*respo */ 

button.awb-menu__m-toggle.awb-menu__m-toggle_no-text {
  padding: 0.5rem!important;
}

header .awb-menu.collapse-enabled.mobile-size-column-absolute .awb-menu__main-ul, 
header .awb-menu.collapse-enabled.mobile-size-full-absolute .awb-menu__main-ul {
  top:57px!important
}

header .awb-menu.collapse-enabled li.current-menu-ancestor>a, 
header .awb-menu.collapse-enabled li.current-menu-item>a, 
header .awb-menu.collapse-enabled li.expanded>a, 
header .awb-menu.collapse-enabled li:hover>a {
  background-color: white!important;
}

header .collapse-enabled.mobile-size-column-absolute:not(.mobile-mode-always-expanded) .awb-menu__main-ul, 
header .collapse-enabled.mobile-size-full-absolute:not(.mobile-mode-always-expanded) .awb-menu__main-ul {
  max-height: 100vH!important;
  height: 100vH!important;
  background: #89898945!important;
  backdrop-filter: blur(6px)!important;
}

@media (max-width:1700px) {

#hero .hvezda.left {
    left: 22%;
  }
#hero .hvezda {
    left: 28%;}
#pocitani-ovecek .hvezda.right2 {
    right: 20%;}
    
#pocitani-ovecek .hvezda.right1 {
    right: 16%;}

#pocitani-ovecek .hvezda.left1 {
    left: 15%;}

#pocitani-ovecek .hvezda.left2 {
    left: 22%;}
}  
  
@media (max-width:1500px) {
.question-section::before {
  bottom: -1rem
}

.question-section .hvezda {
  left: 2%;
}
}

@media (max-width:1350px) {
  .hvezda, #oblak1::before, .banner-tento .hvezda.left, .banner-tento .hvezda.right2, .banner-tento .hvezda, .banner-tento-bottom .hvezda.right {
    max-width: 3.25rem;
  }

  #hero .hvezda.left {
    display: none;
  }
}

@media (max-width:1200px) {
  .hvezda {
    max-width: 2.75rem;
  }
  .question-section::before {
    bottom: -3rem;
}

img.bg-img {
  right: -200px;
  max-width: 400px;
}

.oblak-tip div.fusion-column-wrapper {
  margin-bottom: -8rem;
}

.oblak-tip .fusion-column-wrapper::before {
  transform: scale(1.25);
}

#tipy.page .oblak-tip:nth-child(odd) .fusion-column-wrapper {
  transform: translate(1rem, -1rem);
}

#tipy.page .oblak-tip:nth-child(even) .fusion-column-wrapper {
  transform: translate(-1rem, 13rem);
}

div#tipy.page {
  padding-bottom: 24rem;
}}



@media (max-width:1024px) {
  div#tipy.page {
    padding-bottom: 8rem;
}
  #vyhry h3 {
    background-position: center;
    padding-left:clamp(6rem,15vW,2rem)!important
  }

  .hvezda, #oblak1::before, .banner-tento .hvezda.left, .banner-tento .hvezda.right2, .banner-tento .hvezda, .banner-tento-bottom .hvezda.right {
    max-width: 2rem;
  }

  div#hero::after, #pocitani-ovecek::after {
    top: 20px;
    right: -4rem;
  }

  div#hero::before, #pocitani-ovecek::before {
    top:20px;
    left: -1rem;}

    .hvezda {
      z-index: -1;
  }
  .pohadka-box .fusion-imageframe img {
    max-width: 70%!important;
}

#jak-nato .oblak .fusion-column-wrapper {
  height: unset;
  transform: scale(1.25)!important;
}

#jak-nato p, #jak-nato .oblak.zoomed p {
  font-size: clamp(0.5rem, 2vW, 1.5rem)!important;
  margin: 0.15rem 0 0 0 !important;
}
#jak-nato h3 {
  font-size: clamp(0.55rem, 2vW, 1.5rem)!important
}
#jak-nato .oblak {
    margin-top: -1rem;
    margin-bottom: 1rem;
}

.oblak-tip div.fusion-column-wrapper {
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: -3rem;
}

#tipy.page .oblak-tip:nth-child(even) .fusion-column-wrapper, #tipy.page .oblak-tip:nth-child(odd) .fusion-column-wrapper {
  transform: none;
}
}


@media (max-width:991px) {

  header {
    padding-left: 1rem!important;
    padding-right: 1rem!important;
}
  .question-section::before {
    left: 25%;
    max-width: 50%!important;
    bottom:unset;
    top: -35%;
}

.question-section .fusion-column-wrapper {
  flex-direction: column!important;
}

.question-section h2 {
  padding-top: 1.25rem;
  text-align: center;
  max-width: 30rem;
}
.dynamic-part {
  min-height: 150px;
  position: unset;
}

.dynamic-part .btn {
  min-width: 11rem;
padding: 0.25rem 2.25rem;
font-size: 2.25rem;}

.oblak, #oblak1 .fusion-column-wrapper, #oblak2 .fusion-column-wrapper {
  transform: none!important;
}

#nase-tipy .oblak:not(#oblak3):not(#oblak4), #nase-tipy #oblak1 .fusion-column-wrapper, #nase-tipy #oblak2 .fusion-column-wrapper {
  width: 100%!important;
}
#pohadky .fusion-image-element img {
  transform: scale(1)
}


#oblak3 .fusion-column-wrapper {
  transform: none!important;
}

#oblak1 .fusion-column-wrapper {
  height: clamp(25rem, 55vW, 74rem);
}

#oblak2 .fusion-column-wrapper {
  height: clamp(20rem, 55vW, 74rem)}


  #oblak2, #oblak3, #oblak4  {
    margin-top: -4rem;
}

  .oblak p {
  font-size: clamp(1.25rem , 4vW, 6rem)!important;
  line-height: 1.3em!important;
}

/* .oblak.tip strong br {
  display: none;
} */

.oblak.tip p, .oblak.tip strong {
  font-size: clamp(0.85rem, 3.75vw, 3rem)!important;
  line-height: 1em!important;
}
#oblak4 {
  z-index: 9999;
}
#oblak3 .fusion-column-wrapper, #oblak4 .fusion-column-wrapper {
  transform: scale(1.25)!important;
}


#oblak1 .fusion-column-wrapper,
#oblak2 .fusion-column-wrapper,
#oblak3 .fusion-column-wrapper,
#oblak4 .fusion-column-wrapper  {
  background: none;

}
#oblak1 .fusion-column-wrapper::before,
#oblak2 .fusion-column-wrapper::before,
#oblak3 .fusion-column-wrapper::before,
#oblak4 .fusion-column-wrapper::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: url(/wp-content/uploads/img/oblak1.svg) no-repeat;
  background-position: center!important;
}

#oblak2 .fusion-column-wrapper::before  {
  background: url(/wp-content/uploads/img/oblak2.svg) no-repeat
}

#oblak3 .fusion-column-wrapper, #oblak4 .fusion-column-wrapper {
  height: unset;
}

#oblak3 .fusion-column-wrapper::before  {
  background: url(/wp-content/uploads/img/oblak3.svg) no-repeat;
}

#oblak4 .fusion-column-wrapper::before  {
  background: url(/wp-content/uploads/img/oblak1.svg) no-repeat;
}


#oblak3 .fusion-column-wrapper::before, #oblak4 .fusion-column-wrapper::before {
  width: 120%;
  left: -10%;
  min-height: unset;
}

.banner-tento .hvezda.right img {
  display: none;
}
.banner-tento .hvezda.right2 {
  top: 0;}
  .banner-tento .hvezda {
    right: 11.5%;
    top: 1rem;
}
#pocitani-ovecek .hvezda.left1 {
  left: 1%;
  top:unset;
  bottom: 0;
}

#pocitani-ovecek .hvezda.left2 {
  left: 11%;
  top:unset;
  bottom: -30px;
}

.pohadky h3 {
  font-size: 2.25rem!important;
}
.pohadky h4 {
  font-size: 1.75rem!important;
}
img.bg-img {
  right: -100px;
  max-width: 200px;
  top: 20%;
}

#pohadky .swiper-pagination-bullet {
  width: 1rem;
  height: 1rem;
  margin: 0 0.5rem;
}

#pohadky .awb-swiper-button-prev {
  left: 3rem!important;
}

#pohadky .awb-swiper-button-next {
  right: 3rem!important;
}

.home #tipy .fusion-column-wrapper {
  padding: 3.25rem 4rem !important;
  transform:scale(2.25)!important
}

#tipy  .oblak .fusion-column-wrapper {
  height: unset!important
}

#tipy .fusion-title {
  margin: 0!important;
}

#tipy .oblak p, #tipy .oblak h3 {
  font-size: clamp(0.6rem , 2vW, 4rem)!important;
  line-height: 1.3em!important;
}
.home #tipy .fusion-layout-column:not(:last-child) {
  justify-content: center!important;
}

.home #tipy .fusion-layout-column{
  margin-top: 1rem;
}

.home #tipy .fusion-layout-column:not(:nth-child(odd)){
  margin-top: 8rem;
}

.home #tipy .fusion-title::before {
  width: 2vW;
  height: 2vW;
  right: calc(50% - 1vW);
  bottom: -2vW;
}

.banner-tento-bottom::after, #tipy::before, #tipy::after {
 display:none
}
#tipy::before {
  display: none;
}
.oblak-tip {
  min-height:26rem ;
}

}
@media (max-width:850px) {
.home #tipy .fusion-column-wrapper {
  padding: 2.25rem 3rem !important;
  transform: scale(1.75)!important}
}



@media (max-width:800px) {
  
  #hero .hvezda {
    left: 27%;
  }
  #hero .hvezda.left{
  left: 4%;
  }
  #hero .hvezda.right {
    right: 23%;}

  #hero p {
      font-size: 1.5rem !important;}

      .footer-bottom a img {
        max-height: 2.25rem;
      }
      
      .footer-bottom a {
        margin: 0.5rem;
        line-height: normal;
      }
}
@media (max-width:767px) {

  #tipy.page h1 {
    margin-bottom: 6rem !important;
}


#oblak3 .fusion-text::before, #oblak4 .fusion-text::before {
  display: none;
}
#oblak1 .fusion-column-wrapper::before,
#oblak2 .fusion-column-wrapper::before,
#oblak3 .fusion-column-wrapper::before,
#oblak4 .fusion-column-wrapper::before {
  width: 120%;
  left: -10%;
  
}
.oblak.stars::before {
  display: none;
}
.home #tipy .fusion-layout-column:not(:nth-child(odd)) {
  margin-top: 4rem;
}
#vyhry img {
  max-width: 100%;
}

#kontakt form {
  padding: 1rem !important;
}

.oblak-tip .fusion-column-wrapper::before {
  transform: scale(1.5);
}}

@media (max-width:580px) {
  .banner-tento .hvezda {
    right: unset;
    top: 3rem;
    left: 1rem;
}

#hero .hvezda {
  display: none;
}

  .banner-tento .hvezda.left {
  left: 17%;
  bottom:3.5rem;
  }

  .banner-tento-bottom .hvezda.right {
    left: unset;
    right: 5%;
    bottom: 2rem;
    top: unset;
}
#oblak2  {
  margin-top: -7rem;
}

#pocitani-ovecek .oblak-bg {
  background:none;
}
#jak-nato .oblak {
  margin-top: -1rem;
  margin-bottom: 1rem;
}

#kontakt form {
  padding: 0rem !important;
}


#pocitani-ovecek .oblak-bg::before {
  background:url(/wp-content/uploads/img/oblak3.svg) no-repeat;
  width: 100%;
  height: 100%;
  left:0;
  position: absolute;
  content: "";    
  z-index: -1;
  background-position: center;
  transform: scale(1.25);
}

#pocitani-ovecek .oblak-bg p br {
  display: none;
}

#hero h1 {
  margin-bottom: 0.75rem;
}
#hero p {
  font-size: 1.3rem !important;
}
.dynamic-part {
  min-height: 80px;
}

.dynamic-part .btn, span.thankyoumessage {
  min-width: 7rem;
  padding: 0 1.25rem;
  font-size: 1.5rem;
}

.question-section .hvezda {
  top: 0;
  left: -0.8rem!important;
}

.oblak-bg {
  height: unset;
  margin-top: 2rem;
}

.hvezda, #oblak1::before, .banner-tento .hvezda.left, .banner-tento .hvezda.right2, .banner-tento .hvezda, .banner-tento-bottom .hvezda.right {
  max-width: 1.5rem;
} 

.pohadky a {
  margin: 0 0.25rem;
}

.pohadky img {
max-width: 3rem;}

.pohadky h3 {
  font-size: 1.75rem!important;
}

.pohadky h4 {
  font-size: 1.25rem!important;
}

#pohadky .awb-swiper-button-prev {
  left: 1rem!important;
}

#pohadky .awb-swiper-button-next {
  right: 1rem!important;
}

#pohadky i::before {
  font-size: 3.5rem;}

.home #tipy .fusion-title::before {
    width: 3vW;
    height: 3vW;
    right: calc(50% - 1.5vW);
    bottom: -3vW;
}
#vyhry h3 {
  padding: 3rem 0 5rem !important;
  background-position: 5%;
  padding-left: clamp(6rem,15vW,2rem)!important;
}

#jak-nato .oblak .fusion-column-wrapper {
  transform: scale(2.2)!important;
  padding: 0.5rem!important;
  margin-top: 1.75rem;
}

#jak-nato p, #jak-nato .oblak.zoomed p {
  font-size: clamp(0.25rem, 1.5vW, 1.5rem)!important;
max-width: 5rem;}


div#jak-nato::after {
  top: 0;
  height: clamp(5rem, 32vw, 75rem);
  right: -6rem;
  width: 12rem;
}

.footer-bottom a img {
  max-height: 1.75rem;
}

.footer-bottom a {
  margin: 0.5rem;
  line-height: normal;
}
}


@media (max-width:500px) {
  #tipy.page .oblak-tip {
    margin-top: -4rem;
}
  .oblak-tip div.fusion-column-wrapper {
    padding: 0.5rem !important}


  .oblak .fusion-column-wrapper {
    padding: 1rem !important;
  }
.question-section::before {
  left: 20%;
  max-width: 60%!important;
  top:-45%}

  /* #oblak3, #oblak4 {
    width: 100%!important;
    margin: 0!important;
} */

#oblak3 .fusion-column-wrapper, #oblak4 .fusion-column-wrapper {
  margin-top: 0;
}

#oblak3 .fusion-column-wrapper, #oblak4 .fusion-column-wrapper, #oblak3 .fusion-column-wrapper::before, #oblak4 .fusion-column-wrapper::before {
  height: 100%;
  min-height: unset;
  margin-top: 0;
}
div#oblak3 {
  margin-top: -3rem!important;
}



  #oblak1 .fusion-column-wrapper::before, #oblak2 .fusion-column-wrapper::before, #pocitani-ovecek .oblak-bg::before {
    transform: scale(1.35);
}

#oblak1 .fusion-column-wrapper, #oblak2 .fusion-column-wrapper{
  padding: 0!important;
}

a.big-btn {
  padding: 1rem 1.5rem!important;
  font-size: 1.25rem!important;
}
.oblak-bg {
  font-size: clamp(1rem, 2vw, 1.9rem);
  padding: 0.5rem
}

#oblak2, #oblak3, #oblak4 {
  margin-top: -3.5rem;
}
.oblak-bg h3, .oblak-bg p {
  margin-bottom: 0!important;
  max-width: 12rem;
}

.fusion-form-form-wrapper .fusion-form-field {
  margin-bottom: 0!important;
}

.fusion-title-size-two, h2 {
  margin-bottom: 0!important;
}
}

@media (max-width:480px) {
  form .fusion-fullwidth {
    padding: 0.25rem 1.25rem 1.25rem!important;
}
  .home #tipy .fusion-layout-column:not(:nth-child(odd)){
    margin-top: 3rem;
}

.home #tipy .fusion-layout-column:last-child {
  margin-top: 2rem;
}
div#oblak2 {
  margin-top: -5rem;
}
.post-content .fusion-fullwidth:not(#hero):not(.question-section):not(.banner-tento):not(#tipy) {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

#pohadky .swiper-pagination-bullet {
  width: 0.75rem;
  height: 0.75rem;
  margin: 0 0.25rem;
}

.kniha::before {
  width: 5vW;
  height: 5vW;
  left: 3vW;
  top: 25vW;
}

#jak-nato .oblak:nth-of-type(4)::before {
  left: unset;
  bottom: 0rem;
  width: 14vW;
  height: 14vW;
  right: -5rem;
}

footer {
  line-height: 1.2em;
}

.oblak-tip .fusion-column-wrapper::before {
  transform: scale(1.8);
}

#tipy.page .oblak-tip:nth-child(2n) {
  transform: rotate(0deg);
}

span.thankyoumessage {
  position: relative; 
  margin-bottom: 2rem;
}

}

@media (max-width:380px) {
  .oblak p br:not(:first-of-type) {
    display: none;
  }
  #oblak1 .fusion-column-wrapper::before, #oblak2 .fusion-column-wrapper::before {
    transform: scale(1.5);
}

.oblak.tip p, .oblak.tip strong {
  max-width: 13rem;
}
#oblak1 .fusion-column-wrapper::before, #oblak2 .fusion-column-wrapper::before, #pocitani-ovecek .oblak-bg::before {
  transform: scale(1.5);
}

div#oblak2 {
  margin-top: -7rem;
}

.pohadky {
  flex-direction: column;
}
.titles {
  margin-right: 0;
  margin-bottom: 0.5rem;
}

#oblak3 .fusion-column-wrapper::before, #oblak4 .fusion-column-wrapper::before {
  transform: scale(1.3);
}

#tipy.page .oblak-tip {
  margin-top: -5rem;
}

.oblak-tip .fusion-column-wrapper::before {
  transform: scale(2.2);
}

  }

  h2.info {
    background: white;
    border-radius: 1.25rem;
    padding: 3.2rem 2.25rem;
    margin: 4rem 0 0;
}

@media (max-width:787px) {
  h2.info {
    padding: 2.2rem 1.25rem;
  }
}
