body {
  max-width: 2000px;
  margin: 0 auto;
}

h1{  
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: 32px; 
}
h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: 22px; 
}

h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: 22px; 
}

h4 {
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: 18px; 
}

h5{
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: 12px;
  color: #222; 
}

h6{
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: 14px; 
}

p {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.5;
  margin-top: 0pt;
  margin-bottom: 0pt;
  font-size: 16px;
  text-align: justify;
}

img {
  vertical-align: middle;
  max-width: 100% !important;
}

/* Position the image container (needed to position the left and right arrows) */
.container {
  position: relative;
}

/* Hide the images by default */
.mySlides {
  display: none;
height: inherit;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

.photos-btn {
  background-color: #63ace5;
  border: none;
}

.page-link {
  color: #63ace5;
}

.active-link {
  background-color: #63ace5;
  color: white;
}

.event-card {
  border: none;
  -webkit-box-shadow: -1px 1px 45px -17px rgba(0,0,0,0.75);
  -moz-box-shadow: -1px 1px 45px -17px rgba(0,0,0,0.75);
  box-shadow: -1px 1px 45px -17px rgba(0,0,0,0.75);
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: #222;
  padding: 2px 16px;
  color: white;
}

.bunka {
padding: 0px;
z-index: 1000;
}

.bunka:after {
  content: "";
  display: table;
  clear: both;
  padding: 0px;
}

/* Six columns side by side */


/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

.height100 {
    height: 596px;
    background: #f2f2f2;
    padding: 0px;
    border: 2px solid white;

}

.contact-colum {
  background: #f2f2f2;
  padding: 20px;
  border: solid 3px #fff;
}

.height33 {
    position: relative;
    height: 200px;
    background: #f2f2f2;
    width: 100%;
    padding: 20px;
    border: 2px solid white;
    -webkit-transition: background-color 1s ease-out;
    -moz-transition: background-color 1s ease-out;
    -o-transition: background-color 1s ease-out;
    transition: background-color 1s ease-out;

}

.height33:hover {
  z-index: 1000;
  background-color: #63ace5;
  cursor: pointer;
  color: #fff;

}

.row {
    margin: 0px;
}

.padding-activities {
  padding: 30px;
}

.margin-top {
    margin-top: 30px;
}

.absolute {
    position: absolute;
    bottom: 0px;
    left: 0px;
    background: #63ace5;
    padding: 10px;
    color: white;
}

.relative {
    position: relative;
    display: inline-block;
    height: 250px;

}

.relative-activity {
  position: relative;
  display: inline-block;
  height: 150px;

}

.kategoria{
    display: inline-block;
    vertical-align: middle;
    margin: 0px;
}

.fit{
    width: 100%;
    height: inherit;
    object-fit: cover;
    position: relative;
}

.pravidla-omse li h4{
  margin-top: 30px;
}

.date-calendar h4 {
  color:white;
}

.fit-contain {
  width: 100%;
  height: inherit;
  object-fit: contain;
  position: absolute;
  margin: auto;
  top: 0px;
  padding: 1.5em;

}

.fit-cover {
  width: 100%;
  height: inherit;
  object-fit: cover;
  top: 0;
}

.topnav {
  position: relative;
  overflow: hidden;
  background-color: #f2f2f2;
}

.topnav a {
  float: left;
  color: #000;
  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: #4CAF50;
  color: white;
}

.topnav-centered img {
  float: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.topnav-right {
  float: right;
  margin-left: auto;

}

.righ {
  float: none;
  margin-left: auto;
}



.clanok {
    max-width: 940px;
    margin: auto;
    font-size: 18px;
    padding: 30px 80px 30px 80px;
}

.nadpis {
    max-width: 940px;
    margin: auto;
    padding-left: 80px;
    padding-right: 80px;
    padding-bottom: 0px;
}

.nadpis-activity {
  text-align: center;
}

.post-image {
    position: relative;
    margin: 50px auto;
}

.side-image {
  border: solid 2px #f2f2f2;
  width: 200px;
  height: 200px;
  margin-right: 10px;
  margin-left: 10px;
  object-fit: contain;
  cursor: pointer;
}

.side-image img {
    object-fit: cover;
    display: block;
    /* height: auto; */
    /* object-fit: contain; */
    width: 200px !important;
    height: 200px !important;
    /* object-fit: contain; */
    padding: 5px;
}

.image-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.column {
  float: left;
  padding: 10px;
  width: 1000px;
  overflow: auto;
  display: -webkit-box;
  margin-bottom: 50px;
}

.post-colum {
  background: #f2f2f2;
  -webkit-box-shadow: -1px 1px 45px -17px rgba(0,0,0,0.75);
  -moz-box-shadow: -1px 1px 45px -17px rgba(0,0,0,0.75);
  box-shadow: -1px 1px 45px -17px rgba(0,0,0,0.75);
  margin:2%;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: box-shadow, transform;
  transition-property: box-shadow, transform;
}

.post-colum:hover {
  box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.5);
  -webkit-transform: scale(1.01);
  transform: scale(1.03);
}

.post-colum-small {
  display: flex;
  cursor: pointer;
  height: 100%;
  color: white;
  background: #63ace5;
  -webkit-box-shadow: -1px 1px 45px -17px rgba(0,0,0,0.75);
  -moz-box-shadow: -1px 1px 45px -17px rgba(0,0,0,0.75);
  box-shadow: -1px 1px 45px -17px rgba(0,0,0,0.75);
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: box-shadow, transform;
  transition-property: box-shadow, transform;
}

.post-colum-small:hover {
  box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.5);
  -webkit-transform: scale(1.01);
  transform: scale(1.03);
}

