Filmweb Hide & Seek

Allows to hide chosen sections on movie, person, character and world subpages.

/* ==UserStyle==
@name           Filmweb Hide & Seek
@namespace      https://greasyfork.org/users/636724-cml99
@version        1.1.5
@description    Pozwala ukryć wybrane sekcje na podstronach filmów, osób, postaci i światów.
@description:en Allows to hide chosen sections on movie, person, character and world subpages. 
@author         CML99
@license        CC-BY-NC-SA-4.0
@preprocessor   stylus
@homepageURL    https://greasyfork.org/scripts/423091-filmweb-hide-seek
@supportURL     https://greasyfork.org/scripts/423091-filmweb-hide-seek/feedback
@var            checkbox cmlHoverShow "✓ Pokaż po najechaniu" 0
@var            checkbox cmlEmbedHeaders "☐ Wyróżnij sekcje" 0
@var            checkbox cmlSmallerSections "⇲ Zmniejsz szerokie sekcje" 0
@var            checkbox cmlHideFooterHome "✕ Usuń główną pod stronami" 1
@var            checkbox cmlHideAds "✕ Usuń natrętne reklamy" 1
@var            checkbox cmlHideMinorSections "✕ Ukryj pojedyncze elementy" 0
@var            checkbox cmlHideRateboxRoles "✕ Ukryj role przy ocenie filmu" 0
@var            select cmlHidePosterRibbons "✕ Wstążki plakatów" ["none:nie ukrywaj*", "unchecked:zostaw oceny i chcę zobaczyć", "rated:zostaw tylko oceny", "full:ukryj całkowicie"]
@var            select cmlHideEpisodes "✕ Sezony i odcinki" ["none:nie ukrywaj", "partial:zostaw nagłówek*", "full:ukryj całkowicie"]
@var            select cmlHideReviews "✕ Recenzje" ["none:nie ukrywaj", "partial:zostaw nagłówek*", "full:ukryj całkowicie"]
@var            select cmlHideGallery "✕ Galeria" ["none:nie ukrywaj", "partial:zostaw nagłówek*", "full:ukryj całkowicie"]
@var            select cmlHideVideos "✕ Wideo" ["none:nie ukrywaj", "partial:zostaw nagłówek*", "link:zostaw linki", "full:ukryj całkowicie"]
@var            select cmlHideCast "✕ Obsada / Odtwórcy" ["none:nie ukrywaj*", "partial:zostaw nagłówek", "full:ukryj całkowicie"]
@var            select cmlHideTopRoles "✕ Ranking ról" ["none:nie ukrywaj*", "partial:zostaw nagłówek", "full:ukryj całkowicie"]
@var            select cmlHideFilmography "✕ Filmografia" ["none:nie ukrywaj*", "partial:zostaw nagłówek", "full:ukryj całkowicie"]
@var            select cmlHideCharacters "✕ Postacie" ["none:nie ukrywaj", "partial:zostaw nagłówek*", "full:ukryj całkowicie"]
@var            select cmlHideDescription "✕ Opisy" ["none:nie ukrywaj", "partial:zostaw nagłówek*", "full:ukryj całkowicie"]
@var            select cmlHideInfo "✕ Info / Stan" ["none:nie ukrywaj", "partial:zostaw nagłówek*", "full:ukryj całkowicie"]
@var            select cmlHideCuriosities "✕ Ciekawostki" ["none:nie ukrywaj", "partial:zostaw nagłówek*", "full:ukryj całkowicie"]
@var            select cmlHideRelated "✕ Powiązane tytuły" ["none:nie ukrywaj*", "partial:zostaw nagłówek", "full:ukryj całkowicie"]
@var            select cmlHideUsualPartners "✕ Często pracuje" ["none:nie ukrywaj", "partial:zostaw nagłówek*", "full:ukryj całkowicie"]
@var            select cmlHideCriticsVotes "✕ Oceny krytyków" ["none:nie ukrywaj", "partial:zostaw nagłówek*", "full:ukryj całkowicie"]
@var            select cmlHideUserReviews "✕ Recenzje użytk." ["none:nie ukrywaj", "partial:zostaw nagłówek*", "full:ukryj całkowicie"]
@var            select cmlHideKnownFor "✕ Znane role" ["none:nie ukrywaj", "partial:zostaw nagłówek*", "full:ukryj całkowicie"]
@var            select cmlHideBornToday "✕ Urodzeni tego dnia" ["none:nie ukrywaj", "partial:zostaw nagłówek*", "full:ukryj całkowicie"]
@var            select cmlHidePhotosYears "✕ Zmiany osoby" ["none:nie ukrywaj", "partial:zostaw nagłówek*", "full:ukryj całkowicie"]
@var            select cmlHideTakePart "✕ Weź udział" ["none:nie ukrywaj", "partial:zostaw nagłówek*", "full:ukryj całkowicie"]
@var            select cmlHideNews "✕ Newsy" ["none:nie ukrywaj", "partial:zostaw nagłówek*", "full:ukryj całkowicie"]
@var            select cmlHideForum "✕ Forum" ["none:nie ukrywaj*", "partial:zostaw nagłówek", "full:ukryj całkowicie"]
@var            select cmlHideContrib "✕ Twórcy strony" ["none:nie ukrywaj", "partial:zostaw nagłówek*", "full:ukryj całkowicie"]
@var            select cmlHideWorldTitles "✕ Listy prod. świata" ["none:nie ukrywaj", "partial:zostaw nagłówek*", "full:ukryj całkowicie"]
@var            select cmlHideWorldPopular "✕ Rank. prod. świata" ["none:nie ukrywaj", "partial:zostaw nagłówek*", "full:ukryj całkowicie"]
@var            select cmlHideTopFilms "✕ Pop. produkcje" ["none:nie ukrywaj*", "full:ukryj całkowicie"]
==/UserStyle== */

