/**
 * Embed Design file.
 * @package		px\Embed
 * @version		1.0.0
 */
.embed-container {
  margin-bottom: 1.5em;
}

.embedVideo {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  bottom: 0;
  height: 50px;
}

.embed-container {
  position: relative;
  height: 0;
  overflow: hidden;
  width: 100%;
  height: auto;
}

.embed-content > span,
.embed-content > div {
  width: 100%!important;
  height: 100%!important;
}

.embed-content div > iframe,
.embed-content div span > iframe,
.embed-content iframe {
  position: absolute!important;
  top: 0!important;
  left: 0!important;
  width: 100%!important;
  height: 100%!important;
}

.embed-overlay {
  position: relative;
  padding-bottom: 56.25%; /* ratio 16x9 */
  height: 0;
  overflow: hidden;
  width: 100%;
  height: auto;
  background-color: rgba(0, 0, 0, 0.9);
  color: #ddd;
  cursor: pointer;
  display: table;
  max-width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
  transition: background-color .25s ease-in-out, color .25s ease-in-out;
}
.embed-overlay > h3 {
  color: #ddd;
  display: table-cell;
  text-align: center;
  transition: color .25s ease-in-out;
  vertical-align: middle;
  position: absolute;
  width: 100%;
  left: 0px;
  top: 40%;
}
.embed-overlay:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
}
.embed-overlay:hover > h3 {
  color: #fff;
}

