/*
Theme Name: Husitské muzeum v Táboře
Author: Radim Stolina
Author URI: http://www.radimstolina.net
Description: Moderní šablona s fotosliderem a 2-sloupcovým layoutem.
Version: 1.0
*/

@import "css/camera.css";

@-ms-viewport { width: device-width; }
@viewport { width: device-width; }
@-o-viewport { width: device-width; }
@-webkit-viewport { width: device-width; }

html, body {
	width: 100%;
  height: 100%;
	margin: 0;
	padding: 0;
}
body {
	background: #fff;
	font-size: 15px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
}
.clear {
	clear: both;
}
a, a img, a:hover img, a:visited img {
  outline: none;
  border: none;
}
a img {
	-moz-transform: translate(0,0) scale(1.0);
}
#wrapper {
	width: 100%;
}
.inner {
	width: 980px;
	margin: 0 auto;
	text-align: left;
	position: relative;
}

/* Layout */
#header, #slider, #container, #footer, #copyright {
	min-width: 100%;
	float: left;
	position: relative;
}

/* Typography */
h1, h2, h3 {
	font-family: 'Roboto Condensed', sans-serif;
  font-weight: 300;
	margin-top: 0;
}
h1 {
	font-size: 30px;
  color: #333;
  margin-top: 4px;
  letter-spacing: -1px;
}
h2 {
	font-size: 24px;
  color: #333;    
  font-weight: 400;
  letter-spacing: -1px; 
}
h3 {
	font-size: 18px;
  color: #000;  
  font-weight: 400;  
}
p {
	color: #666;
  text-align: justify;
  line-height: 24px;
}
p a {
	color: #ff0000;
}
p a:hover {
	text-decoration: none;
}
ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
blockquote {
	border-left: 5px #ccc solid;
  margin-left: 20px;
  padding-left: 20px;
  font-style: italic;
}
.iclflag, li a, #content .more, .wp-pagenavi a {
	-webkit-transition:all 0.3s ease;
	-moz-transition:all 0.3s ease;
	-o-transition:all 0.3s ease;
	transition:all 0.3s ease;
}

/* Header */
#header {
	background: #333 url(images/header-bg.gif) left top repeat-x;
  height: 149px;
  /* position: fixed; */
  z-index: 999;
  border-bottom: 1px #303030 solid;
}
#lang_sel_list {
  height: 30px;
}
#lang_sel_list ul {
	float: right;
}
#lang_sel_list ul li {
	display: block;
	height: 30px;
  float: left;
}
#lang_sel_list ul li a {
	display: block;
	height: 30px;
  font: 11px arial, sans-serif;
	line-height: 30px;
	color: #999;
	padding: 0 10px;
	text-decoration: none;
}
#lang_sel_list ul li a .iclflag  {
	position: relative;
	top: 2px;
	filter: alpha(opacity=65);
  opacity: 0.65;
  -webkit-opacity: 0.65;
  -moz-opacity: 0.65;
  -khtml-opacity: 0.65;
}
#lang_sel_list ul li a:hover .iclflag, #lang_sel_list ul li a.lang_sel_sel .iclflag  {
	filter: alpha(opacity=100);
  opacity: 1;
  -webkit-opacity: 1;
  -moz-opacity: 1;
  -khtml-opacity: 1;
}
#lang_sel_list ul li a:hover, #lang_sel_list ul li a.lang_sel_sel {
	color: #666;
}
#lang_sel_list ul li a span.icl_lang_sel_translated {
	display: none;
}

