/*
Theme Name: christianitas-new
Theme URI: https://christianitas.sk
*/

* {
	font-family: 'PT Serif', serif;
	--origred: rgba(142,26,18);
	--red: rgba(142,26,18);
	--red: #8e1a12;
	--red-border: rgba(142,26,18,.25);
	padding: 0px;
	margin: 0px;
}

body, html {
	background: white;
	width: 100%;
	height: 100%;
}

div {
	display: inline-block;
	margin: 0px;
	padding: 0px;
}


a {
	text-decoration: none;
	color: inherit;
	font: inherit;
}

a:hover {
	cursor: pointer;
}

.single p a {
	color: var(--red);
    font-style: italic;
    text-decoration: underline;
	word-break: break-word;
}

.single p a:hover {
  text-decoration: underline var(--red);
  color: black;
}

p {
	font: 400 20px 'PT Serif', serif;;
	line-height: 1.9em;
	font-size: 17px;
}

div {
	font: 400 18px 'PT Serif', serif;;
	line-height: 1.8em;
	font-size: 14px;
}

li {
	font: 400 18px 'PT Serif', serif;
}

b, strong {
	font-weight: 700;
}

h1 {
	font: 700 42px 'PT Serif', serif;
	margin: 10px 0px 30px;
	letter-spacing: -1.5px;
}

.home-h1 {
	margin: 50px 0px 10px;
}

h2 {
	font: 700 28px 'PT Serif', serif;
	margin: 0px 0px 20px 0px;
	letter-spacing: -1px;
	line-height: 1.2em;
}

h3, h5, h6 {
	font: 700 22px 'PT Serif', serif;
	margin: 0px 0px 20px 0px;
}

h4 {
	font: 600 20px 'PT Serif', serif;
	letter-spacing: 0.2px;
	margin: 0px 0px 20px 0px;
	color: rgba(0,0,0,0.75);
}

.center {
	text-align: center;
}

.alignright {
	float: right;
	text-align: right;
}

.alignleft {
	float: left;
}

.button {
	font: 600 19px 'PT Serif', serif;
	border-bottom: 1.5px solid var(--red);
	padding: 0px 0px 3px 0px;
}

.button:hover {
	background: var(--red);
}


@media (max-width: 768px) {
	h1 {
		font-size: 28px;
		margin: 0px;
	}

	h2 {
		font: 700 18px 'PT Serif', serif;
		margin: 0px 0px 0px 0px;
	}

	h3, h5, h6 {
		font: 700 16px 'PT Serif', serif;
		margin: 0px 0px 0px 0px;
	}

	h4 {
		font: 600 14px 'PT Serif', serif;
		letter-spacing: 0.5px;
		margin: 0px 0px 0px 0px;
	}

	p {
		font-size: 16px;
		line-height: 1.6em;
	}

	.button {
		font-size: 15px;
	}

}



/*-----LAYOUT------------*/

body {
	text-align: center;
}

#wrap {
	width: 1200px;
	display: inline-block;
	text-align: left;
}


#logo {
	text-align: center;
	width: 100%;

}

#logo img {
	height: 45px;
	padding: 25px 100px;
}

#header {
	width: 100%;
	position: relative;
}

#menu {
	display: inline-block;
	width: 100%;
	text-align: center;
	border-top: 1px solid rgba(142,26,18,0.15);
	border-bottom: 1px solid rgba(142,26,18,1);
	position: relative;
	z-index: 50;
}

#menu ul {
	list-style: none;
	display: inline-block;
	position: relative;
	z-index: 50;
}

#menu ul li {
	display: inline-block;
	position: relative;
}

#menu ul li a {
	display: inline-block;
	padding: 8px 14px;
	font-size: 16px;
	font-weight: 400;
	color: var(--red);
	letter-spacing: -0.2;
}

#menu ul li:hover {
	background: rgba(0,0,0,0.05);
}


@media (max-width: 768px) {

	#wrap {
		width: calc(100% - 20px);
		padding: 0px 10px;
		overflow: hidden;
	}

	#content {
		margin-top: 60px;
	}

	#header {
		border-bottom: 1px solid var(--red-border);
		position: fixed;
		background: white;
		z-index: 200;
		width: calc(100% + 20px);
		margin-left: -20px;
	}

	#logo {
		text-align: center;
		float: left;
		width: 100%;
		background: white;
	}

	#logo img {

		height: auto;
		width: calc(60% - 20px);
		padding: 15px 10px 10px;
	}

	#mobile-menu-button {
		position: absolute;
		top: 0px;
		right: 10px;

	}

	#mobile-menu-button img {
		height: 10px;
		padding: 25px 15px 20px;
	}

	#menu {
		position: fixed;
		top: 50px;
		right: 0px;
		background: white;
		width: auto;
		padding: 20px 20px;
		box-shadow: 0px 0px 5px rgba(0,0,0,0.1);
		z-index: 100;
		text-align: right;
		display: none;
	}

	#menu ul li {
		display: block;
	}

	#menu ul li a {
		padding: 6px 5px;
		font-size: 14px;
	}


}

