/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*******************
FONTS
*******************/
@font-face {
    font-family: 'Della Respira';
    src: url('../fonts/DellaRespira-Regular.eot');
    src: url('../fonts/DellaRespira-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/DellaRespira-Regular.woff2') format('woff2'),
        url('../fonts/DellaRespira-Regular.woff') format('woff'),
        url('../fonts/DellaRespira-Regular.svg#DellaRespira-Regular') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Radley';
    src: url('../fonts/Radley-Italic.eot');
    src: url('../fonts/Radley-Italic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Radley-Italic.woff2') format('woff2'),
        url('../fonts/Radley-Italic.woff') format('woff'),
        url('../fonts/Radley-Italic.svg#Radley-Italic') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Radley';
    src: url('../fonts/Radley-Regular.eot');
    src: url('../fonts/Radley-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Radley-Regular.woff2') format('woff2'),
        url('../fonts/Radley-Regular.woff') format('woff'),
        url('../fonts/Radley-Regular.svg#Radley-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/**** End Fonts ****/
html {
	font-size: medium;
}
body {
	box-sizing: border-box;
}

body,
#home .page-content main h1 {
	font-family: "Della Respira", serif;
	line-height: 1.4;
}

body#home {
	background-image: url('../img/liams-sky.jpg');
	background-size: cover;
}

#home header,
#home .page-content main {
	background-image: none;
	background-color: #b5ddfebc;
}
		
h1, h2, #liam {
	font-family: "Radley", serif;
}


h1 {
	font-size: 3.25rem;
	color: #545454;
	text-align: center;
	padding: 2rem;
	line-height: 1.15;
}

h2 {
	font-size: 2.2rem;
}

.page-content ul li {
	margin: 2rem 0;
}

.page-content ul li span {
	text-decoration: underline;
}

header,
nav a,
nav label {
	color: #fff;
	text-decoration: none;
}

#home header {
	color: #000;
}

#liam {
	font-size: 3.725rem;
}

#home #liam {
	font-size: 5.2rem;
	text-align: center;
}

#headline {
	font-size: 1.5rem;
	padding: 3rem 1rem;
}

#logo {
	margin: 0 24px;
	max-width: 80px;	
}

#home #logo {
	max-width: 230px;
	padding: 0 20px;
}

#headline > div {
	margin: 0 0.8rem;
}

#title {
	display: flex;
	justify-content: center;
}

#home #title {
	display: inline-block;
}

#slogan {
	padding-top: 0.5rem;
}

#home #slogan {
	font-size: 2.4rem;
	text-align: center;
}

header {
	background-image: url('../img/inner-header.jpg');
	background-position: center center;
	background-size: cover;
	border-top: #7f0505 solid 10px;
}

#headline,
nav ul {
	display: flex;
	justify-content: center;
	align-items: center;
}

header a {
	color: #fff;
	text-decoration: none;
}

#home header a {
	color: #000;
}

#home header nav a {
	color: #fff;
}

#home #headline {
	width: 80%;
	margin: 0 auto;
	justify-content: center;
}

#home #headline >div:first-child {
	width: 30%;
	text-align: left;
}

nav {
	background: #02163b;
	font-size: 1.5rem;
	padding: 1rem;
}

#home nav {
	display: none;
}

#home .page-content nav {
	display: block;
}

nav .mobile-icon {
	display: none;
	padding-top: 0.3rem;
	padding-bottom: 0.3rem;
}

nav .mobile-icon span {
	display: block;
	width: 26px;
	height: 2px;
	margin: 7px auto;
	background-color: #fff;
	position: relative;
}

nav .mobile-icon input#mobile-menu:checked ~ span:nth-child(2) {
	transition: rotate 4s;	
	transform: rotate(45deg);
	top: 9px;
	width: 32px;
}

nav .mobile-icon input#mobile-menu:checked ~ span:nth-child(3) {
	transition: opacity 1s;
	opacity: 0;
}

nav .mobile-icon input#mobile-menu:checked ~ span:nth-child(4) {
	transform: rotate(-45deg);
	top: -9px;
	width: 32px;
}

