#howtube-embed, #howtube-embed .video-js, #howtube-embed > div{
    width:100% !important;
    height:100% !important;
    padding-top: 0 !important;
}

.ht-unmute{
    position: absolute;
    z-index: 1;
    top: 15px;
    right: 15px;
    background-color: rgba(0,0,0,.3);
    border-radius: 5px;
    width: 3.5em;
    height: 3.5em;
}

.ht-unmute:hover{
    background-color: rgba(0,0,0,.5);
}

.ht-unmute .vjs-control{
    display: block;
    width: 100%;
    height: 100%;
}

.ht-unmute .vjs-control{
    display: block;
    width: 100%;
    height: 100%;
}

.ht-unmute .vjs-control:hover{
    text-shadow: 0 0 1em #fff;
}

.ht-unmute .vjs-button>.vjs-icon-placeholder:before {
    font-size: 2em;
    line-height: 1.8;
}

.ht-muted:after {
    content: 'Muted';
    position: absolute;
    top: calc(50% - 17px);
    left: calc(50% - 55px);
    text-align: center;
    width: 110px;
    height: 34px;
    line-height: 34px;
    font-size: 22px;
    color: #fff;
    font-weight: bold;
    background-color: rgba(0, 0, 0, .6);
    border-radius: 5px;
    box-shadow: 0 0 50px rgba(255, 255, 255, .9);
}

#howtube-embed #howtube-player.video-js .vjs-modal-dialog.vjs-error-display, #howtube-embed #howtube-player.video-js .vjs-modal-dialog.vjs-error-display:before{
    display:none;
    background:none;
}

#howtube-player video{
    height: initial !important;
}

#howtube-player.video-js .vjs-control-bar {
    background-color: transparent;
    color: #fff;
    height: 40px;
    padding: 0 10px;
    font-size: 12px;
    box-shadow: 0 -20px 40px inset rgb(0,0,0,.48);
}

#howtube-player.video-js.not-hover.vjs-has-started.vjs-playing.vjs-user-active .vjs-control-bar:not(.vjs-focus-within):not(.vjs-control-bar-visible), #howtube-player.video-js.not-hover.vjs-has-started.vjs-playing.vjs-user-inactive .vjs-control-bar:not(.vjs-focus-within):not(.vjs-control-bar-visible), #howtube-player.video-js.vjs-has-started.vjs-paused.vjs-ad-playing.vjs-user-inactive .vjs-control-bar, #howtube-player.video-js.vjs-has-started.vjs-playing.vjs-user-inactive .vjs-control-bar:not(.vjs-focus-within):not(.vjs-control-bar-visible) {
    -webkit-transform: translateY(40px);
    -moz-transform: translateY(40px);
    -ms-transform: translateY(40px);
    -o-transform: translateY(40px);
    transform: translateY(40px);
}

/**
 *  Don't hide play bar on video pause
 */
#howtube-player.video-js.not-hover.vjs-has-started.vjs-paused.vjs-user-active .vjs-control-bar:not(.vjs-focus-within):not(.vjs-control-bar-visible), #howtube-player.video-js.not-hover.vjs-has-started.vjs-paused.vjs-user-inactive .vjs-control-bar:not(.vjs-focus-within):not(.vjs-control-bar-visible){
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
}

#howtube-player.video-js .vjs-control:not(.vjs-progress-control) {
    width: 3.7em;
}

#howtube-player.video-js .vjs-time-control {
    width: initial;
    margin-left: 0;
    padding: 0 0.8em;
    font-size: 1.1em;
    text-shadow: 0 0 3px rgb(0,0,0,.35);
}

button.vjs-play-control.vjs-control.vjs-button:focus {
    outline: none;
}

#howtube-player.video-js .vjs-time-control.vjs-current-time {
    margin-left: 8px;
}

#howtube-player.video-js .vjs-time-control.vjs-time-divider {
    width: initial;
    padding: 0 2px;
    min-width: initial;
    font-size: 1.2em;
    margin-top: -1px;
}