.image-small {
  float: left;
  width: 40%;
  height: 100%;
}

.kruzok {
  display: block;
  cursor: pointer;
  height: 100%;
  background: #f2f2f2;
  -webkit-box-shadow: -1px 1px 45px -17px rgba(0,0,0,0.75);
  -moz-box-shadow: -1px 1px 45px -17px rgba(0,0,0,0.75);
  box-shadow: -1px 1px 45px -17px rgba(0,0,0,0.75);
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: box-shadow, transform;
  transition-property: box-shadow, transform;
}

.kruzok:hover {
  box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.5);
  -webkit-transform: scale(1.01);
  transform: scale(1.03);
}

.post-content-small {
  width: 60%;
  padding: 10px;
  float: right;
}

.kruzok-content {
  width: 100%;
  padding: 10px;
  float: right;
}


.relative-small {
  position: relative;
  display: inline-block;
}

.post-content {
  padding: 10px;
}

.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.active, .accordion:hover {
  background-color: #ccc;
}

.accordion:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212";
}

.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}



/* Responsive navigation menu (for mobile devices) */
@media screen and (max-width: 600px) {
  .topnav a, .topnav-right {
    float: none;
    display: block;
  }
  
  .topnav-centered a {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
  }
}


/* footer */
.footer
{
    background-color: #fff;
    color: #fff;
    padding: 0px 0px 20px 0px !important;
}

.footer-width
{
    margin: 0 auto;
}

.about{
    padding: 20px 0;
    background: #f2f2f2;
}

.gallery-buton {
  padding: 10px;
  margin: auto;
  display: block;
  text-align: center;
}

.gallery-link {
  text-decoration: none;
  color: #000;

}

.gallery-link:hover {
  text-decoration: none;
}

.center
{
    text-align: center;
}

.icon
{
    font-size: 22px;
    margin: 0 15px;
    color: #242422;
}

.icon:hover
{
    color: #242424;
}

.partners
{
    padding: 20px 0;
    background: #fff;
}

.contact
{
    padding: 20px 0;
}

.contact-left
{
    text-align: right;
    border-right: 1px solid #858480;
}

.copyright
{
    border-top: 1px solid #858480;
    padding: 20px 0 0 0;
    color: #222;
}

.card-body {
  background: #f2f2f2;
  padding: 15px 0px 0px 15px;
  display: flex;
}

.date-calendar {
  background: #63ace5;
  padding: 10px;
  width: 30%;
}

.date-calendar h3 {
  display: inline-block;
  color: white;
}

.date {
  font-size: 10px;
}

.media {
  padding: 10px;
  background: #f2f2f2;
  color: rgb(81, 81, 81);
  width: 70%;
}

.ml-3 {
  color: #fff;
}

.partners-link {
  padding-left: 30px;
  padding-right: 30px;
}

.partners-link img{
  width: auto;
  height: 60px;
  padding-top: 10px;
}

.fa-plus-circle {
  color: #747474;
}