nav ul li {
	padding-right: 40px;
	background-image: url('../img/white-diamond.png');
	background-position: center right 14px;
	background-repeat: no-repeat;
	background-size: 12px;
	text-align: center;
}

nav ul li:last-child {
	background-image: none;
	padding-right: 0;
}


nav ul li a,
nav ul li label {
	padding: 5px 10px;
	margin: 0 5px;
}

nav li a.active {
	background-color: #b5ddfe;
	color: #000;
}

.dropdown-menu {
	position: relative;
}

.dropdown-menu ul {
	position: absolute;
	background: #02163b;
	display: block;
	top: 3.5rem;
	overflow: hidden;
	height: 0;
	overflow: hidden;
}


.dropdown-menu ul li {
	white-space: nowrap;
	padding: 0.6rem 0.5rem 0.35rem;
	background-image: none;
	border-top: #d8eef4 1px solid;
	opacity: 0;
	height: 0;
	transition: 0.25s ease-in-out;
}
/*
.dropdown-menu:hover ul,
.dropdown-menu:focus ul {
	height: auto;
	padding-top: 0.2rem;
}

.dropdown-menu:hover ul li,
.dropdown-menu:focus ul li {
	height: 3.66rem;
	opacity: 1;
}
*/



.dropdown-menu ul li:last-child {
	padding-bottom: 1rem;
	border-bottom: #d8eef4 1px solid;
}

.dropdown-menu ul li a {
	display: block;
	margin-top: 0.2rem;
	margin-bottom: 0.2rem;
	padding: 0.25rem .8rem;
}

input#mobile-menu,
.dropdown-menu .dropdown-toggle {
	position: absolute;
	opacity: 0;
	/* hidden but still focusable/clickable */
}

.dropdown-menu ul {
	height: 0;
	overflow: hidden;
}

.dropdown-menu li.active {
	background-color: #b5ddfe;
}

.dropdown-menu .dropdown-toggle:checked ~ ul {
	height: auto;
}

.dropdown-menu .dropdown-toggle:checked ~ ul li {
	height: 3.66rem;
	opacity: 1;
}
/*
.mobile-icon + ul li.dropdown-menu .dropdown-toggle ~ ul li {
	height: 0;
	overflow: hidden;
	margin: 0;
} */

.mobile-icon + ul li.dropdown-menu .dropdown-toggle:checked ~ ul li {
	height: 2.38875rem;
	margin: 15 0;
}

.mobile-icon + ul li.dropdown-menu .dropdown-toggle:checked ~ ul li:first-child {
	margin-top: 0;
}
.mobile-icon + ul li.dropdown-menu .dropdown-toggle:checked ~ ul li:last-child {
	margin-bottom: 0;
}


.page-content {
	border-top: #006098 solid 2px;
	margin: 0 auto;
	width: 80%;
	max-width: 1200px;
	display: flex;
	flex-direction: row-reverse;
}

#home .page-content {
	flex-direction: row;
	border-top: 0;
	margin: 120px auto;
}

#home .page-content nav {
	background-color: transparent;
	font-size: 2.35rem;
}

#home .page-content nav > ul {
	display: block;
}

#home .page-content nav > ul li {
	background-image: none;
	text-align: left;
	white-space: nowrap;
}

#home .page-content main {
	padding: 80px;
	font-size: 1.9rem;
}

#home .page-content main p:first-child {
	text-align: center;
}

#home .page-content main p:last-child {
	margin-bottom: 0;
}

#home .page-content main h1 {
	color: #000;
	margin: 0 0 2rem;
	font-size: 1.9rem;
	padding: 0;
}

.helpful-tools .page-content {
	justify-content: center;
}

.page-content main {
	width: 74%;
	padding: 2rem 0 2rem 2rem;
	font-size: 1.5rem;
}

.page-content aside {
	width: 26%;
	/*background-color: #d8eef4;
	padding: 2rem 1rem;*/
}

.page-content aside > div {
	background-color: #d8eef4;
	padding: 2rem 1rem;
}

p {
	margin-bottom: 2rem;
}

ol {
	padding-left: 2.5rem;
	margin-bottom: 2rem;
}

ol li {
	list-style: decimal;
	margin-bottom: 0.7rem;
}

