/*** GENERAL STYLES *****************************
************************************************/
/*
 * Globals
 */
.nostyled {
  list-style: none;
  padding: 0;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.clear_zero {
  clear: both;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}
.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.decoration {
  position: absolute;
  display: block;
  overflow: hidden;
}
/* =============================================================================

	6) LESS

   ========================================================================== */
@font-face {
  font-family: Mabry Medium;
  src: url(../font/mabry-medium-pro.woff2) format('woff2');
}
@font-face {
  font-family: Mabry Light;
  src: url(../font/mabry-light-pro.woff) format('woff2');
}
body {
  font-family: 'Mabry Medium', sans-serif;
  background: #565656;
  position: relative;
  text-align: center;
}
html {
  color: #000000;
}
* {
  margin: 0;
  padding: 0;
}
#play-pause-button {
  font-size: 50px;
  cursor: pointer;
  width: 100px;
  height: 100px;
  display: block;
  position: absolute;
  top: 10px;
  left: 200px;
  z-index: 1000;
  background: red;
}
div.clear {
  clear: both;
}
a,
a:hover {
  color: #000;
  text-decoration: none;
  transition: all 0.3s;
}
.hide {
  display: none;
}
.show_hide {
  display: inline-block;
}
a.logo {
  position: absolute;
  top: 20px;
  left: 25px;
  z-index: 2;
  font-size: 40px;
  letter-spacing: -0.8px;
  color: #000000;
}
a.logo span {
  float: left;
}
a.logo span.star {
  font-size: 25px;
  margin: 0px 0 0 2px;
  display: inline-block;
}
a.logo-mobile {
  display: none;
}
div.mobile {
  display: none;
}
/*** LAYOUT DESIGN *****************************
************************************************/
div.layout {
  width: 1097px;
  height: 775px;
  position: fixed;
  left: 50%;
  margin-left: -548px;
  top: 7%;
}
div.layout .object {
  position: absolute;
  z-index: 2;
}
div.layout .object a,
div.layout .object span {
  display: block;
  background-size: cover;
  transition: none;
}
div.layout .object-static {
  position: absolute;
  z-index: 2;
}
div.layout .object-static a,
div.layout .object-static span {
  display: block;
  background-size: cover;
  transition: none;
}
div.layout .object.shaky a:hover {
  animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}
@keyframes shake {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }
  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }
  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}
