/*FONTS <<< Carregar as fontes no ficheiro fonts.css >>> */
/* @import url('https://fonts.googleapis.com/css?family=Lato:400,900&display=swap'); */
/* @import url('https://fonts.googleapis.com/css?family=Livvic:400,900&display=swap'); */
@import url('https://fonts.googleapis.com/css?family=PT+Serif:400i&display=swap');
/* @import url('https://fonts.googleapis.com/css?family=DM+Serif+Text:400i&display=swap'); */

@font-face {
    font-family: 'Basic Sans';
    src: url('fonts/BasicSans-Light.eot');
    src: url('fonts/BasicSans-Light.eot?#iefix') format('embedded-opentype'),
        url('fonts/BasicSans-Light.woff2') format('woff2'),
        url('fonts/BasicSans-Light.woff') format('woff'),
        url('fonts/BasicSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Basic Sans';
    src: url('fonts/BasicSans-Regular.eot');
    src: url('fonts/BasicSans-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/BasicSans-Regular.woff2') format('woff2'),
        url('fonts/BasicSans-Regular.woff') format('woff'),
        url('fonts/BasicSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Basic Sans';
    src: url('fonts/BasicSans-Bold.eot');
    src: url('fonts/BasicSans-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/BasicSans-Bold.woff2') format('woff2'),
        url('fonts/BasicSans-Bold.woff') format('woff'),
        url('fonts/BasicSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Basic Sans';
    src: url('fonts/BasicSans-Black.eot');
    src: url('fonts/BasicSans-Black.eot?#iefix') format('embedded-opentype'),
        url('fonts/BasicSans-Black.woff2') format('woff2'),
        url('fonts/BasicSans-Black.woff') format('woff'),
        url('fonts/BasicSans-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

:root {
  --mainColor: #fff;
}

body {
   font-family: 'Basic Sans', sans-serif;
   font-size: 15px;
   /* font-weight: 400; */
   font-weight: normal;
   color: #fff;
}

section:not(#login) {
  position: relative;
  z-index: 10;
  display: flex;
  height: inherit;
  align-items: center;
}

a,
a:hover {
  text-decoration: none;
  color: #fff;
}

.wrap {
  max-width: 1200px;
  width: 100%;
  position: relative;
  padding: 0 4vw;
  margin: 0 auto;
}

*::-webkit-scrollbar {
  display: none;
}

* {
  -ms-overflow-style: none; /* IE 11 */
  scrollbar-width: none; /* Firefox 64 */
}

.size36 {
  font-size: 36px;
}
.size26 {
  font-size: 26px;
}
.size20 {
  font-size: 24px;
}

.transition {
  transition: all .4s;
}

.italic {
  font-style: italic;
}

.xtraBold {
  font-weight: 900;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.uppercase {
  text-transform: uppercase;
}

.cta {

}

.cta:hover {

}

/* LOGIN PAGE static-login.php  */
#login .form-wrap,
#passwordRecovery form {
  text-align: center;
  max-width: 500px;
  margin: auto;
  padding: 0 4vw;
  color: #333;
}

#login .form-group,
#passwordRecovery .form-group {
  display: flex;
  flex-direction: column;
  padding: 5px 0;
}

#login .form-group:first-of-type {
  padding: 25px 0 0 0;
}

#login .form-group input,
#passwordRecovery .form-group input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

#header {
  padding: 15px 0;
  background: rgba(0,0,0,.85);
  position: fixed;
  z-index: 100;
  width: 100%;
}

#header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: static;
}

#header .logo {
  margin: 0 20px 0 0;
  max-width: 80px;
}

#header .mainNav {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

#header .link {
  color: #fff;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 5px 15px;
  position: relative;
}

#header .link:last-of-type {
  margin-right: 0;
}

#header .link::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1));
  transition: all .4s;
}

#header .link:hover {
  text-shadow: -20px 0 0 #fff;
  color: transparent;
}

