#header {
	background-position: center top;
	background-repeat: no-repeat;
	min-height: 100px;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	z-index: 999;
}
@media (min-width: 1080px) {
	#header {
		background-size: cover;
	}
}
.isSubpage .header-inner {
    position: relative;
    top: 10px;
}
#header .header-title {
	position: relative;
	float: left;
	min-height: 100px;
	width: 50%;
}
#header .header-title a {
	position: absolute;
	top: 0;
	bottom: 20px;
	left: 10px;
	background-position: left center;
	background-repeat: no-repeat;
	background-size: contain;
	display: block;
	font-size: 24px;
	font-weight: bold;
	line-height: 24px;
	text-indent: -9999px;
	text-transform: uppercase;
	width: 200px;
}

@media (min-width: 768px) {
	#header .header-title a {
		background-size: contain;
		width: 275px;
	}
}
@media (min-width: 1080px) {
	#header .header-title a {
		background-size: contain;
		width: 240px;
	}
}
@media (min-width: 1200px) {
	#header .header-title a {
		background-size: contain;
		width: 350px;
		height: 120px;
	}
}

@media (max-width: 1079px) {
	#header ul.main-items>li>a {
	  line-height: 30px;
	  overflow: hidden;
	  padding: 10px;
	  font-size: 22px;
	  background: #fff;
	  color: #172B57;
	}
  
	#header ul.main-items {
	  height: unset;
	  background: #fff;
	  box-shadow: 1px 3px 6px #00000080;
	}
}
#header .nav-section {
	float: right;
	min-height: 100px;
	width: 50%;
}
@media (min-width: 1080px) {
	#header .nav-section {
		min-height: 120px;
	}
}
#header ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#header ul>li {
	margin: 0;
	padding: 0;
}
#header ul>li>a {
	display: block;
	margin: 0;
	padding: 0;
}

#header .toggle-wrap {
	position: absolute;
	top: 0;
	right: 0;
}

#header .items-toggle {
	background-color: transparent;
	border: 0;
	border-left-style: solid;
	border-left-width: 1px;
	font-size: 18px;
	font-weight: bold;
	height: 60px;
	line-height: 60px;
	margin: 10px 0;
	margin-right: 10px;
	padding: 0 20px;
	text-shadow: 1px 1px #111;
	text-transform: uppercase;
	color: #fff;
}
#header .items-toggle:active, #header .items-toggle:focus, #header .items-toggle:hover {
	outline: 0;
}
#header .items-toggle .icon-bar-wrap {
	margin-bottom: -2px;
	margin-right: 5px;
}
#header .items-toggle .icon-bar {
	border-bottom: 1px solid rgba(0, 0, 0, 0.75);
	border-left: 1px solid rgba(0, 0, 0, 0.75);
	display: block;
	width: 18px;
	height: 3px;
	border-radius: 4px;
	background-color: #fff;
}
#header .items-toggle .icon-bar+.icon-bar {
	margin-top: 4px;
}
#header .items-toggle .icon-bar-wrap, #header .items-toggle .icon-bar-label { display: inline-block; }

#header .items-wrap {
	display: none;
	margin-top: 80px;
	margin-left: -100%;
	padding: 0px;
	z-index: 99;
	position: relative;
}
#header .nav-section.open>.items-wrap {
	display: block;
}

#header ul>li>a {
	border-top-style: solid;
	border-top-width: 0;
	font-weight: 700;
	line-height: 50px;
	padding: 0px 20px;
	transition: background-color .2s, color .2s;
}
#header ul.secondary-items>li>a {
	font-weight: 500;
}

#header ul>li.dropdown>a {
	background-position: 97% center;
	background-repeat: no-repeat;
}
#header ul>li.dropdown.open>a {
	border-bottom-style: solid;
	border-bottom-width: 0px;
}

#header .dropdown-menu {
	border: 0;
	border-radius: 0;
	margin: 0;
}
#header .dropdown-menu>li>a {
	border: 0;
	font-weight: 500;
	line-height: 50px;
	overflow: hidden;
	padding: 0 15px;
	text-overflow: ellipsis;
	font-size: 20px;
}

