* {
  margin: 0;
  padding: 0;
}

html { height: 100%; }

body {
  box-sizing: border-box;
  font: 400 18px 'Open Sans', sans-serif;
  min-height: 100%;
  position: relative;
}

h1, h2 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1em;
  margin-bottom: 1em;
}

h3 {
  color: #2f7ebe;
  font-size: 30px;
  font-weight: 400;
  line-height: 1em;
  margin: 1em 0;
  text-decoration: underline;
  text-transform: uppercase;
}

h3:first-of-type { margin-top: 0; }

h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 1em 0 0.9em 0;
  text-decoration: underline;
}

h5 {
  color: #2f7ebe;
  font-size: 18px;
  font-weight: 600;
  margin: 1.2em 0 0.889em 0;
}

p {
  line-height: 1.5em;
  margin: 1em 0;
}

p:first-of-type { margin-top: 0; }

p:last-of-type { margin-bottom: 0; }

img { vertical-align: middle; }

strong { font-weight: 600; }

button,
.button,
.readmore .btn {
  background-color: #2f7ebe;
  border: none;
  color: #fff !important;
  display: inline-block;
  font: 18px 'Open Sans', sans-serif;
  font-weight: 400 !important;
  padding: 10px 20px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.button.yellow {
  background-color: #f6c216;
  color: #000 !important;
}

.button.red,
.readmore .btn { background-color: #ea2127; }

.pull-left {
  float: left;
  margin: 0 2em 2em 0;
}

.pull-right {
  float: right;
  margin: 0 0 2em 2em;
}

/* ==========================================================================
   Header
   ========================================================================== */

header {
  display: grid;
  gap: 38px 40px;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto 1fr;
  margin: 0 auto;
  max-width: 1600px;
  padding: 40px 20px 0 20px;
  place-items: end;
  position: relative;
  z-index: 100;
}

/* ==================== Logo ==================== */

.moduletable.logo {
  grid-row: 1 / span 2;
  align-self: start;
}

.logo { display: block; }

/* ==================== Search Field ==================== */

label.finder {
  font-weight: 400;
  margin-right: 5px;
  text-transform: uppercase;
}

input.js-finder-search-query {
  border: none;
  border-bottom: 1px solid #000;
  font: 400 18px 'Open Sans', sans-serif;
  padding: 2px 5px;
  width: 400px;
}

input.js-finder-search-query:focus {
  background-color: #f6f6f6;
  outline: none;
}

/* Search button is hidden except on mobile devices */
header .button.search { display: none; }

/* ==================== Main Menu ==================== */

header .moduletable.menu { grid-column: 2 / span 2; }

header .moduletable.menu ul { list-style: none; }

.main-menu {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
}

.main-menu a {
  display: block;
  text-decoration: none;
}

.main-menu > li > a,
.main-menu > li > ul > li > a,
.main-menu span.separator {
  display: block;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  transition: 300ms;
}

.main-menu > li > a,
.main-menu > li > span.separator {
  color: #000;
  cursor: pointer;
  line-height: 1em;
  padding: 40px 21px;
  position: relative;
}

/* Lines between menu items */
.main-menu > li > a::after,
.main-menu > li > span.separator::after {
  background-color: #000;
  content: '';
  height: 1em;
  position: absolute;
    right: -1px;
  width: 2px;
}

.main-menu > li:first-child > span.separator { padding-left: 0; }

.main-menu > li:last-child > span.separator { padding-right: 0; }

.main-menu > li:last-child > span.separator::after { display: none; }

.main-menu > li:hover > a,
.main-menu > li:hover > span.separator { color: #2f7ebe; }

.main-menu > li:hover > ul { display: grid; }

.main-menu > li > ul {
  background-color: #2f7ebe;
  display: none;
  gap: 0 40px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto 1fr;
  padding: 40px;
  position: absolute;
    right: 20px;
    left: 20px;
}

.main-menu > li > ul span.separator,
.main-menu > li > ul a { color: #fff; }

.main-menu > li > ul a:hover { text-decoration: underline; }

/* Column borders */
.main-menu > li > ul > li {
  border-right: 1px solid #fff;
  padding-right: 40px;
}

.main-menu > li > ul > li:nth-child(3n) {
  border-right: none;
  padding-right: 0;
}

/* Spacing for level 2 parent menu items (e.g., General Granting Info) */
.main-menu > li > ul span.separator { margin-bottom: 20px; }

/* Top spacing for everything but the first three items. Needs to be padding, not gap or margin, so the border is continuous */
.main-menu > li > ul > li:not(:nth-child(-n+3)) { padding-top: 40px; }

/* Grants by Type */
.main-menu > li > ul > li.item-114 {
  grid-column: 1;
  grid-row: 1 / span 2;
}

/* Past Grant Recipients */
.main-menu > li > ul > li.item-140 {
  grid-column: 2;
  grid-row: 2;
}

/* General Granting Info */
.main-menu > li > ul > li.item-141 {
  grid-column: 3;
  grid-row: 1 / span 2;
}

/* Spacing for level 3 non-parent menu items (e.g., Accessibility Fund) */
.main-menu > li > ul > li > ul > li { margin-top: 10px; }

/* Spacing for level 3 parent menu items (e.g., Arts Organizations) */
.main-menu > li > ul > li > ul > li.parent { margin-top: 20px; }

/* Spacing for level 4 menu items (e.g., Access Copyright Foundation Grants) */
.main-menu ul ul ul li { margin-top: 8px; }

/* Styling for level 4 menu items */
.main-menu ul ul ul a {
  color: #e6ecf2;
  font-size: 14px;
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */

#mainMenu {
  background-color: #2f7ebe;
  height: 100vh;
  overflow-x: hidden;
  position: fixed;
    top: 0;
    right: 0;
  transition: 1s;
  width: 0;
  z-index: 998;
}

#mainMenu.show {
  max-width: 100%;
  width: 500px;
}

#mainMenu ul { list-style: none; }

.mobile-menu { padding: 30px; }

.mobile-menu a,
.mobile-menu span.separator {
  color: #fff;
  display: block;
  padding: 5px 0;
  text-decoration: none;
  transition: all .5s ease;
}

.mobile-menu > li > a,
.mobile-menu > li > span.separator {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  color: #fff;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.mobile-menu > li > ul > li > a,
.mobile-menu > li > ul > li > span.separator {
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
}

.mobile-menu > li > ul { margin-bottom: 20px; }

.mobile-menu > li > ul > li { margin-top: 10px; }

.mobile-menu .item-170 { margin-top: 20px; }
  
/* ==========================================================================
    Main Menu Toggle
    ========================================================================== */

#openMenu {
  background-color: #2f7ebe;
  display: none;
  padding: 20px;
  position: fixed;
    top: 0;
    right: 0;
  transition: .5s;
  width: 41px;
  z-index: 999;
}

#menuTitle {
  position: relative;
  text-align: center;
  transition: .5s;
}
  
/* ==========================================================================
    Mobile Menu Icon Transition Effect
    ========================================================================== */
  
#btn {
  cursor: pointer;
  display: block;
  height: 30px;
  position: relative;
  transition: .5s;
  z-index: 200;
}

#btn .icon,
#btn .icon::before,
#btn .icon::after {
  background: #fff;
  content: '';
  display: block;
  height: 2px;
  position: absolute;
  transition: top ease .5s .5s, transform ease .5s;
  width: 41px;
}

