@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

html, body {
	min-height: 100%;
	scroll-behaviour: smooth;
}
body {
	background: #FFF;
	padding: 0px;
	margin: 0px;
	font-family: 'Montserrat', sans-serif;
  	font-size: 14px;
	position: relative;
	color: #000 !important;
	font-weight: 500;
	overflow-x: hidden;
}

/* Formatações gerais */
a {
	color: inherit;
	text-decoration: none !important;
	transition: all 0.5s;
}
a:hover {
	color: #999;
}
h1 {
  	font-size: 36px;
  	line-height: 1.2em;
  	text-transform: uppercase;
  	font-weight: 700;
}
h2 {
	margin: 0px;
	padding: 35px 0;
  	font-weight: 500;
  	line-height: 1.5em;
  	font-size: 38px;
  	text-align: center;
  	text-transform: uppercase;
}
h3 {
  	text-transform: uppercase;
  	letter-spacing: 0.1em;
  	line-height: 1.5em;
  	font-size: 16px;
  	font-weight: 700;
}
h4 {
	font-size: 18px;
	margin: 10px 0;
	font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
	display: block;
	vertical-align: top;
}
h5 {
	font-size: 18px;
	text-align: center;
	color: #999;
	font-weight: 350;
	padding: 0 0 50px 0;
	margin: -50px 0 0 0;
}

hr {
	border: none;
	border-bottom: #000 1px dashed;
	padding: 0px;
	margin: 30px 0;
}

input[type=submit], input[type=reset], input[type=button], button {
	display: inline-block;
	vertical-align: top;
	text-transform: uppercase;
	color: #FFF;
	border-radius: 4px;
	background: #000;
	padding: 5px 25px;
	border: none;
	cursor: pointer;
	cursor: hand;
	transition: all 0.5s;
	font-family: 'Montserrat', sans-serif;
}
input[type=submit]:hover, input[type=reset]:hover, button:hover {
	background: #C58A2B;
	color: #FFF;
}
input[type=text], input[type=search], input[type=tel], input[type=email], input[type=date], input[type=time], input[type=number], input[type=datetime], input[type=password], textarea, select {
	display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background: #FFF;
    border: 1px solid #CCC;
	border-radius: 4px;
	resize: none;
	font-family: 'Montserrat', sans-serif;
	margin: 0 0 6px 0;
}
input[type=search], input[type=date], input[type=time], input[type=tel] {
	display: inline-block;
	vertical-align: top;
	width: auto;
}
textarea {
	height: auto;
}
input[type=text], input[type=email], input[type=number], input[type=datetime], input[type=datetime], textarea {
	max-width: calc(100% - 26px);
	padding: 2px 12px;
}
option {
	font-weight: normal;
    display: block;
    white-space: pre;
    min-height: 1.2em;
    padding: 0px 2px 1px;
	font-size: 14px;
    line-height: 1.42857143;
    color: #555555;
	font-family: 'Montserrat', sans-serif;
}

.duas_colunas {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-areas: "colesq coldir";
	grid-gap: 0 60px;
}
.dois_um {
	grid-template-columns: 2fr 1fr;
}
.colesq {
	grid-area: colesq;
}
.coldir {
	grid-area: coldir;
}
.tres_colunas {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 40px 60px;
} 

* {
	max-width: 100%;
	height: auto;
}

img {
	border: none;
	max-width: 100%;
	height: auto;
}

