:root {
	--texto-um: "Trebuchet MS", Arial, Helvetica, sans-serif;
	--texto-dois: Arial, Helvetica, sans-serif;

	--cor-bkg: #f6f6f6;
	--cor-verde-logo: #a0b729;
	--cor-verde: #669900;
	--cor-azul: #76a2c2;
	--cor-laranja: #dc931a;

	--query-um: 960px;
}

body {
	background-color: #F6F6F6;
	height: 100vh;
}

#TEXTO {
	position:absolute;
	width:200px;
	z-index:1;
	top: 682px;
	height: 200px;
	/* [disabled]margin-top: 20px; */
	left: 233px;
}
h1, h2, h3, h4, h5 {
	font-family: var(--texto-um);
	font-weight: lighter;
}
/* h1 {
	font-size: 1.5rem;
} 
h2 {
	font-size: 1.5rem;
	letter-spacing: -1px;
}*/
h3 {
	font-size: 1.2rem;
	color: #333;
}
h4 {
	font-size: 2rem;
	color: #333;
}

/* #MENU h1 {
	font-size: 150%;
	font-weight: lighter;
	margin: 0px;
} 

#MENU h1 a {
	color: #669900;
	font-weight: 700;
	text-decoration: underline;
}

#MENU h2 {
	font-size: 3rem;
}*/

.h1-dlbc {
   color: #aaa;
	font-size: 1.4rem;
	margin: 0;
	line-height: 3rem;
}

.h2-dlbc {
   color: #669900;
	font-size: 3rem;
	margin: 0 0 2rem 0;
	line-height: 3rem;
}

#BONECO {
	position:absolute;
	z-index:0;
	left: 40px;
	width: 576px;
	background-image: url(imagens/edl_anima_boneco_big.gif);
	background-repeat: no-repeat;
	background-position: left top;
	height: 472px;
	top: 140px;
}
#TITULO {
	position:absolute;
	z-index:2;
	width: 280px;
	/* [disabled]margin-top: 50px; */
	/* [disabled]margin-left: 50px; */
	left: -280px;
	top: 120px;
	height: 125px;
}
.MOpt {
	font-family: var(--texto-dois);
	font-size: 0.9em;
	color: #000000;
	/* [disabled]background-color: #FFFFFF; */
	padding-right: 5px;
	padding-left: 5px;
	display: block;
	padding-top: 1px;
	padding-bottom: 1px;
	list-style: none;
	text-decoration: none;
	margin-top: 15px;
	/* [disabled]background-image: url(imagens/edl_li_mopt.png); */
	/* [disabled]background-repeat: repeat-y; */
	/* [disabled]background-position: left top; */
	border-left-width: 8px;
	border-left-style: solid;
	border-left-color: #FFEC00;
	font-weight: normal;
	-webkit-transition: background-color 1s; /* For Safari 3.1 to 6.0 */
    transition: background-color 1s;
}
.MOpt:hover {
	color: #000000;
	background-color: #FFFFFF;
	left: 1px;
	position: relative;
	border-left-color: #000000;
	-webkit-transition: background-color 0s; /* For Safari 3.1 to 6.0 */
    transition: background-color 0s;
}
.data {
	font-family: var(--texto-um);
	color: #000000;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #999999;
   display: block;
   margin: 7rem 0 1rem;
}

#TESTE {
	position:absolute;
	width:550px;
	height:400px;
	z-index:4;
	background-image: url(imagens/Untitled-1.gif);
}
ul {
	list-style-type: none;
	padding: 0px;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}
#TOP {
	display: grid;
	grid-template-columns: 40% auto auto auto auto auto auto auto;
	justify-items: end;
	justify-content: space-evenly;
	align-items: baseline;
	grid-gap: 1rem;
	position: fixed;
	width:100%;
	height:auto;
	z-index:8;
	left: 0px;
	top: 0px;
	/* Activados no edl_act.js
	box-shadow: 0 0 10px hsla(50, 27%, 46%, .5);
	transform: scale(.8);
	background: #f6f6f6cc;
	*/
}

