/* Variables */
:root {
    --base-color: #fff;
    --accent-color: #000;
    --black-svg: invert(0%) sepia(100%) saturate(2%) hue-rotate(150deg) brightness(107%) contrast(101%); /* Use with "filter:" */
    --white-svg: invert(100%) sepia(100%) saturate(0%) hue-rotate(191deg) brightness(108%) contrast(101%); /* Use with "filter:" */
    --black-png: invert(1);
    --white-png: invert(0);
    /* --cursor-fg: url('/images/res/cursor.png') 10 5, auto; */
    --cursor-fg: pointer;
  }
/* Make use of the variables like color: var(--base-color); */

@media (prefers-color-scheme: dark) {
  :root {
    --base-color: #000;
    --accent-color: #fff;
    --white-svg: invert(0%) sepia(100%) saturate(2%) hue-rotate(150deg) brightness(107%) contrast(101%); /* Use with "filter:" */
    --black-svg: invert(100%) sepia(100%) saturate(0%) hue-rotate(191deg) brightness(108%) contrast(101%); /* Use with "filter:" */
    --black-png: invert(0);
    --white-png: invert(1);
  }
}

.dark-mode {
  --base-color: #000;
  --accent-color: #fff;
  --white-svg: invert(0%) sepia(100%) saturate(2%) hue-rotate(150deg) brightness(107%) contrast(101%); /* Use with "filter:" */
  --black-svg: invert(100%) sepia(100%) saturate(0%) hue-rotate(191deg) brightness(108%) contrast(101%); /* Use with "filter:" */
  --black-png: invert(0);
  --white-png: invert(1);
}

html body {
  height: 100%;
}

::-moz-selection { /* Code for Firefox */
  color: var(--base-color);
  background: gray;
}

::selection {
  color: var(--base-color);
  background: gray;
}

a:hover {
  cursor: var(--cursor-fg);
}

.accent {
  color: var(--accent-color);
}

.base {
  color: var(--base-color);
}

/* Fonts */
@font-face {
  font-family: 'Monospac821';
  src: url('fonts/monospac821-bt-roman-webfont.woff2') format('woff2'),
       url('fonts/monospac821-bt-roman-webfont.woff') format('woff'),
       url('fonts/monospac821-bt-roman-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('fonts/suisseintl-regular-webfont.woff2') format('woff2'),
       url('fonts/suisseintl-regular-webfont.woff') format('woff'),
       url('fonts/suisseintl-regular-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.monospac821 {
  font-family: 'Monospac821', normal;
  font-size: 12px;
}
.underline {
  text-decoration: underline;
}

body {
  font-family: 'SuisseIntl', normal;
  background-color: var(--base-color);
}

* {
  box-sizing: border-box;
  margin: 0px;
}

/* Navbar */

#navbar {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 26px;
  height: calc(100% - 0px);
  background-color: var(--base-color);
  z-index: 899;
  font-family: 'SuisseIntl', normal;
  font-size:15px;
  transition: 0.3s;
  -moz-transition: 0.3s;
  -webkit-transition: 0.3s;
  padding-left: 5px;
  overflow: hidden;
}
 /* Hide scrollbar for Chrome, Safari and Opera */
 .hidescrollbar::-webkit-scrollbar {
  display: none;
  overflow-y: scroll;
}

/* Hide scrollbar for IE, Edge and Firefox */
.hidescrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
  overflow-y: scroll;
} 

#navbar:hover {
  transition: 0.3s;
  -moz-transition: 0.3s;
  -webkit-transition: 0.3s;
  overflow-y: scroll;
}


.marquee { 
  color: var(--accent-color);
  width:100%;
  overflow:hidden;
  position:relative;
  height: 19px;
}

.marquee .filmtitle {
  display: none;
}

.marquee:hover .filmletter {
  display: none;
}

.marquee:hover .filmtitle {
  display: inline;
}

@keyframes slide {
  from { left:100%; transform: translate(0, 0); }
  to { left: -100%; transform: translate(-100%, 0); }
}
@-webkit-keyframes slide {
  from { left:100%; transform: translate(0, 0); }
  to { left: -100%; transform: translate(-100%, 0); }
}

.scrollingtext {
  position:absolute;
  top:0;
  white-space: nowrap;
  animation-name: slide;
  animation-duration: 10s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  -webkit-animation-name: slide;
  -webkit-animation-duration: 10s;
  -webkit-animation-timing-function:linear;
  -webkit-animation-iteration-count: infinite;
  }


