.video-bg {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    z-index: 0;
}
#bg-video, .video-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
#bg-video video{
    height: 100%;
    width: 100%;
}
.video-overlay{
    background: rgb(21,21,33,0.5);
    background: linear-gradient(0deg, rgba(21,21,33,1) 0%, rgba(21,21,33,0.6) 100%);
}

body {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}
body::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}

.slider-header{
    margin: 40px 0 10px 30px;
}
.slider {
    z-index: 2;
    position: relative;
    margin: 0;
    padding: 0 30px;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
}
.slider .sliderMask {
    overflow-x: hidden;
    padding-bottom: 1px;
}
.slider .sliderMask.showPeek {
    overflow: visible;
}
.slider .sliderMask .sliderContent {
    white-space: nowrap;
}
.slider .row-with-x-columns .slider-item {
    cursor: pointer;
}
.slider .sliderMask .sliderContent .slider-item {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 1;
    display: inline-block;
    position: relative;
    white-space: normal;
    vertical-align: top;
    padding: 0 2px;
    margin-bottom:38px;
}
.slider .handle {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 20;
    width: 30px;
    text-align: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    align-items: center;
    display: none;
    color: #fff;
    background: rgba(0,0,0,.5);
}
.slider .handle.active {
    display: flex;
    cursor: pointer;
}
.slider .handle.handleNext {
    -webkit-border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-bottom-left-radius: 4px;
    right: 0;
}
.slider .handle.handlePrev {
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    border-bottom-right-radius: 4px;
    left: 0;
}
.slider .handle i {
    opacity: 0.5;
    transition: all .5s ease-in-out;
}
.slider .handle:hover i {
    opacity: 1;
    transform: scale(1.05) translateZ(0px) translate3d(0px, 0px, 0px);
}
.slider-item img{
    transition: ease-in-out .2s all;
}
.slider-item:hover img{
    transform: scale(1);
    position: relative;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
    z-index: 10;
}
.placeholder {
    opacity: 1;
    animation: pulsate 1s infinite;
}

@keyframes pulsate {
    0%   { opacity:1; }
    50%  { opacity:.5; }
    100% { opacity:1; }
}

@media screen and (max-width:499px) {
    .slider .row-with-x-columns .slider-item, .search-item {
        width: calc(50% - 3px);
    }
}
@media screen and (min-width:500px) and (max-width:799px) {
    .slider .row-with-x-columns .slider-item, .search-item {
        width: calc(33.33333333% - 3px);
    }
}
@media screen and (min-width:800px) and (max-width:1099px) {
    .slider .row-with-x-columns .slider-item, .search-item {
        width: calc(25% - 3px);
    }
    .slider .handle {
        width: 60px;
    }
    .slider {
        padding-left: 60px;
        padding-right: 60px;
    }
    .slider-header {
        padding-left: 35px;
    }
}
@media screen and (min-width:1100px) and (max-width:1399px) {
    .slider .row-with-x-columns .slider-item, .search-item {
        width: calc(20% - 3px);
    }
}
@media screen and (min-width:1400px) {
    .slider .row-with-x-columns .slider-item, .search-item {
        width: calc(16.66666667% - 3px);
    }
}
@media screen and (min-width:991.98px) {
    .video-bg-spacer {
        max-height: calc(100vh - 400px);
    }
}
.page {
    background-image: radial-gradient(circle at 25% 1000px, #192855 0%,transparent 40%);
    background-attachment: fixed;
    z-index: 1;
}
.footer {
    background-color: transparent;
}

/* for watch page */
#my-video{
    max-height: 100vh;
    max-width: 100vw;
}
body.vid-playing{
    overflow: hidden;
}

.episode-thumb {
    position: relative;
}
a.episode-play-btn {
    display:flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}
a.episode-play-btn:hover {
    opacity: 1;
}
.episode-play-btn .fa-play {
    font-size: 0.75em;
}
#ai-video{
    height: calc( 100vw * 9 / 16 );
    width: calc( 100vh * 16 / 9 );
    max-height: calc( 100vh - 4% );
    max-width: calc( 100vw - 4% );
}

