/* -------------------------------- 

Primary style

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

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "Raleway", sans-serif;
  color: #FFF;
  background-color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #FFF;
  text-decoration: none;
    -webkit-transition-duration: 0.6s;
    -moz-transition-duration: 0.6s;
    transition-duration: 0.6s;
}

a:hover {
  color: #EFEFEF;
    text-decoration: none;
}

/* -------------------------------- 

Slideshow 

-------------------------------- */
.cd-slideshow-wrapper {
  overflow: hidden;
}
@media only screen and (min-width: 1100px) {
  .cd-slideshow-wrapper {
    height: 100vh;
  }
}

.cd-slideshow {
  position: relative;
}
.cd-slideshow::before {
  /* never visible - this is used in jQuery to check the current MQ */
  content: 'mobile';
  display: none;
}
.cd-slideshow .sub-slides {
  width: 100%;
  /* Force Hardware acceleration */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}
.cd-slideshow .sub-slides::after {
  clear: both;
  content: "";
  display: table;
}
.cd-slideshow > li, .cd-slideshow .sub-slides > li {
  position: relative;
  z-index: 1;
  height: 100vh;
  width: 100vw;
}
.cd-slideshow > li::after, .cd-slideshow .sub-slides > li::after {
  clear: both;
  content: "";
  display: table;
}
.cd-slideshow .sub-slides > li {
  float: left;
}
.cd-slideshow .slider-dots {
  /* 
  	dots visible on mobile when a slide has sub-slides
  	you won't see this element in the html - created using jQuery
  */
  position: absolute;
  z-index: 3;
  bottom: 20px;
  left: 0;
  width: 100vw;
  text-align: center;
}
.cd-slideshow .slider-dots li {
  display: inline-block;
  height: 10px;
  width: 10px;
  margin-right: 5px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  -webkit-transition: background-color 0.3s;
  -moz-transition: background-color 0.3s;
  transition: background-color 0.3s;
}
.cd-slideshow .slider-dots li.active {
  background-color: #ffffff;
}
.cd-slideshow .slider-dots li:last-of-type {
  margin-right: 0;
}
.cd-slideshow.remove-transitions {
  /* 
  	remove transition on transforms 
  	used to switch form a slide to another from the main navigation
  */
  -webkit-transition: -webkit-transform 0s;
  -moz-transition: -moz-transform 0s;
  transition: transform 0s;
}
.cd-slideshow.remove-transitions .sub-slides {
  -webkit-transition: -webkit-transform 0s;
  -moz-transition: -moz-transform 0s;
  transition: transform 0s;
}
@media only screen and (min-width: 1100px) {
  .cd-slideshow {
    /* Force Hardware acceleration */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-transition: -webkit-transform 0.6s;
    -moz-transition: -moz-transform 0.6s;
    transition: transform 0.6s;
  }
  .cd-slideshow::before {
    /* never visible - this is used in jQuery to check the current MQ */
    content: 'desktop';
  }
  .cd-slideshow .sub-slides {
    -webkit-transition-duration: 0.6s;
    -moz-transition-duration: 0.6s;
    transition-duration: 0.6s;
  }
  .cd-slideshow > li, .cd-slideshow .sub-slides > li {
    height: auto;
    width: auto;
  }
  .cd-slideshow .slider-dots {
    opacity: 0;
    visibility: hidden;
  }
}

/* -------------------------------- 

Slide Content

-------------------------------- */
.cd-slider-content {
  position: relative;
  height: 100vh;
  width: 100vw;
  float: left;
  display: table;
  overflow: hidden;
}
.cd-slider-content .content-wrapper {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  background-color: #000;
  z-index: 9;
}

.content-home {
  position: absolute;
  top:0px;
  left: 0px;
  vertical-align: middle;
  text-align: center;
  z-index: 99;
  width: 100%;
  height: 100%;
}

.content-home h2 {
    position: absolute;
    bottom: 30px;
    left: 15px;
    color: #FFF !important; 
    font-size: 2rem !important;
}
.content-home .dati {
    position: absolute;
    bottom: 30px;
    right: 30px;
    color: #FFF !important; 
    font-size: 1rem !important;
    font-weight: normal;
   
}