/* Image grid */
.numbercolumn {
  float: left;
  width: 0.5%;
  height: auto;
}

.column {
  float: left;
  width: 24.875%;
  height: auto;
  padding-left: 5px;
  padding-right: 5px;
}
.twocolumns {
  float: left;
  width: calc(24.875%*2);
  height: auto;
  padding-left: 5px;
  padding-right: 5px;
}

.threecolumns {
  float: left;
  width: calc(24.875%*3);
  height: auto;
  padding-left: 5px;
  padding-right: 5px;
}

.fourcolumns {
  float: left;
  width: calc(24.875%*4);
  height: auto;
  padding-left: 5px;
  padding-right: 5px;
}

.row {
  padding-left: 30px;
  padding-right: 0px;
  padding-bottom: 10px;
  margin: 0px;
}

.row:after { /* clearfix */
  content: "";
  display: table;
  clear: both;
}

div.wrapper {
	width: 100%;
  height: calc(24.875vw * 0.5625); /* 16:9 */
	/* padding-bottom: 56.25%; /* 16:9 */
	position: relative;
	background: black;
  display: inline-block;
}

.screencapwrapper {
  width: 100%;
  height: calc(24.875vw * 0.5625); /* 16:9 */
	/* padding-bottom: 56.25%; /* 16:9 */
	position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

div.wrapper2 {
	width: 100%;
  height: calc(24.875vw * 0.5625); /* 16:9 */
	/* padding-bottom: 56.25%; /* 16:9 */
	position: relative;
	background: var(--base-color);
  display: inline-block;
}

.screencapwrapper2 {
  width: 100%;
  height: calc(24.875vw * 0.5625); /* 16:9 */
	/* padding-bottom: 56.25%; /* 16:9 */
	position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}



.screencap {
 visibility: visible;
 width: 100%;
 max-height: calc(24.875vw * 0.5625);
 display: flex;
 opacity: 100%;
 margin: 0;
}

.screencap_h {
  visibility: visible;
  width: 95%;
  max-height: calc(20.875vw * 0.5625);
  display: flex;
  opacity: 100%;
  margin: 0;
 }

.screencap_v {
  visibility: visible;
  max-height: calc(20.875vw * 0.5625);
  display: flex;
  opacity: 100%;
  margin: 0;
 }

.timecode {
  color: white;
  padding-left: 3px;
  padding-right: 3px;
  font-family: 'Monospac821', normal;
  z-index: 299;
}

.timecodebg {
  background-color: black;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 199;
}

div[id^="frame"] {
  display: none;
  color: var(--accent-color) !important;
}

.mouseovercontainer {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  cursor: var(--cursor-fg);
}

span[id^="code"] {
  color: var(--accent-color) !important;
}

[id^="classification"] {
  color: var(--accent-color);
}

img[id^="classification"] {
  width: 100%;
}

#menu {
  position: fixed;
  width: 100%;
  z-index: 999; 
  top: 0;
  left: 0;
  background-color: var(--base-color);
  height: 22px;
}

#topblock {
  padding-top: 50px;
  height: 150px;
}

/* Testo */

.sitename {
  font-family: 'SuisseIntl', normal;
  font-size: 16px;
  color: var(--accent-color)
}

.movietitle {
  font-family: 'SuisseIntl', normal;
  font-size: 16px;
  color: gray;
}

p.letters {
  font-family: 'Monospac821', normal;
  font-size: 16px;
  text-align: right;
  color: var(--accent-color);
}

p.numbers {
  font-family: 'Monospac821', normal;
  font-size: 16px;
  text-align: left;
  color: var(--accent-color);
}

div.sticky {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  z-index: 799;
  background-color: var(--base-color);
}

img[id^="screencap"] {
  opacity: 100%;
}

p[id^="title"] {
  font-size: 16px;
  color: gray;
}

.visibletitle {
  visibility: visible;
  color: gray;
}

.invisibletitle {
  visibility: hidden;
  color: gray;
}

.classificationblock {
  position: fixed;
  bottom: 0px;
  right: 5px;
  background-color: var(--base-color);
  color: var(--accent-color);
  width: calc(calc(24.875*(calc(100% - 30px))/100)/3);
  z-index: 999;
  padding-left: 10px;
  font-family: 'Monospac821', normal;
  font-size: 16px;
  text-align: left;
}