.rychle-odkazy {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.footer-middle {
  padding-top: 30px;
  padding-bottom: 30px;
  background: #5c5c5c;
}

.topnav-right {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.contacts {
  margin-top: 50px;
  margin-bottom: 50px;
}

.button-viac {
    position: absolute;
    bottom: 10px;
    background: #f2f2f2;
    padding: 5px 20px 5px 20px;
    border-radius: 100px;
    border: solid 2px #63ace5;
    color: #000;
    font-size: 12px;
}

.button-viac:hover {
  background: #fff;
  border: solid 2px #63ace5;
  color: #63ace5;
  text-decoration: none;
}

.prilaska {
  text-align: center;
  display: block;
  width: 150px;
  margin: auto;
  background: #f2f2f2;
  padding: 5px 20px 5px 20px;
  border-radius: 100px;
  border: solid 2px #63ace5;
  color: #000 !important;
  font-size: 15px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.prilaska:hover {
  color: #fff !important;
  background: #63ace5;
  border: solid 2px #63ace5;
  cursor: pointer;
}
.image-holder {
  height: 100%;
  background: #f2f2f2;
  padding: 0px;
  border: 2px solid white;
}

.about-container {
  margin-bottom: 50px;
  margin-top: 50px;
}

.margin-auto {
  margin: auto;
}

.activities-popis {
  text-align: center;
  padding-bottom: 30px;
}

.activities-popis p {
  margin: auto;
  text-align: justify ;
  text-align-last: center;
}

.activities-popis h1 {
  text-align: center;
}

.rodiny{
  text-align: center;
  margin: auto;
  list-style-type: none;
  margin-top: 20px;
  padding: 0;
}

.margin-container {
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: #f2f2f2;
}

.padding-20{
  padding: 30px;
}

.title-all {
  height: 200px;
}

.title-all h1 {
  line-height: 200px;
  text-align: center;
  color: #fff;
}

.title-kruzok {
  text-align: center;
}

.rychle-odkazy li a {
  list-style: none;
    color: white;
}

.center h3 {
  color: #000;
}

.justify {
  text-align: justify;
}

.hidden {
  display: none;
}

.activities-main h1{
  text-align: center;

}

.activity-content {
  margin-top: 50px;
}

.activity-clanky {
  background-color: #f2f2f2;
  padding-bottom: 50px;
  padding-top: 50px; 
}

.nadpis-activities {
  padding: 30px;
}

.filter {
  background: #f2f2f2;
  padding: 30px;
  width: 100%;
}

.button-filter {
  width: 150px;
  background: #f2f2f2;
  padding: 5px 20px 5px 20px;
  border-radius: 100px;
  border: solid 2px #63ace5;
  color: #000 !important;
  font-size: 15px;
}

.text-center-p p {
  text-align: center;
}

.button-filter:hover {
  color: #fff !important;
  background: #63ace5;
  border: solid 2px #63ace5;
  cursor: pointer;
}

.footer-middle h3 {
  font-weight: 200;
  margin-top: 30px;
}

.step-links {
  margin: auto;
  padding: 20px;
}

.photo-carousel {
  width:80%;
  height: 250px;
  display: block;
  margin: auto;
}

.fotky-container {
  height: 100%;
  overflow: hidden;
  position: relative;
  
}

.fotky-container-iner {
  position: absolute;
  top: 0;
  transition: top .4s;
  display: flex;

}

.photo-carousel a {
  border: 1px solid #e5e5e5;
    display: block;
    margin-bottom: 20px;
    outline: 2px solid transparent;
    outline-offset: -2px;
    transition: border-color .4s, outline-color .4s;
    width: 250px;
    height: 250px;
}

.obrazok-green:hover {
  opacity: 1;

}
.obrazok-green:hover {
  opacity: 0.5;

}

.image-gallery {
  width: 100%;
  height: 250px!important;
  display: block;
  object-fit: cover;
}

.floating-post-header {
  background-color: rgba(99,172,229,0.8);
  position: relative;
  padding: 30px;
  height: 150px;
  text-transform: uppercase;
  color: white;
}

.navbar-margin {
  margin-top: 86px; 
}

.header-logo {
  height: 86px;
  display: flex;
  padding: 10px;
  cursor: pointer;
}

.header-logo img {
  height: 100%;
}

.carousel-caption {
  text-shadow: -1px -1px 1px rgba(255,255,255,.1), 1px 1px 1px rgba(0,0,0,.5);
}

.img-center {
  display: block;
  max-width: 90%;
  margin: 20px auto;
}

.img-left {
  display: block;
  max-width: 90%;
  margin: 20px 0;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .righ {
    margin-left: auto;
    margin-right: auto;
    float: none;
  }
  .height100 {
    display: none;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  .righ {
    margin-left: auto;
    margin-right: auto;
    float: none;
  }
  .height100 {
    display: none;
  }

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .righ {
    margin-left: auto;
    margin-right: auto;
    float: none;

  }

  .height100 {
    display: none;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .righ {
    margin: auto;
    float: none;
    margin-right: 10px;
    
  }

  .height100 {
    display: block;
  }

  .floating-post-header {
    position: absolute;
    bottom: 30px;
  }

} 

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  .righ {
    margin: auto;
    float: none;
    
  }
  .height100 {
    display: block;
  }
}

@media (max-width: 575.98px) and (max-width: 767.98px) { 
  .fit-contain {
    position: relative;
    height: auto;
    display: block;
  }
  .post-image {
    height: auto;
    margin: 0 auto;
  }
}