/*@media only screen and (min-width: 1100px) {*/

.cd-slideshow > li:nth-of-type(1) .cd-slider-content .content-wrapper {
  background: #000;
}
.cd-slideshow > li:nth-of-type(2) .cd-slider-content .content-wrapper {
  background: transparent;
  z-index: 1;
  color:#FFF;
  text-shadow: 2px 2px 4px #000000;
}
.cd-slideshow > li:nth-of-type(2) .cd-slider-content .content-wrapper .bg{
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background:url("../img/foto-sel/IMG_4526-w1600.jpg")   no-repeat center center; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
    opacity: 0.9;
    background-color: #FFF;
}
.cd-slideshow > li:nth-of-type(3) .cd-slider-content .content-wrapper {
  background: transparent;
  z-index: 1;
  color:#FFF;
  text-shadow: 2px 2px 4px #000000;
}
.cd-slideshow > li:nth-of-type(3) .cd-slider-content .content-wrapper .bg{
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background:url("../img/foto-sel/IMG_4008-w1600.jpg")    no-repeat center center; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
    opacity: 0.9;
}
.cd-slideshow > li:nth-of-type(4) .cd-slider-content .content-wrapper {
    background: transparent;
    z-index: 1;
    color:#FFF;
    text-shadow: 2px 2px 4px #000000;
}
.cd-slideshow > li:nth-of-type(4) .cd-slider-content .content-wrapper .bg{
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background:url("../img/foto-sel/IMG_4234-w1600.jpg")    no-repeat center center; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
    opacity: 0.9;
}
.cd-slideshow > li:nth-of-type(5) .cd-slider-content .content-wrapper {
    background: transparent;
    z-index: 1;
    color:#FFF;
    text-shadow: 2px 2px 4px #000000;
}
.cd-slideshow > li:nth-of-type(5) .cd-slider-content .content-wrapper .bg{
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background:url("../img/foto-sel/IMG_5173-w1600.jpg")    no-repeat center center; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
    opacity: 0.9;
}
.cd-slideshow > li:nth-of-type(6) .cd-slider-content .content-wrapper {
    background: transparent;
    z-index: 1;
    color:#FFF;
    text-shadow: 2px 2px 4px #000000;
}
.cd-slideshow > li:nth-of-type(6) .cd-slider-content .content-wrapper .bg{
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background:url("../img/foto-sel/IMG_4002-w1600.jpg")    no-repeat center center; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
    opacity: 0.9;
}


/*}*/


.cd-slider-content h2 {
  font-size: 3rem;
  color: #FFF;
}
.cd-slider-content p {
  margin: 1em 0 2em;
}
@media only screen and (min-width: 1100px) {
  .cd-slider-content {
    height: 84vh;
    width: 90vw;
    margin: 2vh 5vw;

    height: 100vh;
    width: 100vw;
    margin: 0vh 0vw;

    cursor: pointer;
    overflow: hidden;

  }
  .visible .sub-visible .cd-slider-content, .visible > .cd-slider-content {
    /* visible slide */
    cursor: auto;
  }
  .cd-slideshow > li:first-of-type .cd-slider-content {
    margin-top: 8vh;
    margin-top: 0vh;
  }
  .sub-slides > li:first-of-type .cd-slider-content {
    margin-left: 0vw;
    margin-left: 0vh;
  }
  .sub-slides > li .cd-slider-content {
    margin-left: 1.25vw;
    margin-right: 1.25vw;
    margin-left: 0vh;
    margin-right: 0vh;

  }
  .cd-slider-content .content-wrapper {
    height: 100%;
    /* hide the slide content if the slide is not selected/visible */
    opacity: 0;
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-radius: inherit;
    -webkit-transition: opacity 0.6s;
    -moz-transition: opacity 0.6s;
    transition: opacity 0.6s;
  }
  .cd-slider-content::after {
    /* this is used to change the slide background color when the slide is out of focus */
    content: '';
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: inherit;
    background-color: #3a3a3a;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.6s, visibility 0.6s;
    -moz-transition: opacity 0.6s, visibility 0.6s;
    transition: opacity 0.6s, visibility 0.6s;
  }
  .visible .cd-slider-content .content-wrapper {
    opacity: 1;
  }
  .visible .cd-slider-content::after {
    opacity: 0;
    visibility: hidden;
  }
  .cd-slider-content h2 {
    font-size: 4rem;
    font-weight: 300;
  }
}

