/* --- YOUTUBE LIKE THEME --- */

.video-js .vjs-menu-button-inline.vjs-slider-active,
.video-js .vjs-menu-button-inline:focus,
.video-js .vjs-menu-button-inline:hover,
.video-js.vjs-no-flex .vjs-menu-button-inline {
    width: 10em;
}

.video-js .vjs-controls-disabled .vjs-big-play-button {
    display: none!important;
}

.video-js .vjs-control {
    width: 3em;
}

.video-js .vjs-control:focus:before,
.video-js .vjs-control:hover:before {
	background-color: #CC181E;
	text-shadow: 0px 0px 12px rgba(0, 0, 0, 1);
}

.video-js .vjs-menu-button-inline:before {
    width: 1.5em;
}

.vjs-menu-button-inline .vjs-menu {
    left: 3em;
}

.vjs-paused.vjs-has-started.video-js .vjs-big-play-button,
.video-js.vjs-ended .vjs-big-play-button,
.video-js.vjs-paused .vjs-big-play-button {
    display: block;
}

.video-js .vjs-load-progress div,
.vjs-seeking .vjs-big-play-button,
.vjs-waiting .vjs-big-play-button {
    display: none!important;
}

.video-js .vjs-mouse-display:after,
.video-js .vjs-play-progress:after {
    padding: 0 .4em .3em;
}

.video-js.vjs-ended .vjs-loading-spinner {
    display: none;
}

.video-js.vjs-ended .vjs-big-play-button {
    display: block !important;
}

.video-js.vjs-fullscreen,
.video-js.vjs-fullscreen .vjs-tech {
    width: 100%!important;
    height: 100%!important;
}

.video-js {
    font-size: 1em;
    overflow: hidden;
}

.video-js .vjs-control {
    color: inherit;
}

.video-js .vjs-menu-button-inline:hover,
.video-js.vjs-no-flex .vjs-menu-button-inline {
    width: 8.35em;
}

.video-js .vjs-volume-menu-button.vjs-volume-menu-button-horizontal:hover .vjs-menu .vjs-menu-content {
	background-color: transparent;
    height: 3em;
    width: 6.35em;
}