#howtube-player.video-js .vjs-live-control {
    font-size: 1.1em;
    line-height: 2.6em;
    letter-spacing: .5px;
    font-weight: 700;
}

#howtube-player.video-js .vjs-live-control .vjs-live-display{
    background-color: #e85126;
    line-height: initial;
    padding: 3px 5px;
    border-radius: 3px;
    align-self: center;
}

#howtube-player .vjs-playback-rate .vjs-playback-rate-value {
    font-size: 1.3em;
    line-height: 2.6;
    font-weight: 600;
    text-shadow: 0 0 3px rgb(0,0,0,.35);
}

#howtube-player.video-js.vjs-quality-menu .vjs-quality-menu-button-4K-flag:after, 
#howtube-player.video-js.vjs-quality-menu .vjs-quality-menu-button-HD-flag:after{
    background-color: #e85126;
    width: 2.1em;
    height: 2.1em;
    font-weight: 700;
    line-height: 2.14em;
    padding-left: 1px;
    font-size: .65em;
    right: 4px;
}

#howtube-player .vjs-button>.vjs-icon-placeholder:before {
    font-size: 1.8em;
    line-height: 40px;
    text-shadow: 0 0 3px rgb(0,0,0,.35);
}

#howtube-player .vjs-button.vjs-play-control>.vjs-icon-placeholder:before {
    font-size: 2.5em;
}

#howtube-player .vjs-button.vjs-fullscreen-control>.vjs-icon-placeholder:before {
    font-size: 2.2em;
}

.image-preload{
    position: absolute;
    width:0;
    height:0;
    opacity: 0;
    z-index: -1;
    background:url('../images/abstract-overlay.jpg') no-repeat;
    font-family: proxima-nova, sans-serif;
    overflow: hidden;
}

#howtube-player #backButton, #howtube-player #forwardButton{
    cursor: pointer;
}

#howtube-player #backButton img, #howtube-player #forwardButton img{
    width: 16px;
    margin: 12px 10px 0;
}

#howtube-player .vjs-time-control, #howtube-player .vjs-time-control span{
    font-weight:700;
}

#howtube-player.vjs-layout-medium .vjs-menu-button-popup .vjs-menu .vjs-menu-content {
    max-height: inherit;
}

#howtube-player .vjs-social-overlay .vjs-social-title {
    font-size: 1.5em;
    letter-spacing: 0.5px;
}

#howtube-player .vjs-social-overlay .vjs-social-description {
    font-size: 1.2em;
    letter-spacing: 0.5px;
}

#howtube-player .vjs-social-overlay .vjs-social-share-links{
    margin-left:0;
}

#howtube-player .vjs-social-overlay .vjs-social-share-link {
    font-size: 1.4em;
    margin: .33em .7em .33em 0;
}

#howtube-player .vjs-social-overlay .vjs-social-embed-code {
    margin-top: 5px;
}

#howtube-player .vjs-social-overlay .vjs-social-label-text{
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 4px 0 1px 3px;
}

#howtube-player .vjs-social-overlay input{
    padding: 7px;
    font-family: Monaco,Consolas,"Courier New",Courier;
    font-size: 12px;
    line-height: 18px;
    border: 1px solid #d3d3d3;
    background: #fbfbfc;
    color: #7d8792;
    border-radius: .1875rem;
}

#howtube-player .vjs-social-overlay .vjs-control.vjs-close-button {
    top: 12px;
    right: 12px;
    -o-transition : all .15s ease-out; 
    -moz-transition : all .15s ease-out;
    -webkit-transition : all .15s ease-out; 
    transition : all .15s ease-out; 
}

#howtube-player .vjs-social-overlay .vjs-control.vjs-close-button:hover{
    opacity: .7;
}

#howtube-player.video-js .vjs-control.vjs-close-button .vjs-icon-placeholder:before, #howtube-player .vjs-icon-cancel:before {
    content: "X";
    font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;
    font-size: 28px;
    line-height: 45px !important;
    font-weight: 300;
}

