.svet{
position:relative;line-height:1px;
}

.mapa{
width:100%;
max-width:100%;
  overflow: hidden;
/*
background:url(../images/mapa-bg.jpg) no-repeat center center;
background-size:100% auto;
padding-bottom:63.17708%;*/

}


/*** mraky ***/

.mraky{
position:absolute;top:0%;left:0%;width:100%;
height:101%;overflow:hidden;


 
}

.page-id-184 .mraky{
 top:-0.5%;left:-0.5%;width:101%;
background: linear-gradient(180deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0) 90%, rgba(255, 255, 255, 1) 100%);
}

 

.mrak{
position:absolute;top:0px;left:0px;width:100%;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
transform-origin: center;
} 


@keyframes drift1{
  0%   { transform: translateX(0px) scale(1.2); }
  50%  { transform: translateX(0vw) scale(1); }
  100% { transform: translateX(0vw) scale(1.2); }
}

/* Animace zprava doleva + scale */
@keyframes drift2 {
  0%   { transform: translateX(0vw) scale(1); }
  50%  { transform: translateX(0vw) scale(1.2); }
  100% { transform: translateX(0px) scale(1); }
}


.mrak1 {
background:url(../images/mrak2.png) no-repeat center top;
background-size:100% 100%;
  height: 100%;transform-origin:   left top;
  animation: drift1 30s linear infinite;
}

.mrak2 {
background:url(../images/mrak1.png) no-repeat center top;
background-size:100% 100%;
  height: 100%;
transform-origin: right top;
  animation: drift2 30s linear infinite;
}

.mrak3 {
transform-origin: right top;
background:url(../images/mrakyl.png) no-repeat center center;
background-size:100% auto;
padding-bottom:47.76%;
  animation: drift2 20s linear infinite;
}

@media all and (max-width: 720px) {

/*
.mapa{background-image:url(../images/mapa-bg-m.jpg);}*/
.mrak1 {background-image:url(../images/mrak1-m.png);}
.mrak2 {background-image:url(../images/mrak2-m.png);}
.mrak3 {background-image:url(../images/mrakyl-m.png);padding-bottom:66.38889%;}

}



/*** svg **/

#mapaanimace{
  position: absolute;
  display: block;
  width: 100%;
  left: 0px;
  z-index: 1;
  bottom: 0%;
}



 
       .st0map {
fill: #fff;
        fill-rule: evenodd;
        isolation: isolate;
        opacity: .36;
      }

      .st1map{
        stroke: #fff;fill:#fff;
        stroke-width: 4.23px;
        stroke-miterlimit: 22.93;
      }  
      
      .st2map {
        stroke: #fff;
        stroke-miterlimit: 22.93;
        stroke-width: 1.2px;
        fill: none;
      }

      .st3map {
        stroke-width: 4.23px;
        stroke: #fff;
        stroke-miterlimit: 22.93;
        fill: none;
      }

      .st4map {fill:#fff;	}

#cities .st3map{
  opacity: 0;
  /* důležité pro SVG: transform-origin se vztahuje k bounding boxu elementu */
  transform-box: fill-box;            /* centrum podle vlastního bbox */
  -webkit-transform-box: fill-box;   /* pro starší Safari */
  transform-origin: center center;   /* střed elementu */
  -webkit-transform-origin: center center;
  /* animace: fade + 3x pulse, pak zůstane */
  animation: fadePulse 1s cubic-bezier(.2,.9,.3,1) forwards;
  }
 
#cities .st4map{
  opacity: 0;
  animation: revealLeftToRight  0.7s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
 
 @keyframes revealLeftToRight {
  0% {opacity:0; clip-path: inset(0 100% 0 0);   }
  20% {opacity:1; clip-path: inset(0 80% 0 0);   }
  100% { opacity: 1; clip-path: inset(0 0 0 0);  }
}

@keyframes fadePulse {
  0%   { opacity: 0; transform: scale(0.8); }
  10%  { opacity: 1; transform: scale(1.2); } 
  40%  { transform: scale(1); }               
  60%  { transform: scale(0.8); }          
  100%  { transform: scale(1);opacity: 1; }
}