#cima {
	background: #515151;
	padding: 5px 50px;
	color: #e1f4e9;
	text-align: right;
}
#cima ul {
	list-style: none;
	padding: 0px;
	margin: 0px;
	display: inline-block;
}
#cima li {
	display: inline-block;
	vertical-align: top;
	padding: 0px;
	margin: 0 10px 0 0;
}
#cima img {
	max-height: 20px;
	width: auto;
	padding: 0px;
	margin: 0px;
	display: block;
}
#cima ul:nth-of-type(1) {
	margin: 0 40px 0 10px;
}
#cima ul:nth-of-type(2) li {
	margin: 0 2px;
}
#cima ul:nth-of-type(2) a {
	display: inline-block;
	vertical-align: top;
	padding: 1px 8px;
	margin: 0px;
}
#cima ul label, #cima ul:nth-of-type(2) a:hover {
	background: #e1f4e9;
	border-radius: 4px;
	padding: 1px 8px;
	color: #515151;
	text-transform: uppercase;
	font-weight: 500;
}
nav {
	background: #e1f4e9;
	padding: 10px 50px;
	display: grid;
	grid-template-columns: 200px auto;
	grid-gap: 0 30px;
}

/* Menu */
nav menu {
	align-self: end;
	justify-self: end;
	display: inline-block;
}
nav menu ul {
	display: inline-block;
	vertical-align: top;
	list-style: none;
	padding: 0px;
	margin: 0px;
	text-align: left;
	justify-self: right;
}
nav menu ul li {
	display: inline-block;
	vertical-align: top;
	padding: 0px;
	margin: 0px;
}
nav .hamburger {
	display: none;
}
nav menu ul li a, nav menu ul li label {
	text-transform: uppercase;
	display: block;
	vertical-align: top;
	padding: 2px 10px;
	border-radius: 4px;
	margin: 0px;
	line-height: none;
	color: #000;
	font-weight: 500;
	cursor: pointer;
	cursor: hand;
	font-size: 15px;
}
nav menu ul li a:hover, nav menu ul li label:hover {
	background: #000;
	color: #FFF;
	text-decoration: none;
}
nav menu ul li ul {
	position: absolute;
	z-index: 999;
	background: rgba(0, 0, 0, 0.8);
	padding: 5px;
	border-radius: 5px;
	margin: 0px;
	display: none;
}
nav menu ul li:hover ul {
	display: block;
}
nav menu li ul li {
	display: block;
	vertical-align: top;
}
nav menu li ul li a:hover {
	background: #FFF;
	color: #000;
}
nav menu ul li ul a {
	text-transform: none;
	color: #FFF;
	font-size: 14px;
}
nav menu ul li ul code {
	text-transform: uppercase;
	display: block;
	vertical-align: top;
	padding: 2px 10px;
	border-radius: 4px;
	margin: 2px 0;
	line-height: none;
	color: #FFF;
	background: #000;
	font-weight: 500;
}

/* Banners */
header {
	height: 470px;
}
#backs {
	display: none;
}
header #backimg, header #backfade, header #darken {
	position: absolute;
	padding: 0px;
	margin: 0px;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 590px;
	object-fit: cover;
	z-index: -10;
}
header #darken {
	background: rgba(0, 0, 0, 0.3);
	z-index: -5;
}
header #backfade {
	transition: opacity 1s;
	-webkit-transition: opacity 1s;
}
header.mini-header {
	height: 200px;
	background: url(../img/topo.jpg) no-repeat center top;
	background-size: 100% cover;
}
#backfade.fadeout {
	opacity: 0;
}
#backfade.fadein {
	opacity: 1;
}

#corpo {
	padding: 50px 50px 80px 50px;
}
#intro {
	padding: 50px 50px 80px 50px;
	background: #f2f2f2;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 0 30px;
	text-align: justify;
	margin: 0px;
	align-items: start;
}
#intro h2 {
	text-align: left;
	margin: 0px;
	padding: 0px;
}
#intro .botoes {
	text-align: center;
}
#certificacao {
	padding: 30px 50px;
	text-align: center;
}

