/* Derived from the original YOOtheme styles.
 * Copyright (C) YOOtheme GmbH. YOOtheme Proprietary Use License.
 * http://www.yootheme.com/license
 * Keep rule order: later declarations intentionally override earlier ones.
 */

/* Základní typografie a barvy */

html {
  font: 300 14px / 24px "Open Sans";
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  background: #47424a;
  color: #ffffff;
}

body {
  margin: 0;
}

a {
  background: transparent;
}

a:active,
a:hover {
  outline: 0;
}

a {
  color: #c16580;
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  color: #c16580;
  text-decoration: underline;
}

img {
  vertical-align: middle;
}

img {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

img {
  border: 0;
}

p,
ul {
  margin: 0 0 15px 0;
}

* + p,
* + ul {
  margin-top: 15px;
}

h1,
h3 {
  margin: 0 0 15px 0;
  font-family: "Ropa Sans";
  font-weight: normal;
  color: #ffffff;
  text-transform: uppercase;
}

h1 {
  font-size: 36px;
  line-height: 42px;
}

h3 {
  font-size: 18px;
  line-height: 24px;
}

ul {
  padding-left: 30px;
}

ul > li > ul {
  margin: 0;
}

::-moz-selection {
  background: #54545c;
  color: #ffffff;
  text-shadow: none;
}

::selection {
  background: #54545c;
  color: #ffffff;
  text-shadow: none;
}

article,
aside,
footer,
main,
nav {
  display: block;
}

@media screen and (max-width: 400px) {
  @-ms-viewport {
    width: device-width;
  }
}

/* Rozložení obsahu a responzivní sloupce */

.uk-grid {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.uk-grid:before,
.uk-grid:after {
  content: "";
  display: block;
  overflow: hidden;
}

.uk-grid:after {
  clear: both;
}

.uk-grid > * {
  -ms-flex: none;
  -webkit-flex: none;
  flex: none;
  margin: 0;
  float: left;
}

.uk-grid > * > :last-child {
  margin-bottom: 0;
}

.uk-grid {
  margin-left: -15px;
}

.uk-grid > * {
  padding-left: 15px;
}

.uk-grid-margin {
  margin-top: 15px;
}

@media (min-width: 1220px) {
  .uk-grid {
    margin-left: -15px;
  }

  .uk-grid > * {
    padding-left: 15px;
  }

  .uk-grid-margin {
    margin-top: 15px;
  }
}

[class*="uk-width"] {
  box-sizing: border-box;
  width: 100%;
}

.uk-width-1-1 {
  width: 100%;
}

@media (min-width: 768px) {
  .uk-width-medium-1-4 {
    width: 25%;
  }

  .uk-width-medium-3-4 {
    width: 75%;
  }
}

/* Panely a článek */

.uk-panel {
  display: block;
  position: relative;
}

.uk-panel,
.uk-panel:hover {
  text-decoration: none;
}

.uk-panel:before,
.uk-panel:after {
  content: "";
  display: table;
}

.uk-panel:after {
  clear: both;
}

.uk-panel > :not(.uk-panel-title):last-child {
  margin-bottom: 0;
}

.uk-panel-title {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 18px;
  line-height: 24px;
  font-weight: normal;
  text-transform: none;
  color: #ffffff;
}

.uk-panel-box {
  padding: 30px;
  background: #47424a;
  color: #ffffff;
  box-shadow: 0 1px 6px rgba(20, 15, 45, 0.15);
}

.uk-panel-box .uk-nav-side > li > a {
  padding-left: 30px;
  padding-right: 30px;
}

.uk-panel-box .uk-nav-side ul.uk-nav-sub {
  padding-left: 40px;
}

.uk-panel-box .uk-panel-title {
  color: #ffffff;
}

.uk-panel-box > .uk-nav-side {
  margin: 0 -30px;
}

.uk-article:before,
.uk-article:after {
  content: "";
  display: table;
}

.uk-article:after {
  clear: both;
}

.uk-article > :last-child {
  margin-bottom: 0;
}

.uk-article-title {
  font-size: 36px;
  line-height: 36px;
  font-weight: normal;
  text-transform: none;
}

/* Navigační seznamy a jejich otevřené stavy */

.uk-nav,
.uk-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.uk-nav li > a {
  display: block;
  text-decoration: none;
}

.uk-nav > li > a {
  padding: 7px 0;
}

.uk-nav ul {
  padding-left: 15px;
}

.uk-nav ul a {
  padding: 2px 0;
}

ul.uk-nav-sub {
  padding: 10px 0 10px 15px;
  padding-right: 10px;
  border-top: 1px solid #504d55;
  background: #504c54;
}

.uk-nav-parent-icon > .uk-parent > a:after {
  content: "";
  width: 12px;
  margin-right: -12px;
  float: right;
  font-family: FontAwesome;
  text-align: center;
}

.uk-nav-parent-icon > .uk-parent.uk-open > a:after {
  content: "";
}

.uk-nav-side > li > a {
  color: #ffffff;
  padding: 10px 15px;
  border-top: 1px solid #504d55;
}

.uk-nav-side > li > a:hover,
.uk-nav-side > li > a:focus {
  background: rgba(0, 0, 0, 0);
  color: #c16580;
  outline: none;
}

.uk-nav-side > li.uk-active > a {
  background: rgba(0, 0, 0, 0);
  color: #c16580;
}

.uk-nav-side ul a {
  color: #ffffff;
}

.uk-nav-side ul a:hover {
  color: #c16580;
}

.uk-nav-navbar > li > a {
  color: #ffffff;
}

.uk-nav-navbar > li > a:hover,
.uk-nav-navbar > li > a:focus {
  background: rgba(0, 0, 0, 0);
  color: #c16580;
  outline: none;
}

.uk-nav-offcanvas > li > a {
  color: #ffffff;
  padding: 10px 20px;
  border-top: 1px solid #504d55;
}

.uk-nav-offcanvas > .uk-open > a,
html:not(.uk-touch) .uk-nav-offcanvas > li > a:hover,
html:not(.uk-touch) .uk-nav-offcanvas > li > a:focus {
  background: rgba(0, 0, 0, 0);
  color: #c16580;
  outline: none;
}

html .uk-nav.uk-nav-offcanvas > li.uk-active > a {
  background: rgba(0, 0, 0, 0);
  color: #c16580;
}

.uk-nav-offcanvas ul a {
  color: #ffffff;
}

html:not(.uk-touch) .uk-nav-offcanvas ul a:hover {
  color: #c16580;
}

.uk-nav-side > li:first-child > a {
  border-top-width: 0;
}

.uk-nav-offcanvas ul.uk-nav-sub {
  padding-left: 20px;
}

/* Horní navigační lišta */

.uk-navbar {
  background: rgba(175, 175, 175, 0.1);
  color: #ffffff;
  background-image: none;
  box-shadow: 0 1px 6px rgba(20, 15, 45, 0.15), inset 0 0 1px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.uk-navbar:before,
.uk-navbar:after {
  content: "";
  display: table;
}

.uk-navbar:after {
  clear: both;
}

.uk-navbar-nav {
  margin: 0;
  padding: 0;
  list-style: none;
  float: left;
}

.uk-navbar-nav > li {
  float: left;
  position: relative;
}

.uk-navbar-nav > li > a {
  display: block;
  box-sizing: border-box;
  text-decoration: none;
  height: 70px;
  padding: 0 25px;
  line-height: 70px;
  color: #ffffff;
  font-size: 14px;
  font-family: "Open Sans";
  font-weight: 300;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 1px 0 0 rgba(0, 0, 0, 0);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
}

.uk-navbar-nav > li:hover > a,
.uk-navbar-nav > li > a:focus,
.uk-navbar-nav > li.uk-open > a {
  background-color: rgba(0, 0, 0, 0.03);
  color: #ffffff;
  outline: none;
}

.uk-navbar-nav > li > a:active {
  background-color: rgba(0, 0, 0, 0);
  color: #ffffff;
}

.uk-navbar-nav > li.uk-active > a {
  background-color: rgba(0, 0, 0, 0.03);
  color: #ffffff;
}

.uk-navbar-content,
.uk-navbar-toggle {
  box-sizing: border-box;
  display: block;
  height: 70px;
  padding: 0 25px;
  float: left;
}

.uk-navbar-content:before,
.uk-navbar-toggle:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.uk-navbar-content > a:not([class]) {
  color: #c16580;
}

.uk-navbar-content > a:not([class]):hover {
  color: #c16580;
}

.uk-navbar-toggle {
  font-size: 18px;
  color: #ffffff;
  text-decoration: none;
}

.uk-navbar-toggle:hover,
.uk-navbar-toggle:focus {
  color: #ffffff;
  text-decoration: none;
  outline: none;
}

.uk-navbar-toggle:after {
  content: "";
  font-family: FontAwesome;
  vertical-align: middle;
}

.uk-navbar-center {
  float: none;
  text-align: center;
  max-width: 50%;
  margin-left: auto;
  margin-right: auto;
}

.uk-navbar-flip {
  float: right;
}

.uk-navbar > .uk-navbar-nav:first-child > li:first-child > a {
  border-left-width: 0;
  box-shadow: 1px 0 0 rgba(0, 0, 0, 0);
}

/* Odkazy v patičce a drobečková navigace */

.uk-subnav {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-top: -10px;
  padding: 0;
  list-style: none;
}

.uk-subnav > * {
  -ms-flex: none;
  -webkit-flex: none;
  flex: none;
  padding-left: 10px;
  margin-top: 10px;
  position: relative;
}

.uk-subnav:before,
.uk-subnav:after {
  content: "";
  display: block;
  overflow: hidden;
}

.uk-subnav:after {
  clear: both;
}

.uk-subnav > * {
  float: left;
}

.uk-subnav > * > * {
  display: inline-block;
  color: #ffffff;
}

.uk-subnav > * > :hover,
.uk-subnav > * > :focus {
  color: #c16580;
  text-decoration: underline;
}

.uk-subnav > .uk-active > * {
  color: #c16580;
}

.uk-subnav-line > :before {
  content: "";
  display: inline-block;
  height: 10px;
  vertical-align: middle;
}

.uk-subnav-line > :nth-child(n + 2):before {
  margin-right: 10px;
  border-left: 1px solid #504d55;
}

.uk-breadcrumb {
  padding: 0;
  list-style: none;
  font-size: 0.001px;
}

.uk-breadcrumb > li {
  font-size: 1rem;
  vertical-align: top;
}

.uk-breadcrumb > li,
.uk-breadcrumb > li > span {
  display: inline-block;
}

.uk-breadcrumb > li:nth-child(n + 2):before {
  content: "";
  display: inline-block;
  margin: 0 8px;
  color: #7b757c;
  font-family: "FontAwesome";
}

.uk-breadcrumb > li:not(.uk-active) > span {
  color: #7b757c;
}

/* Ikonový font a animace rozbalování */

@font-face {
  font-family: "FontAwesome";
  src: url("fontawesome.woff2") format("woff2"), url("fontawesome.woff") format("woff"), url("fontawesome.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@-webkit-keyframes uk-fade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes uk-fade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes uk-slide-top-fixed {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-10px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}

@keyframes uk-slide-top-fixed {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Rozbalovací menu na počítači */

.uk-dropdown {
  display: none;
  position: absolute;
  z-index: 1020;
  box-sizing: border-box;
  width: 200px;
}

.uk-dropdown {
  padding: 30px;
  background: #47424a;
  color: #ffffff;
  font-size: 1rem;
  vertical-align: top;
  box-shadow: 0 1px 6px rgba(20, 15, 45, 0.15);
}

.uk-open > .uk-dropdown {
  display: block;
  -webkit-animation: uk-fade 0.2s ease-in-out;
  animation: uk-fade 0.2s ease-in-out;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

.uk-dropdown-top {
  margin-top: -15px;
}

.uk-dropdown-bottom {
  margin-top: 15px;
}

.uk-dropdown-left {
  margin-left: -15px;
}

.uk-dropdown-right {
  margin-left: 15px;
}

.uk-dropdown .uk-nav {
  margin: 0 -30px;
}

@media (min-width: 768px) {
  .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid {
    margin-left: -30px;
    margin-right: -30px;
  }

  .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*="uk-width-"] {
    padding-left: 30px;
    padding-right: 30px;
  }

  .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*="uk-width-"]:nth-child(n + 2) {
    border-left: 1px solid #504d55;
  }
}

@media (max-width: 767px) {
  .uk-dropdown-grid > [class*="uk-width-"] {
    width: 100%;
  }

  .uk-dropdown-grid > [class*="uk-width-"]:nth-child(n + 2) {
    margin-top: 30px;
  }
}

.uk-dropdown-stack > .uk-dropdown-grid > [class*="uk-width-"] {
  width: 100%;
}

.uk-dropdown-stack > .uk-dropdown-grid > [class*="uk-width-"]:nth-child(n + 2) {
  margin-top: 30px;
}

.uk-dropdown-navbar {
  margin-top: 15px;
  background: #47424a;
  color: #ffffff;
}

.uk-open > .uk-dropdown-navbar {
  -webkit-animation: uk-slide-top-fixed 0.2s ease-in-out;
  animation: uk-slide-top-fixed 0.2s ease-in-out;
}

.uk-dropdown .uk-nav {
  margin: 0;
}

/* Mobilní vysouvací menu */

.uk-offcanvas {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  touch-action: none;
  background: rgba(0, 0, 0, 0.1);
}

.uk-offcanvas.uk-active {
  display: block;
}

.uk-offcanvas-page {
  position: fixed;
  -webkit-transition: margin-left 0.3s ease-in-out;
  transition: margin-left 0.3s ease-in-out;
}

.uk-offcanvas-bar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  z-index: 1001;
  width: 270px;
  max-width: 100%;
  background: #47424a;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  -ms-scroll-chaining: none;
}

.uk-offcanvas.uk-active .uk-offcanvas-bar.uk-offcanvas-bar-show {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}

.uk-offcanvas .uk-panel {
  margin: 20px;
  color: #ffffff;
}

.uk-offcanvas-bar:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  box-shadow: 0 0 7px 3px rgba(0, 0, 0, 0.2);
}

/* Pomocné třídy, šířka stránky a responzivní viditelnost */

.uk-text-center {
  text-align: center !important;
}

.uk-container {
  box-sizing: border-box;
  max-width: 1000px;
  padding: 0 15px;
}

@media (min-width: 1220px) {
  .uk-container {
    max-width: 1000px;
    padding: 0 15px;
  }
}

.uk-container:before,
.uk-container:after {
  content: "";
  display: table;
}

.uk-container:after {
  clear: both;
}

.uk-container-center {
  margin-left: auto;
  margin-right: auto;
}

.uk-clearfix:before {
  content: "";
  display: table-cell;
}

.uk-clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.uk-responsive-height {
  box-sizing: border-box;
}

.uk-responsive-height {
  max-height: 100%;
  width: auto;
}

@media (min-width: 960px) {
  .uk-visible-small {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .uk-visible-small {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .uk-hidden-small {
    display: none !important;
  }
}

.uk-hidden {
  display: none !important;
  visibility: hidden !important;
}

.uk-flex-center {
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

/* Tisk */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  p,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h3 {
    page-break-after: avoid;
  }
}

html {
  overflow-y: scroll;
}

/* Vzhled šablony: hlavička, obsah a patička */

.tm-navbar,
.tm-footer {
  margin-top: 15px;
  margin-bottom: 15px;
}

.tm-headerbar {
  margin-top: 40px;
  margin-bottom: 40px;
}

.tm-logo:hover {
  text-decoration: none;
}

.tm-logo-small {
  letter-spacing: -0.31em;
}

@media (min-width: 768px) and (max-width: 959px) {
  .uk-navbar-nav > li > a {
    padding: 0 20px;
  }
}

.tm-main > :nth-child(n + 2) {
  margin-top: 15px;
}

.uk-breadcrumb {
  padding: 30px;
  background: #47424a;
  box-shadow: 0 1px 6px rgba(20, 15, 45, 0.15);
}

.tm-isblog .uk-article {
  padding: 30px;
  background: #47424a;
  box-shadow: 0 1px 6px rgba(20, 15, 45, 0.15);
}

.tm-content > :last-child {
  margin-bottom: 0;
}

.tm-footer {
  position: relative;
  padding: 30px;
  background: rgba(175, 175, 175, 0.1);
  background-image: none;
  box-shadow: 0 1px 6px rgba(20, 15, 45, 0.15), inset 0 0 1px rgba(0, 0, 0, 0), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #ffffff;
  text-align: center;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.tm-footer a,
.tm-footer .uk-subnav > li > a {
  color: #bbb7b8;
}

.tm-footer .uk-subnav-line > li:nth-child(n + 2):before {
  border-left-color: rgba(255, 255, 255, 0.07);
}

.tm-footer .uk-panel + .uk-panel {
  margin-top: 15px;
}

.tm-totop-scroller {
  display: block;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 20px;
  height: 20px;
  color: #ffffff !important;
  text-align: center;
  line-height: 20px;
  font-size: 12px;
  -webkit-transition: all linear 0.05s;
  transition: all linear 0.05s;
}

.tm-totop-scroller:after {
  content: "";
  font-family: "FontAwesome";
}

.tm-totop-scroller:hover,
.tm-totop-scroller:focus {
  outline: none;
  text-decoration: none;
  font-size: 14px;
}

.tm-totop-scroller:active {
  font-size: 11px;
}

body {
  background: #6c6b70;
}

@media (min-width: 1220px) {
  body {
    background: #6c6b70 url("lilac-bg.jpg") 50% 0 fixed;
    background-size: cover;
  }
}