.logo {
	position: relative;
	top: 27px;
}
#navbar {
	float: right;
	position: relative;
	top: 40px;
}
.navbar li {
	display: block;
	height: 40px;
	float: left;
}
.navbar li a {
	display: block;
	height: 40px;
  font-size: 15px;
  line-height: 40px;
	color: #ccc;
	padding: 0 15px;
	text-decoration: none;
	text-transform: uppercase;
}
.navbar li a:hover {
	color: #fff;
}
.navbar li.current-menu-item a,
.navbar li.current-menu-item a:hover,
.navbar li.current-menu-ancestor a,
.navbar li.current-menu-ancestor a:hover,
.navbar li.current-menu-parent a,
.navbar li.current-menu-parent a:hover
.navbar li.current_page_item.menu-item-has-children .sub-menu a,
.navbar li.current_page_item.menu-item-has-children .sub-menu a:hover,
.navbar li.current-menu-parent.menu-item-has-children .sub-menu a,
.navbar li.current-menu-parent.menu-item-has-children .sub-menu a:hover,
.navbar li.current-post-parent a,
.navbar li.current-post-parent a:hover {
	background: #ff0000;
	color: #fff !important;
}
.navbar li.menu-item-has-children .sub-menu a {
	color: #ccc;
}
.navbar li.menu-item-has-children .sub-menu a:hover {
	color: #fff;
}
.navbar li .sub-menu {
	background: #333;
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  display: none;
	position: absolute;
	padding-bottom: 5px;
	border-left: 1px #303030 solid;
	border-right: 1px #303030 solid;
	border-bottom: 1px #303030 solid;
}
.navbar li.current-menu-item .sub-menu,
.navbar li.current-menu-ancestor .sub-menu.sub-menu,
.navbar li.current_page_item.menu-item-has-children .sub-menu,
.navbar li.current-page_item.menu-item-has-children .sub-menu,
.navbar li.current-menu-parent.menu-item-has-children .sub-menu,
.navbar li.current-menu-parent .sub-menu {
	background: #ff0000;
	border-left: 1px #ff0000 solid;
	border-right: 1px #ff0000 solid;
	border-bottom: 1px #ff0000 solid;
}
.navbar li .sub-menu li {
	height: 35px;
  float: none;
}
.navbar li .sub-menu li a {
	height: 35px;
  line-height: 35px;
  font-size: 14px;
  text-transform: none;
}
a.nav-button {
	background: url(images/nav-button.png) center center no-repeat;
  width: 40px;
  height: 45px;
  position: absolute;
	top: 70px;
	right: 2%;
	cursor: pointer;
	z-index: 9999;
  display: none;
}
a.nav-button.close {
	background: url(images/nav-button-x.png) center center no-repeat;
}

/* Container */
#container, #container .inner {
  background: #fff;
  padding: 50px 0;
}
#container {
  padding: 0;
  z-index: 998;
}

/* Sidebar */
#sidebar {
	width: 270px;
	padding-top: 5px;
	float: left;
}
#search {
	width: 270px;
	position: relative;
}
#search input[type="text"] {
	background: #f0f0f0;
  width: 248px;
  border: none;
	padding: 8px 10px 9px;
	font: 13px arial, sans-serif;
  color: #999;
  border: 1px #e0e0e0 solid;
  position: relative;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
