:root {
	/*--bg: tan;*/
	--bg: #fff;
	--fg: #1b1b1b;
	--red: #d00000;
	--href: var(--red);
	--footer: #c9c0bb;
	--background-pattern: '/images/background/bg-crosses-and-vines.webp';
	--primary-font: 'Roboto Condensed',sans-serif;
}


 @font-face {
 	font-family:"alegreya";
 	src:url("/font/alegreya.ttf");
 }

.widevideo {
		width: calc(100% + 2em);
		margin-left: -1em;
		margin-right: -1em;
	z-index: 2;
	position: relative; display: flex; align-items: center; justify-content: center;
}

.widevideo .hero {
	filter: drop-shadow(2px 2px 2px rgba(0,0,0,1));
}

.widevideo h1 {
	text-shadow: 2px 2px 5px black;
}

.widevideo div {
text-align: center; position: absolute; width: 90%; z-index: -1; color: #fff;
}

.widevideo img {
	display: block;
	margin: auto;
	height: 325px;
	width: auto;
}

.widevideo video, .widevideo .video-standin {
height: 100%; width: 100%; object-fit: cover; object-position: center center; opacity: 1;   z-index: -2;
}

html {
	font-size: 14pt;
	background: var(--bg);
	color: var(--fg);
	font-family: "alegreya", "serif";
	background:url(/images/background/bg-crosses-and-vines.webp),linear-gradient(#a99a86,#8a795d);
    min-height: 100%
}

main {
	padding: 0 1em;
	margin: auto;
	text-align: justify;
	/*  background: #f2eeea;*/
	/*  border: 5px double #b9c3bb;*/
}

#prayer-corner {
	margin: auto;
}

main#chapel {
	padding: 0;
	border: none;
}

#prayer-corner h3 {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	font-weight: 700;
	font-size: 19px;
	font-style: italic;
}

#chapel .prayer_corner {
	display: flex;
	flex-direction: row-reverse;
}

#chapel .prayer_corner_text {
	display: flex;
	float: left;
	flex: 2;
	flex-direction: column;
}

#chapel .prayer_corner_icon {
	display: flex;
	flex: 1;
}

.flex {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
}

.flex table {
	padding: 15px;
}

hr {
	height: 1px;
	border: none;
	background: #ddd;
	color: #ddd;
}

label {
	display: block;
}

pre {
	font-size: 10pt;
	white-space: pre-wrap;
	word-wrap: break-word;
}

body {
	max-width: 1000px;
	margin: auto;
	background: var(--bg);
}

header {
	font-family: var(--primary-font);
	display: flex;
	flex-direction: row;
	padding-top: 2em;
	padding-bottom: 1em;
	font-family: "sans";
	background-repeat:no-repeat;
	background-size:cover;
	margin: auto;
}

img {
	height: auto;
	margin: auto;
	max-width: 100%;
	display: block;
}

.banner {
	max-width: unset;
	width: calc(100% + 2em);
	margin-left: -1em;
	margin-right: -1em;
}

.divider {
	padding: 1em;
	margin: auto;
	max-width: 40%;
}

.left { float: left; margin-right: 20px; }
.right { float: right; margin-left: 20px; }

.avatar {
	width: 200px;
	clear: both;
	margin-bottom: 20px;
	border-radius: 5px;
}

nav {
	vertical-align: middle;
	display: flex;
	flex: 50%;
	font-family: var(--primary-font);
}

nav li a {
	text-decoration: none;
	padding: 15px;
	border-radius: 5px;
}

nav li a:hover {
	color: #930000;
	background: #eee;
}

nav ul {
	padding: 0;
}

nav li {
	display: inline-block;
	width: auto;
	color: var(--href);
}

header img {
	vertical-align: middle;
	margin: auto;
	max-height: 100px;
	max-width: 50%;
	max-height: 12rem;

}

header a.headerimg {
	display: flex;
	flex: 50%;
}

header h1 {
	display: inline-block;
}

footer {
	padding-top: 1em;
	padding-bottom: 1em;
	margin-top: 1em;
	font-family: "sans";
	clear: both;
	color: var(--fg);
	background: var(--footer);
	text-align: center;
}