.embed-howtube-logo{
    position: relative;
    width: 22px;
    height: 22px;
    display: inline-block;
    top: calc(50% - 11px);
}

.embed-howtube-logo:before{
    content: '';
    position: absolute;
    top:2px;
    left:2px;
    width:calc(100% - 4px);
    height:calc(100% - 4px);
    background-color:#fff;
    border-radius:3px;
}

.embed-howtube-logo.white:before{
    display: none;
}

.embed-howtube-logo:after{
    content: '';
    display:block;
    width: 100%;
    height: 100%;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 499 499'%3E%3Cpath style='fill:%23e85126;' d='M440.12,1H60.88A60.06,60.06,0,0,0,1,60.88V440.12A60.06,60.06,0,0,0,60.88,500H440.12A60.06,60.06,0,0,0,500,440.12V60.88A60.06,60.06,0,0,0,440.12,1ZM357.81,381.57c0,20.79-13,34.66-31.19,34.66s-31.19-13.87-31.19-34.66V272.85c0-29-18.19-42.88-40.71-42.88-25.56,0-39.85,18.63-39.85,42.88V381.57c0,20.79-13,34.66-31.19,34.66s-31.19-13.87-31.19-34.66V114.75c0-20.79,13-34.65,31.19-34.65S214.87,94,214.87,114.75v84.9h.86c13-16,37.25-21.66,56.75-21.66,48.94,0,85.33,31.19,85.33,84Z' transform='translate(-1 -1)'/%3E%3C/svg%3E");
    background-size:100%;
}

.embed-howtube-logo.white:after{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 499 499'%3E%3Cpath style='fill:%23ffffff;' d='M440.12,1H60.88A60.06,60.06,0,0,0,1,60.88V440.12A60.06,60.06,0,0,0,60.88,500H440.12A60.06,60.06,0,0,0,500,440.12V60.88A60.06,60.06,0,0,0,440.12,1ZM357.81,381.57c0,20.79-13,34.66-31.19,34.66s-31.19-13.87-31.19-34.66V272.85c0-29-18.19-42.88-40.71-42.88-25.56,0-39.85,18.63-39.85,42.88V381.57c0,20.79-13,34.66-31.19,34.66s-31.19-13.87-31.19-34.66V114.75c0-20.79,13-34.65,31.19-34.65S214.87,94,214.87,114.75v84.9h.86c13-16,37.25-21.66,56.75-21.66,48.94,0,85.33,31.19,85.33,84Z' transform='translate(-1 -1)'/%3E%3C/svg%3E");
}

.embed-howtube-logo:hover{
    box-shadow: 0 0 1em rgb(255 255 255 / 30%), 0 0 1em rgb(255 255 255 / 30%), 0 0 1em rgb(255 255 255 / 30%);
}


/**** Restricted Video ****/

#restricted-video{
    font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;
    width:100%;
    height:100vh;
    display: flex;
}

#restricted-video .content{
    align-self: center;
    color:#fff;
    text-align: center;
    width:100%;
    line-height: 1.4;
    padding:0 10px;
}

#restricted-video .content p{
    margin: 10px 0 0;
}

#restricted-video .embed-howtube-logo{
    width: 36px;
    height: 36px;
}


/**** Player Errors ****/

.howtube-video-error{
    display: flex;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    background-color: rgba(255,255,255,.98);
    margin: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgb(0 0 0 / 30%);
    font-family: proxima-nova, sans-serif;
    -webkit-font-smoothing: antialiased;
    position: relative;
    z-index: 1;
}

.howtube-video-error .content{
    align-self: center;
    text-align: center;
    width: 100%;
    color:#000;
    padding: 0 20px;
}

