@font-face {
  font-family: "HalvarStnclMittel-RgMinG";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/HalvarStnclMittel-RgMinG.woff2") format("woff2"), url("fonts/HalvarStnclMittel-RgMinG.woff") format("woff"); }

body, html {
  font-family: "IBM Plex Mono", monospace;
  -webkit-text-size-adjust: 100%;
  margin: 0;
  padding: 0;
  border: none;
  color: #634C3B;
  font-size: 15px;
  -webkit-font-smoothing: antialiased; }

a {
  color: inherit;
  text-decoration: none;
  -moz-transition: opacity 0.3s ease-out;
  /* WebKit */
  -webkit-transition: opacity 0.3s ease-out;
  /* Opera */
  -o-transition: opacity 0.3s ease-out;
  /* Standard */
  transition: opacity 0.3s ease-out; }

a:hover, .botao:hover {
  text-decoration: none;
  opacity: 0.7; }

.bold, strong, b {
  font-weight: 700; }

.black {
  font-weight: 900; }

input, textarea {
  outline: none; }

.acenter {
  text-align: center; }

.italic {
  font-style: italic; }

.left {
  float: left; }

.right {
  float: right; }

.clear {
  clear: both; }

.relative {
  position: relative; }

.absolute {
  position: absolute; }

.vvhide {
  visibility: hidden; }

.block {
  display: block; }

.aright {
  text-align: right; }

.hide {
  display: none; }

textarea,
input[type="text"],
input[type="button"],
input[type="submit"] {
  -webkit-appearance: none;
  border-radius: 0; }

button, input[type=button], input[type=submit] {
  -webkit-appearance: none; }

#main {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  /*
	margin-left: calc(20px / 2);
	margin-right: calc(20px / 2);
*/ }

header {
  position: fixed;
  width: calc( ( 1 * 60px ) + ( 1 * 20px));
  height: 100vh;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border-right: solid 1px #634C3B;
  z-index: 900; }
  @media only screen and (max-width: 767px) {
    header {
      width: 35px; } }
  header
.header-inner {
    position: relative;
    height: 100%;
    width: 100%; }
    header
.header-inner
.h1-inner {
      background-color: gray;
      position: relative;
      margin-left: 20px; }
      @media only screen and (max-width: 767px) {
        header
.header-inner
.h1-inner {
          margin-left: 2px; } }
      header
.header-inner
.h1-inner
.h1 {
        white-space: nowrap;
        font-size: 40px;
        line-height: 40px;
        font-family: "HalvarStnclMittel-RgMinG";
        position: absolute;
        top: 30px;
        right: 100%;
        -webkit-transform: rotate(270deg);
        -webkit-transform-origin: right top;
        -moz-transform: rotate(270deg);
        -moz-transform-origin: right top;
        -ms-transform: rotate(270deg);
        -ms-transform-origin: right top;
        -o-transform: rotate(270deg);
        -o-transform-origin: right top;
        transform: rotate(270deg);
        transform-origin: right top; }
        @media only screen and (max-width: 767px) {
          header
.header-inner
.h1-inner
.h1 {
            top: 100px;
            font-size: 30px;
            line-height: 30px; } }
    header
.header-inner
.menu_open_wrap {
      position: absolute;
      bottom: 30px;
      left: 50%;
      margin-left: -15px; }
      @media only screen and (max-width: 767px) {
        header
.header-inner
.menu_open_wrap {
          bottom: auto;
          top: 20px; } }
      header
.header-inner
.menu_open_wrap .menu_open {
        width: 30px;
        height: 21px;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
        position: relative;
        z-index: 10000; }
      header
.header-inner
.menu_open_wrap .menu_open span {
        display: block;
        position: absolute;
        height: 2px;
        width: 100%;
        background: #634C3B;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out; }
      header
.header-inner
.menu_open_wrap .menu_open span:nth-child(1) {
        top: 0px; }
      header
.header-inner
.menu_open_wrap .menu_open span:nth-child(2), header
.header-inner
.menu_open_wrap .menu_open span:nth-child(3) {
        top: 8px; }
      header
.header-inner
.menu_open_wrap
.menu_open span:nth-child(3) {
        box-shadow: none; }
      header
.header-inner
.menu_open_wrap .menu_open span:nth-child(4) {
        top: 16px;
        width: 100%; }
      header
.header-inner
.menu_open_wrap .menu_open.open span:nth-child(1) {
        top: 8px;
        width: 0%;
        left: 50%;
        box-shadow: none; }
      header
.header-inner
.menu_open_wrap .menu_open.open span:nth-child(2) {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg); }
      header
