
#page_menu{
	color:black;
	align-self: center;
}

#page_menu a{
	font-size:20px;
	text-transform:uppercase;
}

#page_menu a:link {text-decoration: none; font-weight:bold; color:black;}
#page_menu a:visited {text-decoration: none; font-weight:bold; color:black;}
#page_menu a:active {text-decoration: underline; font-weight:bold; color:black;}
#page_menu a:hover {text-decoration: underline; font-weight:bold; color:black;}


.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-menu > li {
  position: relative;
  display: inline-block;
}
.nav-menu > li .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  list-style: none;
  padding: 0;
  margin: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.nav-menu > li:hover .sub-menu {
  display: block;
}
.nav-menu a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
}
.nav-menu a:hover {
  background: #f0f0f0;
}   

#menu {
	color:white;
	background-color:#0274be;
	z-index: 9999;
	position: relative;	
}


#contact_header{
	background-color:#0274be;
	display:flex;
	width:100%;	
	justify-content:space-around;
	margin-left:auto;
	margin-right:auto;	
}

#contact_header div {
	box-sizing:border-box;
	padding:10px;
	
}

#banner {
	background-color:white;
	display:flex;
	justify-content:space-around;
}

#logo {
	box-sizing:border-box;
	padding:15px;
}

#logo img {
	max-height:150px;
}

#open_tabs {
	display:flex;
	justify-content:center;
	font-size: 24px;
}

#open {
	cursor:pointer;
}

#open_tabs div {
	box-sizing:border-box;
	padding:20px;
}

#open:hover {text-decoration: underline; font-weight:bold; color:white;}

.tab_name:hover {text-decoration: underline; font-weight:bold; color:white;}

.menu_link:link {text-decoration: none; font-weight:300; color:white;}
.menu_link:visited {text-decoration: none; font-weight:300; color:white;}
.menu_link:active {text-decoration: none; font-weight:300; color:white;}
.menu_link:hover {text-decoration: underline; font-weight:bold; color:white;}

#menu_tabs {
	display:flex;
	justify-content:center;
}

#menu_tabs div {
	box-sizing:border-box;
	/*padding:20px;*/
	color:black;
}

#menu_tabs div:hover {
}

#tabs{
	display:none;
	background-color: floralwhite;
	padding:20px;
	border-radius:100px;
}

.tab {	
	display:contents;
	justify-content:center;	
	position:absolute;
	z-index:999;
	pointer-events:all;
}

.tab_name {
	z-index:999;
	padding: 20px;
	cursor:pointer;
}

.tab_name a:link {text-decoration: underline; font-weight:bold; color:black;}
.tab_name a:visited {text-decoration: underline; font-weight:bold; color:black;}
.tab_name a:active {text-decoration: underline; font-weight:bold; color:black;}
.tab_name a:hover {text-decoration: none; font-weight:bold; color:black;}

.tab_contents {
	position:absolute;
	z-index:998;
	color:black;
	display:none;
	background-color: floralwhite;
	padding: 20px;	
	margin-top: 100px;
	border-radius:20px;
	
}

.tab_contents_wrap{
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, 110px);
	gap: 1rem;	
	margin-top: 30px;
}

.tab_contents_wrap div {
	/*display:inline-block;*/
}

.tab_contents_wrap a:link {text-decoration: none; font-weight:bold; color:black;}
.tab_contents_wrap a:visited {text-decoration: none; font-weight:bold; color:black;}
.tab_contents_wrap a:active {text-decoration: none; font-weight:bold; color:black;}
.tab_contents_wrap a:hover {text-decoration: underline; font-weight:bold; color:black;}

nav input[type=checkbox]{display:none;}

nav input[type=checkbox]:checked + #tabs_wrapper #tabs {
	display:flex;
	justify-content: center;
}

nav input[type=checkbox]:checked + #tabs_wrapper {
	height:100%;
	position: absolute;
	display:block;
}

#tabs_wrapper{	
	text-align:left;
	display:none;
	z-index: 999;	
	filter: drop-shadow(5px 5px 10px #000000);
	/*background-color: aqua;*/	
	pointer-events:none;
}

#search {
	width:100%;
	text-align:center;
	margin-left:auto;
	margin-right:auto;
	box-sizing:border-box;
	padding:15px;
	display: flex;
	justify-content: center;	
}

#search_wrapper{
	margin-left:auto;
	margin-right:auto;
	background-color:white;
	color:black;
	z-index:999;
	position:absolute;	
	border-radius:10px;
	width: 50%;	
	margin-top: 3%;
	display:none;
	filter: drop-shadow(5px 5px 10px #000000);	
}

#search_results {
	display:flex;	
	justify-content:center;
	margin-top: 25px;
	/*background-color:#b9c6e5;*/
	/*position:absolute;*/
}

#search_results {
	display: grid;
	grid-template-columns: repeat(5, 110px);
	/*gap: 1rem;		*/
}

#search_results div {
	padding:10px;	
}

#search_results a:link {text-decoration: none; font-weight:bold; color:black;}
#search_results a:visited {text-decoration: none; font-weight:bold; color:black;}
#search_results a:active {text-decoration: none; font-weight:bold; color:black;}
#search_results a:hover {text-decoration: underline; font-weight:bold; color:black;}

#filter_search {
	border-radius: 10px;
	border: 0;
	box-sizing: border-box;
	padding: 10px;
	width: 300px;
	font-size: 20px;
	text-align: center;	
}

@media only screen and (min-width : 1024px){	
	
	/*
	.menu-item:hover * {	
		height:100%;
	}
	*/

}

@media only screen and (min-width : 0px) and (max-width : 1400px) {		

	#open_tabs{
		font-size:22px;
		flex-flow: column wrap;
		justify-content: center;
		text-align: center;
	}
	
	#open_tabs div{
		font-size:22px;
		padding:5px;
	}	
	
}

@media only screen and (min-width : 0px) and (max-width : 1200px) {	

	.menu-item-has-children {
		pointer-events:none;
		background-color:rgba(127,153,206,0.4);
	}

	.nav-menu > li .sub-menu{
		pointer-events:all;
		position:relative;
		display:block;
		border-left:1px solid black;
		border-right:1px solid black;
		border-bottom:1px solid black;
		box-shadow:unset;
	}

	#intro_video_bg {
		height: 150%;
	}

	#search_wrapper{
		width: 70%;
		margin-top: 12%;
		box-shadow: 0 2px 5px rgba(0,0,0,0.5);
	}

	#search_results{
		grid-template-columns: repeat(3, 110px);		
	}
	
	.nav-menu > li {
		display:block;
	}

}


@media only screen and (min-width : 0px) and (max-width : 1024px) {	

	

	#search_wrapper{
		width:95%;
	}

	.tab_name {
		padding: 0px;
		text-align: center;
	}

	.tab_contents_wrap {
		grid-template-columns: repeat(3, 110px);
	}
	
}