a:link, a:visited {text-decoration: none; color: #be1e2d;}
a:hover {text-decoration: underline;}
html {
    overflow: -moz-scrollbars-vertical; 
    overflow-y: scroll;
    background-color: white;
}

body {overflow-x: hidden;}

.TDblockSite {position: absolute; left: 50%; margin-left: -217px; width: 435px; margin-top: 150px;}
/* WHITEFIELD LOADING */
.td_whitefield {width: 100%; height: 100%; display: block; background-color: #fff; position: fixed; top: 0; left: 0; z-index: 100000;  top: 0; right: 0; bottom: 0; left: 0;}
.td_loading {position: absolute; top: 50%; left: 50%; z-index: 100000; transform: translate(-50%,-50%);}


.box {float: left;   width: 100%; min-height: 100vh;  display: block; }
.flexBox {display: flex; justify-content: center; align-items: center; flex-wrap: wrap; align-content: center;}
.fullWidth {float: left; width: 100%;}

.box1 {
  background-image: url(/files/bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #eeeeee;
  padding-top: 75px; 
}

.box2 {height: 100vh;}

.videoItem {width: 660px;}

.logo { width: 100%; float: left; text-align: center;     animation-name: logo;    animation-duration: 1s;}
.logoSub {font-family: 'Great Vibes', cursive; font-size: 35pt; width: 100%; float: left; text-align: center; line-height: 100%; color: #be1e2d;  margin-top: -20px; animation-name: logoSub;    animation-duration: 1s;}
.bio {float: left; width: 100%; margin-top: 5px;}
.td_body {width: 80%;}
h1 { animation-name: logo;    animation-duration: 1s; line-height: 100%; font-size: 66pt; font-family: 'Great Vibes', cursive; width: 100%; float: left; text-align: center; margin-bottom: 15px; }
.contact a span span {color: black; margin: 0 10px; margin-right: 25px; font-size: 14pt;}

.thumbnails {display: flex; justify-content: center; align-items: center; flex-wrap: wrap; align-content: center; max-width: 60%;}
.thumbnails a {width: calc(16.666% - 20px); margin: 10px;}
.thumbnails a:hover {  z-index; 5;}
.thumbnail {
  transition: 100ms;
  width: 100%;
  float: left; 
  border: 5px solid white;
}
.thumbnail:hover {

  transform: scale(1.1);
}

@keyframes logo {
    from {transform: translate(-500px, 0);}
    to {transform: translate(0, 0);}
  }

  @keyframes logoSub {
    from {transform: translate(500px, 0);}
    to {transform: translate(0, 0);}
  }

  @keyframes downDown {
    0% {transform: translate(-50%, 0px);}
    10% {transform: translate(-50%, 5px);}
    20% {transform: translate(-50%, 0px);}
    30% {transform: translate(-50%, 5px);}
    40% {transform: translate(-50%, 0px);}
    50% {transform: translate(-50%, 0px);}
    100% {transform: translate(-50%, 0px);}
  }

  @keyframes bgMove {
    0% {background-position: 0% center;}
    50% {background-position: 50% center;}
    100% {background-position: 0% center;}
  }

  .centeredReal {margin: 0 auto; max-width: 1280px;}
footer .centeredReal { text-align: center; padding: 10px; width: 100%; float: left; text-align: center; max-width: 100%;}
.social {position: absolute; top: 20px; right: 20px;}
.contact {position: absolute; top: 20px; left: 20px;}

.icons {width: 40px; height: 40px; transition: 150ms; margin: 5px;}
.icons:hover {transform: translate(0, 5px); cursor: pointer;}

.icons2 { height: 54px; width: auto; margin: 10px; transition: 150ms;}
.icons2:hover {animation: none; }


.dotaz {float: left; margin-top: 10px;}
.dotaz2 {float: left; margin-top: 35px;}

.line {width: 100px; border-bottom: 3px solid #be1e2d; margin-bottom: 35px; margin-top: 0px; animation-name: logoSub;    animation-duration: 1s;}

.arrU {position: fixed; right: 20px; bottom: 20px; width: auto; z-index: 3; display: none; height: 60px;}


.contactBlock {max-width: 800px;}

.galleryLink {float: left; height: 100%; position: relative; overflow: hidden; transition: 150ms;}

.galleryLink img {position: absolute; height: 100%; left: 50%; top: 50%; transform: translate(-50%, -50%);  transition: 150ms;}
.galleryLink:hover img {transform: translate(-50%, -50%) scale(1.05);}

.galleryCaption {position: absolute; bottom: 0; z-index: 2; width: 100%; padding: 25px; background-color: rgba(255,255,255,0.8); text-align: center; color: #000; opacity: 1;   transition: 150ms; font-size: 18pt;}
.galleryLink:hover .galleryCaption {padding: 0 25px;  opacity: 0;}

.galleryLink1 {width: 100%;}
.galleryLink2 {width: 50%;}
.galleryLink3 {width: 33.33%;}
.galleryLink4 {width: 25%;}
.galleryLink5 {width: 20%;}

@media only screen and (max-width: 1024px) { 
  .thumbnails a {width: calc(25% - 20px); margin: 10px;} 
  .box1 {padding-top: 120px; padding-bottom: 55px;}
  .box3 {padding: 35px 0;}
}
@media only screen and (max-width: 1023px) {
  .galleryLink1, .galleryLink2, .galleryLink3, .galleryLink4, .galleryLink5 {width: 100%; height: 500px;}
  .galleryLink img {position: absolute; width: 100%; height: auto;}
  .contactBlock {max-width: 80%;}
  .box2 {height: auto}
  .thumbnails a {width: calc(33.33% - 20px); margin: 10px;} 
  .videoItem {width: 100%;}
}

@media only screen 
and (min-device-width : 200px) 
and (max-device-width : 700px) 
and (orientation : portrait) {  
  h1 {font-size: 35pt;  }
  .box1 {padding-top: 120px; padding-bottom: 35px;}
  img.fotka_uvod {margin: 20px; margin-top: 0;}
  .contact a span span {display: none;}
  .dotaz {width: 240px;}
  .line {margin-bottom: 0;}
  .td_body p {text-align: center !important;}
  .box3 {padding: 35px 0;}
  .galleryLink1, .galleryLink2, .galleryLink3, .galleryLink4, .galleryLink5 { height: 300px;}
  .galleryCaption {padding: 15px; font-size: 14pt;}
  .galleryLink img {position: absolute; width: 100%;}
  .videoItem {width: 100%;}
}

