* {
  box-sizing:border-box;
}

body, div {
  margin:0;
  padding:0;
}

body * {
  font-family: Roboto, Open Sans, arial, sans-serif, helvetica;
}

.skip {
  height: 1px;
  left: -1000px;
  overflow: hidden;
  position: absolute;
  text-align: left;
  top: -1000px;
  width: 1px;
}
   
a.skip:active, 
a.skip:focus, 
a.skip:hover {
  background-color:black;
  color:white ! important;  
  height: auto; 
  left: 0; 
  margin:0 auto;
  overflow: visible;
  padding:0.25em;
  right:0;
  text-align:center;
  top: 0;
  width: 10em; 
}

#system_message {
  background-color:lightpink;
  color:black;
  border:1px solid gray;
  display:block;
  /* display:inline-block; */
  /* margin:-1.5em auto 0 auto; */
  padding: 0;
  /* position:absolute; */
  text-align:center;
  width:100%;
  /* z-index:10004; */
}
#system_message:after {
  clear:both;
  content:'';
  float:none;
  display:table;
}

#system_message p {
  display:inline-block;
  margin:0 auto;
  padding: 1em;
  text-align:center;
  width:auto;
}

header {
  background-color:#369;
  border-bottom:#258;
  vertical-align:middle;
}
header .title {
  color:white;
  display:inline-block;
  font-size:200%;
  margin-left:0.25em;
  text-decoration:none;
  vertical-align:middle;
}

.clickable {
  cursor:pointer;
  cursor:hand;
}
.links {
  display:inline-block;
  float:right;
  /* padding-top:0.25em; */
  vertical-align:middle;
}
.links ul {
  list-style-type:none;
  margin:0;
  padding:0;
}
.links ul li {
  display:inline-block;
  float:left;
}

header .links a {
  /* border:1px solid transparent; */
  color:#f0f0f0;
  display:inline-block;
  font-size:120%;
  margin-left:0.5em;
  margin-right:0.5em;
  padding:0.25em 0.5em;
  text-decoration:none;
  vertical-align:top;
}
header .links a:hover, header .links a:focus {
  color:white;
  text-decoration:underline;
}
header:after {
  clear:both;
  content:'';
  display:table;
  float:none;
}

#content-container {
  margin:0;
  padding:0;
}

.logo {
  background: url('../images/FINALLOGO-WEBx260.png') no-repeat;
  background-position:left top;
  background-position:0.5em 0.5em;
  background-size:130px;
}
#logo {
  position: relative;
  left: 0;
  margin: 0 0 1rem 0;
  padding: 0;
  transition: width 0.2s;
  width: 130px;
  display: block;
}


.center {
  text-align:center;
  margin:0 auto;
}

.with-background {
  background-color:white;
}

/* Hero Section Styles */
.hero-overlay {
  position: relative;
  height: 65vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 0;
  padding-top: 2rem;
  background-color: #333;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  
  /* Add smooth transition for background changes */
  transition: background-image 0.3s ease-in-out;
}

/* Blurred background layer */
.hero-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-attachment: scroll;
  background-repeat: no-repeat;
  filter: blur(10px) brightness(0.6);
  transform: scale(1.1); /* Prevent blur edge artifacts */
  z-index: 0;
  
  /* Inherit background image from parent */
  background-image: inherit;
}

.hero-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0.5;
}

/* Fitted image overlay */
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-position: center center;
  background-size: contain;
  background-attachment: scroll;
  background-repeat: no-repeat;
  z-index: 1;
  opacity: 0.8;
  
  /* This will get its background image set directly by JavaScript */
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: left;
  color: white;
  max-width: 800px;
  padding: 2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 300;
  margin: 1rem 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  color: white;
}

.hero-subtitle {
  margin: 2rem 0;
}

.hero-subtitle h2 {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-description {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-caption {
  position: relative;
  width: 100%;
  background: rgba(51, 102, 153, 0.9);
  color: white;
  padding: 1rem 2rem;
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
  z-index: 3;
  margin-top: 0;
}

#title {
  margin-top:7em;
}

#start {
  margin-top:5em;
}

h1 {
  color:#556677;
  font-size:280%;
  font-weight:normal;
  padding:0.5em;
}
h3:after {
  clear:both; 
  content:''; 
  /* display:table; */ 
  float:none; 
  margin:0; 
  padding:0;
}
.tagline {
  color:#566676;
  font-size:160%;
  max-width:540px;
  text-align:center;
  /*padding:0.5em;*/
}
.mission {
  background-color:white;
  border:1px solid #B8B8B8; 
  border-radius:2px;
  color:#369;
  font-size:230%;
  margin:5em auto 6em auto;
  max-width:768px;
  padding:0.5em 1em;
  text-align:center;
}