footer a {
	color: var(--fg);
	text-decoration: underline;
}

footer a:hover {
	color: #930000;
}

footer div {
	padding: 0 1em;
}

footer .social img {
	width: 1.5em;
	padding: 0 0.25em;
}

footer img {
	width: 1em;
	display: inline-block;
	vertical-align: middle;
}

a {
	color: var(--href);
	text-decoration: none;
}

h1 {
	text-align: center;
}

h1, h2 {
	/*color: var(--href);*/
	text-align: center;
	font-style: italic;
}

h3, h4, h5 {
	font-weight: bold;
}

blockquote {
	font-style: italic;
}

a:hover {
	color: #930000;
}

tr {
	text-align: center;
	width: 14%;
}

.cover  {
	margin-left: 1em;
	margin-top: 0;
	float: right;
	max-width: 200px;
}

.center img {
	max-width: 95%;
	margin: 0.5em;
	display: block;
	margin: auto;
}

figcaption {
	font-style: italic;
	color: #888888;
	text-align: center;
}

figcaption p {
	margin: 0;
	padding: 5px;
}

/*
hr {
	height: 1px;
	border: none;
	background: var(--red);
	color: var(--red);
}
*/

details p {
	padding: 10px 20px 10px 20px;
	background: #EEE;
	border: 1px solid #CCC;
}

#linklist {
	padding-left: 0;
	margin-bottom: -30px;
	text-align: center;
	margin: auto;
	max-width: 800px;
}

#linklist li {
display: inline-block;
  height: 200px;
  width: 200px;
  position: relative;
}

#linklist li a {
  height: 100%;
  width: 100%;
  display: block;
}

#linklist img {
  height: 80%;
  width: 80%;
  border-radius: 10px;
  max-height: none;
  max-width: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 175ms ease-in-out;
}

#linklist li a:hover>img {
	height: 90%;
	width: 90%;
}

#linklist .title {
  font-size: xx-large;
  background-color: rgba(3,3,3,0.6);
}

#linklist .title, #linklist li:hover .desc {
  display: block;
  position: absolute;
  color: white;
  width: 100%;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 1em;
  font-size: large;
}

#linklist li:hover .desc {
  background-color: rgba(3,3,3,0.9);
}

#linklist li:hover .title, .desc, .tags {
  display: none;
}

#buttonlist li:hover .title, .desc, .tags {
  display: none;
}

.poem {
	display: block;
	margin-left: 40px;
	margin-right: 40px;
}

#prayer-corner h3, #prayer-corner h4, #prayer-corner h5, #prayer-corner h6 {
	margin-top: 0;
}

#prayer-corner  p {
margin-top: 0;
}

.prayer_corner_readings ul {
	list-style-image: url(/img/readings-icon.webp);
}

.prayer_corner_saints ul {
	list-style-image: url(/img/cross-icon.webp);
}

#prayer-corner main {
	display: block;
}

.prayer_corner_header p, .prayer_corner_header a {
  font-weight: 700;
  padding: 0;
  margin: 0;
  text-decoration: none;
}

.prayer_corner_text {
	display: inline-block;
	align-self: stretch;
}

#prayer-corner h5 {
font-size: 1.25rem;
margin-bottom: .5rem;
font-weight: 500;
line-height: 1.2;
}

#prayer-corner img {
	max-width: 100%;
	display: block;
	border-radius: 5px;
	max-width: 200px;
	margin-top: 1em;
	margin-right: 0;
}

.prayer_corner_header p, .prayer_corner_header p a {
  font-weight: 700;
  padding: 0;
  margin: 0;
  text-decoration: none;
}

.prayer_corner_title {
  margin: 0 0 2% 0;
  clear: both;
}

.chapel > div, .chapel > div {
  align-self: stretch;
}

.prayer_corner_icon {
	/*margin: 0 auto 5% auto;*/
  height: auto;
  align-self: stretch;
}

.prayer_corner_readings p, .prayer_corner_saints p {
  margin-left: 2%;
  margin-bottom: 0;
}

.prayer_corner_visit {
  font-style: italic;
  border-top: 1px solid var(--primary-color-low-opacity);
}

