html {
    font-size: 62.5%;
    touch-action: manipulation;
}

body {
    margin: 0;
    padding: 0;
    color: white;
    font-family: "Roboto", "Helvetica Neue", sans-serif;
    line-height: 1.42857143;
    font-size: 1.4rem;
    background-color: #1d1d1d !important;
}

.container {
    max-width: 100%;
}

.episodes_container {
    width: 100%;
}



/* common tag css */

img {
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline !important;
    /* color: rgba(6,134,248,1) !important; */
}

.episodes_container {
    color: #fff;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    z-index: 1;
    margin-top: 250px;
}

.episodes_content {
    display: flex;
    overflow: hidden;

}


.menu-items {
    margin-right: 50px;
    margin-left: 140px !important;
}

.episode-details-header {
    background-color: transparent !important;
    position: relative;
    z-index: 2;
}

.header-gap-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 360px;
    z-index: 1;
    background: url("https://s3.amazonaws.com/mtdb.galxy.prod/storage/media-images/backdrops/dRnCsTyJ2Crey9bnqevDLCplbQx8yYPFkaSdwv2r.jpeg") no-repeat center top;
    background-size: cover;
    background-position: left center;
    opacity: 0.6;
}
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 820px)  {
    .header-gap-bg {
            height: 260px;
    }
    .episodes_container {
      margin-top: 150px;
    }
}
.episode-details-header .search-box {
    background-color: transparent !important;
    border-color: #5F676B !important;
}

/* episodes_title section */


.title-primary-details-panel {
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin: 20px 0;
    padding-bottom: 20px;
}

.title-primary-details-panel .row {
    display: flex;
    align-items: center;
}

/* episodes_title section  left */
.title-primary-details-panel .row .left {
    margin-right: 35px;
    max-width: 60%;
    padding-left: 15px;
}

.title-primary-details-panel h1 {
    font-size: 4.5rem;
    font-weight: 400;
    margin-left: -3px;
    margin-top: 120px;
    padding-left: 0;
    line-height: 48px;
}

.title-primary-details-panel h1 a {
    font-size: 4.5rem;
    color: inherit;
    transition: color .2s ease-in-out;
}

.title-primary-details-panel h1 a:hover {
    color: rgba(6, 134, 248, 1) !important;
    cursor: pointer;
    text-decoration: none !important;
}

.title-primary-details-panel h1 .year {
    font-size: 1.6rem;
    font-weight: 500;
    position: relative;
    bottom: 3px;
}




/* episodes_title section  right */

.title-primary-details-panel .row .right {
    margin-left: auto;
    max-width: 40%;
}

.social-icons .social-icon.facebook {
    background-color: #3b5998;
    color: #fff;
}


.social-icons .social-icon {
    width: 31px;
    height: 31px;
    line-height: 31px;
    margin-right: 8px;
    border-radius: 4px;
    text-align: center;
}

.mat-icon-button {
    padding: 0;
    min-width: 0;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    line-height: 40px;
    border-radius: 50%;
}

.mat-button,
.mat-icon-button,
.mat-stroked-button,
.mat-flat-button {
    box-sizing: border-box;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    outline: none;
    border: none;
    -webkit-tap-highlight-color: transparent;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
    vertical-align: baseline;
    text-align: center;
    margin: 0;
    /* min-width: 64px; */
    line-height: 36px;
    /* padding: 0 16px; */
    border-radius: 4px;
    overflow: visible;
}


.social-icons .social-icon .mat-icon {
    width: 18px;
    height: 18px;
    line-height: 18px;
    margin: 0 auto;
}


.social-icons .social-icon.twitter {
    background-color: #1da1f2;
    color: #fff;
}

.social-icons .social-icon.mail {
    background-color: #d54b3d;
    color: #fff;
}

.social-icons .social-icon.link {
    background-color: #1e88e5;
    color: #fff;
}



/* episodes_title rates - time section */

/* left side */


.title-primary-details-panel .episode-number,
.title-primary-details-panel .genres {
    font-size: 1.7rem;
    margin-bottom: 8px;
}

.title-primary-details-panel .genres {
    margin-left: 5px;
    white-space: nowrap;
}

.genre-widget {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rating-widget {
    display: flex;
    align-items: center;
    margin-left: 3px;
}

.rating-widget .rate-button {
    padding: 0 8px 0 5px;
    font-weight: 400;
}

.mat-button-ripple.mat-ripple,
.mat-button-focus-overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    pointer-events: none;
    border-radius: inherit;
}

.rating-widget .mat-icon {
    color: #ffc000;
    margin-right: 5px;
}

.rate-button .mat-button-wrapper {
    display: inline-flex !important;
    align-items: center;
    vertical-align: middle;
    flex-direction: row;
}

