html, body {
  width: 100%;
  height: 100%;
}

body * {
  box-sizing: border-box;
}

@font-face {
  font-family: BergenText;
  font-weight: normal;
  src: url("/fonts/bergen-text/BergenText-Regular.otf") format("opentype");
}

@font-face {
  font-family: RobotoMono;
  font-weight: normal;
  src: url("/fonts/roboto-mono/RobotoMono-VariableFont_wght.ttf") format("opentype");
}

@font-face {
  font-family: HankenGrotesk;
  font-weight: normal;
  src: url("/fonts/hanken-grotesk/HankenGrotesk-VariableFont_wght.ttf") format("opentype");
}

body {
  background-color: #000000;
  font-family: 'HankenGrotesk', sans-serif;
  margin: 0;
  padding: 0;
  color: #000000;
}

:root {
  --link: #8ac5ff;
  --link-hover: #ff00ff;

  --action: #ffd08a;
  --action-hover: #9bff63;
}

.body.mobile {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  /* overflow-y: hidden; */
}

.mobileOnly {
  display: none;
}
.desktop {
  display: block;
}
.desktopFlex {
  display: flex;
}

@media screen and (max-width: 900px) {
  .mobileOnly {
    display: block;
  }
  .desktopOnly {
    display: none;
  }
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scrollable {
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

.scrollable::-webkit-scrollbar {
  width: 8px; /* for vertical scroll */
  height: 6px; /* for horizontal scroll */
  background-color: #000000;
}

.scrollable::-webkit-scrollbar-thumb {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  border-radius: 6px;
  background-color: #555;
}

.scrollable::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  border-radius: 6px;
  background-color: #F5F5F5;
}

.scrollable.darkerScrollbar::-webkit-scrollbar-track {
  background-color: #000000;
}

.movies {
  width: 100%;
  min-height: 100%;
  margin: auto;
  position: relative;
  display: flex;
  align-content: flex-start;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  color: #ffffff;
}

a, a:visited {
  color: #ffffff;
  text-decoration: none;
}

.linksContainer {
  width: 100%;
  height: 160px;
  margin-top: 0.5%;
  position: relative;
  overflow: hidden;
  z-index: 30;
}

.linksOverlay {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #000000;
  opacity: 0.85;
}

.links {
  width: 100%;
  padding-bottom: 5px;
  color: #dedede;
  font-size: 12px;
  position: absolute;
}

.links .headerSection {
  display: flex;
  line-height: 22px;
  margin-bottom: 2px;
}

.links .headerSection:not(.introContainer) {
  max-height: 30px;
  overflow: hidden;
}

.links .headerSection:not(.introContainer).expanded {
  max-height: 100%;
  margin-bottom: 15px;
}

.links .headerSection:not(.expanded) .headerSectionLinks:hover,
.links .headerSection:not(.introContainer).expanded .headerSectionLinksList div:hover {
  background-color: #4c4c4c;
}

.about {
  color: #ffffff;
}

.headerSection .about {
  white-space: nowrap;
}

.headerSection .about a {
  font-weight: bold;
}

.projectSections {
  height: 100%;
  scroll-snap-type: y mandatory;
}

.projectSection {
  min-width: 500px;
  max-width: 500px;
  height: 100%;
  display: flex;
  position: relative;
  flex-direction: row;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  background-color: #000000;
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
  scroll-snap-align: start;
  color: #ffffff;
}

.projectSections.bicmistakes .projectSection {
  background-color: #ffffff;
}

@media screen and (min-width: 600px) {
  .projectSections.kinou .projectSection {
    min-width: 1000px;
    max-width: 1000px;
  }
}

.projectSection .mainInternal {
  height: 100%;
  padding: 0;
}

.projectSection .sectionTitle {
  text-align: center;
}

.projectSection .projectInfo {
  width: 100%;
  height: 160px;
  margin-top: 35%;
}

.projectSection .projectIndex {
  width: 100%;
  text-align: center;
  font-size: 26px;
  line-height: 50px;
  text-shadow: 2px 2px #000000;
}

.projectSection .projectName {
  padding-left: 0.5%;
  padding-right: 0.5%;
  text-align: center;
  font-size: 36px;
  font-weight: bold;
}

.projectSection .enterButton {
  width: 34%;
  height: 7%;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20%;
  margin: auto;
  border: 9px solid #ffffff;
  color: #ffffff;
  font-size: 28px;
  text-align: center;
  box-shadow: 8px 8px grey;
  cursor: pointer;
}

.projectSection .enterButton .buttonOverlay {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #636363;
  opacity: 0.4;
}

.projectSection .enterButton:hover .buttonOverlay {
  background-color: #232323;
}

.projectSection .enterButton .buttonLabel {
  height: 34px;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  text-shadow: 4px 4px #000000;
}

.projectSection .aboutButton {
  width: 100%;
  height: 72px;
  line-height: 36px;
  position: absolute;
  bottom: 3%;
  color: #ffffff;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
}

.projectSection .aboutButton .buttonLabel {
  font-weight: bold;
}

.projectSection .aboutButton .arrow {
  width: 44px;
  height: 44px;
  display: inline-block;
  transform: rotate(90deg);
  font-size: 55px;
  text-align: center;
}

@media screen and (max-width: 600px) {
  .projectSection {
    min-width: 100%;
    max-width: 100%;
  }
}

body.mobile.aboutPage {
  background-image: url("/images/about_bg_kinou_bw.jpg");
  background-position: 15%;
  background-size: cover;
  background-repeat: no-repeat;
}

body.mobile .about {
  display: none;
}

body.mobile .about a {
  color: #ffffff;
  text-decoration: underline;
  font-style: italic;
}

.headerSection .about .color1,
.headerSection .about .color2 {
  font-weight: bold;
}

body.mobile .about .color1 {
  /* color: var(--link); */
  background-color: #5f5f5f;
  padding-left: 3px;
  padding-right: 3px;
}

body.mobile .about .color2 {
  /* color: var(--action); */
  background-color: #868686;
  padding-left: 3px;
  padding-right: 3px;
}

.menu a {
  color: #ffffff;
}

.menu a.selected {
  font-weight: bold;
  font-style: italic;
  color: coral;
}

body.mobile .about a:hover,
.headerSection .about a:hover,
.menu a:hover {
  text-decoration: underline;
}

.menu a:hover {
  color: var(--link-hover);
}

@media screen and (min-width: 900px) {
  .key {
    height: 350px;
  }

  body.mobile .about > div,
  .headerSection .about > div {
    display: inline;
    margin-right: 3px;
  }

  .frameContainer {
    min-height: 345px;
    margin-bottom: 20px;
  }
}

.links a:hover {
  text-decoration: underline;
}

.links .homepageLink {
  padding: 0;
  text-indent: 0;
}

.links .label {
  min-width: 8%;
  font-weight: bold;
}

.links .headerSectionLinks {
  position: relative;
  flex: 1;
  transition: height 0.3s ease-in-out;
}

.links .headerSectionLinksList {
  max-height: 800px;
  display: flex;
  /* flex-direction: column; */
  flex-wrap: wrap;
  overflow-x: hidden;
  overflow-y: hidden;
}

.links .label,
.links .headerSectionLinksList,
.headerSection .about {
  padding: 4px 0;
  z-index: 10;
}

.links .headerSection:not(.expanded) .headerSectionLinks {
  cursor: s-resize;
}

.links .headerSection.expanded .headerSectionLinks {
  cursor: n-resize;
}

.links .headerSection.expanded .headerSectionLinksList {
  max-height: 800px;
  overflow-y: auto;
}

.links .headerSection.expanded .headerSectionLinks:hover {
}

.links .headerSectionLinks .headerSectionLinksList div {
  min-width: 16.6%;
  max-width: 16.6%;
  padding: 2px;
  z-index: 5;
}

.links .headerSectionLinks .headerSectionLinksList div a {
  color: #ffffff;
  z-index: 10;
}

.links .headerSectionLinks .headerSectionLinksList div a:hover {
  color: var(--link-hover);
}

.links .headerSection .overlay {
  min-width: 100%;
  max-width: 100%;
  height: 100%;
  position: absolute;
  background-color: gray;
  opacity: 0;
}

.links .headerSection.expanded .overlay {
  opacity: 0.4;
}

.headerSection.expanded .more,
.headerSection:not(.expanded) .less {
  display: none;
}

.headerSection:not(.expanded) .more,
.headerSection.expanded .less {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.links span {
  color: #ffffff;
}

.mainContainer {
  width: 100%;
}

.allMoviesCat {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

#loadMore {
  width: 100%;
  text-align: center;
  font-size: 22px;
  margin-bottom: 30px;
}

#loadMore:hover {
  text-decoration: underline;
}

.movies.moviesGalleryList .moviesRows {
  width: 100%;
  margin-bottom: 50px;
  display: flex;
  align-content: flex-start;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
}

.moviesCat:not(:last-of-type) {
  /* border-bottom: 30px dashed grey; */
}

.moviesCat:last-of-type {
  margin-bottom: 0;
}

@media screen and (max-width: 900px) {
  .linksContainer {
    display: none;
  }

  .moviesCat {
    margin-bottom: 0;
  }

  .allMoviesCat {
    position: relative;
    top: 0;
    z-index: 10;
  }
}

.key {
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.key > div:first-of-type {
  font-size: 22px;
  height: 62px;
  line-height: 62px;
  position: relative;
}

.key > div:first-of-type div {
}

.key.random,
.key > div:last-of-type {
  height: 60px;
  line-height: 60px;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 32px;
  overflow: hidden;
  text-overflow: ellipsis;
  /* white-space: nowrap; */
}

.key > div:last-of-type {
}

.frameContainer {
  width: 31%;
  position: relative;
}

.frameContainer.keyContainer {
  margin-bottom: 0;
  color: #ffffff;
}

.frameContainer.keyContainer a {
  font-size: 20px;
  color: var(--link);
  font-style: italic;
}

.frameContainer .key {
  justify-content: center;
}

.frameContainer .key a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.movie {
  height: 266px;
  position: relative;
  background-size: contain;
  transition: height 0.2s ease-in-out;
}

.movie .infoContainer {
  height: 100%;
  overflow: hidden;
}

.durationScale {
  display: none;
}

.movie .frame {
  width: 100%;
  height: 100%;
  position: absolute;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.movie .titleContainer {
  height: auto;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 21px;
  line-height: 30px;
}

.movie .titleContainer .otherTitle {
  display: none;
}

.movie .titleContainer .title,
.movie .titleContainer .rankIndex {
  color: #ffffff;
  text-shadow: 2px 2px #000000;
}

.movie .titleContainer .titleNotes {
  font-size: 12px;
  font-style: italic;
}

.movie .titleContainer .originalTitle {
  display: none;
}

.movie .titleContainer .internationalTitle {
  margin-top: 6px;
  font-size: 15px;
  line-height: 18px;
  color: #ffffff;
  font-style: italic;
}

.movie .rankIndex {
  opacity: 0.8;
}

.movies .movie .titleContainer {
  position: absolute;
  bottom: 10px;
}

.movie .infoSummary {
  position: absolute;
  display: none;
}

.movie .title {
  line-height: 30px;
}

@media screen and (min-width: 1200px) and (max-width: 1600px) {
  .movie {
    height: 280px;
  }
}

@media screen and (min-width: 900px) {
  .movieInfo .info {
    padding-top: 6px;
  }

  .movies .mainContainer {
    width: 1020px;
    position: absolute;
    top: 210px;
  }

  .movies .allMoviesCat {
    background-color: #000000;
  }

  .movies .key > div:first-of-type div {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .overlay {
    display: none;
  }
}

@media screen and (max-width: 1500px) {
  .links {
    font-size: 11px;
  }

  .movie {
    height: 265px;
  }

  .movie .title {
    font-size: 26px;
  }

  .movieInfo {
    font-size: 12px;
  }
}

@media screen and (min-width: 900px) and (max-width: 1500px) {
  .movieInfo {
    font-size: 13px;
  }
}

.movieInfo {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  color: #ffffff;
}

.animation .movieInfo {
  height: 150px;
}

.movieInfo span, .movieInfo a {
  color: #ffffff;
}

.movieInfo > div {
  line-height: 18px;
  padding-top: 3px;
  padding-bottom: 3px;
}

.movieInfo .label {
  color: #adadad;
  margin-right: 5px;
}

.year a,
.directors a {
  color: #ffffff;
}

.info {
  overflow: hidden;
  display: flex;
  flex-direction: row;
}

.info > div {
  border-right: 1px solid #464646;
  padding-left: 5px;
  padding-right: 5px;
  text-align: left;
}

.info > div:first-of-type {
  padding-left: 0;
}

.info span {
  margin-right: 3px;
}

.info .when {
  margin-right: 6px;
}

.info .otherTitle {
  flex: 1;
  display: inline;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.info .otherTitle > * {
  height: 20px;
  line-height: 20px;
}

.info .where {
  padding-left: 5px;
}

.info .flagContainer,
.info .year,
.info .duration {
  height: 20px;
}

.info > div:last-of-type,
.info .otherTitle,
.info .directors {
  border-right: 0;
}

.info .category {
  min-width: 44px;
  max-width: 44px;
  padding: 0;
  text-align: right;
}

.info .category,
.info .content {
  font-weight: bold;
}

.info .content.E {
  color: #ffb500;
}

.info .content.H {
  color: #f12103;
}

.info .flagContainer {
  width: 22px;
}

.info .flagContainer a:hover {
  opacity: 0.8;
}

.info .directors {
  flex: 1;
}

.flag {
  height: 10px;
  margin-right: 3px;
}

.words {
  width: 370px;
  margin-top: 5px;
  background-color: #d4d4d4;
  color: #000000;
  padding: 7px;
  font-size: 17px;
}

.words .kanji + .words .kana {
  text-align: right;
}

.words .romaji {
  font-size: 15px;
  line-height: 16px;
}

@media screen and (max-width: 900px) {
  body {
    background-color: #000000;
  }

  .movies {
    width: 100%;
  }

  .frameContainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    padding-top: 3px;
    padding-bottom: 3px;
    position: relative;
    background-color: #000000;
    z-index: 20;
  }

  .frameContainer.keyContainer {
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .frameContainer.empty {
    display: none;
  }

  .frameContainer .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    display: none;
    background-color: black;
    opacity: 0.82;
  }

  .frameContainer > div {
    width: 100%;
  }

  .frameContainer .movie {
    height: 170px;
  }

  .frameContainer.keyContainer .movie {
    height: 120px;
  }

  .frameContainer .movie.expanded {
    height: calc(100vw / 600 * 400);
  }

  .movieInfo {
    height: 0;
    background-color: #000000;
    transition: height 0.2s ease-in-out;
    font-size: 13px;
  }

  .movie.expanded ~ .movieInfo {
    height: auto;
    margin-bottom: 5px;
  }

  .movieInfo .info {
    min-height: 24px;
    line-height: 20px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .movieInfo .info .flagContainer {
    width: 20px;
  }

  .movieInfo .info .flag {
    height: 10px;
  }

  .key > div:first-of-type,
  body.mobile .pageTitle > div:first-of-type {
    height: 60px;
    line-height: 60px;
  }

  .key > div:last-of-type {
    font-size: 28px;
  }

  .key:not(.date) > div:last-of-type,
  body.mobile .pageTitle > div:last-of-type {
    font-size: 28px;
  }

  .movie .titleContainer {
    font-size: 25px;
    bottom: 4px;
    padding-left: 15px;
  }
}

body.mobile .pageTitle {
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 26px;
  text-align: center;
}

.emojiRow {
  display: flex;
  justify-content: center;
}

.emojiRow div {
  width: 34px;
  height: 100%;
  padding-left: 4px;
  padding-right: 4px;
  text-align: center;
}

body.mobile .about {
  text-align: center;
  padding-left: 8%;
  padding-right: 8%;
  font-size: 18px;
  line-height: 26px;
}

body.mobile .about .rankings > div {
  margin-bottom: 8px;
}

@media screen and (max-width: 900px) {
  body.mobile .about > div {
    padding: 8px 5px;
    background-color: #000000;
  }

  body.mobile .about > div:not(:last-of-type) {
    margin-bottom: 6%;
  }
}

body.mobile .list {
  display: flex;
  flex-direction: column;
}

body.mobile .list a {
  color: #ffffff;
}

#openMenu {
  display: none;
}

@media screen and (max-width: 900px) {
  #openMenu {
    width: 100%;
    height: 26px;
    line-height: 26px;
    display: block;
    text-align: center;
    position: fixed;
    bottom: 0;
    padding-top: 4px;
    padding-bottom: 4px;
    z-index: 10;
    color: #ffffff;
    text-decoration: underline;
  }
}

.menu {
  width: 100%;
  height: 94px;
  display: flex;
  flex-wrap: wrap;
  position: fixed;
  bottom: 8px;
  padding-top: 1%;
  padding-bottom: 2%;
  background-color: #000000;
  transition: bottom 0.3s ease-in-out;
  z-index: 20;
}

.menu > div {
  width: 32.6%;
  min-height: 50%;
  max-height: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  border: 1px solid #3e3e3e;
}

@media screen and (min-width: 900px) {
  body.mobile .about a {
    text-decoration: none;
    font-weight: bold;
  }

  .movies {
    padding-top: 5px;
    padding-bottom: 20px;
  }

  .movieInfo a:hover {
    text-decoration: underline;
  }

  .menu {
    display: none;
  }
}

.movieInfo .icon {
  width: 16px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  color: #c1c1c1;
}

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

#yearLinePopup {
  width: 120px;
  padding: 8px 12px;
  font-size: 10pt;
  line-height: 20px;
  border-radius: 4px;
  display: none;
  z-index: 50;
}

#yearLinePopup * {
  white-space: nowrap;
}

#yearLinePopup,
#yearLinePopup::before {
  position: absolute;
  background-color: #ffffff;
}