.prayer_corner_readings p, .prayer_corner_saints p, .prayer_corner_visit p {
  line-height: 1.5;
  padding: 0;
}

button {
	background-color: var(--bg);
	border: none;
	text-align: center;
	text-decoration: none;
	margin: 1em;
  transition: all 175ms ease-in-out;
}

button:hover {
	background: #eee;
	transform: scale(1.1,1.1);
}

button a {
	display: inline-block;
	padding: 15px 32px;
	font-size: 16pt;
	color: var(--fg);
}

.nugget-list {
-ms-flex-flow: row wrap;
    flex-flow: row wrap;
    margin-right: -15px;
    margin-left: -15px;

    display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
}

.nugget-list {
flex-flow: row wrap;
    margin-right: -15px;
    margin-left: -15px;
    margin-top: 1em;
}

.nugget-list .nugget {
    display: flex;
    flex-direction: column;
    margin: 10px;
      flex: 1 0 30%;
  }

.nugget img {
object-fit: cover;
max-width: 100%;
  flex-shrink: 0;
  width: 100%;
  border-top-left-radius: calc(.25rem - 1px);
  border-top-right-radius: calc(.25rem - 1px);
  height: 115px;
}

.nugget {
position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0,0,0,.125);
  border-radius: .25rem;
}

/* .nugget-title {
} */

.nugget-text:last-child {
  margin-bottom: 0;
}

/* .nugget-text {
} */

.nugget-body {
  padding: .5rem 1rem;
  flex: 1 1 auto;
}

.nugget-foot {
	background-color: rgba(0,0,0,.03);
	border-top: 1px solid rgba(0,0,0,.125);
	  line-height: 1;
	background-color: #fff;
	border-top: 0;
}

.nugget-foot:last-child {
  border-radius: 0 0 calc(.25rem - 1px) calc(.25rem - 1px);
}

.nugget button {
	background: none;
}

.nugget button a {
	background-color: var(--footer);
	  border-radius: .25rem;
}

.vid-list {
	display: flex;
	flex-direction: row;
	margin: auto;
}

.vid-list iframe {
	max-width: 400px;
	margin: auto;
	display: flex;
	flex: 1;
	padding: 5px;
	min-height: 180px;
}

@media only screen and (max-device-width : 1020px) {
	nav {
		text-align: center;
		margin: auto;
	}

	header {
		flex-direction: column;
	}

	header img {
		max-width: 70%;
	}

	.banner {
		max-width: 10;
		width: calc(100% + 2em);
		margin-left: -1em;
		margin-right: -1em;
	}

	.left, .right {
		float: none;
		margin: auto;
		margin-bottom: 20px;
	}

	nav ul li {
		margin-bottom: 7px;
		margin-top: 7px;
	}

	/* body {
	} */

	#prayer-corner, #prayer-corner h3 {
		max-width: 100%;
	}

	#prayer-corner img {
		float: none;
		margin: auto;
		margin-bottom: 1em;
		max-width: 90%;
	}

	#chapel .prayer_corner {
		flex-direction: column;
	}

	.widevideo {
		height: 800px;
	}

	.widevideo div {
		position: absolute;
	}

	header a.headerimg, nav {
		flex: 100%;
	}

	.nugget-list .nugget {
	      flex: 1 0 45%;
	 }

	.footerlinks a {
		display: block;
	}

	.vid-list {
		flex-direction: column;
	}
}

@media only screen and (max-device-width : 550px) {
	.fc .fc-toolbar {
		display: block;
	}

	.nugget-list {
	    flex-direction: row;
	    flex-flow: column wrap;
	}

	.nugget {
		margin: 1em;
	}
}

/* Mine added */

.smalltxt {
    font-size: small ;
  }

.red-bar {
	list-style-type: none;
	margin: 0;
	padding: 0px 0px 0px 10px;
	overflow: hidden;
	background-color: #6F1C08;
	}

#tagcloud {
	margin: auto;
	list-style: none;
	max-width: 400px;
	padding: 0;
	text-align: center;
	border-radius: 5px;
	border: 1px var(--fg) dashed;
}

#tagcloud li {
	display: inline-block;
	padding: 10px;
}