@media (min-width: 1200px) {
	#header .dropdown-menu > li > a {
		font-size: 22px;
	}
}
@media (min-width: 1600px) {
	#header .dropdown-menu > li > a {
		font-size: 24px;
	}
}



#header li.dropdown ul a:hover { background-color: #e6e6e6;}
#header .nav_search>a.dropdown-toggle {
	background-position: center;
	background-repeat: no-repeat;
	outline: 0;
	text-indent: -10000px;
	width: 54px;
}
#header .nav_search.dropdown .dropdown-menu {
	margin: 0;
	padding: 0;
}
#header .nav_search form {
	position: relative;
	border-top-style: solid;
	border-top-width: 1px;
	font-size: 16px;
	font-weight: 400;
	margin: 0;
	padding: 0;
}
#header .nav_search form label {
	display: none;
}
#header .nav_search form .search-input {
	background-color: transparent;
	border: 0;
	display: block;
	height: 49px;
	line-height: 49px;
	min-width: 300px;
	padding: 0 20px;
	outline: none;
	font-size: 22px;
	width: 100%;
}
#header .nav_search form button {
	position: absolute;
	display: block;
	top: 0;
	right: 0;
	background-position: center;
	background-repeat: no-repeat;
	border: 0;
	height: 49px;
	margin: 0;
	padding: 0;
	text-indent: -10000px;
	outline: 0;
	width: 49px;
}

@media (max-width: 1079px) {
	#header .nav_search .dropdown-toggle {
		display: none;
	}
	#header .nav_search .dropdown-menu {
		position: static;
		
		display: block;
		float: none;
	}	
}
@media (min-width: 1080px) {
	#header .nav_search .dropdown-menu {
		right: 0;
		left: auto;
	}
	#header .nav_search form {
		border: 0;
	}
}

@media (max-width: 399px) {
	#header .items-toggle {
		border-left: none;
	}
	#header .items-toggle .icon-label {
		display: none;
	}
}

@media (max-width: 767px) {
	.page-home #header.has-open-menu {
		position: relative;
	}
}

@media (min-width: 768px) and (max-width: 1079px) {
	/*#header .items-toggle {
		margin-right: 10px;
	}*/
	#header .nav-section.open>.items-wrap {
		position: absolute;
		top: -20px;
		right: 10px;
		
		padding: 0;
		width: 300px;
	}
	#header ul>li.dropdown>a {
		background-position: 275px center;
	}
	#header .nav-section.open .items-toggle, #header .nav-section.open .main-items-wrap {
		box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.25);
	}
}

/* max: 1079*/
@media (max-width: 1079px) {
	#header .dropdown.open .dropdown-menu {
		position: static;
		background-color: #fff;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		float: none;
		margin-top: 0;
		padding: 0 20px;
		width: auto;
	}
	#header .dropdown.open .dropdown-menu>li:last-child {
		border: 0;
	}
}
@media (min-width: 1080px) {
	#header .header-title {
		width: 28%;
	}
	#header .main-nav-section {
		width: 72%;
	}
	#header .items-toggle {
		display: none;
	}
	
	#header .secondary-items-wrap {
		padding-right: 20px;
		text-align: right;
	}
	#header .secondary-items-wrap .secondary-items {
		border-bottom: 1px solid white;
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: flex-end;
	}
	#header ul.secondary-items>li {
		display: block;
		float: left;
	}
	#header ul.secondary-items>li>a {
		background-color: transparent;
		background-repeat: no-repeat;
		background-position: 18px center;
		line-height: 49px;
		padding-left: 18px;
		padding-right: 18px;
	}
	
	#header .items-wrap {
		background-color: transparent;
		display: block;
		float: right;
		margin: 0;
		margin-top: 20px;
		/*min-width: 650px;*/
	}
	#header .has-secondary-items .items-wrap {
		margin-top: 20px;
	}	
	#header ul.main-items {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: flex-end;
		align-items: center;
		height: 80px;
		margin-right: 10px;
	}
	#header .has-secondary-items ul.main-items {
		height: 70px;
	}
	#header ul.main-items>li {
		display: block;
	}
	#header ul.main-items>li>a {
		line-height: 1.1;
		max-height: 80px;
		overflow: hidden;
		padding-right: 12px;
		padding-left: 12px;
	}
	#header .has-secondary-items ul.main-items>li>a {
		line-height: 1.5;
		height: 70px;
		display: flex;
		align-items: center;
	}
	#header ul>li.dropdown.open > .dropdown-menu {
		box-shadow: 2px 5px 5px 2px rgba(0, 0, 0, 0.25);
	}
	#header ul>li.dropdown>a {
		background-image: none;
	}
	#header li.dropdown ul a {
		border-bottom-style: solid;
		border-bottom-width: 1px;
	}
	#header li.dropdown ul li:last-child a {
		border: 0;
	}
	#header .has-secondary-items li.nav_search.dropdown { border-left: none; margin-left: 0; }
}
/* Header adjustments */

