body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: #222;
  -webkit-text-size-adjust: 100%; 
  background-color: #fff;
  position: relative;
}

/* ==========================================================================
Typography logo
========================================================================== */

p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
label {
  margin: 0;
  padding: 0;
  color:#222;
}

p {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 300;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.pt p {
  font-weight: 400;
  text-align: justify;
}

.en p {
  font-weight: 300;
  text-align: justify;
}

p strong {
  font-weight: 700;
}

h1 {
  font-size: 42px; 
  font-weight: 700;
  line-height: 1;
}

h2 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 10px;
}

h3 {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
}

/* ==========================================================================
Global Styles
========================================================================== */
a {
  color: inherit;
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease;
  -webkit-transition-duration: 200ms;
  transition-duration: 200ms;
  -webkit-transition-property: color, border-color, background-color;
  transition-property: color, border-color, background-color; 
}

a:hover, 
a:focus {
  text-decoration: underline;
  color:inherit;
}

ul, ol {
  margin: 0;
  padding: 0; 
}

ul li {
  list-style: none; 
}

img {
  max-width:100%;
}

.hero {
  width:100%;
  position: relative;
}

section.blocco {
  padding-top: 40px;
  padding-bottom: 100px;
}

section.blocco:last-child {
  padding-bottom: 80px;
}

/* ==========================================================================
NAVIGATION
========================================================================== */
.navicon {
  display:none;
}

.navigation.navbar-static-top {
  position: fixed;
  top: 0;
}

header {
  height: 80px;
  position: relative;
  width: 100%;
  margin: 0 auto;
}

header .header-content {
  padding-top: 10px;

  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-pack:start;
  -ms-flex-pack:start;
  justify-content:flex-start;

  -webkit-box-align:end;
  -ms-flex-align:end;
  align-items:flex-end;
}

header .header-content a {
  text-transform: uppercase; 
}

header .header-content .logo {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -ms-grid-row-align: center;
  align-items: center;
  height:60px;
  background: transparent;
  z-index:9998;
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}

.navigation.navbar-static-top header .header-content .logo a {
  background: url(../img/asset/logo-porto-novo-bianco.svg);
  background-size: 100% auto;
  background-repeat: no-repeat;
  width:85px;
  height:50px;
  display:block;
}

.navigation.navbar-static-top.white header .header-content .logo a {
  background: url(../img/asset/logo-porto-novo-nero.svg);
  background-size: 100% auto;
  background-repeat: no-repeat;
}

header ul.primary-nav,
 {
  margin: 0;
  padding: 0; 
  padding-top:5px;
  padding-right:10px;
}
    
header ul.primary-nav li {
  display: inline; 
  padding: 0px;
  margin-left:75px;
  border-bottom:1px solid transparent;
}

.navigation header ul li a {
  color: #fff;
  font-weight: 300; 
  font-size:24px;
  -webkit-transition: color 300ms ease-in-out;
  transition: color 300ms ease-in-out;
}

.navigation.white header ul li a {
  color: #222;
}

header .header-nav {
  display: inline-block;
  width:100%;
  padding-bottom:2px;
}

header .header-nav nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack:justify;
  -ms-flex-pack:justify;
  justify-content:space-between;
}

.navigation {
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out; 
  position: absolute;
  width: 100%; 
  z-index: 999999; 
}

.navigation.white {
  background: #fff;
}

.navigation.navbar-static-top {
  -webkit-transition: all 600ms ease-in-out;
  transition: all 600ms ease-in-out; 
  top: 0;
}

.splash .navigation {
  visibility: hidden;
}

/* ==========================================================================
Hero Slider
========================================================================== */
.home {
  position: relative;
  min-height:100vh;
}

.payoff {
  height: 100vh;
}

.payoff .main-content {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#home-slider {
  height: 100vh;
  width:100vw;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}

#home-slider .slide {
  height: 100vh;
  width:100vw;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

#home-slider .slide.one {
  /*background-image: url(../img/hero/cover-3.jpg);
  background-repeat:no-repeat;
  background-size: cover;
  background-position: center;*/
  
}

/* ==========================================================================
About
========================================================================== */
.about {
  background-color: #fff;
  width:100%;
  position: relative;
}

.about .logo-animato {
  margin-top:80px;
  height: 60vh;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;

  -webkit-box-align:center;
  -ms-flex-align:center;
  align-items:center;
}

.about .logo-animato img {
  width:80%;
  max-width: 300px;
}

#headingintro a.accordion-btn {
  display: block;
  padding: 10px;
  margin: 0 auto;
  color: #000;
  -webkit-transition: color 0.1s;
  transition: color 0.1s;
}

#headingintro a.accordion-btn.active {
  color: #fff;
}

.preview {
  position: relative;
}

.preview p,
.preview h2 {
  color: #fff;
}

.past {
  background-color: #192857;
}

.now {
  background-color: #7b795c;
}

.future {
  background-color: #4b3444;
}