/* -------------------------------- 

Slideshow Navigation

-------------------------------- */


 
.cd-slideshow-nav {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%; 
}
.cd-slideshow-nav .cd-nav-items {
  position: fixed;
  z-index: 1;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  background-color: #171717;
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
  font-size: 16px;
  opacity: 0.9;
}

.cd-slideshow-nav .cd-lang-items {
  position: fixed;
  z-index: 1;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  background-color: #171717;
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
  font-size: 16px;
  opacity: 0.9;
}

.langitem{
    position: absolute;
    top: 35vh;
    left: 0px;
    width: 100%;
    font-size: 30px;
    text-align: center;
}
.langitem .lang {color:#666; min-width:80px; padding: 20px; border: 1px solid #666; font-size: 30px; display: inline-block; margin: 20px;}
.langitem a .lang {color:#FFF; min-width:80px; padding:20px; border: 1px solid #FFF;  font-size: 30px; display: inline-block; margin: 20px;}

.cd-slideshow-nav .cd-nav-items > ol {
  overflow: visible;
  padding: 30px 20px 0px 30px;
}
.cd-slideshow-nav ol ol {
  padding-left: 1em;
}
.cd-slideshow-nav a {
  color: #ffffff;
  display: inline-block;
  margin-bottom: .3em;
  font-size: 1.5rem;
}
.cd-nav-items a:before {
  /* list bullets */
  position: relative;
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #6e6e6e;    
  border-radius: 50%;
  margin-right: .4em;
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
  transform: translateY(-2px);
}
.cd-slideshow-nav.nav-open .cd-nav-items {
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}
.cd-slideshow-nav.lang-open .cd-lang-items {
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}
.cd-slideshow-nav.nav-open .cd-nav-items > ol {
  -webkit-overflow-scrolling: touch;
}
@media only screen and (min-width: 1100px) {
  .cd-slideshow-nav .cd-nav-items  {
    padding: 10vh 5vw;
  }
  .cd-slideshow-nav ol ol {
    padding-left: 1em;
  }
  .cd-slideshow-nav a {
    font-weight: normal;
    color: #EFEFEF;
    font-size: 2rem;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
    margin-bottom: 1.5rem;
  }
  .cd-slideshow-nav a:before {
    /* list bullets */
    width: 10px;
    height: 10px;
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
  }
  .no-touch .cd-slideshow-nav a:hover {
    color: #ffffff;
  }
  .cd-slideshow-nav .cd-nav-items > ol > li:nth-of-type(1) a:hover::before,
  .cd-slideshow-nav .cd-nav-items > ol > li:nth-of-type(1) li a:hover::before {
    background: #000;
  }
  .cd-slideshow-nav .cd-nav-items > ol > li:nth-of-type(2) a:hover::before,
  .cd-slideshow-nav .cd-nav-items > ol > li:nth-of-type(2) li a:hover::before {
    background: #FFF;
  }
  .cd-slideshow-nav .cd-nav-items > ol > li:nth-of-type(3) a:hover::before,
  .cd-slideshow-nav .cd-nav-items > ol > li:nth-of-type(3) li a:hover::before {
    background: #56b456;
  }
  .cd-slideshow-nav .cd-nav-items > ol > li:nth-of-type(4) a:hover::before,
  .cd-slideshow-nav .cd-nav-items > ol > li:nth-of-type(4) li a:hover::before {
    background: #52bccf;
  }
  .cd-slideshow-nav .cd-nav-items > ol > li:nth-of-type(5) a:hover::before,
  .cd-slideshow-nav .cd-nav-items > ol > li:nth-of-type(5) li a:hover::before {
    background: #df8a2f;
  }
  .cd-slideshow-nav .cd-nav-items > ol > li:nth-of-type(6) a:hover::before,
  .cd-slideshow-nav .cd-nav-items > ol > li:nth-of-type(6) li a:hover::before {
    background: #c14fce;
  }
}

.cd-nav-trigger {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  height: 40px;
  width: 40px;
  cursor: pointer;
  border-radius: 0%;
  border: none;
  outline: none;
  background-color: rgba(0, 0, 0, 0.8);
  /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);*/
  /* replace text with image */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  color: transparent;
}
.cd-nav-trigger span, .cd-nav-trigger span::after, .cd-nav-trigger span::before {
  /* used to create the menu icon */
  position: absolute;
  height: 2px;
  width: 18px;
  background-color: #ffffff;
}
.cd-nav-trigger span {
  /* menu icon middle line */
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  -webkit-transition: background-color 0.3s;
  -moz-transition: background-color 0.3s;
  transition: background-color 0.3s;
}
.cd-nav-trigger span::after, .cd-nav-trigger span::before {
  content: '';
  left: 0;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}
.cd-nav-trigger span::before {
  /* menu icon middle top line */
  -webkit-transform: translateY(-6px);
  -moz-transform: translateY(-6px);
  -ms-transform: translateY(-6px);
  -o-transform: translateY(-6px);
  transform: translateY(-6px);
}
.cd-nav-trigger span::after {
  /* menu icon middle bottom line */
  -webkit-transform: translateY(6px);
  -moz-transform: translateY(6px);
  -ms-transform: translateY(6px);
  -o-transform: translateY(6px);
  transform: translateY(6px);
}
.nav-open .cd-nav-trigger span {
  background-color: transparent;
}
.nav-open .cd-nav-trigger span::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.nav-open .cd-nav-trigger span::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
@media only screen and (min-width: 1100px) {
  .cd-nav-trigger {
    height: 48px;
    width: 48px;
    left: calc(2.5vw - 24px);

    top: calc(4vh - 24px);

    left: calc(94.5vw - 4px);
    top: calc(6vh - 24px);
  }
}

/* -------------------------------- 

no-js

-------------------------------- */
.no-js .cd-slideshow-wrapper {
  overflow: visible;
  height: auto;
}

.no-js .cd-slideshow > li,
.no-js .cd-slideshow .sub-slides > li {
  height: auto;
  width: 100vw;
  margin: 0;
}

.no-js .cd-slider-content {
  margin: 0;
  height: 100vh;
  width: 100%;
  border-radius: 0;
}

.no-js .cd-slideshow > li:first-of-type .cd-slider-content,
.no-js .sub-slides > li:first-of-type .cd-slider-content,
.no-js .sub-slides > li .cd-slider-content {
  margin: 0;
}

.no-js .cd-slider-content .content-wrapper {
  opacity: 1;
  box-shadow: none;
}

.no-js .cd-slider-content::after {
  opacity: 0;
  visibility: hidden;
}

.no-js .cd-nav-trigger {
  display: none;
}

.no-js .cd-slideshow-nav {
  position: static;
}

.no-js #icon-keyboard {
  display: none;
}