#btn .icon {
  top: 14px;
  left: 2px;
}

#btn .icon::before { top: -8px; }

#btn .icon::after { top: 8px; }

#btn.active .icon { background: transparent; }

#btn.active .icon::before { transform: rotate(45deg); }

#btn.active .icon::after { transform: rotate(-45deg); }

#btn.active .icon::before,
#btn.active .icon::after {
  top: 0;
  transition: top ease .5s, transform ease .5s .5s;
}

/* ==========================================================================
   Banner
   ========================================================================== */

.banner {
  margin: 0 auto 60px auto;
  max-width: 1600px;
  padding: 0 20px;
  position: relative;
}

.banner .custom {
  background-color: #f6c216;
  color: #000;
  display: grid;
  grid-template-columns: 4fr 3fr;
  min-height: 685px;
}

.banner.frontpage .custom { align-items: center; }

.banner.red .custom {
  background-color: #ea2127;
  color: #fff;
}

.banner.blue .custom {
  background-color: #2f7ebe;
  color: #fff;
}

.banner.frontpage h2 {
  font-size: 60px;
  line-height: 1.2em;
  margin: 0;
}

.banner .text { padding: 60px; }

.banner .mod-menu {
  list-style: none;
  line-height: 1.75em;
}

.banner a {
  color: #000;
  font-weight: 500;
}

