/* Video player's styles */
/* Layout: Default
------------------------------ */
.trx_addons_video_player iframe {
	max-height: 100%;
  }
  
  .trx_addons_video_player.with_cover {
	position: relative;
	overflow: hidden;
  }
  
  .trx_addons_video_player.with_cover .video_embed {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	  position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	text-align: center;
	opacity: 0;
	overflow: hidden;
	-webkit-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	transition: all 0.3s ease;
  }
  
  .trx_addons_video_player.with_cover img {
	position: relative;
	z-index: 2;
	width: 100% !important;
	  height: auto;
	max-width: none !important;
  }
  
  .trx_addons_video_player.with_cover .video_mask {
	  position: absolute;
	z-index: 3;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	-webkit-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	transition: all 0.3s ease;
	opacity: 0;
  }
  
  .trx_addons_video_player.with_cover:hover .video_mask {
	opacity: 1;
  }
  
  .trx_addons_video_player.with_cover .video_hover {
	  position: absolute;
	z-index: 4;
	top: 50%;
	  left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	  width: 2em;
	  height: 2em;
	  line-height: 2em;
	text-align: center;
	  -webkit-border-radius: 50%;
	-ms-border-radius: 50%;
			  border-radius: 50%;
	-webkit-transition: all 0.3s ease !important;
	-ms-transition: all 0.3s ease !important;
	transition: all 0.3s ease !important;
	font-size: 3em;
	cursor: pointer;
	overflow: hidden;
	  margin-top: 2em;
	background-color: rgba(0, 0, 0, 0.5);
	  color: #fff;
	  opacity: 0;
  }
  
  .trx_addons_video_player.with_cover .video_hover:before {
	  content: '\e888';
	font-family: "trx_addons_icons";
	margin: 0;
  }
  
  .trx_addons_video_player.with_cover .video_hover:hover {
	background-color: rgba(0, 0, 0, 0.5);
  }
  
  .trx_addons_video_player.with_cover:hover .video_hover {
	  opacity: 1;
	  margin-top: 0;
  }
  
  /* 'Play' state */
  .trx_addons_video_player.video_play .video_mask {
	  opacity: 1;
	background-color: #000;
  }
  
  .trx_addons_video_player.video_play .video_embed {
	opacity: 1;
	z-index: 10;
  }
  
  .trx_addons_video_player.video_play .video_hover {
	  display:none;
  }
  