/*THIS STYLE SHEET IS USED FOR THE ST BEDES CONTENT PAGE AND VIDEOS */

/* General Styles */

img {
	transition: width 0.3s;
	width: 90%; /* Make the image responsive */
	height: auto; /* Maintain aspect ratio */
	}

.shrink_on_hover:hover {
	width: 85%;
}

a {
	text-decoration: none;
}

a:hover {
    background-color: #f8f;
    color: black;
}

.navbar a {
    display: block;
    color: #f8f;
    text-align: center;
    padding: 1em 1em;
    text-decoration: none;
}

.navbar a:hover {
    background-color: #f8f;
    color: black;
}

.dynamic-menu a {
    display: block;
    color: #f8f;
    padding: 1em 1em;
    text-align: center;
    text-decoration: none;
}

.dynamic-menu a:hover {
    background-color: #f8f;
    color: black;
}

.video_container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.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; 
		text-align: center; /* Center the content */
		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 */
	}

	.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%;
	}

	.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);
	}

	.vosb_icon_grid {
		display: flex;
		flex-wrap: wrap;
		position: relative;
		z-index: 3;
	}

	.vosb_icon_container {
		max-width: 200px; /* Maximum width for the image */
		min-width: 50px; /* Minimum width for the image */
		margin: 0 auto; /* Center the container */
	}

}

/*===========================================================*/
/*===========================================================*/
/*===========================================================*/
/*===========================================================*/
/*===========================================================*/
/*===========================================================*/
/*===========================================================*/
/*===========================================================*/
/*===========================================================*/


/* 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; */
		text-align: center; /* Center the content */
		height: 120%;
	}

	p {
		color: #000;
		line-height: 1.3;
		font-size: 1rem;
		text-align: center; /* Center the content */
	}

	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;
	}

	.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;
	}

	.vosb_icon_grid {
		display: flex;
		flex-wrap: wrap;
		position: relative;
		z-index: 3;
	}

	.vosb_icon_container {
		max-width: 300px; /* Maximum width for the image */
		min-width: 50px; /* Minimum width for the image */
		margin: 0 auto; /* Center the container */
	}

	.top_left_sausage{ 
		display: none;
	}

	.top_right_sausage{ 
		display: none;
	}

	.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 */
		}
	}

}