/*-------TOP-----------*/

#top {
	width: 100%;
	border-bottom: 1px solid black;
	padding: 10px 0px;
	margin: 0px 0px 5px;
	font-size: 0px;
	display: inline-block;
	vertical-align: top;
}

.top-spravy {
	display: inline-block;
	vertical-align: top;
	width: calc(32.5% - 8px);
	margin: 0px 8px 0px 0px;
	font-size: 0px;
	padding: 0px 0px 0px 0px;
	overflow: hidden;
	border-right: 1px solid var(--red-border);

}


.top-spravy .wp-post-image {
	width: 90px;
	height: 60px;
	object-fit: cover;
	float: left;
	padding: 0px 0px 0px 0px;
	position: relative;
	z-index: 2;
}

.top-spravy-text {
	display: inline-block;
	width: calc(100% - 90px);
	margin: 0px 0px 0px;
	position: relative;
}

.end-gra {
	width: 20px;
	height: 80px;
	position: absolute;
	top: 0px;
	right: 10px;
	background: rgba(255,255,255,0);
	background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
	background: -webkit-gradient(left top, right top, color-stop(0%, rgba(255,255,255,0)), color-stop(100%, rgba(255,255,255,1)));
	background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
	background: -o-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
	background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
	background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff', GradientType=1 );
	z-index: 5;
}

.top-spravy-text a {
	display: inline-block;
	width: calc(100% - 20px);
	padding: 2px 0px 4px;
	vertical-align: top;
	font-family: 'PT Serif', serif;
	font-size: 12px;
	letter-spacing: -.0px;
	color: black;
	float: right;
	white-space: nowrap;
	overflow: hidden;
	line-height: 13px;
	margin: -2px 10px 4px;
	font-weight: 400;
	position: relative;
}

.top-spravy-text a:hover {
	white-space: nowrap;
	overflow: visible;
	z-index: 100;

}

.top-spravy-text a:first-of-type {
	font-weight: 700;
	color: var(--red);
}


#top-tema {
	position: relative;
	display: inline-block;
	float: right;
	width: 19%;
	height: 60px;
	vertical-align: top;
	padding: 0px 0px 0px 10px;
	margin: 0px 0px 0px 0px;
	border-bottom: 0px solid var(--red);
	border-left: 1px solid var(--red-border);
}

#top-tema img {
	position: absolute;
	top: 0px;
	right: 0px;
	width: calc(100% - 10px);
	height: 100%;
	object-fit: cover;
	padding: 0px;
	z-index: 3;
	opacity: 1;
}

#top-tema span {
	display: inline-block;
	height: 100%;
	width: calc(100% - 0px);
	text-align: center;
	position: relative;
	padding: 6px 0px 0px;
	z-index: 10;
	font-size: 13px;
	font-weight: normal;
	color: black;
}

#top-tema h3 {
	font-size: 14px;
	font-weight: bold;
	color: black;
}

#top-svatec {
	width: calc(15% - 13px);
	height: 60px;
	display: inline-block;
	vertical-align: top;
	margin: 0px 4px 0px 0px;
	padding: 0px 0px 0px 4px;
	color: var(--red);
	font-size: 12px;
}

#top-svatec img {
	width:  60px;
	height: 60px;
	border-radius: 100px;
	padding: 0px;
	object-fit: cover;
	float: left;
	background: rgba(100,0,0,0.5);
}

#top-svatec div {
	font-size: 12px;
	letter-spacing: -0.25px;
	line-height: 1em;
	width: calc(100% - 80px);
	color: black;
	padding: 7px 0px 0px 5px;
	display: inline-block;
}

#top-svatec h3 {
	font-size: 13px;
	line-height: 1em;
	color: black;
	display: inline-block;
	padding: 5px 0px 0px 0px;
}

#svatec-nadpis {
	color: var(--red);
}

#top-buttons {
	position: absolute;
	top: 20px;
	right: 0px;
	width: 100px;
	text-align: right;
	margin: 0px 5px 0px 0px;
}

#top-buttons a {
	width: calc(100% - 0px);
	display: inline-block;
	background: rgba(0,0,0,.0);
	margin: 0px 0px 3px 0px;
	color: var(--red);
	font-size: 14px;
	font-weight: bold;
	padding: 2px 0px;
	line-height: 1.5em;
	text-align: center;
	border: 1.5px solid var(--red);
}

#top-buttons a:hover {
	background: rgba(0,0,0,0.25);
}


/*--------CONTENT BLOCKS---------------*/

.page {
	margin: 30px 150px !important;
}

.content {
	width: 100%;

}


@media (max-width: 768px) {
	#content {
		width: calc(100%);
	}

	.page {
		margin: 20px 0px !important;
	}

}