/*PAST PREVIEW*/
.past-carousel div,
.now-carousel div,
.future-carousel div,
.past-carousel2 div,
.now-carousel2 div,
.future-carousel2 div {
  /*min-height: calc(90vh - 60px);*/
  height: calc(90vh - 60px);
  max-height: 670px;
  width:100%;
  text-align: center;
  background-size: auto 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.preview {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.preview .cta {
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
}

.preview .cta > div {
  position: relative;
  height:100%;
}

.preview .cta > div a {
  position: absolute;
  bottom: 0;
}

.preview .cta svg {
  width: 60px;
  height: auto;
}

/* ==========================================================================
Carousel
========================================================================== */
.slick-prev {
  left: -15px;
}

.slick-next {
  right: -15px;
}

/* ==========================================================================
Projects
========================================================================== */
.tabella {
  margin-top: 60px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 10px solid #fff;
  border-bottom: 10px solid #fff;
}

.partners > div {
  background-color: #fff;
  padding: 10px;
}

.partners img {
  padding-right: 20px;
  height: 60px;
  width: auto;
  margin-bottom: 20px;
}

/* ==========================================================================
Past, Future, Now, Contacts
========================================================================== */
.page-past .past,
.page-now .now,
.page-future .future,
.page-contacts .contacts {
  padding-top: 120px;
}

.past .accordion,
.now .accordion,
.future .accordion,
.contacts .accordion {
  margin-top:120px;
}

.page-past .past p,
.page-now .now p,
.page-future .future p {
  color:#fff;
}

.page-contacts p {
  color: #000;
}

.blocco a:hover,
.blocco a:focus,
.blocco a:active {
  text-decoration: none;
}

.blocco .tabella a:hover,
.blocco .tabella a {
  text-decoration: underline;
}

#headingmdj a.accordion-btn,
#headingcowork a.accordion-btn,
#headingfarmhouse a.accordion-btn {
  display: block;
  padding: 10px;
  margin: 0 auto;
  color: #fff;
  -webkit-transition: color 0.1s;
  transition: color 0.1s;
}

#headingmdj a.accordion-btn.active {
  color: #192857;
}

#headingcowork a.accordion-btn.active {
  color: #7b795c;
}

#headingfarmhouse a.accordion-btn.active {
  color: #4b3444;
}

/* ==========================================================================
Contacts
========================================================================== */
.page-contacts .preview p, 
.page-contacts .preview h2 {
  color:#000;
}

.page-contacts .contacts .contacts-stack {
  margin-top: 120px;
  height:100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;

  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.page-contacts .card-container {
  text-align: center;
}

.page-contacts .card {
  display:inline-block;
  padding: 10px;
  animation: colorchange 5s infinite;
  -webkit-animation: colorchange 5s infinite;
  text-align: left;
}

.page-contacts .card p {
  color: #fff;
  margin: 0;
}

.page-contacts svg#cta-footer {
  width:80px;
}

.contact-txt {
  margin: 120px auto 40px;
}

footer.info.contact-footer {
  color: #000;
  padding-bottom: 20px;
  text-align: center;
}

footer.info.contact-footer span {
  display: inline-block;
}

.page-contacts footer.info.contact-footer {
  padding-top: 20px;
}

.documento a {
  font-size:12px;
  font-weight: bold;
  padding: 10px;
  background-color: #f7f7f7;
}

.documento a:hover {
  text-decoration: underline;
}

/* ==========================================================================
Footer
========================================================================== */
footer.contacts {
  height:calc(100vh - 60px);
  padding-top:40px;
  padding-bottom:40px;
  background: #fff;
}

footer.contacts .container {
  height: 100%;
}

footer.contacts .contacts-stack {
  height:100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;

  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

footer .card-container {
  text-align: center;
}

footer .card {
  display:inline-block;
  padding: 10px;
  animation: colorchange 5s infinite;
  -webkit-animation: colorchange 5s infinite;
  text-align: left;
}

footer .card p {
  color: #fff;
  margin: 0;
}

footer svg#cta-footer {
  width:80px;
}

@keyframes colorchange {
  0%   {background: #7b795c;}
  24%   {background: #7b795c;}

  25%  {background: #001f5b;}
  49%  {background: #001f5b;}

  50%  {background: #4b3444;}
  74%  {background: #4b3444;}

  75%  {background: #313b3a;}
  100%  {background: #313b3a;}
}

@-webkit-keyframes colorchange {
  0%   {background: #7b795c;}
  24%   {background: #7b795c;}

  25%  {background: #001f5b;}
  49%  {background: #001f5b;}

  50%  {background: #4b3444;}
  74%  {background: #4b3444;}

  75%  {background: #313b3a;}
  100%  {background: #313b3a;}
}

footer.info {
  color: #fff;
  padding-bottom: 20px;
  text-align: center;
}

footer.info span {
  display: inline-block;
}

.page-past footer.info.past,
.page-now footer.info.now,
.page-future footer.info.future {
  padding-top: 20px;
}
