﻿/* SharePoint Overrides */
#s4-bodyContainer, #s4-titlerow, div.article, div.welcome, .article-content, .welcome-content {padding:0px;margin:0px;}
#s4-titlerow {height:auto;}
.ms-rtestate-field h1, h1.ms-rteElement-H1, .ms-rtestate-field h2, h2.ms-rteElement-H2 {color: #000;}

.ms-rtestate-field h1, h1.ms-rteElement-H1 {
    font-weight:bold;
	text-align:center;
	font-family: "Segoe UI Semilight", "Segoe UI", "Segoe", Tahoma, Helvetica, Arial, sans-serif;

}

.ms-rtestate-field h2, h2.ms-rteElement-H2 {
	font-size:30px;
	font-weight:bold;
	text-align:center;
	font-family: "Segoe UI Semilight", "Segoe UI", "Segoe", Tahoma, Helvetica, Arial, sans-serif;

}

/* Branding */
/*Blue: #2e2968*/
body {font-size:13.5pt;line-height:1.5;}
.btn-primary, .navbar-dark, .bg-dark {background-color:#231f20!important}
.text-primary {color: #231f20!important}
.navbar-dark .navbar-nav .nav-link {color:white;text-transform:uppercase;font-weight:bold;}


/*Test Overrides*/
main {max-width:1300px;margin:0 auto;text-align:left;}

#mainContent, .middleContent, .table {display:table;width:100%;	border-collapse:collapse;}
.row {display:table-row;width:100%;}
.col {vertical-align:top;display:table-cell;border-left:solid 20px transparent;}
.col:first-child {border-left:none;}
.col3, .row3 .col {width:33%}
.col2, .row2 > .col {width:50%}
.col4, .row4 > .col {width:25%}
.col6, .row6 > .col {width:16.667%}
.pad > .col {padding-left:5px;padding-right:5px;}

.col:last-child {padding-right:0;}
.tdLeftMenu {width:200px;padding-right:25px;}

#topTop {
	display:flex;
	align-items:center;
	justify-content:center;
}

#bannerItem {
	display:flex;
	justify-content: center;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1300px;
    }
}

.nav-link {
	padding: .5rem 1.25rem!important;
}

.navbar {
	padding:0!important;
	}

.navbar a:hover {
	text-decoration: none;
}

#navHover a{
	height: 91px;
	display: flex;
	align-items: center;
	justify-content: center;
}


#navHover a:hover {
	background-color:#ffcc00;
	color:black;
	text-decoration: none;
}

.me-3 {
	min-height: 68px;
	min-width: 68px;
}


@media screen and (max-width: 1340px) {
	#menu, #content, .content, #header, .col3, .col2, .col4, .col6, .row2 > .col, .row3 > .col, .row4 > .col, .row6 > .col, table {
		width:100%;min-width:100%;max-width:100%;padding-left: 0;padding-right: 0;
	}
	#header h1, #header .text {padding-left:0;padding-top:0;}
	#footer a, #menu a {white-space:nowrap;}
	.content, #DeltaPlaceHolderMain, #header {padding: 0 10px 10px 10px;box-sizing: border-box;display:block;}
	.tdLeftMenu, .tdRightMenu, .tdRightMenu > .ms-rtestate-field {width:auto;padding:0;border-left:0;}
	#mainContent, .middleContent {display:block;}
	.row {display:block;}
	.col {display:block;padding:15px 0 0 15px; border-left:0;}
	#header {height:auto;min-height:92px;}
	#menu {height:auto;min-height:37px;}
	.searchRegion {width:auto;padding:0;}
	.right, .left, #s4-workspace * {float:none!important;}
	#s4-workspace * {max-width:100%;}
	#s4-titlerow .content, .smallCenter {text-align:center;}
	.smallHide {display:none;}
	table {max-width:100%;table-layout:fixed;}
	th,td {word-wrap:break-word;overflow:hidden;width:100%;}
	.ms-noWrap{white-space:normal;}
	.gsc-search-box {table-layout:auto;}
	.onlySmall {display:block;}
	.noSmall {display:none;}
	#s4-workspace {overflow-y: scroll; -webkit-overflow-scrolling: touch;}
	#topTop {display:none;}
	
}

