/* THIS STYLE SHEET IS USED FOR THE ARTICLES AND THEIR CONTENTS PAGE */

/* General Styles */

img {
	max-width: 100%;
	height: auto;
	margin: 0 auto; /* Center the image within the container */
	border-radius: 0em;
}

a {
	color: #909;
	font-style: italic;
	font-weight: bold;
	text-decoration: none;
	cursor: pointer;
}

.popout_panel a {
	line-height: 1.5rem;
	font-size: 0.9rem;
	margin-left: 0.1em;
	margin-right: 0.1em;
	font-style: italic;
	font-weight: bold;
	text-align:right;
	color: #909;
}

.cross_container {
	position:relative;
}

.cross_top_right{
  position: absolute;
  top: 0px; /* Adjust as needed */
  right: 0px; /* Adjust as needed */
}

.initially_blank {
	width: 90%;  /* Adjust the max width and height as needed */
	height: 40px;
	color: #171;
	line-height: 1.1rem;
	font-size: 0.9rem;
	margin-left: 0.1em;
	margin-right: 0.1em;
	font-style: italic;
	font-weight: bold;
}

.navbar a {
	display: block;
	color: #f8f;
	text-align: center;
	padding: 1em 1em;
	text-decoration: none;
	font-style: normal;
	font-weight: normal;
}

.navbar a:hover {
	background-color: #f8f;
	color: black;
}

.dynamic-menu a {
	display: block;
	color: #f8f;
	padding: 1em 1em;
	text-align: center;
	text-decoration: none;
	font-style: normal;
	font-weight: normal;
}

.dynamic-menu a:hover {
	background-color: #f8f;
	color: black;
}

.share_text a {
	cursor: pointer;
	color:#fff;
	background-color: #fff;
}

