/*
Theme Name: Husite
Theme URI: http://husitstvi.cz/
Description: The Husite Theme for WordPress
Author: Husite
Version: 1.0
*/
/* HTML5
---------------------------------------------- */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
video {
  display: inline-block;
}

[hidden] {
  display: none;
}

/* HTML & BODY
---------------------------------------------- */
html,
body {
  min-width: 980px;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: black url(images/body-bg.jpg) 50% 0 no-repeat;
  color: #555555;
  line-height: 1.7;
  font-size: 0.875em;
}

/* Fonts
---------------------------------------------- */
body,
button,
input,
select,
textarea {
  font-family: "Georgia", "Times New Roman", serif;
}

pre,
code,
kbd,
samp,
var {
  font-family: "Consolas", "Courier New", "Courier", monospace;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "IM Fell Double Pica", "Georgia", "Times New Roman", serif;
  color: #920606;
  font-weight: normal;
}

/* Links
---------------------------------------------- */
a {
  color: #920606;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
}

/* Typography
---------------------------------------------- */
/* Headings */
h1,
.h1 {
  margin: 0.292em 0;
  line-height: 1.3;
  font-size: 3.429em;
}

h2,
.h2 {
  margin: 0.389em 0;
  line-height: 1.3;
  font-size: 2.571em;
}

h3,
.h3 {
  margin: 0.467em 0;
  line-height: 1.4;
  font-size: 2.143em;
}

h4,
.h4 {
  margin: 0.583em 0;
  line-height: 1.5;
  font-size: 1.714em;
}

h5,
.h5 {
  margin: 0.667em 0;
  line-height: 1.6;
  font-size: 1.5em;
}

h6,
.h6 {
  margin: 0.778em 0;
  line-height: 1.7;
  font-size: 1.286em;
}

/* Margins */
p,
ul,
ol,
dl,
blockquote,
table,
pre,
hr {
  margin-top: 1em;
  margin-bottom: 1em;
}

/* Small */
small {
  font-size: 0.786em;
}

/* ABBR & DFN */
abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

abbr[title] {
  letter-spacing: 1px;
}

dfn {
  font-style: italic;
}

/* Mark */
mark {
  background: #ff0;
  color: #555555;
}