.no-js .cd-slideshow-nav .cd-nav-items {
  position: static;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}

.no-js .cd-slideshow-nav .cd-lang-items {
  position: static;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}

.no-js .cd-slideshow-nav .cd-nav-items {
  height: auto;
}

.no-js .cd-slideshow-nav .cd-lang-items {
  height: auto;
}

.no-js .sub-nav {
  display: none;
}

#logo {position: absolute; top:20px; left: 20px; max-width: 120px; background:transparent;
background: transparent;
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; /* IE8 */   
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);   /* IE6 & 7 */      
zoom: 1;    
}

.tagline{position: absolute; top:100px; left: 20px; max-width: 200px; color: #999; font-size: 9px}

#logo a {border:0; margin: 0; padding: 0}
.fa-angle-double-down {font-size: 20px; position: absolute; bottom: 20px;}

/*.bottom {display: none}*/


  .bottom { 
    display:block;
    position: absolute;
    top: -80px;
    left: 0px;
    margin: 0px auto;
    padding: 0px; 
    text-align: center;
    width: 100vw;   
    z-index: 100;
    background-image: url("../img/bottom.png");
    background-repeat:no-repeat;
    background-position: center bottom;
    height:65px;
    opacity: 0.9;
    filter: alpha(opacity=90); /* For IE8 and earlier */

 
    -webkit-animation-name: levitate;
    -webkit-animation-duration: 1.5s;
    -webkit-animation-delay: cubic-bezier(.445, .05, .55, .95);
    -webkit-animation-timing-function: 1s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    -webkit-animation-fill-mode: none;
    animation-name: levitate;
    animation-duration: 1.5s;
    animation-delay: cubic-bezier(.445, .05, .55, .95);
    animation-timing-function: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-fill-mode: none;
 
        }


@keyframes levitate {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(0, 10px);
  }
}
/*
.top { position: absolute;
    bottom: -70px;
    left: 0px;
    margin: 0px auto;
    padding: 0px; 
    text-align: center;
    width: 100vw;
    z-index: 100;
    background-image: url("../img/top.png");
    background-repeat:no-repeat;
    background-position: center top;height:50px;
    opacity: 0.2;
    filter: alpha(opacity=20);  

        }
        */