/* Styles for Phones */
@media only screen and (max-width: 640px) {

	html {
		font-size: 22px; /* Or another base font size of your choice */
	}

	body {
		font-family:  'Palatino','Garamond';
		font-size: 1rem;
		margin: 0em; 
		height: 100%
	}

	h1 {
		font-family: 'Palatino','Garamond';
		font-size: 1.4rem;
		color: #333;
		text-align: center; /* Center the content */
		margin-top: 1em;
	}

	p {
		color: #00;
		line-height: 1.3;
		font-size: 1rem;
 /* 		text-align: center;Center the content */
	}

	.share_text { /* Social media icons in here */
		background-color: #ffffff;
		top: 0px;
		height: 28px;
		width: 81%;
		margin-left: 50px;
		margin-right: 50px;
		margin-top: 0px;
		margin-bottom: 0px;
		font-family: 'Palatino','Garamond';
		font-size: 0.7rem;
		color: #333;
		line-height: 1.0;
		padding-left: 0px;
		padding-right: 0px;
		padding-top: 0px;
		padding-bottom: 0px;
		text-align: center; /* Center the content */
		position: fixed;
		z-index: 6;  /* Ensure the buttons appear z-above the overlay and navigation menu */
	}

	.share-icon {
		width: 25px;
		height: 25px;
		margin-right: 0px;
		margin-left: 0px;
	}

	.subhead {
		text-align: center; /* Center the content */
		max-width: 85%;
		margin: 0 auto; /* Center the text_container */
	}

	.bible {
		color: #171;
		line-height: 1.3;
		font-size: 1rem;
		margin-left: 1em;
		margin-right: 1em;
		font-style: italic;
		font-weight: bold;
	}
	
	
	.bible_inline {
		display: inline;
		color: #171;
		line-height: 1.3;
		font-size: 1rem;
		margin-left: 0em;
		margin-right: 0em;
		font-style: italic;
		font-weight: bold;
	}
	
	
	
	.song {
		color: #117;
		line-height: 1.1;
		font-size: 1rem;
		margin-left: 1.3em;
		margin-right: 1em;
		font-style: italic;
	}

	.phone_call {
		color: #DC143C;
		line-height: 1.3;
		font-size: 1rem;
		margin-left: 1.5em;
		margin-right: 1em;
		font-style: italic;
		font-weight: bold;
	}

	.phone_call p {
		margin-bottom: 30px;  /* The gap between paragraphs in the phone_call div without affecting other p attributes */
	}

	.second_row {
		margin-left: 10px;
		margin-right: 10px;
		margin-top: 0px;
		margin-bottom: 0px;
		overflow: auto;
	}

	.text_container {
		max-width: 85%;
		margin: 0 auto; /* Center the text_container */
/* 		text-align: center; Center the content  */
		height: 120%;
	}

	.image_container {
		margin: 0 auto; /* Center the image_container */
		max-width: 60%;
	}

	.in_text_image_container {
		margin: 0 auto; /* Center the image_container */
		max-width: 100%;
	}

	.top_left_sausage{ 
		display: block;
		top: 0px;
		left: 0px;
		height: 25px;
		width: 52px;
		margin-left: 0px;
		margin-top: 0px;
		padding-left: 0px;
		padding-top: 0px;
		position: fixed;
		z-index: 9;  /*Ensure the buttons appear z-above the overlay and navigation menu */
	}

	.top_right_sausage{ 
		display: block;
		top: 0px;
		right: 0px;
		height: 25px;
		width: 52px;
		margin-right: 0px;
		margin-top: 0px;
		padding-right: 0px;
		padding-top: 0px;
		position: fixed;
		z-index: 9;  /*Ensure the buttons appear z-above the overlay and navigation menu */
	}

	.navbar {
		overflow: hidden;
		background-color: #000; /* Set the background color to black */
		font-size: 0.9rem;
		color: white; /* Set the text color to white */
		position: fixed;
		top: 25px;
		height: 100%;
		width: 8em; /* Set the width of the vertical navbar */
		overflow-y: auto; /* Enable vertical scrolling */
		pointer-events: auto; /* Allow mouse events */
		/* Initial position off-screen */
		transform: translateX(-8em);
		transition: transform 0.3s ease-in-out;
		z-index: 8; /* Ensure the navigation menu appears above the overlay */
	}

	.navbar.visible {
		/* Bring the navigation menu back on-screen when the 'visible' class is added */
		transform: translateX(-0em);
	}

	.dynamic-menu {
		overflow: hidden;
		font-size: 0.9rem;
		color: #f8f;
		background-color: #000;
		position: fixed;
		width: 8em;
		top: 25px;
		height: 100%;
		right: 0;
		overflow-y: auto; /* Enable vertical scrolling */
		pointer-events: auto; /* Allow mouse events */
		z-index: 8; /* Ensure the dyn rh navigation menu appears above the overlay */
		/* Initial position off-screen */
		transform: translateX(100%);
		transition: transform 0.3s ease-in-out;
	}

	.dynamic-menu.visible {
		/* Bring the dynamic menu back on-screen when the 'visible' class is added */
		transform: translateX(0);
	}

	.overlay {
		display: block;
		position: fixed;
		top: 25px;
		height: 100%;
		left: 0;
		width: 100%;
		background-color: rgba(0, 0, 50, 0.6); /* Semi-transparent black overlay */
		z-index: 7;
		opacity: 50;
		/* Initial position off-screen */
		transform: translateX(-40em);
	}

	.overlay.visible {
		/* Bring the grey overlay back on-screen when the 'visible' class is added */
		transform: translateX(-0em);
	}

	.popout_panel {
		display: none;
		position: fixed;
		z-index: 8;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 60%;
		max-height: 380px; /* Maximum height */
		height: auto; /* Adjust height based on content */
		background-color: #fff;
		border: 1px solid #ccc;
		padding: 20px;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	}

	.popout_panel_scrollable_div {
		max-height: 290px; /* Maximum height */
		height: auto; /* Adjust height based on content */
		overflow-y: auto; /* Add a vertical scrollbar when content exceeds the maximum height */
		color: #171;
		border: 1px solid #ccc; /* Optional: Add border for better visibility */
		padding: 10px; /* Optional: Add padding for better readability */
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for better appearance */
	}

	/* Specific style for <p> elements inside <div> with class "popout_panel_scrollable_div" */
	.popout_panel_scrollable_div p {
		line-height: 1.1rem;
		font-size: 0.9rem;
		margin-left: 0.1em;
		margin-right: 0.1em;
	}

}


