.video-block { .video-caption { position: absolute; background: rgba(64, 64, 64, 0.9); padding: 0px .7em; bottom: 10px; font-size: 16px; border-radius: 60px; line-height: inherit; color: white; right: 10px; p{ margin-bottom: 0px; color: white; font-size: .7em; } } figure { position: relative; margin-bottom: 20px; background-size: cover; background-position: center; height: 200px; figcaption { position: absolute; bottom: 0; left: 0; z-index: 1; padding: 2px $xs-space; background-color: $orange; color: #fff; font-family: "Lato Bold"; } &:after { position: absolute; content: '\e039'; font-family: 'Material Icons'; font-size: 72px; text-align: center; color: #fff; background-color: rgba($color: #000000, $alpha: 0.1); top: 0; left: 0; right: 0; bottom: 0; vertical-align: middle; display: flex; align-items: center; justify-content: center; } } h3 { a { font-size: inherit; color: inherit; } } .video-block-item { padding: 15px; margin-bottom: $xs-space; transition: box-shadow 0.3s ease; &:hover { box-shadow: $box-shadow; cursor: pointer; } } &:hover { figure:after { color: white; text-decoration: none !important; background-color: rgba($color: #000000, $alpha: .1); } .heading-level-3 { text-decoration: none !important; } } } a[role="button"]:hover { text-decoration: none; } .video-modal { .modal-dialog { position: fixed; top: 50%; transform: translateY(-50%) !important; right: 0; left: 0; width: 90%; max-width: 68.75em; margin: auto; max-height: 90%; overflow: hidden !important; .modal-content { background-color: transparent; border: none; } .modal-header { padding: 0; border: none; } .video-wrapper { width: 100%; position: relative; padding: 0; iframe, object, embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } } } } // .video-modal { // .modal-dialog { // .modal-content { // background: transparent; // border: 0; // } // .modal-body { // width: 100%; // min-height: 360px; // max-height: 50%; // height: 50%; // padding: 0; // iframe { // position: absolute; // top: 0; // left: 0; // width: 100%; // height: 100%; // } // } // } // } @element .video-block and (min-width: 400px) { :self .video-block-item figure { height: 250px; } } @element .video-block and (min-width: 600px) { :self .video-block-item figure { height: 300px; } } @element .video-block and (min-width: 900px) { :self .video-block-item figure { height: 600px; } }