/*************************************************
	Michigan Paralyzed Veterans of America
	Responsive banner styles
	Last Updated 12/01/2025
**************************************************/

/* START from foundation css */
.no-js .top-bar {
  display: none;
}
/* END from foundation css */
.skip-to-content-link {
	background: #1d527c;
	color: #fff;
	font-size: 14px;
	left: 0;
	padding: 0.5em 1.0em;
	position: absolute;
	transform: translateY(-100%);
	transition: all 0.3s ease;
	width: auto;
	z-index: 10000;
}
.skip-to-content-link:focus {
  transform: translateY(0%);
}
h2#maincontent:focus {
	border: 1px solid #000;
}
#debug {
	display: none;
	width: 100%;
}
/* START from foundation css */
.accordion-menu li {
	width: 100%;
}
.accordion-menu a {
	border-bottom: 1px solid #fff;		
	color: #fff;
	font-size: 16px;
	margin: 0 20px;
	padding: 20px 10px;
}
.accordion-menu .is-accordion-submenu a {
	border-bottom-width: 0;
	color: #fff;
	padding: 0.7rem 1rem;
}
.accordion-menu .nested.is-accordion-submenu {
	margin: 0;
	padding: 0;
}
.accordion-menu.align-right .nested.is-accordion-submenu {
	margin-right: 1rem;
	margin-left: 0;
}
.accordion-menu .is-accordion-submenu-parent:not(.has-submenu-toggle) > a {
	position: relative;
}
.accordion-menu .is-accordion-submenu-parent:not(.has-submenu-toggle) > a::after { 
	display: block;
	width: 0;
	height: 0;
	border: inset 6px;
	content: '';
	border-bottom-width: 0;
	border-top-style: solid;
	border-color: #fff transparent transparent;
	position: absolute;
	top: 50%;
	margin-top: -3px;
	right: 10px;
}
.accordion-menu.align-left .is-accordion-submenu-parent > a::after {
	left: auto;
	right: 1rem;
}
.accordion-menu.align-right .is-accordion-submenu-parent > a::after {
	color: #fff; 
	right: auto;
	left: 1rem;
}
.accordion-menu .is-accordion-submenu-parent[aria-expanded='true'] > a::after {
	-ms-transform: rotate(180deg);
	transform: rotate(180deg);
	-ms-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
}
.is-accordion-submenu-parent {
	position: relative;
}
/* END from foundation css */

/* mobile menu to 767px */
@media screen and (max-width: 767px) {
/* START from foundation css */
	.title-bar {
		background: #283645;	
		height: 88px;
		margin: 0;
		padding: 0;
		position: relative;
		text-align: center;
		width: auto;
	}
/*
	button.menu-icon {
		background: transparent;
		border-width: 0;
		display: inline-block;
		padding: 0;
		position: absolute;
		top: 2px;
		left: 15px;
		overflow: visible;
		vertical-align: middle;
		width: 30px;
		height: 30px;
		cursor: pointer;
	}
	button.menu-icon::after {
		background: white;
		display: block;
		border-radius: 2px;
		height: 4px;
		margin-top: 5px;
		width: 100%;
		box-shadow: 0 10px 0 white, 0 20px 0 white;
		-webkit-box-shadow: 0 10px 0 white, 0 20px 0 white;
		content: '';
	}
*/
	button.menu-icon {
		background: transparent;
		border-width: 0;
		display: inline-block;
		padding: 0;
		position: absolute;
		top: 14px;
		left: 15px;
		overflow: visible;
		vertical-align: middle;
		width: 30px;
		height: 30px;
		cursor: pointer;
	}
	button.menu-icon:after {
		background: white;
		display: block;
		border-radius: 2px;
		height: 5px;
		margin-top: -10px;
		width: 100%;
		box-shadow: 0 10px 0 white, 0 20px 0 white;		
/*		-webkit-box-shadow: 0 5px 0 #fff,
                0 20px 0 #1D527C,
                0 15px 0 #fff,
                0 20px 0 #1D527C,
                0 25px 0 #fff,
                0 30px 0 #1D527C,
                0 35px 0 #fff,
                0 40px 0 #1D527C;		*/		
		content: ''; 
	}	
	.menu-icon:hover::after {
		background: #ac212c;
		box-shadow: 0 10px 0 #ac212c, 0 20px 0 #ac212c;
	}
	#logo-title-bar a, #logo-title-bar {
		display: block;
		height: 101px;
		margin: 0 auto;
		position: relative;
		width: 150px;
	}
	#logo-title-bar a img, #logo-title-bar img {
		border: 1px solid #1D527C;
		border-radius: 8px;		
		height: 101px;
		margin: 10px auto 0;
		position: absolute;
		top: 0;
		left: 0;
		width: 150px;
		z-index: 10000;		
	}
	.top-bar {
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		-ms-flex-pack: justify;
		justify-content: space-between;
		-ms-flex-align: center;
		align-items: center;
		padding: 0.5rem;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		padding: 0 !important;
	}
	.top-bar ul {
		background-color: #a60f0f;
		margin: 0 !important;
		padding: 50px 0 20px;
		z-index: 500;		
	}
	.top-bar ul li {
		margin: 0 !important;
		padding: 0 0 7px;		
	}
	.top-bar ul li a:hover {
		background: #fff;
		color: #000;
	}	
	.top-bar ul li ul {
		background-color: #a60f0f;
		margin: 25px !important;
		padding: 0;		
	}	
	.top-bar input {
		max-width: 200px;
		margin-right: 1rem;
	}
	.top-bar .input-group-field {
		width: 100%;
		margin-right: 0;
	}
	.top-bar input.button {
		width: auto;
	}
	.top-bar .top-bar-left,
	.top-bar .top-bar-right {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	} 
	.top-bar-title {
		-ms-flex: 0 0 auto;
		flex: 0 0 auto;
		margin: 0.5rem 1rem 0.5rem 0;
	}
	.top-bar-left,
	.top-bar-right {
		-ms-flex: 0 0 auto;
		flex: 0 0 auto;
	}
	.menu {
		padding: 0;
		margin: 0;
		list-style: none;
		position: relative;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	[data-whatinput='mouse'] .menu li {
		outline: 0;
	}
	.menu a,
	.menu .button {
		line-height: 1;
		text-decoration: none;
		display: block;
		padding: 0.7rem 1rem;
	}
	.menu input,
	.menu select,
	.menu a,
	.menu button {
		margin-bottom: 0;
	}
	.menu input {
		display: inline-block;
	}
	.menu, .menu.horizontal {
		-ms-flex-wrap: wrap;
        flex-wrap: wrap;
		-ms-flex-direction: row;
        flex-direction: row;
	}
	.menu.vertical {
		-ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
		-ms-flex-direction: column;
        flex-direction: column;
	}
	.menu.expanded li {
		-ms-flex: 1 1 0px;
        flex: 1 1 0px;
	}
	.menu.simple {
		-ms-flex-align: center;
		align-items: center;
	}
    .menu.simple li + li {
		margin-left: 1rem;
	}
    .menu.simple a {
		padding: 0;
	}	  
	.is-visible {
		display: block !important;
	}
	.is-hidden {
		display: none !important;
	}
/* END from foundation css */
}
/* up to 480px on mobile */
@media only screen and (max-width : 480px) {
	header {
		display: none;
	}
	#gotohome,#homecntr,#topbnrctnr,#navctnr {
		display: none;
		width: 0;
	}	
	#mobilenavctnr,#mobilemenu-icon {
		display: block !important;
		width: 100%;
	}
}

