    
.header nav {
	padding-left: 1em;
}

* {
	font-family: Open Sans;
}

.header-title * {
	color: white;
}

.header-title h1 {
	font-weight: bold;
	text-shadow: 1px 1px 5px black;
	font-size: 3em;
	padding-left: 2em;
	padding-top: 5em;

}

.header-title h1 sub {
	font-weight: normal;
}

.header-title h2 {
	font-size: 2em;
	text-shadow: 1px 1px 2px black;
}

.footer-contact {
    font-size: 1.2em;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 1em;
}
.footer-contact .footer-contact-item {
    text-align: center;
    margin-top: 1.2em;
    margin-bottom: 1.2em;
}

.footer-contact .footer-contact-item li {
    margin-right: .5em;
}

.album-thumbnail.new a::after {
    content: "NEW";
    position: absolute;
    top: 0;
    left: 0;
    background-color: crimson;
    color: white;
    font-weight: bold;
    padding: .2em .5em;
    font-size: 1.4em;
    transform: rotate(-30deg);
}

.album-thumbnail a {
	display: block !important;
	position: relative;
}

.album-thumbnail a span {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	text-align: center;
	padding: 2em;
	display: block;
	color: white;
	background-color: rgba(0,0,0,.8);
}

.album-thumbnail a span.title {
	font-weight: bold;
	background-color: rgba(0,0,0,.4);
}

.album-thumbnail a span.date {
	background-color: transparent;
	font-weight: bold;
	top: 0;
	right: 0;
	text-align: right;
	padding: .5em;
	text-shadow: 1px 1px 2px black;
}

h2.consistant {
	color: #292828;
	font-weight: bold;
}

.main-contact {
	text-align: center;
}

.metro-colors .b {
	color: DarkGoldenrod;
}

.metro-colors .c {
	color: Crimson;
}

.employer-name {
    font-size: 1.2em;
    font-weight: bold;
}
h1.welcome-title {
    font-size: 2.2em;
    text-transform: none;
    padding-left: 0.4em;
    padding-right: 0.4em;
}

.sf-menu li.active {
	background-color: #e0c98a;
}

p a {
	text-decoration: underline;
}




/* 
Generic Styling, for Desktops/Laptops 
*/
table tr:nth-of-type(2n) {
	background: transparent;
}

table.bohosluzby { 
  width: 100%; 
  border-collapse: collapse;
}
/* Zebra striping */
table.bohosluzby tr.ne { 
  background: #eee; 
}

table.bohosluzby td, table.bohosluzby th {
  font-size: 12pt;
  padding: 6px; 
  border: 1px solid #ccc; 
  text-align: left;
}

table.bohosluzby th { 
  font-size: 1.2em;
  background: #333; 
  color: white; 
  font-weight: bold; 
  text-align: center;
}

table.bohosluzby td h2 {
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: .2em;
	color: royalblue;
}

table.bohosluzby td {
    vertical-align: top;
}

table.bohosluzby td p {
	margin-bottom: 0;
}

table.bohosluzby tr td:nth-child(2) {
    color: gray;
}

table.bohosluzby td:first-of-type {
	font-weight: bold;
}

table.bohosluzby span.cas {
	display: inline-block;
	width: 2.8em;
	/*background: grey;*/
	text-align: right;
}

table.bohosluzby span.location {
    font-weight: bold;
    font-size: .8em;
    font-style: italic;
}

table.bohosluzby span.location img {
    width: 1em;
    margin-right: .4em;
}

