/* CSS Document  Designed at publiSITIO */

/*fonts*/
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,600;0,700;0,800;1,700;1,800&display=swap');
/* fonts */

:root{
	--bdy-color: #201d1c;
	--main-color: crimson;
	--nav-color: #fff;
	--anime-speed: .3s;
	--title-font: 'Poppins', sans-serif;
	--letter-spacing: -.3px;
}

html,
body{
	height:100%;
	scroll-behavior: smooth;
}
body{
	margin: 0;
	font: normal 22px/130% 'Arial, Helvetica Neue, Helvetica', sans-serif;
	color: var(--bdy-color);
	background: #fff;
	animation: example .5s linear forwards;
}
@keyframes example {
  0%   {opacity: 0;}
  100% {opacity: 1}
}

	@media screen and (max-width: 800px){
		body{
			margin: 0;
			font: 300 21px 'Arial, Helvetica Neue, Helvetica', sans-serif;
		}
	}
@media screen and (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
*{ margin: 0; padding: 0; }

/* custom scrollbar */
* {
  scrollbar-color: #D0680D #fff;
  scrollbar-color: var(--main-color) #fff;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: #fff; 
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: #D0680D; 
  background: var(--main-color);
  border-radius: 1px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555555; 
}
/* custom scrollbar end */

/* style for when selecting text on browser */
::selection {
  color: #fff;
  background: rgba(0,0,0,.9);
}
.d-none{
	display: none;
}
.nowrap{
	white-space: nowrap;
}
.title-font{
	font-family: var(--title-font);
	font-weight: 600;
	letter-spacing: -1px;
}

/* disabled links */
.disabled,  
ul.imprensawrap li .disabled a{
   pointer-events: none;
   cursor: default;
   color: #c1c1c1 !important; 
}
.footer ul li a.disabled{
	display: none;
}
a{
	outline:none;
	text-decoration:none;
	color: var(--main-color);
	transition: all var(--anime-speed) ease-in-out;
}
a:hover{
	color:inherit;
}
a img{
	border:none;
}
/* padding top on filmes anchor name link */
.anchor {
  display: block;
  position: relative;
  top: -50px;
  visibility: hidden;
}
/* destaque vencedores nos menus
.dropdown a[href="filmes-premiados"] {
	background: red;
} */
a[href$=".pdf"] {
  /* PDF file */
}
a[href^="http://"] {
	/* fully valid URL, likely external link */
}
a[href="https://www.publisitio.eu"] {
  /* link to specific website */
  color: var(--main-color) !important;
}
a[href="https://www.publisitio.eu"]:hover {
  color: inherit !important;
  opacity: .5 ;
}
a[href="https://filmfreeway.com/mdocfestival"] img,
a[href="https://festhome.com/f/2911"] img {
	transform: translateX(0px);
	transition: all var(--anime-speed) ease-in-out;
}
	a[href="https://filmfreeway.com/mdocfestival"]:hover img,
	a[href="https://festhome.com/f/2911"]:hover img {
		transform: translateX(45px);
		transition: all var(--anime-speed) ease-in-out;
	}
a.myButton{
	position: relative;
	border: 2px solid var(--bdy-color);
	background: var(--bdy-color);
	color: #fff;
	display:inline-block;
	padding: 0.5em 1em;
	margin: 10px 0;
	transition: all var(--anime-speed) ease-in-out;
	overflow: hidden;
	z-index: 1;

	&.disabled{
		/*opacity: .3;*/
		background: transparent;
		border: 2px solid currentColor;
	}
}
a.myButton::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: -1;
  transition: all var(--anime-speed) ease-in-out;
  width: 0%;
  height: 110%;
  /*transform: translate(-50%,-50%) rotate(45deg);*/
}
a.myButton:hover::before{
	background: #fff;
	border: 2px solid inherit;
	width: 110%;
}
a.myButton:hover{
	color: var(--bdy-color);
}
svg{
	image-rendering: pixelated;
	overflow: visible;
}
h1, h2, h3, h4, h5{ 
	font-weight: initial;
	margin: 5px 0;
	padding: 0;
}
h1{
	font-size:42px /*48px*/;
	line-height:1;
}
h2{
	font-size:36px;
	line-height:1;
}
h3{
	font-size:24px;
	font-weight:inherit;
	line-height:1;
	margin-top:10px;
}
p{
	padding: 5px 0;
	font-weight: inherit;
	text-align: justify;
	text-justify: inter-word;
	text-align-last: start;
	hyphens: auto;
	letter-spacing: var(--letter-spacing);
}
b{
	font-weight: bold;
}
ul{
	padding:0;
	margin:0;
	list-style-position: inside;
}
hr {
	border: 0;
	border-bottom: 3px solid var(--bdy-color); 
	background: var(--bdy-color);
	flex: 1 0 100%;
	margin: 5rem auto;

	@media screen and (max-width: 800px){
		margin: 2.5rem auto;
		flex: 0 0 95%;
	}
}
hr.xl-hr{
	border: 0px outset;
	background-color: var(--bdy-color);
	height: 8px;
	width: 30%;
	text-align: left;
	margin: .6em 0
}