#icon-bar div {
	float: left;
	width: 20%;
	padding: 15px;
}

#icon-bar a {
	text-align: center !important;
	float: unset !important;
}

@media (min-width: 1080px) {
	#header ul.main-items>li>a {
		padding-top: 10px;
		padding-bottom: 10px;
		padding-right: 10px;
		padding-left: 10px;
		font-size: 18px;
		font-weight: bold;
		color: #FFFFFF;
		border-radius: 5px;
	}
	li.nav_search.dropdown {
		border-left: 1px solid #ffffff40;
		margin-left: 10px !important;
	}
}
@media (min-width: 1200px) {
	#header ul.main-items>li>a {
		font-size: 20px;
	}
}
@media (min-width: 1450px) {
	#header ul.main-items>li>a {
		font-size: 24px;
		padding: 10px 15px;
	}
}
/* Per Fil removing 30px font size for > 1600px (too big) :: STA 20220803
@media (min-width: 1600px) {
	#header ul.main-items>li>a {
		font-size: 30px;
	}
}
*/
/* NEW SCHOOLS BUTTON */
#header .school-button .dropdown-menu{ left: unset; right: 0; }
#header ul.main-items>li.school-button>a {
	line-height: 34px;
	overflow: hidden;
	padding-right: 16px;
	padding-left: 16px;
	padding-top: 8px;
	padding-bottom: 8px;
	color: #343D47;
	text-transform: uppercase;
	background-color: #FFEE9A;
	border-radius: 5px;
}
#header ul.main-items>li.school-button>a:hover,
#header ul.main-items>li.school-button>a:focus,
#header ul.main-items>li.school-button>a:focus-within
{
	background-color: #fff;
}
.fb-button { display: none; }
.instagram-button { display: none; }
.twitter-button { display: none; }
@media(min-width: 1080px){
	.fb-button {
		display: none;
		background-color: #aaa6a680;
		height: 50px;
		margin-left: 2px !important;
		border-radius: 5px;
	}
	.twitter-button {
		display: none;
		background-color: #aaa6a680;
		height: 50px;
		margin-left: 2px !important;
		border-radius: 5px;
	}
	.insta-button {
		display: none;
		background-color: #aaa6a680;
		height: 50px;
		margin-left: 2px !important;
		border-radius: 5px;
	}
	.fb-button:hover { background-color: #aaa6a6; }
	#header ul.main-items>li.fb-button>a.fb-img {
		height: 50px;
		width: 40px;
		background-image: url(../images/socials/icon-facebook.svg);
		background-repeat: no-repeat;
		background-position: center;
		background-size: 12px;
	}
	#header ul.main-items>li.twitter-button>a.twitter-img {
		height: 50px;
		width: 40px;
		background-image: url(../images/socials/icon-twitter-white-2.png);
		background-repeat: no-repeat;
		background-position: center;
		background-size: 22px;
	}
	#header ul.main-items>li.insta-button>a.insta-img {
		height: 50px;
		width: 40px;
		background-image: url(../images/socials/icon-instagram.svg);
		background-repeat: no-repeat;
		background-position: center;
		background-size: 23px;
	}
}