.video-js .vjs-spacer,.video-js .vjs-time-control {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-flex: 1 1 auto;
    -moz-box-flex: 1 1 auto;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

.video-js .vjs-time-control {
    -webkit-box-flex: 0 1 auto;
    -moz-box-flex: 0 1 auto;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: auto;
}

.video-js .vjs-time-control.vjs-time-divider {
    width: 1em;
}

.video-js .vjs-time-control.vjs-time-divider div {
    width: 100%;
    text-align: center;
}

.video-js .vjs-time-control.vjs-current-time {
    margin-left: 1em;
}

.video-js .vjs-time-control .vjs-current-time-display,
.video-js .vjs-time-control .vjs-duration-display {
    width: 100%;
}

.video-js .vjs-time-control .vjs-current-time-display {
    text-align: right;
}

.video-js .vjs-time-control .vjs-duration-display {
    text-align: left;
}

.video-js .vjs-play-progress:before,
.video-js .vjs-progress-control .vjs-play-progress:before,
.video-js .vjs-remaining-time,.video-js .vjs-volume-level:after,
.video-js .vjs-volume-level:before,
.video-js.vjs-live .vjs-time-control.vjs-current-time,
.video-js.vjs-live .vjs-time-control.vjs-duration,
.video-js.vjs-live .vjs-time-control.vjs-time-divider,
.video-js.vjs-no-flex .vjs-time-control.vjs-remaining-time {
    display: none;
}

.video-js.vjs-no-flex .vjs-time-control {
    display: table-cell;
    width: 4em;
}

.video-js .vjs-progress-control {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: .5em;
    top: -.5em;
}

.video-js .vjs-progress-control .vjs-load-progress,
.video-js .vjs-progress-control .vjs-play-progress,
.video-js .vjs-progress-control .vjs-progress-holder {
    height: 100%;
}

.video-js .vjs-progress-control .vjs-progress-holder {
    margin: 0;
}

.video-js .vjs-progress-control:hover {
    height: 1.5em;
    top: -1.5em;
}

.video-js .vjs-control-bar {
    -webkit-transition: -webkit-transform .1s ease 0s;
    -moz-transition: -moz-transform .1s ease 0s;
    -ms-transition: -ms-transform .1s ease 0s;
    -o-transition: -o-transform .1s ease 0s;
    transition: transform .1s ease 0s;
}

.video-js.not-hover.vjs-has-started.vjs-paused.vjs-user-active .vjs-control-bar,
.video-js.not-hover.vjs-has-started.vjs-paused.vjs-user-inactive .vjs-control-bar,
.video-js.not-hover.vjs-has-started.vjs-playing.vjs-user-active .vjs-control-bar,
.video-js.not-hover.vjs-has-started.vjs-playing.vjs-user-inactive .vjs-control-bar,
.video-js.vjs-has-started.vjs-playing.vjs-user-inactive .vjs-control-bar {
    visibility: visible;
    opacity: 1;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateY(3em);
    -moz-transform: translateY(3em);
    -ms-transform: translateY(3em);
    -o-transform: translateY(3em);
    transform: translateY(3em);
    -webkit-transition: -webkit-transform 1s ease 0s;
    -moz-transition: -moz-transform 1s ease 0s;
    -ms-transition: -ms-transform 1s ease 0s;
    -o-transition: -o-transform 1s ease 0s;
    transition: transform 1s ease 0s;
}

.video-js.vjs-user-inactive .vjs-control-bar {
    visibility: visible;
    opacity: 1;
}

.video-js.not-hover.vjs-has-started.vjs-paused.vjs-user-active .vjs-progress-control,
.video-js.not-hover.vjs-has-started.vjs-paused.vjs-user-inactive .vjs-progress-control,
.video-js.not-hover.vjs-has-started.vjs-playing.vjs-user-active .vjs-progress-control,
.video-js.not-hover.vjs-has-started.vjs-playing.vjs-user-inactive .vjs-progress-control,
.video-js.vjs-has-started.vjs-playing.vjs-user-inactive .vjs-progress-control {
    height: .25em;
    top: -.25em;
    pointer-events: none;
    -webkit-transition: height 1s,top 1s;
    -moz-transition: height 1s,top 1s;
    -ms-transition: height 1s,top 1s;
    -o-transition: height 1s,top 1s;
    transition: height 1s,top 1s;
}

.video-js.not-hover.vjs-has-started.vjs-paused.vjs-user-active.vjs-fullscreen .vjs-progress-control,
.video-js.not-hover.vjs-has-started.vjs-paused.vjs-user-inactive.vjs-fullscreen .vjs-progress-control,
.video-js.not-hover.vjs-has-started.vjs-playing.vjs-user-active.vjs-fullscreen .vjs-progress-control,
.video-js.not-hover.vjs-has-started.vjs-playing.vjs-user-inactive.vjs-fullscreen .vjs-progress-control,
.video-js.vjs-has-started.vjs-playing.vjs-user-inactive.vjs-fullscreen .vjs-progress-control {
    opacity: 0;
    -webkit-transition: opacity 1s ease 1s;
    -moz-transition: opacity 1s ease 1s;
    -ms-transition: opacity 1s ease 1s;
    -o-transition: opacity 1s ease 1s;
    transition: opacity 1s ease 1s;
}

.video-js.vjs-live .vjs-live-control {
    margin-left: 1em;
}

.video-js .vjs-big-play-button {
    top: 50%;
    left: 50%;
    margin-left: -1em;
    margin-top: -1em;
    width: 2em;
    height: 2em;
    line-height: 2em;
    border: none;
    border-radius: 50%;
    font-size: 3.5em;
    background-color: rgba(0,0,0,.45);
    color: #fff;
    -webkit-transition: border-color .4s,outline .4s,background-color .4s;
    -moz-transition: border-color .4s,outline .4s,background-color .4s;
    -ms-transition: border-color .4s,outline .4s,background-color .4s;
    -o-transition: border-color .4s,outline .4s,background-color .4s;
    transition: border-color .4s,outline .4s,background-color .4s;
}

.video-js .vjs-menu-button-popup .vjs-menu {
    left: 0;
}

.video-js .vjs-menu-button-popup .vjs-menu .vjs-menu-content {
    position: absolute;
    background-color: transparent;
    width: 12em;
    left: -1.1em;
    padding-bottom: .5em;
}

.video-js .vjs-menu-button-popup .vjs-menu .vjs-menu-item,
.video-js .vjs-menu-button-popup .vjs-menu .vjs-menu-title {
    background-color: #000000;
    margin: 0;
    padding: .5em;
}

.video-js .vjs-menu-button-popup .vjs-menu .vjs-menu-item:hover,
.video-js .vjs-menu-button-popup .vjs-menu .vjs-menu-item:focus {
	color: #000000;
    background-color: #A3A3A3;
    text-shadow: 0px 0px 12px rgba(255, 255, 255, 1);
    
}

.video-js .vjs-menu-button-popup .vjs-menu .vjs-menu-item.vjs-selected {
    color: #FFFFFF;
    background-color: #CC181E;
    text-shadow: 0px 0px 12px rgba(0, 0, 0, 1);
}

.video-js .vjs-menu-button-popup .vjs-menu .vjs-menu-item.vjs-selected:hover,
.video-js .vjs-menu-button-popup .vjs-menu .vjs-menu-item.vjs-selected:focus {
    color: #000000;
    background-color: #A3A3A3;
    text-shadow: 0px 0px 12px rgba(255, 255, 255, 1);
}

.video-js .vjs-big-play-button {
    background-color: rgba(0,0,0,0.5);
    font-size: 2.5em;
    border-radius: .3em;
    height: 1.4em !important;
    line-height: 1.4em !important;
    margin-top: -0.7em !important;
}

.video-js:hover .vjs-big-play-button,
.video-js .vjs-big-play-button:focus,
.video-js .vjs-big-play-button:active {
    background-color: #CC181E;
}

.video-js .vjs-loading-spinner {
    border-color: #CC181E;
}

.video-js .vjs-control-bar2 {
    background-color: #000000;
}

.video-js .vjs-control-bar {
    background-color: rgba(0,0,0,0.35) !important;
    color: #FFFFFF;
    font-size: 1em;
}

.video-js .vjs-play-progress,
.video-js .vjs-volume-level {
    background-color: #CC181E;
}

.video-js .vjs-load-progress {
    background: rgba(255,255,255,0.3);
}

/* --- CUSTOM CONTROL BAR BUTTONS --- */

.video-js .vjs-download-button-control:before {
	font-family: 'FontAwesome';
	content: "\f019";
	color: #FFFFFF;
    font-size: 1.5em;
    line-height: 2em;
    text-align: center;
    padding: 0;
}

.video-js .vjs-audio-description-button-control:before {
	font-family: 'VideoJS';
	content: "\f11d";
	color: #FFFFFF;
    font-size: 2em;
    line-height: 1.5em;
    text-align: center;
    padding: 0;
}

.video-js .vjs-audio-description-button-control-focus:before {
	font-family: 'VideoJS';
	content: "\f11d";
	color: #FFFFFF;
    font-size: 2em;
    line-height: 1.5em;
    text-align: center;
    padding: 0;
    background-color: #CC181E;
	text-shadow: 0px 0px 12px rgba(0, 0, 0, 1);
}

.video-js .vjs-info-button-control:before {
	font-family: 'FontAwesome';
	content: "\f05a";
	color: #FFFFFF;
    font-size: 1.5em;
    line-height: 2em;
    text-align: center;
    padding: 0;
}

.video-js .vjs-download-button-control:hover,
.vjs-download-button-control:focus,
.video-js .vjs-audio-description-button-control:hover,
.vjs-audio-description-button-control:focus,
.video-js .vjs-info-button-control:hover,
.vjs-info-button-control:focus,
.vjs-resolution-button:hover,
.vjs-resolution-button:focus {
	background-color: #CC181E;
	text-shadow: 0px 0px 12px rgba(0, 0, 0, 1);
}

/* --- DOCK TEXT ADJUSTMENTS --- */
.video-js .vjs-dock-text {
    left: 0;
    margin: 0;
    width: 100%;
    background: -webkit-linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.7) 30%, rgba(0,0,0,0.7) 70%, transparent 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.7) 30%, rgba(0,0,0,0.7) 70%, transparent 100%);
    padding: .5em .5em .75em .75em;
}