/* HOMEPAGE */
.homeData{
	font-family: var(--title-font);
	font-size: calc(4rem + 2vw);
	font-weight: 600;
	margin-bottom: 3vw;

	& b{
		color: var(--main-color);
	}
}
.home{
	position:relative;
	display: flex;
	align-items: center;
	width: 95%;
	height: 80vh;
	padding: 0 15px;
	margin: 0 auto 6vh auto;
	overflow: hidden;
	animation: fade 4s linear forwards;
}
	@keyframes fade {
		0%{
			opacity: 0;
		}
		100%{
			opacity: 1;
		}
	}
	@media screen and (max-width: 800px){
		.home{
			height: auto;	  
		}
		.home div{
			width: 100%;
		}	
	}
.homepageintro{
	display: flex;
	align-items: flex-start;
	margin: 7rem auto;

	& img{
		padding-bottom: 7rem;
	}

	& h1{
		font-size: calc(4rem + 2vw);
		font-family: var(--title-font);
		font-weight: 600;
	}
	& h2{
		font-family: var(--title-font);
		font-size: calc(3rem + 2vw);
		letter-spacing: -2px;
		line-height: .9;
	}
	& p{
		font-size: 2rem;
		line-height: 1.1;
		text-align: justify;
	}
}
	@media screen and (max-width: 800px){
		.homepageintro{
			margin: 0rem auto;

			& img {
		    padding-bottom: 1rem;
		  }
		}
		.homepageintro h1{
			font-size: calc(3rem + 2vw);
		}		
		.homepageintro h2{
			font-size: 50px;
		}
		.homepageintro p{
			width: 100%;
			font-size: 22px;
			line-height: 1.4;
		}
	}
.destaques{
	width: 95%;
	margin: 5vw auto 20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	background: #e3af01;
	overflow: hidden;
 	/*border: solid #a18662;
  border-width: 5px;
  background: url(https://mdocfestival.pt/img/geral/premio-jean-loup-header.jpg) no-repeat center;
  background-size: cover;*/

  & div:first-child{
  	padding: 6vw;
  	margin: auto;

  	@media screen and (max-width: 800px){
  		padding: 6vh;
  	}

  	& img{
  		filter: brightness(491%) contrast(661%);
  	}
  }

  & .shadow{
  	filter: drop-shadow(0px 70px 30px #333);
  	mix-blend-mode: multiply;
  }

  @media screen and (max-width: 800px){
		width: 91%;
	}
}
.responsivegif {max-width: 100%; width: auto; height: auto;}
/* FLEX VIDEO */
.video-trailer{
	width: 100%;
}
	.video-trailer .video-container iframe{
		top: 0px;
		/*border-radius: 15px;*/
		box-shadow: 0 38px 19px -19px rgba(0, 0, 0, .6);
	}
.video-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	/*overflow: hidden;*/
}
.video-container iframe,  
.video-container object,  
.video-container embed {
	position: absolute;
	/*top: 10px;*/
	left: 0;
	width: 100%;
	height: 100%;
	/*border-radius: 15px;*/
}
	@media screen and (max-width: 800px){
		.video{
			width: 100%;
		}
		.video-container iframe{
			border-radius: 0;
		}
	}

.voluntariado span{
	color: var(--main-color);
}
.voluntariado hr{
	border: 0px outset;
	background-color: var(--bdy-color);
	height: 8px;
	width: 50%;
	text-align: left;
	margin: 1em 0
}

/* exposicoes / oficinas */
.expo-oficinas{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}
	.expo-oficinas div:first-child{
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		color: var(--bdy-color);
	}
	.expo-oficinas .expo-oficinas-title{
		font-size: calc(100% + 2vw);
		font-family: var(--title-font);
		font-weight: 600;
		letter-spacing: -1px;
		transition: all var(--anime-speed) ease-in-out;
		color: var(--main-color);
		text-wrap: balance;

		& span{
			display: block;
			font-size: 50%;
			font-weight: normal;
			padding-top: .5rem;
		}
	}
	.expo-oficinas .expo-oficinas-info{
		text-align: left;
		font-size: 1.5rem;
		font-weight: 600;

		& span{
			font-size: 1rem;
			font-weight: 400;
			vertical-align: super;
		}
	}
	.expo-oficinas .expo-oficinas-data{
		font-family: var(--title-font);
		color: var(--bdy-color);

		& b{
			color: var(--main-color);
		transition: all var(--anime-speed) ease-in-out;
		}
	}
	 
	.expo-oficinas .expo-oficinas-local{
		font-size: 1rem;
		margin-top: -10px;
	}
	.expo-oficinas img{
		transition: all var(--anime-speed) ease-in-out;
		filter: grayscale(0);
	}
	.expo-oficinas:hover .expo-oficinas-title,
	.expo-oficinas:hover .expo-oficinas-data b{
		color: var(--bdy-color);
	}
	.expo-oficinas:hover .more{
		background: var(--bdy-color);
	}		
		.more{
			position: relative;
		  width: 3rem;
		  aspect-ratio: auto 1 / 1;
		  background: var(--main-color);
		  color: #fff;
		  border: 0;
		  border-radius: 50%;
		  font-size: 30px;
		  font-weight: 600;
		  display: flex;
		  align-items: center;
		  justify-content: center;
		  transition: all .5s ease-in-out;
		}
	.expo-oficinas:hover img{
		filter: grayscale(1);
	}


