/* Root Colors */
:root {
	--main-color-red: #C93226;
	--main-color-blue: #026880;
	--main-color-yellow: #f1d042;
	--main-color-pink: #d524a9;
	--main-color-gray: #4D4D4D;
	--main-color-lightgray: lightgray;
	--main-color-black: #000000;
	--main-color-white: #FFFFFF;
	--main-color-purple: #7a3796;
	--page-width: 95%;
	--max-page-width: 1080px;
}

@font-face {
	font-family: "Lato Regular";
	src: url("Lato Font/Lato-Regular.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "Lato Bold";
	src: url("Lato Font/Lato-Bold.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}


/* Global */
* {
	box-sizing: border-box;
}

body {
	padding: 0px;
	font-family: "Lato Regular", sans-serif;
	font-size: 16pt;
	color: var(--main-color-gray);
}

a:any-link {
	color: var(--main-color-red);
}

h2 {
	color: var(--main-color-purple);
}

.columns {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.load-hide {
	display: none;
}

/* Header */
header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	width: var(--page-width);
	max-width: var(--max-page-width);
	width: var(--page-width);
	margin: 0 auto;
	margin-bottom: 20px;
}

header img {
	height: 100px;
	width: auto;
}

.header-prayer-focus {
	font-size: 3.0rem;
	padding-bottom: 10px;
	color: var(--main-color-purple);
}

.header-prayer-focus .header-date {
	font-family: "Lato Bold", sans-serif;
}

/* Footer */
footer {
	background-color: var(--main-color-purple);
	background-image: url(background.png);
	background-repeat: repeat;
	padding: 30px;
	margin: 30px auto;
	text-align: left;
	font-size: 1.2rem;
	line-height: 1.6rem;
	max-width: var(--max-page-width);
	width: var(--page-width);
	border-radius: 10px;
	color: var(--main-color-white);
}

footer.list {
	display: none;
}

/* Footer */
.contact {
	line-height: 2.5rem;
}

/* General */
p {
	line-height: 2.8em;
}

button {
	color: var(--main-color-white);
	background: var(--main-color-red);
	border-radius: 5px;
	border: 1px solid transparent;
	font-size: 1.2em;
	padding: 10px;
}

.note {
	font-style: italic;
}

#Items {
	columns: 2;
	max-width: var(--max-page-width);
	width: var(--page-width);
	margin: 0 auto;
}

#Items.list {
	columns: 1;
}

/* Dept */
.dept {
	padding: 12px;
}

.dept.list {
	padding: 0px;
	margin: 0px;
	margin-bottom: 10px;
}

.dept h3 {
	color: var(--main-color-yellow);
	margin: 10px 0;
}

.dept.list h3 {
	color: var(--main-color-purple);
	margin: 10px 0;
}

.dept-header {
	background-color: var(--main-color-purple);
	background-image: url(background-faded.png);
	background-repeat: repeat-y;
	background-size: cover;
	margin: -12px;
	margin-bottom: 20px;
	padding: 15px;
	padding-bottom: 5px;
	break-inside: avoid;
	color: var(--main-color-white);
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	min-height: 210px;
}

.dept-header.list {
	background: transparent;
	color: var(--main-color-purple);
	min-height: 10px;
	margin: 0px;
	padding: 0px;
}

.dept-header .prayer-item {
	line-height: 1.8em;
	text-align: justify;
}

.dept-header.list .prayer-item {
	color: var(--main-color-black);
}

/* Prayer Items */
.prayer-item {
	margin: 20px 0;
	line-height: 1.8em;
	text-align: justify;
}

/* Answered Prayer Items */
#Answered {
	width: var(--max-page-width);
	margin: 50px auto;
}

#Answered.list {
	display: none;
}

.answered-item {
	margin: 20px 0;
	padding: 20px;
}

.answered-item div {
	margin-bottom: 10px;
}

.answered-dept {
	font-weight: bold;
	color: var(--main-color-purple);
	;
}

.answered-date {}

.answered-prayer {
	background: var(--main-color-lightgray);
	padding: 10px;
}

#BibleVerse {
	text-align: center;
	font-size: 1.5rem;
	margin: 50px auto;
	width: var(--max-page-width);
}

/* Message */
#Message {
	background: var(--main-color-blue);
	color: var(--main-color-white);
	margin: -10px;
	margin-bottom: 5px;
	padding: 10px;
	top: 0;
	position: sticky;
	z-index: 100000;
	display: none;
	text-align: center;
}

#Message.error {
	background: var(--main-color-red);
	color: var(--main-color-white);
}

#Message.success {
	background: var(--main-color-yellow);
	color: var(--main-color-black);
}

/* Mobiles */
@media only screen and (max-width: 550px) {
	header {
		flex-direction: column;
	}

	#Items {
		columns: 1;
	}
}

/* Print */
@media print {
	body {
		font-size: 12pt;
	}

	header {
		margin-top: 50px;
	}

	body.list {
		font-size: 20pt;
	}

	header.list {
		margin-top: 10px;
	}
}