.howtube-video-error .content .big{
    font-weight: 900;
    font-size: 24vh;
    font-size: calc(16vh + 2 * (100%));
    line-height: 1;
    margin-bottom: 1rem;
    display: inline-block;
    background:url('../images/abstract-overlay.jpg') no-repeat;
    background-position: 47% 53%;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

.howtube-video-error .content h3{
    font-size:17px;
    margin: 0 0 8px;
    line-height: 1;
}

.howtube-video-error .content p{
    margin:0;
    line-height: 1;
}

.howtube-video-error .content .btn-orange{
    border: 1px solid #e85126;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 11px 24px;
    line-height: 20px;
    border-radius: 50px;
    margin-top: 25px;
    cursor: pointer;
    background-color: transparent;
    color: #e85126;
    outline: none;
    text-decoration: none;
    display: inline-block;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

.howtube-video-error .content .btn-orange:hover{
    background-color: #e85126;
    color:#fff;
}



		
@media all and (max-width: 450px) {
    .bc-player-default_default .vjs-big-play-button {
        top: 50%;
        left: 50%;
        margin-left: -.75em;
        margin-top: -.75em;
        width: 1.5em;
        height: 1.5em;
        line-height: 1.5em;
    }
    .vjs-icon-play:before, .video-js .vjs-big-play-button:before, .video-js .vjs-play-control:before {
        font-size: 38px;
    }

    #howtube-player.video-js .vjs-control:not(.vjs-progress-control){
        width:3em;
    }

    #howtube-player.video-js.vjs-layout-small .vjs-playback-rate{
        display: block !important;
        width: 4em;
    } 

    #howtube-player.video-js.vjs-layout-small .vjs-quality-menu-wrapper{
        display: none !important;
    } 

    .howtube-video-error .content .big{
        font-size: 15vh;
        font-size: calc(15vh + 0 * (100%));
    }
}


/***************************
 * Download Video          *
 ***************************/
/* Order elements in the control bar to place a download button after the fullscreen button. */
.video-js .downloadStyle {
    order: 9;
    -webkit-box-ordinal-group: 9;
    -moz-box-ordinal-group: 9;
    -webkit-order: 9;
    -ms-flex-order: 9;
    padding: 10px 0 0 2px;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 0 24 24' width='24px' fill='%23FFFFFF'%3e%3cpath d='M0 0h24v24H0z' fill='none'/%3e%3cpath d='M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z'/%3e%3c/svg%3e");
}

.video-js .downloadStyle a {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: contain;
}

.video-js .downloadStyle.downloading {
    background-position: 50% 80%;
    background-size: 66%;
    cursor: progress;
    /* Loading anim By Sam Herbert (@sherb), https://github.com/SamHerbert/SVG-Loaders */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='120' height='30' viewBox='0 0 120 30' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3e%3ccircle cx='15' cy='15' r='15'%3e%3canimate attributeName='r' from='15' to='15' begin='0s' dur='0.8s' values='15;9;15' calcMode='linear' repeatCount='indefinite' /%3e%3canimate attributeName='fill-opacity' from='1' to='1' begin='0s' dur='0.8s' values='1;.5;1' calcMode='linear' repeatCount='indefinite' /%3e%3c/circle%3e%3ccircle cx='60' cy='15' r='9' fill-opacity='0.3'%3e%3canimate attributeName='r' from='9' to='9' begin='0s' dur='0.8s' values='9;15;9' calcMode='linear' repeatCount='indefinite' /%3e%3canimate attributeName='fill-opacity' from='0.5' to='0.5' begin='0s' dur='0.8s' values='.5;1;.5' calcMode='linear' repeatCount='indefinite' /%3e%3c/circle%3e%3ccircle cx='105' cy='15' r='15'%3e%3canimate attributeName='r' from='15' to='15' begin='0s' dur='0.8s' values='15;9;15' calcMode='linear' repeatCount='indefinite' /%3e%3canimate attributeName='fill-opacity' from='1' to='1' begin='0s' dur='0.8s' values='1;.5;1' calcMode='linear' repeatCount='indefinite' /%3e%3c/circle%3e%3c/svg%3e ");
}