:root {
	--red: #cc0000;
	--white: #ffffff;
	--blue: #05397b;
}

* {
	font-family: "Roboto", sans-serif;

	margin: 0px;
	padding: 0px;
	outline: none;
	-webkit-tap-highlight-color: transparent; /* For iOS/Webkit browsers */
}

html {
	background: linear-gradient(
	    to bottom,
	    rgba(5, 57, 123, 1) 0%, 
	    rgba(5, 57, 123, 0.95) 50%, 
	    rgba(5, 57, 123, 0.95) 100%
	), url('/static/stock background.jpg');
	background-attachment: fixed;
	background-size: cover;
	overflow-x: hidden;
}

a {
	color: white;
}

.media-buttons {
	display: flex;
	justify-content: center;
	gap: 20px;
	padding-bottom: 8vh;
}

.media-buttons img {
	height: 50px;
	filter: invert();
	cursor: pointer;
	transition-duration: 0.5s;
}

.media-buttons img:hover {
	filter: none;
}

.sixty {
	width: 60vw;
	margin: auto;
	display: block;
}

.fifty {
	width: 50vw;
	margin: auto;
	display: block;
}

#info {
	padding: 20px;
	background-color: var(--red);
	box-shadow: 0px 0.5vh 0.5vh black;
	z-index: 6;
	position: relative;
}

.latestmerch {
	position: absolute;
	right: 0px;
	width: 20%;
	margin: 5%;
	text-align: center;
	color: yellow;
	font-size: 30px;
}

.latestmerch img {
	width: 100%;
	border: 4px solid white;
}

.latestmerch img:hover {
	width: 100%;
	border: 4px solid yellow;
}

p {
	color: white;
	font-size: 20px;
	font-family: "Roboto", sans-serif;
}

#donatebutton, #donatebutton2 {
    cursor: pointer;
    font-size: 6vh;
    font-weight: 1000;
    margin: 0px auto;
    display: block;
    background-color: var(--red);
    color: white;
    box-shadow: 0.5vh 0.5vh 0.5vh black;
    transition-duration: 0.25s;
    padding: 0.5vh 1vh;
}

#donatebutton:hover, #donatebutton2:hover {
	background-color: #ff0000;
	box-shadow: 1vh 1vh 0.5vh black;
}

.nav {
	text-align: center;
}

.nav a {
	color: white;
	font-family: sans-serif;
	font-size: 22px;
	font-weight: 600;
	padding: 10px 10px 0.5vh 10px;
	display: inline-block;
}

#header {
	position: sticky;
	top: 0;
	z-index: 10;
	width: 100%;
	background: #05397b;

	text-align: center;
	font-size: 9vh;
	font-family: "Archivo Black", Sans-serif;
	font-weight: 1000;
	color: white;

	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	padding-left: 1vw;
	padding-right: 1vw;

	flex-wrap: wrap;
	overflow: hidden;
}

#header a {
	text-shadow: 0.5vh 0.5vh 0.5vh black;
	color: white;
	text-decoration: none;
	font-family: "Archivo Black", sans-serif;
	font-weight: normal;
}

#header span {
	color: var(--red);
	font-family: "Archivo Black", sans-serif;
	font-weight: normal;
}

body {
}

#map {
	width: 100%;
	margin: auto;
	display: block;
}

path:hover {
	fill: white !important;
	filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
}

path {
	fill: #999;
	stroke: #111;
	stroke-width: 0.4;
	transition-duration: 0.5s;
	cursor: pointer;
}

.buttons {
	text-align: center;
}

.button, button {
	text-decoration: none;
	background: white;
	color: black;
	font-size: 20px;
	font-weight: bold;
	padding: 10px;
	border: none;
	border-radius: 0.5vh;
	transition-duration: 0.25s;
	box-shadow: 0.5vh 0.5vh 0.5vh black;
	cursor: pointer;
	width: fit-content;

	margin: 10px auto;
	display: block;
}

.button:hover, button:hover{
	background: var(--red);
	color: white;
	box-shadow: 1vh 1vh 1vh black;
}

.red-button {
	background: var(--red);
	color: white;
}

.red-button:hover {
}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
	margin: 1vh auto;
	padding: 2vw;
	width: 100%;
}

.slideshow-buttons {
	font-size: 1.5vw;
}

.blackbuttons a {
	color: black;
}

.blackbuttons a:hover {
	color: white;
}

.blackbuttons img {
	border-color: black !important;
}

