/* Overrides to agi.css for project pages */

.splashpic-esw {
    position: relative;
    overflow: hidden;
}
.splashpic-esw .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.2;
}
.daystoesw {
  font-weight: bolder;
  font-style: italic;
  color: #2b6e6b;
  margin-bottom: 1.2em;
  text-align: center;
}
.splashtext {
    margin:0 4rem; 
    padding: 0.5rem 1rem;
    line-height: 1.3;
}
.splashtext h1, .splashtext h3, .splashtext p {
    text-align: center; 
    color: #222222;
}
.homepagecard a p {
    color: #222222;
    font-size: medium;
}
.social-media-icon {
    margin: 0 0.5rem;
    font-size: 1.5rem;
}
#homeabout {
    text-align: center;
}
.nav-link:hover {
    color: #bebebe;
}
.nav-link {
    color: #fff;
}
a {
    text-decoration: none;
    font-weight: bold;
    color: #2B6E6B;
    /*color: var(--color-on-surface);*/
}

a:hover, a:hover h3, a:hover p {
    text-decoration: none;
    color: var(--color-primary);
}
.homeadditionaltext {
    margin-bottom: 1rem;
  }
/* Formatting for Horizontal Cards */
.hcard {
/*    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: var(--color-background);  */
    float: left;
    height: 100px;
    margin-bottom: unset;
    margin-right: unset;
    padding: unset;
    border: 1px solid #cccccc;
    border-radius: 5px;
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.2);  
    overflow: hidden;  
    background-color: #eeeeee;
}

.hcard-img {
    float: left;
    height: 100px;
    width: 100px;
    margin-left: 0px;
    padding: 0px;
}

.hcard-img img {
    height: 100px;
    width: 100px;
    /*border-radius: 5px 0 0 5px; */
    float: left;
}

.hcard-text {
    display: inline;
    float: unset;
    height: unset;
    vertical-align: middle;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 0px;
    padding-bottom: 0px;
}
.hcard-description {
    font-size: .8rem;
    font-weight: lighter;
    line-height: 1.2;
}
.hcard a:hover {
    text-decoration: none;
}

/* CUSTOM FOOTER */
footer p {
    font-size: small;
    font-weight: normal;
    color: #fff;
}
footer a.contact, footer a {
    color: #fff;
}
footer a:hover, footer a.contact:hover {
    color: #bebebe;
}
footer .footer__top {
    background-color: var(--color-primary);
    min-height: 151px;
    padding-bottom: 26px;
    padding-top: 26px;
}
footer .footer__contact-details p  {
    margin: 0;
}
footer .footer__top .hashtag {
    font-family: Roboto, Times New Roman,Times,serif;
    font-size: 2rem;
    letter-spacing: .31px;
    line-height: 1.4;
}
footer .footer__top li {
    list-style-type: none;
}
.social-media-icons li {
    display: inline-block;
    color: #fff;
}
.social-media-icons ul {
    padding-left: 0;
    margin-left: 0;
}
footer .footer__bottom {
    background-color: #2B6E6B;
    color: #fff;
    padding: 1rem 0;
}
footer .copyright {
    font-size: .9rem;
}
.introtext {
    font-size: 2.0em;
    font-family:'Roboto';
    font-weight: 300;
    display: flex;
}

.introtext a {
    text-decoration: none;
    font-weight: bold;
    color: var(--color-on-surface);
}

.introtext a:hover {
    text-decoration: underline;
    color: var(--color-primary);
}

.introtext-image {
    flex: 0 0 30%; 
    max-width: 30%;
    padding-right: 10px;
}

.introtext-image2 img {
    width: 100%;
    height: auto;
}

.introtext p {
    flex: 1;
}
.contesttext {
    font-size: 2.0em;
    font-family:'Roboto';
    font-weight: 300;
    display: flex;
}

.contesttext a {
    text-decoration: none;
    font-weight: bold;
    color: var(--color-on-surface);
}

.contesttext a:hover {
    text-decoration: underline;
    color: var(--color-primary);
}

.contesttext-image {
    flex: 0 0 30%; 
    max-width: 30%;
    padding-right: 10px;
}

.contesttext-image2 img {
    width: 100%;
    height: auto;
}

.contesttext p {
    flex: 1;
}
.finalistcard img {
    width: 100%;
    max-width: 300px;
}
.finalistcard {
    max-width: 300px;
}
.essayquote {
    font-size: unset;
    padding: 1.5rem;
    background: antiquewhite;
    border-left: 5px solid #b69870;
    font-weight: 400;
    padding: 15px 20px;
}
.essayquote.finalist{
    height: 230px;
}
a:hover .essayquote {
    background: #d7c0a1;
}
a:hover .essayquote h3, a:hover .essayquote p {
    color: black;
}

.quotereadmore {
  font-weight: bold;
  font-style: italic;
  color: inherit;

}
a:hover p.quotereadmore {
  color: #2b6e6b;
}
.printtopdf.btn {
    border-radius: 4px;
  padding: 10px;
}
.printtopdf {
    text-align: start;
}
.video-card {
    width: 100%;
}
.video-link {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0; 
    overflow: hidden;
    width:100%;
}
.yt-video-frame {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    border:0;
}
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video-thumbnail {
    width: 100%;
    opacity: 0.5;
}

.sponsorlogo {
    float: left;
}
.sponsorlogo img {
    width: 100%;
    max-width: 200px;
}
.sponsortext {
    float: left; 

}