button.cta {
  background-color:#336699;
  border:1px solid #B8B8B8;
  border-radius:2px;
  color:white;
  font-size:130%;
  margin-bottom:2em;
  margin-top:1em;
  padding:0.5em 1.5em;
  float: left;
}

.hero-content button.cta {
  float: none;
  display: inline-block;
  margin: 2rem auto 0 auto;
  background-color: rgba(51, 102, 153, 0.9);
  border: 2px solid white;
  font-size: 1.2rem;
  padding: 1rem 2rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

button.cta:hover, button.cta:focus {
  background-color:darkgray;
}

.hero-content button.cta:hover, 
.hero-content button.cta:focus {
  background-color: rgba(51, 102, 153, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.section {
  display:block;
  margin:0;
  padding:0;
  width:100%;
  vertical-align:top;
}
.section:after {
  clear:both;
  content:'';
  float:none;
  display:table;
}
.section p {
  margin-left:auto;
  margin-right:auto;
}

.adjust-top {
  margin-top:-2em;
}

.col25 {
  border:1px solid #e0e0e0;
  display:inline-block;
  margin:1em;
  max-height:600px;
  min-height:460px;
  padding:0.5em 1.5em;
  vertical-align:top;
  width:25%;
}

#awards {
  margin-bottom:2em;
  background-color:#336699;
}
#awards p {
  line-height:1.7;
}
#awards img {
  margin:0.5em 0;
  width:112px;
  vertical-align:middle;

}


#grants {
  background-color: #F5DEB3;
  background-color: rgba(255, 228, 181, 0.2);
  border:none;
  padding-bottom:4em;
  padding-top: 2em;
  margin-top: 0;
}

.col45 {
  display:inline-block;
  margin:1em 1em;
  max-width:768px;
  min-width:320px;
  text-align:left;
  width:45%;  
  vertical-align:top;
  border: 1px solid #e0e0e0;
}

.col45 > div {
  background-color:white;
  color:#333;
  display:inline-block;
  padding:1em;
}

#grants h2 {
  background-color:moccasin;
  border-top-left-radius:5px;
  border-top-right-radius:5px;
  color:#566676;
  font-weight:normal;
  font-size:180%;
  margin:0;
  padding:0.5em;
  text-align:center;
}

#grants h3 {
  background-color:white;
  border:none;
  display:block;
  font-size:130%;
  margin:0;
  padding-top:0.5em;
  vertical-align:top;
}
#grants {
  min-height:0;
}
#grants .links {
  background-color:white;
  vertical-align:top;
}
#grants .links a {
  color:blue;
  font-size:80%;
  font-weight:normal;
  margin:0 1em 0 1em;
  vertical-align:top;
}
#grants .panel {
  background-color:white;
  min-height:21em;
  width:100%;
}

#grants #makers li {
  line-height:1.6;
}

.nofas {
  display:block;
  margin-top:0em; 
  margin-right:2em; 
  vertical-align:top;
  width:100%;
}
.nofas ul {
  list-style-type: none;
  margin:0;
  padding:0; 
}
.nofas ul li { 
  margin-top:0.5em; 
  margin-bottom:0.5em; 
  width:100%; 
}
.nofas ul li:first-child {
  margin-top:0;
}
.nofas ul li a { 
  background-color:white;
  border-left:1px solid #e0e0e0;
  border-right:1px solid #e0e0e0;
  border-bottom:1px solid #e0e0e0;
  border-top:1px solid #e0e0e0;
  color:#111;
  display:inline-block; 
  float:left;
  margin:0 0 0.5em 0;
  padding:0.5em; 
  text-decoration:none; 
  width:100%; 
}

.nofas a span {
  float:right;
  text-align:right;
}
.nofas a span img {
  transform: rotate(180deg);
  vertical-align:middle;
  width: 16px;
}
  
.nofas > ul > li:first-child {
}

.nofas > ul > li > ul {
  margin-top:-0.5em;
}

.nofas ul[role='group'] {
  background-color:white;
  display:inline-block;
  width:100%;
}

.nofas ul[role='group'] li {
  border:1px solid #e0e0e0;
  border-top:none;
  margin-left:0;
  padding:1em;
  width:100%;
}

.nofa-desc li {
  margin-left:2em; 
}

.nofa-desc .con-app {
  display:block;
  vertical-align:top;
  width:100%;
}