#header .link span {
  color: #7b7b7b;
  text-transform: lowercase;
  font-size: 80%;
  margin: 8px 0 0 0;
  text-shadow: none;
}

#header .link:hover::after {
  width: 100%;
  right: initial;
  left: 0;
}

#header .burger {
  position: relative;
  min-width: 30px;
  min-height: 30px;
  cursor: pointer;
  display: none;
}

#header .burger li {
  position: absolute;
  background: #fff;
  top: 15px;
  left: 0;
  width: 100%;
  height: 2px;
}

#header .burger li:first-child {
  top: 5px;
}

#header .burger li:last-child {
  top: 25px;
  width: 80%;
}

#header .langNode a {
  text-transform: uppercase;
  margin: 5px 0 0 30px;
  display: inline-block;
  opacity: .5;
  transition: all .4s;
}

#header .langNode a:hover {
  opacity: 1;
}

#header .langNode a.active {
  display: none;
}

#footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,.85);
  padding: 5px 0;
  z-index: 10;
}

#footer .wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#footer .link {
  padding: 5px;
  font-size: 24px;
  color: #fff;
}

#footer .fb-like {
  margin: 0 0 0 20px;
}

#footer .link:hover {
  opacity: .5;
}

#content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  padding-top: 150px;
  padding-bottom: 60px;
}

#content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 5;
  background: url('../images/default/dots.png') repeat;
}

#content .main {
  max-height: calc(100vh - 210px);
}

#content .main .wrap {
  display: flex;
  max-height: calc(100vh - 210px);
  overflow: auto;
  padding: 20px 4vw 0 4vw;
}

#content .main .box1 {
  width: 30%;
}

#content .main .box1:first-of-type {
  /* margin: 0 20px 0 0; */
}

#content .main .box1:last-of-type {
  width: 70%;
  /* margin: 0 0 0 20px; */
}

#content .home {
  align-items: flex-end;
  padding-bottom: 4vw;
}

#content .home .wrap {
  /* justify-content: flex-end; */
  /* align-items: flex-end; */
  overflow: initial;
}

#content .home .node1 {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

#content .home .box1 {
  width: 35%;
  cursor: pointer;
  background: #000;
  position: relative;
  min-width: 400px;
}

#content .home .box1:last-of-type {
  width: 35%;
}

#content .home .box1 .img {
  height: 0;
  /* padding-top: 0; */
  /* padding-top: 56.25%; */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  width: 100%;
  bottom: 100%;
}

#content .slick {
  background-color: rgba(0,0,0,.75);
}

#content .slide {
  transition: all 1.5s !important;
  transform: translateY(-100%);
  filter: blur(3px);
}

#content .slide.slick-current {
  transform: translateY(0);
  filter: blur(0);
}

#content .slide .img {
  height: 0;
  padding-top: 56.25%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#content .home .box2 {
  padding: 20px;
}

#content .home .text1,
#content .home .text2 {
  padding: 7px 0 0 0;
  margin: 7px 0 0 0;
  border-top: 1px solid rgba(255,255,255,.2);
  position: relative;
  color: rgba(255,255,255,.6);
}

#content .home .text1 {
  text-transform: none;
}

#content .home .text2 {
  display: none;
}

#content .home .text1::after {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1));
  transition: all .4s;
}

#content .home .box1:hover .img {
  /* padding-top: 56.25%; */
  padding-top: 56.25%;
}

#content .home .box1:hover .text1::after {
  width: 100%;
  left: 0;
  right: initial;
}

#content .home .box1:hover h2 {
  text-shadow: 30px 0 0 rgba(255,255,255,.8);
  color: transparent;
}

#content .about .box2,
#content .services .box2,
#content .projects .box2,
#content .clients .box2,
#content .contacts .box2 {
  background: rgba(0,0,0,.9);
  box-shadow: 0 0 10px rgba(0,0,0,.3);
  padding: 20px 35px 60px 35px;
}

