#modalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  height: 100%;
  width: 100%;
}
.modalPopup {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  width: 30%;
  padding: 0 0 0px;
  -webkit-box-shadow: 0 2px 10px 3px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 2px 10px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 10px 3px rgba(0, 0, 0, 0.2);
}
.modalContent {
  /* padding: 0 2em; */
}

.headerBar {
  width: 100%;
  background: #edcb04 url(http://cognex.com/gfx/site/bg-global-header.png)
    repeat-x 0 0;
  margin: 0;
  text-align: center;
}
.headerBar img {
  margin: 1em 0.7em;
}
h1 {
  margin-bottom: 0.2em;
  font-size: 26px;
  text-transform: capitalize;
}
p {
  margin: 0.75em 0 1.5em;
}

.buttonStyle {
  position: absolute;
  top: 0px;
  right: 0px;
  border: transparent;
  border-radius: 0;
  background: white;
  color: black !important;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  padding: 0px 8px;
  text-decoration: none;
  border-radius:50%;
}

.buttonStyle:hover {
  background: black;
  color: white !important;
}

@media screen and (max-width:576px){
  .modalPopup {
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 85%;
    padding: 0 0 0px;
  }
}

@media screen and (max-width:1024px){
  .modalPopup {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 70%;
    padding: 0 0 0px;
  }
}