/* Hlavička s logem a menu */
.site-header {
  background: #eaf4f4;
  padding: 0.5rem 2rem;
 
}

h1, h2 {
  font-family:Helvetica, Arial;
}

.logo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;

}

.logo {
  max-height: 70px;
  max-width: 360px;
  min-width: 150px;
  width: 50%;

}

.main-nav {
overflow: hidden;


}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: #4c7068;
  font-weight: 600;
  padding-bottom: 0.3rem;
  transition: color 0.3s, border-bottom 0.3s;
  font-family: Helvetica, Arial;

  float: left;
  display: block;
  text-align: center;
  padding: 14px 16px;

}

.main-nav a:hover,
.main-nav a.active {
  color: #2f4f4f;
  border-bottom: 3px solid #2f4f4f;
  
}


.topnav {
  overflow: hidden;


//  background-color: #333;
}

/*
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #04AA6D;
  color: white;
}
*/

.topnav .icon {
  display: none;
}

@media screen and (max-width: 800px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }

}

@media screen and (max-width: 800px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 10px;
    top: -10px;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  
}





/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-slide {
  display: none;
  position: relative;
}

.carousel-slide.active {
  display: block;
  animation: fade 5s;
}

.carousel-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover; //cover, fill, contain
  filter: brightness(75%);
}



.carousel blockquote {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size:calc(12px+2vw); //1.8rem;
  font-style: italic;
  text-align: center;
  width:90%;
//  max-width: 800px;
}

.carousel .author {
  display: block;
  margin-top: 1rem;
  font-size: max(1vw,14pt); //1rem;
  font-style: normal;
  color: #e0f2f1;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.carousel-control.prev { left: 10px; }
.carousel-control.next { right: 10px; }

/* Animace */
@keyframes fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.container{max-width:900px;margin:auto;padding:2rem;}

.ctyrlistek {
margin: 0 auto;
margin-top:30px;
max-width: 160px;
height: 100px;
width: 100px;
border-radius: 100%;
background-image: url("../images/ctyrlistek2.png"); 
background-repeat: no-repeat;
background-position: center;
background-size: contain; //cover
//border: 3px solid #ffffff;
//box-shadow: rgba(0, 0, 0, 0.4) 0px 4px 10px;
}}
//.oddelovac {align:center;width:10%;clip-path: circle(50%);box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.4);}




/* Přepínání */
input.rozbalovac {display: none;}
input[type=checkbox]:checked + .rozbalovaci .obsah {display: block}
.rozbalovaci > .obsah {display: none}

/* Styl přepínátka */
.rozbalovaci > label {
  display: block; cursor: pointer; background: #0D6AB7; color: #fff; padding: .5em
}
input[type=checkbox]:checked + .rozbalovaci label {background: #1081DD;}

.rozbalovaci > label:before {
  content: "+"; background: #fff; color: #000; padding: 0 .3em; margin-right: .5em; border-radius: 3px
}
input[type=checkbox]:checked + .rozbalovaci label:before {content: "−"}

/* Nepodstatný styl „obsahu“ */
.rozbalovaci > .obsah {background: #8ECCF0; padding: 1em}

/* Back to Top */
#backtotop{z-index:999; display:inline-block; position:fixed; visibility:visible; bottom:20px; right:20px; width:36px; height:36px; line-height:36px; font-size:16px; text-align:center; opacity:.2;}
#backtotop i{display:block; width:100%; height:100%; line-height:inherit;}
#backtotop.visible{visibility:visible; opacity:.5;}
#backtotop:hover{opacity:1;}

#backtotop{color:#FFFFFF; background-color:#00BCDF;text-decoration:none;}



/* Footer vycentrován */
footer {
  text-align: center;
  padding: 1rem;
  background: #eaf4f4;
  margin-top: 2rem;
}



.fa-google {
  background: #dd4b39;
  color: white;
}

.fa-linkedin {
  background: #007bb5;
  color: white;
}

.fa-youtube {
  background: #bb0000;
  color: white;
}

.fa-instagram {
  background: #125688;
  color: white;
}

.fa-pinterest {
  background: #cb2027;
  color: white;
}

.fa-snapchat-ghost {
  background: #fffc00;
  color: white;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.fa-skype {
  background: #00aff0;
  color: white;
}

.fa-android {
  background: #a4c639;
  color: white;
}

.fa-dribbble {
  background: #ea4c89;
  color: white;
}

.fa-vimeo {
  background: #45bbff;
  color: white;
}

.fa-tumblr {
  background: #2c4762;
  color: white;
}

.fa-vine {
  background: #00b489;
  color: white;
}

.fa-foursquare {
  background: #45bbff;
  color: white;
}

.fa-stumbleupon {
  background: #eb4924;
  color: white;
}

.fa-flickr {
  background: #f40083;
  color: white;
}

.fa-yahoo {
  background: #430297;
  color: white;
}

.fa-soundcloud {
  background: #ff5500;
  color: white;
}

.fa-reddit {
  background: #ff5700;
  color: white;
}

.fa-rss {
  background: #ff6600;
  color: white;
}