@media screen and (min-width: 481px) and (max-width: 767px) {
	#gotohome,#homecntr,#topbnrctnr,#navctnr {
		display: none;
		width: 0;
	}		
	#mobilenavctnr,#mobilemenu-icon {
		display: block !important;
		width: auto;
	}
	header {
		display: none;
	}
}

@media screen and (min-width: 768px) {
	#gotohome,#mobilenavctnr,#mobilemenu-icon {
		display: none !important;
		width: 0;
	}
	nav#topnav  {
		height: 100%;
		margin: 0 auto;
		padding: 0 10px;
		text-align: center;
		width: 100%;
	}
	header {
		column-gap: 10%;
		display: flex;
        height: 140px;
		justify-content: center;
		margin: auto;
		padding: 10px;
		vertical-align: middle;
		width: auto;
    }
	#logo, #logo img, #logo a img {
		display: block;
	}
	#logo {
		align-self: center;
		left: 10px;
		height: auto;
		position: relative;
	}
	#logo img, #logo a img {
		height: auto;
		width: 190px;
	}
	#masttext {
		align-self: center;
		padding: 5px 0 5px 0;
		text-align: left;
		width: auto;
	}
	#masttext p {
		font-size: 1.0em;
		line-height: 1.4em;
	}
	#masttext p#contact-us {
		font-size: 1.1em;
		line-height: 1.5em;
	}
	#social-logos {
		display: none;
	}
}

@media screen and (min-width: 992px) {
	header {
		width: 960px;
	}
	#social-logos {
		display: grid;
	}
	#social-logos {
		align-items: center;
        grid-template-columns: repeat(2, 1fr);
		gap: 1em;
	}
	#social-logos img {
		width: 50px;
	}
	/*
	nav#topnav {
        height: 100%;
        margin: 0 auto;
        padding: 0 10px;
        width: 960px;
    } */
}
/* 1200px and up */
@media screen and (min-width: 1200px) {
	header {
		width: 1140px;
    }
	#logo img, #logo a img {
		width: 200px;
	}
	#masttext div {
		font-size: 16px;
	}
	nav#topnav  {
		height: 100%;
		margin: 0 auto;
		padding: 0 10px;
		width: 1140px;
	}
}
/* 1500px and up */
@media screen and (min-width: 1500px) {
	header {
		width: 1500px;
    }
	nav#topnav  {
		height: 100%;
		margin: 0 auto;
		padding: 0 10px;
		width: 1500px;
	}
}