.excerpt-more {
	font-weight: normal;
	font-size: 10px;
	padding: 0px; margin: 0px;
}

.posts {
	width: calc(100% + 50px);
	margin: 50px 0px;
	font-size: 0px;
}

.post {
	width: calc(33% - 40px);
	margin: 0px 40px 30px 0px;
	vertical-align: top;
	display: inline-block;
	border-top: 3px solid var(--red);
	transition: transform 0.15s;
	position: relative;
}

.post:hover {
	background: rgba(0,0,0,0.025);
}

.post-video {
	border: 4px solid var(--red);
	background: var(--red);
	border-radius: 3px;
	margin: 0px 32px 22px -8px !important;
	position: relative;
	padding: 0px 0px;
}

.post-video:hover {
	background: var(--red);
}

.post h2 {
	padding: 0px;
}

.post h2:hover {
	color: var(--red);
}

.post-video h2, .post-video h2:hover {
	color: white;
}

.post img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	margin: 0px;
	padding: 0px;
	z-index: 10;
	position: relative;
	display: inline-block;
}
.post a {

}

.play-btn {
	position: absolute !important;
	top: 70px !important;
	z-index: 100 !important;
	left: 0 !important; right: 0 !important;
	margin: auto !important;
	width: 50px !important; height: 50px !important;
}

@media (max-width: 768px) {
	.post {
		width: calc(50% - 30px);
		margin: 0px 10px 30px 0px;
		vertical-align: top;
		display: inline-block;
		border-top: 3px solid var(--red);
		transition: transform 0.15s;
		position: relative;
	}

	.post img {
		height: 100px;
	}

}

.posts-cat {
	z-index: 20;
	font-family: 'PT Serif', serif;
	font-size: 14px;
	font-weight: normal;
	padding: 0px 0px 0px 0px;
	width: calc(100% - 0px);
	display: inline-block;
	margin: -10px 0px 14px 0px;
	z-index: 20;
	position: relative;
	opacity: 1;
	border-bottom: 1px solid rgba(0,0,0,0.1);
}

.posts-cat div {
	background: var(--red);
	color: white;
	height: 100%;
	display: inline-block;
	padding: 4px 15px 4px 0px;
	margin-bottom: 2px;
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#8f3945+0,a54547+50,8f3945+100 */
background: rgb(142,26,18); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(142,26,18,1) 0%, rgba(165,69,71,1) 50%, rgba(142,26,18,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(142,26,18,1) 0%,rgba(165,69,71,1) 50%,rgba(142,26,18,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(142,26,18,1) 0%,rgba(165,69,71,1) 50%,rgba(142,26,18,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8f3945', endColorstr='#8f3945',GradientType=0 ); /* IE6-9 */
}


.posts-cat span {
	position: absolute;
	top: 0px;
	right: 0px;
	min-width: 200px;
	white-space: normal;
	text-align: right;
	margin: 0px 5px;
	font-family: 'PT Serif', serif;
	opacity: 0.75;
	padding: 6px 0px 6px 0px;

}

.posts-cat img {
	height: 10px;
	width: auto;
	margin: 0px 5px 0px 10px;
	display: inline;
}

.post-img-a {
	display: inline-block;
	width: 100%;
}


.no-img-h2 {
	margin: 20px 0px 15px;
}

.posts-cat-no-img {
	margin: 10px 0px 14px 0px;
}

.pagination {
	width: 100%;
	display: inline-block;
	text-align: center;
	font-size: 18px;
	padding: 10px 0px;
	margin: 20px 0px 10px;
}

.pagination a {
	padding: 5px 12px;
	background: rgba(0,0,0,0.05);
	border-radius: 3px;
}

.page-numbers:last-of-type {
}

.current {
	padding: 5px 12px;
	background: var(--red);
	color: white;
	border-radius: 3px;

}

.dots {
	opacity: 0.5;
	margin: 0px 15px;
}

.prev, .next {
	background: none !important;
	margin: 0px 0px;
	display: none;
}


.box {
	padding: 20px 15px 0px;
	border: 1px solid rgba(0,0,0,0.15);
	border-top: 3px solid rgb(142,26,18);
	margin: 20px 0px;
}

.box div {
	width: 100%;
	margin: 0px 0px 15px;
}

.box-header {
	display: inline-block;
	padding: 0px 0px 3px 0px;
	margin: -5px 0px 20px 0px;
	font-weight: bold;
	font-size: 22px;
	color: var(--red);
	width: 100%;
}

.box-header span {
	float: right;
	font-weight: normal;;
	opacity: 1;
	font-size: 18px;
	vertical-align: top;
}

.box h3 {
	font-size: 16px;
	font-weight: bold;
	letter-spacing: -0.5px;
	vertical-align: top;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	line-height: 1.4em;
}

.box p {
	font-size: 14px;
	line-height: 1.5em;
	letter-spacing: -0.5px;
	vertical-align: top;
	display: inline-block;
	width: calc(100% - 105px);
}

.box div img {
	width: 100px;
	height: 75px;
	object-fit: cover;
	float: right;
	margin: 0px 0px 10px 5px;
}




/*-------------FRONT-----------*/

#front {
	float: left;
	width: 65%;
}

#front-1 {
	vertical-align: top;
	display: inline-block;
	width: 100%;
	padding: 0px;
	margin: 20px 0px 0px;
	position: relative;
	float: left;
}

.video-front-1 {
	border: 4px solid rgb(142,26,18);
	display: inline-block;
	border-top: 0px;
	width: calc(100% - 8px);
}

#front-img {
	display: inline-block;
	position: relative;
	margin: 0px 0px 22px;
	width: 100%;
	border-top: 3px solid rgb(142,26,18);
}