/* Sup & Sub */
sup,
sub {
  position: relative;
  line-height: 0;
  font-size: 0.786em;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Pre */
pre {
  white-space: pre-wrap;
}

/* Images
---------------------------------------------- */
img {
  border: 0;
  vertical-align: middle;
}

/* Figures
---------------------------------------------- */
figure {
  margin: 0;
}

/* Quotes
---------------------------------------------- */
blockquote,
q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

blockquote {
  margin-left: 40px;
}
blockquote pre {
  font: inherit;
}

/* Tables
---------------------------------------------- */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Lists
---------------------------------------------- */
ul,
ol {
  margin-left: 0;
  padding: 0 0 0 40px;
}
nav ul, nav
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
li > ul, li >
ol {
  margin-top: 0;
  margin-bottom: 0;
}

dd {
  margin: 0 0 0 40px;
}

/* Horizontal rule
---------------------------------------------- */
hr {
  display: block;
  height: 0;
  border-top: 1px solid #999999;
}

/* Forms
---------------------------------------------- */
form {
  margin: 0;
}

/* Fieldset */
fieldset {
  margin: 0;
  padding: 0.35em 0.625em 0.75em;
  border: 1px solid #999999;
}

legend {
  margin-left: -2px;
  padding: 0 2px;
  border: 0;
}

/* Label */
label {
  cursor: pointer;
}

/* Elements */
button,
input,
select,
textarea {
  margin: 0;
  color: #555555;
  vertical-align: baseline;
  line-height: normal;
  font-size: 100%;
}

textarea {
  overflow: auto;
  vertical-align: top;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  *overflow: visible;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* Placeholders */
input::-webkit-input-placeholder {
  color: #aaaaaa;
}
input:-moz-placeholder {
  color: #aaaaaa;
}

/* Form Styles
---------------------------------------------- */
input,
textarea,
select,
button {
  border: 1px solid #ddd;
}
input:focus,
textarea:focus,
select:focus,
button:focus {
  outline: none;
  border-color: #ccc;
}

input[type="text"],
input[type="password"],
textarea,
select {
  padding: 5px;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
button {
  background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 100%);
  background-image: -moz-linear-gradient(top, white 0%, #eeeeee 100%);
  background-image: -o-linear-gradient(top, white 0%, #eeeeee 100%);
  background-image: linear-gradient(to bottom, white 0%, #eeeeee 100%);
  padding: 5px 10px;
  background-color: #eee;
}
input[type="submit"]:active, input[type="submit"]:hover,
input[type="reset"]:active,
input[type="reset"]:hover,
input[type="button"]:active,
input[type="button"]:hover,
button:active,
button:hover {
  background-image: -webkit-linear-gradient(top, #fafafa 0%, #eaeaea 100%);
  background-image: -moz-linear-gradient(top, #fafafa 0%, #eaeaea 100%);
  background-image: -o-linear-gradient(top, #fafafa 0%, #eaeaea 100%);
  background-image: linear-gradient(to bottom, #fafafa 0%, #eaeaea 100%);
  background-color: #ddd;
}

/* Table Styles
---------------------------------------------- */
.table th,
.table td {
  padding: 0.4em 0.8em;
  border: 1px solid #999999;
  vertical-align: top;
}
.table th {
  background: #fafafa;
  text-align: left;
}
.table td {
  background: #fff;
}

.table-full {
  width: 100%;
}

/* Accessibility
---------------------------------------------- */
.assistive-text,
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
}

/* Helpers
---------------------------------------------- */
/* Clear */
.clear {
  clear: both;
}

/* No Border */
.noborder {
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

/* Highlight */
.highlight {
  color: #920606;
}

/* Floats
---------------------------------------------- */
.alignright,
.alignleft,
.aligncenter {
  margin-bottom: 1em;
}

.alignright {
  float: right;
  clear: right;
  margin-left: 1em;
}

.alignleft {
  float: left;
  clear: left;
  margin-right: 1em;
}

.aligncenter {
  display: block;
  clear: both;
  margin-top: 1em;
  margin-right: auto;
  margin-left: auto;
}

/* Clear fix
---------------------------------------------- */
.clearfix {
  *zoom: 1;
}
.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}

/* Content Helpers
---------------------------------------------- */
/* Hisute Title */
.husite-title, body.blog .entry-title, body.single .entry-title {
  margin-left: -15px;
  padding-left: 15px;
  background: url(images/husite-title-bg.png) 0 100% no-repeat;
}

/* Husite List */
.husite-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #920606;
  counter-reset: item;
  font-weight: bold;
}
.husite-list li {
  margin: 1em 0;
  counter-increment: item;
}
.husite-list li:before {
  display: inline-block;
  margin-right: 10px;
  width: 20px;
  height: 20px;
  background: url(images/husite-list-bullet.png) no-repeat;
  color: #fff;
  content: counter(item);
  text-align: center;
  font-family: "Arial", "Helvetica", sans-serif;
  line-height: 20px;
}

/* Lead */
.lead {
  margin: 0.667em 0;
  font-style: italic;
  font-size: 1.5em;
  line-height: 1.4;
}

/* More Link */
.more-link {
  display: inline-block;
  margin: 0 0 -12px -10px;
  padding: 0 0 12px 40px;
  min-width: 120px;
  background: url(images/more-link-bg.png) 0 100% no-repeat;
  font-size: 1.286em;
}

/* Vignette */
.vignette-left,
.vignette-right {
  overflow: hidden;
  min-height: 36px;
}

.vignette-left {
  padding-left: 30px;
  background: url(images/vignette-left.png) 0 50% no-repeat;
}

.vignette-right {
  padding-right: 30px;
  background: url(images/vignette-right.png) 100% 50% no-repeat;
}

.vignette-inline-left:before, .vignette-inline:before {
  display: inline-block;
  margin-right: 6px;
  width: 24px;
  height: 36px;
  background: url(images/vignette-left.png) no-repeat;
  content: '';
  vertical-align: middle;
}

.vignette-inline-right:after, .vignette-inline:after {
  display: inline-block;
  margin-left: 6px;
  width: 24px;
  height: 36px;
  background: url(images/vignette-right.png) no-repeat;
  content: '';
  vertical-align: middle;
}

/* Dropdown Menu
---------------------------------------------- */
.dropdown-menu .menu-item {
  position: relative;
}
.dropdown-menu a,
.dropdown-menu .menu-item:hover > .sub-menu {
  display: block;
}
.dropdown-menu > .menu-item {
  float: left;
}
.dropdown-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
}
.dropdown-menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
}

/* Images
---------------------------------------------- */
img[class*="wp-image-"],
img[class*="attachment-"] {
  border: 0 !important;
}

.size-full {
  max-width: 662px;
  width: auto;
  height: auto;
}

/* Smilies */
.wp-smiley {
  vertical-align: text-top;
}

/* Image with caption */
.wp-caption {
  margin-bottom: 1em;
}
.wp-caption img {
  margin: 0 5px;
}

.wp-caption-text {
  margin: 0 auto;
  padding-top: 0.5em;
  color: #7a0000;
  text-align: center;
  font-size: 0.857em;
  line-height: 1.5;
}

/* Thumbnail */
.size-thumbnail,
.attachment-thumbnail {
  padding: 25px;
  background: url(images/thumbnail-bg.png) no-repeat;
}

/* Wrapper
---------------------------------------------- */
.wrapper {
  margin: 0 auto;
  width: 962px;
}

/* Layout
---------------------------------------------- */
.main {
  border-radius: 5px;
  background: #ebe8e6 url(images/main-bg.jpg) 0 111px repeat-y;
}

.first-content-wrapper {
  background: url(images/primary-bg.jpg) no-repeat;
}

.second-content-wrapper {
  padding: 46px 40px 66px 60px;
  min-height: 1100px;
  background: url(images/content-bg.jpg) 0 100% no-repeat;
}

.primary {
  float: left;
  width: 662px;
}

.secondary {
  float: right;
  width: 160px;
}

/* Templates
---------------------------------------------- */
/* Full Width */
.page-template-templatesfull-width-php .second-content-wrapper {
  padding: 46px 60px 66px;
}
.page-template-templatesfull-width-php .primary,
.page-template-templatesfull-width-php .secondary {
  float: none;
}
.page-template-templatesfull-width-php .primary {
  width: auto;
}
.page-template-templatesfull-width-php .secondary {
  display: none;
}

/* Header
---------------------------------------------- */
.site-header {
  position: relative;
  z-index: 100;
  height: 102px;
  text-align: center;
}

/* Logo */
.header-logo {
  display: inline-block;
  margin-right: 10px;
}

/* Site Nav
---------------------------------------------- */
.site-nav {
  position: relative;
  z-index: 90;
  padding: 1px 20px;
  height: 76px;
}

/* Primary Menu
---------------------------------------------- */
.primary-menu a {
  text-decoration: none;
  text-shadow: 0 2px 1px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

/* First Level */
.primary-menu {
  display: table;
  margin: 0 auto;
}
.primary-menu > .menu-item > a {
  padding: 0 10px;
  height: 40px;
  color: #fff;
  font-variant: small-caps;
  line-height: 40px;
}
.primary-menu > .menu-item:hover > a,
.primary-menu > .current-menu-item > a,
.primary-menu > .current-menu-parent > a,
.primary-menu > .current-menu-ancestor > a {
  background: #222;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) inset, 2px 0 2px -2px rgba(255, 255, 255, 0.5), -2px 0 2px -2px rgba(255, 255, 255, 0.5);
  color: #ccc;
}

/* Sub Menu */
.primary-menu .sub-menu {
  padding: 20px 0;
  min-width: 160px;
  background: #222222 url(images/primary-menu-sub-menu-bg.png);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
.primary-menu .sub-menu:before {
  position: absolute;
  bottom: -30px;
  left: 25px;
  width: 86px;
  height: 30px;
  background: url(images/primary-menu-sub-menu-ribbon.png) no-repeat;
  content: '';
}
.primary-menu .sub-menu a {
  padding: 2px 25px;
  color: #999;
  text-transform: uppercase;
}
.primary-menu .sub-menu .sub-menu {
  top: -20px;
}
.primary-menu .sub-menu .menu-item:hover > a,
.primary-menu .sub-menu .current-menu-item > a,
.primary-menu .sub-menu .current-menu-parent > a,
.primary-menu .sub-menu .current-menu-ancestor > a {
  color: #ff0000;
}

/* Breadcrumbs
---------------------------------------------- */
.breadcrumbs {
  margin-top: 8px;
  color: #c4b7ae;
  font-size: 0.786em;
}
.breadcrumbs a {
  color: #87796f;
}
.breadcrumbs a:hover {
  color: #af9787;
}
.breadcrumbs .sep {
  color: #aa6e45;
}

/* Languages
---------------------------------------------- */
.languages {
  margin-top: 4px;
  float: right;
}
.languages img {
  box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.5);
}
.languages a {
  filter: alpha(opacity=50);
  opacity: 0.5;
  margin-left: 2px;
}
.languages a:hover, .languages a.current {
  filter: alpha(opacity=100);
  opacity: 1;
}

/* Archive
---------------------------------------------- */
.archive-header {
  margin: 1em 0;
  border-bottom: 1px solid #999999;
}

.archive-title {
  margin: 1em 0;
  color: #555555;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 1em;
}
.archive-title a {
  color: #555555;
}

.archive-description {
  border-top: 1px solid #999999;
}

/* Entry
---------------------------------------------- */
/* General */
.entry-header,
.entry-summary,
.entry-content,
.entry-footer,
.hentry .edit-link {
  margin: 1em 0;
}

/* Entry Meta */
.entry-meta {
  color: #555555;
}

/* Entry Header */
body.blog .entry-title, body.single .entry-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 3.429em;
}
body.search .entry-title {
  font-size: 1.5em;
}

.entry-meta-header {
  overflow: hidden;
}
.entry-meta-header > span {
  float: left;
  margin-left: 0.5em;
  padding-left: 0.5em;
  background: url(images/meta-sep.gif) 0 50% no-repeat;
}
.entry-meta-header > span:first-child {
  margin-left: 0;
  padding-left: 0;
  background: none;
}

.single-author .entry-meta-header .author {
  display: none;
}

/* Entry Content */
.entry-content .page-links,
.entry-content .edit-link {
  clear: both;
}

/* Entry Footer */
.entry-footer {
  clear: both;
}

/* Author Info */
.author-info {
  position: relative;
  padding-left: 78px;
  min-height: 64px;
  border-top: 1px solid #999999;
}
.author-info .avatar {
  position: absolute;
  top: 1em;
  left: 0;
}
.single .author-info {
  margin-top: 2em;
}
.single-author .author-info {
  display: none;
}

/* Comments
---------------------------------------------- */
/* Global */
.comment,
.pingback,
.trackback,
.comments-pagination,
#respond {
  position: relative;
  padding: 0 1em;
  border: 1px solid #999999;
  background: #fff;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.02);
}

/* Comments */
.comments {
  margin: 1em 0;
  padding: 1px 1em;
  background: #fafafa;
}

/* Comments List */
.comments-list, .comments-list .children {
  margin: 0;
  padding: 0;
  list-style: none;
}
.comments-list .children {
  margin-left: 62px;
}

.li-comment {
  margin: 1em 0;
}

/* Comment */
.comment {
  padding-left: 76px;
}

.comment-header,
.comment-content,
.comment-footer {
  margin: 1em 0;
}

.comment-header .avatar {
  position: absolute;
  top: 1em;
  left: 1em;
}
.comment-header .post-author {
  display: inline-block;
  padding: 0 0.5em;
  border-radius: 3px;
  background: #920606;
  color: #fff;
  font-size: 0.786em;
}

.comment-author {
  font-weight: bold;
}

.comment-date {
  display: block;
}
.comment-date a {
  color: #555555;
}

.comment-awaiting-moderation {
  color: #c00;
}

.comment-footer .edit-link {
  position: absolute;
  top: 1em;
  right: 1em;
}

/* Pingback */
.pingback .comment-content {
  margin-top: -1em;
}

/* Respond */
#respond {
  margin: 1em 0;
}
.li-comment #respond {
  margin-left: 62px;
}

#cancel-comment-reply-link {
  position: absolute;
  top: 1em;
  right: 1em;
}

#commentform input[type="text"],
#commentform textarea {
  display: block;
}
#commentform label {
  font-weight: bold;
}
#commentform textarea {
  width: 98%;
}
#commentform .form-allowed-tags {
  display: none;
  color: #555555;
}
#commentform .required {
  color: #c00;
}

