/*
 * Template Name: Knihovna Zatec
 * Author: Martin Dobry
 * Website: https://mycrony.cz
*/

body {
	font: 400 14px 'Open Sans', sans-serif;
	overflow-x: hidden;
}

a, a:hover {
	color: #0b53a0;
}

img {
	border: none;
}

.btn {
	background-color: #d2d0c6;
	color: #0b53a0;
	border-radius: 7px 7px;
	padding: 5px 10px !important;
}

.row-full {
	width: 100vw;
	position: relative;
	margin-left: -50vw;
	left: 50%;
}

header {
	background-color: #0b53a0;
	margin-bottom: 10px;
}

header .header-fixed {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 999;
	background-color: #0b53a0;	
}

header .top-banner {
	padding-top: 175px;
	height: 565px;
	overflow: hidden;
}

header .logo, header .logozatec {
	display: inline-block;
}

header .logo img {
	height: 86px;
	margin: 20px 35px 20px 0;
}

header .logozatec img {
	height: 75px;
}

header nav.topmenu .menu-small a {
	display: none;
	font: 700 18px 'Open Sans', sans-serif;
	width: 100%;
	padding: 10px;
}

header nav.topmenu {
	background-color: #f9f1ef;
	padding-top: 8px;
	margin-left: -62px;
}

header nav.topmenu ul li {
	display: inline-block;
	list-style-type: none;
	padding: 0 5px 0 3px;
	border-right: 1px solid #bfbdb0;	
}

header nav.topmenu ul li a {
	display: inline-block;	
	padding: 8px 12px 7px 12px;
	color: #0b53a0;
	font: 600 13px 'Open Sans', sans-serif;
	text-transform: uppercase;
}

header nav.topmenu ul li a:hover,
header nav.topmenu ul li.active a {
	background-color: #0b53a0;
	color: #f9f1ef;
	text-decoration: none;
	border-radius: 7px 7px;
}

header .social {
	text-align: right;
}

header .social-icons {
	padding-top: 55px;
}

header .social-icons {
	position: relative;
	color: #fff;
	font-size: 140%;
	font-variant: center;
}

header .social-icons span {
	color: #fff;
	font-size: 140%;
}

header .social-icons a.icons {
	display: inline-block;
	color: #ffffff;
	padding: 3px 5px;
	text-align: center;
}

header .social-icons a.icons img {
	width: 30px;
}

header .social-icons a:hover.icons {
	background-color: #3eaeee;
	text-decoration: none;
}

header .navigate {
	background-color: #3eaeee;
}

header .navigate a.box {
	display: inline-block;
	position: relative;
	height: 70px;
	width: 100%;
	color: #f9f1ef;
}

header .navigate a:hover.box {
	background-color: #0b53a0;	
	
}

header .navigate .box .icon {
	position: absolute;
	top: 8px;
	left: 8px;
	display: inline-block;	
	font-size: 350%;
	margin-top: 5px;	
	color: #f9f1ef;
}

header .navigate .box h4 {
	position: absolute;
	top: 8px;
	left: 55px;	
	display: inline-block;
	padding: 10px;
}

.seniorlink {
	display: inline-block;
	font-size: 12px; color: #fff;
	font-weight: 900;
	margin: -5px 0 0 15px;
	text-transform: uppercase;
	/*background-color: #f47f35;*/
	border: 1px solid #6dee44;
	padding: 7px 15px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
}

.seniorlink:hover {
	color: #fff;
	background-color: #6dee44;
	text-decoration: none;
}

.menu {
	border-right: 1px solid #bfbdb0;	
}

.menu h3 {
	background-color: #0b53a0;
	color: #ffffff;
	margin-top: 30px;
	padding: 6px 15px;
	font: 600 20px 'Open Sans', sans-serif !important;	
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
}

.text {
	padding-top: 20px;
	margin-bottom: 20px;
}

.text h3 {
	font: 600 23px 'Open Sans', sans-serif;	
	padding-top: 5px;
}