/* Hide the images by default */
.mySlides {
	display: none;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.mySlides img {
	width: 100%;
	border: 4px solid white;
}

/* Next & previous buttons */
.prev {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	margin-top: -22px;
	padding: 16px;
	font-weight: bold;
	font-size: 18px;
	border-radius: 3px 0 0 3px;
	user-select: none;
	left: 0;
	translate: -100% 0px;
}

/* Position the "next button" to the right */
.next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	margin-top: -22px;
	padding: 16px;
	font-weight: bold;
	font-size: 18px;
	border-radius: 0 3px 3px 0;
	user-select: none;
	right: 0;
	translate: 100% 0px;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.donorbox {
	position: unset;
	border-radius: 1vh;
}

footer {
	margin-top: 60px;
	margin-bottom: 60px;
	text-align: center;
}

footer p {
	font-size: 16px;
}

#donate, #donate2 {
	position: fixed;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	z-index: 1000;

	text-align: center;
	margin: 20px auto;
	width: 400px;
	box-shadow: 1vh 1vh 1vh black;
	background-color: white;
	border-radius: 1vh;

	left: 200%;
        transition: left 0.3s ease;

	max-height: 90vh;
	overflow-y: auto;
	max-width: 90vw;
}

.donate-slide {
	left: 50% !important;
}

#overlay {
	position: fixed;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	z-index: 999;
	width: 100%;
	height: 100%;

	pointer-events: none;
	transition: all 0.3s ease;
}

.darken {
	background: rgba(0, 0, 0, 0.5);
}

.hidden {
	display: none !important;
}

#sortdetails {
	display: block;
	margin-top: 10px;
	color: white;
	font-size: 20px;
}

#countyselect {
	padding-top: 20px;
	text-align: center;
	display: flex;
	justify-content: center;

    padding-left: 1vw;
    padding-right: 1vw;
}

#countyselect button {
	margin: 0px;
	transition-duration: 0.5s;
	font-size: 25px;
}

#countyselect button:hover {
	cursor: pointer;
	background: var(--red);
}

#countyselect span {
	font-size: 25px;
	color: white;
	font-weight: 550;
}

#countyselect select {
	font-size: 25px;
	background-color: var(--red);
	color: white;
	border-radius: 4px;
	border: none;
	padding: 4px;
	margin: 8px;
	cursor: pointer;
}

h1 {
	font-size: 40px;
	color: white;
	text-align: center;
}

h2 {
	font-size: 1.5vw;
}

details {
	text-align: center;
	font-size: 22px;
	color: #030303;
	margin: 20px auto;
	background-color: white;
	border-radius: 8px;
	padding: 8px;
	box-shadow: 0.5vh 0.5vh 0.5vh black;
}

summary {
	font-size: 30px;
	font-weight: 800;
	cursor: pointer;
}

#countymap {
	background-color: none;
	width: 100%;
	padding-top: 20px;
	z-index: 7;
	position: relative;
}

#countymap h1 {
}

table {
	margin: auto;
}

td {
	padding: 0.5vh;
}

.centercontainer {
	max-width: 1024px;
	display: block;
	margin: auto;
	padding: 0px 40px;
}

.articlecontainer {
	background-color: white;
	box-shadow: 0px 0.5vh 0.5vh black;
	z-index: 7;
	position: relative;
}

.article {
	max-width: 1024px;
	display: block;
	margin: auto;
	padding: 40px;
}

.article h1 {
	color: var(--red);
	font-size: 50px;
	font-weight: 1000;
	text-align: left;
	margin-bottom: 20px;
}

.article h2 {
	color: black;
	font-weight: bolder;
	text-align: left;
	margin: 20px 0px;
}

.article p {
	color: #444;
	text-align: left;
	font-weight: normal;
	line-height: 1.75;
	font-size: 22px;
}

#news {
	background-color: var(--red);
	width: 100%;
	padding-top: 20px;
	padding-bottom: 20px;
	box-shadow: 0px 0.5vh 0.5vh black;
	z-index: 8;
	position: relative;
}

#news h2 {
	text-align: center;
	font-size: 40px;
	margin: 20px;
	color: white;
}

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

.faq-column {
	display: grid;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.newsbox {
	background-color: white;
	width: 320px;
	margin: 20px;
	padding: 20px;
	box-shadow: 0.5vh 0.5vh 0.5vh black;
	transition-duration: 0.5s;
	border-radius: 4px;
	text-decoration: none;
}

.newsbox:hover {
	box-shadow: 10px 10px 0.5vh black;
}

.newsbox h3, .item h2 {
	color: var(--blue);
	font-size: 25px;
	font-weight: 1000;
	text-align: left;
}

 .item h1 {
	color: var(--red);
	font-size: 35px;
	font-weight: 1000;
	text-align: center;
}

#header a {
	flex: 1;
}

.left-group, .right-group {
	display: flex;
	flex: 1;
	gap: 1vh; /* or your preferred space between the buttons */
	height: 100%;
}

.right-group {
	justify-content: flex-end;
}