#content .about .text1,
#content .services .text1,
#content .projects .text1,
#content .clients .text1,
#content .contacts .text1 {
  margin: 14px 0 0 0;
  color: rgba(255,255,255,.6);
  font-family: 'PT Serif', serif;
  /* font-family: 'DM Serif Text', serif; */
}

#content .about .text3,
#content .services .text3,
#content .projects .text3,
#content .clients .text3,
#content .contacts .text3 {
  padding: 0 0 10px 0;
  margin: 0 0 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
}

#content .contacts .node2 {
  font-size: 80%;
  opacity: .6;
  margin: 5px;
  display: block;
  width: max-content;
  cursor: pointer;
  color: #fff;
}

#content .contacts .node3 {
  display: flex;
  padding: 10px 0;
}

#content .listUl {
  margin: 40px 0 0 0;
}

#content .listLi {
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
  cursor: pointer;
  position: relative;
  color: rgba(255,255,255,.8);
}

#content .listLi::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1));
  transition: all .4s;
}

#content .listLi:hover,
#content .listLi.active {
  color: transparent;
  text-shadow: 20px 0 0 #fff;
}

#content .listLi:hover::after {
  width: 100%;
  left: 0;
  right: initial;
}

#content .listBurger {
  margin: 30px 0 0 0;
  border: 1px solid rgba(255,255,255,.2);
  padding: 7px;
  background: rgba(255,255,255,.3);
  display: none;
  cursor: pointer;
}

#content .projectListUl {
  display: flex;
  background: #000;
  flex-wrap: wrap;
}

#content .main.projects .projectListUl.marginRight {
  width: calc(100% - 20px);
  left: 20px;
  position: relative;
}

#content .projectListLi {
  width: 33.33%;
  cursor: pointer;
  position: relative;
}

#content .projectListLi .img {
  position: absolute;
  top: 0;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 0 solid #000;
}

#content .projectListLi:hover .img {
  transform: scale(1.2);
  z-index: 20;
  box-shadow: 0 0 5px rgba(0,0,0,.3);
  border: 3px solid #000;
  background-color: #000;
}

#content .projectListLi .text4 {
  padding: calc(56.25% + 20px) 20px 40px 20px;
  z-index: 25;
  position: relative;
  font-weight: bold;
}

#content .projectListLi .text5 {
  color: #7f7f7f;
  padding: 5px 0 0 0;
  font-size: 80%;
  line-height: 140%;
}

#content .projectListLi:hover .text4 {

}

#content .projectListLi:hover .text4 h2 {
  color: transparent;
  text-shadow: 20px 0 0 #fff;
}

#content .clients .projectListUl {
  margin: 30px 0 0 0;
  background: none;
}

#content .clients .projectListUl .text4 {
  padding: 56.25% 0 0 0;
}

#content .contactForm {
  margin: 30px 0 0 0;
}

#content .contactForm input:not(.form-check-input),
#content .contactForm textarea,
#content .formNewsletter input:not(.form-check-input),
#content .formNewsletter textarea {
  width: 100%;
  padding: 7px;
  margin: 0 0 7px 0;
  font-family: 'Basic Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  max-height: 80px;
}

#content .contactForm .form-check,
#content .formNewsletter .form-check {
  display: flex;
  align-items: center;
  font-size: 80%;
}

#content .contactForm .form-check *,
#content .formNewsletter .form-check * {
  margin: 0 3px 0 0;
  font-size: 90%;
}

#content .contactForm button,
#content .formNewsletter button {
  margin: 10px 0 0 0;
  border: 1px solid rgba(255,255,255,.2);
  padding: 7px;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  width: 100%;
  color: #fff;
}

#content .contactForm button:hover,
#content .formNewsletter button:hover {
  background: rgba(255,255,255,1);
  color: #333;
}

#content .formNewsletter {
  margin: 10px 0 0 0;
  max-width: 400px;
}

