html
{
  background: var(--PAblue);
}

body
{
  font:normal 100%/1.3 var(--font-text);
}

input[type=submit] { cursor: pointer; }


.signup_link, .button
{
  width:100%;
  box-sizing: border-box;
  margin-bottom: 20px;
  padding:10px;
  background-color:#ED2025;
  border-radius:10px;
  border:none;
  text-align: center;
  text-transform:uppercase;
  box-shadow:1px 1px 0 rgba(0,0,0,.3);
  position: relative;
  color:#fff !important;
  display: block;
}

.signup_link:hover {
	top: 1px;
	left: 1px;
	text-decoration: none;
	}



#content h1, #content h2, #content h3, #content h4, #content legend { 
	font-family: var(--font-heading); 
	color: #f00;
	margin:.5em 0;
	font-weight:bold;
	}

#content h1 #content h2, #content h2 #content h3, #content h3 #content h4 { margin-top:0; } 


#content H1
{
  font-size: 250%;
  font-weight:normal;
  margin:0 0 .5em 0;
  clear: left;
}

#content H2, #content legend
{
  font-size: 160%;
}

#content H3
{
  font-size: 140%;
}

#content H4
{
  font-size: 120%;
}

#content ul,
p {
	margin-bottom:1em;
	line-height: 1.5;
	}

#content li { margin-bottom:.5em; }

img { max-width: 100%; }

h1 a:link, h2 a:link, h3 a:link { color: #2f2f66; }


a:link { color:#04c; }
a { text-decoration:none; }
a:hover { text-decoration:underline; }

#content fieldset { margin:1em 0; }

input:focus,textarea:focus,select:focus { box-shadow:0 0 5px rgba(0,0,0,.3); }


.readmore
{
  padding:.5em 0;
  font-size:85%;
  font-weight:bold;
  text-align:right;
}

.returnmessage
{
  font-weight:bold;
  text-align:center;
}

main ul li {
	list-style: disc;
	margin: 0 0 0 1em;
	padding: 0 0 0 .5em;
	}

/* *************** H E A D E R ****************** */


#home header h1, header #logo
{
  position:relative;
  margin: 15px 0 -25px ;
  background:url(/images/logo.svg) top left no-repeat;
  background-size: contain;
  width:370px;
  height:106px;
  text-indent:-9999em;
  overflow:hidden;
  display:block;
}

header #tagline { display:none; }

#share_buttons {
	display: flex;
	justify-content: flex-start;
	gap: 5px;
	}

#google_search {
	position: absolute;
	top: -10px;
	right: 280px;
	width: 330px;
	}

	#google_search .gsc-control-cse {
		background: none;
		border: none;
		}

	#google_search .gsc-search-button-v2 {
		background: #4d90fe;
		border-radius: 5px;
		}

	#google_search .gsc-input {
		background: none !important;
		text-indent: 0 !important;
		border-radius: 5px !important;
		}

#content
{
  background-color:#fff;
}


#action #breadcrumbs,
#action #site-credit,
#action header #signupform
{
  display:none;
}


#action nav#main ul
{ visibility:hidden; }



#rotatingphoto { text-align:center; float:right; width:275px; padding: 0 20px 0 5px; }
#rotatingphoto .caption { font-size:10px; font-weight:bold }

#survey_questions li {
	clear:both;
	}


#survey_questions > li {
	margin:0 0 0 1em;
	list-style: numeric;
	padding-left: .5em;
	}

.question p:last-of-type { margin:0; }

.choices li {
	list-style: none;
	margin-left: 0 !important;
	}

	.choices li p:first-child:last-child {
		display:inline-block;
		margin:0;
		}


#survey_questions li div { clear:both; }


#survey_response {
	list-style: numeric; 
	margin: 2em 0;
	}

#survey_response > li {
	margin: 0 0 1em 1em;
	padding-left: .5em;
	}

#survey_response li > p:first-child {
	font-weight: bold;
	font-style: italic;
	margin: 0 0 5px;
	}



/* survey results */

#surveyresults li table {
	width: 100%;
	border-collapse; collapse;
	}

#surveyresults li td {
	height: 1.5em;
	}

#surveyresults .percentbar
{
  background-color:#f00;
  color:#fff;
  height:100%;
  display: inline-block;
}