/* Comments Pagination */
.comments-pagination {
  padding-top: 1em;
  padding-bottom: 1em;
}

/* Widgets
---------------------------------------------- */
/* Widget */
.widget {
  margin-top: 2em;
  padding-top: 8px;
  background: url(images/widget-sep.png) no-repeat;
}
.widget:first-child {
  margin-top: 0;
  padding-top: 0;
  background: none;
}

.widget-title {
  margin: 0.583em 0 0.583em -5px;
  padding: 0 0 0.5em 5px;
  background: url(images/widget-title-bg.png) 0 100% no-repeat;
  color: #333;
  font-size: 1.714em;
}

/* Text */
.textwidget {
  margin: 1em 0;
}

/* Tags */
.tagcloud {
  overflow: hidden;
  margin: 1em 0;
}
.tagcloud a {
  float: left;
  margin: 0.2em;
  padding: 0.2em 0.6em;
  border: 1px solid #999999;
  background: #fff;
  color: #555555;
  text-decoration: none;
  white-space: nowrap;
  font-size: 1em !important;
}
.tagcloud a:hover {
  background: #fafafa;
}

/* Calendar */
#wp-calendar {
  width: 100%;
  line-height: 1.2;
}
#wp-calendar caption {
  color: #555555;
}
#wp-calendar thead {
  border-bottom: 1px solid #999999;
}
#wp-calendar tfoot {
  border-top: 1px solid #999999;
}
#wp-calendar td,
#wp-calendar th {
  padding: 0.4em;
  text-align: right;
}
#wp-calendar #prev {
  text-align: left;
}
#wp-calendar #today {
  border-radius: 3px;
  background: #c00;
  color: #fff;
  font-weight: bold;
}