.newsbox p {
	color: black;
	text-align: left;
	overflow-wrap: break-word;
	word-break: break-word;
}

.newsbox span, .item span {
	color: var(--red);
}

.headerdonate {
    top: 1vh;
    right: 2vh;
}

#narrowdonate {
	display: none;
}

.content {
	padding: 20px;
}

#narrowdonate {
	background-color: white;
	padding: 20px;
	box-shadow: 0px 0.5vh 0.5vh black;
	z-index: 9;
	position: relative;
}

.hidebutton {
	background-color: var(--red);
	color: white;
}

.hidebutton:hover {
	background-color: red;
	color: white;
	cursor: pointer;
}

.youtube {
	display: block;
	padding-bottom: 56.25%;
	height: 0;
	position: relative;
	overflow: hidden;
	border-radius: 1vh;
	box-shadow: 0.5vh 0.5vh 0.5vh black;
}

.carousel {
	display: grid;
	grid-template-columns: 5% 90% 5%;
	align-items: center;
	width: 80%;
	margin: auto;
	justify-items: center;
}

#result {
	color: var(--blue) !important;
	font-size: 40px;
	font-weight: 550;
}

#w_m_data {
	position: absolute;
	top: 50%;
	right: 50%;
	translate: 50% -50%;
	width: 60%;
	background: white;
	border-radius: 4px;
	color: black;
	padding: 20px;
	text-align: center;
	box-shadow: 0.5vh 0.5vh 0.5vh black;
}

#multnomah_data {
	width: 50%;
	float: left;
}

#wallowa_data {
	width: 50%;
	float: right;
}

#multnomah_data h1 {
	color: var(--blue);
}

#wallowa_stat, #multnomah_stat {
	text-align: center;
	padding: 10px;
}

.wide {
	max-width: 1400px;
}

.blue {
	background-color: var(--blue);
}

#navmenu img {
	width: 80%;
	margin: auto;
	display: block;
}

/* Styles for the navmenu */
#navmenu {
	display: flex;
	flex-direction: column;
	align-items: start;
	height: 100%;
	width: 12vw;
	overflow-x: hidden;
	z-index: 90;

	box-shadow: 0.25vw 0 0.25vw black;
	top: 0;
}

/* Style for each link in the navmenu */
#navmenu a, #adminmenu a {
	padding: 0.5vw 0.75vw;
	text-decoration: none;
	font-size: 1vw;
	color: white;
	display: block;
	width: 100%;
	transition-duration: 0.25s;
	font-weight: bold;

	pointer-events: all;
}

#navmenu a:hover, #adminmenu a:hover {
	color: black;
	background: white;
}

#adminmenu {
	display: flex;
	flex-direction: column;
	align-items: start;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 12vw;
	background-color: var(--red);
	overflow-x: hidden;
	z-index: 100;
	box-shadow: 0.5vh 0px 0.5vh black;
}

.admin-link {
	background: var(--red);
}

.fit {
	width: fit-content;
}

/* scrollbar customization */
/* For Webkit browsers like Chrome, Safari */
html::-webkit-scrollbar {
    width: 0.5vw;  /* Adjust width of the scrollbar */
}

html::-webkit-scrollbar-track {
    background: #030303;  /* Background color of the track */
}

html::-webkit-scrollbar-thumb {
    background: white;  /* Color of the moving scrollbar element */
}

html::-webkit-scrollbar-thumb:hover {
    background: #white;  /* Slightly different shade of orange when hovered */
}

.center {
	margin: auto;
	display: block;
}

.text-center {
	text-align: center !important;
}

input, textarea {
	width: 100%;
}

.add-news {
	width: 50%;
	background: #ccc;
	padding: 10px;
	box-shadow: 0.5vh 0.5vh 0.5vh black;
	transition-duration: 0.5s;
	border-radius: 4px;
}

label, input, textarea, select {
	font-size: 18px;
}

.item {
	background-color: white;
	width: 60vw;
	padding: 20px;
	box-shadow: 0.5vh 0.5vh 0.5vh black;
	transition-duration: 0.5s;
	border-radius: 4px;
	text-decoration: none;
}

.item pre, .item p {
    color: #333;
    font-size: 18px;
    text-align: left;
    text-wrap: wrap;
    line-height: 1.75;
    font-weight: 400;
    margin-top: 1vh;
    margin-bottom: 1vh;
}

#adminmenu h2 {
	color: white;
	padding: 0.5vw 0.75vw;
}

.submit {
	padding: 10px;
	cursor: pointer;
	margin: 0;
	background: var(--blue);
	color: white;
}

#menu-button-container {
	height: 6vh;
	aspect-ratio: 3;
	padding: 1vh;
	display: grid;
	grid-template-columns: 1fr 1fr; /* Creates two columns with equal width */
	position: fixed;
	z-index: 1000;
}