@media screen and (max-width: 960px) {
	#TOP {
		grid-template-columns: auto;
		grid-template-rows: repeat(auto);
		justify-items: center;
		grid-gap: 2rem;
		top: 380px;
		width: 100px;
		box-shadow: none;
		position: absolute;
		transform: scale(.8);
		padding: 0 0 5rem 0;
	}
}

.sticky-div {
	height: 20px;
}

/* OK Antes de testar GRID

#TOP {
	position:absolute;
	width:100%;
	height:auto;
	z-index:8;
	left: 0px;
	top: 0px;
} */
#TOP2 {
	position:fixed;
	width:100%;
	height:50px;
	z-index:99;
	left: 0px;
	top: 0px;
	background-color: #F6F6F6;
	box-shadow:0px 2px 10px 0px rgba(0,0,0,.2);
	display: none;
}
#DIAGONAL {
	position:fixed;
	width:200%;
	/* [disabled]height:auto; */
	z-index:0;
	left: 0px;
	top: 50%;
	background-color:#F6F6F6;
	transform:rotate(-30deg);
	border-top-width: 20px;
	border-top-style: solid;
	border-top-color: #FFFFFF;
}
#START {
	position:fixed;
	width:100%;
	height:100%;
	z-index:99;
	left: 0px;
	top: 0px;
	display: none;
}
#B-START {
	position:absolute;
	width:157px;
	height:136px;
	z-index:5;
	background-image: url(imagens/edl_b_start.png);
	background-repeat: no-repeat;
	background-position: center center;
	margin-left: -80px;
	left: 50%;
	top: 30%;
}
#B-START:hover {
	background-image: url(imagens/edl_b_start-hover.png);
	cursor: pointer;
}

#MENU {
	z-index:3;
	position: absolute;
	top: 370px;
	left: 540px;
	height: auto;
	min-width: 200px;
	padding-bottom: 150px;
	padding-right: 20px;
	width: auto;
	max-width: 500px;
}

.bt-top {
	position: fixed;
	left: 5px;
	bottom: 5px;
	width: auto;
}
.bt-top img {
	width: 80px;
}

.Draft {
	font-size: 0.7em;
	color: #000000;
	background-color: #FFFF99;
}
#MENU p {
	font-family: var(--texto-dois);
	font-size: 90%;
	color: #333333;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

.home__data {
	font-size: 1.8rem;
	margin: 4rem 0 2rem;
}

.NumAccao, .home__NumAccao {
/*	font-size: 200%;*/
	font-size: 1.5em;
	color: #B5004F;
	font-family: var(--texto-um);
	margin-top: 40px;
	display: block;
	font-weight: bold;
}

.home__NumAccao {
	font-size: 2.5rem;
	margin: 3rem 0 1rem;
}

.home__componente {
	font-size: 1.6rem;
	color: #B5004F;
}

.Accao-Tit, .home__Accao-Tit {
	font-family: var(--texto-um);
	font-size: calc(1.2em + 0.5vw);
	color: #B5004F;
	display: block;
	margin: 0px;
}

#MENU .home__Accao-Tit {
	font-size: 2rem;
	font-weight: lighter;
}

.top__botao {
	z-index:5;
	background-repeat: no-repeat;
	background-position: center top;
	background-size: auto;
	font-size: 70%;
	text-align: center;
	top: 0px;
}
#BT-INTENCAO {
	width:80px;
	height:30px;
	background-image: url(imagens/dlbc_bt_intencao-candidatur.png);

	padding-top: 100px;
	padding-bottom: 10px;
}
#BT-INFO {
	width:85px;
	height:20px;
	background-image: url(imagens/dlbc_bt_info.png);
	padding-top: 36px;
	padding-bottom: 10px;
	justify-self: center;
}
#BT-FAQ {
	width:80px;
	height:30px;
	background-image: url(imagens/dlbc_bt_faq.png);
	padding-top: 36px;
	padding-bottom: 10px;
}
#BT-ESTRATEGIA {
	width:110px;
	height:50px;
	background-image: url(imagens/dlbc_bt_estrategia-3.png);
	padding-top: 70px;
}
#BT-ENCERRADAS {
	width:90px;
	height:40px;
	background-image: url(imagens/dlbc_bt_encerrados.svg);
	background-size: 38px 70px;
	padding-top: 70px;
}
#BT-FICHAS {
	width:80px;
	height:40px;
	padding-top: 100px;
	background-image: url(imagens/ico_ficha-projecto.png);
}
#BT-CONSTRUCAO {
	width:80px;
	height:40px;
	padding-top: 67px;
	background-image: url(imagens/dlbc_bt_constroi.svg);
}
#BT-AVALIA {
	width:70px;
	height:40px;
	background-image: url(imagens/dlbc_bt_avalia.svg);
	padding-top: 50px;
}