@-moz-document domain("filmweb.pl") {    

/* --- FW General --- */
    
#cmlPlaceholder { display: none; } 
    
/* -------------------------------------------------- */    
    
if cmlHideFooterHome { #site:not([data-linkable="home"]) .page.HomePage { display: none; } }    


/* -------------------------------------------------- */

if cmlHideAds {
.fa__slot--billboard, .fa__slot--top, .fa.faSky, .ad, .ad__background, .ad--loaded, .topBillboard, .fa.faBar, .ad__container, .faScreening--floating, .faScreening--clickable, .faCurtainScreening, .curtainScreening, .fa.faInterstitial, .faTopLayerScreening, .topLayerScreening, .topLayerScreening--hide, .liveSearch__fa, .sidebar .placeForAddon, #skyAd, #mainSkyBanner-pl_PL, #screening, html.screening .clickableAdBG, .ikeaBanner, .gemius__pixel, #didomi-host, #advertBar-pl_PL { 
    display: none !important; 
} 
/* anti adb */
.qqxxt { display: none !important; }
}   

/* -------------------------------------------------- */

if cmlHideRateboxRoles { 
    .filmRatingBox__extraPart .boxOpener.isOpen /*.roleActionBox__card)*/ { display: none; }
} 

/* -------------------------------------------------- */

if cmlHidePosterRibbons == unchecked and !cmlHoverShow {
    .isInit.ribbon:not(.ribbon--role)[data-state="unchecked"] { display: none; }
}
if cmlHidePosterRibbons == rated and !cmlHoverShow {
    .isInit.ribbon:not(.ribbon--role):not([data-state="rated"])[data-state="unchecked"], 
    .isInit.ribbon:not(.ribbon--role):not([data-state="rated"])[data-state="wts"],
    .isInit.ribbon:not(.ribbon--role):not([data-state="rated"])[data-state="nwts"] { display: none; }
}
if cmlHidePosterRibbons == full and !cmlHoverShow {
    .isInit.ribbon:not(.ribbon--role) { display: none; }
}

if cmlHidePosterRibbons == unchecked and cmlHoverShow {
    .filmPoster:not(:hover) .isInit.ribbon:not(.ribbon--role)[data-state="unchecked"] { display: none; }
}
if cmlHidePosterRibbons == rated and cmlHoverShow {
    .filmPoster:not(:hover) .isInit.ribbon:not(.ribbon--role):not([data-state="rated"])[data-state="unchecked"], 
    .filmPoster:not(:hover) .isInit.ribbon:not(.ribbon--role):not([data-state="rated"])[data-state="wts"],
    .filmPoster:not(:hover) .isInit.ribbon:not(.ribbon--role):not([data-state="rated"])[data-state="nwts"] { display: none; }
}
if cmlHidePosterRibbons == full and cmlHoverShow {
    .filmPoster:not(:hover) .isInit.ribbon:not(.ribbon--role) { display: none; }
}   
    
/* -------------------------------------------------- */    

.page[data-group="filmPage"], .page[data-group="personPage"], .page[data-group="characterPage"], .page[data-group="worldPage"] { 
    
if cmlHideMinorSections { 
    .filmInfo__awards, .filmWhereToWatchLinkSection, .personAwardSection, .filmPosterSection__awards, .characterWorldSection, .characterOnTvSection  { 
        display:none; 
    } 
}

}

/* -------------------------------------------------- */

if cmlHideVideos == link {
.page[data-group="filmPage"], .page[data-group="personPage"], .page[data-group="characterPage"], .page[data-group="worldPage"] {    
/* mt compact */
.filmMainVideosSection--full .page__header { padding-bottom: 0.5rem; padding-top: 0.5rem; }
.filmMainVideosSection__container { padding: 0 0 1rem; }
.filmMainVideosSection .videoBlock.videoBlock--big { width: 50%; }     
.filmMainVideosSection--double .filmMainVideosSection__container .videoBlock { width: 100%; }      
.filmMainVideosSection--double .videoBlock.videoBlock--big { width: 100%; }  
.filmMainVideosSection--double .filmMainVideosSection__container, 
.videosSection__grid--2 { grid-template-columns: repeat(3,1fr); column-gap: 2rem; } 
.videosSection__grid--2 > :nth-child(2) { grid-column: 2/3; }    
html.noFilmReviewData.noPhotoGalleryData body:not(.userCantSeeFa) .filmMainVideosSection .videoBlock.videoBlock--big {
    width: 50%; height: auto; 
}    
.videosSection__grid { margin: 0 0 1rem; } 
.videosSection__grid--3 > :nth-child(2) { grid-row: 1/4; }
.videosSection__grid--3 { grid-template-rows: 0rem 0rem 11rem; }
@media screen and (min-width: 1151px) {     
.page__section--wide .videosSection__grid--3 { grid-template-columns: 1fr 1fr 1fr; column-gap: 2rem; }
.page__section--wide .videosSection__grid--3 > :nth-child(2) { grid-column: 2/3; grid-row: 1/3; }
.page__section--wide .videosSection__grid--3 .videosSection__grid--wrapper { display: contents; }    
}    
.videosSection__grid--1:nth-child(1) > :nth-child(1), .videosSection__grid--1:nth-child(2) > :nth-child(1) { width: 50%; }     
.characterPage .videosSection__grid--3 > div:nth-child(1) { display: grid !important; }    
.characterPage .page__section--wide .videosSection__grid--3 { grid-template-columns: repeat(3,1fr); }  
.characterPage .page__section--wide .videosSection__grid--3 > :nth-child(2) { grid-column: 2/2; }     
.latestTrailerSection__video { width: 50% !important; min-height: 10rem !important; }      
    
/* links */    
.videosSection {  
.thumbnail__video, .thumbnail--video .thumbnail__link::before, .videoItem__ageBadge, .thumbnail__image, .videosSection__grid .videoItem__type { 
    display: none; 
}
.thumbnail { background: none; }
.thumbnail--16x9 { padding-top: 22%; }
.videoItem { height: 1.5rem !important; }
.videoItem__meta { bottom: 0rem !important; }
.videosSection__grid .videoItem__title { font-size: 1rem !important; line-height: 1rem !important; margin-left: 0.5rem !important; }
.videosSection__grid .videoItem .thumbnail__link { z-index: 10 !important; height: 2rem; top: 0.35rem; }
.videosSection__grid .videoItem .thumbnail__link::after { 
    bottom: 0.75rem !important; width: 1rem !important; height: 1rem !important; right: 100% !important; 
}   
.videosSection__grid--3 { grid-template-rows: 1rem 1rem 1rem !important; }   
.videosSection__grid--3 > :nth-child(2) { grid-row: 1/4 !important; }
.videoItem__title span { padding: 0 0.75rem 0 !important; } 
.videosSection__grid--1 { padding-bottom: 1rem; margin-bottom: -0.1rem; }
.videosSection__grid--3 { margin: 0 0 -0.5rem; }    
.page__moreButton { display: none; }
}     
@media screen and (min-width: 1151px) {
.page__section--wide .videosSection__grid--3 > :nth-child(2) { grid-column: 2/4 !important; }
.page__section--wide .videosSection__grid--wrapper { flex-direction: row !important; }
.page__section--wide .videosSection__grid--wrapper > * { width: 20rem !important; }  
}    
}    

.page[data-group="worldPage"] .videosSection__grid--3 .videoItem[data-index="1"] { visibility: hidden; }
.page[data-group="worldPage"] .videosSection__grid--3 { margin: 0 0 -1rem !important; }   
}

/* -------------------------------------------------- */

if cmlHideTopFilms == full {
    .subpage-filmsPage { #filmsPopularFilms, #playFilmsPage { display: none; } }
    .subpage-serialsPage #serialsPopularSerials { display: none; }
}

}


@-moz-document domain("filmweb.pl") {  
    
/* --- FW Film/Serial/Game Page --- */
    
#cmlPlaceholder { display: none; }     
 
.page[data-group="filmPage"] {    
    
.page__section .page__header { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.reviewsSection, .descriptionSection, .filmOtherInfoSection { padding-bottom: 0rem; padding-top: 0rem; }  
.forumSection__header { margin-top: 1rem; }  
.filmMainRelatedsSection { margin-left: 1rem; }    
.filmMainRelatedsSection .page__moreButton { margin-left: -1rem; margin-right: -1rem; } 
.filmEmptySection { margin-top: 0rem; }
.forumSection.page__section--gray.filmEmptySection { margin-top: -0.5rem; }
.filmEmptySection .forumSection__addFirst { padding: 0.5rem 0rem 1rem; }    
.reviewsSection, .gallerySection, .videosSection, .filmCastSection, .filmTopRolesSection, .filmCharactersSection, .descriptionSection, .filmOtherInfoSection, .curiositiesSection, .filmMainRelatedsSection, .filmCriticsVotesSection, .userReviewSection, .filmTakePartSection, .newsSection, .forumSection, .page__wrapper--grid [data-group="g13"].page__group, .filmSeasonsAndEpisodesSection, .filmEmptySection__wrapper, .forumSection.page__section--gray .page__container { 
        margin-bottom: 0.25rem; margin-top: 0.25rem; 
}  
@media screen and (max-width: 1151px) {    
.reviewsSection, .gallerySection, .videosSection, .filmCastSection, .filmTopRolesSection, .filmCharactersSection, .descriptionSection, .filmOtherInfoSection, .curiositiesSection, .filmMainRelatedsSection, .userReviewSection, .filmTakePartSection, .newsSection, .forumSection, .page__wrapper--grid [data-group="g13"].page__group, .filmSeasonsAndEpisodesSection, .filmEmptySection__wrapper, .forumSection.page__section--gray .page__container { 
            max-width: 728px; left: calc( (100% - 728px) / 2 ); overflow: hidden; 
}
.filmMainRelatedsSection { margin-left: 0; }
}     


if cmlEmbedHeaders {    
.page__subtitle.page__subtitle--tiny a:hover, .page__subtitle.page__subtitle--tiny h2 a:hover { background-color: transparent; }    
.page__section--border::after, .page__section--border::before { border: none; }   
.reviewsSection, .gallerySection, .videosSection, .filmCastSection, .filmTopRolesSection, .filmCharactersSection, .descriptionSection, .filmOtherInfoSection, .curiositiesSection, .filmMainRelatedsSection, .filmCriticsVotesSection, .userReviewSection, .filmTakePartSection, .newsSection, .forumSection, .page__wrapper--grid [data-group="g13"].page__group, .filmSeasonsAndEpisodesSection, .filmEmptySection__wrapper, .forumSection.page__section--gray .page__container { 
    border-radius: 10px; margin-bottom: 0.5rem; margin-top: 0rem; background-color: rgba(64,64,64,0.15); 
} 
.page__section--dark { background-color: rgba(0,0,0,1.0); margin-bottom: 0.5rem; }  
.page__section--dark .videosSection { margin-bottom: 0rem; } 
}


if cmlHideEpisodes == full { .filmSeasonsAndEpisodesSection { display: none; }  }
if cmlHideReviews == full { .reviewsSection { display: none; } }
if cmlHideGallery == full { .gallerySection { display: none; } }
if cmlHideVideos == full { .videosSection { display: none; } }
if cmlHideCast == full { .filmCastSection { display: none; } }
if cmlHideTopRoles == full { .filmTopRolesSection { display: none; } }
if cmlHideNews == full { .newsSection { display: none; } }
if cmlHideTakePart == full { .filmTakePartSection { display: none; } }
if cmlHideForum == full { .forumSection { display: none; } } 
if cmlHideCharacters == full { .filmCharactersSection { display: none; } }
if cmlHideDescription == full { .descriptionSection { display: none; } }
if cmlHideInfo == full { .filmOtherInfoSection { display: none; } }
if cmlHideCuriosities == full { .curiositiesSection { display: none; } }
if cmlHideRelated == full { .filmMainRelatedsSection { display: none; } }
if cmlHideCriticsVotes == full { .filmCriticsVotesSection { display: none; } }
if cmlHideUserReviews == full { .userReviewSection { display: none; } }
if cmlHideContrib == full { .page__wrapper--grid [data-group="g13"].page__group { display: none; } }


if cmlHideReviews == partial { .reviewsSection .reviewsSection__list { display: none; } }
if cmlHideGallery == partial { .gallerySection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
if cmlHideVideos == partial { .videosSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
if cmlHideCast == partial { 
    .filmCastSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } 
    .filmCastSection .page__navigation { display: none; }
}
if cmlHideTopRoles == partial { 
    .filmTopRolesSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } 
    .filmTopRolesSection .page__navigation { display: none; }
}
if cmlHideCharacters == partial { .filmCharactersSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
if cmlHideDescription == partial { .descriptionSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
if cmlHideInfo == partial { .filmOtherInfoSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
if cmlHideCuriosities == partial { .curiositiesSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
if cmlHideRelated == partial { .filmMainRelatedsSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
if cmlHideCriticsVotes == partial { .filmCriticsVotesSection .crs { display: none; } }
if cmlHideUserReviews == partial { .userReviewSection .flatReview { display: none; } }
if cmlHideTakePart == partial { .filmTakePartSection .page__container--paddingless, .filmTakePartSection .polaroid--horizontal { display: none; } }
if cmlHideNews == partial { .newsSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
if cmlHideForum == partial { .forumSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } } 
if cmlHideEpisodes == partial { 
    .filmSeasonsAndEpisodesSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } 
    .filmSeasonsAndEpisodesSection .page__navigation { display: none; } 
}
if cmlHideContrib == partial { .page__wrapper--grid [data-group="g13"].page__group div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
    

if cmlHoverShow {
.gallerySection:hover div:not(:nth-of-type(1)), .filmCastSection:hover div:not(:nth-of-type(1)), .filmTopRolesSection:hover div:not(:nth-of-type(1)), .filmCharactersSection:hover div:not(:nth-of-type(1)), .filmSeasonsAndEpisodesSection:hover div:not(:nth-of-type(1)), .videosSection:hover div:not(:nth-of-type(1)), .descriptionSection:hover div:not(:nth-of-type(1)), .filmOtherInfoSection:hover div:not(:nth-of-type(1)), .curiositiesSection:hover div:not(:nth-of-type(1)), .filmMainRelatedsSection:hover div:not(:nth-of-type(1)), .newsSection:hover div:not(:nth-of-type(1)), .forumSection:hover div:not(:nth-of-type(1)), .page__wrapper--grid [data-group="g13"].page__group:hover div:not(:nth-of-type(1)) { 
        height: auto; opacity: 1; 
}
.filmCriticsVotesSection:hover .crs, .filmSeasonsAndEpisodesSection:hover .page__navigation, .filmCastSection:hover .page__navigation, .filmTopRolesSection:hover .page__navigation, .userReviewSection:hover .flatReview, .reviewsSection:hover .reviewsSection__list, .filmTakePartSection:hover .page__container--paddingless { 
    display: inherit; 
}
.filmTakePartSection:hover .polaroid--horizontal { display: flex; }
}


if cmlSmallerSections {        
    @media screen and (min-width: 1151px) { 
        .page__section--dark .videosSection, .filmCastSection, .filmTopRolesSection, .filmCharactersSection { 
            max-width: 1056px; left: calc( (100% - 1056px) / 2 ) ; overflow: hidden;
        }
    }
    @media screen and (max-width: 1151px) {    
        .page__section--dark .videosSection, .filmCastSection, .filmTopRolesSection, .filmCharactersSection { 
            max-width: 728px; left: calc( (100% - 728px) / 2 ); overflow: hidden; 
        }
    }  
} 


}
    
}


@-moz-document domain("filmweb.pl") {    

/* --- FW Person Page --- */
    
#cmlPlaceholder { display: none; } 
    
.page[data-group="personPage"] { 
    
.gallerySection, .latestTrailerSection, .personTopRolesSection, .personFilmographySection, .personPhotosByYearsSection, .personMaritalStatusSection, .curiositiesSection, .usualPartnersSection, .quizSection, .newsSection, .forumSection, .page__wrapper--grid [data-group="g11"].page__group, .personKnownForSection, .bornTodaySection {
    .page__header { padding-top: 0.5rem; padding-bottom: 0.25rem; }
    margin-top: 0.5rem !important; margin-bottom: 0.25rem !important;
    .filmographyCounterUser__inner { padding-top: 0.75rem; }
}   
.page__section { padding-bottom: 0.25rem; }   
.forumSection__header { margin-top: 1rem; }   
.personFilmographySection__navButton { top: -32px; } 
.personFilmographySection .page__navigation { padding-bottom: 0rem; }
.gallerySection .gallery__photos-list__container, .gallerySection .gallery__seasonName { padding-bottom: 0.5rem; }    
@media screen and (max-width: 1151px) {    
    .gallerySection, .latestTrailerSection, .personTopRolesSection, .personFilmographySection, .personPhotosByYearsSection, .personMaritalStatusSection, .curiositiesSection, .usualPartnersSection, .quizSection, .newsSection, .forumSection, .page__wrapper--grid [data-group="g11"].page__group, .personKnownForSection, .bornTodaySection { 
        max-width: 728px; left: calc( (100% - 728px) / 2 ); overflow: hidden; 
    }
    .gallerySection { margin-left: calc( (100% - 728px) / 2 ); }
}      


if cmlEmbedHeaders {  
.page__subtitle.page__subtitle--tiny a:hover, .page__subtitle.page__subtitle--tiny h2 a:hover { background-color: transparent; }    
.page__section--border::after, .page__section--border::before { border: none; }       
.gallerySection, .latestTrailerSection, .personTopRolesSection, .personFilmographySection, .personPhotosByYearsSection, .personMaritalStatusSection, .curiositiesSection, .usualPartnersSection, .quizSection, .newsSection, .forumSection, .page__wrapper--grid [data-group="g11"].page__group, .personKnownForSection, .bornTodaySection, .filmEmptySection__wrapper, .forumSection.page__section--gray .page__container { 
    border-radius: 10px; margin-bottom: 0.5rem; margin-top: 0rem; background-color: rgba(64,64,64,0.15); 
} 
.page__section--dark { background-color: rgba(0,0,0,1.0); }
}


if cmlHideGallery == full { .gallerySection { display: none; } }
if cmlHideVideos == full { .latestTrailerSection { display: none; } }
if cmlHideTopRoles == full { .personTopRolesSection { display: none; } }
if cmlHideFilmography == full { .personFilmographySection { display: none; } }
if cmlHideInfo == full { .personMaritalStatusSection { display: none; } }
if cmlHideCuriosities == full { .curiositiesSection { display: none; } }
if cmlHideNews == full { .newsSection { display: none; } }
if cmlHideTakePart == full { .quizSection { display: none; } }
if cmlHideForum == full { .forumSection { display: none; } } 
if cmlHidePhotosYears == full { .personPhotosByYearsSection { display: none; } }
if cmlHideBornToday == full { .bornTodaySection { display: none; } }
if cmlHideUsualPartners == full { .usualPartnersSection { display: none; } }
if cmlHideKnownFor == full { .personKnownForSection { display: none; } }
if cmlHideContrib == full { .page__wrapper--grid [data-group="g11"].page__group { display: none; } }

    
if cmlHideGallery == partial { .gallerySection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
if cmlHideVideos == partial { 
.latestTrailerSection .latestTrailerSection__video { display:none; } 
.videoPlayer.isPinned .videoPlayer__container { display:none; } 
}
if cmlHideTopRoles == partial { .personTopRolesSection .page__navigation, .personTopRolesSection .page__navContent, .personTopRolesSection .page__moreButton { display: none; } }
if cmlHideFilmography == partial { .personFilmographySection .navList, .personFilmographySection .page__navContent { display: none; } }
if cmlHideInfo == partial { .personMaritalStatusSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
if cmlHideCuriosities == partial { .curiositiesSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
if cmlHideTakePart == partial { .quizSection .page__container--paddingless, .quizSection .polaroid--horizontal { display: none; } }
if cmlHideNews == partial { .newsSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
if cmlHideForum == partial { .forumSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } } 
if cmlHideContrib == partial { .page__wrapper--grid [data-group="g11"].page__group div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
if cmlHideKnownFor == partial { .personKnownForSection .page__container--paddingless, .personKnownForSection .page__moreButton { display: none; } }
if cmlHideBornToday == partial { .bornTodaySection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
if cmlHidePhotosYears == partial { .personPhotosByYearsSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
if cmlHideUsualPartners == partial { .usualPartnersSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }

if cmlHoverShow {
.gallerySection:hover div:not(:nth-of-type(1)), .personPhotosByYearsSection:hover div:not(:nth-of-type(1)), .personMaritalStatusSection:hover div:not(:nth-of-type(1)), .curiositiesSection:hover div:not(:nth-of-type(1)), .usualPartnersSection:hover div:not(:nth-of-type(1)), .newsSection:hover div:not(:nth-of-type(1)), .forumSection:hover div:not(:nth-of-type(1)), .page__wrapper--grid [data-group="g11"].page__group:hover div:not(:nth-of-type(1)), .bornTodaySection:hover div:not(:nth-of-type(1)) { 
        height: auto; opacity: 1; 
} 
.personTopRolesSection:hover .page__navigation, .personFilmographySection:hover .navList, .personFilmographySection:hover .page__navContent, .personTopRolesSection:hover .page__navContent, .quizSection:hover .page__container--paddingless, .personKnownForSection:hover .page__container--paddingless, .latestTrailerSection:hover .latestTrailerSection__video { 
    display: inherit; 
}
.quizSection:hover .polaroid--horizontal, .personKnownForSection:hover .page__moreButton, .personTopRolesSection:hover .page__moreButton { 
    display: flex; 
}
}    

}


if cmlSmallerSections {        
    @media screen and (min-width: 1151px) {  
        .personTopRolesSection { 
            max-width: 1056px; left: calc( (100% - 1056px) / 2 ); overflow: hidden; 
        }
    }
    @media screen and (max-width: 1151px) {    
        .personTopRolesSection { 
            max-width: 728px; left: calc( (100% - 728px) / 2 ); overflow: hidden; 
        }
    } 
    .noPersonAwardsData  {
        .personTopRolesSection { 
            max-width: 704px !important; left: calc( (100% - 704px) / 2 ) !important; overflow: hidden; 
        }    
    }     
} 


}


@-moz-document domain("filmweb.pl") {    

/* --- FW World Page --- */
    
#cmlPlaceholder { display: none; } 

.page[data-group="worldPage"] { 
    
.gallerySection, .videosSection, .quizSection, .newsSection, .forumSection, .worldCharactersSection, .rankingSection, .worldLastSection, .worldAllProductionsSection, .worldPopularSection {
    .page__header { padding-top: 0.5rem; padding-bottom: 0.25rem; }
    margin-top: 0.5rem !important; margin-bottom: 0.25rem !important;
    .filmographyCounterUser__inner { padding-top: 0.5rem; }
}   
.page__section { padding-bottom: 0.25rem; }   
.forumSection__header { margin-top: 1rem; } 
.gallerySection .gallery__photos-list__container, .gallerySection .gallery__seasonName { padding-bottom: 0.5rem; }    
.videosSection__grid { margin: 0 0 0.25rem; }        
.worldLastSection__header { margin-bottom: 0rem; }    
.worldLastSection { padding-top: 0rem; }    
.worldLastSection__navButton { margin-top: -0.25rem; }     
.worldCharactersSection .page__header { padding-top: 0.25rem; }    
.worldPopularSection .page__title, .worldPopularSection .page__title h2 { font-size: 1.5rem; line-height: 1.5rem; }    
@media screen and (max-width: 1151px) {    
    .gallerySection, .quizSection, .newsSection, .forumSection, .worldCharactersSection, .rankingSection, .worldLastSection, .worldAllProductionsSection, .worldPopularSection { 
        max-width: 728px; left: calc( (100% - 728px) / 2 ); overflow: hidden; 
    }
    .gallerySection, .videosSection { margin-left: calc( (100% - 728px) / 2 ); }
}      


if cmlEmbedHeaders {      
.page__subtitle.page__subtitle--tiny a:hover, .page__subtitle.page__subtitle--tiny h2 a:hover { background-color: transparent; }    
.page__section--border::after, .page__section--border::before { border: none; }       
.gallerySection, .videosSection, .quizSection, .newsSection, .forumSection, .worldCharactersSection, .rankingSection, .worldLastSection, .worldAllProductionsSection, .worldPopularSection { 
    border-radius: 10px; margin-bottom: 0.5rem; margin-top: 0rem; background-color: rgba(64,64,64,0.15); 
} 
.page__section--dark { background-color: rgba(0,0,0,1.0); }
}


if cmlHideGallery == full { .gallerySection { display: none; } }
if cmlHideVideos == full { .videosSection { display: none; } }
if cmlHideTopRoles == full { .rankingSection { display: none; } }
if cmlHideNews == full { .newsSection { display: none; } }
if cmlHideTakePart == full { .quizSection { display: none; } }
if cmlHideForum == full { .forumSection { display: none; } } 
if cmlHideCharacters == full { .worldCharactersSection { display: none; } }
if cmlHideWorldTitles == full { .worldLastSection { display: none; } }
if cmlHideWorldPopular == full { .worldAllProductionsSection, .worldPopularSection { display: none; } }


if cmlHideGallery == partial { .gallerySection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
if cmlHideVideos == partial { .videosSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
if cmlHideTakePart == partial { .quizSection .page__container--paddingless, .quizSection .polaroid--horizontal { display: none; } }
if cmlHideNews == partial { .newsSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
if cmlHideForum == partial { .forumSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } } 
if cmlHideCharacters == partial { .worldCharactersSection .page__navigation, .worldCharactersSection .page__navContent { display: none; } }
if cmlHideTopRoles == partial { .rankingSection .page__navigation, .rankingSection .rankingSection__container { display: none; } }
if cmlHideWorldTitles == partial { .worldLastSection .worldLastSection__container, .worldLastSection .page__moreButton { display: none; } }
if cmlHideWorldPopular == partial { .worldAllProductionsSection .page__navigation, .worldAllProductionsSection .worldAllProductionsSection__container, .worldPopularSection .worldPopular__container, .worldPopularSection .page__navigation { display: none; } }


if cmlHoverShow {
.gallerySection:hover div:not(:nth-of-type(1)), .videosSection:hover div:not(:nth-of-type(1)), .newsSection:hover div:not(:nth-of-type(1)), .forumSection:hover div:not(:nth-of-type(1)) { 
    height: auto; opacity: 1; 
}
.quizSection:hover .page__container--paddingless, .worldCharactersSection:hover .page__navigation, .worldCharactersSection:hover .page__navContent, .rankingSection:hover .page__navigation, .rankingSection:hover .rankingSection__container, .worldLastSection:hover .worldLastSection__container, .worldAllProductionsSection:hover .page__navigation, .worldAllProductionsSection:hover .worldAllProductionsSection__container, .worldPopularSection:hover .worldPopular__container, .worldPopularSection:hover .page__navigation { 
    display: inherit; 
}
.quizSection:hover .polaroid--horizontal, .worldLastSection:hover .page__moreButton { 
    display: flex; 
}
}


if cmlSmallerSections {        
    @media screen and (min-width: 1151px) {  
        .rankingSection, .worldAllProductionsSection, .worldPopularSection { 
            max-width: 1056px; margin-left: calc( (100% - 1056px) / 2 ); overflow: hidden; 
        }
    }
    @media screen and (max-width: 1151px) {    
        .worldAllProductionsSection, .worldCharactersSection, .videosSection { 
            max-width: 728px; margin-left: calc( (100% - 728px) / 2 ); overflow: hidden; 
        }
    }    
} 


}

}


@-moz-document domain("filmweb.pl") {    

/* --- FW Character Page --- */
    
#cmlPlaceholder { display: none; } 
    
.page[data-group="characterPage"] { 
    
.gallerySection, .quizSection, .characterPerformerSection, .rankingSection, .videosSection, .characterRelationSection, .usualPartnersSection, .characterFilmographySection, .newsSection, .forumSection {
    .page__header { padding-top: 0.5rem; padding-bottom: 0.25rem; }
    margin-top: 0.5rem !important; margin-bottom: 0.25rem !important;
}   
.page__section { padding-bottom: 0.25rem; }   
.forumSection__header { margin-top: 1rem; }   
.gallerySection .gallery__photos-list__container, .gallerySection .gallery__seasonName { padding-bottom: 0.5rem; }    
.videosSection--spacer { padding-bottom: 0rem; }    
.videosSection__grid { margin-bottom: 0.25rem; } 
.characterFilmographySection { padding-top: 0rem; }    
.characterFilmographySection__header .slumpdown { margin-top: 0.25rem; } 
.characterFilmographySection__navButton { margin-top: 0.5rem; }    
@media screen and (max-width: 1151px) {    
    .gallerySection, .quizSection, .characterPerformerSection, .rankingSection, .videosSection, .characterRelationSection, .usualPartnersSection, .characterFilmographySection, .newsSection, .forumSection { 
        max-width: 728px; left: calc( (100% - 728px) / 2 ); overflow: hidden; 
    }
    .gallerySection { margin-left: calc( (100% - 728px) / 2 ); }       
}      


if cmlEmbedHeaders {     
.page__subtitle.page__subtitle--tiny a:hover, .page__subtitle.page__subtitle--tiny h2 a:hover { background-color: transparent; }    
.page__section--border::after, .page__section--border::before { border: none; }       
.gallerySection, .quizSection, .characterPerformerSection, .rankingSection, .videosSection, .characterRelationSection, .usualPartnersSection, .characterFilmographySection, .newsSection, .forumSection { 
    border-radius: 10px; margin-bottom: 0.5rem; margin-top: 0rem; background-color: rgba(64,64,64,0.15);
} 
/* .page__section--dark .videosSection { background-color: rgba(0,0,0,1.0); } */
}


if cmlHideGallery == full { .gallerySection { display: none; } }
if cmlHideVideos == full { .videosSection { display: none; } }
if cmlHideCast == full { .characterPerformerSection { display: none; } }
if cmlHideTopRoles == full { .rankingSection { display: none; } }
if cmlHideNews == full { .newsSection { display: none; } }
if cmlHideTakePart == full { .quizSection { display: none; } }
if cmlHideCharacters == full { .characterRelationSection { display: none; } }
if cmlHideFilmography == full { .characterFilmographySection { display: none; } }
if cmlHideForum == full { .forumSection { display: none; } } 


if cmlHideGallery == partial { .gallerySection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
if cmlHideTakePart == partial { .quizSection .page__container--paddingless, .quizSection .polaroid--horizontal { display: none; } }
if cmlHideCast == partial { .characterPerformerSection .page__navigation, .characterPerformerSection .page__navContent { display: none; } }
if cmlHideTopRoles == partial { .rankingSection .page__navigation, .rankingSection .rankingSection__container { display: none; } }
if cmlHideVideos == partial { .videosSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
if cmlHideCharacters == partial { .characterRelationSection .page__container--paddingless, .characterRelationSection .characterRelated { display: none; } }
if cmlHideUsualPartners { .usualPartnersSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
if cmlHideFilmography == partial { .characterFilmographySection .page__navigation, .characterFilmographySection .characterFilmographySection__container { display: none; } }
if cmlHideNews == partial { .newsSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } }
if cmlHideForum == partial { .forumSection div:not(:nth-of-type(1)) { overflow: hidden; height: 0; opacity: 0; } } 


if cmlHoverShow {
.gallerySection:hover div:not(:nth-of-type(1)), .videosSection:hover div:not(:nth-of-type(1)), .usualPartnersSection:hover div:not(:nth-of-type(1)), .newsSection:hover div:not(:nth-of-type(1)), .forumSection:hover div:not(:nth-of-type(1)) { 
    height: auto; opacity: 1; 
}
.quizSection:hover .page__container--paddingless, .characterPerformerSection:hover .page__navigation, .characterPerformerSection:hover .page__navContent, .rankingSection:hover .page__navigation, .rankingSection:hover .rankingSection__container, .characterRelationSection:hover .page__container--paddingless, .characterFilmographySection:hover .page__navigation, .characterFilmographySection:hover .characterFilmographySection__container { 
    display: inherit; 
}
.quizSection:hover .polaroid--horizontal, .characterRelationSection:hover .characterRelated { 
    display: flex; 
}
}


if cmlSmallerSections {        
    @media screen and (min-width: 1151px) {  
        .rankingSection, .page__section--dark .videosSection { 
            max-width: 1056px; margin-left: calc( (100% - 1056px) / 2 ); overflow: hidden; 
        }
    }  
    @media screen and (max-width: 1151px) {  
        .page__wrapper--grid [data-group="g9"].page__group .videosSection { 
            max-width: 728px; margin-left: calc( (100% - 728px) / 2 ); overflow: hidden; 
        }
    }    
} 


}

}