.highlight{
	background:#eee;
	padding: 5px 10px;
	margin: 5px 0;
	transition: all var(--anime-speed) ease-in-out;
}
.highlight:hover{
	background:#000;
}
/* highlights */
.highlights{
	list-style: none;
	width: 100%;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	/*justify-content: space-between;*/
}

	@media screen and (max-width: 800px){
		.highlights{
			width: 95%;
		}
		.highlights li{
			flex-basis: calc(100% / 1);
			margin: 1rem 0;
		}
	}
.card{
	display: block;
	color: var(--bdy-color);
}
.card .cardTop {
	position: relative;
	overflow: hidden;
}
.card .cardTop img{
	max-width: 100%;
	vertical-align: middle;
	transition: all .6s ease-in-out;
}
.card:hover .cardTop img{
  transform: scale(1.2);
  opacity: 0;
}
.card:hover .cardIcon{
	opacity: 1;
}
.cardBody{
	position: relative;
	z-index: 1;
	padding: 15px 0;
}
.cardCategory{
	position: relative;
	padding-top: 15px;
	font: 25px var(--title-font);
	font-weight: 600;
	transition: all var(--anime-speed) ease-in-out;
}
.card:hover .cardCategory{
	color: var(--main-color);
}
.cardEvent{
	font-size: 20px;
	font-weight: 300;
}
.cardIcon{
	position: absolute;
	z-index: 2;
	background: url('https://mdocfestival.pt/img/geral/mdocicons/play.svg') no-repeat center;
	background-size: 25%;
	left: 0px;
	top: 0px;
	bottom: 0;
	right: 0;
	margin: auto;
	-webkti-box-sizing: border-box;
	box-sizing: border-box;
	transition: all 1s ease-in-out;
	opacity: 0;
}
/* highlights end */
.indent{
	margin:10px 25px;
}
.header{
	width: 100%;
	/*height: 40vh;*/
	margin: 3vh auto 6vh auto;
	position: relative;
	color: var(--bdy-color);
	font-family: var(--title-font);
	display: flex;
	align-items: center;
}
	.header > .row{
		position: relative;
		align-items: flex-end;
		padding: 0 15px;
		height: calc(90% - 30px);
	}
	.header .row div:first-child{
		flex-grow: 1;
	}
	.header:has(.header-bkgd) {
		width: 95%;
		height: 70vh;
		margin-top: 0;
		margin-bottom: 6vh;
		color: #fff;
		/*overflow: hidden;*/

		& .header-bkgd{
				position: absolute;
			  top: 0;
			  z-index: -1;
			  left: 0;
			  right: 0;
			  bottom: 0;
			  width: 100%;
			  height: 100%;
			}
		&	.header-bkgd::before{
				content: '';
				background: url(https://mdocfestival.pt/img/025/triangle.svg) no-repeat left -5vw center;
				background-size: 140%;
			  mix-blend-mode: multiply;
			  top: 0;
			  left: 0;
			  position: absolute;
			  width: 100%;
			  height: 100%;
			  filter:grayscale(1) invert(1) opacity(.5);
			}
		&	.header-bkgd img{
			  width: 100%;
			  height: 100%;
			  object-fit: cover;
			  object-position: left center;

			  @media screen and (max-width: 800px){
			  	object-position: center;
			  }
			}
	}

	@media screen and (max-width: 800px){
		.header:has(.header-bkgd) {
			width: 90%;
			margin-bottom: 2.5rem;
		}
		.header:has(.header-bkgd) .header-bkgd::before{
	  	background: linear-gradient(0deg, var(--bdy-color), transparent);
	  	filter: none;
	  }
  }
	
	.header hr{
		border: 0px outset;
		background-color: var(--bdy-color);
		height: 8px;
		width: 10vw;
		text-align: left;
		margin: .8em 0;
	}
		.header:has(.header-bkgd) hr{
			background-color: #fff;
		}
	.header .headertitle{
		font-size: calc(100% + 4vw) /*calc(2vw + 3vh + 2vmin)*/;
		font-weight: 600;
		text-align: left;
		line-height: .9;

		& span{
			font-weight: 400;
		}
	}
	.header:has(.header-bkgd) .headertitle{
		font-size: calc(100% + 4.8vw) /*calc(2.375rem + 1.5vw)*/;
	}
	.header .data{
		color: var(--main-color);
		font-weight: 600;
		font-size: 80px;
		line-height: .9;
		border: 2px solid currentColor;
		padding: 2.5rem;
		margin: 0;
	}
	.header:has(.header-bkgd) .data{
		color: #fff;
		border: 2px solid currentColor;
	}
		.data span{
			font-size: 50%;
			font-weight: 400;
		}
		.data span ~ span{
			vertical-align: top;
		}
		.data ~ h3{
			font-size: 20px;
		}
			@media screen and (max-width: 800px){
				.header .data{
					font-size: 60px;
					padding: 2rem;
				}
			}

	@media screen and (max-width: 800px){
		.header{
			width: 90%;
			margin: 2vh auto;
			align-items: flex-end;
		}
		.header > .row{
			padding: 0 5px;
			margin-bottom: 20px;
			height: auto;
		}
	}
.headertitle{
	font-size: calc(100% + 3.0vw);
	font-family: var(--title-font);
	letter-spacing: -2px;
	line-height: 1;
	font-weight: 600;
	text-wrap: balance;
}
@media screen and (max-width: 800px){
		.headertitle{
			letter-spacing: -1px;
		}
	}
.photo-credits{
	position: absolute;
	bottom: 0px;
	right: 0;
	padding: 5px 10px;
	color: #fff;
	/*background: #fff;*/
	font-size: 10px;
	z-index: 1;

	@media screen and (max-width: 800px){
		bottom: -30px;
		color: var(--bdy-color);
		padding-right: 1px;
	}
}
.contentwhite{
	background-color: #fff;
	padding: 40px 0;
}
figure {
  position: relative;
}
figcaption {
  position: absolute;
  font-size: .7rem;
  color: #000;
  bottom: 0px;
  right: 0px;
  padding: 0.2rem 0.7rem;
  background: rgb(255, 255, 255);
}
.contentblack{
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	padding: 60px 0px;
	text-align: left;
}


/* titulo filmes nas paginas programa salto a melgaço, fora de campo, por dia e por local */
.programa{
	& .dia{
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		font-family: var(--title-font);
		font-size: 3rem;
		letter-spacing: -2px;

		@media screen and (max-width: 800px) {
				font-size: 2rem;
				width: 100%;
			}

		& span{
			font-size: 4rem;
			font-weight: 600;
			color: var(--main-color);
			text-align: left;

			@media screen and (max-width: 800px) {
				font-size: 3rem;
			}
		}
	}
}
.programa h1{
	font-size: 25px;
	padding: 0;
	margin: 0;
	line-height: 1.2;
	font-family: var(--title-font);
}
.programa h2{
	font-size: 30px;
	margin: 0;
	font-family: var(--title-font);
}
.programa p{
	padding-bottom: 10px;
	text-align: left;
}

.programa li{
	list-style: none;
	padding: 4px 20px;
}
.programs-nav{
	position: fixed;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100vh;
	top: 0;
	right: 10px;
	z-index: 1;
}
.programs-nav a{
	position: relative;
	color: rgba(0,0,0,.5);
	padding: 3px 12px;
	margin: 4px 0;
	border: 1px solid currentColor;
	background: rgba(255,255,255,.5);
	display: block;
	border-radius: 8px;
}
.programs-nav a:focus,
.programs-nav a:hover{
	color: var(--main-color);
}
.prgmTitle{
	font-size: 30px;
	font-weight:inherit;
	line-height:1;
}
.filme,
.exposicao{
	font-size: 30px;
	font-family: var(--title-font);
	font-weight: inherit;
	color: var(--main-color);
}
/*
	.filme + p,
	.exposicao + p{
		margin-bottom: 10px;
		font-size: 15px;
	}
	*/
.img-shadow {
  position: relative;
  z-index: 1;
  box-shadow: 0px 0.3px 0.5px hsl(0deg 0% 0% / 0), 0.1px 5.7px 8.6px hsl(0deg 0% 0% / 0.07), 0.2px 11px 16.5px hsl(0deg 0% 0% / 0.15), 0.4px 19.6px 29.4px hsl(0deg 0% 0% / 0.22), 0.7px 34.5px 51.8px hsl(0deg 0% 0% / 0.29);
}
.first {
  text-indent: 30px;
}
.local{
	font-size:18px;
}
.resumo-programa-fdc{
	margin: 10px;
	color: grey;
	font-size: 80%;
}
/* NOTAS BIOGRAFICAS */
.bio-id{
	position: relative;
	font-family: var(--title-font);
	font-size: clamp(40px, 5vw, 70px);
	font-weight: 600;
	letter-spacing: -2px;
	text-wrap: balance;
}
	.bio-id{
		color: var(--bdy-color);
	}
	.bio-actividade{
		font-weight: 300;
  	font-size: 22px;
	}
	.bio-note{
		padding-top: 2rem;
		/*font-size: 1.1rem;*/
		line-height: 1.5;

		& a{
			color: var(--bdy-color);
			text-decoration: underline solid var(--bdy-color) 1px;
			text-underline-offset: 0.3em;
			text-decoration-skip-ink: none;

			&:hover{
				color: var(--main-color);
				text-decoration-color: inherit;
			}
		}
	}
/* REGULAMENTOS */
ol{
  list-style: none;
  counter-reset: css-counters;
  letter-spacing: var(--letter-spacing);
}
ol li {
	counter-increment: css-counters;
  position: relative;
  padding-left: 35px;
  margin: 20px 0;
}
ol li span{
	font-size: 2rem;
	font-weight: 600;
	font-family: var(--title-font);
}
ol li::before {
	content: counter(css-counters) ".";
  color: var(--main-color);
  font-family: var(--title-font);
  font-weight: 600;
  position: absolute;
  left: 21px;
  margin-left: -30px;
  text-align: right;
  width: 30px;
  font-size: 2rem;
}
ol ol{
	padding: 15px;
}
ol div{
	margin-top: 1rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
ol ol li::before {
	content: counter(css-counters, upper-alpha) ". ";
}

	@media screen and (max-width: 800px) {
		ol li {
		  padding-left: 0px;
		  margin: 10px 0;
		}
		ol li::before {
			position: relative;
		  left: 0px;
		  margin-left: 0px;
		  width: 24px;
		}
	}
/* FILMES SELECIONADOS */
.estreia{
	background: var(--bdy-color);
	color: #fff;
	font-size: 14px;
	font-weight: 300;
	padding: 5px 10px;
	margin: 10px 0px;
	display: inline-block;
}
	.estreia::before {
	  content: attr(data-estreia);
	}
.candidato{
	font-family: var(--title-font);
	font-size: 18px;
	font-weight: 400;
	white-space: pre-line;
	line-height: 1;

	span{
		font-size: 22px;
		font-weight: 600;
	}
}
.doc-trailer{
	background: var(--bdy-color);
	margin-top: 5rem;
	padding: 5rem 7.5px;
	color: #fff;

	& ul{
		font-size: 15px;
		padding: 15px;
		margin: 2rem 0;
		color: #fff;
		border: 1px solid #fff;

		& li{
			display: inline;
		}
	}
}
.doc-list-categoria{
	font-family: var(--title-font);
	font-weight: 400;
	white-space: pre-line;
	line-height: 1;

	span{
		font-weight: 600;
		font-size: calc(100% + 1.2vw);;
		letter-spacing: -1px;
		display: inline-block;
    padding: 7px 0;
    text-wrap: balance;
	}
}
.doc-list-wrap{
	width: 95%;
	display: flex;
	flex-wrap: wrap;
	margin: 4rem auto;
	gap: 20px;
	padding: 0 15px;
}
.filmeselect{
	width: calc(100% / 3 - 20px);
	display: flex;
	flex-direction: column;
	color: var(--dark-color);
	overflow: hidden;
	scroll-margin-top: 50px;
}
.filmeselect img{
	transition: all 1.5s ease-in-out;
}
.filmeselect:hover{
	transform: translateY(-10px);
	box-shadow: 0 25px 11px -14px rgba(0, 0, 0, .2),
							0 45px 31px -14px rgba(0, 0, 0, .2);

	& img{
		transform: scale(1.1) translateY(-8px);
	}
}
.filmeselect > div{
	padding: 1rem;

	@media screen and (max-width: 801px){
		padding: 1rem 0;
	}
}
.filmeselect > div:last-child{
	text-align: right;
	margin-top: auto;
	margin-bottom: 0rem;
	line-height: 1;
}
.filmeselect h1{
	margin: 0;
	font-family: var(--title-font);
	font-size: 22px;
	text-transform: uppercase;
	letter-spacing: -.5px;
}
.filmeselect p {
  font-size: 16px;
  padding: 0px;
  line-height: 1.1;

  & + p{
  	font-size: 14px;
  }
}
	@media screen and (max-width: 801px){
		.filmeselect{
			flex: 0 0 100%;
			max-width: 100%
		}
		.filmeselect h1,
		.filmeselect p{
			margin: 0;
		}
	}
/* página documentario */
.doc-page-header{
	width: 100%;
  height: 70vh;
  margin: 3vh auto 0vh auto;
  color: #fff;

  & img{
  	width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}
.sepiafx{
  filter: grayscale(1);
  transition: var(--anime-speed);
}


	.filmes-title{
		font-family: var(--title-font);
	}
	.filmes-title span{
	  color: #808080;
	  font-size: 18px;
	  display: block;
	  line-height: 1.5;
	}
	.filmes-data{
		font-family: var(--title-font);
		font-size: 3.5rem;
	}
	.filmes-local,
	.filmes-hora{
		font-size: 1.5rem;
	}
	.fimes-sinopse{
		margin: 10px 0;
	}
	 
ul.filmes-ficha {
  font-size: 15px;
  border: 1px solid #555;
  padding: 15px;
  margin-top: 2rem;
}
ul.filmes-ficha li {
  margin-right: 10px;
}
ul.filmes-ficha li {
  color: #555;
  display: inline;
  white-space: pre-line;
}
	ul.filmes-ficha  li{
		margin-right: 10px;
	}
	ul.filmes-ficha  li b{
		color: #000;
	}
	.realizadores{
		justify-content: space-between;
		padding: 4% 0;
		border-image: conic-gradient(#a0f0d2 0 0) fill 0//0 100vw;

		@media screen and (max-width: 801px){
			padding: 8% 0
		}
	}
	.warning{
		display: inline-block;
	  border: solid #000;
	  border-width: 5px;
	  padding: 2em;
	  width: 100%;

		  @media screen and (max-width: 800px) {
		  	padding: 1.5em;
		  }
	}
/***** plano frontal docs ****/
.plano-frontal-docs{
	justify-content: center;
	align-items: center;
	margin-bottom: 4rem;
}
	.plano-frontal-docs h1{
		font-family: var(--title-font);
		font-size: 4vmax;
	}
	.plano-frontal-docs h1 span{
		font-family: var(--title-font);
		display: block;
		font-size: 1.5vmax;
		color: red;
	}
	.plano-frontal-docs h2{
		font-size: 20px;
	}
	.plano-frontal-docs p{
		line-height: 120%;
		margin: 10px 0;
	}
	.plano-frontal-docs ul{
		/*display: flex;
		flex-wrap: wrap;
		gap: 0 10px;*/
		font-size: 15px;
	  border: solid var(--bdy-color);
	  border-width:  4px;
	  padding: 15px;
	  margin: 10px 0 30px;
	}
	.plano-frontal-docs ul li{
		display: inline-block;
		margin-right: 10px;
	}
	.plano-frontal-docs .bio{
		background: var(--bdy-color);
		color: #fff;
		border-radius: 0 0 30px 30px;
	  font-size: 18px;
	  padding: 30px;
	}
	.plano-frontal-docs .bio h2{
		font-family: var(--title-font);
		text-decoration: underline solid currentColor 2px;
	  text-underline-offset: 5px;
	  text-underline-position: under;
	}
/***** participantes *******/
details {
  width: 100%;
  overflow: hidden;
  transition: all .5s ease;
}
	details p{
	  padding: 15px 0;
	}
	details[open] p {
	  animation: animateDown 0.5s linear forwards;
	}

	@keyframes animateDown {
	  0% {
	    opacity: 0;
	    transform: translateY(-10px);
	  }
	  100% {
	    opacity: 1;
	    transform: translateY(0px);
	  }
	}
summary {
  margin: .5rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  position: relative;
  cursor: pointer;
  line-height: 1;
  transition: all .5s ease;
}
summary h1{
	font-size: clamp(21px, 4vw, 45px);
	font-weight: 500;
  letter-spacing: -1px;
}
summary img{
	position: relative;
  aspect-ratio: 1 /1;
	width: 10%;
	margin-right: 35px;
	filter: grayscale(1);
	transition: filter .5s ease;
  object-fit: cover;
  object-position: center top;
}
summary:hover{
  color: var(--main-color) !important;
	
	&:hover img{
  	filter: grayscale(0);
  }
}
summary:before {
  content: "+";
  position: absolute;
  right: 1rem;
  font-size: 22px;
  font-weight: 600;
	transition: 0.25s transform ease-in-out;
}
details[open] summary h1{
  color: var(--main-color) !important;
}
details[open] summary img{
	filter: grayscale(0);
}
/* THE MAGIC */
details[open] > summary:before {
  transform: rotate(-45deg);
}
details summary::-webkit-details-marker {
  display: none;
}
  @media screen and (max-width: 800px){
    details p{
      padding: 5px;
    }
    summary{
      padding: .3rem 0;
      text-align: left;
    }
    summary:before{
      /*top: .8rem;*/
      right: 0rem;
    }
    summary img{
			width: 15%;
			margin-right: 10px;
		}
  }
/************* 
all pages 
***************/
.full{
	margin:35px 0;
}
/* plano frontal equipa + fora de campo orientadores*/
.funcao{
	font-size: 18pt;
	font-style: italic;
	margin-left: 15px;
}
.instituicao{
	font-size: 12pt;
	font-style: italic;
	margin-left: 15px;
}
ul.geral li{
	padding:8px 0;
}
ul.expo{
	list-style:none;
	margin:20px 0;
	border:1px solid #ddd;
	padding:10px;
	display: inline-block;
}
ul.expo li{
	display: block;
	font-size: 18px;
}

/* EQUIPA */
ul.equipa li{
	display: flex;
	justify-content: space-between;
	font-weight:bold;
	list-style: none;
	padding: 1.5rem 0;
	border-bottom: 3px solid #000;
}
ul.equipa li ul{
	flex: 0 0 50%;
}
ul.equipa li ul li{
	padding: 0rem 0;
	font-weight: 300;
	border: 0;
}
ul.equipa li:last-child{
  border: none;
}
	@media screen and (max-width: 800px){
		ul.equipa li{
		display: block;
	}
	}
ul.bios{
	text-align:left;
	list-style:none;
}
ul.bios li{
	padding: 8px 0;
}

ul.adress{
	list-style:none ;
	padding:0;
	margin:0;

	li{
		padding-bottom: 5px;
		line-height: 1;
	}
}
ul.contatos{
	display: flex;
	flex-wrap: wrap;
	list-style:none;
}
ul.contatos li{
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	border-top: 3px solid #000;
	padding: 2rem 0;

	&:last-child{
		padding-bottom: 0;
	}
}
ul.contatos li div{
	flex: 1 0 60%;
}
	ul.contatos li div + div{
		flex: 0 0 30%;
	}
	ul.contatos li div h1{
		font-family: var(--title-font);
	}

	@media screen and (max-width: 800px){
		ul.contatos li div{
			flex: 0 0 100%;
		}
		ul.contatos li div + div{
			flex: 0 0 100%;
		}
		ul.contatos li{
			font-size:18px;
		}
	}
ul.imprensawrap{
	list-style: none;
}
ul.imprensawrap li a{
	display: flex;
	border-top: 3px solid var(--bdy-color);
	padding: 2rem 0;
	color: var(--bdy-color);
	transition: all .3s ease-in-out;

	& h1{
		color: var(--bdy-color);
		font-size: 2rem;
		flex: 0 0 50%;
	}

	& h2{
		font-size: 1.5rem;
	}
}
ul.imprensawrap li a:hover{
	color: var(--main-color);

	& h1{
		color: var(--bdy-color);
	}
}
	@media screen and (max-width: 800px) {
		ul.imprensawrap{
			list-style: none;
			padding: 0;
		}
		ul.imprensawrap li a{
			flex-wrap: wrap;
		}
		ul.imprensawrap li a h1{
			color: var(--bdy-color);
			flex: 0 0 100%;
		}
	}
/* PREMIOS */
.premios{
	justify-content: space-between;
	align-items: center;
	margin: 2rem auto;
}
.premios h1{;
  font-family: var(--title-font);
  font-size: 2.5rem !important;
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -1px;
}
.premios h1 small{
	font-size: 70%;
}
.premios h2{
	text-transform: uppercase;
	font-size: 1.1rem;
	color: #a38c65;
  line-height: 1.1;
}
.premios h3{
	font-size: 90%;
}
/*-- PREMIADOS PREMIO JEAN-LOUP PASSEK edicoes anteriores --*/
ul.premiados{
	position: relative;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 35px;
	margin: 2rem auto;
}
ul.premiados li {
	padding: 0;
	flex: 0 0 17%;
}
ul.premiados a{
  transition: all 0.5s ease-in-out;
  filter: grayscale(1);
}
ul.premiados a:hover{
	filter: grayscale(0);
}
	@media screen and (max-width: 800px) {
		ul.premiados li{
			flex: 0 0 calc(45% - 0px);
			display: block;
		}
	}
/*-- PREMIADOS PREMIO JEAN-LOUP PASSEK --*/
/* ARQUIVO */
.arquivo{
	display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
	.arquivo a{
		width: calc(100% / 4 - 15px);
		transform: scale(.9)
	}
	.arquivo img{
		box-shadow: 0 10px 20px -10px #000;
	}
	.arquivo a:hover{
		transform: scale(1);
	}

	@media screen and (max-width: 801px) {
		.arquivo a{
			width: calc(100% / 2 - 15px);
			transform: scale(1)
		}
	}
.arquivoFx img{
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
	transition: all var(--anime-speed) ease-in-out;
}
.arquivoFx img:hover{
	-webkit-filter: none; /* Safari 6.0 - 9.0 */
    filter: none;
}
/* PARCEIROS */
.parceiros{
	justify-content: flex-end;
}
.parceiros h1{
	font-family: var(--title-font);
	font-weight: 600;
	letter-spacing: -1px;
	display: flex;
}
	.parceiros .col-12{
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		align-items: center;
	}

.parceiros img{
	border: 0px solid #ccc;
	padding: 0px;
	margin: 0 25px 15px 0;
	/*-webkit-filter: grayscale(100%);
  filter: grayscale(100%);*/
	transition: all var(--anime-speed) ease-in-out;
}
.parceiros img:hover{
	-webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
  filter: grayscale(0%);
}

/*////////////////////////////////////////////////*/
/* footer */
.footerlogo picture{
	transition: all var(--anime-speed) ease-in-out;
}
.footerlogo picture:hover{
	filter: invert(17%) sepia(71%) saturate(4162%) hue-rotate(345deg) brightness(81%) contrast(107%);
}
.footerlogo img{
	vertical-align: bottom;
}
	@media screen and (max-width: 801px) {
		.footerlogo img{
			margin: 0 22px;
		}
	}
.footerdivider{
	height: 4px;
	background: #000;
	margin: 2rem 0;
}
.footer{
	position: relative;
	padding: 5rem 0 10px 0;
}
.footer ul{
	margin:0;
	font-size: 18px;
}
	.footer ul li{
		color: #000;
		padding-bottom: 10px;
		list-style: none;
		text-align: left;
		text-transform: uppercase;
	}
	.footer ul li a{
		display: block;
		color: inherit;
		font-size: 15px;
		transition: all var(--anime-speed) ease-in-out;
	}
	.footer ul li a:hover{
		color: var(--main-color);
	}
	.footer ul li:first-child{
		font-size: 18px;
		padding: 10px 0;
		border-bottom: 2px solid #000;
	}
	.footer ul li:nth-child(2){
		padding-top: 10px;
	}
	.footer ul li.spacer {
	  border-top: 2px solid #000;
	  margin: 10px 0;
	}
		@media screen and (max-width: 800px) {
			.footer ul{
				width: 90%;
		    font-size: 25px;
		    margin: 0 auto;
    	}
			.footer ul li a{
				display: block;
				font-size: inherit;
			}
			.footer ul li:first-child{
				font-size: 35px;
				font-weight: bolder;
			}
			.footerdivider{
				display: none;
			}
		}
	ul.copyright{
		margin-top: 5rem;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	ul.copyright li{
		font-size: 11px;
		font-weight: 300;	

		& a{
			font-size: inherit;
			display: inline-block;
		}
	}
	ul.copyright li:first-child{
		font-size: 11px;
		border-width: 0;
		padding: 0px;
	}
		@media screen and (max-width: 800px) {
			ul.copyright{
				width: 90%;
				margin: 5vh auto 0 auto;
				padding: 0;
			}
		}
.newsletter{
		font-size: 3rem;
		color: #000;
		font-family: var(--title-font);
		font-weight: 600;		
		transition: all var(--anime-speed) ease-in-out;
	}
	.newsletter:hover{
		color: var(--main-color);
	}
/*////////////////////////////////////////////////*/
/* social */
.social{
	padding:0;
}
.social a {
	padding: 5px;
	transition: all var(--anime-speed) ease-in-out;
	/*filter: invert(100%);*/
}
.social a:hover{
	filter: invert(17%) sepia(71%) saturate(4162%) hue-rotate(345deg) brightness(81%) contrast(107%);
}
/* icons */
.goBack{
	height: 64px;
	aspect-ratio: 1 / 1;
	display: block;
	text-align: center;
	opacity: 1;
	margin: 30px 0;
}
.goBack:hover{
	opacity: .5;
}
.backTo {
  display: inline-block;
  width: 3em;
  aspect-ratio: 1 / 1;
  border: 0.15em solid #000;
  border-radius: 50%;
}
.backTo::after {
  content: '';
  display: inline-block;
  margin-top: .9em;
  margin-left: 0.4em;
  width: 1.0em;
  height: 1.0em;
  border-top: 0.15em solid #000;
	border-right: 0.15em solid #000;
  transform: rotate(-135deg);
}
.scrollToTop {
  text-align: center;
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 999;
  opacity: .35;
}
.scrollToTop:hover{
  opacity: 1;
  bottom: 50px;
}
.Totop {
	position: relative;
	width: 2.2em;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1/1;
}
	.Totop::after{
		content: '';
	  display: inline-block;
	  margin-top: 1.0em;
	  width: 1.5em;
	  aspect-ratio: 1/1;
	  border-top: 0.45em solid #000;
		border-right: 0.45em solid #000;
	  transform: rotate(-45deg);
	}

	@media screen and (max-width: 800px) {
  .scrollToTop{
    visibility: hidden;
  }
}
.printIcon{
	background: url('https://mdocfestival.pt/img/geral/mdocicons/printer-icon.svg') no-repeat center;
	background-size: 90%;
	display: inline-block;
	height: 80px;
	width: 80px;
	cursor: pointer;
}
.lsta-logos{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	list-style: none;

	@media screen and (max-width: 800px) {
			flex-direction: column;
			align-items: flex-start;
		}

	& li{
		width: 140px;
	}

	& img{
		max-width: 100%;
	  height: auto;
	  vertical-align: middle;
	  filter: grayscale(0);
	  transition: all var(--anime-speed);

	  &:hover{
	  	filter: grayscale(1);
	  }
	}
}
/*--------------------------------------*/
/* terms */
.terms ul{
	margin-bottom: 25px;
}
.terms ul li{
	padding: 5px 0;
	margin-left: 20px;
  list-style-position: outside;
}
.terms ul ul{
	margin-bottom: 0px;
}
.terms ul li ul{
	padding: 5px 0;
}
/*----------------------------------------------------------------------------
----------------------------------------------------------------------------*/
@media screen and (max-width: 800px) {
	body{
		text-align: left;
	}
	/* HOMEPAGE */		
	.destaque{
		width:100%;
		text-align:center;
	}
	.destaque img{
		max-width: 100%;
		height: auto;
	}
	.pullquote{
		display: none;
	}
	.network{
		float: none;
	}
	h1{
		font-size: 35px;
		line-height: 1;
	}
	h2{
		font-size:28px;
		line-height:1;
	}
	fieldset { 
		margin: 0 15px;
	}
	.sinopse ul{
		margin: 0 15px;
	}
	.oficinas p{
		padding: 10px 20px;
		text-align: left;
	}
	.contentwhite {
	  padding: 40px 25px;
	}
	.right i{
		padding-right: 15px;
	}
	.row{
		width: 95%;
	}
	ul.adress{
		list-style:none ;
		padding:0;
		margin:0 15px;
	}
	.contentblack{
		padding:20px 0px;
	}	
}