.banner.red a,
.banner.blue a { color: #fff; }

.banner a:hover { text-decoration: underline; }

.banner .image > img { width: 100%; }

.banner.frontpage .features {
  background-color: #f6c216;
  color: #000;
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  padding: 10px 20px;
  position: absolute;
    top: 240px;
    right: -109px;
  text-decoration: none;
  text-transform: uppercase;
  transform: rotate(90deg);
  z-index: 99;
}

/* ==========================================================================
   Content
   ========================================================================== */

main {
  display: grid;
  gap: 60px;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  grid-template-columns: auto;
  margin: 0 auto 60px auto;
  max-width: 1600px;
  padding: 0 20px;
}

main.smart-simple-api { display: block; }

main .item-page iframe { max-width: 100%; }

main .item-page a,
main .blog .item-content a {
  color: #ea2127;
  font-weight: 500;
}

main .item-page [data-rlta-type="accordions"] { margin: 1em 0; }

main .item-page [data-rlta-type="accordions"] h3 {
  color: #000;
  text-decoration: none;
  text-transform: none;
}

main .red { color: #ea2127; }

main .item-page h3 a,
main .blog .item-content h2 a {
  color: #2f7ebe;
  font-weight: 400;
}

main .item-page ul,
main .item-page ol {
  line-height: 1.6em;
  margin: 1em 0;
  overflow: hidden;
}

main .item-page ul:first-child,
main .item-page ol:first-child { margin-top: 0; }

main .item-page ul:last-child,
main .item-page ol:last-child { margin-bottom: 0; }

main .item-page ul ul { margin: 0.25em 0 !important; }

main .item-page ul.no-bullet { list-style: none; }

main .item-page ul:not(.no-bullet) li,
main .item-page ol li { margin-left: 1.1em; }

main ul.col3 { columns: 3; }

main .item-page .label { margin-bottom: 0.3em; }

main .item-page .label + * { margin-top: 0; }

main hr {
  background-color: #d1d1d1;
  border: none;
  clear: both;
  height: 1px;
  margin: 2em 0;
}

main hr.clear {
  background-color: transparent;
  height: 0;
  margin: 1em 0;
}

main .border { border: 1px solid #d1d1d1; }

main .video { margin: 2em 0; }

main p.smaller { font-size: 14px; }

main .logo {
  display: inline-block;
  margin-right: 40px;
}

main .logo ul {
  display: grid;
  gap: 7px;
  grid-auto-columns: max-content;
  grid-auto-flow: column;
}

main div.caption {
  display: grid;
  font-size: 14px;
  gap: 12px 0;
  grid-template-columns: min-content;
}

main .left-image {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(auto, 150px) 1fr;
  margin: 1.5em 0;
}

main .left-image img {
  height: auto !important;
  max-width: 100%;
}

main .sponsors {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fill, minmax(240px, auto));
  place-items: center;
  justify-content: center;
  margin: 2em 0;
}

main .sponsors img {
  max-height: 100px;
  max-width: 100%;
}

main .grid {
  display: grid;
  gap: 30px;
}

main .grid.col3 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }

main .grid.col4 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

main .grid.col4 h4 { text-align: center; }

main .grid.col4 .image {
  align-items: center;
  display: flex;
  justify-content: center;
  height: 230px;
}

main .grid.col4 .image img {
  border: 1px solid #d1d1d1;
  max-height: 100%;
  width: auto !important;
}

main .grid-item.box {
  background-color: #f1f1f1;
  padding: 30px;
}

.ml-block-form {
  display: flex;
  flex-flow: row wrap;
}

main input.form-control {
  background-color: #f1f1f1;
  border: none;
  font: 18px 'Open Sans', sans-serif;
  padding: 10px 12px;
}

main input.form-control:focus {
  background-color: #f6f6f6;
  outline: none;
}

p.image-caption {
  font-size: 14px;
  font-style: italic;
  margin-top: 10px;
  max-width: 300px;
}

.convertforms { margin-top: 2em; }

.cf-control-input h2 { margin-bottom: 0.5em; }

.convertforms h4 {
  margin: 0 0 0.25em 0;
  text-decoration: none;
}

.convertforms h5 {
  color: #000;
  margin: 0;
  text-transform: uppercase;
}

.convertforms .cf-checkbox-group,
.convertforms .cf-radio-group { align-items: start; }

.convertforms .cf-checkbox-group input,
.convertforms .cf-radio-group input{ margin-top: 5px; }

/* ==================== Ignite Gallery ==================== */

.ig-lightbox-right-wrapper {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  height: 100% !important;
  margin-top: 0;
  padding-bottom: 103px;
}

.ig-lightbox-descriptions-right {
  height: 100% !important;
  padding: 30px !important;
}

.ig-lightbox-right-wrapper h3 {
  line-height: 1.2em;
  text-decoration: none;
  text-transform: none;
}

.ig-lightbox-buttons { z-index: 100; }

.igui-lightbox-caption { padding-bottom: 133px; }

/* ==================== Get the latest news (Homepage) ==================== */

.section1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin: 0 auto;
  max-width: 1600px;
  padding: 0 20px;
}