#surveyresults ol li
{
  font-size:105%;
  font-weight:bold;
  padding:5px;
  margin:10px;
} 

#surveyresults .question
{
  font-weight:bold;
  margin:.5em 0;
  background-color:#eef;
  padding:2px;
}

#surveyresults .answer
{
  font-size:11px;
  font-weight:normal;
}


#surveyresults .answer th { display:none }
#surveyresults .answer td { padding:4px; font-size:11px;}
#surveyresults .answer td.choice { width:70%; }
#surveyresults .answer td.result { width:25%; }
#surveyresults .answer td.percentage { width:5%; }
#surveyresults li.text { display:none; }



footer
{
  font-size: 85%;
  color:#fff;
  padding:20px 10px;
}

footer h1, footer legend
{
  font-size:120%;
  color:#fff;
  margin-bottom:1em;
  font-weight:bold;
}

#cta {
	text-align: center;
	}

footer a:link
{
  display: inline-block;
  color: #ccf;
}

footer a:visited {
	display: inline-block;
	color: #fcf;
	}

footer form.donate_button
{
  margin-left: 10px;
  display: inline-block;
  top: -13px;
  position: relative;
  margin-bottom: 20px;
}



/* ************** H O M E ****************** */


#home #headlines {
	margin-bottom:1em;
	font: bold 150%/1.4 var(--font-heading);
	}

	#home #headlines li a:link { color: #2f2f66; }

	#home #headlines li:first-child
	{
	  text-transform:uppercase;
	  font-size:190%;
	  font-weight: bold;
	}

	#home #headlines li:not(:first-child) {
		display: flex;
		gap: 1em;
		}

		#home #headlines li:not(:first-child) .featured_image {
			flex: 0 0 285px;
			}


#home #content section h1
{
  font-size:130%;
  font-family: var(--font-heading);
  text-transform:uppercase;
  background:#ec2024;
  margin-bottom:20px;
  color:#fff;
  padding:10px;
  border-left:3px solid #90278e;
  position:relative;
}

#home #content #headlines li,
#home section ol li,
#home main #surveybox ul li
{
  padding:10px 0;
  margin:0;
  list-style: none;
  border-bottom:1px solid #cecddb;
}

#home #content #headlines li:last-child,
#home section ol li:last-child,
#home #surveybox ul li:last-child
{
  border-bottom:none;
}

#home section#surveybox
{
  width:47%;
  float:left;
}

#home section#surveybox h1 img
{
  position:absolute;
  top:5px; right:-15px;
}

#home section#familyadvocate
{
  width:47%;
  float:right;
}

#home section#familyadvocate h1 img
{
  position:absolute;
  top:5px; right:-5px;
}

#home #content #familyadvocate ul
{
  margin:1em 0 0 1em;
  padding:0 0 0 1em;
}

#home #content #familyadvocate ul li
{
  margin: 0 0 .5em;
  list-style: none;
}

#home #content #familyadvocate img.newsphoto
{
   float:left;
   margin:0 1em 1em 0;
   max-width:150px;
   max-height:140px;
}

#home .featured_image {
	aspect-ratio: 1.67;
	overflow: hidden;
	display: block;
	}

#home .featured_image img {
	width: 100%;
	}


/* ********** ELSEWHERE *********** */

#lmnop main ol {
	list-style: decimal;
	margin-left: 1em;
	}

#lmnop main ol li {
	margin: .2em 0 .2em 1em;
	}

	#lmnop_map {
		width: 600px;
		margin: 0 auto;
		display: inline-block;
		float:left;
		}

	#lmnop_mapkey {
		width: 100px;
		margin: 140px 0 0 10px;
		display: inline-block;
		}

		#lmnop_mapkey tr th { text-align: center; }

		#lmnop_mapkey tr td:first-of-type { width: 1em; height: 1em; }
		#lmnop_mapkey tr td:last-of-type { padding-left: 5px; }


#news #content section
{
  margin-bottom:2em;
}

#news #content section:last-child { margin-right:0; }

#news #content time { display:block; margin-bottom:1em; }

#news #content img.newsphoto
{
   margin:0 auto 1em;
   display: block;
   max-width: 100%;
}

#news #archive_years ul,
#news #archive_years li {
	display:inline-block;
	margin-left: 0;
	}