#search input[type="text"]:focus {
	border: 1px #ccc solid;
}
#search input[type="submit"] {
	background: url(images/search-btn.png) center center no-repeat;
  position: absolute;
  right: 0;
  top: 0;
	z-index: 100;
	width: 35px;
	height: 35px;
	border: none;
	cursor: pointer;
}
#search input[type="submit"]:hover {
	background: url(images/search-btn-over.png) center center no-repeat;
}
#sidebar ul li h3 {
	margin-top: 25px;
}
#sidebar ul.menu {
	list-style-type: none;
	margin: 10px 0 35px 0;
	padding: 0;
}
#sidebar ul.menu li {
	border-bottom: 1px #e0e0e0 solid;
  border-left: 1px #e0e0e0 solid;
	border-right: 1px #e0e0e0 solid;
}
#sidebar ul.menu li a {
	background: url(images/arr-grey.gif) 15px center no-repeat;
  height: 42px;
	display: block;
  font-size: 15px;
  line-height: 42px;
	color: #333;
	text-decoration: none;
	padding-left: 30px;
}
#sidebar ul.menu li a:hover {
	background: url(images/arr-red.gif) 15px center no-repeat;
  color: #ff0000;
}
#sidebar ul.menu li.current-menu-item a {
	background: #ff0000 url(images/arr-white.gif) 15px center no-repeat;
  color: #fff;
}
#sidebar ul.menu li.menu-item-87, #sidebar ul.menu li.menu-item-167, #sidebar ul.menu li.menu-item-175, #sidebar ul.menu li.menu-item-2649, #sidebar ul.menu li.menu-item-2775, #sidebar ul.menu li.menu-item-4975, #sidebar ul.menu li.menu-item-13915, #sidebar ul.menu li.menu-item-13921, #sidebar ul.menu li.menu-item-13924, #sidebar ul.menu li.menu-item-13927 {
	border-top: none;
	border-left: none;
	border-right: none;
}
#sidebar ul.menu li.menu-item-175 {
	border-bottom: none;
}
#sidebar ul.menu li.menu-item-87 a, #sidebar ul.menu li.menu-item-167 a, #sidebar ul.menu li.menu-item-175 a, #sidebar ul.menu li.menu-item-2649 a, #sidebar ul.menu li.menu-item-2775 a, #sidebar ul.menu li.menu-item-4975 a, #sidebar ul.menu li.menu-item-13915 a, #sidebar ul.menu li.menu-item-13921 a, #sidebar ul.menu li.menu-item-13924 a, #sidebar ul.menu li.menu-item-13927 a {
	background: none;
	height: 40px;
  display: inline-block;
  font-size: 18px;
  color: #000;
	padding-left: 0;
	margin: 15px 0;
	border-bottom: 2px #333 solid;
	text-decoration: none;
}
#sidebar ul.menu li.menu-item-87 a:hover, #sidebar ul.menu li.current-menu-item.menu-item-87 a, #sidebar ul.menu li.menu-item-167 a:hover, #sidebar ul.menu li.current-menu-item.menu-item-167 a, #sidebar ul.menu li.menu-item-175 a:hover, #sidebar ul.menu li.current-menu-item.menu-item-175 a, #sidebar ul.menu li.menu-item-2649 a:hover, #sidebar ul.menu li.current-menu-item.menu-item-2649 a, #sidebar ul.menu li.menu-item-2775 a:hover, #sidebar ul.menu li.current-menu-item.menu-item-2775 a, #sidebar ul.menu li.current-menu-item.menu-item-4975 a:hover, #sidebar ul.menu li.current-menu-item.menu-item-13915 a:hover, #sidebar ul.menu li.menu-item-13915 a:hover, #sidebar ul.menu li.current-menu-item.menu-item-4975 a, #sidebar ul.menu li.menu-item-13921 a:hover, #sidebar ul.menu li.current-menu-item.menu-item-13921 a, #sidebar ul.menu li.menu-item-13924 a:hover, #sidebar ul.menu li.current-menu-item.menu-item-13924 a, #sidebar ul.menu li.menu-item-13927 a:hover, #sidebar ul.menu li.current-menu-item.menu-item-13927 a {
	color: #ff0000;
	border-bottom: 2px #ff0000 solid;
}
#sidebar .textwidget {
	border: 1px #e0e0e0 solid;
}
.banner {
  width: 220px;
  height: auto;
  display: block;
  margin: 30px 25px;
}

/* Content */
#content {
	width: 680px;
	float: left;
	margin-left: 30px;
}
#content ul, #content ol {
	padding: 5px 0;
}
#content ul li {
	padding: 2px 0 2px 20px;
}
#content ol li {
	margin-left: 10px;
	padding: 2px 0 2px 10px;
}
#content ul li {
	background: url(images/li-bg.gif) left 10px no-repeat;
}
#content table {
	margin: 30px 0;
  padding: 0;
	width: 100% !important;
	border-collapse: collapse;
  border-spacing: 0;
}
#content table th, #content table td {
	vertical-align: middle;
	border: 1px solid #ccc;
	text-align: left;
	padding: 10px 5px;
	font-weight: 300;
}
#content table th {
	background-color: #666;
  color: #fff;
}
#content table td {
	color: #666;
}
#content table tbody:nth-child(even) {
  background-color: #fff;
}
#content table tbody:nth-child(odd) {
  background-color: #eee;
}
#content ul li a, #content table a {
	color: #ff0000;
}
#content ul li a:hover, #content table a:hover {
	text-decoration: none;
}
.info {
	border-top: 1px #ccc solid;
  font: 12px arial, sans-serif;
  color: #999;
  padding-top: 10px;
	margin: -10px 0 25px 0;
}
.info a {
	color: #ff0000;
}
.info a:hover {
	text-decoration: none;
}
#content img {
	-webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
