 body {
  margin: 0;
}


.slideshow {
  position: absolute;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.slideshow-image {
  position: absolute;
  width: 100%;
  height: 100%;
  background: no-repeat 100% 100%;
  background-size: cover; 
  animation-name: kenburns;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 60s;
  opacity: 0;
  transform: scale(1.2);
  
}

.slideshow-image:nth-child(1) {
  animation-delay: 0s;
}

.slideshow-image:nth-child(2) {
  animation-delay: 10s;
}

.slideshow-image:nth-child(3) {
  animation-delay: 20s;
}

.slideshow-image:nth-child(4) {
  animation-delay: 30s;
}

.slideshow-image:nth-child(5) {
  animation-delay: 40s;
}

.slideshow-image:nth-child(6) {
  animation-delay: 50s;
}
.slideshow-image:nth-child(7) {
  animation-delay: 60s;
}


@keyframes kenburns {
  3% {
    opacity: 1;
  }
  16.67% {
    opacity: 1;
  }
  19.67% {
    opacity: 0;
    transform: scale(1);
  }
}

h1 {
  position: absolute;
  top: 4%;
  left: 50%;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  z-index: 99;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  background-color: rgba(0,0,0,0.0);
  box-shadow: 0 1em 2em -1em rgba(0, 0, 0, 0.0);
  padding: 1em 2em;
  line-height: 1.5;
}

p {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate3d(-10%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  z-index: 99;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  
  background-color:rgba(0,0,0,0.30);
  moz-border-radius: 40px;
	-webkit-border-radius: 25px;
	border-radius: 25px;
	padding: 35px;
	border: 0px solid rgba(0,0,0,0.05);
	-moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.6);
	-webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.6);
	box-shadow: 0px 0px 6px rgba(0,0,0,0.4);
}

hr { 
  display: block;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: auto;
  margin-left: 30%;
  margin-right: 30%;
  border-style: inset;
  border-width: 1px;

}


#ombra2 {height:300%; background-color:rgba(0,0,0,0.30);
-moz-border-radius: 40px;
	-webkit-border-radius: 25px;
	border-radius: 25px;
	padding: 35px;
	border: 0px solid rgba(0,0,0,0.05);
	-moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.6);
	-webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.6);
	box-shadow: 0px 0px 6px rgba(0,0,0,0.4);
}

/* ---- fine stile ---- */

div#pagine-menu {
width: 100%;
float: left;
margin: 0;
padding: 0;
background: rgba(0,0,0,0.0);

}
div#pagine-menu ul
{
margin: 0;
padding: 0;
list-style-type: none;
}
div#pagine-menu li
{
width:60px;
float:left;
margin: 0;
padding: 0;

   
}
div#pagine-menu a
{
display: block;
padding: 5px;
color: #FFFFFF;
text-decoration: none;

}
div#pagine-menu a:hover
{
background-color: rgba(0,0,0,0.25);
color: #FFFFFF;
text-decoration: none;
box-shadow: 5px 5px 5px #dedede;
}
div#pagine-menu li ul
{
display: none
}
div#pagine-menu li:hover ul
{
display: block;
position: absolute;
z-index:1;
width:200px;
padding: 0;
margin: 0 0 0 -1px;
border:1px solid rgba(255,255,255,0.90);
opacity: .95; filter: alpha(opacity=35);
background: rgba(0,0,0,0.25);
box-shadow: 5px 5px 5px #dedede;
}
div#pagine-menu li li { border:none; width:200px; }
div#pagine-menu li li a { padding:2px 2px 2px 10px; }



/* ---- fine stile ---- */
p:last-child { margin-bottom: 0; }

.tm-bg-transparent-black {
    background-color: rgba(0,0,0,0.13);    
    padding: 30px;
}

.tm-contact-box-pad { padding: 60px 55px; }
.tm-border-white { border: 1px solid #ffffcc; }
.media { align-items: center; }

.tm-icon-circled {
    font-size: 3rem;
    border-radius: 50%;
    border: 1px solid #ffffcc;
    padding: 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
            justify-content: center;
    width: 100px;
    height: 100px;
}

.tm-font-big { font-size: 1.3rem; }

.row {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: auto;
	margin-left: auto;
}

.tm-main {
    height: 100%;
    min-height: 100vh;
    padding: 0;
}

.tm-main-row {
  height: 100%;
  min-height: 100vh;
  position: relative;
}
#tmMainNavToggle { display: none; }

.sidebar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
            justify-content: center;
    padding: 60px 50px;
    cursor: default;
    z-index: 100;
    background: rgba(0,0,0,0.5);
    color: rgb(245,222,179);
    z-index: 1000;
}