@media screen and (max-width: 991px) {
	#desktopTitle {display:none;}
	.ms-auto{margin: 0!important;}
}

@media screen and (min-width: 991px){
	#mobileTitle {display:none;}
}

@media screen and (max-width: 624px) {
	#desktopTitle {display:inline;}
	#mobileTitle {display:none!important;}
		.collapse {
		display:flex;
		align-items:center!important;
		justify-content:center!important;
		margin: 0;
	}
}

/*---REUSABLE NAV---*/
.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75em;
    justify-content: center;
    align-items: stretch;
    text-align: center;
    list-style: none;
    margin: 0 0 1em;
    padding: 0;
}

.buttons li {
    box-sizing: border-box;
    display: flex;
    flex: 0 0 calc((100% - 2.25em) / 4);
    min-width: 0;
}

.buttons a,
.buttons a:link,
.buttons a:visited {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 6em;
    padding: 1em;
    color: white;
    background: #2e2968;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.buttons a:hover,
.buttons a:active {
    background-color: #ffca0f;
    color: black;
    text-decoration: none;
}

@media only screen and (max-width: 1049px) {
    .buttons li {
        flex-basis: calc((100% - 0.75em) / 2);
    }
}

@media only screen and (max-width: 520px) {
    .buttons li {
        flex-basis: 100%;
    }
}
/*---HOME PAGE STYLES---*/

* { box-sizing: border-box; }

html { scroll-behavior: smooth;}

body {
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
  background: #fff;
  
}

a { color: inherit; }

section {
	border-radius: 15px;
}

.page-width {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  background: #0e1e5d;
  border-radius: 0 0 15px 15px;
}

.hero-image {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 315px;
  border: 0;
}

.hero-image img {
	width:100%;
	height:100%;
	object-fit:cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(41,37,109,.97) 0 29%, rgba(41,37,109,.72) 42%, rgba(41,37,109,0) 68%);
}

.hero-content-wrap { position: relative; z-index: 2; min-height: 315px; }

.hero-copy {
  width: 360px;
  color: white;
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: .92;
  letter-spacing: -.02em;
  color:white;
  font-weight:bold;
  text-align: left;
  font-family: "Segoe UI Light", "Segoe UI", "Segoe", Tahoma, Helvetica, Arial, sans-serif;
}

.hero h2 {
  color:white;
  text-align: left;
  font-family: "Segoe UI Light", "Segoe UI", "Segoe", Tahoma, Helvetica, Arial, sans-serif;

}

.hero p { font-size: 13px; line-height: 1.35; margin-bottom: 22px; }

.btn-yellow {
  display: inline-block;
  background: #ffcc00;
  color: #111;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none!important;
  transition: transform 0.2s ease;
}

.btn-yellow:visited {
	color:black;
}

.btn-yellow:hover {
	color: black;
	transform: scale(1.075)
}

.section-white { background: white; }

/*sub-nav yellow buttons*/
.sub-nav {
	justify-content:center;
	display: flex;
}

.sub-nav-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	padding-top: 15px;
	color:black;
}

@media (max-width: 768px) {
	.sub-nav-buttons {
		flex-direction: column;
		width: 100%;
		padding: 15px;
		gap: 10px;
	}
	.btn-yellow {
		display: block;
		width: 100%;
		box-sizing: border-box;
		font-size: 14px;
		padding: 14px 16px;
	}
}

.two-col {
  display: grid;
  grid-template-columns: 1.65fr .9fr;
  gap: 42px;
  padding-block: 34px 28px;
}

h2 {
  margin: 0 0 22px;
  font-size: 24px;
  line-height: 1.1;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 28px;
}

.resource-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.resource-card h3 {
	font-weight: bold;
}

