#masthead {
	position: relative;
	width: 100%;
	padding: 2rem 0 1.6rem;
	margin-bottom: .5rem;
	border-bottom: 5px solid var(--color-red);
	z-index: 999;
	transition: all .25s;
}
#masthead .container {
	display: grid;
	grid-template-columns: 14rem auto;
	column-gap: 3rem;
}
.site-logo {
	position: relative;
	display: flex;
	align-items: center;
	z-index: 9;
}
#logo { 
	position: relative;
	display: block;
}
.custom-logo-link { display: block; }
.site-navigation {
	position: relative;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	z-index: 1;
}

#nav {
    position: relative;
    line-height: 1;
}

#mainNavbars li {
	display: block;
}
#mainNavbars li a {
    display: block;
	padding-block: 1rem;
	color: #000;
	font-size: 16px;
	font-weight: 600;
}
#mainNavbars li:hover > a,
#mainNavbars li.active > a {
	color: var(--color-red);
}
#main-menu {
	display: flex;
	flex-direction: column;
}
#main-menu .dropdown-toggle::after {
	content: '\f107';
	display: inline-block;
	color: #000 !important;
	font:900 10px/1 'Font Awesome 6 Free';
	vertical-align: baseline;
	border: none;
}
#main-menu .dropdown.hover .dropdown-menu {
	display: block;
}
#main-menu .dropdown-menu a {
	display: block;
	clear: both;
	white-space: nowrap;
}
#main-menu .dropdown-menu li:hover a {
	background: none;
}


.navbar-open {
	cursor: pointer;
    position: relative;
	width: 3.4rem;
	height: 3.4rem;
	padding: 2px;
	border: 0;
	background: none;
    z-index: 1;
}
.navbar-open:hover, .navbar-open:focus {
	outline: none;
	box-shadow: none;
	background: none;
}
.navbar-open .icon-bar {
	position: relative;
	display: block;
	width: 100%;
	height: 3px;
	margin: 0;
	background: #000;
	transition: transform 0.2s, background 0.3s;
}
.navbar-open .icon-bar:before,
.navbar-open .icon-bar:after {
	content: '';
	position: absolute;
	top: 9px;
	left: 0;
	width: 100%;
	height: 3px;
	background: #000;
	transition: top .2s .3s ease, transform .2s ease, background 0.3s;
}
.navbar-open .icon-bar:after { top: -9px; }
.is-open .navbar-open .icon-bar {
	background: transparent;
}
.is-open .navbar-open .icon-bar:before, 
.is-open .navbar-open .icon-bar:after {
  top: 0;
  height: 2px;
  transform: rotate3d(0, 0, 1, 45deg);
  transition: top .3s ease, transform .3s .4s ease, background 0.3s;
}
.is-open .navbar-open .icon-bar:after {
  transform: rotate3d(0, 0, 1, -45deg);
}
.navbar-close {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: 0;
    background: transparent;
    z-index: -1;
}
.is-open .navbar-close {
    z-index: 9;
}

/* FOOTER */

#branding {
	padding: 4rem 2rem 2rem;
	text-align: center;
	background: #000;
}

#footer {
	color: #fff;
	padding: 4rem 0;
	border-top: 5px solid var(--color-red);
	background: var(--color-dark-navy);
}
#footer section {
	padding: 1.5rem 0;
	text-align: center;
}
#footer a {
	color: #fff;
	transition: all .25s;
}
#footer a:hover {
}

.footer-nav .nav {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	padding-bottom: 4rem;
}
.footer-nav li {
	display: inline-block;
}
.footer-nav li a {
	font-size: 2rem;
}
.footer-nav li a:hover {
	opacity: .7;
}

#social {
	display: flex;
	justify-content: center;
	gap: 2rem;
	padding-bottom: 3rem;
}
#social a {
	display: inline-block;
	width: 3rem;
	height: 3rem;
	color: #000;
	font-size: 1.6rem;
	line-height: 3rem !important;
	text-align: center;
	background: #fff;
	border-radius: 50%;
}
#social a .fab {
	line-height: 3rem;
}
#social a:hover {
	color: #fff;
	background: var(--color-red);
}

.copyright p {
    font-size: 1.4rem;
	text-align: center;
	margin: 0;
}

@media (min-width: 768px) {

	#masthead {
	/*	position: fixed; 
		top: 0;
		left: 0; */
		padding-block: 2.8rem 1.8rem;
	}/*
	.logged-in #masthead { top: 46px; }
*/	
	
	#footer { padding: 4.25rem 0 4rem; }

}
/*
@media (min-width: 783px) {
	.logged-in #masthead { top: 32px; }
}*/

@media (min-width: 992px) {
	/*
	#masthead { padding: 25px 0; } */
	#masthead .container {
		grid-template-columns: 24.6rem auto;
	}
	.site-navigation {/*
		justify-content: space-between;*/
		align-items: flex-end;
		column-gap: 2rem;
	}
	.navbar-open { display: none !important; }
	.site-navigation .navbar { width: 100%; }
	#mainNavbars {
        display: flex;
		justify-content: flex-end;
		gap: 2.5rem;
	}
	#main-menu {
		flex-direction: row;
		justify-content: flex-end;
		align-items: center;
		gap: 2.5rem;
	}
	#main-menu > li {}
	#main-menu .dropdown-menu {
		min-width: 18rem;
		top: calc(100% - 2px);
		padding: 1rem 1.5rem .75rem;
		border: 0;
		border-top: 2px solid #272222;
		border-radius: 0;
		background: #efefef;
	}
	#main-menu .dropdown:hover .dropdown-menu {
		display: block;
	}
	#main-menu .dropdown-menu li+li { border-top: 1px solid rgba(0,0,0,.1); }
	#main-menu .dropdown-menu a { padding: .55rem .25rem; }

	#footer { padding-block: 4.5rem 4rem; }

}

@media (min-width: 1160px) {

	#mainNavbars { gap: 5rem; }
	

}

@media (min-width: 1280px) {

	#mainNavbars { gap: 7.5rem; }
	#main-menu { gap: 5rem; }
	
}

@media (min-width: 1330px) {


}

@media (min-width: 992px) and (max-width: 1279px) {


}

@media (max-width: 991px) {

	#mainNavbars {
        position: absolute;
        top: calc(100% + 2.3rem);
        right: -4.8rem;
        transform: translateX(100%);
        width: 30rem;
        padding: 2rem;
        background: #fff;
        opacity: .15;
        transition: all .3s;
    }
    .is-open #mainNavbars {
        opacity: 1;
        transform: translateX(0);
    }
    #main-menu { padding-bottom: 2rem; }
    #mainNavbars li a {
        width: 100%;
        padding-block: 1.5rem;
    }
    #side-menu { text-align: center; }
	
}

@media (min-width: 768px) and (max-width: 991px) {

}

@media (max-width: 767px) {
	
    #side-menu { display: none; }
	
}