* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  margin: 0;
  padding: 0;
}

main.jd {
  margin-top: 3vw;
  padding: 0 3vw 0 3vw;
}

.jd-list .jobs {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem 0 2rem 0;
}

.jd-list .jobs .job {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 7.5rem;
  height: 7.5rem;
  padding: 0.75rem 1.25rem 0.75rem 0.75rem;
  margin: 0.25rem 0.5rem 0.25rem 0;
  background-color: rgba(255,255,255,0.7);
  color: #000000;
  border-radius: 8px;
  box-shadow: 0px 0px 4px rgba(0,0,0,0.1);
  font-family: var(--typeface-serif);
  font-size: 24px;
  font-weight: 500;
  text-decoration: none;
  transition: 100ms;
}

.jd-list .jobs .job:hover {
  background-color: rgba(255,255,255,1);
  text-decoration: underline;
  color: #3000A8;
}

.jd-list .jobs .job img {
  width: 32px;
}

.position-filled {
  text-align: center;
  font-size: 150%;
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: #DBDAE0;
}

.jd.filled {
  opacity: 50%;
}

.jd {
  color: #3C3A41;
  background: #FFF;
  line-height: 1.25;
  border-radius: 16px;
  box-shadow: 0px 0px 20px rgba(0,0,0,0.05);
}

.jd .part {
  margin-bottom: 3rem;
}

.jd .wrapper {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.jd .opener {
  font-size: 28px;
  margin-bottom: 2rem;
}

.jd h1 {
  color: #000000;
  margin-bottom: 0.75rem;
}

.jd h2 {
  color: #000000;
  margin-bottom: 1rem;
}

.jd p,
.jd img,
.jd ul,
.jd video {
  margin-bottom: 1rem;
}

.jd a {
  color: inherit;
}

.jd a:hover {
  color: #3000A8;
}

.jd .featured p a:hover {
  color: #68C8B2;
}

.jd ul li {
  list-style-type: disc;
  margin-left: 1rem;
}

.jd img,
.jd video {
  width: 100%;
  border-radius: 8px;
}

.jd a.link-to-list {
  position: relative;
  left: -3vw;
  display: inline-block;
  margin: 10px 0 0 10px;
  padding: 5px 10px 5px 10px;
  border-radius: 6px;
  font-size: 18px;
  background-color: #E0DFDE;
}

.jd .intro {
  text-align: center;
  margin-top: 3rem;
}

.jd .intro p.date {
  font-size: 0.8rem;
  color: #9D9BA4;
  margin-bottom: 0.5rem;
}

.jd .archived {
  background-color: #E0DFDE;
  padding: 50px;
  border-radius: 8px;
  margin-top: -20px;
  margin-bottom: 20px;
}

.jd ul.withicons {
  list-style-type: none;
  padding-left: 0;
  margin: 2.5rem 0 2.5rem;
  max-width: 28rem;
  font-size: 0.8333rem;
}

.jd ul.withicons li {
  display: flex;
  align-items: center;
  margin: 0 0 0.8333rem -2.2rem;
}

.jd ul.withicons li svg {
  stroke: #56438A;
  stroke-width: 2;
  flex-shrink: 0;
  margin-right: 0.8333rem;
}

.jd .weblinks {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem 0 2rem 0;
}

.jd .weblinks a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 7.5rem;
  height: 7.5rem;
  padding: 0.75rem 1.25rem 0.75rem 0.75rem;
  margin: 0.25rem;
  background-color: #EDECF0;
  box-shadow: 0px 1px 3px rgba(44, 25, 82, 0.2);
  border-radius: 6px;
  font-size: 0.75rem;
  color: #3C246A;
  text-decoration: none;
}

.jd .weblinks a .sitename {
  opacity: 0.5;
}

.jd .weblinks a:hover .sitename {
  opacity: 1;
  color: #347E6D;
  text-decoration: underline;
}

.jd .media-gallery .medias {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.jd .media-gallery .media-container {
  width: 40%;
  min-width: 15rem;
  max-width: 25rem;
  margin: 0.75rem;
  position: relative;
}

.jd .media-gallery .media-container video {
  border-radius: 9px;
  width: 100%;
}

.jd .media-gallery .media-container img {
  border-radius: 9px;
  width: 100%;
}

.jd .media-gallery .media-container figcaption {
  font-size: 0.8333rem;
  color: #9D9BA4;
}

.jd .media-gallery .video-container::after {
  content: url("handbook/video.svg");
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: 0.2s;
}

.jd .media-gallery .video-container:hover::after {
  opacity: 0;
}

.jd .media-gallery .media-container video::-webkit-media-controls {
  display:none !important;
}

.jd .featured {
  background-color: #3F3853;
  color: #DEDBE8;
  padding: 5rem 0 5rem;
}

.jd .featured h2 {
  color: #FFFFFF;
}

.jd .featured ul.withicons li svg {
  stroke: #FFFFFF;
}

.jd .featured a:hover {
  color: #FFE176;
}

.jd .apply {
  text-align: center;
  padding: 3rem 3vw 2rem 3vw;
  margin: 0 -3vw 0 -3vw;
  border-top: 3px solid #EEE;
  border-radius: 0 0 16px 16px;
}

.jd .apply .email-cta {
  font-family: var(--typeface-serif);
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none;
  color: #3000A8;
  background-color: #F3F3F2;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 1.5rem;
  transition: 100ms;
}

.jd .apply .email-cta:hover {
  transform: scale(1.05);
}

.jd .apply .email-cta:active {
  transform: scale(0.95);
}

.jd .footer {
  background-color: #DBDAE0;
  font-size: 0.8333rem;
}

.jd .footer a {
  display: block;
  text-decoration: none;
  padding: 1rem 0 1rem;
}

.jd .footer a:hover {
  color: #3C246A;
}

.jd .footer a:hover .footerurl {
  text-decoration: underline;
  color: #347E6D;
}


@media only screen and (max-width: 800px) {
  main.jd {
    margin: 0 -3vw 0 -3vw;
  }  
  .jd .intro, .jd .apply {
    text-align: left;
  }
  .jd .apply .email-cta {
    font-size: 1.5rem;
  }
}

@media only screen and (max-width: 600px) {
  .jd .apply .email-cta {
    padding: 0.5rem 0.75rem;
    font-size: 1.3rem;
  }
}

