/**
 * @file
 * Visual styles for Dark+'s images overlay.
 */
.overlay-container {
  position: relative;
  display: block;
  overflow: hidden;
}
.image-preview .overlay-container {
  max-width: 100%;
  float: left;
}
.overlay-container.overlay-container--circle {
  border-radius: 100%;
}
.overlay-container--circle img {
  border-radius: 100%;
}
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  border-radius: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.2s linear;
  -moz-transition: opacity 0.2s linear;
  -o-transition: opacity 0.2s linear;
  transition: opacity 0.2s linear;
  z-index: 10;
}
.overlay-container.overlay-container--circle .overlay {
  border-radius: 100%;
}
.overlay--visible {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
  background-color: rgba(0, 0, 0, 0.5);
}
.overlay-target-link {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
}
.overlay--white {
  background-color: rgba(255, 255, 255, 0.6);
}
.overlay-inner {
  position: absolute;
  height: 0;
  top: 50%;
  margin-top: -30px;
  left: 0;
  width: 100%;
  text-align: center;
}
.overlay-inner a.overlay-title {
  font-size: 32px;
  display: inline-block;
  color: #ffffff;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: transparent;
  margin-bottom: 0px;
  text-decoration: none;
  font-weight: 600;
}
.headings-wide-spacing-enabled .overlay-inner a.overlay-title {
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.overlay-inner a.overlay-title:hover {
  border-bottom-color: #ffffff;
}
.overlay-inner .overlay-subtitle {
  font-size: 16px;
  color: #ffffff;
  display: block;
  font-weight: 500;
}
.overlay-caption-container {
  position: absolute;
  height: 0;
  top: 50%;
  left: 0;
  margin-top: -32px;
  width: 100%;
}
.overlay-title h4 {
  margin: 0;
  font-weight: 700;
  font-size: 23px;
  color: #ffffff;
}
.overlay-caption {
  padding: 20px 0;
  display: block;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
}
.overlay-caption:hover {
  color: #ffffff;
}
.overlay-caption--black {
  background-color: rgba(0,0,0,0.8);
  color: #ffffff;
  position: relative;
}
.overlay-caption--black:before {
  content: "";
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  -webkit-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  transition: all 0.3s linear;
}
.overlay-icon {
  display: inline-block;
  margin: 0 5px;
  font-size: 16px;
  text-align: center;
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: transparent;
  border-width: 2px;
  border-color: #fff;
  border-style: solid;
  color: #ffffff;
}
.overlay-icon:hover,
.overlay-icon:focus {
  background-color: #ffffff;
}
.overlay-icon--small {
  font-size: 20px;
}
.overlay-icon--borderless {
  border-width: 0;
  border-style: none;
  font-size: 58px;
}
.overlay-icon.overlay-icon--borderless:hover {
  background-color: transparent;
  color: #ffffff;
}
.overlay-icon--button {
  font-size: 30px;
  width: 80px;
  height: 80px;
  margin: 0 10px;
  background-color: #ffffff;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  line-height: 80px;
  color: #ffffff;
  -webkit-box-shadow: 0 0px 0px rgba(0,0,0,0.17);
  box-shadow: 0 0px 0px rgba(0,0,0,0.17);
  -webkit-transition: all linear 0.2s;
  -moz-transition: all linear 0.2s;
  -o-transition: all linear 0.2s;
  -ms-transition: all linear 0.2s;
  transition: all linear 0.2s;
}
.overlay-icon--button-small {
  width: 30px;
  height: 30px;
  font-size: 14px;
  line-height: 30px;
  margin-top: 25px;
}
.overlay .mt-button {
  padding: 15px 20px;
}
.overlay .mt-button .svg-inline--fa {
  margin-right: 15px;
}
.overlay-container:hover {
  text-decoration: none;
}
.overlay-container:hover .overlay-caption--black {
  background-color: transparent;
}
.overlay-container:hover .overlay-caption--black:before {
  top: -375px;
  height: 750px;
  background-color: rgba(0,0,0,0.8);
  -webkit-transition: all 0.7s linear;
  -o-transition: all 0.7s linear;
  transition: all 0.7s linear;
}
.overlay-container:hover .overlay-caption {
  -ms-transform: scale(2);
  -webkit-transform: scale(2);
  transform: scale(2);
}
.overlay-container:hover .overlay {
  opacity: 1;
  filter: alpha(opacity=100);
}
.overlay-container:hover .overlay-icon--button {
  -webkit-box-shadow: 0 19px 16px rgba(0,0,0,0.17);
  box-shadow: 0 19px 16px rgba(0,0,0,0.17);
}
.overlay-animated {
  -webkit-animation-duration: 0.4s;
  animation-duration: 0.4s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.overlay-fade-left {
  -webkit-animation-name: fadeOutLeft;
  animation-name: fadeOutLeft;
}
.overlay-fade-right {
  -webkit-animation-name: fadeOutRight;
  animation-name: fadeOutRight;
}
.overlay-fade-top {
  -webkit-animation-name: fadeOutUp;
  animation-name: fadeOutUp;
}
.overlay-fade-bottom {
  -webkit-animation-name: fadeOutDown;
  animation-name: fadeOutDown;
}
.overlay-container:hover .overlay-fade-left {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
}
.overlay-container:hover .overlay-fade-right {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}
.overlay-container:hover .overlay-fade-top {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
}
.overlay-container:hover .overlay-fade-bottom {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}