.resource-icon {
  width: 82px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 38px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.resource-icon img {
  aspect-ratio: 1;
  max-height: 82px;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.shf-icon{
	height: 80%!important;
	width: 80%!important;
}

.resource-card:hover {
	.resource-icon {
		transform: scale(1.1);
	}
}

a.article-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.resource-icon.navy { background: #0e1e5d; }
.resource-icon.yellow { background: #ffcc00; color: #0e1e5d; }
.resource-card h3 { color: #0e1e5d; margin: 0 0 5px; font-size: 14px; }
.resource-card p { margin: 0; font-size: 13px; line-height: 1.35; }

.news { border-left: 1px solid #efefef; padding-left: 34px; }
.news h2 { margin-bottom: 11px; }
.news-item { padding: 12px 0; border-bottom: 1px solid #888; }
.news-item:first-of-type { padding-top: 0; }
.news-item a { color: #0e1e5d; font-size: 12px; font-weight: 800; }
.news-item p { margin: 6px 0 0; font-size: 12px; line-height: 1.35; }

.volunteer-section {
  background: #0e1e5d;
  color: white;
  padding: 28px 0;
}

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: 46px;
}

@media (max-width: 768px) {
	.split-feature {
		gap: 0;
	}
}
.video-placeholder {
  min-height: 255px;
}

.video-placeholder img{
  border-radius: 15px;
  display: block;
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
	.video-placeholder {
		min-height: 200px;
	}
}

/*Community Support Cards*/

.card {
  background-color: #f4f4f4;
  padding: 20px;
  border-radius: 8px;
  border: solid 2px black;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  text-decoration: none!important;
  color: black!important;
}

.card h3 {
  font-size: 1.17em;
}

hr {
  border: none;
  border-top: solid 3px #ffcc00;
  color: #ffcc00;
  overflow: visible;
  text-align: center; 
  opacity: 1!important; 
}

.community-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 15px;
  text-decoration: none!important;
}

.community-cards a{
	text-decoration:none;
	transition: transform 0.2s ease
}

.community-cards a:hover{
	text-decoration:none;
	transform: scale(1.1)
}

.community-cards a:visited{
	text-decoration:none;
}

@media (min-width: 768px) {
  .community-cards {
    grid-template-columns: repeat (2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
    .community-cards {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 20px;
    }
}

.feature-copy.light h2 { color: white; }
.feature-copy.dark h2 { color: #222; }
.feature-copy p { font-size: 13px; line-height: 1.4; margin: 0; margin-bottom:22px; }

.prepared-section {
  padding-block: 30px;
  min-height: 290px;
}

.prepared-section .video-placeholder {
  color: #555;
  border-color: #9b9b9b;
  background: #e8e8e8;
}

@media (max-width: 900px) {
  .utility-bar { grid-template-columns: 1fr 1fr; }
  .utility-actions { justify-content: flex-start; }
  .nav-inner { align-items: center; padding: 14px 0; }
  .nav-links { flex-wrap: wrap; justify-content: flex-end; }
  .nav-links a { min-height: 42px; padding: 0 11px; }
  .hero::after { background: linear-gradient(90deg, rgba(41,37,109,.93) 0 45%, rgba(41,37,109,.45) 68%, rgba(41,37,109,.05)); }
  .two-col, .split-feature { grid-template-columns: 1fr; }
  .news { border-left: 0; padding-left: 0; border-top: 1px solid #d9d9d9; padding-top: 24px; }
}

@media (max-width: 620px) {
  .page-width { width: min(100% - 28px, 1180px); }
  .utility-bar { grid-template-columns: 1fr; }
  .utility-item, .utility-actions { border-left: 0; border-bottom: 1px solid #e3e3e3; }
  .nav-inner { align-items: flex-start; flex-direction: column; }
  .nav-links { width: 100%; }
  .nav-links a { flex: 1 1 50%; justify-content: center; }
  .hero { min-height: 380px; }
  .hero-content-wrap { min-height: 380px; }
  .hero-image img { object-position: 75% 50%; }
  .hero-copy { width: min(100%, 320px); }
  .hero::after { background: rgba(41,37,109,.77); }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card { grid-template-columns: 70px minmax(0, 1fr); }
  .resource-icon { width: 66px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .reverse-mobile .feature-copy { order: 2; }
}