#front-1 h1 {
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: calc(100% - 30px);
	float: left;
	margin: 0px 0px 0px;
	line-height: 1.1em;
	font-size: 32px;
	font-weight: 400;
	letter-spacing: -0.5px;
	background: rgba(142,26,18,0.5);
	color: white;
	padding: 15px 15px;
}

#front-1 img {
	width: 100%;
	height: 340px;
	object-fit: cover;
	object-position: 50% 0%;
	margin: 0px 20px -7px 0px;
}

#front-pokladnica {
	width: calc(33% - 30px);
	float: right;
	vertical-align: top;
	padding-bottom: 10px;
}

#front-pokladnica div,#front-pokladnica-2 div {
	margin: 0px 0px 5px;
}

#front-pokladnica div h3, #front-pokladnica-2 div h3 {
	font-size: 16px;
	padding: 0px 0px 0px;
	font-weight: bold;
	margin: 0px 0px 0px;
	line-height: 1.3em;
}

#front-pokladnica div {
	line-height: 1.6em;
	width: 100%;
}

#front-pokladnica img, #front-pokladnica-2 img {
	width: 100%;
	height: auto;
	margin: 8px 0px 4px;
	float: none;
	display: block;
	opacity: 0.75;
}

#front-pokladnica div:last-of-type img, #front-pokladnica-2 div:last-of-type img {
	display: none;
}

#front-kniha {
	width: calc(33% - 0px);
	float: right;
	border-top: 2px solid var(--red);
}

#front-kniha img {
	width: 100%;
}

#front-kniha h3 {
	font-size: 20px;
	margin: 0px 0px 10px;
}

#front-kniha p {
	font-size: 14px;
	line-height: 1.4em;

}


#front-2 {
	width: calc(100% + 20px);
	overflow: hidden;
	float: left;
}

#front-2 .post {
	width: calc(33% - 12px);
	margin: 0px 9px 20px 0px;
}

#front-2 .post h2 {
	font-size: 24px;
}

#front-2 .post img {
	height: 150px;
}

#front-2 .posts-cat {
	display: none;
}

#front-2 .post-video {
	margin: 0px 9px 20px 0px !important;
	width: calc(33% - 20px);
}

#front-banner {
	width: 100%;
	height: auto;
	text-align: center;
	font-size: 30px;
	padding: 0px 0px;
	margin: 10px 0px 30px;
	border-top: 2px solid var(--red);
	display: inline-block;
}

#front-banner img {
	width: 100%;
	display: inline-block;
}

#front-3 {
	width: 66%;
	font-size: 0px;
}

#front-3 .post {
	width: calc(50% - 40px);
}

#front-najcitanejsie {
	width: 30%;
	vertical-align: top;
	float: right;
	margin-top: 0px;
}

#naj-7, #naj-30 {
	display: none;
}

#front-najcitanejsie ol {
	position: relative;
	counter-reset: item;
}


#front-najcitanejsie li:before {
	background: var(--red);
	color: white;
	padding: 2px 4px;
    content: counter(item) ". ";
    counter-increment: item;
    position: absolute;
    bottom: 0px;
    right: 0px;
    font-size: 13px;
    font-weight: normal;
    border-radius: 5px 5px 0px 0px;
}

#front-najcitanejsie .box-header {
	margin-bottom: 30px;
}

#front-najcitanejsie .box-header span {
	float: right;

}

#front-najcitanejsie li {
	display: inline-block;
	width: 100%;
	border-bottom: 1px solid var(--red);
	margin: 0px 0px 20px;
	position: relative;
}

#front-najcitanejsie h3 {
	overflow: hidden;
	font-size: 14px;
}

#front-najcitanejsie li img {
	float: left;
	margin: 0px 10px 0px 0px;
}

#front-spravy-svet-2, #front-spravy-cirkev-2 {
	width: calc(25% - 50px);
	vertical-align: top;
	margin: 0px;
	padding:  20px 30px;
	float: left;
}

#front-spravy-svet-2 img, #front-spravy-cirkev-2 img {
	width: 100%;
	height: 150px;
}