/* Galeria da primeira pagina */
#ppgaleria, #show_galeria {
	height: 600px;
	max-height: 600px;
}
#show_galeria {
	margin: 0px -50px;
}
.blackboard {
	display: grid;
	grid-template-columns: auto;
	grid-template-rows: 90px auto 35px;
	height: 600px;
	max-height: 600px;
	position: absolute;
	width: 100vw;
	background: rgba(0, 0, 0, 0.5);
	color: #FFF;
	z-index: 100;
}
#show_galeria .blackboard {
	background: none;
}
#nav_galeria {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 0 30px;
	justify-items: end;
	align-items: center;
}
#nav_galeria a:nth-of-type(1) {
	justify-self: start;
}
#nav_galeria a:nth-of-type(1) img {
	display: none;
}
#index_galeria {
	padding: 0 50px 20px 50px;
	text-align: center;
	color: #FFF;
	font-weight: 500;
}
#galeria {
	height: 600px;
	max-height: 600px;
	padding: 0px;
	margin: 0px;
}
#galeria section {
	display: grid;
	grid-template-columns: repeat(900, 100vw);
	transition: all 0.5s ease-out;
	z-index: -200;
	height: 600px;
}
#galeria article {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 0px;
	justify-items: center;
	align-items: center;
	background: #000;
	padding: 10px 50px;
	max-height: 600px;
}
#ppgaleria #galeria article img {
	max-width: 100%;
	width: 100%;
	height: 100%;
	max-height: 600px;
}

#show_galeria #galeria article img {
	max-height: 100%;
	max-width: 100%;
	width: auto;
	height: auto;
}

#ppgaleria h2 {
	font-size: 28px;
}
#ppgaleria #galeria article {
	padding: 0px;
}
#ppgaleria #galeria img {
	max-height: 600px;
	width: 100%;
	height: 100%;
	min-width: 100vw;
	min-height: 600px;
	object-fit: cover;
}

/* Serviços */
#ppservicos {
	padding: 0px 50px 80px 50px;
	text-align: center;
}
#ppservicos section {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 10px;
	padding: 30px 0 0 0;
}
#ppservicos article {
    padding: 10px;
}
#ppservicos article figure {
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 0px;
    padding: 0px;
}
#ppservicos article img {
    display: block;
    padding:  0px;
    margin:  0 auto 0 auto;
    vertical-align: top;
    width: auto;
    height: auto;
    max-width: 100%;
}
#ppservicos article h2 {
    font-size: 20px
}
#ppservicos article p {
    font-size: 14px
}

/* Barra */
#barra {
	background: url(../img/barra.jpg) no-repeat center center;
	background-size: cover;
	padding: 0px;
	margin: 0px;
}
#barra div {
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	padding: 150px 50px;
	color: #FFF;
}
#barra h2 {
	max-width: 900px;
	margin: auto;
}

#ppnoticias {
	padding: 0 50px 80px 50px;
	background: #f2f2f2;
}
#ppnoticias section {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 20px;
}
#ppnoticias img {
	display: block;
	vertical-align: top;
	width: 100%;
	height: auto;
}
#ppnoticias .botoes {
	text-align: center;
}

footer {
	background: url(../img/footer.jpg) no-repeat center center;
	background-size: cover;
	padding: 30px 50px;
	display: grid;
	grid-template-columns: repeat(3, 1.5fr) 3fr;
	grid-gap: 20px;
	color: #FFF;
}
footer ul {
	list-style: none;
	padding: 0px;
	margin: 0px;
}
footer ul:last-of-type {
	justify-self: end;
}
footer ul:last-of-type li:nth-of-type(1) a::before {
	content: '';
	display: inline-block;
	vertical-align: top;
	-webkit-mask: url(../img/facebook.svg) no-repeat center center;
	-webkit-mask-size: cover;
	mask: url(../img/facebook.svg) no-repeat center center;
	mask-size: cover;
	width: 20px;
	height: 20px;
	margin: 0 7px 0 0;
	background-color: #000;
	transition: color 0.5s;
}
footer ul:last-of-type li:nth-of-type(1) a:hover::before {
	background-color: #999;
}
footer ul:last-of-type li:nth-of-type(2) a::before {
	content: '';
	display: inline-block;
	vertical-align: top;
	-webkit-mask: url(../img/instagram.svg) no-repeat center center;
	-webkit-mask-size: cover;
	mask: url(../img/instagram.svg) no-repeat center center;
	mask-size: cover;
	width: 20px;
	height: 20px;
	margin: 0 7px 0 0;
	background-color: #000;
	transition: color 0.5s;
}
footer ul:last-of-type li:nth-of-type(2) a:hover::before {
	background-color: #999;
}
footer h2 {
	font-size: 28px;
	white-space: nowrap;
	padding: 0px;
	margin: 0px;
}