.text h4 {
	font: 500 18px 'Open Sans', sans-serif;
	padding-top: 10px;
}

.obsah p,
.obsah ul,
.obsah div {
	padding-top: 5px;
	margin-bottom: 10px;
}

.obsah a,
.obsah a:hover {
	color: #cc0000;
	text-decoration: underline;
}

.obsah a:hover {
	text-decoration: none;
}

.btn,
.btn:hover {
	color: #ffffff;
	text-decoration: none;
	background-color: #3eaeee;
}

.btn:hover {
	background-color: #0b53a0;
	color: #fff;
}

.text .menu .form-login input {
	margin: 3px 0;
	padding: 5px;
}

.text .menu .form-login button {
	margin-top: 5px;
}

.partners {
	border-top: 1px solid #bfbdb0;	
	padding-top: 20px;
	text-align: center;
}

article {
	margin-bottom: 40px;
}

article img {
	width: 100% !important;
	margin-top: 10px;
}

article a:hover img {
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

article h2 {
	color: #0b53a0;
	font: 600 150% 'Open Sans', sans-serif;	
	padding-top: 10px;
	margin: 0;
}

article h2 a {
	color: #0b53a0;	
}

footer {
	background-color: #0b53a0;
	color: #f9f1ef;
	margin-top: 30px;
}

footer p {
	padding: 15px 0 5px 0;
}

footer p a, footer p a:hover {
	color: #f9f1ef;
	text-decoration: underline;
}

footer p a:hover {
	color: #d2d0c6;
}

.img-icon {
	background-color: transparent !important;
}

.img-icon img {
	margin-top: -4px;
	width: 100%;
}

.img-icon .instagram {
	
}

.first-icon {
	margin-left: 10px;
}

/**** subpage ****/

.top-null-box {
	height: 20px;
	background-color: #0b53a0;
	margin-bottom: 30px;
}

.subpage {
	margin-top: 150px;
}

.padding-top-30 {
	padding-top: 30px;
}

.padding-top-25 {
	padding-top: 25px;
}

.padding-top-5 {
	padding-top: 5px;
}

.margin-bottom-50 {
	margin-bottom: 50px;
}

.margin-bottom-30 {
	margin-bottom: 30px;
}


.auto-resize {
	width: 100%;
}

.photo_gallery li {
	display: inline-block;
	margin: 0 10px 10px 0;
}

.photo_gallery li a:hover img {
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

/**** gallery ****/

#gallerie .photos img {
	width: 100% !important;
	margin-bottom: 25px;
}

#gallerie .photos a:hover img {
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

#gallerie h3 {
	padding: 0 !important;
	margin: 0 !important;
}

.index-calendar * {
	font-size: 14px;
}

.index-calendar h2 {
	font-size: 150% !important;
}

.index-calendar .fc-scroller {
	height: auto !important;
}

.fc-widget-header th {
	background-color: #0b53a0;
	color: #fff;
}

/**** Soubory ****/


.table-files td, .table-files th {
	padding: 10px 50px 0 0;
}

.table-files {
	width: 100%;
}

.fancybox-wrap {
	z-index: 99999 !important;
}

#google_translate_box {
	position: absolute;
	right: -15px;
	top: 5px;
}

@media (max-width: 992px) {
	#google_translate_box {
		display: none;
	}
}


/****** cookies *****/

.termsfeed-com---nb .cc-nb-main-container,
.termsfeed-com---nb .cc-nb-changep {
	background-color: #0b53a0 !important; 
}

.termsfeed-com---nb .cc-nb-title {
	color: #fff !important; 
}

.termsfeed-com---nb .cc-nb-text {
	color: #fff !important; 
}

.termsfeed-com---nb .cc-nb-okagree,
.termsfeed-com---nb .cc-nb-reject {
	background-color: #ffffff !important; 
	color: #000 !important;	
}

.termsfeed-com---nb .cc-nb-changep {
	color: #fff !important;	
}