a.link-image, a.link-image:hover {
	text-decoration: none;
	cursor: pointer;
}
.imagemask {
  position: absolute;
	opacity: 0;
	overflow: hidden;
	-webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.imagemask img {
	display: block !important;
	padding: 0 0 0 0 !important;
}
.imagemask.zoom {
	background: url(images/plus-icon.png) center center no-repeat;
}
#content img.alignleft {
	float: left;
	margin: 6px 20px 10px 0;
}
#content img.alignright {
	float: right;
	margin: 6px 0 10px 20px;
}
#content .excerpt {
	background: url(images/excerpt-bg.gif) left top repeat;
  width: 628px;
	border: 1px #e0e0e0 solid;
	padding: 0 25px 25px;
	margin: 30px 0;
	position: relative;
	overflow: hidden;
}
#content .excerpt h1 {
	background: url(images/excerpt-title-bg.gif) left top no-repeat;
  /* height: 45px; */
  display: block;
  padding: 10px 0 0 50px; 
  color: #000;
  position: relative;
  left: -25px;
  top: 0;
  margin: 0;
}
#content .excerpt h1 a {
	color: #000;
  text-decoration: none;
}
#content .excerpt h1 a:hover {
	text-decoration: underline;
}
#content .excerpt h2 {
	font-weight: 300;
	padding-left: 25px;
}
#content .excerpt p {
	color: #333;
}
#content .excerpt img.alignleft {
	margin: 20px 15px 10px 0;
}
#content .excerpt .more {
	background: #999 url(images/more-bg.gif) right top no-repeat;
  /* width: 54px; */
	height: 25px;
	line-height: 24px;
	display: block;
	padding: 0 35px 0 10px;
  color: #fff;
  float: right;
  position: absolute;
  right: 0;
  bottom: 0;
  text-decoration: none;
}
#content .excerpt .more:hover {
	background-color: #666;
}

/* Gallery */
.gallery {
	width: 720px;
	position: relative;
	left: -40px;
	clear: both;
	margin: 30px 0 0 0;
}
.gallery .gallery-item {
	float: left;
	margin: 0 0 40px 40px;
	text-align: left;
	width: 200px;
}
.gallery .gallery-caption {
	margin-left: 0;
	font-size: 13px;
  font-style: italic;
}

/* WP-PageNavi */
.wp-pagenavi {
	text-align: left;
	margin: 30px auto 10px;
	font-size: 13px;
}
.wp-pagenavi a, .wp-pagenavi span {
	text-align: center;
	border: none !important;
	padding: 0 !important;
	color: #666;
	line-height: 29px;
	width: 30px !important;
	height: 30px;
	display: inline-block;
	border-radius: 30px;
  -moz-border-radius: 30px;
  -webkit-border-radius: 30px;
}
.wp-pagenavi a {
	color: #666;
}
.wp-pagenavi a:hover {
	background: #cc0000;
	color: #fff;
}
.wp-pagenavi span.current {
	background: #666;
	color: #fff;
	font-weight: normal !important;
}

