#career-popup {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  justify-content: center;
  opacity: 0;
  z-index:-10;
  transition: all 0.5s;
}

#career-popup .overlay {
  position: absolute;
  z-index: 0;
  width:100%;
  height:100%;
  left:0;
  top:0;
  background: rgba(255, 255, 255, 0.85);
}

#career-popup.open {
  opacity: 1;
  z-index: 100;
}

#career-popup .inner {
  width: 540px;
  min-height: 500px;
  max-height: 70vh;
  padding: 30px 50px;
  z-index: 1;
  background: #fff;
  display: inline-block;
  position: relative;
  overflow-y:auto;
}

a.popup-close {
  color: #000;
  position: absolute;
  right: 25px;
  top: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.popup-close .text {
  float: left;
  margin-right: 10px;
  font-weight: 300;
}

.popup-close .icon {
  width: 20px;
  height: 20px;
  position: relative;
  float: right;
}
.popup-close .icon:before,
.popup-close .icon:after {
  content: "";
  width: 100%;
  height: 3px;
  background: #707070;
  transform-origin: center;
  transition: all .4s ease;
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
}
.popup-close .icon:before {
  transform: rotate(45deg);
}
.popup-close .icon:after {
  transform: rotate(-45deg);
}

@media (min-width: 1024px) {
  #career-popup .inner {
    width: 540px;
    min-height: 500px;
    max-height: 70vh;
    padding: 30px 50px;
  }
  .popup-close .text {
    font-size: 18px;
  }
}

@media (max-width: 1023px) {
  #career-popup {
    width: 100vw;
    overflow: hidden;
  }
  #career-popup .inner {
    width: 86vw;
    min-height: 60vh;
    max-height: 80vh;
    padding: 5vw 5vh;
  }
  .popup-close .text {
    font-size: 16px;
  }
}