.video-js .vjs-dock-title {
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 1.333;
    margin-bottom: 0.333em;
    text-overflow: ellipsis;
    width: 60%;
}

/* --- DOCK SHELF ADJUSTMENTS --- */
.video-js .vjs-dock-shelf {
    padding: .5em;
    right: 0;
    text-align: right;
    white-space: nowrap;
    /*display: inline-block;
    width: 40%;*/
}

/* --- DOCK OWNLOAD BUTTON --- */
.vjs-download-control {
	-webkit-box-ordinal-group: 5;
	-moz-box-ordinal-group: 5;
	-webkit-order: 5;
	-ms-flex-order: 5;
	-ms-order: 5;
	order: 5;
}

.video-js .vjs-download-control:before {
	font-family: 'FontAwesome';
	content: "\f019";
	color: #FFFFFF;
	font-size: 1em;
	line-height: 1.2em;
	text-align: center;
	padding: .2em;
}

.vjs-button.vjs-download-control {
	cursor: pointer;
	font-weight: normal;
	font-size: .8em;
}

.video-js .vjs-download-control:hover:before {
	text-shadow: 0px 0px 2px rgba(0, 0, 0, 1), 0px 0px 10px rgba(255, 255, 255, 1);
}

.vjs-button.vjs-download-control:hover {
	text-shadow: 0px 0px 2px rgba(0, 0, 0, 1), 0px 0px 10px rgba(255, 255, 255, 1);
}