.rating-widget .mat-button {
    line-height: 24px !important;
    padding: 2px 8px !important;
}

.rate-button .mat-icon {
    display: inline-block !important;
    vertical-align: middle;
    margin-right: 5px !important;
}


/* right side */

.title-primary-details-panel .meta-details {
    display: flex;
    align-items: center;
}

.title-primary-details-panel .meta-details .name {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.3rem;
    white-space: nowrap;
}

.title-primary-details-panel .meta-details .value {
    font-size: 1.6rem;
}

.title-primary-details-panel .meta-details .separator {
    margin: 0 10px;
}

.title-primary-details-panel .meta-details .name {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.3rem;
    white-space: nowrap;
}





/* episodes_content left */
.episodes_content .left .episodes_img-container {
    width: 250px;
    /* margin: auto; */
}

.episodes_content .left .episodes_img-container img {
    width: 100%;
    /* height: 100%; */
    -o-object-fit: cover;
    object-fit: cover;
    max-height: 375px;
}


.episodes_content .left {
    display: flex;
    flex: 1 1 auto;
    max-width: 600px;
    margin-right: 35px;
    flex-wrap: wrap;
}

.episodes_content .left .details {
    margin-left: 25px;
    flex: 1 0 32%;
    min-width: 0;
}


.episodes_content .left .details .detail {
    margin-bottom: 15px;
}


.episodes_content .left .details .name {
    font-size: 1.6rem;
    font-weight: 500;
}

.episodes_content .left .details .value {
    overflow-wrap: break-word;
}

.seasons > .value {
    color:#0574d4;
    font-size: 1.5rem;
}

.episodes_content .left .seasons .season {
    text-decoration: none;
    color: rgba(6, 134, 248, 1);
    margin-right: 10px;
    font-size: 1.5rem;

}

.episodes_content .left .details .with-separator {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 15px;
}



/* episodes_content right */

.episodes_content .right {
    width: 500px;
    flex: 0 0 500px;
}


.watchlist {
    width: 100%;
    line-height: 45px;
    background-color: rgba(6, 134, 248, 1);
    color: white;
    box-sizing: border-box;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    outline: none;
    border: none;
    -webkit-tap-highlight-color: transparent;
    display: none;
    white-space: nowrap;
    text-decoration: none;
    vertical-align: baseline;
    text-align: center;
    margin: 0;
    min-width: 64px;
    padding: 0 16px;
    border-radius: 4px;
    overflow: visible;
    margin-bottom: 15px;
}


.right .video-cover {
    position: relative;
    background-color: #000;
}

.right .video-cover img {
    width: 100%;
    height: auto;
}

.watchlist .mat-button-wrapper {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 1px;
    vertical-align: middle;
    line-height: normal !important;
}

.watchlist .mat-icon {
    vertical-align: middle !important;
    position: relative;
    top: -1px;
}

.thumb-up-btn .mat-icon,
.thumb-down-btn .mat-icon {
    vertical-align: middle !important;
    margin-right: 3px !important;
    position: relative;
    top: -1px;
}

.thumb-up-btn,
.thumb-down-btn {
    display: inline-flex !important;
    align-items: center;
    line-height: 24px !important;
}

.play-video-button .mat-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

.play-video-button .mat-icon svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
}


.mat-button-wrapper {
    display: inline-flex !important;
    align-items: center;
    gap: 1px;
}


/* play button */
.right .video-cover .mat-fab {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.mat-fab.mat-accent,
.mat-flat-button.mat-accent,
.mat-mini-fab.mat-accent,
.mat-raised-button.mat-accent {
    background-color: rgba(6, 134, 248, 1);
}

.mat-fab {
    box-sizing: border-box;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    outline: none;
    border: none;
    -webkit-tap-highlight-color: transparent;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
    vertical-align: baseline;
    text-align: center;
    margin: 0;
    min-width: 64px;
    line-height: 36px;
    padding: 0 16px;
    border-radius: 4px;
    overflow: visible;
    /* transform: translate3d(0, 0, 0); */
    transition: background 400ms cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 0;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    padding: 0;
    flex-shrink: 0;
}

.mat-fab .mat-button-wrapper {
    padding: 16px 0;
    display: inline-block;
    line-height: 24px;
}

.mat-button-ripple.mat-ripple,
.mat-button-focus-overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    pointer-events: none;
    border-radius: inherit;

}

.mat-button-ripple-round {
    border-radius: 50%;
    z-index: 1;
}

.mat-button-focus-overlay {
    opacity: 0;
    transition: opacity 200ms cubic-bezier(0.35, 0, 0.25, 1), background-color 200ms cubic-bezier(0.35, 0, 0.25, 1);
}