.menu-button, .search-button {
    cursor: pointer;
    border-radius: 25%;
    width: 100%;
    height: auto;
    object-fit: cover;
    padding: 10%;
    filter: invert(1);
}

#open {
    filter: invert(1);
    height: 8vh;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

#team-banner {
	cursor: pointer;
	font-size: 5vh;
	font-weight: 1000;
	margin: 0px auto;
	display: block;
	background-color: yellow;
	color: black;
	text-align: center;
	text-decoration: none;
	box-shadow: 0.5vh 0.5vh 0.5vh black;
	transition-duration: 0.25s;
	border-radius: 1vh;
	background-color: var(--red);
	color: white;
	padding: 0.5vh 1vh;
}

#team-banner:hover {
	background-color: neonyellow;
	box-shadow: 10px 10px 0.5vh black;
	background-color: #ff0000;
}

.item img {
	width: 50%;
	height: auto;
	display: block;
	margin: auto;
	border-radius: 0.5vh;
}

.item h3, .item a {
	color: var(--blue);
	font-size: 18px;
	line-height: 1.5;
}

.half {
	width: 50% !important;
	display: block;
	margin: auto;
}

.eighty {
	width: 80% !important;
	display: block;
	margin: auto;
}

.twin {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Creates two columns with equal width */
    gap: 20px; /* Optional: Adds space between columns */
}

.vert-cent {
    display: flex;
    align-items: center; /* Vertically centers the content */
    justify-content: center; /* Horizontally centers the content (optional) */
    height: 100%; /* Set a specific height or inherit it from parent */
}

.parallax {
	height: 40vh;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;	
	border-top: 5vh solid var(--blue);
	border-bottom: 5vh solid var(--blue);

	height: 10vh;
	border: 0;
	background: none !important;
}

.parallax .section {
	height: 100%;
	filter: contrast(150%);

	/* Flexbox properties for vertical centering */
	display: flex;
	align-items: center;
	justify-content: center;

}

.parallax p {
	font-size: 28px;
}

.section {
	padding-left: 16vw;
	padding-right: 16vw;
	padding-top: 2vh;
	padding-bottom: 2vh;

	background: none;
}

.admin-options {
    position: fixed;
    right: 4vw;
    width: 12vw;
    display: flex;
    flex-direction: column;
    border-radius: 0.5vw;
    padding: 1vw;
    color: white;
	text-align: center;
}

.thirty {
	width: 30vw;
}

.calendar {
    display: block;
    margin: auto;
    width: 55%;
    aspect-ratio: 4/3;
    box-shadow: 0.5vh 0.5vh 0.5vh black;
	margin-bottom: 2vh;
}

.calendar iframe {
	position: relative !important;
}

#searchInput {
	padding: 1vh;
    box-shadow: 0.5vh 0.5vh 0.5vh black;
	border-radius: 0.5vh;
}

@media screen and (orientation: landscape) {
	.right-margin {
		position: fixed;
		right: 2vw;
		width: 16vw;
		color: white;

	}

	#navmenu {
		left: 0 !important;
		padding-top: 0;
	}

	#open {
		display: none;
	}
}

@media screen and (orientation: portrait) {
	.right-margin {
		color: white;
		margin-bottom: 2vh;
	}

	#team-banner {
		font-size: 25px;
	}

	.section {
		padding-left: 2vw;
		padding-right: 2vw;
	}

	.newsbox, .item {
		width: 100%;
	}

	h3 {
		font-size: unset;
	}

	.headerdonate {
		display: none;
	}

	#narrowdonate {
		display: block !important;
	}

	#navmenu {
		width: fit-content;
		background: var(--blue);
		box-shadow: none;

		top: 8vh;
		padding-bottom: 2vh;
	}

	#adminmenu, .admin-options {
		display: none;
	}

	#navmenu a, #adminmenu a, #adminmenu h2 {
		font-size: 8vw;
		padding: 2vw;
	}

	#navmenu img {
		display: none;
	}

	#header {
		font-size: 8vw;
		height: 8vh;
	}

	#open {
		height: 4vh;
		margin: 2vh;
	}

	.carousel {
		width: 100%;
		display: block;
	}

	.slideshow-buttons {
		display: none;
	}

	#countyselect button {
		display: none;
	}

	.eighty, .sixty, .fifty, .thirty, .calendar, details, #beta_key, .narrow {
		width: 100% !important;
	}

	.item img {
		width: 100% !important;
		height: auto !important;
	}

	.centercontainer {
		padding: 0;
	}

	h2 {
		font-size: 2vh;
	}

	.twin {
		grid-template-columns: 1fr;
	}

}
