.right { position: absolute;
    left: -70px;
    top: 50%;
    margin: 0px auto;
    padding: 0px; 
    text-align: center;
    width: 10vw;
    z-index: 100;
    background-image: url("../img/right.png");
    background-repeat:no-repeat;
    background-position: center top;height:50px;
    opacity: 0.2;
    filter: alpha(opacity=20);  

        }



#video-container {
  position: absolute;
}
#video-container {
  top:0%;
  left:0%;
  height:100%;
  width:100%;
  overflow: hidden; 
}
video {
  position:absolute;
  z-index:0;
}
video.fillWidth {
  width: 100%;
  min-width: 1366px;
  align:center;
}

#js-rotating { position: absolute; top: 35%; left: 0px; width:100%; font-size: 1px; color:#000; text-shadow: 0px #000000; }
#js-rotating .animated { font-size: 40px; color:#FFF; text-shadow: 2px 2px 4px #000000; }
#js-rotating .grande {font-size: 80px;}



.animatetxt{
     -webkit-animation: slideleft 2.5s forwards;
     -webkit-animation-delay: 0.5s;
     animation: slideleft 2.5s forwards;
     animation-delay: 0.5s;
     position: relative;
     left:-300px;
}
@-webkit-keyframes slideleft {
    100% { left: 0; }
}

@keyframes slideleft {
    100% { left: 0; }
}

#casehistory {text-align: center}
.cd-slideshow > li:nth-of-type(4) .cd-slider-content .content-wrapper h2 { margin-bottom: 20px; }
#casehistory img {margin: 0px auto; padding: 0px; text-align: center; margin-bottom: 10px;}





  
.formsection{ padding-top: 5%; width:100%; text-align: left;  } 
.formsection h2 {padding-left: 15px; margin-bottom: 20px; }
.formsection input, .formsection select, .formsection textarea{opacity: 0.8; border-radius: 0}
.formsection a {text-decoration: underline;}

.qinfo {font-size: 80%;}