#baixo {
	background: #000;
	padding: 7px 50px;
	color: #FFF;
	font-size: 11px;
}

.botoes {
	text-align: right;
	padding: 50px 0 0 0;
}
.botoes a {
	display: inline-block;
	vertical-align: top;
	padding: 7px 15px;
	color: #000;
	font-weight: 500;
	font-size: 14px;
	text-transform: uppercase;
	border: #000 1px solid;
	border-radius: 30px;
}
.botoes a:hover {
	background: #000;
	color: #FFF;
}

/* Notícias */
.entry {
	box-sizing: border-box;
	background: #FFF;
	box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
	display: block;
	vertical-align: top;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	margin-bottom: 25px;
}
.entry figure {
	display: block;
	vertical-align: top;
	padding: 0px;
	margin: 0px;
	position: relative;
	width: 100%;
	height: auto;
}
.entry figure img {
	display: block;
	vertical-align: top;
	padding: 0px;
	margin: 0px;
	width: 100%;
	height: auto;
	max-height: 200px;
	object-fit: cover;
}
.entry div {
	display: block;
	vertical-align: top;
	padding: 0px 20px;
	margin: 0px;
}
.entry h2 {
	margin-top: 0px;
  	font-weight: 800;
  	font-size: 18px;
	letter-spacing: 0.1em;
	font-weight: 400;
	text-transform: uppercase;
	padding: 10px 0;
	margin: 0px;
}
.entry_feed {
	display: grid;
	grid-gap: 50px 0;
}

#aviso_cks {
	background: rgba(0, 0, 0, 0.7);
	position: fixed;
	width: 100%;
	top: 0px;
	z-index: 9999999;
	opacity: 1;
	transition: all 0.5s;
}
#aviso_cks div {
	max-width: 980px;
	width: auto;
	margin: 0 auto 0 auto;
	padding: 15px 0 15px 0;
}
#aviso_cks * {
	color: #FFF;
}
#aviso_cks a {
	font-weight: bold;
}
#aviso_cks input {
	padding: 0px 13px 0px 13px;
	border: none;
	margin: 0 0 0 15px;
	outline: none;
	font-size: 12px;
	font-weight: normal;
	cursor: pointer;
	cursor: hand;
}
#aviso_cks input:hover {
	color: #000;
	background: #FFF;
	transition: all 0.5s;
}

#mensagem {
	text-align: center;
	padding-top: 100px;
	padding-bottom: 120px;
	width: 400px;
	margin-left: auto;
	margin-right: auto;
	color: #161616;
}
#mensagem div {
	padding-top: 30px;
	color: #161616;
}

#contactos {
	display: grid;
	grid-template-columns: auto calc(100%/2.8);
	grid-gap: 0 60px;
}
#contactos form {
	display: block;
	vertical-align: top;
	max-width: 100%;
}
#contactos form label {
	display: block;
	vertical-align: top;
	font-weight: bold;
	margin: 0 0 5px 0;
} 
#contactos form textarea {
	margin: 0 0 20px 0;
}
#contactos h2 {
	text-align: left;
}

#redes {
	text-align: right;
	padding-bottom: 30px;
	margin-bottom: 50px;
	border-bottom: #CCC 1px solid;
}