.vjs-dock-shelf .vjs-button.vjs-download-control {
	  position: relative;
}

.vjs-dock-shelf .vjs-button.vjs-download-control span {
	  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	  vertical-align: top;
	  text-decoration: underline;
	  margin-left: 2px;
}

/* --- Captions Button --- */
.vjs-captions-button {
	font-family: "FontAwesome";
}

.vjs-captions-button:before {
	content: '\f20a';
	color: #FFFFFF;
	font-size: 1em;
	line-height: 1.5em;
}

.vjs-captions-button ul.vjs-menu-content {
	width: 9em !important;
}

.vjs-captions-button .vjs-menu li {
	text-transform: none;
	font-size: 1em;
	font-family: Arial, Helvetica, sans-serif;
}

/* --- RESOLUTION BUTTON --- */
.vjs-resolution-button {
	font-family: "FontAwesome";
}

.vjs-resolution-button:before {
	content: '\f108';
	color: #FFFFFF;
	font-size: 1em;
	line-height: 1.5em;
}

.vjs-resolution-button ul.vjs-menu-content {
	width: 5em !important;
}

.vjs-resolution-button .vjs-menu li {
	text-transform: none;
	font-size: 1em;
	font-family: Arial, Helvetica, sans-serif;
}

/* --- AUDIO FIXES --- */

/* Audio: Remove big play button (leave only the button in controls). */
.video-js.vjs-audio.vjs-paused .vjs-big-play-button {
	display: none;
}
/* Audio: Make the controlbar visible by default */
.video-js.vjs-audio .vjs-control-bar {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}
/* Make player height minimum to the controls height so when we hide video/poster area the controls are displayed correctly. */
.video-js.vjs-audio {
	min-height: 3.5em;
}
/* Hide the captions settings item from the captions menu. */
.vjs-texttrack-settings {
	display: none;
}
/* Show the controls (hidden at the start by default) */
.video-js .vjs-control-bar {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}

/* --- RESPONSIVE FIXES --- */
@media only screen and (max-width : 600px) {
	.vjs-modal-dialog .vjs-modal-dialog-content {
		font-size: 1.2em;
		line-height: 1.2em;
		padding: 1.2em 1.2em;
		z-index: 1;
	}
	.video-js .vjs-share-control.vjs-share-control:before,
	.video-js .vjs-download-control.vjs-download-control:before {
		font-size: 1em;
		line-height: 1.2em;
		text-align: center;
		padding: .2em;
	}
	.video-js .vjs-dock-text, .video-js .vjs-dock-shelf {
	    font-size: 1em;
	}
	.vjs-dock-shelf .vjs-button.vjs-download-control {
    	padding-left: .5em;
	}
	.video-js .vjs-dock-shelf {
    	padding: 0em;
	}
	.vjs-social-overlay .vjs-social-title {
		  font-size: 1em;
		  font-weight: bold;
		  line-height: 1em;
		  margin-bottom: .2em;
	}
	.vjs-social-overlay .vjs-social-share-link {
		width: 2em;
		text-align: center;
		border-radius: .3em;
		float: left;
		font-size: 1em;
		line-height: 1em;
		margin-right: .5em;
		outline: none;
		padding: .5em;
		text-decoration: none;
	}
	.video-js .vjs-control.vjs-close-button:before, .video-js .vjs-control.vjs-icon-cancel:before {
		font-size: 2em;
		left: -7px;
	}
	.vjs-social-overlay input {
		width: 100%;
		display: block;
		border-radius: .2em;
		height: 1.7em;
		border: none;
		color: #515151;
		font-weight: 500;
	}
	.vjs-social-overlay label {
		font-weight: 500;
		font-size: 1em;
		display: block;
		margin-bottom: 1em;
	}
	.video-js .vjs-control-bar {
		background-color: rgba(0,0,0,0.35) !important;
		color: #FFFFFF;
		font-size: .6em;
	}
	.video-js.vjs-audio {
		min-height: 2em;
	}
	.video-js .vjs-big-play-button {
		background-color: rgba(0,0,0,0.5);
		font-size: 2em;
		border-radius: .2em;
		height: 1.3em !important;
		line-height: 1.4em !important;
		margin-top: -0.7em !important;
	}
}