/*************************************************
	Michigan Paralyzed Veterans of America
	Responsive grid styles including staff photos
	Last Updated 09/18/2026
**************************************************/

#service-items {
	background-color: lightgrey; 
 	display: grid;
	grid-auto-rows: 1fr;
	grid-template-columns: repeat(1, 1fr);
	grid-template-rows: repeat(3, 1fr);
	padding: 2.0em 1.0em;
	justify-content: center;
	gap: 0;
 	width: auto;
	max-width: 100%;
}
#service-items figure {
 	background-color: transparent;
	border: 2px solid transparent;
	color: #000;
	margin: 0;
	padding: 0 .5em;
	text-align: center;
	width: auto;
}
#service-items figure h2 {
	color: #000;
	font-size: 1.3em;
	margin: 0 0 10px 0;
}
#service-items figure a.btn {
	background: #B3282E;
    border: 1px solid #777;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
	color: #fff;
	display: inline-block;
	margin: 0.5em auto 0;
	padding: 0.6em 0.8em;
}
#service-items figure a.btn:hover {
	background-color: #9c111c;
}
#service-items figure p {
	font-size: 1.2rem;
	margin-top: 0.5em;
}
#service-items figure img {
	border-radius: 10px;
	margin: 5px 2px 0;
	text-align: center;
	width: 100%;
	max-width: 100%;
}
#board-directors-info {
 	display: grid;
	grid-auto-rows: 1fr;
	grid-template-columns: repeat(1, auto);
	grid-template-rows:  auto auto;
	padding: 0;
	justify-content: center;
	gap: 0px;
 	width: auto;
	max-width: 100%;
}
#directors {
	display: grid;
	gap: 5px; 
	grid-template-columns: repeat(1, 1fr);
	margin: 0 auto;
}
.VABenefits {
 	display: grid;
	grid-template-columns: repeat(1, 300px);
	grid-template-rows: 150px 150px 150px 150px 130px;
	padding: 20px 5px;
	justify-content: center;
	gap: 0px;
 	width: auto;
	max-width: 100%;
}
div#staffphotos div[class*="grid"]  {
	padding: 0 0 1.5em;
	text-align: center;
}
div#staffphotos div[class*="grid"] .inner-grid {
	background: transparent;
	border: 0;
}
div#staffphotos div[class*="grid"] .inner-grid div {
	text-align: center;
}
div#staffphotos div[class*="grid"] .inner-grid div img {
	border-radius: 5px;
	box-shadow: .4em .4em .5em #aaa;
	float: none;
	margin: 0 auto .5em;
}
div#staffphotos div[class*="grid"] .inner-grid div a {
	display: inline;
}
input::-webkit-input-placeholder,textarea::-webkit-input-placeholder {
	  color: #323234;
}
input::-moz-placeholder,textarea::-moz-placeholder {
	  color: #323234;
}
input:-ms-input-placeholder,textarea:-ms-input-placeholder {
	  color: #323234;
}
input::placeholder,textarea::placeholder {
	  color: #323234;
}

@media only screen and (min-width: 576px) {
	#service-items {
		padding: 2.0em 2.0em;
	}
	#service-items figure h2 {
		font-size: 1.4em;
	}
	#service-items figure img {
		width: 90%;
	}
	#board-directors-info {
		display: grid;
		grid-auto-rows: 1fr;
		grid-template-columns: repeat(1, auto);
		grid-template-rows:  auto auto;
		padding: 0;
		justify-content: center;
		gap: 0px;
		width: auto;
		max-width: 100%;
	}
	#directors {
		gap: 0;
	}
	.VABenefits {
		grid-template-columns: repeat(1, 1fr);
		grid-template-rows: 140px 140px 140px 140px 120px;
		padding: 20px 5px;
	}
	div#staffphotos div[class*="grid"]  {
		background: transparent;
		float: none;		
		height: 16em;
		margin: 0;		
		padding: .5em;
		text-align: center;
		width: auto;
	}
	div#staffphotos div#staff4  {		
		height: 10em;
	}	
	div#staffphotos div[class*="grid"] .inner-grid {
		font-size: 16px;
		height: 16em;
		margin: 0 auto;		
		padding: .5em;
	}
}

@media screen and (min-width: 768px) {
	#service-items {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: 320px 360px;
	}
	#service-items figure h2 {
		font-size: 1.3em;
	}
	#board-directors-info {
		display: grid;
		grid-auto-rows: 1fr;
		grid-template-rows: auto auto;
		padding: 0 0.5em;
		justify-content: center;
		gap: 0;
		width: auto;
		max-width: 100%;
	}
	.VABenefits {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: 150px 150px 130px;
		padding: 20px 5px;
	}
	div#staffphotos div[class*="grid"]  {
		background: transparent;
		float: left;		
		height: 19em;
		margin: 0;		
		padding: .5em;
		text-align: center;
		width: 45%;
	}	
	div#staffphotos div[class*="grid"] .inner-grid {
		font-size: 16px;
		height: 19em;
		margin: 0 auto;		
		padding: .5em;
	}
	div#staffphotos .staff-name {
		vertical-align: bottom;
	}
}

@media screen and (min-width: 992px) {
	#service-items {
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: 340px;
		padding: 1.6em;
	}
	#service-items figure p {
		font-size: 17px;
	}
	.VABenefits {
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: 140px 110px;
		padding: 20px 5px;
	}
	#directors {
		gap: 70px; 
		grid-template-columns: auto auto;
		grid-template-rows: repeat(1, 1fr);
	}
	div#staffphotos div[class*="grid"]  {
		background: transparent;
		float: left;		
		height: 280px;
		margin: 0;		
		padding: 5px;
		text-align: center;
/*		max-width: 30%; */
		width: 160px;
	}
	div#staffphotos div#staff4  {		
		height: 180px;
	}	
	div#staffphotos div[class*="grid"] .inner-grid {
		height: 260px;
		margin: 0 auto;		
		padding: 5px;
	}
	div#staffphotos .grid-1 {
		clear: left;
	}
	div#staffphotos .staff-name {
		font-size: 14px;		
	}	
}

@media screen and (min-width: 1200px){
	#service-items {
		grid-template-rows: 380px; 
		padding: 1.6em 3.0em;
	}
	#service-items figure h2 {
		font-size: 22px;
	}
	#service-items figure p {
		font-size: 20px;
	}
	#service-items figure img {
		width: 90%;
		max-width: 90%;
	}
	.VABenefits {
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: 180px 160px;
		padding: 20px 5px;
	}
	div#staffphotos div[class*="grid"]  {
		background: transparent;
		float: left;		
		height: 280px;
		margin: 0 1.0em 0 0;		
		padding: .3em;
		text-align: center;
		width: auto;
	}
	div#staffphotos div#staff4  {		
		height: 180px;
	}	
	div#staffphotos div[class*="grid"] .inner-grid {
		font-weight: normal;
		margin: 0 auto;		
		padding: .3em;
	}	
	div#staffphotos .grid-1 {
		clear: left;
	}
	div#staffphotos .staff-name {
		font-size: 14px;		
	}
}

@media screen and (min-width: 1900px){
	#service-items {
		grid-template-rows: 460px; 
	}
}