/* Footer */
#footer {
	background: #e0e0e0;
	border-top: 1px #ccc solid;
}
#footer .box {
	background: #333;
	width: 220px;
	height: auto;
	padding: 25px;
	float: left;
	position: relative;
	top: -1px;
	margin-bottom: -1px;
}
#footer .box span.title {
  color: #666;
	text-transform: uppercase;
	padding-bottom: 5px;
	border-bottom: 2px #666 solid;
}
#footer #menu ul {
	list-style-type: none;
	margin: 25px 0 0 15px;
	padding: 0;
}
#footer #menu ul li a {
  line-height: 25px;
	color: #999;
	font-weight: 300;
	text-decoration: none;
}
#footer #menu ul li a:hover, #footer #menu ul li.current_page_item a, #footer #menu ul li.current-menu-item a {
	color: #ccc;
}
#footer .fb {
	float: left;
	margin-left: 25px;
	padding-top: 25px;
}
#copyright {
	background: #000;
	padding: 19px 0;
}
#copyright .inner {
	background: #000;
	font: 11px arial, sans-serif;
	color: #333;
}
#copyright .inner a {
	color: #666;
	text-decoration: none;
}
#copyright .inner a:hover {
	text-decoration: underline;
}
.scrollup {
	background: url(images/scrollup.png) center center no-repeat;
  width: 18px;
	height: 12px;
	filter: alpha(opacity=70);
  opacity: 0.7;
  -webkit-opacity: 0.7;
  -moz-opacity: 0.7;
  -khtml-opacity: 0.7;
	float: right;
  cursor: pointer;
}
.scrollup:hover {
	filter: alpha(opacity=100);
  opacity: 1.0;
  -webkit-opacity: 1.0;
  -moz-opacity: 1.0;
  -khtml-opacity: 1.0;
}

/* Responsive Styles */
@media (max-width: 1024px){
	.inner {
	width: 98%;
	margin: 0 auto;
  }
  .navbar li a {
	font-size: 14px;
  padding: 0 10px;
  }
  .navbar li .sub-menu {
	width: 141px;
	min-width: 141px;
	max-width: 141px;
  }
  .navbar li .sub-menu li, .navbar li .sub-menu li a {
	height: auto;
  }
  #content {
	width: 67%;
	margin-left: 3%;
  }
  #content .excerpt {
	width: 92%;
	}
	#content .excerpt h1 {
	overflow: visible;
	}
	#content .excerpt p {
	padding-top: 10px;
	}
	#footer .fb {
	width: 67%;
	margin-left: 3%;
  }
}
@media (max-width: 960px){
	#content {
	width: 60%;
  }
  #content .excerpt {
	width: 90%;
	}
	#footer .fb {
	width: 60%;
  }
}
@media (max-width: 768px) {
  #container, #footer, #copyright {
  top: 0;
  }
  #container .inner {
  display: flex;
  flex-flow: row wrap;
  }
  #sidebar, #content, #footer .box, #footer .fb {
	float: none;
	margin: 0 auto;
  }
  #sidebar {
  order: 2;
  margin-top: 80px;
  }
  #header .inner {
	width: 100%;
  }
  .logo {
	float: left;
	margin-left: 2%;
  }
  #navbar {
	display: none;
  background: #333;
	position: absolute;
	width: 100%;
  top: 150px;
	right: 0;
	left: 0;
	text-align: center;
  }
  .navbar {
	width: 50%;
	margin: auto;
  }
  .navbar li {
	height: auto !important;
	float: none;
	border-top: 1px #303030 solid;
  }
  .navbar li:first-child {
	border-top: none;
  }
  .navbar li a {
	padding: 0 20px;
	display: block;
  }
  .navbar li.menu-item-has-children:hover {
	}
  .navbar li .sub-menu {
	display: block !important;
  position: relative !important;
	padding-bottom: 0;
	border: none;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	-webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  }
  .navbar li .sub-menu li {
	border-top: none;
	display: block;
  }
  a.nav-button {
	display: block;
  }
  #content {
	width: 100%;
	margin-left: 0;
	order: 1;
  }
  #content .excerpt {
	width: 89%;
	margin: 30px auto;
	}
	#footer .fb {
	width: 100%;
	text-align: center;
	margin-bottom: 25px;
  }
  #copyright .inner {
	text-align: center;
  }
  .scrollup {
	float: none;
	display: block;
	margin: 20px auto 0;
  }
}
@media (max-width: 480px) {
  .logo {
	margin-left: 2%;
  }
  #navbar {
	margin-right: 2%;
  }
  #content .excerpt {
	width: 83%;
  }
  #content .excerpt h1 {
	font-size: 24px;
	}
	#footer .fb-page {
	display: none !important;
  }
}
@media (max-width: 320px) {
  
}