/* Notícias relacionadas */
#relacionadas {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 30px 30px;
}
#relacionadas article {
	display: grid;
	grid-template-columns: 152px auto;
	grid-gap: 0 10px;
}
#relacionadas article figure {
	display: block;
	vertical-align: top;
	padding: 0px;
	margin: 0px;
	border: #000 1px solid;
}
#relacionadas article figure img {
	display: block;
	vertical-align: top;
	padding: 0px;
	margin: 0px;
	max-width: 150px;
	height: auto;
}


@keyframes slideInFromTop {
	0% {
		transform: translateY(-100px);
		opacity: 0;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}
@keyframes slideInFromBottom {
	0% {
		transform: translateY(100px);
		opacity: 0;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}
@keyframes slideInFromLeft {
	0% {
		transform: translateX(-100px);
		opacity: 0;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}	
}
@keyframes slideInFromRight {
	0% {
		transform: translateX(100px);
		opacity: 0;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}	
}

@media only screen and (max-width: 1010px) {
	#corpo, .corpo {
		padding-left: 40px;
		padding-right: 40px;	
	}
	#corpo *, .corpo * {
		max-width: 100%;
		height: auto;
	}
}

@media (max-width: 992px) {
	nav .hamburger {
		display: inline-block;
		vertical-align: top;
		padding: 0px;
		margin: 0 auto 0 auto;
	}
	nav #menu {
		position: absolute;
		transform: translate(-350px, 30px);
		width: 350px;
	}
	nav menu ul {
		text-align: center;
		justify-self: unset;
	}
	nav menu ul ul {
		display: none;
		text-align: center;
		padding: 10px;
		margin: 0px;
		left: 0px;
		right: 0px;
		position: absolute;
		z-index: 9999;
		max-width: none;
		width: 100%;
	}
	nav menu ul ul li label.activo {
		display: block;
		border: none;
	}
	nav menu ul ul li {
		display: block;
		vertical-align: top;
		color: #FFF;
		padding:  10px;
	}
	nav menu ul ul li a, nav menu ul ul li label {
		color: #FFF;
		display: block;
		font-size: 16pt;
		border-bottom: none;
	}
	nav menu ul ul li label, nav menu ul ul li label:hover {
		cursor: pointer;
		cursor: default;
		background: #FFF;
		color: #000;
		font-weight: 400;
	}
	nav menu ul ul li a:hover {
		background: #FFF;
		color: #000;
		border-bottom: none;
	}
	nav menu.is-active ul ul {
		background: rgba(0, 0, 0, 0.5);
		display: block;
	}
	nav menu.is-active ul ul li ul {
		background: none;
		margin: 0px;
	}
	nav menu ul ul li ul, nav menu ul {
		position: relative;
		box-shadow: none;
		display: block;
		padding: 0px;
		border-radius: 0px;
	}
	nav menu ul ul li ul li a {
		text-align: center;
		font-size: 12pt;
		text-transform: uppercase;
		padding: 7px 0 7px 0;
		margin: 0px;
		color: #FFF;
	}
	nav menu ul ul li ul li a:hover {
		color: #000;
	}
	
	nav menu .is-active ul ul li ul {
		display: none;
		margin: 0px;
	}
	nav menu .is-active ul ul li:hover > ul {
		display: block;
	}
}
@media (max-width: 700px) {
	#intro {
		display: block;
	}
	#ppservicos section {
		grid-template-columns: repeat(2, 1fr);
	}
	#ppnoticias section {
		grid-template-columns: auto;
	}
	footer {
		text-align: center;
		grid-template-columns: auto;
	}
	footer ul:last-of-type {
		justify-self: unset;
	}
	#baixo {
		text-align: center;
	}
	.duas_colunas, .tres_colunas, #contactos, #relacionadas {
		grid-template-columns: auto;
		grid-gap: 60px 0;
		grid-template-areas: unset;
	}
	.colesq, .coldir {
		grid-area: unset;
	}
}