#ai-video-1 {
    height: calc( 720px * 9 / 16 );
    width: calc( 405px * 16 / 9 );
}
.episode-progress{
    position:absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
}

.slider-item img {
    position:relative;
}

.slider-item .rental {
    position:absolute;
    top:4px;
    right:0px;
    z-index:25;
}
.slider-item .rental i {
    color:#ffffff;
    font-size:14px;
}

.slider-item .vid-title {
    position: absolute;
    bottom: -35px;
    height:35px;
    left: 4px;
    right: 0;
    font-size: 1em;
    font-weight:400;
    text-shadow: 1px 1px 5px #000;
}

.channelVideo {
    position:relative;
    max-width:720px;
    max-height:405px;
    margin-bottom:20px;
}

.channelVideoPlaceholder img {
    max-width:100%;
}

.trackingWrapper {
    position:relative;
    float:left;
    height:4px;
    background-color:#CCC;
    width:100%;
    margin:-4px 0 0 0;
    z-index: 10;
}

.tracking {
    background-color:#7396F7;
    position: absolute;
    top:0;
    left:0;
    height:4px;
    z-index: 20;
}

.imageRatio {
    text-align: center;
    background-color: #151521;
    z-index: -10;
}

.imageRatio img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height:auto;
}

.imagePosterArt {
    width:300px;
    height:auto;
}

.featuredHeader {
    font-style:italic;
}

.comment {
    margin-top:8px;
    clear:both;
}

.comment p {
    margin-bottom: 0px;
}

.commentSubmit, .commentReply {
    float:right;
}

#comments {
    max-width:720px;
}

.commentCount {
    margin-top:20px;
}

.showReplies {
    margin:5px 15px;
    clear: both;
}

.replies {
    margin:0 50px;
    max-width:620px;
}

.video-js .vjs-replay-button {
    display:none !important
}

.shareCard {
    margin-top:20px;
}
.shareImage {
    width:175px;
}

.cardText {
    margin-top:0px;
    margin-bottom:0px;
}

.badgeMargin {
    margin-bottom:10px;
}

.shareIcons {
    width:25px;
    margin-left:-3px;
}

.shareLink, .shareSpinner, .shareCancel {
    font-size:20px;
    color:#3699FF;
    cursor:pointer;
    margin:2px;
    text-align: center;
}

.fas.shareSpinner, .fas.shareCancel {
    display:none;
}

.shareLink:hover {
    color:#187DE4;
}

#promoCodeDialog, #shareUrl {
    display:none;
}

#apply_code {
    margin-bottom:15px;
    margin-right:2px;
}

.termsDiv {
    margin-top:15px;
    text-align:center;
}

#termsOfService {
    margin-right:3px;
}

.strikethrough {
    text-decoration: line-through;
    text-decoration-color: #DA0000;
}

.cancelLink, .cancelLinkStripe {
    text-align: right;
    cursor: pointer;
}

#editProfile ul {
    list-style-type: none;
    margin:0;
    padding:0;
}

#editProfile p {
    margin-top:20px;
}

.profile .initial span {
    font-size: 36px;
    font-weight: bold;
    color: #FFF;
}

.initial {
    margin-top:35px;
}

.profile {
    float:left;
    margin:0 10px 15px 10px;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    background: #3699FF;
    border: 3px solid #FFF;
    transition: transform 1s;
    cursor: pointer;
}

img.largeGravatar {
    width:155px;
    height:155px;
    border:1px solid #FFF;
    border-radius: 50%;
    margin:0;
    padding:0;
}

.profile.selected {
    transform: scale(1.5)
}

.profile.hidden {
    transform: scale(0.8);
    opacity: 0.2;
}

.profiles {
    margin:0 auto;
    text-align: center;
    position:relative;
}

.profileLeft {
    position:absolute;
    top:68px;
    left:-60px;
    cursor:pointer;
}

.profileRight {
    position:absolute;
    top:68px;
    right:-60px;
    cursor:pointer;
}

#editProfile ul.permissionRow {
    margin:20px 0;
}

.permissionRow li {
    float:left;
    margin:0 5px;
}

