/* Reset CSS
 * --------------------------------------- */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre,
form, fieldset, input, textarea, p, blockquote, th, td {
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
  color: #000;
  cursor: pointer;
}

table {
  border-spacing: 0;
}

fieldset, img {
  border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {
  font-weight: normal;
  font-style: normal;
}

strong {
  font-weight: bold;
}

ol, ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

caption, th {
  text-align: left;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  font-size: 100%;
  margin: 0;
  padding: 0;
  color: #444;
}

q:before, q:after {
  content: '';
}

abbr, acronym {
  border: 0;
}

/* Custom CSS
 * --------------------------------------- */
body {
  font-family: arial, helvetica;
  color: #000;
}

.wrap {
  margin-left: auto;
  margin-right: auto;
  width: 960px;
  position: relative;
}

h1 {
  font-size: 6em;
}

p {
  font-size: 2em;
}

.intro p {
  width: 50%;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.5) !important;
}

.section {
  text-align: center;
}

#menu li {
  display: inline-block;
  margin: 10px;
  color: #000;
  background: #fff;
  background: rgba(255, 255, 255, 0.5);
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

#menu li.active {
  background: #666;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

#menu li a {
  text-decoration: none;
  color: #000;
}

#menu li.active a:hover {
  color: #000;
}

#menu li:hover {
  background: rgba(255, 255, 255, 0.8);
}

#menu li a,
#menu li.active a {
  padding: 9px 18px;
  display: block;
}

#menu li.active a {
  color: #fff;
}

#menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 40px;
  z-index: 70;
  width: 100%;
  padding: 0;
  margin: 0;
}

.twitter-share-button {
  position: fixed;
  z-index: 99;
  right: 149px;
  top: 9px;
}

#download {
  margin: 10px 0 0 0;
  padding: 15px 10px;
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #49afcd;
  background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
  background-image: -ms-linear-gradient(top, #5bc0de, #2f96b4);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));
  background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
  background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
  background-image: linear-gradient(top, #5bc0de, #2f96b4);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0);
  border-color: #2f96b4 #2f96b4 #1f6377;
  border-color: rgba(0, 0, 0, .1) rgba(0, 0, 0, .1) rgba(0, 0, 0, .25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  vertical-align: middle;
  cursor: pointer;
  display: inline-block;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

#download a {
  text-decoration: none;
  color: #fff;
}

#download:hover {
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
  background-color: #2F96B4;
  background-position: 0 -15px;
  -webkit-transition: background-position .1s linear;
  -moz-transition: background-position .1s linear;
  -ms-transition: background-position .1s linear;
  -o-transition: background-position .1s linear;
  transition: background-position .1s linear;
}

#infoMenu {
  height: 20px;
  color: #f2f2f2;
  position: fixed;
  z-index: 70;
  bottom: 0;
  width: 100%;
  text-align: right;
  font-size: 0.9em;
  padding: 8px 0 8px 0;
}

#infoMenu ul {
  padding: 0 40px;
}

#infoMenu li a {
  display: block;
  margin: 0 22px 0 0;
  color: #333;
}

#infoMenu li a:hover {
  text-decoration: underline;
}

#infoMenu li {
  display: inline-block;
  position: relative;
}

#examplesList {
  display: none;
  background: #282828;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  padding: 20px;
  float: left;
  position: absolute;
  bottom: 29px;
  right: 0;
  width: 638px;
  text-align: left;
}

#examplesList ul {
  padding: 0;
}

#examplesList ul li {
  display: block;
  margin: 5px 0;
}

#examplesList ul li a {
  color: #BDBDBD;
  margin: 0;
}

#examplesList ul li a:hover {
  color: #f2f2f2;
}

#examplesList .column {
  float: left;
  margin: 0 20px 0 0;
}

#examplesList h3 {
  color: #f2f2f2;
  font-size: 1.2em;
  margin: 0 0 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
  -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 0 0 5px 0;
}

/* Demos Menu
 * --------------------------------------- */
#demosMenu {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 999;
}

svg#hi-there {
  fill: none;
  stroke: #bdc3c7;
}

h1 {
  font-family: 'EB Garamond', serif !important;
  font-size: 50px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
  color: #000 !important;
  margin-bottom: 40px !important;
}

p {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  width: 800px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-bottom: 10px;
}

.contenitoreelenco {
  width: 650px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-bottom: 10px;
}

.leftelenco, .rightelenco {
  width: 50%;
  float: left;
}

.leftelenco1, .centerelenco1, .rightelenco1 {
  width: calc(33% - 0.5px);
  float: left;
}

#section2 p {
  margin-bottom: 30px;
  text-align: justify;
}

#section4 h1 {
  margin-bottom: 30px !important;
}

