/* varela-round-regular - latin-ext_latin */
@font-face {
  font-family: 'Varela Round';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/varela-round-v17-latin-ext_latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/varela-round-v17-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/varela-round-v17-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/varela-round-v17-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/varela-round-v17-latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/varela-round-v17-latin-ext_latin-regular.svg#VarelaRound') format('svg'); /* Legacy iOS */
}
.blog-item:hover{
    transform: scale(1.1);
}
.blog-item {
    transform-origin: 15% 15%;
    transition: transform 1s, filter .5s ease-out;
    transform-origin: center center;
    border-radius:15px;
    margin-bottom: 0;

}
.blog-item .item-image {
    margin-top: 0px;
}
.blog-items[class*=" masonry-"] .blog-item, .blog-items[class^=masonry-] .blog-item {
    margin-bottom: 1em;
}
dl, ol, ul {
    margin-bottom: 0px;
}


/* header */
.container-header nav {
    margin-top: 0px;
}
.container-header {
  background-color: #000;
  background-image: none;
  background-repeat: no-repeat;
  background-position: top center;
  position: relative;
width: 100%;
}
.mod-menu>li:hover {
    background-color: #0b7089;
    transition-duration: 2s;
    transition-timing-function: ease-out;
}
.container-header .metismenu>li>a:hover:after {
 background-color: transparent; 
}
.metismenu.mod-menu .metismenu-item {
    margin-left:0.5em;
    margin-right:0.5em;
    padding: 0.5em 0.5em;
}
.container-below-top, .container-topbar {
animation: fadeIn 5s;
width: 100%;
position: relative;
    display: grid;
    grid-template-columns: min-content auto auto;
    grid-template-rows: auto;
    grid-template-areas:
    "nav  mod-custom95 search"
}
#mod-custom95{

padding-top: 15px;
}
.search{
  justify-self: end;
  align-self: start;
  margin:15px;
}
#mod-custom88{
width: 100%;
padding-top: 30px;
padding-left:15px;
padding-right:15px;
background-size: 200% 200%;
background-image: linear-gradient(-45deg, black 0%, #5fb3c7 25%, #5fb3c7 51%, black 100%);
  -webkit-animation: AnimateBG 10s ease infinite;
          animation: AnimateBG 10s ease infinite;
}
@-webkit-keyframes AnimateBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes AnimateBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
#mod-custom88 img{
transform: scale(0.94);
    animation: scale 2s forwards cubic-bezier(0.5, 1, 0.89, 1);  
}
@keyframes scale {
  100% {
    transform: scale(1);
  }
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.container-banner {
    display: block;
    margin: 0 0 0;
}

@media screen and (max-width: 992px) {
  .site-grid {
        grid-gap: 0 0.8em;
    display: grid;
    grid-template-areas:
        ". banner banner banner banner ."
        ". top-a top-a top-a top-a ."
        ". top-b top-b top-b top-b ."
        ". comp comp comp comp ."
        ". side-r side-r side-r side-r ."
        ". side-l side-l side-l side-l ."
        ". bot-a bot-a bot-a bot-a ."
        ". bot-b bot-b bot-b bot-b .";
    
  }
  #mod-custom88{
    align-self: center;
    width: 100%;
    padding-top: 30px;
padding-left:15px;
padding-right:15px;
    background-color: #000;
    }
#mod-custom93 img{
width:20%;
      }
  .blog-items.masonry-4 {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    }
    .item-content h2 a{
    font-size: 3vw;
    }
    time {
    font-size: 2.5vw;
    }
    [type=search] {
    width:100%;
    }
    .search{
width:100px;
}

    .container-header nav{
    padding:0.5em;
    margin-top:0px;
    }
    .container-below-top, .container-topbar {
    animation: fadeIn 5s;
    width: 100%;
    position: relative;
    display: grid;
    grid-template-columns: min-content auto auto;
    grid-template-rows: auto;
    grid-template-areas:
    "nav mod-custom95 search"
    
}
}
@supports (display: grid) {
  .site-grid {
    display: grid;
    min-width: auto;
    > div {
      min-width: 100%;
    }
  }
}
  .site-grid {
grid-template-columns: [full-start] minmax(0,1fr) [main-start] repeat(4,minmax(0,35rem)) [main-end] minmax(0,1fr) [full-end];
    }

p, h1, h2, h3, nav time{
  font-family: 'Varela Round';
  font-style: normal;
  font-weight: 400;
}
a:not([class]) {
  text-decoration: none;
}

/* blog */
.blog-item .item-image{
  margin-bottom: 0;
}
.blog-featured h2{
  padding: 10px;
  margin-bottom: 0;
  background-color: #926535;
}
.blog-featured h2 a{
 color: white;
}
.blog-featured h2 a:hover{
 color: black;
}
.blog-featured dl{
  padding: 5px;
  background-color: #76bfd7;

}
/* blog-category */
.item-content h2{
  padding: 10px;
  margin-bottom: 0;
  background-color: #926535;
  font-size: 1vw;
  border-radius: 0 0 15px 0;
}
.item-content h2 a{
  color: white;
}
.item-content h2 a:hover{
  color: black;
}
.item-content dl{
  padding: 5px;
  background-color: #76bfd7;
  display: inline-block;
  border-radius: 0 0 15px 0;
}
time{

    color: black;
}
/* footer */
.footer {
  background-color: black;
  background-image: none;
}
.footer a {
  color: grey;
}
.footer a:hover {
  color: white;
}
#mod-custom90 {
  width: 100%;
}
.footer .grid-child {
width: 100%;
font-size: 10px;
display: block;
max-width: none;
}
/* rozne */
.card {
  border: 0px solid #dfe3e7;
}
[type=search] {
    background-color: #aeaeae;
    border-radius:10px;
}
.container-component>:first-child{
    margin-top: 0px;
}