.subm .btn{ margin-left: 15px; background-color: #FFF; color: #000; border-radius: 0; border-color:#FFF;}


.cd-slideshow .txtsection {
  text-align: right;
  padding-left: 2%;
  width: 100%;
  padding-right: 4%;
  font-size: 90%;
      background-image: url("../img/transblack.png");
          padding-top: 2%;
    padding-bottom: 2%;
}


.pages {
  z-index: -2; position: relative;
  text-align: left;
}

.pages .txt{
  text-align: right;
    padding-left: 2%;
  width: 100%;
  padding-right: 4%;
  font-size: 100%;   
      background-image: url("../img/transblack.png");
          padding-top: 2%;
    padding-bottom: 2%;
}
 
.bgpages{
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.pages h1 {
  font-size: 4rem;
  color: #FFF;
  font-weight: 300;
  
    margin-bottom: 40px;
}

.pages h2 {
  font-size: 2rem;
  color: #FFF;
  font-weight: 200;
  margin-bottom: 10px;
}

.pages h3 {
  font-size: 3rem;
  color: #FFF;
  font-weight: 300;
  margin-bottom: 10px;
}


@media only screen and (min-width: 1100px) {
  #casehistory {padding-top:12%;}
  #casehistory h2 {padding-bottom:5%;}
  .formsection{ padding-left:20%; } 



  .cd-slideshow .txtsection {
  text-align: right;
  padding-left: 40%;
  width: 100%;
  padding-right: 10%;
  font-size: 110%;
  padding-top: 2%;
  padding-bottom: 2%;
  background-image: url("../img/transblack.png");
  }

  .pages .txt{
      padding-top: 0px;
    text-align: right;
    padding-left: 40%;
    width: 100%;
    font-size: 100%;
    padding-right: 10%;
    background-image: url("../img/transblack.png");
    padding-top: 2%;
    padding-bottom: 2%;
  
  }
  .pages .txt p{
        line-height: 18px;
  }

  .cd-slideshow-nav .cd-nav-items {
    font-size: 18px;
  }

  .cd-slideshow-nav .cd-nav-items {
    font-size: 24px;
  }

}



@media only screen and (max-width: 767px) {

  .cd-slideshow-nav {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #000;
}

#logo { height: 35px;     top: 7px; left: 7px;}    

.tagline{top:29px; left:130px; font-size:8px;}  

.cd-nav-trigger {
    position: absolute;
    z-index: 2;
    top: 5px;
    right: 5px;
    height: 40px;
    width: 40px;
    }

  .cd-slideshow-nav .cd-nav-items > ol {padding: 0; margin: 0; padding-top: 20px;}
  .cd-slideshow-nav .cd-nav-items li {padding: 6px; margin: 0; display: block; float: none; font-size: 2rem !important;

    padding: 6px;
    margin: 0px;
    margin-left: 20px;
    display: block;
    float: none;
    font-size: 2rem !important;
  }
 .cd-slideshow-nav .cd-nav-items {
  overflow: scroll;
  }

.cd-slider-content { height: auto; clear:both;}
.cd-slideshow > li, .cd-slideshow .sub-slides > li{ height: auto; }

  .cd-slider-content { min-height:100vh; height:auto !important; height:100vh; }
  #slide-1 { min-height:100vh; height:auto !important; height:100vh; }         

  .cd-slider-content h2 {
    font-size: 1.5rem;
    color: #FFF;
    padding-top: 15px;
    text-transform: uppercase;
  }

  .cd-slider-content h1 {
    font-size: 2.1rem;
    color: #FFF;
    padding-top: 60px; 
    text-transform: uppercase;
  }

  /*.cd-slideshow > li:nth-of-type(2) .cd-slider-content .content-wrapper {
    background: #333;
    
  }
  .cd-slideshow > li:nth-of-type(3) .cd-slider-content .content-wrapper {
    background: #666;
    
  }
  .cd-slideshow > li:nth-of-type(4) .cd-slider-content .content-wrapper {
    background: #000;
    
  }
  .cd-slideshow > li:nth-of-type(5) .cd-slider-content .content-wrapper {
    background: #333;
    
  }
  .cd-slideshow > li:nth-of-type(6) .cd-slider-content .content-wrapper {
    background: #666;
    
  }*/

  .cd-slideshow .txtsection{clear:both; padding-left: 5%; padding-right: 5%;}

}

.panel {    background-color: #000;}

#videohome {
    position: relative;
    width: 100%;
    height: 100%;
}

.opacity6 {opacity: 0.6 !important;}
.opacity3 {opacity: 0.3 !important;}

#casehistoryloghi { margin-top: 30px; }
#casehistory #casehistoryloghi {background-image: url("../img/transwhite.png"); margin-top: 0px;}

#casehistoryloghi .cliente{ margin: 0px auto; padding: 0px; background-image: url("../img/transwhite.png"); 
text-align: center; margin-bottom: 15px;}
#casehistoryloghi img { max-height: 150px; text-align: center; margin:0px auto; padding: 0px;}
.clear {clear:both;}

.panel-default>.panel-heading { background-color: #333 }
.panel-default>.panel-heading a {color: #FFF;}
.panel-default>.panel-heading+.panel-collapse>.panel-body {font-size: 80%;}
.panel-default>.panel-heading+.panel-collapse>.panel-body a {text-decoration: underline}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}


#js-rotating-flags{position:relative; display: compact; width:32px; height:32px; margin-left: 5px; margin-right: 5px;      display: inline-block;
    vertical-align: middle;
    float: none;}
#js-rotating-flags img{ position:absolute; top:0px; left: 0px;}










.cd-nav-lang {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 80px;
  height: 40px;
  width: 40px;
  cursor: pointer;
  border-radius: 0%;
  border: none;
  outline: none;
  background-color: rgba(0, 0, 0, 0.8);
  /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);*/
  /* replace text with image */
  overflow: hidden;
  /*text-indent: 100%;*/
  white-space: nowrap;
  color: #FFF;
  text-transform: uppercase;

}
/*.cd-nav-lang span, .cd-nav-lang span::after, .cd-nav-lang span::before {

  position: absolute;
  height: 2px;
  width: 18px;
  background-color: #ffffff;
}
.cd-nav-lang span {
  
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  -webkit-transition: background-color 0.3s;
  -moz-transition: background-color 0.3s;
  transition: background-color 0.3s;
}
.cd-nav-lang span::after, .cd-nav-lang span::before {
  content: '';
  left: 0;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}
.cd-nav-lang span::before {
 
  -webkit-transform: translateY(-6px);
  -moz-transform: translateY(-6px);
  -ms-transform: translateY(-6px);
  -o-transform: translateY(-6px);
  transform: translateY(-6px);
}
.cd-nav-lang span::after {

  -webkit-transform: translateY(6px);
  -moz-transform: translateY(6px);
  -ms-transform: translateY(6px);
  -o-transform: translateY(6px);
  transform: translateY(6px);
}

.nav-open .cd-nav-lang span {
  background-color: transparent;
}
.nav-open .cd-nav-lang span::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.nav-open .cd-nav-lang span::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
*/
@media only screen and (min-width: 1100px) {
  .cd-nav-lang {
    height: 48px;
    width: 48px;
    left: calc(2.5vw - 84px);

    top: calc(4vh - 24px);

    left: calc(94.5vw - 64px);
    top: calc(6vh - 24px);

  }
}