div.layout .about {
  position: absolute;
  top: 25px;
  right: 62px;
  z-index: 2;
}
div.layout .about a {
  display: block;
  position: relative;
}
div.layout .about a span.icon {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  display: block;
  background: #fff;
  color: #565656;
  line-height: 32px;
  font-size: 21px;
  -webkit-border-radius: 32px;
  -moz-border-radius: 32px;
  border-radius: 32px;
}
div.layout .about a span.tooltip {
  opacity: 0;
  font-size: 14px;
  font-family: Mabry Light;
  background: #F5DE4E;
  -webkit-border-top-left-radius: 20px;
  -webkit-border-bottom-left-radius: 20px;
  -moz-border-radius-topleft: 20px;
  -moz-border-radius-bottomleft: 20px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  height: 32px;
  line-height: 34px;
  padding: 0 25px 0 15px;
  position: absolute;
  z-index: 3;
  right: -15px;
  top: 0;
  width: 0;
  overflow: hidden;
}
div.layout .about a:hover span.tooltip {
  opacity: 1;
  width: 100px;
  overflow: visible;
}
div.layout #sound-button {
  position: absolute;
  bottom: 25px;
  right: 25px;
  z-index: 2;
  width: 32px;
  height: 32px;
  line-height: 32px;
  -webkit-border-radius: 32px;
  -moz-border-radius: 32px;
  border-radius: 32px;
  cursor: pointer;
  outline: none;
  border: none;
  text-indent: -9999px;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #fff;
}
div.layout .play-music {
  background-image: url(../img/sound_off.svg);
}
div.layout .play-music:hover {
  background-color: #F5DE4E !important;
}
div.layout .pause-music {
  background-image: url(../img/sound_on.svg);
  background-position: 8px center;
}
div.layout .pause-music:hover {
  background-color: #F5DE4E !important;
}
div.layout menu {
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  background: #fff;
  list-style: none;
  position: relative;
  z-index: 2;
  height: 32px;
  display: inline-block;
  margin-top: 25px;
}
div.layout menu li {
  float: left;
  text-transform: uppercase;
  margin-top: 8px;
}
div.layout menu li a {
  color: #565656;
  background: #fff;
  text-decoration: none;
  padding: 5px 30px;
  border: 2px solid #fff;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
}
div.layout menu li a:hover {
  border: 2px solid #F5DE4E;
  color: #F5DE4E;
  padding: 10px 30px;
}
div.layout menu li.active a {
  color: #000;
  background: #F5DE4E;
  padding: 10px 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  border: 2px solid #F5DE4E;
}
div.layout menu li.active a:hover {
  color: #000;
}
div.layout div.top-bg,
div.layout div.bottom-bg {
  position: absolute;
  z-index: 1;
}
div.layout div.top-bg {
  width: 1097px;
  height: 544px;
  top: 0;
  left: 0;
  -webkit-border-top-left-radius: 15px;
  -webkit-border-top-right-radius: 15px;
  -moz-border-radius-topleft: 15px;
  -moz-border-radius-topright: 15px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
div.layout div.bottom-bg {
  width: 1097px;
  height: 231px;
  bottom: 0;
  left: 0;
  -webkit-border-bottom-right-radius: 15px;
  -webkit-border-bottom-left-radius: 15px;
  -moz-border-radius-bottomright: 15px;
  -moz-border-radius-bottomleft: 15px;
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px;
}
div.layout a.slider,
div.layout span.slider {
  position: absolute;
  top: 50%;
  width: 60px;
  height: 60px;
  margin-top: -30px;
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
  border-radius: 60px;
  display: block;
  z-index: 5;
  background: #565656;
  background-repeat: no-repeat;
}
div.layout a.slider svg,
div.layout span.slider svg {
  opacity: 1;
  fill: #fff;
  margin-top: 20px;
  margin-left: 20px;
  width: 32px;
  height: 20px;
}
div.layout a.slider:hover svg,
div.layout span.slider:hover svg {
  fill: #F5DE4E;
  margin-left: 27px;
}
div.layout a.slider.left,
div.layout span.slider.left {
  left: -30px;
}
div.layout a.slider.right,
div.layout span.slider.right {
  right: -30px;
  transform: rotate(180deg);
}
div.layout span.slider.right.stop svg {
  opacity: 0.2;
}
div.layout span.slider.right.stop:hover svg {
  fill: #fff;
  margin-left: 20px;
}
div.layout span.slider.left.stop svg {
  opacity: 0.2;
}
div.layout span.slider.left.stop:hover svg {
  fill: #fff;
  margin-left: 20px;
}
/*** MODAL WINDOW WRAPPER ***********************
************************************************/
.modal-window {
  position: absolute;
  top: 0px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  display: none;
}
.modal-window.visible {
  display: block;
}
.modal-window .bg {
  background: rgba(86, 86, 86, 0.7);
  width: 100%;
  height: 100%;
  display: block;
  position: fixed;
  top: 0px;
  left: 0;
  content: ' ';
}
.modal-window:target {
  opacity: 1;
  pointer-events: auto;
}
.modal-window > div {
  width: 475px;
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 80px 95px;
  background: #fff;
  text-align: left;
  display: none;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
.modal-window:target div {
  display: block;
}
.modal-window span.bottom-corners {
  position: absolute;
  bottom: -10px;
  left: 0;
  height: 10px;
  width: 665px;
  background: rgba(86, 86, 86, 0.01);
}
#modal-close {
  color: #aaa;
  line-height: 50px;
  font-size: 80%;
  position: fixed;
  right: 25px;
  text-align: center;
  top: 25px;
  width: 32px;
  height: 32px;
  display: block;
  background-color: #565656;
  background-image: url(../img/close.svg);
  backround-repeat: no-repeat;
  -webkit-border-radius: 32px;
  -moz-border-radius: 32px;
  border-radius: 32px;
  text-decoration: none;
  z-index: 5;
}
#modal-close:hover {
  background-color: #F5DE4E;
}
.modal-window div:not(:last-of-type) {
  margin-bottom: 15px;
}
/*** MODAL WINDOW CONTENT STYLES ***************
************************************************/
#projekt samp {
  font-family: Mabry Light;
}
#projekt samp a {
  border-bottom: 2px solid #F5DE4E;
  transition: none;
  font-family: Mabry Medium;
}
#projekt samp a:hover {
  border-bottom: none;
  cursor: pointer;
}
#projekt samp strong {
  font-family: Mabry Medium;
}
.modal-content h1 {
  font-size: 24px;
  margin-bottom: 70px;
}
.modal-content div.intro {
  overflow: auto;
  margin-bottom: 50px;
}
.modal-content div.intro samp {
  float: left;
  font-family: Mabry Medium;
  width: 190px;
  margin-right: 40px;
  font-size: 16px;
  line-height: 22px;
}
.modal-content p {
  font-size: 18px;
  font-weight: normal;
  font-family: Mabry Light;
  line-height: 28px;
  margin-bottom: 40px;
}
.modal-content a img {
  margin: 10px 0;
  width: 100%;
}
.modal-content a:hover {
  cursor: zoom-in;
  opacity: 0.85;
}
.modal-content .btn {
  width: 80%;
  display: block;
  padding: 20px 10%;
  font-size: 16px;
  letter-spacing: 0.32px;
  text-transform: uppercase;
  text-align: center;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
  background: #565656;
  color: #fff;
}
.modal-content .btn:hover {
  background: #F5DE4E;
  cursor: pointer;
}
@media only screen and (max-width: 1200px), (max-height: 850px), (min-resolution: 2dppx), (-webkit-min-device-pixel-ratio: 2) {
  div.layout {
    width: 877px;
    height: 620px;
    margin-left: -438px;
    top: 40px;
  }
  div.layout a.logo {
    top: 16px;
    left: 20px;
  }
  div.layout .about {
    position: absolute;
    top: 20px;
    right: 50px;
    z-index: 2;
  }
  div.layout .about a {
    display: block;
    position: relative;
  }
  div.layout .about a span.icon {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    display: block;
    background: #fff;
    color: #565656;
    line-height: 32px;
    font-size: 21px;
    -webkit-border-radius: 32px;
    -moz-border-radius: 32px;
    border-radius: 32px;
  }
  div.layout .about a span.tooltip {
    opacity: 0;
    font-size: 13px;
    background: #F5DE4E;
    -webkit-border-top-left-radius: 20px;
    -webkit-border-bottom-left-radius: 20px;
    -moz-border-radius-topleft: 20px;
    -moz-border-radius-bottomleft: 20px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    height: 32px;
    line-height: 34px;
    padding: 0 25px 0 15px;
    position: absolute;
    z-index: 3;
    right: -15px;
    top: 0;
    width: 0;
    overflow: hidden;
  }
  div.layout .about a:hover span.tooltip {
    opacity: 1;
    width: 100px;
    overflow: visible;
  }
  div.layout #sound-button {
    bottom: 20px;
    right: 20px;
  }
  div.layout menu {
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    background: #fff;
    list-style: none;
    position: relative;
    z-index: 2;
    height: 32px;
    display: inline-block;
    margin-top: 20px;
  }
  div.layout menu li {
    float: left;
    text-transform: uppercase;
    margin-top: 8px;
  }
  div.layout menu li a {
    color: #565656;
    background: #fff;
    text-decoration: none;
    padding: 5px 30px;
    border: 2px solid #fff;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
  }
  div.layout menu li a:hover {
    border: 2px solid #F5DE4E;
    color: #F5DE4E;
    padding: 10px 30px;
  }
  div.layout menu li.active a {
    color: #000;
    background: #F5DE4E;
    padding: 10px 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    border: 2px solid #F5DE4E;
  }
  div.layout menu li.active a:hover {
    color: #000;
  }
  div.layout div.top-bg {
    width: 877px;
    height: 435px;
  }
  div.layout div.bottom-bg {
    width: 877px;
    height: 185px;
  }
  div.layout a.slider,
  div.layout span.slider {
    position: absolute;
    top: 50%;
    width: 60px;
    height: 60px;
    margin-top: -30px;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    border-radius: 60px;
    display: block;
    z-index: 5;
    background: #565656;
    background-repeat: no-repeat;
  }
  div.layout a.slider svg,
  div.layout span.slider svg {
    opacity: 1;
    fill: #fff;
    margin-top: 20px;
    margin-left: 20px;
    width: 32px;
    height: 20px;
  }
  div.layout a.slider:hover svg,
  div.layout span.slider:hover svg {
    fill: #F5DE4E;
    margin-left: 27px;
  }
  div.layout a.slider.left,
  div.layout span.slider.left {
    left: -30px;
  }
  div.layout a.slider.right,
  div.layout span.slider.right {
    right: -30px;
    transform: rotate(180deg);
  }
  div.layout span.slider.right.stop svg {
    opacity: 0.2;
  }
  div.layout span.slider.right.stop:hover svg {
    fill: #fff;
    margin-left: 20px;
  }
  div.layout span.slider.left.stop svg {
    opacity: 0.2;
  }
  div.layout span.slider.left.stop:hover svg {
    fill: #fff;
    margin-left: 20px;
  }
}
@media only screen and (max-device-width: 480px), (max-width: 890px) {
  div.layout {
    display: none;
  }
  body {
    text-align: center;
  }
  a.logo {
    position: relative;
    top: auto;
    left: auto;
    font-family: 'Mabry Medium', sans-serif;
    display: inline-block;
    margin: 10% auto 20px auto;
    color: #fff;
  }
  div.mobile {
    display: block;
    margin: 0 auto 20px auto;
    background: #fff;
    width: 60%;
    padding: 8% 10%;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    font-family: 'Mabry Light', sans-serif;
  }
  div.mobile img.logo-vsednost {
    width: 100%;
    max-width: 350px;
  }
  div.mobile p {
    font-size: 18px;
    line-height: 1.4;
    margin: 20px 0;
  }
  div.mobile p strong {
    font-family: 'Mabry Medium', sans-serif;
  }
  div.mobile p a {
    color: #000;
    text-decoration: underline;
    font-family: 'Mabry Medium', sans-serif;
    -webkit-border-radius: 1.2em;
    -moz-border-radius: 1.2em;
    border-radius: 1.2em;
    overflow-wrap: break-word;
  }
  div.mobile p a:hover {
    text-decoration: none;
  }
  div.mobile p.mud {
    padding-top: 20px;
    border-top: 1px dashed #999;
    margin: 40px 0 0 0;
  }
  div.mobile .macbook {
    background-image: url(../img/obyvak/macbook.png);
    background-size: cover;
    width: 197px;
    height: 100px;
    display: inline-block;
  }
}
@media only screen and (max-width: 400px) {
  div.mobile {
    width: 80%;
    padding: 5% 5%;
  }
}
