﻿.event-item:first-child {
    border-top: none;
    margin-top: 0;
}

.event-item {
    border-top: 1px solid rgba(0, 0, 0, .1);
    max-width: 100%;
    margin-right: 20px;
}

.event-top {
    display: flex;
    justify-content: space-between;
    text-decoration: underline;
}
.event-title {
    font-size: 1.3rem !important;
    font-weight: bold;
    text-decoration: underline;
}

.podcast-body {
    display: flex;
}

.usa-hero .usa-hero__callout {
  background-color: transparent;
  max-width: 100%;
}

.usa-hero {
  background-image: linear-gradient(90deg, rgba(0, 11, 81, 0.6001751042) 10%, rgba(64, 56, 4, 0.6029762247) 100%), url(../../images/default.jpg);
}

h1.usa-hero__heading {
  font-size: 2.5rem;
  color: white;
  text-transform: uppercase;
  text-align: center !important;
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  line-height: 1.2;
}

.resource-library {
  background: none !important;
  background-color: #305A74 !important;
  padding: 0px !important;
}
.resource-library h1.usa-hero__heading {
  font-size: 1.5rem;
  border-right: solid 2px white;
}

.resource-library .grid-container {
  padding: 0;
}

.resource-library .usa-hero__callout.row {
  padding: 1rem 0;
}

html, body {
  overflow-x: hidden;
}

::-webkit-scrollbar {
  webkit-overflow-scrolling: touch;
  -webkit-appearance: none;
  width: 8px;
  background: #f3f3f3;
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

input[type=checkbox] {
  height: 0;
  width: 0;
  visibility: hidden;
}

label {
  cursor: pointer;
  text-indent: -9999px;
  width: 60px;
  height: 30px;
  background: grey;
  display: block;
  border-radius: 100px;
  position: relative;
}

label:after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 90px;
  transition: 0.3s;
}

span.labels.current {
  color: #1B6695;
  cursor: pointer;
}
span.labels.all {
  color: #1B6695;
  cursor: pointer;
}

.wrapper {
  background: #eee;
  padding: 15px 5px 5px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.funding-height {
  margin-bottom: 50px;
}

.labels {
  padding: 0px 10px;
  font-weight: bold;
}

input:checked + label {
  background: #E5B737;
}

input:checked + label:after {
  left: calc(100% - 5px);
  transform: translateX(-100%);
}

label:active:after {
  width: 30px;
}

a {
  word-break: break-word;
}

span.day {
  border: solid 3px #005EA2;
  display: block;
  padding: 10px 40px;
  text-align: center;
  font-weight: bold;
  margin-left: 15px;
}
span.month {
  margin-left: 15px;
  display: block;
  text-align: center;
  background: #1B6695;
  color: white;
  padding: 10px 40px;
  font-weight: bold;
  text-transform: uppercase;
}
span.article-content {
  display: block;
  margin-left: 15px;
  color: #1B6695;
  font-weight: bold;
}
span.article-content.article-description {
  color: black;
  font-weight: normal;
}
span.article-content.article-description a {
  font-size: 1rem !important;
}
span.article-content.solicitation {
  font-size: 0.75rem;
}
span.article-content a {
  color: #1B6695;
  font-weight: bold;
}
span.article-content a.article-title {
  font-size: 1.3rem;
  text-decoration: underline;
}

.hidden {
  display: none;
}

li.usa-collection__item {
  min-width: 100%;
  padding-left: 30px;
}

a.register {
  text-align: right;
  display: block;
  padding-right: 30px;
}

.usa-collection__item:first-child {
  margin-bottom: 0;
}

.usa ul.usa-collection {
  border: solid 1px #e0dede;
  max-height: 220px;
}

h2.article-header {
  font-weight: bold;
  font-size: 1.6rem;
  line-height: 1rem;
  margin-bottom: 0;
  padding-top: 1rem;
  padding-bottom: 0;
}

a.openModal:focus {
  outline: none;
}

a.register {
  width: 100%;
  float: right;
}
a.register:focus {
  outline: none;
}

section.usa-hero.announcements-and-events {
  background-image: linear-gradient(90deg, rgba(0, 11, 81, 0.6001751042) 10%, rgba(64, 56, 4, 0.6029762247) 100%), url(../../images/announcementsandevents.jpg);
  background-position: bottom;
}

.modal-footer a.btn-primary {
  padding: 10px;
  border-radius: 3px;
  text-decoration: none;
}

li:first-child {
  border-top: none;
}

.modal-content {
  max-height: 320px;
  overflow-y: scroll;
  overflow-x: hidden;
}

@media (max-width: 64em) {
  main {
    min-height: 855px;
  }
  a.register {
    width: 30%;
    float: right;
  }
  a.register:focus {
    outline: none;
  }
  .grid-col-10, .grid-col-9 {
    flex: 0 1 auto;
    width: 100% !important;
  }
  li.usa-collection__meta-item .grid-col-2 {
    width: 100%;
  }
  li.usa-collection__meta-item span.tablet\:grid-col-3 {
    width: 100%;
  }
  span.article-content a {
    display: block;
    margin-top: 20px;
  }
  a.openModal {
    padding-left: 15px;
    padding-top: 15px;
    display: block;
  }
}
@media only screen and (max-width: 50.99em) and (min-width: 43.99em) {
  .tablet\:grid-col-3 {
    flex: 0 1 auto;
    width: 100%;
  }
}