#news #archive_years li a {
	display:inline-block;
	padding:0 .5em;
	border-right:#666 1px solid;
	}
#news #archive_years li:last-child a { border-right:none; }

ol.listing li
{
  margin-bottom:1em !important;
}

ol.listing .details a
{
  font-weight:bold;
}

#content ol.listing time { font-size:85%; color:#666; margin:0 !important; }


#multimedia #content h2
{
  margin:0 0 .25em 0;
  padding:0;
  font-size:120%;
  font-weight:bold;
}

#multimedia #content table td {
	padding:5px 5px 5px 0;
	}

#multimedia #content .date { margin-bottom:.5em; }

#multimedia #content .caption { font-size:100%; font-weight:normal; }

ul#testimonials
{
  list-style:none;
  margin:0;
  padding:0;
}

ul#testimonials li
{
  padding:.5em 0;
  margin:0;
}

ul#testimonials li blockquote
{
  margin:0;
  padding:0;
}

ul#testimonials li cite
{
  font-style:italic;
  margin:0;
  padding:0;
}

#involved #content ul#gifts
{
  margin:0;
  padding:0;
  list-style:none;
}

#involved #content ul#gifts li
{
  float:left;
  margin:0 10px;
}

#involved #content .description
{
  margin:1em 0;
}

#involved #content .petition
{
  margin:1em 0;
  padding:1em;
  border:1px solid #aaa;
}

.petition img
{
  float:right;
  width:200px;
  margin-left:10px;
}

/* ------ GALLERY PAGE ------ */

ul.gallerytable,
ul.photogallery {
	clear:both;
	width:100%;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
/*
 display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(auto-fill, 1fr);
  grid-template-rows: repeat(auto, 50px);
  align-items: center;
  justify-content: space-between;
*/
	}

ul.photogallery li,
ul.gallerytable li {
	width: 200px;
	text-align: center;
	list-style: none;
	padding: 0;
	margin: 0;
	border:10px solid #fff;
	box-shadow:1px 1px 2px rgba(0,0,0,.3);
	}

ul.gallerytable li figure,
ul.photogallery li figure {
	width: 100%;
	height:auto;
	overflow:hidden;
	}


ul.gallerytable li figure > a,
ul.photogallery li figure > a {
	width: 100%;
	height:auto;
	overflow:hidden;
	aspect-ratio: 1.5;
	display: inline-block;
	}

ul.gallerytable li img,
ul.photogallery li img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	display: block;;
	}

.photogallery figcaption { font-size:80%; color:#333 }
.caption { font-size:85%; font-weight:bold; color:#000 }


.gallerytable p { margin-bottom:0 !important; }

.gallerytable p.photocount { font-size:85%; }

.pagenav {display: none; }

button.loadmore {
	background: var(--PAblue);
	color: #fff;
	padding: .5em 5em;
	margin: 1em auto;
	border: none;
	border-radius: 10px;
	font-size: 1em;
	display: block;
	cursor: pointer;
}

#lightbox{
	background-color:#eee;
	padding: 10px;
	border-bottom: 2px solid #666;
	border-right: 2px solid #666;
	}
#lightboxDetails{
	font-size: 0.8em;
	padding-top: 0.4em;
	}	
#lightboxCaption{ float: left; }
#keyboardMsg{ float: right; }
#closeButton{ top: 5px; right: 5px; }

#lightbox img{ border: none; clear: both;} 

#overlay{ background-image: url(/images/overlay.png); }


#multimedia #content ol li img { float:left; margin-right:20px; }

#contact #content fieldset .required { font-weight:bold; }

#contact #content fieldset dt
{
  width:8em;
  margin-bottom:3px;
  display:inline-block;
  text-align:right;
  float:left;
  clear:left;
}

#contact #content dd { float:left; margin-left:1em; margin-bottom:3px; }

#contact fieldset.action { margin-left:9em; }

div.captcha { margin-left:2em; }

img.captcha { float:left; }

img#facebook, img#twitter { margin:1em 0;}

/* **** PAGE SPECIFIC **** */
.news-12355 #content ul { margin-bottom: 2em; }

.nc
{
  display: block;
  width:1px;
  text-indent:2px;
  overflow:hidden;
  height:1px;
}