#front-pokladnica-2 {
	float: right;
	width: calc(50% - 115px);
	vertical-align: top;
	margin: 0px;
	padding-bottom: 10px;

}

#front-pokladnica-2 div h3 {
	font-size: 15px;
	padding: 5px 0px 0px;
	font-weight: bold;
	margin: 0px 0px 0px;
	line-height: 1.3em;
}

#front-pokladnica-2 p {
	font-size: 13px;
	padding: 0px 0px 0px;
	margin: 0px 0px 0px;
	line-height: 1.2em;
	width: 100%;
}


#front-spravy-cirkev-2 {
	margin: 0px 27px;
}

#front-banner-2 {
	margin: 25px 0px 20px 20px;
	width: 220px;
	float: right;
	text-align: center;
}

#front-banner-2 img {
	width: 100%;
}

#front-fb {
	width: calc(280px + 0px);
	margin: 0px 0px 20px 0px;
	float: right;
}

#front-banners {
	font-size: 0px;
	width: calc(100%);
	white-space: nowrap;
	display: inline-block;
	padding: 30px 0px;
	margin: 40px 0px 20px;
	border-top: 1px solid var(--red-border);
	border-bottom: 1px solid var(--red-border);
	text-align: center;
}

#front-banners a img, #front-banners div {
	width: calc(20% - 25px);
	height: 150px;
	margin: 0px 25px 0px 0px;
	display: inline-block;
	text-align: left;
	vertical-align: top;
}

#front-banners div {
		text-align: center;
}

#front-banners h3 {
	color: var(--red);
}

#front-banners div img {
	margin: 35px 0px 10px;
}

@media (max-width: 768px) {

	#front {
		float: left;
		width: 100%;
	}

	#front-1 {
		float: none;
		margin: 15px 0px 0px;
		width: 100%;
		display: inline-block;

	}

	#front-img {
		margin: 0px 0px 15px;
	}

	#front-img img {
		height: auto !important;
		width: calc(100% - 0px) !important;
	}

	#front-1 h1 {
		font-size: 25px;
		position: relative;
		padding: 8px 0px 5px;
		line-height: 1.3em;
		width: 100%;
		background: none;
		color: black;
		font-size: 22px;
		font-weight: bold;
	}

	#front-2, #front-3 {
		width: calc(100% + 10px);
		font-size: 0px;
	}

	#front-2 .post, #front-3 .post {
		width: calc(50% - 10px);
		margin: 0px 10px 20px 0px;
	}

	#front-2 .post h2 {
		width: 100%;
		font-size: 18px;
		margin: 5px 0px 20px;
	}

	#front-pokladnica, #front-kniha, #front-najcitanejsie, #front-pokladnica-2 {
		width: calc(100% - 30px);
	}

	#front-kniha {
		margin: 0px 0px 20px;
		width: 100%;
	}

	#front-kniha img {
		height: auto;
	}


	#front-spravy-svet-2, #front-spravy-cirkev-2 {
		width: calc(50% - 30px);
		padding: 10px;
		margin: 0px 15px 20px 0px;
	}

	#front-spravy-svet-2 img, #front-spravy-cirkev-2 img {
		height: 100px;
	}

	#front-spravy-cirkev-2 {
		margin: 0px;
	}

	#front-fb, #front-banner-2 {
		width: 100%;
		height: auto;
		text-align: center;
	}

	#front-banner-2 img {
		width: 50%;
		display: inline-block;
		margin: 10px 0px;
	}



	#front-banners {
		white-space: normal;
		margin: 10px 0px;
		padding: 20px 0px;
	}

	#front-banners a img, #front-banners div {
		width: calc(50% - 10px);
		height: auto;
		margin: 0px 5px 10px;
		display: inline-block;
	}

	#front-banners div {
		width: 100%;
		height: 100px;
	}

	#front-banners div img {
		margin: 10px;
	}


}



/*--------OTHER--------------*/

#footer {
	width: calc(100%);
	border: 2px solid var(--red);
	padding: 30px 0px;
	border-right: 0px;
	border-left: 0px;
	margin: 30px 0px 0px;
}

.footer-menu {
	border: none !important;
	margin: 5px 0px 20px;
}

#footer .alignright {
	vertical-align: middle;
	margin: 10px 0px 0px;
}

#footer .alignright img {
	height: 30px;
	vertical-align: middle;
	margin: 0px 0px 0px 20px;
}

/*------SIDEBAR-----------*/

#cat-header {
	background-color: rgba(0,0,0,0.2);
	background-size: cover;
	background-repeat: no-repeat;
	width: calc(100% - 100px);
	padding: 0px 50px;
	margin: 20px 0px 0px;
	display: inline-block;
}

#cat-header h1 {
	color: white;
	text-shadow: 0px 0px 10px rgba(0,0,0,0.5);
	line-height: 200px;
	margin: 0px;
	vertical-align: middle;
}

.tema-header {
	height: 200px;
	overflow: hidden;
}

