@font-face {
  font-family: 'Skolacek';
  src: url('skolacek-ce.otf');
}

@font-face {
  font-family: 'Shadows Into Light Two';
  src: url('ShadowsIntoLightTwo-Regular.ttf');
}

@font-face {
  font-family: 'Just Me Again Down Here';
  src: url('JustMeAgainDownHere.ttf');
}

@font-face {
  font-family: 'Patrick Hand';
  src: url('PatrickHand-Regular.ttf');
}

@media (max-width: 500px) {
  .fancybox-slide--iframe .fancybox-content {
    width: 100%;
    height: auto !important;
  }
}

body {
  background: url("../img/mobile-top.jpg"), url("../img/mobile-repeat.jpg");
  background-repeat: no-repeat, repeat-y;
  background-position: center top, center 721px;
  background-size: 900px, 900px;
}

hr {
  display: none;
}

.header {
  display: block;
  width: 100%;
  height: 160px;
  margin: 0 auto;
}

.website {
  margin-top: 20px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.content-wrap {
  position: relative;
}

.index-wrapper {
  padding: 50px 5% 5% 5%;
}

.content a {
  color: #0066ee;
  border-bottom: none !important;
  text-decoration: none !important;
}

.content a:visited {
  color: #6996d0;
}

strong {
  font-weight: bold !important;
}

h1 {
  font-family: "Shadows Into Light Two", cursive !important;
  font-size: 24px !important;
  margin-bottom: 13px !important;
  text-align: center;
}

/* used for Videos */
h2 {
  font-family: "Shadows Into Light Two", cursive !important;
  font-size: 17px !important;
  margin: 0 20px !important;
  display: flex;
  justify-content: space-between;
}

h2 > a {
  z-index: 1;
}

/* used in articles, as subheading */
h3 {
  font-family: "Shadows Into Light Two", cursive !important;
  font-size: 18px !important;
  margin-bottom: 5px !important;
  margin-top: 15px !important;
  text-align: center;
}

.article ul {
  list-style: circle;
  margin-left: 50px;
}

[data-fancybox] img, a img {
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.66);
  border-radius: 3px;
  display: block;
  margin: 20px auto;
  width: 100%;
}

.border {
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.66);
  border-radius: 3px;
  display: block;
  padding: 2px;
}

.fancybox-caption {
  text-align: center;
  font-size: 150% !important;
  font-family: "Patrick Hand", sans-serif;
}

.fancybox-caption:after {
  border: none !important;
}

.article {
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  color: #332524;
  line-height: 35px;
  font-size: 16px;
  text-align: left;
  padding: 4% 4% 0 4%;
}

.gallery {
  display: none;
}

.about {
  padding-top: 45px;
}

.continue {
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 10px;
}

.return {
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  text-align: center;
  margin-bottom: 20px;
}

.article-h a, .article-h span {
  font-family: "Shadows Into Light Two", sans-serif !important;
  font-size: 19px !important;
  margin-bottom: 30px !important;
  width: 100%;
  text-align: center;
  float: left;
  text-decoration: none !important;
  color: black;
}

.article-h.strike span {
  text-decoration: line-through !important;
  color: gray;
  cursor: not-allowed;
}

.article-h:hover {
  text-shadow: 1px 1px 6px #777
}

.article-date {
  display: none;
}

.date {
  width: 100%;
  text-align: right;
  margin-bottom: 10px;
  display: block;
}

.menu {
  line-height: 40px;
  position: absolute;
  font-family: "Shadows Into Light Two", sans-serif;
  font-size: 22px;
  font-weight: bold;
  width: 100%;
  margin-top: 30px;
  text-align: center;
}

.menu a {
  color: black;
  text-decoration: none;
  margin: 0 10px;
}

.menu::before {
  content: '';
  display: inline-block;
  background-color: #ede3c7;
  width: 100%;
  height: 2px;
}

.menu ul {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.copyright {
  display: none;
}

.nav {
  text-align: center;
}

.nav a {
  font-family: "Shadows Into Light Two", sans-serif;
  font-size: 17px;
  text-decoration: none;
  color: black;
}

.nav a.right {
  margin-left: 40px;
}

.nav a:hover {
  text-shadow: 1px 1px 6px #777
}

p {
  text-indent: 20px;
}

ul p {
  text-indent: 0;
}

.sign {
  text-align: right;
  width: 90%;
}

.kiki {
  display: none;
}

.vojta {
  display: none;
}

.subscribeForm, .contactForm {
  display: flex;
  flex-direction: column;
  align-items: center;
}

form label {
  line-height: 1;
  text-indent: 0;
}

form button {
  border: 1px solid #9c312c;
  border-radius: 10px;
  height: 30px;
  width: 80px;
  color: white;
  background-color: #9c312c;
  font-family: "Patrick Hand", sans-serif;
  font-size: 16px;
  cursor: pointer;
}

#emailInput, #message {
  border: 1px solid #b43225;
  border-radius: 10px;
  font-family: "Patrick Hand", sans-serif;
  font-size: 15px;
  padding: 0 10px;
  line-height: 2;
  background-color: #fbf7f2;
  margin: 20px;
}