#content .address {
  color: #a7a7a7;
}

#content .projects .text6 {
  padding: 50px 0 20px 0;
  font-weight: bold;
}

#content .projects .externalLink {
  padding: 20px 0 0 0;
  position: relative;
  display: inline-block;
}

.slick-dots {
  display: flex;
  position: absolute;
  bottom: 15px;
  left: 15px;
  flex-direction: column;
}

.slick-dots button {
  overflow: hidden;
  text-indent: -9999px;
  width: 10px;
  height: 10px;
  background: rgba(0,0,0,.3);
  margin: 5px;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.3);
}

.slick-dots .slick-active button {
  background: #000;
}

.textContent > p {
  padding: 0 0 20px 0;
  color: #a7a7a7;
  line-height: 150%;
}

.textContent > p:last-of-type {
  padding: 0;
}

.textContent a {
  color: #fff;
  text-decoration: underline;
}

.textContent ul {
    list-style: circle;
    /*paddding: 0 0 0 15px;*/
}

.textContent ul li {
    padding: 0 0 15px 0;
    list-style-position: inside;
}

#header .langNode {
  position: absolute;
  right: 30px;
  font-size: 12px;
}

#content .node1 {
  padding: 40px 0 0 0;
  text-transform: uppercase;
}

#content .projectListLi .node2 {
  font-weight: bold;
}

#content .node3 {
  line-height: 160%;
  color: rgba(255,255,255,.6);
  font-weight: 300;
}

#content .projects .node4 a {
  padding: 20px 0;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  position: relative;
}

#content .projects .node4 a::after {
  content: "_";
  position: absolute;
  bottom: 0;
  left: 0;
}

#content .projects .node4 a.no100::after {
  content: "";
}

#content .node5 {
  /* max-width: 290px; */
}

#content .main .box1 > .box2 {
  margin: 0 20px 0 0;
}

#content .main .box1:last-of-type > .box2 {
  margin: 0 0 0 20px;
}

#content .main .box1 > .ajaxContainer {
  margin: 0 0 0 20px;
}

#content .popupNode {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,.95);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
}

#content .popupNode.active {
  opacity: 1;
  pointer-events: all;
}

#content .popupNode .pop1 {
  padding: 10px 10px 50px 10px;
  background: #fff;
  width: 100%;
  max-width: 640px;
  border: 5px solid #000;
  border-radius: 10px;
  position: relative;
}

#content .popupNode .icon-close {
  color: #333;
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 10px;
  border-radius: 50%;
  border: 2px solid #ccc;
  font-size: 10px;
  cursor: pointer;
  font-weight: bold;
}

#content .popupNode .videoContainer {
  position: relative;
  width: 100%;
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,.1);
}

#content .popupNode .mainVideo {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
	height: 0;
}

#content .popupNode .mainVideo iframe {
  position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#content .main.home .box1:first-of-type {
  margin: 0 20px 0 0;
}