.tema-header p {
	color: white;
	font-size: 22px;
	text-shadow: 0px 0px 5px rgba(0,0,0,0.5);
	margin: 30px 0px 0px;
	padding: 0px;
}

.tema-header h1 {
	line-height: 1.5em !important;
}

.predosla-header {
	height: 150px !important;
	text-align: right;
}

.predosla-header h1 {
	margin-top: 50px !important;
	font-size: 32px;
	text-align: right;
}

.cat-posts {
	width: calc(75% - 0px);
	float: left;
	margin-top: 20px;
}

.svatec-posts {
	margin: 30px 150px !important;
}

.svatec-posts .post img {
	height: auto !important;
}

.svatec-thumb {
	float: left;
	margin: 30px 20px 10px 0px;
	width: 300px;
}

.svatec-thumb img {
	width: 100% !important;
	display: inline-block !important;
}

.pokladnica {
	width: calc(75% - 30px);
}

.cat-posts .post {
	width: calc(50% - 40px);
	margin: 0px 40px 30px 0px;
	vertical-align: top;
	display: inline-block;
}

#archive-header {
	margin: 40px 0px 0px;
}

.archive-posts .post {
	width: calc(33% - 40px);
}

#side {
	margin-top: 20px;
	width: 25%;
	display: inline-block;
	float: right;

}

#side .box {
	width: calc(100% - 30px);
}

.podobne div {
	width: 100% !important;
}

.podobne img {
	width: 100% !important;
	height: 150px !important;
}

#side-banner {
	width: 100%;
	padding: 0px 0px;
	text-align: center;
	display: inline-block;
	margin: 0px 0px 20px 0px;
}

#side-banner img {
	width: 100%;
}

#side-odoberat {
	margin: 0px 0px;
	display: inline-block;
	width: 100%;
	text-align: center;
	padding: 10px 0px;
}

#side-odoberat img {
	width: 100%;
}


/*-------SINGLE-------------*/

.wp-block-image {
    width: 100%;
    text-align: center;
}

.wp-block-embed {
	text-align: center;
}


.post-details {
	width: 100%;
	font-size: 14px;
	margin: 0px 0px 0px 0px !important;
	display: inline-block;
	padding: 0px 0px 10px;
	color: rgba(0,0,0,0.5);
	border-bottom: 1.5px solid rgba(142,26,18,0.15);
}

.post-details b {
	margin: 0px 10px 0px 0px;
	color: black;
}

.post-details img {
	width: 10px;
}

.post-details a {
	text-decoration: none !important;
}

.post-details .autor {
	display: inline-block;
	font-style: italic;
	width: 100%;
	margin: 0px 0px 10px;
	color: var(--red);
	font-size: 18px;
	text-decoration: none !important;
}

.single {
	width: 70%;
	margin: 30px 0px 30px 0%;
	display: inline-block;
}

.single p {
	margin: 30px 0px;
	max-width: 100%;
	overflow-wrap: break-word;
}


.single img {
	max-width: 100%;
	height: auto !important;
}

.fb-thumbnail {
	display: none;
}

#single-end {
	border-top: 1.5px solid rgba(0,0,0,0.25);
	padding: 20px 0px 0px 0px;
}

#single-end .post {
	width: calc(25% - 30px);
	margin: 0px 25px 25px 0px;
}

.svatec-mesiac {
	width: 100%;
	padding: 30px 0px;
	font-size: 30px;
	text-transform: capitalize;
}

.cat-kratke-post {
	width: 100% !important;
	border-top: 1px solid var(--red-border);
	padding: 30px 0px 10px;
	margin: 0px 0px 20px;
}

#fb-single {
	width: 100%;
	display: inline-block;
	text-align: center;
	margin: 10px 0px;
}

.box-post {
	width: 240px;
	border: 1px solid rgba(0,0,0,0.1);
	padding: 15px 15px 0px;
	margin: 5px 15px 5px 0px;
	display: inline-block;
	float: left;
}

.podpora-box {
	width: calc(100% - 250px);
	border: 1px solid rgba(0,0,0,0.1);
	padding: 5px;
	margin: 25px 80px 25px 100px;
	display: inline-block;


	text-align: center;
}

.podpora-box a {
	padding: 10px 15px;
	border: 1px solid var(--red);
	border-radius: 2px;
	margin: 2px 2px;
	display: inline-block;
}

.podpora-box a:hover {
	color: white;
}

.box-post img {
	width: 100%;
}

.box-post p {
	margin: 0px;
	font-size: 15px;
	color: var(--red);
}

.box-post:hover {
	background: rgba(0,0,0,0.05);
}
/*---------SINGLE----------*/