a#BT-INFO, a#BT-INTENCAO, a#BT-FAQ, a#BT-ESTRATEGIA, a#BT-FICHAS, a#BT-ENCERRADAS, a#BT-AVALIA, a#BT-CONSTRUCAO {
	text-decoration: none;
	color: #DC931A;
	transition: background-color .5s;
	font-family: var(--texto-dois);
	line-height: 110%;
	font-size: .7rem;
}
/* a#BT-ESTRATEGIA, a#BT-ESTRATEGIA2 {
	text-decoration: none;
	color: var(--cor-laranja);
	transition: background-color .5s;
	font-family: var(--texto-dois);
} */
a#BT-FICHAS:hover, a#BT-INFO:hover, a#BT-INTENCAO:hover, a#BT-FAQ:hover, a#BT-ESTRATEGIA:hover, a#BT-ENCERRADAS:hover, a#BT-AVALIA:hover, a#BT-CONSTRUCAO:hover {
	color: var(--cor-laranja);
	background-color: rgba(147, 212, 245, 0.2);
    transition: background-color .2s;
}
.bkg-size {
	height:20px;
	background-size:contain;
}
.top-fixed {
	height:40px;
	padding-top:0px;
}

.fp {
	text-decoration: none;
}

.fp__img img {
	border: 5px solid transparent;
	display: block;
	transition: border .15s ease-out;
}

.fp__img img:hover {
	border: 5px solid var(--cor-azul);
	display: block;
}

.fp__tit {
	font-size: 1.5rem;
	margin: 0 0 3rem;
	color: var(--cor-azul);
	font-family: var(--texto-um);
}
#LOGOS {
	position:fixed;
	width:507px;
	height:38px;
	z-index:99;
	left: 10px;
	top: 10px;
	background-image: url(imagens/dlbc_barra-logos-h.png);
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 507px 38px;
}
#MENU .h1-fichas {
	font-size: 3rem;
	margin: 0 0 2rem 0;
	line-height: 3rem;
}


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

	#TITULO {
		left: -280px;
		top: 30px;
	}
	#BONECO {
		left: 0px;
		background-image: url(imagens/edl-boneco-320x568.png);
		height: 284px;
		top: 150px;
		width: 162px;
	}
	#MENU {
		top: 400px;
		left: 132px;
		min-width: 50px;
	}
	#BT-FAQ {
		top: 0px;
		left: auto;
		right: 20px;
	}
	#BT-INFO {
		width:100px;
		top: 680px;
		left: 10px;
	}
	#BT-INTENCAO {
		top: 515px;
		left: 0px;
		width: 100px;
	}
	#BT-ESTRATEGIA {
		left: 5px;
		top: 770px;
	}
	#LOGOS {
		width:100%;
		max-width: 507px;
		height:38px;
		left: unset;
		top: unset;
		right: 0;
		bottom: 0;
		background: url(imagens/dlbc_barra-logos-h.png) no-repeat, var(--cor-bkg);
		background-size: contain;
	}
	a#BT-INFO, a#BT-INTENCAO, a#BT-FAQ, a#BT-ESTRATEGIA, a#BT-FICHAS, a#BT-ENCERRADAS, a#BT-AVALIA, a#BT-CONSTRUCAO {
		font-size: .8rem;
	}
	.bt-top {
		left: 5px;
		bottom: 50px;
		width: auto;
	}
	.bt-top img {
		width: 50px;
	}
}