.footer {
  color: var(--accent-color);
  padding-top: 20px;
  font-family:"SuisseIntl", normal;
  font-size: 14px;
}

.footerwrapper {
  min-height: 100%;
}

.footer2 {
  height: 50px;
  margin-top: -50px;
}

.fixedfooter {
  position: fixed;
  bottom: 0px;
  width: 100%;
}

.data {
  display: none;
}

a {
  text-decoration: none;
}

.classification {
  display: none;
}

.logo {
  filter: var(--black-svg);
}

input.chk-btn {
  display: none;
}
input.chk-btn + label {
  cursor: var(--cursor-fg);
}
input.chk-btn:not(:checked) + label:hover {
  color: gray;
}
input.chk-btn + label:active,
input.chk-btn:checked + label {
  text-decoration: underline;
  cursor: var(--cursor-fg);
}

input.chk-btn + label:active,
input.chk-btn:checked + label:hover {
  text-decoration: underline;
  color: gray;
}
span.filter-categories {color: var(--accent-color);}

.filtered-inclusive .filter-item, .filtered-exclusive .filter-item, .filter-no-item { opacity: 10%; cursor: var(--cursor-fg);} /* filtered-inclusive/filtered-exclusive class applied via js */
.filtered-inclusive .filter-item.selected, .filtered-exclusive .filter-item:not(.selected) { opacity: 100%; cursor: var(--cursor-fg);} /* selected class applied via js */ 
.filter-no-item.filter-no-item-active { opacity: 100%; cursor: var(--cursor-fg);}
.filter-mask-active { position:absolute; top:0; left:0; bottom:0; right:0; -webkit-animation:filterMask 1s ease-in-out both; animation:filterMask 1s ease-in-out both }
@-webkit-keyframes filterMask { 
	0% { background: transparent } 
	50% { background: var(--base-color);} 
	100% { background: transparent } 
	}
@keyframes filterMask { 
	0% { background: transparent } 
	50% { background: var(--base-color);} 
	100% { background: transparent } 
	}

  .dropbtn {
    color: var(--accent-color);
    cursor: default;
  }

  .dropbtn:hover {
    color: gray;
  }
  
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    margin-left: -3px;
    background-color: var(--base-color);
    z-index: 99;
    width: 100%;
    padding: 6px;
    padding-bottom: 16px;
  }
  
  .dropdown-content a {
    color: var(--accent-color);
  }
  
  .dropdown-content a:hover {color: gray;}
  
  .dropdown:hover .dropdown-content {display: block;}
  
  .dropdown:hover .dropbtn {color: gray;}

  #randomsentence {
    font-size: 96px;
    line-height: 90px;
  }

 .team {
    font-family: 'SuisseIntl', normal;
    font-size: 96px;
    line-height: 90px;
    color: var(--accent-color);
  }

  a {
    color: var(--accent-color);
  }

  .info1 {
    width: 100%;
    height: 18px;
    filter: var(--black-png);
  }

  .infobg {
    background-color: var(--accent-color);
    height: 18px;
  }

  .p404 { 
    position: fixed;
    top: -30px;
    left: 0px;
    width: 100%;
    height: 100%;
    text-align: center;
}

.p404content {
    position: relative;
    top: calc(50% - 1em);
}

button {
  padding: 3px;
  margin: 0px;
  border: 0px;
  background-color: var(--base-color);
  color: var(--accent-color);
}

button:hover {
  color: gray;
  cursor: var(--cursor-fg);
}

.darkmodebtn {
  position: relative;
  top: 2px;
  padding: 0px;
  margin: 0px;
  border: 0px;
  background-color: var(--base-color);
  color: var(--accent-color)
}

.darkmodebtn:hover {
  color: gray;
}

.sitetitle {
  color: var(--accent-color);
}

.cursor {
  cursor: var(--cursor-fg);
}

.linkmenu {
  font-family: 'Monospac821', normal;
  color: var(--accent-color);
  font-size: 12px;
}

.linkmenu:hover {
  color: gray;
}

.form {
  width: 100%;
  border: 1px solid var(--accent-color);
  height: calc(100%/3.333);
  margin-bottom: 5px;
  /*padding-bottom: 10px; */
  background-color: var(--base-color);
  font-family: 'SuisseIntl', normal;
  font-size: 16px;
  color: var(--accent-color);
}