input, textarea {
	font-size: 1.2rem;
	padding: 5px;
	border-radius: 8px;
}

.align-right {
	float: right;
	margin: 0 0 1.25rem 1.25rem;
	border: solid 0.25rem #d8eef4;
}

.large-announcement,
.large-announcement-mobile {
	clear: both;
	font-size: 2.2rem;
	text-align: center;
	padding: 2rem 15px 0;
	margin: 2rem 0;
}

.large-announcement {
	display: none;
}

.testimonial {
	margin: 0 1rem 2.8rem 1rem;
	font-size: 1.15rem;
}

.testimonial:last-child {
	margin-bottom: 1rem;
}

.testimonial p {
	margin-bottom: 0.5rem;
}

cite {
	font-size: 0.9em;
	font-style: italic;
}

#dancing-with-his-shadow {
	width: 320px;
	max-width: 40%;
}

#mystic-astrology {
	width: 450px;
	max-width: 50%;
}

#relationship-astrology {
	max-width: 90%;
	display: block;
	margin: 0 auto;
	padding-top: 15px;
}

#relationship-astrology-page .page-content main p {
	font-size: 1.8rem;
}

#the-source .page-content main {
	max-width: 32rem;
}

#morning-prayer .page-content main {
	max-width: 40rem;
}


footer {
	text-align: center;
	color: #fff;
	background-color: #000;
	padding: 40px;
}

footer p {
	margin-bottom: 0;
}

@media (max-width: 1399px) {
	nav {
		font-size: 1.35rem;
	}
	nav ul li {
	padding-right: 20px;
	background-position: center right 4px;
	}
	
	#home .page-content nav {
		font-size: 2rem;
	}
}

@media (max-width: 1329px) {
	#home #headline >div:first-child {
		width: auto;
	}
	#home #logo {
		max-width: 200px;
	}
	#home #liam {
		font-size: 4.2rem;
	}
	#home #slogan {
		font-size: 2rem;
	}
}

@media (max-width: 1260px) {
	nav .mobile-icon {
		display: block;
	}
	nav ul {
		display: block;
	}
	nav ul li {
		padding-right: 0;
		margin: 15px 0;
		background-image: none;
	}
	
	nav ul {
		height: 0;
		opacity: 0;
		overflow: hidden;
		transition: 0.25s ease-in-out;
	}
	
	nav ul.is-open,
	nav ul.is-open ul {
		height: auto;
		opacity: 1;
		overflow: visible;
	}
	
	.dropdown-menu ul {
		position: static;
		height: auto;
	}
	
	.dropdown-menu ul li,
	.dropdown-menu ul li:first-child,
	.dropdown-menu ul li:last-child {
		height: auto;
		opacity: 1;
		padding: 0;
		border: 0;
		font-style: italic;
	}
	
	.dropdown-menu ul li a::before {
		content: "~ ";
	}
	
	.dropdown-menu ul li a::after {
		content: " ~";
	}
	
	#home .page-content {
		justify-content: center;
	}
	
	#home .page-content nav {
		display: none;
	}
	
	#home nav {
		display: block;
	}
	
	.helpful-tools .page-content main {
		width: 100%;
	}
	
}

@media (max-width: 1139px) {
	#home #headline >div:first-child {
		width: auto;
		text-align: center;
	}
	#home #logo {
		max-width: 175px;
	}
	#home #liam {
		font-size: 3.2rem;
	}
	#home #slogan {
		font-size: 1.6rem;
	}
}

@media (max-width: 997px) {
	h1 {
		font-size: 2.75rem;
	}
	
	.page-content,
	#headline	{
		display: block;
	}
	
	#headline {
		text-align: center;
	}
	
	.page-content main,
	.page-content aside {
		width: 80%;
		padding: 2rem 0 1rem;
	}
	
	.page-content main {
		font-size: 1.25rem;
	}
	
	.page-content aside {
		clear: both;
	}
	
	.large-announcement {
		display: none;
	}
	
	.large-announcement-mobile {
		display: block;
	}
	
	#the-source main,
	#morning-prayer main	{
		margin-left: auto;
		margin-right: auto;
	}
}