/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media 
only screen and (max-width: 760px)/*,
(min-device-width: 768px) and (max-device-width: 1024px)*/  {

	.header-title h1 {
		padding-left: 0;
	}

	/* Force table to not be like tables anymore */
	table.bohosluzby,
	table.bohosluzby thead,
	table.bohosluzby tbody,
	table.bohosluzby th,
	table.bohosluzby td,
	table.bohosluzby tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	table.bohosluzby thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	table.bohosluzby tr { border: 1px solid #ccc; }
	
	table.bohosluzby td { 
		/* Behave  like a "row" */
		border: none;
		/*border-bottom: 1px solid #eee; */
		position: relative;
		/*padding-left: 40%; */
	}
	
	table.bohosluzby td:before { 
		/* Now like a table header */
		/*position: absolute;*/
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;

		font-family: inherit;
		font-weight: bold;
		font-size: 1em;
		line-height: 1.6em;
		margin-bottom: 0;
		text-rendering: optimizeLegibility;
	}



	table.bohosluzby td:nth-of-type(1):before { content: "Datum dle občanského kalendáře: "; }
	table.bohosluzby td:nth-of-type(1):empty:before { content: ""; }

	table.bohosluzby td:nth-of-type(2):before { content: "Datum dle juliánského kalendáře: "; }
	table.bohosluzby td:nth-of-type(2):empty:before { content: ""; }

	table.bohosluzby td:nth-of-type(3):before { content: "Den v týdnu: "; }
	table.bohosluzby td:nth-of-type(3):empty:before { content: ""; }

	table.bohosluzby td:nth-of-type(4):before { content: "Chrám sv. Klimenta v Praze: "; }
	table.bohosluzby td:nth-of-type(4):empty:before { content: ""; }

	table.bohosluzby td:nth-of-type(5):before { content: "Kaple sv. Václava ve Staré Boleslavi: "; }
	table.bohosluzby td:nth-of-type(5):empty:before { content: ""; }

	table.bohosluzby td:nth-of-type(5):has(span.location):before { content: "Chrám sv. Václava ve Staré Boleslavi: "; }
	table.bohosluzby td:nth-of-type(5) span.location { display: none }
	/*
	table.bohosluzby td:nth-of-type(1):before { content: "Datum: "; }
	table.bohosluzby td:nth-of-type(1):empty:before { content: ""; }

	table.bohosluzby td:nth-of-type(2):before { content: "Den v týdnu: "; }
	table.bohosluzby td:nth-of-type(2):empty:before { content: ""; }

	table.bohosluzby td:nth-of-type(3):before { content: "Bohoslužby: "; }
	table.bohosluzby td:nth-of-type(3):empty:before { content: ""; }
    */
}

/* FB like-share button */
iframe {
	width: 100%;
}

.reddot {
    background-color: red;
    color: white;
    display: inline-block;
    width: 1.6em;
    height: 1.6em;
    text-align: center;
    border-radius: 1.4em;
    font-weight: bold;
    margin-left: 1em;
    font-size: .8em;
}


header#my-menu {
    background-color: #fafafa;
}

header#my-menu nav {
    display: none;
}

header#my-menu a {
    padding: 1em;
    display: inline-block;
    width: 100%;
    border-bottom: 5px solid #ccc;
    color: black;
    font-size: 1.1em;
}

header#my-menu nav a:hover, header#my-menu a.active {
    border-bottom-color: goldenrod;
}

header#my-menu a.toggler span {
    font-size: 2rem;
    float: right;
}

@media only screen and (min-width: 48rem) {
    header#my-menu a.toggler {
        display: none;
    }

    header#my-menu nav {
        display: flex !important; /* !important because jquery toggle add display: none directly to element */
        flex-flow: row wrap;
        align-items: strech;
    }

    header#my-menu a {
        flex: 1;
        text-align: center;
    }
}

.row.wrapper {
    padding-top: 10px;
}


img.at-sign {
    width: 1em !important;
    padding: 0 .2em !important;
}

.yt-video-link {
    width: 100%;
    height: 315px;
    background-image: url("/images/header-background-small.jpg");
    background-size: cover;
    position: relative;
    margin-bottom: 2em;
    box-shadow: 0 0 5px rgba(0,0,0,.5);
    background-position: center;
}
.yt-video-link h1 {
    padding: .3em 1em;
    padding-top: .5em;
    font-size: 1.6rem;
    color: white;
    text-shadow: 2px 2px 2px black;
    font-weight: bold;
}
.yt-video-link img {
    margin: 0 auto;
    top: 130px;
    position: absolute;
    left: 0;
    right: 0;
}

.yt-video-link.live {
    position: relative;
}

.yt-video-link.live::before {
    content: "ŽIVĚ";
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: crimson;
    color: white;
    font-weight: bold;
    padding: .5em .6em;
    font-size: 2.4em;
    font-family: Arial;
}

.two-columns {
    height: 230px;
}

@media
only screen and (min-width: 760px) {

    .two-columns {
        width: 50%;
        height: 315px;
    }

    .two-columns:first-of-type {
        float: left;
    }

    .two-columns:last-of-type {
        clear: both;
    }

}