.mat-button-ripple.mat-ripple,
.mat-button-focus-overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    pointer-events: none;
    border-radius: inherit;
}

.mat-button-text {
    vertical-align: sub;
    font-size: 14px;
}

.mat-icon {
    background-repeat: no-repeat;
    display: inline-block;
    fill: white;
    height: 24px;
    width: 24px;
    vertical-align: middle
}



.mat-button,
.mat-icon-button,
.mat-stroked-button {
    color: inherit;
    background: transparent;
}


.mat-button,
.mat-fab,
.mat-flat-button,
.mat-icon-button,
.mat-mini-fab,
.mat-raised-button,
.mat-stroked-button {
    font-family: Roboto, Helvetica Neue, sans-serif;
    font-size: 14px;
    font-weight: 500;
}


/* cursor section  */

/* title section left */
.title-videos {
    margin-top: 40px;
    margin-bottom: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}



.title-videos .title {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.title-videos .title .text {
    font-size: 2.5rem;
    text-transform: capitalize;
}

/* title section right */

.season-select-container {
    margin-left: auto;
}

.season-select-container select {
    height: 48px;
    border-radius: 3px;
}

.season-select-container select {
    background-color: #1D1D1D;
    color: #fff;
}



/* carousel section */


.carousel {
    z-index: auto !important;
}

.carousel {
    position: relative;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-user-select: none;
    user-select: none;
    z-index: 10000;
    transform-origin: top left;
    box-sizing: border-box;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
    height: 100%;
    cursor: grab;
}

/* left side carousel section */

.carousel-cells {
    display: flex;
    flex-direction: row;
    transition: transform .2s;
    will-change: transform;
    width: auto;
    height: auto;
}

.carousel-cells .carousel-cell {
    width: 220px;
    margin-right: 10px;
    position: relative;
    height: auto;
    overflow: visible;
}

.video-item {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    height: auto;
    min-height: 221px;
    margin-right: 10px;
}

.thumbnail-container {
    width: 100%;
    position: relative;
}

.thumbnail-image {
    width: 100%;
    height: auto;
    max-height: 120px;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
}

.carousel-cells .carousel-cell img,
.carousel-cells .carousel-cell video {
    width: 100%;
    height: 100%;
    position: relative;
    object-fit: contain;
}

.mat-fab.mat-accent,
.mat-fab.mat-primary,
.mat-flat-button.mat-accent,
.mat-flat-button.mat-primary,
.mat-mini-fab.mat-accent,
.mat-mini-fab.mat-primary,
.mat-raised-button.mat-accent,
.mat-raised-button.mat-primary {
    color: #fff;
}



.mat-mini-fab {
    box-sizing: border-box;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    outline: none;
    border: none;
    -webkit-tap-highlight-color: transparent;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
    vertical-align: baseline;
    text-align: center;
    margin: 0;
    min-width: 64px;
    line-height: 36px;
    padding: 0 16px;
    border-radius: 4px;
    overflow: visible;
    transform: translate3d(0, 0, 0);
    transition: background 400ms cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    flex-shrink: 0;
}

.play-video-button {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.video-name {
    padding: 8px;
    font-size: 1.5rem;
    text-transform: capitalize;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff !important;
    text-decoration: none;
    white-space: nowrap;
}

.video-name:hover {
    padding: 8px;
    font-size: 1.5rem;
    text-transform: capitalize;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    white-space: nowrap;
}

.video-actions {
    display: flex;
    align-items: center;
    margin-top: 5px;
}


edit-title-video-widget {
    margin-right: auto;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.thumb-up-btn {
    color: #43a047;
    padding: 0;
}

.thumb-down-btn {
    color: #f44336;
    padding: 0;
}

.mat-button,
.mat-stroked-button,
.mat-flat-button {
    box-sizing: border-box;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    outline: none;
    border: none;
    -webkit-tap-highlight-color: transparent;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
    vertical-align: baseline;
    text-align: center;
    margin: 0;
    min-width: 64px;
    line-height: 36px;
    padding: 0 8px;
    border-radius: 4px;
    overflow: visible;
}

.thumb-up-btn .mat-icon {
    background-repeat: no-repeat;
    display: inline-block;
    fill: rgb(67, 160, 71);
    height: 24px;
    width: 24px;
    margin-right: 5px;
    padding: 0px !important;
}

.thumb-down-btn .mat-icon {
    background-repeat: no-repeat;
    display: inline-block;
    fill: #f44336;
    height: 24px;
    width: 24px;
    margin-left: 5px;
    padding: 0px !important;
}



.domain-favicon {
    width: 16px !important;
    height: 16px !important;
    position: absolute !important;
    top: 5px !important;
    left: 5px !important;
}

/* cursor arrows */



/* 
tab section */
.mat-tab-label-container {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
    z-index: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mat-tab-group {
    margin-top: 40px;
}

.mat-tab-group {
    display: flex;
    flex-direction: column;
}



.mat-tab-header {
    display: flex;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.mat-ripple:not(:empty) {
    transform: translateZ(0);
}

.mat-tab-header-pagination-disabled {
    box-shadow: none;
    cursor: default;
}

.mat-tab-header-pagination-before,
.mat-tab-header-rtl .mat-tab-header-pagination-after {
    padding-left: 4px;
}

.mat-tab-header-pagination {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    display: none;
    justify-content: center;
    align-items: center;
    min-width: 32px;
    cursor: pointer;
    z-index: 2;
    -webkit-tap-highlight-color: transparent;
    touch-action: none;
}

.mat-tab-list {
    flex-grow: 1;
    position: relative;
    transition: transform 500ms cubic-bezier(0.35, 0, 0.25, 1);
}

.mat-tab-labels {
    display: flex;
}


.mat-tab-label {
    height: 48px;
    padding: 0 24px;
    cursor: pointer;
    box-sizing: border-box;
    opacity: .6;
    min-width: 160px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    position: relative;
    isolation: isolate;
    clip-path: inset(0);
    transition: opacity 0.3s ease;
    z-index: 1;
    transform: translate3d(0,0,0);
}

.mat-tab-label .mat-tab-label-content {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.mat-tab-group.mat-accent .mat-ink-bar,
.mat-tab-nav-bar.mat-accent .mat-ink-bar {
    background-color: rgba(6, 134, 248, 1);
}

.mat-ink-bar {
    position: absolute;
    bottom: 0;
    height: 2px;
    transition: 500ms cubic-bezier(0.35, 0, 0.25, 1);
}

.mat-tab-label-active {
    opacity: 1;
}

.mat-tab-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--underline-left, 0);
    width: var(--underline-width, 0);
    height: 2px;
    background-color: #0686f8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(179, 179, 179, 0.5);
    transform: scale(0);
    animation: ripple 800ms ease-out;
    pointer-events: none;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
    z-index: 999;
}

@keyframes ripple {
    from {
        transform: scale(0.1);
        opacity: 1;
    }
    to {
        transform: scale(4);
        opacity: 0;
    }
}


/* description */
.mat-tab-body-wrapper {
    position: relative;
    min-height: 200px;
    overflow: hidden;
    display: flex;
    transition: height 500ms cubic-bezier(0.35, 0, 0.25, 1);
}

.mat-tab-body-content {
    height: 100%;
    overflow: auto;
}

.mat-tab-body.mat-tab-body-active {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 1;
    flex-grow: 1;
    display: block;
}

.mat-tab-body {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    display: none;
    overflow: hidden;
    flex-basis: 100%;
}

.title-cast-panel {
    display: block;
    margin-top: 25px;
    margin-bottom: 30px;
}

.write-review-btn {
    background-color: rgba(6, 134, 248, 1);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 13px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
}

.write-review-btn:hover {
    background-color: #0574d4;
    text-decoration: none;
}

.no-reviews-message {
    margin-top: 15px;
    font-size: 1.6rem;
    color: #fff;
    line-height: 1.5;
    text-align: center;
}

.no-reviews-message-sub {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    text-align: center;
}

@media only screen and (min-width: 768px) {
    .right .video-cover {
        min-height: 281px;
    }
}


@media screen and (min-width: 1200px) {
    .episodes_container {
        max-width: 1170px !important;
    }
    .right .video-cover iframe {
        max-height: 300px;
    }
}

@media screen and (min-width: 992px) {
    .episodes_container {
        max-width: 970px;
    }
}

@media screen and (min-width: 768px) {
    .episodes_container {
        max-width: 750px;
    }
}


@media only screen and (max-width: 768px) {
    .title-primary-details-panel {
        margin-bottom: 0;
    }

    .title-primary-details-panel h1 {
        font-size: 3rem;
    }

    .title-primary-details-panel .row .left,
    .title-primary-details-panel .row .right {
        max-width: 100%;
        margin: 0;
        padding-left: 15px;
    }

    .title-primary-details-panel .row {
        display: block;
    }

    .mat-tab-label {
        width: 80px !important;
        min-width: 80px !important;
    }
}

@media only screen and (max-width: 1024px) {
    .episodes_content {
        display: flex;
        flex-direction: column;
    }

    .episodes_content .left,
    .episodes_content .right {
        display: block;
        width: auto;
        max-width: none;
        flex: 1 1 auto;
        margin-right: 0;
    }

    .episodes_content .left .img-container {
        margin: 0 auto;
    }

    .episodes_content .left .details {
        margin: 25px 0 0;
    }
}