.moduletable.latest .newsflash {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(2, 1fr);
}

.moduletable.news { margin-left: 20px; }

.moduletable.latest .newsflash,
.moduletable.news .newsflash { height: calc(100% - 107px); }

.moduletable.latest h2,
.moduletable.news h2 {
  border-bottom: 1px solid #000;
  padding-bottom: 10px;
}

.moduletable.latest .mod-articlesnews__item,
.moduletable.news .mod-articlesnews__item {
  background-color: #2f7ebe;
  color: #fff;
  padding: 30px;
}

.moduletable.latest .mod-articlesnews__item:first-child {
  background-color: #f6c216;
  color: #000;
}

.moduletable.news .mod-articlesnews__item { background-color: #ea2127; }

.moduletable.latest .mod-articlesnews__item h3,
.moduletable.news .mod-articlesnews__item h3 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2em;
  text-decoration: none;
}

.moduletable.latest .mod-articlesnews__item:first-child h3 a { color: #000; }

.moduletable.latest .mod-articlesnews__item h3 a,
.moduletable.news .mod-articlesnews__item h3 a {
  color: #fff;
  text-decoration: none;
}

.moduletable.latest .mod-articlesnews__item h3 a:hover,
.moduletable.news .mod-articlesnews__item h3 a:hover { text-decoration: underline; }

.moduletable.latest .mod-articlesnews__item:first-child h3 a { color: #000; }

.moduletable.latest .newsflash-image,
.moduletable.news .newsflash-image { margin: -30px -30px 30px -30px; }

.moduletable.latest .newsflash-image img,
.moduletable.news .newsflash-image img {
  height: auto;
  width: 100%;
}

/* ==================== Category Blog Layout ==================== */

main .blog-item {
  border-bottom: 1px solid #d1d1d1;
  display: grid;
  gap: 40px;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  grid-template-columns: auto;
  margin-bottom: 40px;
  padding-bottom: 40px;
}

main .blog-item .item-image img {
  height: auto;
  width: 240px;
}

main .blog-item .item-content h2 {
  color: #2f7ebe;
  font-size: 30px;
  font-weight: 400;
  line-height: 1em;
  margin-bottom: 0.8em;
  text-decoration: underline;
  text-transform: uppercase;
}

main .blog-item .item-content h2 a { color: #2f7ebe; }

main .article-info {
  display: flex;
  flex-flow: row wrap;
  margin: 1em 0;
}

main .article-info dd { margin-right: 20px; }

/* ==================== Pagination ==================== */

.com-content-category-blog__navigation {
  align-items: center;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

.com-content-category-blog__pagination { order: 1; }

.com-content-category-blog__counter { order: 2; }

.pagination {
  border: 1px solid #d1d1d1;
  display: grid;
  grid-auto-columns: max-content;
  grid-auto-flow: column;
  grid-template-rows: 1fr;
  list-style: none;
}

.pagination > li > a,
.pagination > li > span {
  background-color: #fff;
	border-left: 1px solid #d1d1d1;
  box-sizing: border-box;
  color: #000;
  display: block;
  height: 100%;
	padding: 4px 12px;
	text-decoration: none;
}

.pagination > li.disabled > a,
.pagination > li.disabled > span { color: #919191; }

.pagination > li:first-child > a,
.pagination > li:first-child > span { border-left: none; }

.pagination > li > a:hover,
.pagination > li > a:focus,
.pagination > .active > a,
.pagination > .active > span { background-color: #f5f5f5; }

/* ==================== Upcoming Deadlines (Homepage) ==================== */

.item-page.frontpage {
  background-color: #f1f1f1;
  margin-bottom: -60px;
  margin-top: 60px;
  padding: 60px;
}

.item-page.frontpage a {
  color: #000;
  text-decoration: none;
}

.item-page.frontpage ul {
  display: grid;
  gap: 18px 60px;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

/* ==================== Side Menu (Grants by Type) ==================== */

.sidebar ul {
  list-style: none;
  text-align: right;
}

.side-menu a {
  color: #000;
  font-weight: 400;
  text-decoration: none;
}

.side-menu a:hover { text-decoration: underline; }

.side-menu > li > a,
.side-menu > li > .separator {
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
}

.side-menu li.parent > a { font-weight: 600; }

/* Level 1 menu items have more spacing */
.side-menu > li { margin-top: 24px !important; }

/* No top margin for first menu item */
.side-menu > li:first-child { margin-top: 0 !important; }

.side-menu li.parent { margin-top: 18px; }

.side-menu ul li { margin-top: 4px; }

.side-menu ul ul li { font-size: 16px; }

/* ==================== Smart Simple API ==================== */

table.col7,
table.col7 thead,
table.col7 tbody,
table.col7 td { display: block; }

table.col7 { margin: 1em 0; }

table.col7 thead tr {
  background-color: #f2f2f2;
  border-bottom: none;
  color: #2f7ebe;
  font-weight: 600;
  text-transform: uppercase;
}

table.col7 tr {
	border-bottom: 1px solid #000;
	display: grid;
	gap: 10px 20px;
	grid-template-columns: repeat(4, 2fr) repeat(2, 1fr) 4fr;
	padding: 20px;
}

table.col7 tbody tr td:first-child {
  color: #2f7ebe;
  font-weight: 600;
}

table.col7 thead a {
  color: #2f7ebe;
  text-decoration: none;
}

main .search-fields { margin: 0 -10px; }

main .search-fields input[type="text"] {
  background-color: #f2f2f2;
  border-bottom: none;
  font-weight: 600;
  margin: 10px;
  padding: 15px 20px;
  width: 476px;
}

main input[type="text"].main-search { text-transform: uppercase; }

main input[type="text"].search-project { width: 860px; }

main input[type="text"] {
  border: none;
  border-bottom: 1px solid #000;
  font: 400 18px 'Open Sans', sans-serif;
  padding: 2px 5px;
}

main input[type="text"]:focus {
  background-color: #f6f6f6;
  outline: none;
}

.pages a {
  color: #ea2127;
  margin: 0 4px;
}

/* ==========================================================================
   Homepage Button Animation
   ========================================================================== */

@keyframes fadeIn {
  0%   { opacity:1; }
  20%  { opacity:0; }
  50%  { opacity:0; }
  80%  { opacity:1; }
  100% { opacity:1; }
}
@-o-keyframes fadeIn {
  0%   { opacity:1; }
  20%  { opacity:0; }
  50%  { opacity:0; }
  80%  { opacity:1; }
  100% { opacity:1; }
}
@-moz-keyframes fadeIn {
  0%   { opacity:1; }
  20%  { opacity:0; }
  50%  { opacity:0; }
  80%  { opacity:1; }
  100% { opacity:1; }
}
@-webkit-keyframes fadeIn {
  0%   { opacity:1; }
  20%  { opacity:0; }
  50%  { opacity:0; }
  80%  { opacity:1; }
  100% { opacity:1; }
}

@keyframes fadeOut1 {
  0%   { opacity:0; }
  20%  { opacity:1; }
  50%  { opacity:1; }
  80%  { opacity:0; }
  100% { opacity:0; }
}
@-o-keyframes fadeOut1 {
  0%   { opacity:0; }
  20%  { opacity:1; }
  50%  { opacity:1; }
  80%  { opacity:0; }
  100% { opacity:0; }
}
@-moz-keyframes fadeOut1 {
  0%   { opacity:0; }
  20%  { opacity:1; }
  50%  { opacity:1; }
  80%  { opacity:0; }
  100% { opacity:0; }
}
@-webkit-keyframes fadeOut1 {
  0%   { opacity:0; }
  20%  { opacity:1; }
  50%  { opacity:1; }
  80%  { opacity:0; }
  100% { opacity:0; }
}

.animated-button {
  box-sizing: border-box;
  height: 44px;
  position: relative;
  width: 217px;
}

.animated-button .span1,
.animated-button .span2 {
  position: absolute;
    left: 20px;
}

.span1,
.span2 {
  display: inline-block;
  width: 177px;
  text-align: center;
}

.span1 { animation: fadeIn 6s infinite; }

.span2 { animation: fadeOut1 6s infinite; }
   
/* ==========================================================================
   Part of You Infographic
   ========================================================================== */

@keyframes fadeOut {
  0% {
    opacity: 1;
    z-index: 10;
  }
  100% {
    opacity: 0;
    z-index: -1;
  }
}

.infographic-wrapper { position: relative; }

.loading-image {
  animation: fadeOut ease 1s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  animation-delay: 4s;
  background-color: #fff;
  position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  text-align: center;
  z-index: 10;
}

.infographic {
  margin: 0 auto;
  max-width: 800px;
  position: relative;
    top: -240px;
  z-index: 0;
}

.part-of-you {
  font: 600 16px 'Open Sans', sans-serif;
  line-height: 1.2em;
  margin: 0 auto;
  max-width: 800px;
}

.part-of-you .heading { padding: 40px 0; }

.part-of-you .heading img { max-width: 100%; }

.part-of-you .box {
  display: block;
  margin-bottom: 40px;
  padding: 0 48px;
  position: relative;
}

.part-of-you .box h1 {
  font: 700 24px 'Open Sans Condensed', sans-serif;
  letter-spacing: normal;
  line-height: 1em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.part-of-you .box h3 {
  color: #e92629;
  font: 700 20px 'Open Sans Condensed', sans-serif;
  line-height: 0.9em;
  margin: 0 0 8px 0;
  text-decoration: none;
  text-transform: uppercase;
}

.part-of-you .box p { line-height: 1em; }

.part-of-you .box img { max-width: 100%; }

.part-of-you .box:hover .overlay { opacity: 1; }

.part-of-you .overlay {
  background-color: #ffde16;
  padding: 40px;
  opacity: 0;
  transition: 500ms;
}

.part-of-you .overlay .item {
  color: #000;
  display: grid;
  gap: 15px;
  grid-template-columns: 1fr 4fr;
  margin-bottom: 10px;
  text-decoration: none;
}

.part-of-you .read-more {
  color: #000;
  display: block;
  font: 700 24px 'Open Sans Condensed', sans-serif;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.part-of-you .organizations {
  background: #d1d3d4 url("/images/part_of_you/organizations-funded-by-sk-arts.png") center center no-repeat;
  background-size: 75% auto;
}

.part-of-you .participating {
  background: #307fbf url("/images/part_of_you/participating-in-the-arts.png") center center no-repeat;
  background-size: 75% auto;
}

.part-of-you .participating h3 { color: #f7c319; }

.part-of-you .participating .overlay { background-color: #818285; }

.part-of-you .participating .overlay .item { color: #fff; }

.part-of-you .programs {
  background: #e92629 url("/images/part_of_you/sk-arts-funded-programs.png") center center no-repeat;
  background-size: 65% auto;
}

.part-of-you .programs h1 { color: #297fc0; }

.part-of-you .programs .overlay { background-color: #d1d2d4; }

.part-of-you .volunteers {
  background: #231f20 url("/images/part_of_you/volunteers.png") center center no-repeat;
  background-size: 65% auto;
}

.part-of-you .volunteers h1 { color: #ea232a; }

.part-of-you .volunteers h3 { color: #f7c319; }

.part-of-you .volunteers .overlay { background-color: #297fc0; }

.part-of-you .volunteers .overlay .item { color: #fff; }

.part-of-you .arts-education {
  background: #f6c21b url("/images/part_of_you/arts-education.png") center center no-repeat;
  background-size: 65% auto;
}

.part-of-you .arts-education h3 { color: #f7c319; }

.part-of-you .arts-education .overlay { background-color: #ea232a; }

.part-of-you .arts-education .overlay .item { color: #fff; }

.part-of-you .cultures {
  background: #808285 url("/images/part_of_you/different-languages-and-cultures.png") center center no-repeat;
  background-size: 65% auto;
  margin-bottom: 0;
}

.part-of-you .cultures h1 { color: #ea232a; }

.part-of-you .cultures h3 { color: #f7c319; }

.part-of-you .cultures .overlay { background-color: #000; }

.part-of-you .cultures .overlay .item { color: #fff; }

.part-of-you .cultures .read-more { color: #fff; }

.part-of-you .footer { padding: 40px 0; }

.part-of-you .footer img { max-width: 100%; }

.part-of-you .contact {
  background-color: #f6c21b;
  font-size: 20px;
  font-weight: 700;
  padding: 40px;
  text-align: center;
}

.part-of-you .contact p {
  line-height: 1.1em;
  margin-bottom: 24px;
}

.part-of-you .contact p:last-child { margin-bottom: 0; }

.part-of-you .contact a {
  color: #ea232a;
  text-decoration: none;
}

.part-of-you .mobile-link { display: none; }

/* ==========================================================================
   75th Anniversary
   ========================================================================== */

.moduletable.header75 {
  margin: 0 auto 20px auto;
  max-width: 1600px;
  padding: 0 20px;
}

.moduletable.header75 .custom {
  display: grid;
  gap: 20px;
  grid-template-columns: auto 1fr;
}

.moduletable.header75 .text {
  background-color: #2f7ebe;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25em;
  padding: 30px 30px 60px 30px;
  position: relative;
}

.moduletable.header75 p { line-height: 1.25em; }

.moduletable.header75 .text span { color: #f6c216; }

.moduletable.header75 .links {
  position: absolute;
    bottom: 30px;
    left: 30px;
}

.moduletable.header75 .links a {
  background: url("../images/right-arrow.png") right center no-repeat;
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  margin-right: 30px;
  padding-right: 34px;
  text-decoration: none;
  transition: 300ms;
  white-space: nowrap;
}

.moduletable.header75 .links a:hover { color: #f6c216; }

.seventy-five-years {
  display: grid;
  font-size: 20px;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.seventy-five-years h4 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1em;
  margin: 0 0 0.5em 0;
  text-decoration: none;
}

.seventy-five-years p.caption {
  font-size: 14px;
  margin-top: 10px;
}

.seventy-five-years .image { margin-bottom: 30px; }

.seventy-five-years img {
  height: auto !important;
  max-width: 100%;
}

.col1-75 .text,
.col2-75 .text { margin-right: 15px; }

.col3-75 {
  background-color: #f6c216;
  padding: 40px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background-color: #2f7ebe;
  box-sizing: border-box;
  color: #fff;
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin: 0 auto;
  max-width: 1600px;
  padding: 40px;
}

footer .social {
  align-items: center;
  display: grid;
  gap: 10px 20px;
  grid-template-columns: repeat(3, max-content);
  margin-top: 30px;
}

footer .sponsors {
  align-items: center;
  display: grid;
  gap: 10px 30px;
  grid-template-columns: repeat(auto-fit, minmax(160px, max-content));
  margin-top: 30px;
}

@media only screen  
and (max-width : 1619px) {

header {
  gap: 0 40px;
  grid-template-rows: auto 1fr auto;
}

header .moduletable.menu {
  grid-column: 1 / span 3;
  grid-row: 3;
  justify-self: center;
}

.main-menu > li > a,
.main-menu > li > span.separator { padding: 40px 16px; }

.main-menu > li > ul {
  gap: 0 30px;
  padding: 30px;
}

.main-menu > li > ul > li { padding-right: 30px; }

.main-menu > li > ul > li:not(:nth-child(-n+3)) { padding-top: 30px; }

input.js-finder-search-query { width: 300px; }

.banner .custom { min-height: auto; }

.banner .text { padding: 40px; }

.banner.frontpage h2 { font-size: 48px; }

.moduletable.latest .newsflash { gap: 30px; }

.item-page.frontpage { padding: 40px; }

footer { margin: 0 20px; }

}

@media only screen  
and (max-width : 1399px) {

.moduletable.header75 .text { padding: 30px; }

.moduletable.header75 .links {
  margin-top: 1em;
  position: relative;
    bottom: 0;
    left: 0;
}

}

@media only screen  
and (max-width : 1299px) {

.moduletable.latest .newsflash,
.section1 { grid-template-columns: auto; }

.section1 { gap: 40px; }

.moduletable.news { margin-left: 0; }

}

@media only screen  
and (min-width : 1024px) and (max-width : 1299px) {

.moduletable.latest .mod-articlesnews__item,
.moduletable.news .mod-articlesnews__item {
  display: grid;
  grid-template-columns: 2fr 3fr;
  grid-template-rows: auto 1fr;
}

.moduletable.latest .newsflash-image,
.moduletable.news .newsflash-image {
  grid-row: 1 / span 2;
  margin: -30px 30px -30px -30px;
}

}

@media only screen  
and (max-width : 1023px) {

h1, h2 { font-size: 40px; }

header {
  align-items: start;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto;
  padding: 30px 101px 30px 20px;
  text-align: right;
}

.moduletable.logo { grid-row: 1; }

.moduletable.search,
.moduletable.menu { display: none; }

.moduletable.apply .button { margin-bottom: 10px; }

header .button.search { display: inline-block; }

#openMenu { display: block; }

.banner.frontpage h2 { font-size: 36px; }

.moduletable.sidebar { display: none; }

table.col7 thead { display: none; }

table.col7 tr {
  grid-template-columns: auto;
  padding: 20px 0;
}

table.col7 td { display: block; }

table.col7 td:nth-child(2)::before {
  content: "Community: ";
  font-weight: 600;
}

table.col7 td:nth-child(3)::before {
  content: "Discipline: ";
  font-weight: 600;
}

table.col7 td:nth-child(4)::before {
  content: "Program: ";
  font-weight: 600;
}

table.col7 td:nth-child(5)::before {
  content: "Year: ";
  font-weight: 600;
}

table.col7 td:nth-child(6)::before {
  content: "Amount: ";
  font-weight: 600;
}

table.col7 td:nth-child(7)::before {
  content: "Description: ";
  font-weight: 600;
}

main .search-fields { margin: 0; }

main .search-fields input[type="text"] {
  box-sizing: border-box;
  margin: 10px 0;
  width: 100% !important;
}

}

@media only screen  
and (max-width : 799px) {

.part-of-you .box {
  height: 80vw;
  margin-bottom: 20px;
  padding-bottom: 30px;
}

.part-of-you .overlay { display: none; }

.part-of-you .mobile-link {
  align-items: flex-end;
  color: #000;
  display: flex;
  flex-flow: row nowrap;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.part-of-you .participating .mobile-link,
.part-of-you .programs .mobile-link,
.part-of-you .volunteers .mobile-link { color: #fff !important; }

.part-of-you .mobile-link p { padding-bottom: 10px; }

}

@media only screen  
and (max-width : 767px) {

.pull-left,
.pull-right {
  float: none;
  margin: 1em 0;
}

header {
  gap: 20px;
  grid-template-columns: auto;
  justify-items: center;
  text-align: center;
}

.banner .custom { grid-template-columns: auto; }

.banner .text { grid-row: 2; }

.item-page.frontpage ul { grid-template-columns: auto; }

main img {
  height: auto;
  max-width: calc(100vw - 40px);
}

main ul.col3 { columns: 1; }

main .blog-item .item-image { display: none; }

footer { grid-template-columns: auto; }

.loading-image { display: none; }

.moduletable.header75 .custom,
.seventy-five-years { grid-template-columns: auto; }

.seventy-five-years { font-size: 18px; }

.moduletable.header75 .text { font-size: 18px; }

.col1-75 .text,
.col2-75 .text { margin-right: 0; }

.col3-75 { padding: 20px; }

.moduletable.header75 .links a {
  font-size: 18px;
  margin-right: 10px;
}

.pagination > li { display: none; }

.pagination > li:first-child,
.pagination > li:nth-child(2),
.pagination > li:nth-last-child(2),
.pagination > li:last-child { display: block; }

}

@media only screen  
and (max-width : 479px) {

h1, h2 { font-size: 32px; }

h3 { font-size: 26px; }

.banner.frontpage h2 { font-size: 30px; }

.banner .text,
.item-page.frontpage,
footer { padding: 30px; }

.banner.frontpage .features { display: none; }

main .grid {
  gap: 20px;
  grid-template-columns: auto !important;
}

}