@media only screen and (min-width : 1300px) {
  #content .main .wrap {
    max-width: initial;
    padding: 20px calc(54vw - 600px) 0 calc(54vw - 600px);
  }
}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1400px) {
  #header .langNode {
    right: 10px;
  }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
  .size36 {
    font-size: 30px;
  }
  .size26 {
    font-size: 22px;
  }
  .size20 {
    font-size: 18px;
  }

  #header {
    padding: 8px 0;
  }

  #header .logo {
    max-width: 50px;
  }

  #header .mainNav {
    position: absolute;
    top: 100%;
    flex-direction: column;
    left: 100%;
    width: 100%;
    padding: 10px 4vw;
    background: rgba(0,0,0,.9);
  }

  #header .mainNav.active {
    left: 0;
  }

  #header .link {
    width: 100%;
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px dotted rgba(255,255,255,.5);
  }

  #header .link span {
    display: none;
  }

  #header .link:last-child {
    border-bottom: none
  }

  #header .burger {
    display: block;
  }

  #header .burger.active li {
    opacity: 0;
  }

  #header .burger.active li:nth-child(2) {
    opacity: 1;
    transform: rotate(45deg);
  }

  #header .burger.active li:nth-child(3) {
    opacity: 1;
    transform: rotate(-45deg);
  }

  #header .langNode {
    display: block;
    text-align: right;
    width: 100%;
  }

  #footer .wrap {
    justify-content: center;
  }

  #footer .link {
    padding: 5px 3px;
  }

  #footer .fb-like {
    margin: 0 0 0 10px;
  }

  #content {
    padding-top: 60px;
    padding-bottom: 50px;
  }

  #content .main {
    max-height: calc(100vh - 110px);
    padding-bottom: 70px;
  }

  #content .home {
    padding-bottom: 70px;
  }

  #content .main .wrap {
    max-height: calc(100vh - 170px);
    flex-direction: column;
  }

  #content .main .box1 {
    width: 100%;
    min-width: initial;
  }

  #content .main .box1:first-of-type,
  #content .main .box1:last-of-type {
    margin: 10px 0 0 0;
    width: 100%;
  }

  #content .home .img {
    display: none;
  }

  #content .home .box1:hover h2 {
    text-shadow: none;
    color: #fff;
  }

  #content .home .text1 {
    display: none;
  }

  #content .home .text2 {
    display: block;
  }

  #content .listBurger {
    display: block;
  }

  #content .listUl {
    position: absolute;
    opacity: 0;
  }

  #content .listUl.active {
    position: relative;
    opacity: 1;
  }

  #content .projectListLi {
    width: 50%;
  }

  #header .langNode {
    position: relative;
    right: initial;
  }

  #content .home .node1 {
    flex-direction: column;
  }

  #content .node5 {
    max-width: initial;
  }

  #content .main .box1 > .box2 {
    margin: 0;
  }

  #content .main .box1 > .ajaxContainer {
    margin: 0;
  }

  #content .main .box1:last-of-type > .box2 {
    margin: 0;
  }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
  #content .projectListLi {
    width: 100%;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 576px) {

}

#popupNode {
  position: fixed;
  z-index: 200;
  height: 100vh;
  width: 100vw;
  top: 0;
  left: 0;
  background: rgba(255,255,255,.95);
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  color: rgba(51,51,51,1);
}

#popupNode.active {
  opacity: 1;
  pointer-events: all;
}

#popupNode .ajaxContainer {
  position: relative;
  width: 100%;
  background: rgba(255,255,255,1);
  max-width: 1000px;
  max-height: 715px;
  padding: 40px;
  box-shadow: 0 0 20px rgba(0,0,0,.1);
}

#popupNode .maxHeight {
  height: 100%;
}

#popupNode .ajaxContent {
  width: 100%;
  height: 100%;
  overflow: auto;
}

#popupNode .popupCloseNode {
  z-index: 20;
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 18px;
  padding: 5px;
  background: rgba(255,255,255,1);
  color: rgba(51,51,51,1);
  box-shadow: 0 0 10px rgba(0,0,0,.1);
  cursor: pointer;
}

#popupNode .popupCloseNode:hover {
  background: rgba(51,51,51,1);
  color: rgba(255,255,255,1);
}

#popupNode .maxHeight::before,
#popupNode .maxHeight::after {
  content: "\e908";
  font-family: "icomoon";
  position: absolute;
  transform: rotate(90deg);
  top: 20%;
  right: 2px;
  font-size: 20px;
  animation-name: popupScroll;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  opacity: 1;
}

#popupNode .maxHeight::after {
  top: calc(20% - 5px);
  animation-name: popupScroll2;
}

#p0 .node1 {
  padding: 0 0 20px 0;
}

#popupNode a,
#popupNode a:hover {
  text-decoration: none;
  color: rgba(51,51,51,1);
}