@media (max-width: 768px) {
.sponsortext p {
  font-size: 1rem;
  padding-top: 1rem;
}
.sponsortext {
  padding-left: 0 !important; 
}

} 

.priorcontestyear {
  width: 50px;
}

.flexcard {
    flex: 0 1 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; 
    float: left;
    background: linear-gradient(to bottom, var(--color-primary), #2B6E6B);
    max-width: 22%;
}

.flexcard a {
    text-decoration: none;
    color: var(--color-on-surface);
}

.list-group-item-toolkit {
    position: relative;
    display: block;
    padding: 0.5rem 1rem;
    color: #212529;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  }
  .list-group-item-toolkit:first-child {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
  }
  .list-group-item-toolkit:last-child {
    border-bottom-right-radius: inherit;
    border-bottom-left-radius: inherit;
  }
  .list-group-item-toolkit.disabled, .list-group-item-toolkit:disabled {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
  }
  .list-group-item-toolkit.active {
    z-index: 2;
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
  }
  .list-group-item-toolkit + .list-group-item-toolkit {
    border-top-width: 0;
  }
  .list-group-item-toolkit + .list-group-item-toolkit.active {
    margin-top: -1px;
    border-top-width: 1px;
  }

/* List of online toolkit cards */

.toolkit-card {
    width: 280px;
    min-height: 300px;
    padding: 0 0 1em 0;
    float: left;
    border-radius: 6px;
    margin: 1em;
  }
  
  .toolkit-card.active{
      display: block;
  }
  
  .toolkit-card.inactive {
      display: none;
  }
  .toolkit-card-header {
    color: #f2f2f2;
    font-size: 1.1em;
    font-weight: bold;
    padding: .5em;
    background-color: #2B6E6B;
    border-bottom: none;
  }
  
  .toolkit-card-body {
    padding: 1em;
    display: flex;
    justify-content: center;
    padding: 0;
    background-color: rgba(0,0,0,.03);
  }
  .toolkit-card-footer {
    background-color: unset;
  }
  
  .toolkit-card-btn {
    background-color: var(--color-primary);
    color: #f2f2f2;
  }
  .toolkit-card-image {
    width: 100%;
    max-height: 200px;
    min-width: 200px;
    object-fit: cover;
    object-position: top left;
  }
  .toolkit-card-description {
    font-size: 0.90em;
  }
  .toolkit-card-organization {
    font-size: 0.80em;
    font-weight: bold;
    color: rgba(0,0,0,.7);
  }
  
  /* Filters */
  .filter-help {
    font-size: 0.8em;
    border-top: 1px #ccc solid;
  }
  .filter-container {
    display: block;
    background-color: #f2f2f2;
    border-radius: 5px;
    border: none;
  }
  .filter-toggle {
    display: block;
    background-color: #e6e6e6;
    border-radius: 5px;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(0,0,0,.7);
  }
  .filter-wrapper {
    display: none;
    margin-top: 10px;
  }
  .filter-wrapper.active {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
  }
  .filter-section {
    margin-bottom: 10px;
    margin-left: 10px;
  }
  .filter-buttons {
    display: flex;
    flex-wrap: wrap;
    margin-left: 10px;
  }
  .filter-button {
    display: block;
    background-color: #e0e0e0;
    color: rgba(0,0,0,.7);
    border-radius: 5px;
    border: none;
    padding: 0.25rem 0.5rem;
    margin: 0.25rem;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.75rem;
  }
  
  .filter-button.active {
    display: block;
    /*background-color: #cabdbd;*/
    background-color: #bec4be;
    color: rgba(0,0,0,.7);
  }
  .filter-subheader {
    text-transform: uppercase;
    font-size: 0.75em;
    font-weight: 700;
  }
  .activity-header {
    border-bottom: 1px solid #ccc;
    font-style: italic;
    color: #2B6E6B;
  }
  .logocard-body {
    background-color:#f2f2f2;
    border-top: 1px solid #ccc;
  }
  .logocard-text {
    text-align: center;
  }
  .logocard-top {
    background-color:#ccc;
    height: 120px;
  }
  .logocard-text a {
    padding: 0.5rem;
    font-size: 1.1rem; 
    display: inline-block;
  }
/* Style for the activity tables */
.activity-table-style .activity-caption-style {
  font-weight: bold;
  color: #333; /* Example color */
  margin-bottom: 10px;
}
.activity-table-style table {
  width: 100%; /* Example width */
  border-collapse: collapse; /* Collapses border */
}
.activity-table-style th {
  background-color: #f2f2f2; /* Example background color */
  color: #000; /* Example text color */
  padding: 10px; /* Example padding */
  border-bottom: 2px solid #ccc; /* Restyles the border */
}
.activity-table-style td {
  padding: 8px; /* Example padding */
  text-align: left; /* Aligns text to the left */
  border-bottom: 1px solid #eee; /* Example border for table rows */
}
.activity-table-style tr:last-child td {
  border-bottom: none;
}
.activity-table-style tbody tr:nth-child(odd) {
  background-color: #f9f9f9; /* Example zebra striping for odd rows */
}
.activity-table-style tbody tr:hover {
  background-color: #f1f1f1; /* Example hover effect */
}

@media (max-width: 500px) {
  .hcard-description {
    display: none;
  }
} 
.landingline {
  margin-top: 1rem;
}