.trx_addons_video_player video {
max-height: calc( 100vh - var(--fixed-rows-height) );
}
.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;
-ms-transition: all 0.3s ease;
transition: all 0.3s ease;
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;
} .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;
} .trx_addons_video_hover .trx_addons_video_media {
position: relative;
overflow: hidden;
}
.trx_addons_video_hover .trx_addons_video_media[data-ratio] {
display: block;
}
.trx_addons_video_hover .trx_addons_video_media[data-ratio]:before {
content: ' ';
width: 0;
height: 0;
display: inline-block;
vertical-align: top;
margin-right: -0.3em;
}
.trx_addons_video_hover .trx_addons_video_media[data-ratio][data-ratio="2:1"]:before {
padding-top: 50%;
}
.trx_addons_video_hover .trx_addons_video_media[data-ratio][data-ratio="17:9"]:before {
padding-top: 52.94%;
}
.trx_addons_video_hover .trx_addons_video_media[data-ratio][data-ratio="16:9"]:before {
padding-top: 56.25%;
}
.trx_addons_video_hover .trx_addons_video_media[data-ratio][data-ratio="4:3"]:before {
padding-top: 75%;
}
.trx_addons_video_hover .trx_addons_video_media[data-ratio][data-ratio="1:1"]:before {
padding-top: 100%;
}
.trx_addons_video_hover .trx_addons_video_media[data-ratio][data-ratio="3:4"]:before {
padding-top: 133.33%;
}
.trx_addons_video_hover .trx_addons_video_media[data-ratio][data-ratio="9:16"]:before {
padding-top: 177.77%;
}
.trx_addons_video_hover .trx_addons_video_media[data-ratio][data-ratio="9:17"]:before {
padding-top: 188.88%;
}
.trx_addons_video_hover .trx_addons_video_media[data-ratio][data-ratio="1:2"]:before {
padding-top: 200%;
}
.trx_addons_video_hover .trx_addons_video_video {
object-fit: cover;
}
.trx_addons_video_hover.with_cover .trx_addons_video_video {
position: absolute;
z-index: 1;
top: 1px;
right: 1px;
bottom: 1px;
left: 1px;
width: calc( 100% - 2px );
height: calc( 100% - 2px );
}
.trx_addons_video_hover.without_cover .trx_addons_video_video {
position: absolute;
z-index: 1;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
}
.trx_addons_video_hover .trx_addons_video_cover {
position: absolute;
z-index: 2;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.trx_addons_video_hover .trx_addons_video_cover img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.trx_addons_video_hover .trx_addons_video_subtitle {
white-space: nowrap;
overflow: hidden;
padding-top: 1em;
}
.trx_addons_video_hover .trx_addons_video_subtitle .trx_addons_video_subtitle_text {
display: block;
opacity: 0;
will-change: transform, opacity;
-webkit-transform-origin: top left;
-ms-transform-origin: top left;
transform-origin: top left;
-webkit-transform: rotate(10deg) translate(0, 100%);
-ms-transform: rotate(10deg) translate(0, 100%);
transform: rotate(10deg) translate(0, 100%);
-webkit-transition: -webkit-transform 0.3s ease, opacity 0.3s ease;
-ms-transition: -ms-transform 0.3s ease, opacity 0.3s ease;
transition: transform 0.3s ease, opacity 0.3s ease;
-webkit-transition-duration: 0.8s;
-ms-transition-duration: 0.8s;
transition-duration: 0.8s;
}
.trx_addons_video_hover.trx_addons_video_hover_play.with_cover .trx_addons_video_video {
position: absolute;
z-index: 2;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
}
.trx_addons_video_hover.trx_addons_video_hover_play .trx_addons_video_cover {
position: absolute;
z-index: 1;
top: 1px;
right: 1px;
bottom: 1px;
left: 1px;
}
.trx_addons_video_hover.trx_addons_video_hover_play .trx_addons_video_cover img {
width: calc( 100% - 2px );
height: calc( 100% - 2px );
}
.trx_addons_video_hover.trx_addons_video_hover_play .trx_addons_video_subtitle .trx_addons_video_subtitle_text {
opacity: 1;
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
.trx_addons_video_hover.trx_addons_video_hover_pause .trx_addons_video_subtitle .trx_addons_video_subtitle_text {
opacity: 0;
-webkit-transform: rotate(-7deg) translate(0, -100%);
-ms-transform: rotate(-7deg) translate(0, -100%);
transform: rotate(-7deg) translate(0, -100%);
-webkit-transition-duration: 0.3s;
-ms-transition-duration: 0.3s;
transition-duration: 0.3s;
}.trx_addons_audio_wrap {
position: relative;
}
.trx_addons_audio_list {
position: relative;
}
.trx_addons_audio_wrap.list .trx_addons_audio_player:not(:first-child) {
position: absolute;
z-index: 1;
top: auto;
right: 0;
bottom: 0;
left: 0;
opacity: 0;
}
.trx_addons_audio_wrap.resized.list .trx_addons_audio_player {
position: absolute;
z-index: 1;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.trx_addons_audio_wrap.resized.list .trx_addons_audio_player.current {
opacity: 1;
z-index: 2;
}
.trx_addons_audio_wrap.resized.list .trx_addons_audio_player_wrap {
position: relative;
height: 100%;
}
.trx_addons_audio_wrap.resized.list .audio_frame {
bottom: 0;
position: absolute;
}
.trx_addons_audio_player {
padding: 1em;
position: relative;
-webkit-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}
.trx_addons_audio_player.with_cover {
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.trx_addons_audio_player.with_cover:after {
content: ' ';
position: absolute;
z-index: 1;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
}
.trx_addons_audio_player.with_cover .mejs-controls {
background: none !important;
}
.trx_addons_audio_player.without_cover {
border: 1px solid #f0f0f0;
background-color: #f7f7f7;
}
.trx_addons_audio_player .audio_info {
position: relative;
z-index: 2;
overflow: hidden;
}
.trx_addons_audio_player.with_cover .audio_caption,
.trx_addons_audio_player.with_cover .audio_description {
color: #fff;
}
.trx_addons_audio_player .audio_author,
.trx_addons_audio_player .audio_caption {
margin: 0.5em 0 1em;
}
.trx_addons_audio_player .audio_author + .audio_caption {
margin-top: -0.5em;
}
.trx_addons_audio_player .audio_frame {
width: 100%;
position: relative;
z-index: 2;
}
.trx_addons_audio_player .audio_info + .audio_embed,
.trx_addons_audio_player .audio_info + .audio_frame {
margin-top: 1em;
}
.widget_subtitle + .trx_addons_audio_wrap {
margin-top: 2em;
}
.trx_addons_audio_player .audio_now_playing {
margin-top: 1em;
margin-bottom: 1em;
}
.trx_addons_audio_wrap .trx_addons_audio_navigation,
.trx_addons_audio_player .audio_now_playing {
font-size: 0.9em;
line-height: 1.4rem;
font-weight: 600;
letter-spacing: 1px;
text-transform: uppercase;
z-index: 2;
position: relative;
color: #fff;
}
.trx_addons_audio_wrap .trx_addons_audio_navigation {
position: absolute;
z-index: 2;
top: 2.55em;
right: 2.5em;
bottom: auto;
left: auto;
}
.trx_addons_audio_wrap .trx_addons_audio_navigation > span {
padding: 0 5px;
cursor: pointer;
display: inline-block;
-webkit-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
transition: all 0.3s ease;
opacity: 0.7;
vertical-align: top;
}
.trx_addons_audio_wrap .trx_addons_audio_navigation > span:hover {
opacity: 1;
}
.trx_addons_audio_wrap .trx_addons_audio_navigation > span span {
font-size: 1.4rem;
line-height: 1em;
font-weight: 400;
display: inline-block;
vertical-align: top;
margin-top: -1px;
}
.trx_addons_audio_wrap.hide_time .mejs-time {
display: none !important;
}
.trx_addons_audio_wrap.hide_scroll .mejs-time-rail {
display: none !important;
}
.trx_addons_audio_wrap.hide_volume .mejs-horizontal-volume-slider {
display: none !important;
}
.hide_scroll .mejs-controls .mejs-duration-container {
margin-left: 10px;
}
.trx_addons_audio_player .mejs-container {
min-height: 40px;
}
@media (max-width: 1439px) {
.audio_now_playing {
margin-top: 0;
}
.trx_addons_audio_navigation {
position: absolute;
z-index: 2;
top: 2em;
right: 2em;
bottom: auto;
left: auto;
}
}
@media (max-width: 1279px) {
.trx_addons_audio_navigation {
position: absolute;
z-index: 2;
top: 2em;
right: 1.6em;
bottom: auto;
left: auto;
}
}
@media (max-width: 767px) {
.trx_addons_audio_wrap.list .trx_addons_audio_player {
padding-top: 5em;
}
.trx_addons_audio_wrap .mejs-horizontal-volume-slider {
display: none !important;
}
.trx_addons_audio_navigation {
position: absolute;
z-index: 2;
top: 2.55em;
right: auto;
bottom: auto;
left: 1.2em;
}
}