.nofas ul[role="group"]::after,
.nofas::after,
.nofa-desc .con-app::after {
  clear:both;
  content:'';
  display:table;
  float:none;
}

.nofa-desc .contact { 
  display:inline-block;
  font-size:85%; 
  font-style:italic; 
}

.nofa-desc .apply-button {
  display:block;
}

.nofa-desc .apply-button a {
  background-color:#80C0F0;
  border:1px solid gray;
  border-radius:3px;
  color:black;
  display:inline-block;
  font-size:100%;
  font-weight:normal;
  margin:0.25em 0 0 0; 
  padding:0.5em 1.5em;
  text-decoration:none;
  width: auto;
}
.nofa-desc .apply-button a:focus, 
.nofa-desc .apply-button a:hover {
  background-color:#A8D8FF;
}








#testimonials {
  background-color:white;
  padding-top:1em;
}
#testimonials > div {
  border-bottom:1px solid #e0e0e0;
  padding:1em 0.25em;
}
#testimonials img {
  display:inline-block;
  margin-right:3em;
  max-width:222px;
  vertical-align:middle;
}
#testimonials p {
  display:inline-block;
  font-size:120%;
  font-style:italic;
  vertical-align:middle;
}
#testimonials p span {
  font-size:80%;
  line-height:1.5;
  text-align:center;
}
  
#scroller {
  background-color:white;
  text-align:center;
}
#scroller h2 {
  color:#566676;
  font-size:180%;
  font-weight:normal;
  margin:0;
  padding:1em 0 1em 0;
}  

#scroller iframe {
  border:none; 
  height:96px; 
  margin:0; 
  overflow:hidden;
  padding:0; 
  width:100%; 
}

.col30 {
  display:inline-block;
  margin:0.5em auto;
  min-height:220px;
  min-width:9em;
  padding:0.5em 1.5em;
  text-align:left;
  vertical-align:top;
}

#sitemap {
  background-color:#023;
  background-color:#246;
  color:white;
}
.sitemap-links {
  display: flex;
  justify-content: center;
  width: 100%;
}

.sitemap-links ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.sitemap-links ul li {
  padding: 0.25em;
  display: inline-block;
}

.sitemap-links a,
.sitemap-links button {
  border: 1px solid transparent;
  color: #E0E0E0;
  display: inline-block;
  overflow: hidden;
  padding: 0.25em 0.5em;
  text-decoration: none;
  white-space: nowrap;
}

.sitemap-links a:hover, 
.sitemap-links a:focus,
.sitemap-links button:hover,
.sitemap-links button:focus {
  color: white;
  text-decoration: underline;
}

/* Legacy styles for backwards compatibility */
#sitemap ul {
  list-style-type:none;
  padding:0;
}
#sitemap ul li {
  padding:0.25em;
}
#sitemap a {
  border:1px solid transparent;
  color:#E0E0E0;
  display:inline-block;
  overflow:hidden;
  padding:0.25em;
  width:8.25em;
  text-decoration:none;
}
#sitemap a:hover, #sitemap a:focus {
  color:white;
  text-decoration:underline;
}


footer {
  background-color:#234;
  color:#f0f0f0;
  display:block;
  font-size:90%;
  margin:0;
  padding:0.25em 0.5em;
  vertical-align:top;
}




@media screen and (max-width: 900px) {
  #logo {
    width:48px;
  }
  .col45 {
    display:block;
    margin:0 auto;
    padding:1em;
    min-height:0;
    width:100%;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle h2 {
    font-size: 2rem;
  }
  .hero-description {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 800px) {
  #title {
    margin-top:2em;
  }
  .hero-overlay {
    height: 80vh;
  }
  .hero-content {
    padding: 1rem;
  }
} 

@media screen and (max-width: 768px) {
  .col25 { 
    border-left:none;
    border-right:none;
    border-bottom:none;
    display:block;
    margin:0 auto;
    padding:1em;
    min-height:0;
    width:100%;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle h2 {
    font-size: 1.5rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .hero-overlay {
    height: 70vh;
    background-size: contain;
  }
  
  .sitemap-links ul {
    gap: 1rem;
  }
  
  .sitemap-links ul li {
    padding: 0.125em;
  }
  
  .hero-caption {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .sitemap-links ul {
    gap: 0.5rem;
    flex-direction: column;
  }
  
  .sitemap-links ul li {
    padding: 0.125em 0;
  }
  
  .hero-caption {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    line-height: 1.4;
    width: 100%;
  }
}

@media screen and (max-height: 800px) {
  .hero-subtitle {
    display: none;
  }
}

