html {
  box-sizing: border-box;
}

*, *::after, *::before {
  box-sizing: inherit;
}

body.overlay-visible {
  position: fixed;
  overflow: hidden;
}

#overlay {
  display: none;
  width: 100%;
  height: 100%;
  padding-left: 1em;
  padding-right: 1em;
  position: fixed;
  top: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.6);
  -webkit-box-align: center;
  -moz-box-align: center;
  box-align: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  box-pack: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  -ms-flex-pack: center;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  box-orient: vertical;
  -webkit-box-direction: normal;
  -moz-box-direction: normal;
  box-direction: normal;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  flex-direction: column;
  -ms-flex-direction: column;
}
#overlay.visible {
  display: -webkit-box;
  display: -moz-box;
  display: box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
}
#overlay .overlay-container {
  display: block;
  min-height: 100px;
  width: 100%;
}
#overlay #overlay-wrapper {
  display: block;
  max-width: 1000px;
  min-width: 320px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  background: white;
  color: #000;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.3);
  background-size: contain;
  background-repeat: no-repeat;
}
#overlay #overlay-wrapper:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 62.5%;
}
#overlay #overlay-wrapper > div {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
#overlay #overlay-wrapper.has-bg-image .overlay-content {
  background-color: rgba(0, 0, 0, 0.5);
  color: white !important;
}
#overlay #overlay-wrapper.has-bg-image .overlay-content a {
  color: white !important;
}
#overlay #overlay-wrapper .overlay-content {
  padding: 1em;
  display: -webkit-box;
  display: -moz-box;
  display: box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  box-align: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  box-pack: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  -ms-flex-pack: center;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  box-orient: vertical;
  -webkit-box-direction: normal;
  -moz-box-direction: normal;
  box-direction: normal;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  flex-direction: column;
  -ms-flex-direction: column;
}
#overlay #overlay-wrapper .overlay-content img,
#overlay #overlay-wrapper .overlay-content embed,
#overlay #overlay-wrapper .overlay-content video {
  max-width: 100%;
  height: auto;
}
#overlay .overlay-close-area {
  display: block;
  max-width: 1000px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: right;
}
#overlay #close-overlay-button {
  display: inline-block;
  z-index: 5;
  margin-bottom: -5px;
  position: relative;
  top: 10px;
  right: -10px;
  padding-bottom: 20px;
  padding-top: -20px;
  font-size: 25px;
  line-height: 27px;
  text-indent: 2px;
  font-weight: bold;
  width: 30px;
  height: 30px;
  color: white;
  text-align: center;
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.8);
  border-radius: 40px;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  box-shadow: 2px 2px 2px #111111;
  cursor: pointer;
  cursor: hand;
}

/*# sourceMappingURL=cap-overlay-style.css.map */