@media (max-width: 768px) {
	.single {
		width: 100%;
	}

	.single > * {
		max-width: 100% !important;

	}


	#side {
		margin-top: -20px;
		width: 100%;
	}

	.podpora-box {
		width: calc(100% - 50px);
		border: 1px solid rgba(0,0,0,0.1);
		padding:  5px 15px;
		margin: 15px 0px 25px 10px;
		display: inline-block;
		float: left;
		text-align: center;
	}

	.podpora-box a {
		padding: 10px 10px;
		border: 1px solid var(--red);
		border-radius: 2px;
		margin: 2px 2px;
		display: inline-block;
	}


	.box-post {
		max-width: 40%;
		padding: 15px 10px;
	}

	.box-post p {
		font-size: 12px;
	}

	.cat-posts {
		width: calc(100% + 20px);
	}

	.cat-posts .post {
		width: calc(50% - 20px);
		margin: 0px 20px 30px 0px;
		vertical-align: top;
		display: inline-block;
	}

	.pokladnica {
		width: 100% !important;
	}

	#side-banner, #side-odoberat {
		margin: 0px 0px 20px 0px;
	}

	#side-odoberat {
		text-align: center;
	}

	#side-odoberat img {
		width: 70%;
	}

	#single-end .post {
		width: 100% !important;
	}

	#single-end .post img {
		height: 180px;
	}

}


.tema-mesiaca-cat {
	width: 100%;
}


.kratke {
	display: inline-block;
	width: 33%;
	margin: 30px 	10px;
}

.kratke h3 {
	color: var(--red);
}

.cat-kratke-post {
	margin-right: 10px !important;
}

#podpor, #odoberaj {
	position: fixed;
	top: 0px;
	left: 0; right: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	z-index: 200;
	display: none;
}

.popup {
	position: fixed;
	top: 200px;
	right: 0; left: 0;
	margin: auto;
	width: 380px;
	min-height: 200px;
	z-index: 300;
	background: white;
	padding: 20px;
}

.popup-close {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 10px;
}

.popup-close img {
	width: 20px;
}

#search-img {
	height: 14px;
	vertical-align: middle;
	padding: 0px 0px 2px;
}

#search {
	display: none;
	background: white !important;
	position: absolute;
	top: 35px;
	right: 0px;
	width: 200px;
	height: auto;
	vertical-align: center;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
	z-index: 500 !important;
	padding: 10px;
}

.gcse-searchbox-only {
	background: green !important;
	width: 300px !important;
	position: relative;
	z-index: 200;
}

.vysledky {
	float: none;
	display: inline-block;
	margin: auto 0px 0px 200px;
}

.popup p {
	font-size: 16px;
	line-height: 1.3em;
	margin: 0px 0px 20px;
}

.tnp input {
	padding: 10px;
	background: white;
	border: 1.5px solid var(--red);
	margin-right: -1.5px;
	font-size: 16px;
}


