.carousel-cell:before {
    content: none;
}
.flickity-button {
    background-color: transparent;
}
.flickity-button:disabled {

}
.flickity-prev-next-button.previous {
    left: -40px;
}
.im-carousel-wrapper a {
    text-decoration: none;
}

/* cast carousel */
.im-cast-carousel-cell-info {
    position: absolute;
    top: 5px;
    text-align: center;
}
.cast-carousel .flickity-viewport {
}
.cast-carousel-cell {
    display: block;
}
.carousel-cell.cast-carousel-cell {
    transform: none;
    height: 120px;
    width: 120px;
    margin-right: 30px;
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 50%;
}
.carousel-cell.cast-carousel-cell:hover {
    transform: none;
    z-index: inherit;
}
.carousel-cell.cast-carousel-cell h3 {
    font-size: 17px;
    text-align: center;
    top: 120px;
    position: absolute;
    width: 100%;
}

/**** 3. pages ****/
/*** home */
/* movies carousel */
.im-carousel-cell-info {
    display: none;
    position: absolute;
    bottom: 0;
    padding: 5px 10px;
    background-color: rgba(0,0,0,.7);
}
.im-carousel-wrapper a {
    text-decoration: none;
}
.carousel-cell {
    transform: scale(0.8);
    height: 268px;
    width: 198px;
    margin-right: -10px;
    border-radius: 5px;
    transition: transform 0.1s;
}
.carousel-cell:hover {
    transform: scale(0.9);
    z-index: 3;
}



.services-carousel a {
    display: block
}
.services-carousel {
    height: 85px;
}
.services-carousel-cell:not(:last-of-type) {
    margin-right: 15px;
}
.services-carousel-cell img {
    height: 55px;
    width: 100%;
    background-color: grey;
    border-radius: 5px;
}
.mw-carousel-placeholder-hidden {
    display: none;
}
.mw-carousel-placeholder {
    height: 200px;
    background-image: url(//cdn.download.it/ms/static/images/5cei5r.gif);
    background-repeat: no-repeat;
    background-position: center;
    opacity: 50%;
}
.mw-flickity-preload-fleft {
    float: left;
}
.services-carousel-cell {
    width: 104px;
}
.mw-services-cat h4 {
    border-bottom: 5px solid;
}
.mw-services-cat h4:first-child {
    border-color: #666;
}
.mw-services-cat h4:nth-child(2) {
    border-color: #666;
}
.mw-services-cat h4:nth-of-type(3n) {
    border-color: #aaa;
}

.mw-cast-crew-tiles {
    padding-left: 19px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 19px;
}
.mw-cast-crew-tiles .home-tile a {
    min-height: 100px;
    padding: 9px 0 9px 0;
}
.mw-cast-crew-tiles .home-tile a {
}
.cast-carousel .flickity-prev-next-button.next {
    right: -3px;
}
.cast-carousel .flickity-prev-next-button {
    top: -25px;
}
.cast-carousel .flickity-prev-next-button.previous {
    right: 20px;
    left: auto;
}
.mw-home .cast-carousel .flickity-prev-next-button.previous {
    right: 21px;
}
.cast-carousel  .flickity-button {
    background-color: transparent;
}

.mw-person-img {
    width: 80px;
    height: 120px;
    background-size: cover;
    border-radius: 5px;
}

.mw-alternatives * {
    color: white;
}
.mw-alternatives .carousel-cell {
    background-size: cover;
    background-position-y: center;
}
.mw-alternatives .flickity-button-icon {
    fill: black;
}
.mw-alternatives .flickity-prev-next-button {
    top: -14px;
}
.mw-alternatives .flickity-prev-next-button.next {
    right: 12px;
}
.mw-alternatives .flickity-prev-next-button.previous {
    left: unset;
    right: 36px;
}
.flickity-prev-next-button {
    height: 30px!important;
    width: 30px!important;
}
.mw-services-cat .flickity-prev-next-button {
    top: -26px;
}
.mw-services-cat .flickity-prev-next-button.previous {
    left: unset;
    right: 17px;
}
.mw-services-cat .flickity-prev-next-button.next {
    right: -6px;
}
.flickity-button,.flickity-button:hover {
    background: transparent!important;
}




.im-carousel-cell-info {
    min-height: 104px;/* not height because the title can be longer */
    border-radius: 0 0 5px 5px;
}
.im-carousel-cell-info h3 {
    margin-bottom: 27px;
}
.im-carousel-cell-info .runtime-rating {
    position: absolute;
    width: calc(100% + -8px);
    bottom: 8px;
}



.programs.carousel .flickity-button.flickity-prev-next-button {
    top: -23px;
}
.programs.carousel .flickity-button.flickity-prev-next-button.previous {
    left: unset;
    right: 21px;
}
.programs.carousel .flickity-button.flickity-prev-next-button.next {
    left: unset;
    right: -3px;
}
.dit-home .mw-trending-wrapper {
    margin-top: 0 !important;
}
.dit-home .mw-alternatives .flickity-prev-next-button {
    top: -16px;
}
#home-rank h1 {
    margin-bottom: 0;
    font-weight: normal;
}
.dit-home .mw-trending-title-wrapper {
    margin-top: .5rem!important;
}
.dit-home .mw-cast-crew-tiles {
    padding-top: 10px;
}
.mw-cats svg {
    width: 20px;
    height: 20px;
}
.home-cats .tab-content {
    margin-top: 18px;
}