.header-inner
.menu_open_wrap .menu_open.open span:nth-child(3) {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg); }
      header
.header-inner
.menu_open_wrap .menu_open.open span:nth-child(4) {
        top: 7px;
        width: 0%;
        left: 50%;
        box-shadow: none; }
  header
nav {
    position: absolute;
    width: calc( ( 3 * 60px ) + ( 3 * 20px));
    height: 100vh;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: solid 1px #634C3B;
    top: 0px;
    left: calc( ( 1 * 60px ) + ( 1 * 20px));
    background-color: #fff;
    display: none; }
    @media only screen and (max-width: 767px) {
      header
nav {
        left: 35px; } }
    header
nav
.nav-inner {
      position: absolute;
      bottom: 60px; }
      header
nav
.nav-inner
ul {
        margin: 0;
        padding: 0;
        margin-left: 60px; }
        header
nav
.nav-inner
ul
li {
          list-style: none;
          font-size: 21px;
          line-height: 35px;
          text-transform: uppercase; }
      header
nav
.nav-inner
.lang {
        padding-top: 180px;
        margin-left: 60px;
        font-size: 21px;
        text-transform: uppercase; }

section {
  margin-left: calc( ( 1 * 60px ) + ( 1 * 20px));
  min-height: calc(100vh - 100px);
  padding-bottom: 100px; }
  @media only screen and (max-width: 767px) {
    section {
      margin-left: 35px; } }
  section
.flexslider
img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block; }
  section
.flexslider
video {
    max-width: 100%;
    height: auto;
    display: block;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
     width: 100%; }
  section
.flexslider
.video_wrap {
    position: relative; }
    section
.flexslider
.video_wrap
.playpause {
      position: absolute;
      top: 50%;
      left: 50%;
      z-index: 400;
      width: 100px;
      margin-left: -50px;
      margin-top: -50px;
      display: none; }
      section
.flexslider
.video_wrap
.playpause
img {
        max-width: 100%;
        height: auto;
        display: block; }
      section
.flexslider
.video_wrap
.playpause.off {
        display: none; }
    section
.flexslider
.video_wrap
.pause {
      right: 0px;
      left: auto; }
  section
.conteudo {
    margin-left: auto;
    margin-right: auto;
    width: 70%; }
    @media only screen and (max-width: 767px) {
      section
.conteudo {
        width: 90%; } }
  section
.template1 {
    padding-top: 50px; }
    section
.template1
.h-wrap {
      padding-top: 50px; }
      section
.template1
.h-wrap
h1 {
        font-size: 50px;
        line-height: 60px;
        font-family: "HalvarStnclMittel-RgMinG";
        text-decoration: underline; }
        @media only screen and (max-width: 767px) {
          section
.template1
.h-wrap
h1 {
            font-size: 30px;
            line-height: 40px; } }
      section
.template1
.h-wrap
h2 {
        font-size: 50px;
        line-height: 60px;
        text-decoration: underline;
        font-weight: 300; }
        @media only screen and (max-width: 767px) {
          section
.template1
.h-wrap
h2 {
            font-size: 25px;
            line-height: 35px; } }
  section
.template2 {
    padding-top: 80px; }
    section
.template2
.texto {
      margin-left: calc(( 1 * 60px ) + ( 1 * 20px));
      margin-right: calc(( 1 * 60px ) + ( 1 * 20px)); }
      @media only screen and (max-width: 1023px) {
        section
.template2
.texto {
          margin-left: 0px;
          margin-right: 0px; } }
  section
.template4 {
    padding-top: 80px; }
  section
.template5 {
    padding-top: 150px; }
  section
.template6 {
    padding-top: 100px; }
    section