#message {
  width: 90%;
  resize: vertical;
  min-height: 70px;
  max-height: 450px;
}

.filters {
  margin: 40px auto auto auto;
  width: 79%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.filters a {
  font-family: "Shadows Into Light Two", sans-serif;
  font-weight: bold;
  color: #262626;
  text-decoration: none;
  font-size: 15px;
  display: inline-block;
  padding: 5px 15px;
  margin: 5px;
  border: 2px solid #F5E0B8;
  border-radius: 20px;
  transition: background-color 0.3s;
}

.filters a:hover,
.filters a:focus {
  background-color: #F5E0B8;
}

.filters a.selected {
  background-color: #F5E0B8;
}

.filters a[href="/"] {
  transform: rotate(1deg);
}

.filters a[href="/?historky"] {
  transform: rotate(2deg);
}

.filters a[href="/?finance"] {
  transform: rotate(-4deg);
}

.filters a[href="/?imigrace"] {
  transform: rotate(-4deg);
}

.filters a[href="/?kanada"] {
  transform: rotate(-1deg);
}

.filters a[href="/?cestovani"] {
  transform: rotate(3deg);
}

.filters a[href="/?fotky"] {
  transform: rotate(-4deg);
}

.video-thumb-link {
  position: relative;
  display: block;
  height: 120px;
}

img.video-thumb {
  height: 100px;
  margin-top: 0;
  object-fit: cover;
}

img.video-thumb.gif {
  box-shadow: none;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s;
}

img.video-thumb.gif:hover {
  opacity: 1;
  transition: opacity 1s;
}

@media (max-width: 900px) {
  /* in desktop mode iframe width is set via html attribute */
  iframe {
    width: 100%;
  }
}

@media (min-width: 900px) {
  body {
    background: black url("../img/main_v08.jpg") center top no-repeat
  }

  img.right, iframe.right {
    float: right;
    margin: 10px 0 0 1em;
  }

  img.left, iframe.left {
    float: left;
    margin: 10px 1em 0 0;
  }

  img.center, iframe.center {
    margin: 10px auto 20px;
  }

  .gallery {
    display: block;
    position: absolute;
    font-family: "Just Me Again Down Here", cursive !important;
    font-size: 29px;
    color: #bd390b;
  }

  .gallery.left {
    transform: rotate(276deg);
    top: 179px;
    left: -100px
  }

  .gallery.right {
    transform: rotate(85deg);
    top: 216px;
    width: 200px;
    left: 510px
  }

  .header {
    width: 600px;
    height: 200px;
    margin-top: 50px;
  }

  .header:hover {
    background: white;
    opacity: 0.15;
    filter: blur();
    box-shadow: 0 0 59px 36px rgba(255, 255, 255, 1);
  }

  .website {
    height: 900px;
    margin-top: 140px;
    margin-bottom: 440px;
  }

  .content-wrap {
    height: 100%;
    width: 590px;
    margin-left: auto;
    margin-right: auto;
  }

  .index-item {
    color: white;
  }

  .menu {
    width: 130px;
    top: 30px;
    left: 670px;
    height: 200px;
    font-size: 22px;
    position: absolute;
    margin-top: inherit;
  }

  .menu::before {
    display: none;
  }

  .menu ul {
    display: inherit;
  }

  .menu li {
    display: block;
    width: inherit;
  }

  .menu li:hover {
    text-shadow: 1px 1px 8px #555;
  }

  .filters {
    position: absolute;
    background: url("../img/filters.png") center top no-repeat;
    width: 209px;
    height: 339px;
    top: 1px;
    left: -207px;
    margin: 0;
  }

  .filters a {
    font-family: "Shadows Into Light Two", sans-serif;
    font-weight: bold;
    color: #262626;
    text-decoration: none;
    font-size: 18px;
    position: absolute;
    left: 20px;
    display: block;
    padding: 0 0 0 30px;
    margin: 0;
    width: 130px;
    height: 30px;
    transition: padding 0.3s;
    border: none;
  }

  .filters a:hover,
  .filters a:focus {
    text-shadow: 1px 1px 8px #555;
    background-color: inherit;
  }

  .filters a.selected {
    padding-left: 80px;
    background-color: inherit;
  }

  .filters a[href="/"] {
    top: 21px;
    transform: rotate(1deg);
  }

  .filters a[href="/?historky"] {
    top: 69px;
    transform: rotate(2deg);
  }

  .filters a[href="/?finance"] {
    top: 116px;
    transform: rotate(-4deg);
  }

  .filters a[href="/?imigrace"] {
    top: 158px;
    transform: rotate(-4deg);
  }

  .filters a[href="/?kanada"] {
    top: 205px;
    transform: rotate(-1deg);
  }

  .filters a[href="/?cestovani"] {
    top: 250px;
    transform: rotate(3deg);
  }

  .filters a[href="/?fotky"] {
    top: 292px;
    transform: rotate(-4deg);
  }

  .sign.Kiki {
    font-family: "Skolacek", sans-serif;
    font-size: 38px;
    margin-top: 10px;
  }

  .sign.Vojta {
    font-family: "Just Me Again Down Here", sans-serif;
    font-size: 33px;
    margin-top: 10px;
  }

  .addthis_native_toolbox {
    -webkit-filter: hue-rotate(140deg);
    filter: hue-rotate(140deg);
    opacity: 0.7;
    position: absolute;
    bottom: 35px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
  }

  .article {
    padding: 0;
    text-align: justify;
    font-size: 17px;
    line-height: 27px;
    font-family: "Patrick Hand", sans-serif;
  }

  .content {
    display: none; /* later showed by jquery*/
  }

  [data-fancybox] img, a img {
    width: auto;
  }

  .article-date {
    display: inherit;
    float: right;
    font-family: "Shadows Into Light Two", sans-serif !important;
    font-size: 16px;
  }

  .curl-right {
    width: 151px;
    height: 178px;
    position: absolute;
    right: -49px;
    bottom: 23px;
    z-index: 5;
    background-image: url("../img/curl-right.png");
    opacity: 0;
    transition: opacity 180ms ease-in;
  }

  .curl-right:hover {
    opacity: 1;
    cursor: pointer;
  }

  .curl-right:hover + .arrow-right {
    opacity: 0;
  }

  .curl-left {
    width: 151px;
    height: 178px;
    position: absolute;
    left: -52px;
    bottom: -1px;
    background-image: url("../img/curl-left.png");
    opacity: 0;
    transition: opacity 180ms ease-in;
  }

  .curl-left:hover {
    opacity: 1;
    cursor: pointer;
  }

  .curl-left:hover + .arrow-left {
    opacity: 0;
  }

  .pagination {
    font-family: "Shadows Into Light Two", sans-serif !important;
    position: absolute;
    right: -5px;
    transform: rotate(-15deg);
    bottom: 50px;
  }

  .arrow-right {
    z-index: -1;
    width: 34px;
    height: 38px;
    position: absolute;
    right: -35px;
    bottom: 27px;
    background-image: url("../img/arrow-right.png");
    opacity: 1;
    transition: opacity 180ms ease-in;
  }

  .arrow-left {
    z-index: -1;
    width: 34px;
    height: 38px;
    position: absolute;
    left: -34px;
    bottom: 29px;
    background-image: url("../img/arrow-left.png");
    opacity: 1;
    transition: opacity 180ms ease-in;
  }

  .article-h a, .article-h span {
    width: inherit;
  }

  a.left {
    float: left;
  }

  a.right {
    float: right;
  }

  .copyright {
    position: absolute;
    bottom: 2px;
    color: rgba(194, 194, 194, 0.61);
    width: 100%;
    font-family: "Just Me Again Down Here", sans-serif;
    text-align: center;
  }

  .copyright a {
    text-decoration: none;
    color: rgba(194, 194, 194, 0.61);
  }

  .index-wrapper {
    padding: 60px 3% 3% 0;
  }

  ol {
    margin-left: 20px !important;
  }

  sup {
    font-size: small !important;
    vertical-align: super !important;
  }

  .continue {
    text-align: right;
    margin-bottom: 40px;
    font-size: inherit;
    font-family: 'Patrick Hand', sans-serif;
  }

  .return {
    text-align: left;
    padding-top: 45px;
    margin-bottom: 3px;
    font-size: inherit;
    font-family: 'Patrick Hand', sans-serif;
  }

  .continue a, .return a {
    color: #A76C4A !important;
  }

  .nav {
    position: absolute;
    bottom: 33px;
    left: -29px;
    width: 650px;
  }

  .subscribeForm {
    flex-direction: row;
    justify-content: center;
  }

  .contactForm {
    flex-direction: column;
    align-items: flex-start;
  }

  .contactForm #emailInput,
  .contactForm #message {
    margin-left: 0;
  }

  #message {
    width: 96%;
  }

  .contactForm button {
    align-self: flex-end;
  }

  /* post-its*/
  span.vojta, span.kiki {
    display: block;
    padding: 39px 22px 20px 42px;
    position: absolute;
    box-sizing: border-box;
    width: 240px;
    margin-top: -70px;
    height: 270px;
    text-align: left;
  }

  span.vojta {
    background: url("../img/vojta-post-it.png") left top no-repeat;
    font-family: "Just Me Again Down Here", sans-serif;
    font-size: 25px;
    line-height: 23px;
  }

  span.kiki {
    background: url("../img/kiki-post-it.png") left top no-repeat;
    font-family: "Skolacek", sans-serif;
    font-size: 28px;
    line-height: 26px;
  }

  span.l {
    left: -252px;
    -ms-transform: rotate(9deg);
    -webkit-transform: rotate(9deg);
    transform: rotate(9deg);
  }

  span.r {
    left: 580px;
    -ms-transform: rotate(-10deg);
    -webkit-transform: rotate(-10deg);
    transform: rotate(-10deg);
  }

  img.video-thumb {
    width: 580px;
  }

  img.video-thumb.gif {
    left: 5px;
  }

  /* Scrollbar */
  ::-webkit-scrollbar {
    width: 0px;
    height: 0px;
  }
}