#yearLinePopup::before {
  content: "";
  width: 10px;
  height: 10px;
  top: 72px;
  transform: rotate(315deg);
}

#yearLinePopup.left::before {
  left: 47%;
  border-top: 0;
  border-right: 0;
}

#yearLinePopup.right::before {
  right: -7px;
  border-left: 0;
  border-bottom: 0;
}

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

.movies.moviesMosaic .list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.movies.moviesMosaic .sectionTitle,
.movies.moviesMainContainer .sectionTitle {
  height: 10vh;
  position: relative;
  line-height: 10vh;
  font-size: 14px;
  text-align: center;
  color: #ffffff;
  background-color: #000000;
}

.movies.moviesMainContainer .sectionTitle a {
  color: #ffffff;
}

.movies.moviesMainContainer .sectionTitle .modifiersMenuButton {
  position: absolute;
  top: 0;
  right: 5px;
}

.movies.moviesMainContainer .sectionTitle .modifiersMenuButton .btn-floating {
  background-color: transparent;
}

@media screen and (min-width: 900px) {
  height: 6vh;
  line-height: 6vh;
}

.movies.moviesMosaic .sectionTitle span,
.movies.moviesMainContainer .sectionTitle span {
  text-decoration: underline;
}

.movies.moviesMosaic .allMoviesCat {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.movies.moviesMosaic .moviesCat {
  width: 100%;
}

.movies.moviesMosaic .frameContainer {
  width: 32.5%;
  min-height: 13.4vh;
  max-height: 13.4vh;
  padding-top: 1px;
  padding-bottom: 1px;
}

.movies.moviesMosaic .frameContainer:not(:hover) .movieInfo,
.movies.moviesMosaic .movie .title {
  display: none;
}

.movies.moviesMosaic .movie {
  height: 100%;
}

@media screen and (max-width: 900px) {

  .movies.moviesMosaic .movie .titleContainer {
    padding-left: 5px;
    bottom: 2px;
  }

  .movies.moviesMosaic .movie .rankIndex {
    font-size: 18px;
  }
}

@media screen and (min-width: 1600px) {
  .movies.moviesMosaic .mainContainer {
    width: 1280px;
  }
}

@media screen and (min-width: 900px) {
  .movies.moviesMosaic .sectionTitle {
    height: 60px;
    display: flex;
    align-items: center;
    padding-left: 10px;
    font-size: 20px;
    text-align: left;
    color: #ffffff;
  }

  .movies.moviesMosaic .frameContainer.rankGroup-6 {
    width: 15.5%;
    min-height: 150px;
    max-height: 150px;
  }
  .movies.moviesMosaic .frameContainer.rankGroup-6 .title {
    font-size: 18px;
  }
  .movies.moviesMosaic .frameContainer.rankGroup-6 .internationalTitle {
    display: none;
  }

  .movies.moviesMosaic .frameContainer.rankGroup-5 {
    width: 19.5%;
    min-height: 170px;
    max-height: 170px;
  }
  .movies.moviesMosaic .frameContainer.rankGroup-5 .title {
    font-size: 22px;
  }

  .movies.moviesMosaic .frameContainer.rankGroup-4,
  .movies.moviesMosaic .frameContainer.rankGroup-3 {
    width: 24.5%;
    min-height: 210px;
    max-height: 210px;
  }

  .movies.moviesMosaic .frameContainer.rankGroup-2,
  .movies.moviesMosaic .frameContainer.rankGroup-1 {
    width: 32.5%;
    min-height: 280px;
    max-height: 280px;
  }

  .movies.moviesMosaic .frameContainer {
    margin-bottom: 60px;
  }

  .movies.moviesMosaic .frameContainer:not(:hover) .movieInfo {
    display: flex;
    /*
    opacity: 0.6;
    filter: saturate(0);
    */
  }

  .movies.moviesMosaic .movie .title {
    display: flex;
    padding-right: 10px;
    font-size: 25px;
  }

  .movies.moviesMosaic .movie .title.internationalTitle {
    font-size: 15px;
  }
}

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

.movies.moviesMainContainer .about {
  display: none;
}

.movies.moviesMainContainer .moviesRows {
  position: relative;
  margin-bottom: 20px;
}

.movies.moviesMainContainer .list {
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.movies.moviesMainContainer.propertyList .list {
  margin-bottom: 30px;
  overflow-x: hidden;
}

.movies.moviesMainContainer.propertyList .list > div {
  display: flex;
}

.movies.moviesMainContainer.propertyList .list .label {
  padding-right: 10px;
  flex-shrink: 0;
}

.movies.moviesMainContainer.propertyList .list.directors .label {
  width: 42%;
}

.movies.moviesMainContainer.propertyList .list.nations .label {
  width: 33%;
}

.movies.moviesMainContainer.propertyList .list.visionMonths .label,
.movies.moviesMainContainer.propertyList .list.years .label {
  width: 22%;
}

.movies.moviesMainContainer.propertyList .list .barContainer {
  display: flex;
  flex-direction: row;
}

.movies.moviesMainContainer.propertyList .list .barContainer > div {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.movies.moviesMainContainer.propertyList .list .total {
  width: 34px;
  font-size: 12px;
}

.movies.moviesMainContainer.propertyList .list .bar > div {
  height: 12px;
  padding-left: 2px;
  /* margin-right: 2px; */
  opacity: 0.9;
  /* border: 2px solid #000000; */
  border-color: #6e6e6e;
  font-size: 12px;
  line-height: 12px;
  font-weight: bold;
  color: blueviolet;
}

.movies.moviesMainContainer.propertyList .list > div,
.movies.moviesSimpleList .movieRow,
.movies.moviesCompactList .movieRow {
  width: 100%;
  display: flex;
  flex-direction: row;
  padding-left: 14px;
  padding-right: 8px;
  opacity: 0.9;
}

.movies.moviesCompactList .movieCompactRowContainer:nth-child(even) .movieRow {
  background-color: #131723;
}

.movies.moviesSimpleList .movieRow.selected,
.movies.moviesSimpleList .movieRow:hover {
  /* opacity: 1; */
  background-color: #041856;
}

.movies.moviesSimpleList .title {
  cursor: pointer;
}

.movies.moviesSimpleList .movieRow:hover .title {
  text-decoration: underline;
}

.movies.moviesMainContainer .movieRow.lm .title,
.moviesGroupHeader .counts .lm {
  color: #dcc407;
}

.movies.moviesMainContainer.propertyList .list .bar > div.lm {
  background-color: #dcc407;
}

.movies.moviesMainContainer .movieRow.a-lm .title,
.moviesGroupHeader .counts .a-lm {
  color: #a2f750;
}

.movies.moviesMainContainer.propertyList .list .bar > div.a-lm {
  background-color: #a2f750;
}

.movies.moviesMainContainer .movieRow.mm .title,
.movies.moviesMainContainer .movieRow.a-mm .title,
.moviesGroupHeader .counts .mm,
.moviesGroupHeader .counts .a-mm {
  color: #ffb17f;
}

.movies.moviesMainContainer.propertyList .list .bar > div.mm,
.movies.moviesMainContainer.propertyList .list .bar > div.a-mm {
  background-color: #ffb17f;
}

.movies.moviesMainContainer .movieRow.cm .title,
.movies.moviesMainContainer .movieRow.a-cm .title,
.moviesGroupHeader .counts .cm,
.moviesGroupHeader .counts .a-cm {
  color: #d1d4ff;
}

.movies.moviesMainContainer.propertyList .list .bar > div.cm,
.movies.moviesMainContainer.propertyList .list .bar > div.a-cm {
  background-color: #d1d4ff;
}

.movies.moviesMainContainer .movieRow.s .title,
.movies.moviesMainContainer .movieRow.a-s .title,
.moviesGroupHeader .counts .s,
.moviesGroupHeader .counts .a-s {
  color: #eab4ff;
}

.movies.moviesMainContainer.propertyList .list .bar > div.s,
.movies.moviesMainContainer.propertyList .list .bar > div.a-s {
  background-color: #eab4ff;
}

.movies.moviesMainContainer .movieRow.pr .title,
.moviesGroupHeader .counts .pr {
  color: #8bc5ff;
}

.movies.moviesMainContainer.propertyList .list .bar > div.pr {
  background-color: #8bc5ff;
}

.movies.moviesMainContainer .movieRow .rankIndex {
  min-width: 10%;
  max-width: 10%;
  padding-right: 10px;
  text-align: right;
}

.movies.moviesMainContainer .movieRow .title {
  flex: 1;
  padding-right: 10px;
}

.movies.moviesMainContainer .movieRow .title,
.movies.moviesMainContainer .movieRow .flagContainer {
  opacity: 1;
}

.movies.moviesMainContainer .movieRow .flagContainer {
  width: 26px;
}

.movies.moviesMainContainer .movieRow .year {
  width: 40px;
  text-align: left;
  padding-right: 4px;
}

.movies.moviesMainContainer .movieRow .directors {
  width: 27%;
}

.movies.moviesMainContainer .movieRow .nation {
  width: 13%;
}

.movies.moviesSimpleList .movieRow {
  margin-bottom: 4px;
}

.movies.moviesSimpleList .movieRow .duration {
  width: 4%;
  min-width: 60px;
  text-align: right;
  padding-right: 16px;
}

.movies.moviesMainContainer .movieRow .year,
.movies.moviesMainContainer .movieRow .duration,
.movies.moviesMainContainer .movieRow .where {
  font-size: 13px;
}

.movies.moviesMainContainer .movieOverlayContainer {
  width: 100%;
  /*
  min-height: 300px;
  */
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 998;
  display: none
}

.movies.moviesMainContainer .movieOverlayContainer.visible {
  display: block;
}

.movies.moviesMainContainer .frameContainerCloseButtonContainer {
  width: 64px;
  height: 64px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 4px;
  right: 0;
  z-index: 999;
}

.closeButton {
  width: 20px;
  height: 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: #4e4b4b;
  color: #ffffff;
  text-align: center;
  border-radius: 50%;
  opacity: 0.7;
}

.movies.moviesMainContainer .frameContainerCloseButtonContainer .closeButton {
  margin-top: -30px;
  margin-left: 24px;
}

.movies.moviesMainContainer .movieOverlay {
  height: 0;
  background-color: transparent;
  pointer-events: none;
}

.movies.moviesMainContainer .movieOverlayContainer .frameContainer,
.movies.moviesMainContainer .movieOverlayContainer .movieInfo {
  background-color: #041856;
}

.movies.moviesMainContainer .movieOverlayContainer .frameContainer {
  padding-top: 5px;
  padding-bottom: 10px;
  overflow: auto;
}

.movies.moviesMainContainer .movieOverlayContainer .frameContainer .movie {
  height: calc(100vw / 600 * 400);
}

.movies.moviesMainContainer .movieOverlayContainer .frameContainer .movieInfo {
  height: auto;
}

.movies.moviesMainContainer.moviesMosaicList .moviesRows {
  display: flex;
  flex-wrap: wrap;
}

.movies.moviesMainContainer.moviesMosaicList .movieRow {
  width: 32.3%;
  height: 96px;
  margin-left: 0.5%;
  margin-right: 0.5%;
}

.movies.moviesMainContainer.moviesMosaicList .movieRow .rankIndex {
  font-size: 14px;
}

.movies.moviesMainContainer.moviesMosaicList .movieRow > .frameContainer {
  height: 100%;
}

.movies.moviesMainContainer.moviesMosaicList .movieRow > .frameContainer .titleContainer,
.movies.moviesMainContainer.moviesMosaicList .movieRow > .frameContainer .movieInfo {
  display: none;
}

@media screen and (min-width: 900px) {
  .movies.moviesMainContainer .about {
    display: flex;
  }

  .movies.moviesMainContainer .mainContainer {
    width: 90%;
    top: 0;
  }

  .movies.moviesMainContainer .sectionTitle {
    flex-direction: row;
    z-index: 4;
  }

  .movies.moviesMainContainer .sectionTitle div {
    padding-right: 6px;
    font-size: 14px;
  }

  .movies.moviesMainContainer .sectionTitle.mobileOnly {
    display: none;
  }

  .movies.moviesMainContainer .sectionTitle:not(.mobileOnly) {
    display: flex;
    align-items: center;
    justify-content: start;
  }

  .movies.moviesMainContainer .sectionTitle span {
    margin-left: 10px;
  }

  .movies.moviesMainContainer .movieRow {
    min-height: 26px;
  }

  .movies.moviesMainContainer .movieRow .rankIndex {
    min-width: 4%;
    max-width: 4%;
  }

  .movies.moviesMainContainer .movieRow .title {
    width: 30%;
    opacity: 1;
    padding-right: 0;
  }

  .movies.moviesMainContainer .movieRow .flagContainer {
    height: 28px;
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .movies.moviesMainContainer .movieRow div {
    line-height: 30px;
    flex-shrink: 0;
  }

  .movies.moviesMainContainer .movieRow div:not(.where) {
    padding-right: 1.5%;
  }

  .movies.moviesMainContainer .movieOverlayContainer {
    width: 47%;
    height: 100%;
    position: fixed;
    right: 0;
  }

  .movies.moviesMainContainer .movieOverlay {
    width: 100%;
    height: 100%;
    display: block;
    background-color: #000000;
    opacity: 0.5;
    pointer-events: auto;
  }

  .movies.moviesMainContainer .frameContainer,
  .movies.moviesMainContainer .movieInfo {
    background-color: #000000;
  }
}

@media screen and (min-width: 1200px) {
  .movies .mainContainer {
    width: 1280px;
  }
}

@media screen and (min-width: 1400px) {
  .movies.moviesMainContainer .mainContainer {
    width: 1280px;
  }

  .movies.moviesMainContainer .movieOverlayContainer {
    width: 39%;
  }
}

@media screen and (min-width: 1600px) {
  .movies.moviesMainContainer .mainContainer {
    width: 1280px;
  }

  .movies.moviesMainContainer .movieOverlayContainer {
    width: 32%;
    right: 15.7%;
  }
}

.moviesGroup {
  width: 100%;
}

.moviesGroupHeader,
.moviesCurrentFilterHeader {
  display: flex;
  justify-content: space-between;
  padding-left: 14px;
  padding-right: 8px;
  /*
  margin-bottom: 6px;
  border-bottom: 1px solid #ffaf0f;
  */
}

.moviesCurrentFilterHeader {
  margin-bottom: 12px;
  padding-top: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid #5f5f5f;
  border-bottom-style: dashed;
  background-color: #313131;
}

.moviesCurrentFilterHeader .filterLabel {
  padding-left: 4px;
  padding-right: 4px;
  margin-right: 4px;
  background-color: #5f5f5f;
  border-radius: 4px;
}

.moviesGroupHeader {
  padding-bottom: 12px;
  border-bottom: 1px solid #ffaf0f;
}

.moviesCurrentFilterHeader span,
.moviesGroupHeader span {
  opacity: 0.8;
}

.moviesGroupHeader .counts span {
  opacity: 0.8;
  font-size: 10px;
  margin-left: 8px;
}

.groupStats {
  width: 100%;
  height: 26px;
  display: flex;
  flex-direction: row;
  margin-bottom: 12px;
}

.groupStats > * {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #8e8e8e;
  background-color: #ffaf0f;
}

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

.moviesCompactList .movieRow {
  height: 74px;
  opacity: 1 !important;
  overflow: hidden;
}

.moviesCompactList .movieCompactRowInfo {
  width: 70%;
  display: flex !important;
  flex-direction: column;
  flex-shrink: 0;
  justify-content: space-around;
  padding-top: 3px;
  padding-left: 12px !important;
  padding-bottom: 3px;
}

.moviesCompactList .movieCompactRowInfo > div {
  width: 100%;
  padding-right: 4px;
}

.moviesCompactList .movieCompactRowInfo > div > div {
  width: 100%;
}

.moviesCompactList .movieCompactRowInfo .info {
  font-size: 13px;
  opacity: 0.9;
}

.moviesCompactList .movieCompactRowInfo .title {
  max-height: 35px;
  padding-right: 4px !important;
  line-height: 18px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.moviesCompactList .movieCompactRowInfo .titleNotes {
  font-size: 11px;
  font-style: italic;
  color: grey;
}

.moviesCompactList .directors {
  width: auto !important;
  padding-right: 0 !important;
}

.moviesCompactList .title,
.moviesCompactList .year {
  width: auto !important;
  text-align: left;
}

.moviesCompactList .year {
  padding-right: 6px !important;
}

.movies.moviesCompactList .flagContainer {
  width: 25px !important;
}

.moviesCompactList .movieRow > .frameContainer {
  width: 102px;
  height: 100%;
  display: flex !important;
  flex-shrink: 0;
}

.moviesCompactList .movieRow > .frameContainer .frame {
  width: 100%;
  height: 100%;
  opacity: 1 !important;
  background-repeat: no-repeat;
  background-size: auto 100%;
}

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

.floating-button {
  display: none;
}

@media screen and (max-width: 900px) {
  .floating-button {
    display: block;
  }

  .floating-button ul {
    width: 140px;
    left: -90px !important;
  }

  .floating-button li {
    display: flex;
    justify-content: flex-end;
    width: 100%;
  }

  .floating-button .label {
    position: absolute;
    right: 48px;
    margin-top: 6px;
    padding: 3px 9px;
    white-space: nowrap;
    color: white;
    background: #676767;
    opacity: 0;
  }

  .floating-button.active .label {
    opacity: 1;
    transition: opacity ease-in-out 0.8s;
  }

  .floating-button .color0 > * {
    background-color: #565656;
  }

  .floating-button .color1 > * {
    background-color: #565656;
  }

  .floating-button .color2 > * {
    background-color: #565656;
  }

  .material-icons {
    font-family: 'Material Icons', sans-serif !important;
  }

  #floating-search-button {
    bottom: 90px;
  }
}

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

dialog {
  padding: 20px 20px;
  position: fixed;
  border: 1px solid grey;
  background-color: #000000;
  color: #ffffff;
  font-size: 14px;
}

dialog:focus,
dialog *:focus {
  outline: none;
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.6);
}

dialog .dialogHeader {
  position: relative;
}

dialog .dialogHeader .closeButton {
  position: absolute;
  top: -12px;
  right: -12px;
}

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

.modifiersDialog {
  width: 85%;
  height: 80%;
}

.modifiersDialog .modifierFieldsContainer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.modifiersDialog .modifierFieldsContainer > div {
  width: 50%;
}

.modifiersDialog .modifierField {
  margin-bottom: 20px;
}

.modifiersDialog .modifierFieldLabel {
  font-weight: bold;
  margin-bottom: 6px;
}

.modifiersDialog .modifiersValues {
}

.modifiersDialog .modifiersValues div {
  height: 36px;
  display: flex;
  align-items: center;
  padding-right: 20px;
}

.modifiersDialog .modifiersValues a {
  color: #ffffff;
}

.modifiersDialog .modifiersValues a:hover {
  text-decoration: underline;
}

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

.searchDialog {
  width: 100%;
  height: 100%;
  padding: 10px 12px;
}

.searchDialog a {
  color: #ffffff;
}

.searchDialog a:hover {
  text-decoration: underline;
}

.searchDialog .searchResults {
}

.searchDialog .searchInputContainer {
  margin-bottom: 30px;
}

.searchDialog .searchInputContainer .label {
  margin-bottom: 8px;
  color: #ffffff;
}

.searchDialog .searchInput {
  width: 100%;
  height: 38px;
  color: #ffffff;
  text-indent: 10px;
  border: 1px solid grey;
}

.searchDialog .searchInput::placeholder {
  color: grey;
}

.searchDialog .searchInput:focus {
  border: 1px solid #9b9b9b;
  border-bottom: 3px solid #9b9b9b !important;
  box-shadow: none;
}

.searchDialog .dialogHeader .closeButton {
  top: -5px;
  right: -5px;
}

.searchDialog .sectionTitle {
  margin-bottom: 10px;
  font-weight: bold;
}

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

.searchResults {
  margin-bottom: 20px;
  padding-right: 2px;
}

.searchResultsMovies .movieRow,
.searchResultsDirectors > div {
  width: 100%;
  display: flex;
  flex-direction: row;
  opacity: 0.9;
}

.searchResultsMovies .movieRow .year {
  width: 36px;
}

.searchResultsMovies .movieRow .flagContainer {
  width: 38px;
  text-align: center;
}

.searchResultsMovies .movieRow .title {
  flex: 1;
}