.template6
.ficheiros {
      margin: 0;
      padding: 0;
      margin-left: calc(( 1 * 60px ) + ( 1 * 20px)); }
      @media only screen and (max-width: 767px) {
        section
.template6
.ficheiros {
          margin-left: 30px; } }
      section
.template6
.ficheiros
li {
        list-style: none;
        text-decoration: underline;
        font-size: 18px;
        line-height: 25px;
        margin-top: 10px; }
        section
.template6
.ficheiros
li:first-child {
          margin-top: 0px; }
  section
.template7 {
    padding-top: 100px; }
    section
.template7
.lista-artigos {
      margin: 0;
      padding: 0;
      font-size: 0px; }
      section
.template7
.lista-artigos
li {
        list-style: none;
        margin-top: 70px; }
        section
.template7
.lista-artigos
li:first-child {
          margin-top: 0px; }
        section
.template7
.lista-artigos
li
.artigo-img {
          width: calc(( 4 * 60px ) + ( 3 * 20px));
          height: calc(( 4 * 60px ) + ( 3 * 20px));
          background-color: #d0c9c4;
          background-size: cover;
          background-position: center center;
          background-repeat: no-repeat;
          -webkit-border-radius: 100%;
          -moz-border-radius: 100%;
          -ms-border-radius: 100%;
          border-radius: 100%; }
          @media only screen and (max-width: 1023px) {
            section
.template7
.lista-artigos
li
.artigo-img {
              width: calc(( 2 * 60px ) + ( 1 * 20px));
              height: calc(( 2 * 60px ) + ( 1 * 20px)); } }
          @media only screen and (max-width: 767px) {
            section
.template7
.lista-artigos
li
.artigo-img {
              margin-left: auto;
              margin-right: auto;
              margin-bottom: 10px; } }
        section
.template7
.lista-artigos
li
.artigo-info {
          margin-left: calc(( 1 * 60px ) + ( 0 * 20px));
          width: calc( 100% - (( 5 * 60px ) + ( 3 * 20px))); }
          @media only screen and (max-width: 1023px) {
            section
.template7
.lista-artigos
li
.artigo-info {
              width: calc( 100% - (( 3 * 60px ) + ( 2 * 20px))); } }
          @media only screen and (max-width: 767px) {
            section
.template7
.lista-artigos
li
.artigo-info {
              display: block;
              width: 100%;
              margin: 0; } }
          section
.template7
.lista-artigos
li
.artigo-info
h3 {
            font-size: 22px;
            line-height: 32px;
            text-decoration: underline;
            margin-bottom: 30px; }
          section
.template7
.lista-artigos
li
.artigo-info
a:hover {
            opacity: 1; }
  section
.template8 {
    padding-top: 100px; }
  section
.template2 + .template5 {
    padding-top: 75px; }
  section
.blocks > .template5 {
    padding-top: 100px; }
  section
.wrap_error {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 35vh; }
  section#wrap_localizacao
.template2 {
    margin-left: calc( -1 * (( 1 * 60px ) + ( 1 * 20px))); }
    @media only screen and (max-width: 1023px) {
      section#wrap_localizacao
.template2 {
        margin-left: 0px; } }

.texto_destaque {
  font-family: "HalvarStnclMittel-RgMinG";
  font-size: 35px;
  line-height: 50px;
  padding-right: calc(( 3 * 60px ) + ( 3 * 20px)); }
  @media only screen and (max-width: 1023px) {
    .texto_destaque {
      padding-right: calc(( 2 * 60px ) + ( 2 * 20px)); } }
  @media only screen and (max-width: 767px) {
    .texto_destaque {
      padding-right: 15%; } }
  .texto_destaque
.texto_destaque_grande {
    font-size: 45px;
    line-height: 60px; }
  .texto_destaque
.texto_destaque_pequeno {
    font-size: 26px;
    line-height: 40px; }

.texto {
  font-size: 16px;
  line-height: 26px; }

.texto_identacao {
  margin-left: calc(( 0 * 60px ) + ( 1 * 20px)); }

footer {
  margin-left: calc( ( 1 * 60px ) + ( 1 * 20px));
  height: calc( ( 1 * 60px ) + ( 1 * 20px));
  border-top: solid 1px #634C3B;
  font-size: 12px;
  text-transform: uppercase; }
  @media only screen and (max-width: 767px) {
    footer {
      margin-left: 35px; } }
  footer