/* Styles for Computers */
@media only screen and (min-width: 641px) {

	html {
		font-size: 24px; /* Or another base font size of your choice */
	}

	body {
		font-family: 'Palatino','Garamond' ;
		font-size: 1rem;
/*		margin: 1.25em; */
		height: 120%;
	}

	p {
		color: #000;
		line-height: 1.3;
		font-size: 1rem;
	}

	h1 {
		font-family: 'Palatino','Garamond';
		font-size: 1.1rem;
		color: #333;
		margin-top: 0em;
		margin-bottom: 0.3em;
		text-align: center; /* Center the content */
		margin-left: 2rem;
		margin-right:2rem;
	}

	.share_text {
		font-family: 'Palatino','Garamond';
		font-size: 0.8rem;
		color: #000;
		margin-top: 0em;
		margin-bottom: 0em;
		text-align: right; /* Right justify the content */
		margin-left: 0rem;
		margin-right:8rem;
	}
	
	.share-icon {
	width: 30px;
	height: 30px;
	margin-right: 0px;
	margin-left: 0px;
	}

.subhead {
	font-size: 1.2rem;
	text-align: center; /* Center the content */
	margin-left: 3rem;
	margin-right: 3rem;
}

.bible {
	color: #171;
	line-height: 1.3;
	font-size: 1rem;
	margin-left: 2em;
	margin-right: 2em;
	font-style: italic;
	font-weight: bold;
}

	
.bible_inline {
	display: inline;
	color: #171;
	line-height: 1.3;
	font-size: 1rem;
	margin-left: 0em;
	margin-right: 0em;
	font-style: italic;
	font-weight: bold;
	}

.song {
	color: #117;
	line-height: 1.3;
	font-size: 1rem;
	margin-left: 2em;
	margin-right: 2em;
	font-style: italic;
}

.phone_call {
	color: #DC143C;
	line-height: 1.3;
	font-size: 1rem;
	margin-left: 3em;
	margin-right: 1em;
	font-style: italic;
	font-weight: bold;
}

.phone_call p {
	margin-bottom: 30px;  /* The gap between paragraphs in the phone_call div without affecting other p attributes */
}


.top_row {
	display: none;
}

.second_row {
	margin-left: 4.5em;
	margin-right: 4.5em;
	margin-top: 0px;
	margin-bottom: 0px;
	overflow: auto;
}

.text_container {
	margin-left: 3rem;
	margin-right: 3rem;
}

.top_left_sausage{ 
	display: none;
}

.top_right_sausage{ 
	display: none;
}

.image_container {
	margin: 3em auto; /* Center the image_container */
	max-width: 40%;
}

.in_text_image_container {
	margin: 0 auto; /* Center the image_container */
	max-width: 80%;
}

.navbar {
	overflow: hidden;
	font-size: 0.75rem;
	color: white;
	background-color: #000; /* Black */
	position: fixed;
	height: 100%;
	width: 8em; /* Vertical navbar width*/
	top: 0;
	left: 0;
	overflow-y: auto; /* Enable vertical scrolling */
	pointer-events: auto; /* Allow mouse events */
}

.dynamic-menu {
	overflow: hidden;
	font-size: 0.75rem;
	color: #f8f;
	background-color: #000;
	position: fixed;
	height: 100%;
	width: 8em;
	top: 0;
	right: 0;
	overflow-y: auto; /* Enable vertical scrolling */
	pointer-events: auto; /* Allow mouse events */
}

.navbar::-webkit-scrollbar,  .dynamic-menu::-webkit-scrollbar {/* WebKit (Chrome, Safari) */
	width: 6px;
}

.navbar::-webkit-scrollbar-thumb,  .dynamic-menu::-webkit-scrollbar-thumb {/* WebKit (Chrome, Safari) */
	background-color: #bbf;
}

.navbar::-webkit-scrollbar-track,  .dynamic-menu::-webkit-scrollbar-track {/* WebKit (Chrome, Safari) */
	background-color: #000;
}

@supports (scrollbar-color: auto) { /* Firefox scrollbar*/
	.navbar,  .dynamic-menu {
		scrollbar-color: #555 #000;
		scrollbar-width: thin; /* Adjust the width as needed */
	}
}

	@supports (-ms-ime-align: auto) { /* Microsoft Edge scrollbar*/
		.navbar,  .dynamic-menu {
			scrollbar-color: #555 #000;
			scrollbar-width: thin; /* Adjust the scrollbar width as needed */
		}
	}

	.overlay {
		display: block;
		position: fixed;
		top: 0px;
		height: 100%;
		left: 0;
		width: 100%;
		background-color: rgba(0, 0, 50, 0.6); /* Semi-transparent black overlay */
		z-index: 7;
		opacity: 50;
		/* Initial position off-screen */
		transform: translateX(-240em);
	}

	.overlay.visible {
		/* Bring the grey overlay back on-screen when the 'visible' class is added */
		transform: translateX(-0em);
	}


	
	.popout_panel {
		display: none;
		position: fixed;
		z-index: 8;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 50%;
		max-height: 320px; /* Maximum height */
		height: auto; /* Adjust height based on content */
		background-color: #fff;
		border: 1px solid #ccc;
		padding: 20px;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	}

	.popout_panel_scrollable_div {
		max-height: 230px; /* Maximum height */
		height: auto; /* Adjust height based on content */
		overflow-y: auto; /* Add a vertical scrollbar when content exceeds the maximum height */
		color: #171;
		border: 1px solid #ccc; /* Optional: Add border for better visibility */
		padding: 10px; /* Optional: Add padding for better readability */
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for better appearance */
	}

	/* Style for <p> elements inside <div> with class "popout_panel_scrollable_div" */
	.popout_panel_scrollable_div p {
		line-height: 1.1rem;
		font-size: 0.9rem;
		margin-left: 0.1em;
		margin-right: 0.1em;
	}

}