#section4 .leftelenco1, #section4 .centerelenco1 {
  height: 280px;
  border-right: 1px solid rgba(0, 0, 0, 0.5);
}

li {
  margin-bottom: 5px;
}

#section4 p {
  width: auto;
}

h2 {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  color: #000;
  margin-top: 20px;
}

.slideDown {
  animation-name: slideDown;
  -webkit-animation-name: slideDown;
  animation-duration: 1s;
  -webkit-animation-duration: 1s;
  animation-timing-function: ease;
  -webkit-animation-timing-function: ease;
  visibility: visible !important;
}

@keyframes slideDown {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0%);
  }
}

@-webkit-keyframes slideDown {
  0% {
    -webkit-transform: translateY(-100%);
  }

  50% {
    -webkit-transform: translateY(8%);
  }

  65% {
    -webkit-transform: translateY(-4%);
  }

  80% {
    -webkit-transform: translateY(4%);
  }

  95% {
    -webkit-transform: translateY(-2%);
  }

  100% {
    -webkit-transform: translateY(0%);
  }
}

nav.nav ul li {
  display: inline;
  margin: 0px 10px;
  font-style: italic;
}

nav.nav {
  margin-top: 40px;
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  margin-bottom: 10px;
}

*, *:after, *::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

nav a:hover {
  color: #7f8c8d;
}

.slideDown2 {
  animation-name: slideDown2;
  -webkit-animation-name: slideDown2;
  animation-duration: 2s;
  -webkit-animation-duration: 2s;
  animation-timing-function: ease;
  -webkit-animation-timing-function: ease;
  visibility: visible !important;
}

@keyframes slideDown2 {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }

  50% {
    opacity: 0;
    transform: translateY(-100%);
  }

  75% {
    opacity: 0.65;
    transform: translateY(8%);
  }

  87, 5% {
    opacity: 0.80;
    transform: translateY(-4%);
  }

  90% {
    opacity: 0.95;
    transform: translateY(4%);
  }

  95% {
    opacity: 0.95;
    transform: translateY(-2%);
  }

  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}

@-webkit-keyframes slideDown2 {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-100%);
  }

  50% {
    opacity: 0;
    -webkit-transform: translateY(-100%);
  }

  75% {
    opacity: 0.65;
    -webkit-transform: translateY(8%);
  }

  87, 5% {
    opacity: 0.80;
    -webkit-transform: translateY(-4%);
  }

  90% {
    opacity: 0.95;
    -webkit-transform: translateY(4%);
  }

  95% {
    opacity: 0.95;
    -webkit-transform: translateY(-2%);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0%);
  }
}

.contenitoreprofessionisti {
  width: 800px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.persona {
  width: 50%;
  float: left;
}

.persona p {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  font-style: italic;
  width: auto;
}

#section1 p {
  text-align: justify;
}

.testoextra1 {
  display: none;
}

div#section1, div#section2, div#section4 {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.testoextra {
  display: table-cell;
  vertical-align: middle;
  width: 100%;
}

.next-work-arrow {
  position: absolute;
  opacity: .7;
}

.next-work-arrow svg {
  width: 150px;
  height: 70px;
}

.next-work-arrow svg path {
  fill: #1c1d25;
  transition: all .3s ease;
}

@media only screen and (max-width: 850px) {
  p {
    width: 600px;
  }

  .contenitoreprofessionisti {
    width: 600px;
  }

  .persona {
    width: 50%;
  }
}

@media only screen and (max-width: 700px) {
  nav ul {
    width: 410px;
    margin-left: auto;
    margin-right: auto;
  }

  nav.nav ul li {
    line-height: 40px;
  }
}

@media only screen and (max-width: 700px) {
  p {
    width: 400px;
  }

  .contenitoreprofessionisti {
    width: 100%;
  }

  svg#hi-there {
    width: 400px;
  }

  nav.nav ul li {
    display: block;
  }

  .contenitoreelenco {
    width: 400px;
  }

  .leftelenco, .rightelenco {
    width: 100%;
    float: left;
  }

  .testoextra {
    display: none;
  }

  .testoextra1 {
    display: block;
  }

  h1 {
    font-size: 22px !important;
  }
}

@media only screen and (max-width: 550px) {
  svg#hi-there {
    width: 270px;
  }

  nav ul {
    width: 230px;
  }

  p {
    width: 200px;
  }

  .contenitoreelenco {
    width: 330px;
  }

  .persona {
    width: 100%;
  }

  #section3 h1 {
    margin-bottom: 10px !important;
  }

  .persona h2 {
    margin-top: 8px;
  }

  #section4 .leftelenco1 {
    height: 280px;
    border-right: 0px solid rgba(0, 0, 0, 0.5);
  }

  .leftelenco1, .centerelenco1, .rightelenco1 {
    width: 100%;
    float: left;
  }
}