/* ProcessWire template for Zdrave Zahrady - less source */
/* imports */
@import 'normalize.css';
@import url('http://fonts.googleapis.com/css?family=Sorts+Mill+Goudy&subset=latin,latin-ext&.css');
@import url('http://fonts.googleapis.com/css?family=Alegreya:400,700&subset=latin,latin-ext&.css');
@import url('http://fonts.googleapis.com/css?family=Alegreya+SC:400,700&subset=latin,latin-ext&.css');
body {
  width: 100%;
  *zoom: 1;
}
body:before,
body:after {
  content: "";
  display: table;
}
body:after {
  clear: both;
}
/* grid settings */
/* variables */
/* layout */
.wrapper {
  width: 865px;
  margin: 2em auto;
}
#sidebar {
  display: inline;
  float: left;
  width: 182.61111111px;
  margin: 0 16.81944444px;
  position: fixed;
}
#mainblock {
  margin-left: 233.06944444px;
}
@media (max-width: 860px) {
  .wrapper {
    width: 791px;
  }
}
@media (max-width: 775px) {
  .wrapper {
    width: 716px;
  }
}
@media (max-width: 710px) {
  .wrapper {
    width: 644px;
  }
}
@media (max-width: 693px) {
  #sidebar {
    display: inline;
    float: left;
    width: 543.02777778px;
    margin: 0 16.81944444px;
    position: relative;
  }
  #mainblock {
    display: inline;
    float: left;
    width: 543.02777778px;
    margin: 0 16.81944444px;
  }
  .wrapper {
    width: 544px;
  }
}
@media (max-width: 560px) {
  #sidebar {
    display: inline;
    float: left;
    width: 470.94444444px;
    margin: 0 16.81944444px;
  }
  #mainblock {
    display: inline;
    float: left;
    width: 470.94444444px;
    margin: 0 16.81944444px;
  }
  .wrapper {
    width: 491px;
  }
}
@media (max-width: 485px) {
  #sidebar {
    display: inline;
    float: left;
    width: 398.86111111px;
    margin: 0 16.81944444px;
  }
  #mainblock {
    display: inline;
    float: left;
    width: 398.86111111px;
    margin: 0 16.81944444px;
  }
  .wrapper {
    width: 416px;
  }
}
@media (max-width: 410px) {
  #sidebar {
    display: inline;
    float: left;
    width: 326.77777778px;
    margin: 0 16.81944444px;
  }
  #mainblock {
    display: inline;
    float: left;
    width: 326.77777778px;
    margin: 0 16.81944444px;
  }
  .wrapper {
    width: 341px;
  }
}
@media (max-width: 335px) {
  #sidebar {
    display: inline;
    float: left;
    width: 254.69444444px;
    margin: 0 16.81944444px;
  }
  #mainblock {
    display: inline;
    float: left;
    width: 254.69444444px;
    margin: 0 16.81944444px;
  }
  .wrapper {
    width: 266px;
  }
}
@media (max-width: 260px) {
  #sidebar {
    display: inline;
    float: left;
    width: 182.61111111px;
    margin: 0 16.81944444px;
  }
  #mainblock {
    display: inline;
    float: left;
    width: 182.61111111px;
    margin: 0 16.81944444px;
  }
  .wrapper {
    width: 191px;
  }
}
@media (max-width: 185px) {
  #sidebar {
    display: inline;
    float: left;
    width: 110.52777778px;
    margin: 0 16.81944444px;
  }
  #mainblock {
    display: inline;
    float: left;
    width: 110.52777778px;
    margin: 0 16.81944444px;
  }
  .wrapper {
    width: 116px;
  }
}
/* general */
body {
  font: 1em "Alegreya", Georgia, serif;
  color: white;
  background-color: #222;
  background-image: url('images/flower.png'), url('images/plank-black-wood-floors-textures.jpg');
  background-position: bottom left, top center;
  background-repeat: no-repeat, repeat-x;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
}
h1,
h3.widget-title {
  font: 1.5em "Sorts Mill Goudy", Georgia, serif;
  margin: 0 0 0.5em;
}
h2 {
  font: 1.5em "Sorts Mill Goudy", Georgia, serif;
  margin: 1em 0 0 0;
  clear: both;
}
a:link,
a:visited,
a:active {
  text-decoration: none;
  color: #9a1;
  font-weight: bold;
}
a:hover {
  text-decoration: underline;
}
h1 a:link,
h2 a:link,
h1 a:visited,
h2 a:visited,
h1 a:active,
h2 a:active,
h1 a:hover,
h2 a:hover {
  color: #4c4c4c;
  font-weight: normal;
}
summary {
  margin: 1em 0 0 0;
}
summary h2 {
  margin: 0 0 0.5em;
}
summary p {
  margin-bottom: 0;
}
.more-link {
  display: inline-block;
  background: #4c4c4c;
  color: white !important;
  padding: 0 0.5em;
  font-family: "Alegreya SC", Georgia, serif;
  font-weight: bold;
  font-size: 0.9em;
  text-transform: uppercase;
  /*clear: both;
    float: none;*/
  margin: 0.5em 0 1em 0;
  float: right;
}
ul.pager {
  font-family: "Alegreya SC", Georgia, serif;
  font-weight: bold;
  font-size: 0.9em;
  text-transform: uppercase;
  text-align: right;
  list-style-type: none;
}
ul.pager li {
  display: inline;
  color: white;
  background: #4c4c4c;
}
ul.pager li a {
  color: white;
  padding: 0 0.5em;
}
.clear-both {
  clear: both;
}
/* blocks specific styling */
#sidebar {
  font-family: "Alegreya SC", Georgia, serif;
  font-weight: bold;
  font-size: 0.9em;
  text-transform: uppercase;
  color: #4c4c4c;
}
#sidebar a {
  color: #4c4c4c;
}
#sidebar a.on,
#sidebar li.current-menu-item > a {
  color: #9a1;
}
#sidebar #header-nav {
  padding-top: 1px;
  background-color: white;
  color: #4c4c4c;
  box-shadow: 0 0 10px #4c4c4c;
}
#sidebar #header-nav header {
  background: transparent url('images/logo.png') top left no-repeat;
  margin: 15px;
  text-indent: -9999px;
  width: 149px;
  height: 61px;
  cursor: pointer;
}
#sidebar #header-nav nav {
  margin: 15px;
  padding-bottom: 1px;
}
#sidebar #header-nav nav ul {
  padding-left: 0;
  list-style-type: none;
}
#sidebar #header-nav nav li {
  margin-bottom: 0.2em;
  /*text-align: right !important;*/
}
#sidebar #header-nav nav li a {
  display: block;
  line-height: 1em;
  padding-bottom: 0.5em;
}
#sidebar #header-nav nav li ul li a {
  /*margin-right: 1em;*/
  font-weight: normal;
  font-size: 0.9em;
}
#sidebar #subnav {
  margin: 15px;
}
#sidebar #subnav h2 {
  font-size: 1em;
  font-family: "Alegreya SC", Georgia, serif;
  font-weight: bold;
  color: #dd2;
}
#sidebar #subnav h2 a {
  color: #dd2;
  font-weight: bold;
}
#sidebar #subnav ul {
  color: white;
  text-align: left;
  text-transform: none;
  padding: 0;
}
#sidebar #subnav ul li {
  margin-bottom: 0.3em;
  margin-left: 0;
  list-style-type: none;
  padding-left: 0;
}
#sidebar #subnav ul a {
  color: white;
}
#sidebar #subnav ul li.current-menu-item {
  text-indent: -0.55em;
}
#sidebar #subnav ul li.current-menu-item:before {
  content: "»";
}
nav .sub-menu {
  margin-left: 1em;
  display: none;
}
nav .current-menu-item .sub-menu,
nav .current-menu-parent .sub-menu {
  display: block;
}
#mainblock {
  color: #4c4c4c;
  box-shadow: 0 0 10px #4c4c4c;
}
#mainblock #maincontent {
  padding: 15px 15px 3em 15px;
  background: white url('images/grass.png') center bottom no-repeat;
  background-size: contain;
}
#context {
  background-color: #4c4c4c;
  color: white;
  font: 1.5em "Alegreya SC", Georgia, serif;
  margin: -15px -15px 25px -15px;
  padding: 10px 15px;
  border-bottom: 10px solid #de7;
}
#context a {
  color: white;
}
.article-list article,
.page-list article {
  margin: 0 0 2em 0;
  min-height: 200px;
  clear: both;
}
.article-list article header,
.page-list article header {
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.3em;
  margin-bottom: 1em;
}
.article-list article header h2,
.page-list article header h2 {
  font-weight: normal;
  margin: 0;
  font-size: 1.5em;
}
.article-list article header time,
.page-list article header time {
  float: right;
  margin-top: -1.7em;
}
.article-list article summary,
.page-list article summary {
  /*:after {
                 visibility: hidden;
                 display: block;
                 font-size: 0;
                 content: " ";
                 clear: both;
                 height: 0;
            } */
}
.article-list article summary > a:first-child,
.page-list article summary > a:first-child,
.article-list article summary > img,
.page-list article summary > img {
  float: left;
  margin-right: 15px;
}
.article-list article summary p a.more-link,
.page-list article summary p a.more-link {
  float: right;
  clear: both;
}
section:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.article article header,
.basic-page article header,
.single article header,
.page article header {
  border-bottom: 1px solid #ccc;
}
.article article header h1#title,
.basic-page article header h1#title,
.single article header h1#title,
.page article header h1#title {
  font-weight: normal;
  margin-bottom: 0;
}
.article article header time,
.basic-page article header time,
.single article header time,
.page article header time {
  float: right;
  margin: -2em 0 1em 0;
}
.article article summary > a:first-child,
.basic-page article summary > a:first-child,
.single article summary > a:first-child,
.page article summary > a:first-child,
.article article summary > img,
.basic-page article summary > img,
.single article summary > img,
.page article summary > img {
  float: left;
  margin-right: 15px;
}
.minialbum {
  clear: both;
  margin-top: 1em;
}
#maincontent > article > summary {
  min-height: 130px;
}
#bottomnav {
  background: #4c4c4c;
  margin: 0;
  padding: 15px 0 15px 0;
  margin-bottom: 1em;
  font-family: "Alegreya SC", Georgia, serif;
  font-weight: bold;
  font-size: 0.9em;
  color: #d0dd28;
}
#bottomnav a {
  color: #d0dd28;
  min-height: 36px;
  display: block;
}
#bottomnav a.on,
#bottomnav li.current-menu-item > a {
  text-decoration: underline;
}
#bottomnav ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-transform: uppercase;
}
#bottomnav ul li {
  line-height: 1em;
}
#bottomnav ul > li ul {
  text-transform: none;
  color: white;
}
#bottomnav ul > li ul a {
  color: white;
  padding-bottom: 0.5em;
  min-height: 0;
}
#bottomnav ul > li ul li {
  float: none;
  margin: 0;
}
#bottomnav > div > ul > li {
  display: inline;
  float: left;
  width: 110.52777778px;
  margin: 0 16.81944444px;
}
#bottomnav p {
  margin: 0.7em 1em;
}
#editpage {
  position: fixed;
  top: 0;
  right: 0;
  padding: 0.5em;
  background: red;
  color: white;
  font-family: sans-serif;
  font-weight: bold;
}
.Inputfields,
.Inputfields li {
  list-style: none;
  margin: 1em 0;
  padding: 0;
}
.Inputfields li p {
  margin: 0;
}
.Inputfields li p.description {
  font-style: italic;
}
.Inputfields textarea,
.Inputfields .InputfieldMaxWidth {
  width: 100%;
}
.Inputfields .InputfieldSubmit label {
  display: none;
}
.ui-state-error-text {
  color: red;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 95%;
}
input[type="submit"] {
  background: #9a1;
  background-image: -webkit-linear-gradient(top, #9a1, #670);
  background-image: -moz-linear-gradient(top, #9a1, #670);
  background-image: -ms-linear-gradient(top, #9a1, #670);
  background-image: -o-linear-gradient(top, #9a1, #670);
  background-image: linear-gradient(to bottom, #9a1, #670);
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px;
  text-shadow: 1px 1px 3px #666666;
  font-family: Georgia;
  color: #ffffff;
  font-size: 16px;
  padding: 8px 20px 8px 20px;
  text-decoration: none;
  cursor: pointer;
  border: none;
}
input[type="submit"]:hover {
  background: #d0dd28;
  background-image: -webkit-linear-gradient(top, #d0dd28, #9a1);
  background-image: -moz-linear-gradient(top, #d0dd28, #9a1);
  background-image: -ms-linear-gradient(top, #d0dd28, #9a1);
  background-image: -o-linear-gradient(top, #d0dd28, #9a1);
  background-image: linear-gradient(to bottom, #d0dd28, #9a1);
  text-decoration: none;
}
.gallery-single #content {
  margin-top: 2%;
}
.gallery article,
.gallery-single a {
  padding: 0;
  overflow: hidden;
  float: left;
  position: relative;
  margin: 0 2% 2% 0;
  width: 32%;
  display: block;
}
.gallery article a img,
.gallery-single a img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
}
.gallery article a:after,
.gallery-single a:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(102, 119, 0, 0.3);
  opacity: 1;
  -webkit-transition: all 250ms ease-in-out;
  -moz-transition: all 250ms ease-in-out;
  -o-transition: all 250ms ease-in-out;
  transition: all 250ms ease-in-out;
}
.gallery article summary,
.gallery-single a summary {
  display: block;
  opacity: 1;
  position: absolute;
  left: 0;
  top: 100%;
  bottom: 0;
  right: 0;
  text-align: center;
  background: rgba(102, 119, 0, 0);
  z-index: 100;
  overflow: hidden;
  margin: 0;
  font-weight: normal;
  color: #EEE;
  font-size: 13px;
  padding: 0 0.5em 1em 0.5em;
  -webkit-transition: all 250ms ease-in-out;
  -moz-transition: all 250ms ease-in-out;
  -o-transition: all 250ms ease-in-out;
  transition: all 250ms ease-in-out;
}
.gallery article:hover summary,
.gallery-single a:hover summary {
  display: block;
  opacity: 1;
  left: 5%;
  top: 5%;
  bottom: 5%;
  right: 5%;
  background: rgba(102, 119, 0, 0.9);
}
.gallery article:hover a:after,
.gallery-single a:hover:after {
  opacity: 0;
}
.gallery article a {
  display: block;
}
.gallery article header {
  border-bottom: none;
}
.gallery article:nth-child(3n+3),
.gallery-single a:nth-child(3n+3) {
  margin-right: 0;
}
.gallery article summary h2,
.gallery-single a summary h2 {
  color: #FFF;
  line-height: 1em;
  padding: 1em 0 1em 0;
  position: relative;
  font: 18px "Alegreya SC", Georgia, serif;
}
.gallery article summary h2:after,
.gallery-single a summary h2:after {
  content: "";
  width: 50%;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 25%;
  background: #9a1;
}
.gallery.single article {
  float: none;
  width: 100%;
  margin: 0;
  position: static;
}
.gallery.single article a.item {
  padding: 0;
  overflow: hidden;
  float: left;
  position: relative;
  margin: 0 2% 2% 0;
  width: 31%;
  background: red;
}
.clear {
  float: none;
  clear: both;
}
article.project header {
  position: relative;
}
article.project header summary {
  overflow: scroll;
  position: absolute;
  top: 100%;
  height: 0;
  -webkit-transition: all 250ms ease-in-out;
  -moz-transition: all 250ms ease-in-out;
  -o-transition: all 250ms ease-in-out;
  transition: all 250ms ease-in-out;
  background: rgba(255, 255, 255, 0.95);
  margin: 1px 0 0 0;
  left: 0;
  right: 0;
  box-sizing: border-box;
  padding: 0 2em;
  color: #444;
  text-align: left;
  z-index: 100;
}
article.project header:hover summary,
article.project .summary-visible {
  height: 300px;
  padding: 1em 2em;
  top: 100%;
  z-index: 1000;
}
#swipebox-caption {
  font-family: "Alegreya SC", Georgia, serif !important;
}
@media (min-width: 693px) {
  nav .menu {
    text-align: left;
  }
  /*
	#subnav {
		h2 {
			display: block;
			text-align: left;
			border-bottom: 1px solid @yellow1;
		}
		ul {
			display: block;
		}
		li {
			display: list-item;
		}
	}*/
}
@media (max-width: 693px) {
  nav ul {
    text-align: left;
  }
  nav li {
    display: inline;
    float: left;
    padding: 0 1em 0 0;
  }
  nav:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
  nav .current-menu-item .sub-menu,
  nav .current-menu-parent .sub-menu {
    /*        display: inline;
/*        float: left;*/
  }
  nav .current-menu-item .sub-menu li,
  nav .current-menu-parent .sub-menu li {
    float: left;
  }
  /*
	#subnav {
		h2 {
		display: none;
		}
		ul {
			display: inline;
		}
		li {
			display: inline;
			margin-right: 0.3em;
			padding-right: 0.3em;
			border-right: 1px solid @grey3;
		}
		li:last-child {
			border-right: none;
		}
	}*/
  .gallery article summary,
  .gallery-single a summary {
    left: 5%;
    top: 5%;
    bottom: 5%;
    right: 5%;
    background: rgba(102, 119, 0, 0.5);
  }
  .gallery article summary p,
  .gallery-single a summary p {
    display: none;
  }
}
.show-description {
  float: right;
  display: block;
  padding: 0 0.5em;
  position: relative;
  background: #ffffff;
  border: 4px solid #DE7;
  font-weight: bold;
  z-index: 10000;
}
.show-description:after,
.show-description:before {
  top: 100%;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.show-description:after {
  border-color: rgba(255, 255, 255, 0);
  border-top-color: #ffffff;
  border-width: 10px;
  margin-left: -10px;
}
.show-description:before {
  border-color: rgba(221, 238, 119, 0);
  border-top-color: #DE7;
  border-width: 16px;
  margin-left: -16px;
}
a[rel=next] {
  float: right;
}