.tm-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-item-align: stretch;
        align-self: stretch;
    -webkit-box-align: center;
    -ms-flex-align: center;
            align-items: center;
    padding: 50px 10%;
    width: 100%;
    position: relative;
}

.tm-nav-fa-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 1px solid #ffffcc;
    padding: 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-right: 35px;
}

.tm-main-nav { font-size: 1.6rem; }
.tm-main-nav li { list-style: none; }
.tm-main-nav a {
    background-image: url(../img/nav-item.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    color:rgb(255,253,208);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
            align-items: center;
    margin: 20px 0 40px 0;
    padding-bottom: 40px;
    padding-right: 80px;
}

.tm-main-nav a:hover,
.tm-main-nav a:focus,
.tm-main-nav a.active {
    background-image: url(../img/nav-item-highlight.png);
    color: #808080;
    text-decoration: none;    
}

.tm-main-nav a:hover .tm-nav-fa-icon,
.tm-main-nav a:focus .tm-nav-fa-icon,
.tm-main-nav a.active .tm-nav-fa-icon {
    border-color: #808080;
}

.fa-menu {
	width: 50px;
	height: 50px;
}

.tm-btn {
    padding: 15px 50px;
    font-size: 1.3rem;
    font-weight: 300;
    background: transparent;
    border-color:rgb(255,253,208);
    color:rgb(255,253,208);
    cursor: pointer;
}

.tm-btn:hover,
.tm-btn:focus {
    color: #f5f5dc;
    border-color:rgb(255,253,208);
}

.tm-btn-submit {
    border-radius: 0;
    display: block;
    padding: 15px 43px;
}

.slick-dots { bottom: -45px; }
.slick-dots li button:before { font-size: 20px; }
.slick-slide { margin: 0 10px; }
.slick-list { margin: 0 -10px; }
.tm-text-shadow { text-shadow: 0px 5px 3px rgba(50, 50, 50, 1); }

.tm-section {
    max-width: 100%;
    width: auto;
    background: transparent;    
}

.col-md-6.tm-contact-col { margin-bottom: 0; }

.tm-img-slider { max-width: 940px; }
#tm-section-1 { max-width: 700px; }

.tm-icon-media {
  margin-right: 1.5rem;
  margin-bottom: 0;
}

address { font-size: 1rem; }
.form-control { 
    background: transparent;
    border-color:rgb(255,253,208);
    color:rgb(255,253,208);
    font-weight: 300;
    border-radius: 0;
    padding: 15px;
}

.form-control:focus {
    background: transparent;
    color:rgb(255,253,208);
    border-color: #f5f5dc;
    box-shadow: none;
}

::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 1) !important;
    opacity: 1.0;
}

:-moz-placeholder {
    color: rgba(255, 255, 255, 1) !important;
    opacity: 1.0;
}

::-moz-placeholder {
    color: rgba(255, 255, 255, 1) !important;
    opacity: 1.0;
}

:-ms-input-placeholder {
    color: rgba(255, 255, 255, 1) !important;
    opacity: 1.0;
}



@media (max-width: 1800px) {
  .tm-section { margin-right: auto; }
}

@media (max-width: 1724px) {
  .tm-nav-fa-icon { margin-right: 25px; }

  .tm-main-nav a {
    margin: 20px 0 35px 0;
    padding-right: 10px;
  }

  .tm-content { padding: 50px 5%; }
}

@media (max-width: 1400px) {

    .tm-main-nav { font-size: 1.4rem; }
    .tm-main-nav a { padding-right: 10px; }
    .tm-nav-fa-icon { margin-right: 25px; }

    .sidebar {
      padding: 60px 30px;
    }
}

@media (max-width: 1340px) {
  .tm-content {
    padding: 50px;
    margin: 0 auto;
  }
}

@media (max-width: 1199px) {
  .col-md-6.tm-contact-col {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
      margin-bottom: 30px;
  }
}

@media (max-width: 991px) {    

    /*  Nav toggle
        https://www.youtube.com/watch?v=uyT3NSHhke8
    */

    .tm-main-row { position: relative; }

    #tmMainNavToggle { 
        display: block;
        position: absolute;
        right: -60px;
        top: 0;
    }
    
    .menu-icon {
        padding: 10px 15px;
        background: #000000c4;
        border: 1px solid;
        color: #f5f5dc;
        cursor: pointer;
        margin-top: 4px;
        margin-left: 4px;
        border-radius: 5px;
        width: 60px;
        height: 50px;
        z-index: 1001;
    }
    
    #tmSideBar {
        width: 300px;
        position: absolute;
        min-height: 100vh;
        height: auto;
        left: -300px;
        transition: all .3s ease-in-out;
        -webkit-transition: all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out;
        -ms-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
    }

    #tmSideBar.show { left: 0; }

    .sidebar {
        background: rgba(0,0,0,0.9);
        padding: 20px;
    }

    .tm-main-nav a {
      padding-bottom: 20px;
      margin: 20px 0 25px 0;
    }

    .tm-section { margin-left: auto; }

    .tm-section-carousel {    
      max-width: 620px;
      width: 100%;
    }
}