.formsubmit{
  min-width: 20%;
  border: 1px solid var(--accent-color);
  height: 25px;
  background-color: var(--accent-color);
  font-family: 'SuisseIntl', normal;
  font-size: 16px;
  text-align: center;
  color: var(--base-color);
  cursor: var(--cursor-fg);
}

.formsubmit:hover{
  border: 1px solid var(--accent-color);
  background-color: var(--base-color);
  color: var(--accent-color);
}

.formtext {
  font-family: 'SuisseIntl', normal;
  font-size: 16px;
  color: var(--accent-color);
}

.form:active{
  border: 1px solid gray;
}

.arrow {
  filter: var(--black-svg);
}

.svg {
  filter: var(--black-svg);
}


#drop-area {
  border: 1px dashed var(--accent-color);
  border-radius: 0px;
  padding: 5px;
  height: 100%;
}
#drop-area.highlight {
  border-color: purple;
}
.my-form {
  margin-bottom: 10px;
  position: relative;
}
#uploadgallery {
  margin-top: 10px;
}
#uploadgallery img {
  width: 150px;
  margin-bottom: 10px;
  margin-right: 10px;
  vertical-align: middle;
}

.uploadbutton {
  position: relative;
  float:right;
  top: -5px;
  right: -5px;
  width: 20%;
  /* Firefox */
  height: -moz-calc(100% + 10px);
  /* WebKit */
  height: -webkit-calc(100% -+ 10px);
  /* Opera */
  height: -o-calc(100% + 10px);
  /* Standard */
  height: calc(100% + 10px);
  background-color: var(--base-color);
  cursor: var(--cursor-fg);
  border-radius: 0px;
  border: 1px solid var(--accent-color);
  color:var(--accent-color);
  filter: var(--black-svg);
}
.uploadbutton:hover {
  filter: var(--white-svg);
  background-color: var(--base-color);
}

.uploadexcel {
  width: 100%;
  background: var(--base-color);
  cursor: var(--cursor-fg);
  border-radius: 0px;
  border: 1px solid gray;
  color:var(--accent-color);
}
.uploadexcel:hover {
  filter: var(--black-svg);
  background: var(--accent-color);
}

#fileelem {
  display: none;
}

input:focus {
  outline:none;
}

.downloadproject:hover {
  filter: invert(0.5);
}

.lenght {
  visibility: hidden;
  background-color: black;
  z-index: 99;
  right: 0px;
}

.gridcontainer {
  display: inline-block;
  border: 0.5px solid var(--accent-color);
}
.grid {
  display: grid;
  grid-template-columns: repeat(5, 17px);
  grid-template-rows: repeat(2, 17px);
}
.cell {
   /* center the cell content */
  justify-content: center;
  align-items: center;
  display: flex;
  font-family: 'SuisseIntl', normal;
  font-size: 12px;
  color: var(--accent-color);
  background: var(--base-color);
  border: 0.5px solid var(--accent-color);
  margin: -1px;
}

.leg {
  display: none;
  color: var(--accent-color)
}

.legend {
  display: none;
}

.lenghtvalue {
    color: white;
    padding-left: 3px;
    padding-right: 3px;
    font-family: 'Monospac821', normal;
    z-index: 299;
}

.file-input-wrapper {
  height: calc(100%/3.333);
  overflow: hidden;
  position: relative;
  width: 100%;
  background-color: #fff;
  cursor: pointer;
  font-family: 'SuisseIntl', normal;
  font-size: 16px;
  text-align: left;
  filter: var(--black-svg);
  
}

.file-input-wrapper>input[type="file"] {
  width: 100%;
  /* font-size: 40px;
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0;
  cursor: pointer; */
}

.file-input-wrapper>.btn-file-input {
  width: 100%;
  height: 100%;
  background: var(--base-color);
  cursor: var(--cursor-fg);
  border-radius: 0px;
  border: 1px solid var(--accent-color);
  color:var(--accent-color);
  text-align: left;
  filter: var(--black-svg);
}

.file-input-wrapper:hover>.btn-file-input {
  background-color: var(--base-color);
  filter: var(--white-svg);
}

#img_text {
  float: right;
  margin-right: -80px;
  margin-top: -14px;
}

#bgvideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  filter: opacity(20%);
}

::-webkit-input-placeholder { /* Edge */
  color: gray;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: gray;
}

::placeholder {
  color: gray;
}