.footer-inner {
    height: 100%;
    margin-left: calc( ( 1 * 60px ) + ( 1 * 20px));
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    align-items: center; }
    @media only screen and (max-width: 1023px) {
      footer
.footer-inner {
        margin-left: 30px;
        width: 70%;
        height: auto;
        padding-top: 10px;
        padding-bottom: 10px; } }
    @media only screen and (max-width: 767px) {
      footer
.footer-inner {
        width: 100%;
        margin-left: 0px;
        text-align: center; } }
    footer
.footer-inner
.logo_terra {
      width: calc( ( 2 * 60px ) + ( 1 * 20px));
      margin-right: calc 30px; }
      @media only screen and (max-width: 1023px) {
        footer
.footer-inner
.logo_terra {
          margin-right: 0px; } }
      @media only screen and (max-width: 767px) {
        footer
.footer-inner
.logo_terra {
          display: block;
          width: 100%;
          margin: 0px; } }
      footer
.footer-inner
.logo_terra
img {
        max-width: 70%;
        height: auto;
        display: block; }
        @media only screen and (max-width: 767px) {
          footer
.footer-inner
.logo_terra
img {
            max-width: 40%;
            margin-left: auto;
            margin-right: auto;
            margin-top: 20px;
            margin-bottom: 10px; } }
    @media only screen and (max-width: 767px) {
      footer
.footer-inner
.links {
        width: 100%;
        text-align: center; } }
    footer
.footer-inner
.logo_aepga {
      width: calc( ( 1 * 60px ) + ( 1 * 20px));
      margin-left: 60px; }
      @media only screen and (max-width: 1023px) {
        footer
.footer-inner
.logo_aepga {
          margin-left: 30px; } }
      @media only screen and (max-width: 767px) {
        footer
.footer-inner
.logo_aepga {
          display: block;
          width: 100%;
          margin: 0px; } }
      footer
.footer-inner
.logo_aepga
img {
        max-width: 70%;
        height: auto;
        display: block; }
        @media only screen and (max-width: 767px) {
          footer
.footer-inner
.logo_aepga
img {
            max-width: 20%;
            margin-left: auto;
            margin-right: auto;
            margin-top: 10px;
            margin-bottom: 20px; } }
    footer
.footer-inner
.socials {
      margin: 0;
      padding: 0;
      margin-left: 60px; }
      @media only screen and (max-width: 1023px) {
        footer
.footer-inner
.socials {
          margin-left: 30px; } }
      @media only screen and (max-width: 767px) {
        footer
.footer-inner
.socials {
          margin: 0px;
          width: 100%;
          display: block; } }
      footer
.footer-inner
.socials
li {
        list-style: none;
        display: block; }
    footer
.footer-inner
.copy {
      margin-left: 60px; }
      @media only screen and (max-width: 1023px) {
        footer
.footer-inner
.copy {
          margin-left: 30px; } }
      @media only screen and (max-width: 767px) {
        footer
.footer-inner
.copy {
          margin: 0px;
          width: 100%;
          text-align: center; } }

.ml {
  margin-left: calc( ( 1 * 60px ) + ( 1 * 20px)); }

mlminus {
  margin-left: calc( -1 * ( 1 * 60px ) + ( 1 * 20px)); }

.loader {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: #fff;
  background-image: url(/images/loading.gif);
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 9999; }

#cookie_msg {
  height: 30px;
  background-color: #634C3B;
  text-align: center;
  color: #fff;
  font-size: 11px;
  line-height: 30px;
  display: none;
  width: 100%;
  position: fixed;
  z-index: 99999; }
  @media only screen and (max-width: 767px) {
    #cookie_msg {
      height: 30px;
      font-size: 10px;
      line-height: 15px; } }

#cookie_accept {
  text-decoration: underline; }

.under {
  min-height: 20px;
  background-color: #000;
  text-align: center; }

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0; }

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; }

.goTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 99999; }
  @media only screen and (max-width: 767px) {
    .goTop {
      bottom: 5px;
      right: 5px; } }

.wrap_error {
  min-height: 70vh; }
