/* Style sheet for NE Penn Section  */
:root {
--ashe-blue-background: hsl(208, 76%, 95%);
--ashe-blue-border: hsl(208, 76%, 60%);
--ashe-blue-dark: hsl(208, 76%, 41%);
--ashe-blue: hsl(208, 100%, 36%);
--ashe-red: hsl(349, 100%, 46%);
--text-body: hsl(0, 0%, 32%);
--text-heading: hsl(0, 0%, 47%);
}

html {
  background-color: #eeeeee;
}

body {
  font-family: "Calibri", sans-sarif;
  line-height: 1.8em;
  max-width: 1000px;
  margin: auto;
  /* padding-bottom: 300px; */
  background-color: white;
}

.upcoming-events {
  display: flex;
flex-wrap: wrap;
justify-content: space-around;
}

@media screen and (max-width: 600px) {
.upcoming-events {flex-direction: column;}
}

.upcoming-events p {
  margin-block: 0em;
  }


/* Style typography */
p {
  color: #515151;
  font-size: 1.1em;
  letter-spacing: 0.5px;
  line-height: 1.45;
}

.heading  {
 font-size: 125%;
}

aside p, a {
  font-weight: 400;
}

.ph {
  text-decoration: underline;
  padding-bottom: 0px
}

.card:nth-last-child(1) {
  padding-top: 1em;
}

.top-paragraph {
  padding: 0 30px;
}

h2 {
  color: #f54f5e;
  text-align: center;
  margin-bottom: 0px;
}

h3 {
  text-align: center;
}

h4 {
  text-align: center;
  text-indent: 0;
  font-size: 1.1em;
}

.ashe-blue {
  color: var(--ashe-blue-dark);
}

h4.announcement  {
  text-align: center;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.20em;
  line-height: 1;
  margin: 12px;
}

.center-right-col {
  text-align: left;
  display: inline-block;
}

.center-left-col {
  text-align: right;
  display: inline-block;
}

.show {
  display: none;
}

/* ================= button styling  =========================== */
.button-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1em;
  margin-top: 1em;
}

.download-button {
  max-width: 30em;
  border: 1px solid var(--ashe-blue-dark);
  border-radius: 10px;
  background-color: var(--ashe-blue-dark);
  text-align: center;
  color: white;
  padding: 1px 10px 1px 10px;
  text-decoration: none;
  transition: 400ms;
}

.download-button:hover {
  transform: scale(1.0);
  background-color: var(--ashe-blue-background);
  border: 1px solid var(--ashe-blue-dark);
  color: black;
}

/* ================= End button styling =========================== */

.centered  {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}


.centered75 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 75%;
}

.centered60 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
}

hr {
  width: 80%;
  margin: auto;
}

.hr-thin {
  height: 1px;
  border-width: 0;
  color: gray;
  background-color: gray;
  margin-top: 1em;
}

.hr-50 {
  width: 50%;
}

.hr-80  {
  width: 80%;
}

.pending {
  display: none;
}

/* Style overall heading for all pages */
#logo {
  width: 320px;
  margin: auto;
}

.header-text {
  font-size: 17px;
  text-align: center;
  color: black;
  font-weight: bold;
}

#header {
  border-radius: 10px 10px 0 0;
  /*	background-color: #bcdbf6;    */
  background-image: url("../img/Photo_2096d.jpg");
  padding: 50px 50px 20px 50px;
  margin: auto;
}

.mission {
  text-align: center;
  line-height: 0.95em;
  font-style: italic;
  font-weight: bold;
  color: #125087;
  padding: 0 80px 0 80px;
}

/* Style a general blue background box for all boxes */
.blue-box {
  border-radius: 10px;
  background-color: var(--ashe-blue-background);
  border: 1px solid var(--ashe-blue-border);
}

.white-sub-box {
  border-radius: 10px;
  background-color: white;
  border: 1px solid var(--ashe-blue-border);
  width: 100%;
  margin-inline: auto;
  font-weight: 400;
}


.fancy-link {
  text-decoration: none;
  color: black;
	border-bottom: 2px solid hsl(208, 76%, 72%);
}

.fancy-link:hover {
  background-color: hsl(208, 76%, 72%);
	transition: background-color  color 250ms;
	border-bottom: 3px solid hsl(208, 76%, 72%);
  color: white;
	}