/* Search */
.widget_search form {
  margin: 0 -5px;
  padding: 13px 13px 11px 15px;
  height: 30px;
  background: url(images/widget-search-bg.png) no-repeat;
}
.widget_search .search-field,
.widget_search .search-button {
  float: left;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.widget_search .search-field {
  padding: 7px;
  width: 98px;
}
.widget_search .search-button {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  width: 30px;
  height: 30px;
  background: url(images/widget-search-icon.png) 50% no-repeat;
}

/* Recent News */
.widget_recent_news {
  line-height: 1.5;
}
.widget_recent_news ul {
  margin: 1em 0;
  padding: 0;
  list-style: none;
}
.widget_recent_news li {
  margin-top: 1em;
  padding-top: 1em;
  border-top: 1px solid #555;
}
.widget_recent_news li:first-child {
  margin-top: 0;
  padding-top: 0;
  border: 0;
}

.recent-news-title {
  margin: 0;
  font-size: 1em;
}

.recent-news-meta,
.recent-news-summary {
  color: #333;
  font-size: 0.857em;
}

.recent-news-more {
  margin: 0 0 -10px -10px;
  padding: 0 0 10px 30px;
  background: url(images/recent-news-more-bg.png) 0 100% no-repeat;
  font-size: 0.857em;
}

/* Pagination
---------------------------------------------- */
.pagination {
  overflow: hidden;
  margin: 1em 0;
}

.pagination-previous,
.pagination-next {
  width: 49%;
}

.pagination-previous {
  float: left;
}
.pagination-previous a:before {
  content: '\2190\0020';
}

.pagination-next {
  float: right;
  text-align: right;
}
.pagination-next a:after {
  content: '\0020\2192';
}

/* WP-PageNavi */
.wp-pagenavi a,
.wp-pagenavi span {
  margin-right: 0.5em;
  padding: 0.4em 0.8em;
  background: #eee;
  color: #555555;
  text-decoration: none;
}
.wp-pagenavi a:hover,
.wp-pagenavi .current {
  background: #920606;
  color: #fff;
}

/* Footer
---------------------------------------------- */
.footer-wrapper {
  background: url(images/footer-bg.jpg) 50% 0 no-repeat;
}

.site-footer {
  margin: 0 auto;
  padding: 80px 0 30px;
  min-height: 190px;
  width: 962px;
  color: #694d36;
}
.site-footer a {
  color: #a07a5b;
}

.footer-nav {
  margin-bottom: 2em;
  min-height: 100px;
}

.secondary-menu {
  margin: 0 30px;
  width: 900px;
  line-height: 1.3;
}
.secondary-menu a {
  font-size: 0.786em;
  font-family: "Arial", "Helvetica", sans-serif;
  text-decoration: none;
}
.secondary-menu a:hover {
  text-decoration: underline;
}
.secondary-menu > .menu-item {
  float: left;
  margin: 0 10px;
  width: 100px;
}
.secondary-menu > .menu-item-gap {
  margin-right: 190px;
}
.secondary-menu > .menu-item-right {
  text-align: right;
}
.secondary-menu .current-menu-item > a {
  text-decoration: underline;
}

.copyright {
  text-align: center;
}

.copyright-title {
  color: #ac7a51;
  font-weight: bold;
}

.copyright-dev {
  color: #b9724f;
}
.copyright-dev a {
  color: #b9724f;
  text-decoration: underline;
}