.no-js .cd-nav-lang {
  display: none;
}





#cookie-law-info-bar {
  border: 0;
  font-size: 11px;
  margin: 0 auto;
  padding: 10px;
  text-align: left;
  width: 30%;
  z-index: 9999;
}
#cookie-law-info-again {
  font-size: 11px;
  margin: 0;
  padding: 5px;
  padding-bottom: 30px;
  text-align: left;
  z-index: 9999;
  cursor: pointer;
}
#cookie-law-info-bar span {
  vertical-align: middle;
}





@media only screen and (max-width: 736px) {
.cd-nav-lang {
    position: absolute;
    z-index: 2;
    top: 5px;
    right: 65px;
    height: 40px;
    width: 40px;
    }

#cookie-law-info-bar {
  width: 70%;
}


}

.casehi{ font-size: 120%;  }
.casehi:hover{text-decoration:none; border-bottom: 0px solid #FFF;}

.contcase { background-color: #000; height: 60px; width: 100%; position: relative; margin-bottom: 10px; opacity: 0.8;  z-index: 1; overflow: hidden}
.contcase:hover::before { 
    content: "CASE HISTORY";
    position: absolute;
    top: -10px;
    left: -3px;
    color: #FFF;
    opacity: 0.2;
    font-size: 350%;
    font-weight: bold;
    z-index: 1;
    text-align: left;
    line-height: 40px;
    -ms-transform: rotate(-7deg); /* IE 9 */
    -webkit-transform: rotate(-7deg); /* Chrome, Safari, Opera */
    transform: rotate(-7deg);
}
.contcase:hover { background-color: #666; opacity: 0.9;}


.contcase:hover a{color:#FFF; text-decoration: none !important; display: block; }
.contcase a{text-decoration: none !important;display: table-cell;}
.contcase a span{position: absolute; bottom:10px; right: 10px; display: table-cell; z-index: 10;}
.contcase a:hover {text-decoration: none !important; display: block; }   


.gioiapura:hover { 
    background-color: #f5bd47;
}
.wolterskluwer:hover { 
    background-color: #336699;
}
.motorama:hover { 
    background-color: #CC0000;
}
.tuum:hover { 
    background-color: #c55220;
}
.calligaris:hover { 
    background-color: #CC0000;
}
.negoziodelvino:hover { 
    background-color: #bd0926;
}
.altalex:hover { 
    background-color: #336699;
}
.sardegna:hover { 
    background-color: #1f4592;
}
.vodafone:hover { 
    background-color: #CC0000;
}
.zazzeri:hover { 
    background-color: #000000;
}
.outletmoto:hover { 
    background-color: #FFCC00;
}




@media only screen and (max-width: 414px) {
  .cd-slideshow > li:nth-of-type(2) .cd-slider-content .content-wrapper .bg{
      background:url("../queryo667_IMG_4526-w1600.jpg")   no-repeat center center; 
      background-size: cover;
  }
  .cd-slideshow > li:nth-of-type(3) .cd-slider-content .content-wrapper .bg{
      background:url("../queryo667_IMG_4008-w1600.jpg")    no-repeat center center; 
      background-size: cover;
  }
  .cd-slideshow > li:nth-of-type(4) .cd-slider-content .content-wrapper .bg{
      background:url("../queryo667_IMG_4234-w1600.jpg")    no-repeat center center; 
      background-size: cover;
  }

  .cd-slideshow > li:nth-of-type(5) .cd-slider-content .content-wrapper .bg{
      background:url("../queryo667_IMG_5173-w1600.jpg")    no-repeat center center;
      background-size: cover; 
  }
  .cd-slideshow > li:nth-of-type(6) .cd-slider-content .content-wrapper .bg{
      background:url("../queryo667_IMG_4002-w1600.jpg")    no-repeat center center;
      background-size: cover; 
  }

  .content-home {
    background:url("../bgdef.jpg")    no-repeat center center;
    background-size: cover; 
  }
}


@media only screen and (max-width: 768px) {
  .cd-slideshow > li:nth-of-type(2) .cd-slider-content .content-wrapper .bg{
      background:url("../queryo1024_IMG_4526-w1600.jpg")   no-repeat center center; 
      background-size: cover;
  }
  .cd-slideshow > li:nth-of-type(3) .cd-slider-content .content-wrapper .bg{
      background:url("../queryo1024_IMG_4008-w1600.jpg")    no-repeat center center;
      background-size: cover; 
  }
  .cd-slideshow > li:nth-of-type(4) .cd-slider-content .content-wrapper .bg{
      background:url("../queryo1024_IMG_4234-w1600.jpg")    no-repeat center center;
      background-size: cover; 
  }

  .cd-slideshow > li:nth-of-type(5) .cd-slider-content .content-wrapper .bg{
      background:url("../queryo1024_IMG_5173-w1600.jpg")    no-repeat center center; 
      background-size: cover;
  }
  .cd-slideshow > li:nth-of-type(6) .cd-slider-content .content-wrapper .bg{
      background:url("../queryo1024_IMG_4002-w1600.jpg")    no-repeat center center; 
      background-size: cover;
  }
}

/* 5 Columns */

.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.col-xs-15 {
    width: 20%;
    float: left;
}
@media (min-width: 768px) {
    .col-sm-15 {
        width: 20%;
        float: left;
    }
}
@media (min-width: 992px) {
    .col-md-15 {
        width: 20%;
        float: left;
    }
}
@media (min-width: 1200px) {
    .col-lg-15 {
        width: 20%;
        float: left;
    }
}

.white-button{
    background-color: white;
    color: #000;
    padding: 10px;
    font-size: 15px;
    border-color: #000;
}
.white-button:hover{
    background-color: #777;
    color: #f5f5f5;
    padding: 10px;
    font-size: 15px;
    border-color: #000;
}

.contcert {
    background-color: #fff;
    height: 60px;
    width: 100%;
    position: relative;
    margin-bottom: 10px;
    opacity: 0.8;
    z-index: 1;
    overflow: hidden;
}