/* style Colarusso address */
address {
  line-height: 1.05em;
  font-size: 0.9em;
  padding-top: 10px;
}

/* Style for important announcements */
.headline-box {
  margin: 0 auto 20px auto;
  padding: 0px;
  border-radius: 10px;
  border: 1px solid #125087;
  background-color: #125087;
  width: 50%;
}

.headline-box h2 {
  font-size: 1.2em;
  padding: 0px;
  margin-top: 0px;
  text-align: center;
  color: white;
}

.headline-box:hover {
  background-color: var(--ashe-blue-background);
  margin: 0 auto 20px auto;
  padding: 0px;
  border: 1px solid #125087;
}

.headline-box:hover h2 {
  color: black;
}

.headline-box a {
  text-decoration: none;
}

/* Styling for announcement boxes */

.announcement-box {
  text-align: center;
  padding: 10px 5px 10px 10px;
  width: 600px;
  margin: 5px 0px 10px 20px;
}

.announcement-box p {
  color: black;
}

p.announcement {
  text-align: center;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.20em;
  line-height: 1.3;
  margin: 10px;
}

/* p.announcement:first-of-type {
  margin-top: -1.5em;
} */

p.announcement-2ndline {
  text-align: center;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.92em;
  line-height: 1.2em;
  margin: 6px;
}

.announcement-times {
  display: flex;
  justify-content: center;
}

.left .center .right {
  flex-direction: column;
}

.right p {
  text-align: left;
  padding-left: 0;
  margin-left: 0;
}

.left p {
  text-align: left;
  padding-right: 0;
  margin-right: 0;
}


/* Styling for right-side Why Join? box */
.join-box {
  text-align: left;
  line-height: 1.25em;
  padding: 30px 20px 10px 20px;
  margin: 40px 25px;
}

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

  .pay-pal-area {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
  }
 }
  

.pay-pal-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}


.pay-pal-box {
  text-align: center;
  border-radius: 10px;
  border: 1px solid #bcdbf6;
  padding: 10px 10px 3px 10px;
  width: 300px;
  margin: 20px auto 40px auto;
  background-color: var(--ashe-blue-background);
}

.plain-box {
  text-align: center;
  padding: 10px 10px 10px 10px;
  width: 70%;
  margin: auto;
  font-size: 1.2em;
}

.names-box {
  text-align: left;
  padding: 10px 10px 0px 10px;
  margin: 20px auto 0px auto;
}

.names-box p {
  padding: 0 20px 0 20px;
}

ul {
  list-style-type: none;
  background-color: none;
}

.career-card td {
  padding-right: 10px;;
}

.bold-li {
  font-weight: bold;
}

.img-pages {
  width: 280px;
  padding: 0px 10px 10px 25px;
  float: right;
  position: static;
}

.img-center {
  margin-inline: auto;
  width: 35%;
  display: block;
}

/* Style the footer */
footer {
  display: block;
  background-color: var(--ashe-blue-dark);
  padding: 0px 0px 10px 0px;
  border-radius: 0px 0px 10px 10px;
  color: white;
  margin: 0 0 20px 0;
}

footer p {
  color: white;
  text-align: center;
}

footer h2 {
  color: white;
  text-transform: capitalize;
}

footer a {
  color: white;
}

footer address {
  text-align: center;
  color: white;
}

/* Style the career job posting notices */

.career-box {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.career-card {
  position: relative;
  display: flex;
  flex-direction: row;
  width: 90%;
  margin: auto;
  gap: 2em;
  }

  .career-card img {
    max-width: 100%;
    min-width: 15em;
    padding: 0.5em;
    flex-shrink: 1;
    object-fit: contain;
      }

   .career-card p {
    padding-right: 1em;
   }   

.expire-date {
  position: absolute;
  bottom: 0px;
  right: 1em;
  font-size: 0.75em;
}   


@media screen and (max-width: 700px) {
  .career-card {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: auto;
    gap: 2em;
    }

    .career-card img {
      margin: auto;
      max-width: 150px;
      padding: 0.5em;
      flex-shrink: 1;
      object-fit: contain;
        }
}

/* history stuff  */

.history  {
  display: flex;
}


.history article {
  border: 1px solid black;
  width: 50%;
  
}
.h-left {
margin-inline: auto;
padding: 3em;
  }

