/* We are using the font awesome set. */
/*@import url('font-awesome-4.6.1/css/font-awesome.min.css');*/

/* This applies the blur filter to the video/preview etc */
.video-js .vjs-tech.vjs-blur {
    -webkit-transition: .75s all;
    transition: .75s all;

    -webkit-filter: blur(5px);
    filter: blur(5px);
}

/* Basic overlay styles, we are using the table-cell layout hack to center the content */
.video-js .vjs-sharing-overlay {
    background: rgba( 0, 0, 0, 0.6 );
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    -webkit-transition: .75s all;
    transition: .75s all;

    /* Root "Table" element for hack */
    /*display: table;*/
    height: 100%;
    width: 100%;
}


/* Icon for our initial button */
.vjs-control.vjs-share-button {
    cursor: pointer;
}
.vjs-control.vjs-share-button:before {
    font-family: FontAwesome;
    font-size: 100%;
}

.video-js > .vjs-control.vjs-share-button:hover:before {
    text-shadow: 0 0 .3em rgba( 255,255,255,0.8);
}

/* The styles for the button on a control bar */

.video-js > .vjs-control.vjs-share-button:before {
    font-family: FontAwesome;
    content: '\f1e0';
    color: rgba(255,255,255,0.75);
    background: rgba(7,20,30,.7);
    padding: 10px;
    height: 1em;
    line-height: 1em;
    border-radius: 15%;
    width: auto;
    font-size: 20px;
    left: 0.1em;
}

.video-js > .vjs-control.vjs-share-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(7, 20, 30, 0);
    border: 0em solid #3b4249;
    border-radius: 0.8em;
    box-shadow: 0 0 1em rgba(255, 255, 255, 0.25);
    color: transparent;
    cursor: pointer;
    font-size: 0.3em;
    height: 40px;
    width: 40px;
    z-index: 2;
}

/* Styling for the icons */
.vjs-sharing-container {
    /* The table-cell of the hack */
    /*display: table-cell;*/
    padding-top: 17%; /*table-cell dont work with Chrome ...*/
    height: 100%;
    width: 100%;
    vertical-align: middle;
    text-align: center;
}

/* Icon body */
.vjs-sharing-container .vjs-share-icon {
    font-size: 7em;
    margin: .2em;
    cursor: pointer;
    position: relative;
    padding-left: 2px;
    padding-right: 2px;
}
@media screen and (max-device-width: 550px){
    .vjs-sharing-container .vjs-share-icon {
        font-size: 3.8em;
    }
}
/* The actual Icon */
.vjs-sharing-container .vjs-share-icon:hover:before {
    color: #fff;
    text-shadow: 0 0 .5em rgba(255,255,255,0.5);
}

.vjs-share-button:focus,
.vjs-sharing-container .vjs-share-icon:focus {
    outline: solid 1px #FFFF00;
}

/* Show the text that is usually hidden in a videojs.Button */
.vjs-sharing-container .vjs-share-icon .vjs-control-text {
    position: absolute;
    width: 100%;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    left: 0;
    right: 0;
    bottom: -1em;
    clip: auto;
    height: auto;
}



/* To show/hide the onscreen button.  Duplicate the showing / hiding of the control bar */

.vjs-has-started.vjs-user-inactive.vjs-playing > .vjs-control.vjs-share-button,
.video-js > .vjs-control.vjs-share-button {
    display: block;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: visibility 1s, opacity 1s;
    -moz-transition: visibility 1s, opacity 1s;
    -o-transition: visibility 1s, opacity 1s;
    transition: visibility 1s, opacity 1s;
}

.vjs-has-started  > .vjs-control.vjs-share-button {
    display: block;
    visibility: visible;
    opacity: 1;
    -webkit-transition: visibility 0.1s, opacity 0.1s;
    -moz-transition: visibility 0.1s, opacity 0.1s;
    -o-transition: visibility 0.1s, opacity 0.1s;
    transition: visibility 0.1s, opacity 0.1s;
}

.vjs-iframeoverlay {
    visibility: hidden;
    background: rgba(0, 0, 0, 0.7);
    color: #FFFFFF;
    position: absolute;
    top: 0;
    padding-top: 55px;
    opacity: 0;
    transition: .75s all;
    width: 100%;
    height: 80%;
    font-size: 2em;
    z-index: 5;
}
.vjs-iframeoverlay-visible {
    visibility: visible;
    opacity: 1;
}
.vjs-iframeoverlay-text {
    font-size: 0.8em;
 }
.vjs-iframeoverlay-close::before {
    font-family: FontAwesome;
    content: '\f00d'; /* Cross icon */
    font-size: 1.7em;
    line-height: 1.3em;
}