.permission {
    display:none;
}

.selectCircle {
    width:75px;
    height:75px;
    border-radius: 50%;
    background: #527CEB;
    border:3px solid #000;
    margin-top:20px;
    text-align: center;
    font-size: 14px;
    padding-top:25px;
    cursor:pointer;
}

.selectCircle.selected {
    border: 3px solid #FFF
}

.selectCircle:hover {
    border:3px solid #FFF
}

.usernameInput, .typeSelect {
    border: 0;
    border-radius: 6px;
    height:32px;
    padding:3px 7px;
}

.manage {
    margin:0 auto;
}

.carousel {
    display:none;
    width:160px;
    margin:0 auto;
    position:relative;
}

.carousel .profile {
    text-align: center;
}

.carousel-wrapper {
    position:relative;
    width:10000px;
    overflow: hidden;
}

.carousel-window {
    width:160px;
    height:200px;
    overflow: hidden;
}

.profile-card {
    background-color:rgba(0,0,0,0);
}

.loadingProfile {
    display:none;
}

.profileHeader {
    float:left;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    padding-top:2px;
    background: #3699FF;
    border: 1px solid #FFF;
    cursor: pointer;
    text-align: center;
    font-size:16px;
    margin-left:10px;
    color:#FFFFFF;
}

img.gravatar, img.gravatarMobile {
    width:28px;
    height:28px;
    padding:0;
    margin:0;
    border-radius: 50%;
}

img.gravatarMobile {
    display:none;
    margin-top:10px;
}

.profileHeaderMobile {
    display:none;
    float:right;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    padding-top:2px;
    background: #3699FF;
    border: 1px solid #FFF;
    cursor: pointer;
    text-align: center;
    font-size:16px;
    margin-top:13px;
    margin-left:10px;
    color:#FFFFFF;
}

.longInput {
    width: 342px;
}

#trailerVideo {
    display: none;
    max-width: 100%;
}

.trailerSpinner {
    display:none;
}

.bellNotification {
    margin:10px;
    font-size:18px;
    cursor:pointer;
}

.bellAlert {
    color:#b02a37;
}

.menuGravatar {
    margin-right:10px;
}

.restartVideo, .playTrailer {
    margin-left: 3px;
}

.logTable {
    width:100%;
    max-width:750px;
}

.logTable td {
    padding:2px;
}

#signupForm {
    max-width:480px;
}

.emailList {
    float:left;
    width:20px;
    margin:3px 7px 0 0;
}

.glideWrapper {
    width:100%;
    padding:0 15px;
}

.glide {
    margin: -65px 0 15px 0;
}

.glide img {
    max-width:100%;
}

.glide__bullets .featuredBullet {
    margin: 0 0.5em;
    width: 12px;
    height: 12px;
}

.searchInput {
    margin:-55px 30px 30px 30px;
    max-width: 100%;
}

.searchPage .slider-header {
    margin:20px 0 0 30px;
}

.searchInput input {
    font-family: Poppins, Helvetica, "sans-serif";
    font-size:16px;
}

.searchInput input::placeholder {
    color: #3699FF;
}

.searchInput input:focus {
    border:1px solid #3699FF;
}

.searchInput input:focus::placeholder {
    color: #FCFCFC;
}

.searchItems {
    padding: 0 30px;
    min-height: calc(100vh - 246px);
}

.search-item {
    position:relative;
    margin-bottom:32px;
    display:inline-block;
    z-index: 10;
}

.searchInput input {
    max-width: 100%;
}

@media only screen and (max-width: 1202px) {
    .profile {
        margin-left:0;
    }
    .profiles {
        display:none;
    }
    .carousel {
        display:block;
    }
}

@media only screen and (max-width: 443px) {
    .profiles {
        max-width:180px;
    }
}

@media only screen and (max-width: 991px) {
    .profileHeader, img.gravatar {
        display:none;
    }
    .profileHeaderMobile, img.gravatarMobile {
        display:block;
    }
    .modal-backdrop {
        display:none;
    }
    .glide {
        margin-top:15px;
    }
    .searchInput {
        margin-top:25px;
    }
}