/* ===================================
  EMBED
=================================== */

/*
    Embeddable Element
    Mainly used for Video content, 
    Giving it consistant aspect ratio.
*/

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;   
}

.embed-container.-title:after {
    content: attr(title);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.65);
    color: #fff;
    padding: 10px 12px;
    z-index: 500;
    pointer-events: none;
    line-height: 1.2em;
    font-weight: 600;
}

.embed-container video,
.embed-container iframe,
.embed-container embed,
.embed-container div {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
    margin: 0 auto;
}

.embed-element {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
}

.embed-placeholder {
   position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 100;
    cursor: pointer;
    opacity: 0;
    transition: opacity 1s linear;
}

.embed-placeholder:focus {
    outline: 0;
}

.embed-placeholder:hover {
    border: 0;
}

.embed-placeholder.media-ready {
    opacity: 1;
}

.embed-placeholder:before {
    content: "";
    background: #000;
    opacity: 0.6;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 0;
    transition: opacity 0.2s linear;
}

.embed-placeholder:hover:before {
    opacity: 0.4;
}

.embed-placeholder:after {       
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    font-size: 50px;
    line-height: 1em;
    content: '\e913';
    position: absolute;
    width: 60px;
    height: 40px;
    left: 50%;
    top: 50%;
    text-align: center;     
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
    color: #fff;
    z-index: 1;
}