@media (max-width: 768px) {

	.wp-block-embed-youtube {
		display: inline-block;
		width: 100%;
		text-align: center
	}

	.wp-block-embed-youtube iframe, iframe {
		width: 300px !important;
		height: 180px !important;
		display: inline-block;
	}

	.vysledky {
		margin: auto 0px 0px 0px;
	}

	.popup {
		width: 300px;
	}

	.kratke {
		display: inline-block;
		width: calc(100% - 20px);
		margin: 30px 	10px;
	}


	.top-spravy {
		display: inline-block;
		width: 100%;
		padding: 12px 0px 12px;
		border-top: 1px solid var(--red-border);
		border-bottom: 1px solid var(--red-border);
		border-right: none;
		margin: 0px 0px 20px;
	}

	.top-sprava-mobile {
		width: 100%;
		margin: 10px 0px;
	}

	.top-sprava-mobile div {
		display: inline-block;
		width: calc(100% - 110px);
		float: right;
		margin: -3px 0px 0px;
	}

	.top-sprava-mobile p {
		margin: -10px 0px 0px;
		padding: 0px;
		display: inline-block;
		font-size: 12px;
		color: var(--red);
	}



	.top-sprava-mobile h2 {
		font-size: 16px !important;
	}

	.top-spravy .wp-post-image {
		width: 100px !important;
		height: 80px !important;
		border: none !important;
		margin: 0px !important;
		padding: 0px; margin: 0px;
		display: inline-block;
	}

	.top-spravy-text {
		width: calc(100% - 100px);
		padding: 0px;
	}

	#top-tema, #top-svatec {
		width: calc(50% - 10px);
		margin: 5px 10px 0px 0px;
		padding: 0px;
		overflow: hidden;
		border: none;
	}

	#mobile-sv-tema {
		border-top: 1px solid var(--red-border);
		border-bottom: 1px solid var(--red-border);

	}

	#top-tema {
		width: calc(100% + 0px);
		margin: 20px 0px 20px 0px;
		height: 90px;
	}

	#top-svatec img {
		border-radius: 0px;
		width: 50%;
		height: 120px;
		object-fit: cover;
		display: inline-block;
		margin: 0px 0px 20px;

	}

	#top-svatec div {
		float: right;
		width: 45%;
		margin: 35px 0px;
	}

	#top-svatec div, #top-svatec div h3 {
		font-size: 14px;
	}

	#top-tema span {
		margin: 0px;
		padding: 20px 0px;
	}

	#top-tema h3 {
		font-size: 14px;
		line-height: 1.2em;
	}

	#top-svatec {
		width: calc(100% - 12px);
		margin: 10px auto 10px auto;
		float: none;
		display: inline-block;
		height: auto;
	}


	#top-buttons {
		display: none;
	}

	.end-gra {
		right: 0px;
	}

	#front-img .wp-post-image, #front-2 .post .wp-post-image {
		height: 180px;
	}

	#front-2 .post {
		display: inline-block;
		width: calc(100% - 12px) !important;
	}

	#front-2 .post:last-of-type {
		display: none;
	}

	.front-2-2 div {
		display: block !important;
		width: calc(100% - 12px) !important;
	}

	#front-spravy-svet-2 .box-header,
	#front-spravy-svet-2 .box-header span,
	#front-spravy-cirkev-2 .box-header,
	#front-spravy-cirkev-2 .box-header span
	 {
		font-size: 15px;
		float: none;
		display: inline-block;
		width: 100% !important;
		text-align: center;
	}

	.posts-cat {
		margin: 0px;
		padding: 0px;
		line-height: 1em;
		font-size: 10px;
	}

	.posts-cat div, .posts-cat span {
		font-size: 10px;
		padding: 8px 5px 6px 0px;
		max-width: calc(50% - 10px);
		overflow: hidden;
		white-space: nowrap;
		line-height: 1em;
		display: inline-block;
	}

	.posts-cat span {
		max-width: 50%;
		margin: 0px;
		text-align: right;
		line-height: 1em;
	}

	.posts-cat img {
		 height: 8px;
		 padding: 0px 5px;
		 margin: 0px;
	}

	#front-pokladnica {
		width: calc(100% - 20px);
		padding: 10px;
	}

	#front-pokladnica div {
		margin: 0px 0px 10px;
	}

	#front-pokladnica h3 {
		font-size: 16px !important;
		margin: 0px !important;
	}

	.post-video {
		width: calc(50% - 20px) !important;
		margin: 0px 8px 10px 0px !important;
	}

	.play-btn {
		position: absolute !important;
		top: 30px !important;
		z-index: 100 !important;
		left: 0 !important; right: 0 !important;
		margin: auto !important;
		width: 30px !important; height: 30px !important;
	}

	#footer {
		padding: 10px 0px;
		margin: 20px 0px;
		 border-top: 1px solid;
		border-bottom: none;
	}

	#footer .alignleft, #footer .alignright {
		float: none;
		margin: 10px 0px;
		font-size: 13px;
		text-align: center;
	}

	.alignright a img {
		display: inline-block;
		margin: 10px 0px 0px 0px !important;
		padding: 10px 0px 0px;
	}

	.pagination {
		width: calc(100% - 0px);
		padding: 0px;
		display: inline-block;
	}

	.pagination a {
		padding: 3px 8px;
		font-size: 15px;
	}

	#cat-header {
		width: calc(100% - 50px);
		padding: 0px 25px;
	}

	#cat-header h1 {
		line-height: 100px;
		margin: 0px 0px;
	}

	.posts-cat img {
		display: none;
	}

	.posts-cat div {
		background: none;
		color: var(--red);
	}

	.tema-header p {
		margin-top: 15px;
	}

	.tema-header {
		height: 120px !important;
	}

	.predosla-header h1 {
		padding: 20px 0px 20px;
		line-height: 1.2em !important;
		margin-top: 0px !important;
	}

	.archive-posts .post, .archive-posts .post-video  {
		width: calc(50% - 30px) !important;
	}

	.archive-posts .post-video  {
		width: calc(50% - 35px) !important;
	}

	.svatec-posts {
		margin: 30px 0px !important;
	}

	.svatec-posts .post img {
		height: auto !important;
		max-height: 300px;
	}

	.svatec-thumb {
		float: left;
		margin: 30px 10px 10px 0px;
		width: 120px;
	}

	.svatec-thumb img {
		width: 100% !important;
		display: inline-block !important;
	}

	.single h1 {
		margin: -10px 0px 20px;
	}


}


	.post-video .posts-cat,
	.post-video .posts-cat div,
	.post-video .posts-cat div a {
  		color: white !important;
 }


/*---------WOOCOMMERCE----------*/

.woocommerce-notices-wrapper {
	display: none;
}

.woocommerce .col-2 {
	display: none;
}

.woocommerce input {
	padding: 5px 10px;
	font-size: 18px;
	margin: 5px 0px;
}

.mobile {
	display: none !important;
}

@media (max-width: 768px) {
	.mobile {
		display: inline-block !important;
	}

	.desktop {
		display: none !important;
	}
}

.wp-polls .pollbar {
    display: block !important;
		margin-bottom: 20px !important;
}