.mw-proseguio::after {
    content: "…";
    height: 100%;
    display: inline-block;
    color: #bbb;
    text-align: center;
    font-size: 240px;
    width: 100%;
    margin-top: -131px;
}
.mw-proseguio .im-carousel-cell-info {
    text-align: center;
}
.dit-home h1 {
    font-size: 28px!important;
    font-weight: bold!important;
}


.dit-proseguio .dit-dotswrap {
    width: 80px;
    height: 80px;
    padding-top: -30px;
}
.dit-proseguio .dit-dotswrap span {
    display: inline-block;
    margin-top: -101px;
    width: 100%;
    height: 100%;
    font-size: 127px;
    text-align: center;
}
h2.dit-protitle {
    display: inline-block;
    height: 100%;
    margin-top: 24px;
}

.dit-home .mw-trending-title h1 {
    margin-bottom: 0;
}
.dit-home .mw-trending-title-wrapper.mw-show {
    margin-top: 0!important;
}
#categoriesTabs a {
    white-space: nowrap;
}


@media (max-width: 700px) {

    #categoriesTabs {
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
    }
}


@media (max-width: 575.98px) {

    .im-carousel-cell-info .runtime-rating {
        width: calc(100% + -20px);
    }

    .mw-item .cast-carousel .flickity-prev-next-button.previous {
        right: 32px;
    }

    .mw-item .cast-carousel .flickity-prev-next-button.next {
        right: 9px;
    }
    #home-rank h1 {
        margin: 5px 0;
        padding-left: 0;
    }
}

@media (max-width: 991px) {
    .dit-home .im-radont, .mow-body .im-radont {
        border-top: none;
        border-left: none;
        border-right: none;
        border-bottom: 1px solid #ccc;
        border-radius: 0;
    }

    .mw-movie .mw-alternatives .flickity-prev-next-button.flickity-button {
        top: 0;
    }

    .mw-show .mw-alternatives .flickity-prev-next-button.flickity-button {
        top: -2px;
    }

    .mw-home .cast-carousel .flickity-prev-next-button {
        top: -21px;
    }

    .programs.carousel .flickity-button.flickity-prev-next-button.previous, .mw-home .cast-carousel .flickity-prev-next-button.previous {
        right: 36px;
    }

    .programs.carousel .flickity-button.flickity-prev-next-button.next, .mw-home .cast-carousel .flickity-prev-next-button.next {
        right: 12px;
    }
}