@media (max-width: 767px) {
  .tm-content { padding: 50px 30px; }
}

@media (max-width: 640px) {
  .tm-section-carousel {    
    max-width: 300px;
    padding-bottom: 50px;
  }
}

@media (max-width: 600px) {
    .tm-contact-box-pad { padding: 30px 25px; }

    .footer-link {      
      margin: 0 auto;
      width: 90%;
    }
}

@media (max-width: 500px), (max-width: 809px) and (min-width: 767px) {
  .media { flex-direction: column; }
  .tm-icon-media {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
}

/* Loader */

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}
#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #3498db;

    -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */

    z-index: 1001;
}

#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #e74c3c;

    -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #f9c922;

    -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
      animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

@-webkit-keyframes spin {
    0%   { 
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}
@keyframes spin {
    0%   { 
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}

#loader-wrapper .loader-section {
    position: fixed;
    top: 0;
    width: 51%;
    height: 100%;
    background: #222222;
    z-index: 1000;
    -webkit-transform: translateX(0);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateX(0);  /* IE 9 */
    transform: translateX(0);  /* Firefox 16+, IE 10+, Opera */
}

#loader-wrapper .loader-section.section-left {
    left: 0;
}

#loader-wrapper .loader-section.section-right {
    right: 0;
}

/* Loaded */
.loaded #loader-wrapper .loader-section.section-left {
    -webkit-transform: translateX(-100%);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: translateX(-100%);  /* IE 9 */
            transform: translateX(-100%);  /* Firefox 16+, IE 10+, Opera */

    -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);  
            transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.loaded #loader-wrapper .loader-section.section-right {
    -webkit-transform: translateX(100%);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: translateX(100%);  /* IE 9 */
            transform: translateX(100%);  /* Firefox 16+, IE 10+, Opera */

-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);  
    transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.loaded #loader {
    opacity: 0;
    -webkit-transition: all 0.3s ease-out;  
            transition: all 0.3s ease-out;
}
.loaded #loader-wrapper {
    visibility: hidden;

    -webkit-transform: translateY(-100%);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: translateY(-100%);  /* IE 9 */
            transform: translateY(-100%);  /* Firefox 16+, IE 10+, Opera */

    -webkit-transition: all 0.3s 1s ease-out;  
            transition: all 0.3s 1s ease-out;
}

/* JavaScript Turned Off */
.no-js #loader-wrapper {
    display: none;
}



.vertical-panel-title{
  font-family: 'montserratsemibold';
  font-size: 12px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 1em;
  color: #FFA07A;
  position: fixed;
  left: 25px;
  margin:0 auto;
  width: 1px;
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
   -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
 }
 
.vertical-panel-title2{
  font-family: 'montserratsemibold';
  font-size: 12px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 1em;
  color: #FFA07A;
  position: fixed;
  right: 40px;
  margin:0 auto;
  width: 1px;
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
   -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
 }
 

 #submit {
  background-color: #FFA07A; /* colore di sfondo    */
  border: 2px solid #f1948a; /* bordo dell'elemento */
  color: #ffffff;               /* colore del testo    */
  font-weight: bold;         /* testo in grassetto  */
  padding: 0;                /* padding             */
  height: 25px;              /* altezza             */
  width: 120px;               /* larghezza           */
}
#cancella {
  background-color: #FFA07A; /* colore di sfondo    */
  border: 2px solid #f1948a; /* bordo dell'elemento */
  color: #ffffff;               /* colore del testo    */
  font-weight: bold;         /* testo in grassetto  */
  padding: 0;                /* padding             */
  height: 25px;              /* altezza             */
  width: 120px;               /* larghezza           */
}
textarea[name="body"] {
       color: #ffffff;
       border: 1;
       background: #605146 ;
       opacity:0.5;       
     }
textarea[name="object"] {
       color: #ffffff;
       border: 1;
       background: #605146 ;
       opacity:0.5;       
     }textarea[name="email3"] {
       color: #ffffff;
       border: 1;
       background: #605146 ;
       opacity:0.5;       
     }textarea[name="em"] {
       color: #ffffff;
       border: 1;
       background: #605146 ;
       opacity:0.5;       
     }textarea[name="email2"] {
       color: #ffffff;
       border: 1;
       background: #605146 ;
       opacity:0.5;       
     }




