body {
  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  letter-spacing: 2px;
  color: #0f827f;
  -webkit-text-size-adjust: 100%; 
  background-color: #fef1ed;
}

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

p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
label {
  font-weight: 400;
  margin: 0;
  padding: 0;
}

p {
  font-size: 15px;
  line-height: 1.3;
  padding-bottom: 20px; 
}

p strong {
  font-weight: 400;
}

.testo p {
  font-weight: 300;
}

h1 {
  font-size: 60px; 
}

h2 {
  font-size: 40px;
  font-weight: 400;
}

h3 {
  font-size: 30px;
}

h4 {
  font-size: 15px; 
  font-weight: 400;
  line-height: 1.3;
  padding-bottom: 20px; 
}

.btn {
  font-size: 13px;
  border: solid 2px;
  border-radius: 40px;
  display: inline-block;
  text-transform: uppercase; 
}

.btn:hover, 
.btn:focus {
  color: #fff;
  border-color: #eee;
  background-color: #eee; 
}

/* ==========================================================================
Global Styles
========================================================================== */
.group:after {
  content: "";
  display: table;
  clear: both; 
}

.no-padding {
  padding: 0; 
}

.no-margin {
  margin: 0; 
}

a {
  color: #eee;
  -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; 
}

.section-padding {
  padding: 120px 0; 
}

.main-content {
  padding-top: 18vh;
  position:relative;
}

/* ==========================================================================
Navigation
========================================================================== */
.header-nav.open {
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s; }

.nav-toggle {
  position: absolute;
  top: 0;
  right: 10px;
  z-index: 999999;
  padding: 10px 35px 16px 0;
  cursor: pointer; }

.nav-toggle:focus {
  outline: none; }

.nav-toggle span, 
.nav-toggle span:before, 
.nav-toggle span:after {
  content: "";
  position: absolute;
  display: block;
  width: 30px;
  height: 2px;
  border-radius: 0px;
  background: #fff;
  cursor: pointer; }

.nav-toggle span:before {
  top: -10px; }

.nav-toggle span:after {
  bottom: -10px; }

.nav-toggle span, 
.nav-toggle span:before, 
.nav-toggle span:after {
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out; }

.nav-toggle.active span {
  background-color: transparent; }

.nav-toggle.active span:before, 
.nav-toggle.active span:after {
  top: 0; 
  background-color: #0f827f;}

.nav-toggle.active span:before {
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg); }

.nav-toggle.active span:after {
  top: 10px;
  -ms-transform: translatey(-10px) rotate(-45deg);
  -webkit-transform: translatey(-10px) rotate(-45deg);
  transform: translatey(-10px) rotate(-45deg); }

.navicon {
  position: absolute;
  height: 26px;
  right: 10px;
  top: 30px;
  visibility: hidden;
  -webkit-transition: all 300ms ease-in-out;
          transition: all 300ms ease-in-out; }

/* ==========================================================================
Hero
========================================================================== */
.navigation {
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
  position: fixed;
  width: 100%;
  background: #0f827f;
  z-index: 999999; 
}

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

.navigation.navbar-show-down {
  top: -35px;
}

header {
  height:80px;
  position: relative;
  width: 100%;
  background:#a0b95f;
  margin: 0 auto;
  -webkit-transition: height 300ms ease-in-out;
  transition: height 300ms ease-in-out; 
}

header .header-content {
  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;
  -ms-grid-row-align: flex-end;
  align-items: flex-end;
}

header a {
  color: #fff;
  text-transform: uppercase;
  font-size: 15px; }

header a.login {
  margin-right: 20px; }

header .logo {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  -ms-grid-row-align: flex-end;
  align-items: flex-end;
  height:80px;
  padding-left: 20px;
  padding-right: 30px; 
  padding-bottom: 10px;
  background: #0f827f;
  z-index:9998;
  min-width:182px;}

header .logo a:hover,
header .logo a:focus {
  color: #fff;
}

header .logo p {
  line-height:1.2;
  padding:0;
  margin:0;
}

/* === IL LOGO CHE CAMBIA QUANDO SCROLLI === */
header .logo .static-top {
  transition: opacity 0.1s linear;
  -webkit-transition: opacity 0.1s linear;
}

.navbar-static-top header .logo .static-top {
  opacity: 1;
}

.navbar-show-down header .logo .static-top {
  opacity: 0;
}

header .logo .show-down {
  position: absolute;
  bottom: 10px;
  left: 20px;
  transition: opacity 0.1s linear;
  -webkit-transition: opacity 0.1s linear;
}

.navbar-static-top header .logo .show-down {
  opacity: 0;
}

.navbar-show-down header .logo .show-down {
  opacity: 1;
}
/*FINE*/

header ul.primary-nav {
  margin: 0;
  padding: 0; 
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -ms-flex-pack:distribute;
  justify-content:space-around; 
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  }
    
header ul.primary-nav li {
  display: inline; 
  padding: 0;}

header ul.primary-nav li a {
  color: #fff;
  padding-right: 25px; }

header ul.primary-nav li a:hover {
  text-decoration: underline; 
  color:#fef1ed;}

header ul.primary-nav li:last-child a {
  padding-right: 0px; }

header ul.member-actions li {
  display: inline; 
  padding: 10px 0px;}

header ul.member-actions li a {
  color: #fff; }

header ul.member-actions li a:hover {
  text-decoration: underline; }

header .header-nav {
  display: inline-block;
  padding-bottom: 10px;
  width: calc(100% - 120px);
  max-width: 950px;
  /*padding-right: 120px;*/
  margin: 0 auto;}

header .member-actions {
  position: absolute;
  height: 80px;
  right: 0;
  top: 0;
  background: #0f827f;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  -ms-grid-row-align: flex-end;
  align-items: flex-end;
  padding-bottom: 0px;
  padding-left: 10px;
  padding-right: 10px;

}

.down-arrow {
  color: #fff;
  font-size: 30px;
  position: absolute;
  bottom: 30px;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%); }

/* ==========================================================================
To top
========================================================================== */
.to-top {
  height: 60px;
  background-color: #495061; }

.to-top .to-top-wrap {
  height: 60px;
  width: 70px;
  position: absolute;
  right: 0;
  text-align: center; }

.to-top .to-top-wrap a {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.15); }

.to-top .to-top-wrap a:hover, 
.to-top .to-top-wrap a:focus {
  background-color: rgba(0, 0, 0, 0.4); }

.to-top .to-top-wrap i {
  font-size: 30px;
  line-height: 55px; }

.to-top .row {
  position: relative; }

/* ==========================================================================
Footer
========================================================================== */
footer {
  background-color: transparent;
  width: 100%;
  text-align: center;
}

.pagina-contatti footer {
  background-color: #ebebeb;
}

footer.footer-home,
.pagina-tecnologia footer.footer-home {
  position: absolute;
  bottom: 0;
  z-index: 3;
}
  
footer p {
  font-size: 11px; 
  padding-bottom: 0px;
  line-height:12px;
  letter-spacing: 1px;
}

footer .footer-text {
  margin: 10px auto
}

footer .footer-text p span {
  display:inline-block;
  color: #0f827f;
}

footer .footer-text a {
  color: #0f827f;
}

footer .footer-text p span.border {
  padding: 0 10px 0 0;
  margin-right:6px;
  border-right: 1px solid #0f827f;
}

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

.payoff {
  margin-left:5vw;
}

.payoff .main-content {
  padding-top: 25vh;
  text-align: left;
}

.payoff .main-content h2 {
  color: #0f827f;
}

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

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

#home-slider .slide.one {
  background-image: url(../img/home/1.jpg);
  background-repeat:no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: opacity;
  animation: csslider 10s infinite;
  -webkit-animation: csslider 10s infinite;
  -moz-animation: csslider 10s infinite;
  -o-animation: csslider 10s infinite;
}

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

@-webkit-keyframes csslider {
  0% { opacity: 0; }
  40% { opacity: 0; }
  50% { opacity: 1; }
  90% { opacity:1; }
  100% { opacity: 0; }
}

@-moz-keyframes csslider {
  0% { opacity: 0; }
  40% { opacity: 0; }
  50% { opacity: 1; }
  90% { opacity:1; }
  100% { opacity: 0; }
}

@-o-keyframes csslider {
  0% { opacity: 0; }
  40% { opacity: 0; }
  50% { opacity: 1; }
  90% { opacity:1; }
  100% { opacity: 0; }
}

@keyframes csslider {
  0% { opacity: 0; }
  40% { opacity: 0; }
  50% { opacity: 1; }
  90% { opacity:1; }
  100% { opacity: 0; }
}

/* ==========================================================================
STUDIO
========================================================================== */
#studio {
  margin-bottom: 100px;
}

#studio .row {
  position: relative;
}

#studio .titolo {
  padding: 20px;
  height:150px;
  width:33%;  
  text-align: left;
  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;
  background-color: #0f827f;
  color:#fff;
}

#studio .titolo h4 {
  padding-bottom: 0;
}

#studio .testo {
  margin-left:33%;
  width:67%;
  background-color: #fff;
  padding:25px;
}

#studio .testo .owl-carousel {
  position: relative;
  margin-bottom:20px;
}

#studio .testo .owl-carousel .owl-item img{
  height: auto;
}

#studio .testo .owl-carousel .owl-controls {
  position: absolute;
  width:100%;
  top:50%;
}

#studio .testo .owl-carousel .owl-controls .owl-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack:justify;
  -ms-flex-pack:justify;
  justify-content:space-between;
}

/* ==========================================================================
PROMOZIONI
========================================================================== */
body.pagina-promozioni {
  background-color: #ebebeb;
}

.news .titolo {
  text-transform: uppercase;
}

.news .titolo h2 {
  font-weight: 400;
}

.news p {
  font-size: 20px;
}

.news .quad-1,
.news .quad-2 {
  position: relative;
  height:330px;
  overflow:hidden;
  margin:0;
  padding: 20px;
  float:left;
  text-align: left;
  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: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.news .thing {
  width:100px;
  margin: 30px 0;
  height: 2px;
}

.news .quad-1 {
  width: 33%;
}

.news .quad-2 {
  width:67%;
}

.news .inutile {
  float:left;
  position: relative;
  width: 66%;
}

.news .inutile .quad-1 {
  width:50%;
  height: 165px;
  position: relative;
  overflow: visible;
}

.news .inutile .thing {
  position: absolute;
  left: calc(50% - 50px);
  top:53px;
  background-color: #0f827f;
}

/* COLORI PAZZI */
.news:nth-child(odd) .quad-1:nth-child(1) {
  background-color: #fef1ed;
}

.news:nth-child(odd) .quad-2:nth-child(2) {
  background-color: #fff;
}

.news:nth-child(odd) .quad-1:nth-child(4) {
  background-color: #0f827f;
  margin-left:1%;
  color: #fff;
}

.news:nth-child(odd) .quad-2:nth-child(5) {
  background-color: #fef1ed;
  margin-top:-165px;
}

.news:nth-child(odd) .quad-1:nth-child(1) .thing,
.news:nth-child(odd) .quad-2:nth-child(2) .thing,
.news:nth-child(odd) .quad-2:nth-child(5) .thing {
  background-color: #0f827f;
}

.news:nth-child(odd) .quad-1:nth-child(4) .thing {
  background-color: #fff;
}

.news:nth-child(odd) .inutile .quad-1:nth-child(1) {
  background-color: #fff;
}

.news:nth-child(odd) .inutile .quad-1:nth-child(2) {
  background-color: #ebebeb;
}

/*EVEN*/
.news:nth-child(even) .quad-1:nth-child(1) {
  background-color: #a0b95f;
  color:#fff;
}

.news:nth-child(even) .quad-2:nth-child(2) {
  background-color: #fff;
}

.news:nth-child(even) .quad-1:nth-child(4) {
  background-color: #0f827f;
  margin-left:1%;
  color: #fff;
}

.news:nth-child(even) .quad-2:nth-child(5) {
  background-color: #a0b95f;
  color:#fff;
  margin-top:-165px;
}

.news:nth-child(even) .quad-1:nth-child(1) .thing,
.news:nth-child(even) .quad-2:nth-child(5) .thing {
  background-color: #fff;
}

.news:nth-child(even) .quad-2:nth-child(2) .thing {
  background-color: #0f827f;
}

.news:nth-child(even) .quad-1:nth-child(4) .thing {
  background-color: #fff;
}

.news:nth-child(even) .inutile .quad-1:nth-child(1) {
  background-color: #fef1ed;
}

.news:nth-child(even) .inutile .quad-1:nth-child(2) {
  background-color: #ebebeb;
}

/* ==========================================================================
CONTATTI
========================================================================== */
.main-content .luogo {
  width:20%;
  height:100px;
  float:left;
  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;
  background-color: #0f827f;
}

.main-content .luogo h4 {
  color:#fff;
  padding-bottom: 0;
}

.main-content .mappa {
  position: relative;
  float:left;
  width:80%;
}

#map,
#mapTwo {
  width:100%;
  height: 500px;
}

.main-content .mappa .scheda-contatti {
  position: absolute;
  text-align: center;
}

.main-content .mappa .scheda-contatti.orari {
  top: -2px;
  right: 0;
  padding:35px;
  padding-bottom: 10px;
  background-color: #fef1ed;
  color: #0f827f;
}

.main-content .mappa .scheda-contatti:not(.orari) {
  bottom: 0;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

.main-content .mappa .scheda-contatti .telefono {
  background-color: #fef1ed;
  color: #0f827f;
  float:left;
  padding:15px;
  padding-bottom: 5px;
}

.main-content .mappa .scheda-contatti .indirizzo {
  background-color: #0f827f;
  color: #fff;
  float:left;
  padding:15px;
  padding-bottom: 5px;
}

.scheda-contatti span.thing {
  width:40px;
  height:1px;
  background-color: #0f827f;
  margin: 0 auto;
  display: block;
  margin-bottom: 10px;
}

.scheda-contatti .indirizzo span.thing {
  background-color: #fff;
}

.scheda-contatti p {
  padding-bottom: 10px;
  letter-spacing: 1px;
  line-height: 1;
}

.main-content#cannigione .luogo,
.main-content#cannigione .mappa .scheda-contatti .indirizzo {
  background-color: #a0b95f;
}

.main-content#cannigione .mappa .scheda-contatti .telefono,
.main-content#cannigione .mappa .scheda-contatti.orari {
  color: #a0b95f;
}

#cannigione .scheda-contatti.orari span.thing {
  background-color: #a0b95f;
}

/* === CONTACT-INFO == */
.main-content#contact-info {
  background-color: #ebebeb;
  position: relative;
  padding-top:100px;
  margin-top:100px;
}

.main-content#contact-info .thing {
  position: absolute;
  top:-50px;
  right:50px;
  width:2px;
  height:100px;
  background-color: #0f827f;
}

#contact-info .contatti {
  width:70%;
  background-color: #fef1ed;
  padding: 30px 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

#contact-info .contatti .telefono {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

#contact-info .contatti .telefono p {
  padding-bottom: 5px;
}

#contact-info .mail-wrapper {
  width:100%;
}

#contact-info .mail-wrapper .mail {
  height:100px;
  width:30%;
  margin-left:70%;
  background-color: #0f827f;
  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;
}

#contact-info .mail-wrapper .mail a:hover {
  color: #fff;
}

#contact-info .mail-wrapper .mail p {
  padding: 0;
}

#contact-info .mail-wrapper .thing {
  position: relative;
  top: 0;
  right:0;
  width: 100px;
  height:100px;
  margin-left:calc(70% - 100px);
  background-color: #a0b95f;
  text-align: center;
}

#contact-info .mail-wrapper .thing img {
  width:40px;
  height:40px;
  margin-top:calc(50% - 20px);
}

/* === CONTACT FORM == */
#contact-info .c-form {
  margin-top: 50px;
}


#contact-info .c-form label {
  padding-top: 4px;
}

#contact-info .c-form form .form-wrapper {
  padding: 30px 50px;
  background-color: #fef1ed;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

#contact-info .c-form form .form-group {
  margin-bottom: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

#contact-info .c-form form .form-group .form-control {
  display: inline-block;
  width:70%;
  height:25px;
  line-height: 20px;
  color: #0f827f;
  font-weight: 400;
  background-color: #ebebeb;
  background-image: none;
  border: none;
  border-radius: 0px;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

#contact-info .c-form form .form-group textarea.form-control {
  height: auto;
}

#contact-info .c-form form .btn {
  font-size: 14px;
  border: none;
  border-radius: 0px;
  display: block;
  background-color: #a0b95f;
  float:right;
  width:100px;
  height: 100px;
  color: #fff;
  font-weight: 400;
  letter-spacing: 2px;
}

#contact-info .c-form form .btn p {
  padding-bottom: 0;
}

#contact-info .c-form .lavori {
  padding: 30px 50px;
  background-color: #fef1ed;
  margin-bottom: 100px;
}

#contact-info .c-form .lavori p a {
  color: #0f827f;
}

#contact-info .c-form .lavori p:last-child {
  padding: 0;
}

.container.news:last-child {
  margin-bottom: 100px;
}

/* ==========================================================================
SLIDERS
========================================================================== */
.big-bottom {
  display:block;
  float:left;
  position: relative;
  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;
}

/* SLIDER COVER */
#slider-cover .big-bottom {
  width:33%;
  height:150px;
}

#slider-cover .big-bottom.mid {
  width:34%;
}

#slider-cover .big-bottom:nth-child(odd) {
  background-color: #a0b95f; 
  color:#fff;
}

#slider-cover .big-bottom:nth-child(even) {
  background-color: #ebebeb; 
  color: #a0b95f;
}

#slider-cover a.big-bottom p {
  padding-bottom: 0;
}

/* SLIDER */
#slider {
  background-color: #fef1ed;
  z-index: 2;
}

#slider .row {
  position: relative;
}

#slider .titolo {
  height:150px;
  width:33%;  
  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;
  background-color: #a0b95f;
  color:#fff;
}

#slider .titolo h4 {
  padding-bottom: 0;
}

#slider .testo {
  margin-left:33%;
  width:67%;
  background-color: #fff;
  padding:25px;
}

#slider .wrapper .immagine {
  max-width: 67%;
  margin-left:33%;
}

#slider .close-slider {
  z-index: 998;
  position: absolute;
  top: 0;
  right: 15px;
  padding: 57px;
  padding-bottom:59px;
  background-color: #ebebeb;
  cursor: pointer;
}

/* SLIDER CONTROLS */
#trattamenti #slider .owl-controls {
  position: absolute;
  top: 285px;
  left: 0;
  width:33%;
}

#slider .owl-controls {
  position: absolute;
  bottom: 0px;
  left: 0;
  width:33%;
}

#slider .owl-nav div {
  width:50%;
  float:left;
  background:#ebebeb;
  padding:57px;
  text-align: center;
}

#slider .owl-nav div.off img {
  opacity: 0.2;
}

.owl-prev.disabled,
.owl-next.disabled {
  opacity:0.2;
}

/* ==========================================================================
TECNOLOGIA
========================================================================== */
#tecnologia {
  min-height: calc(100vh - 80px);
}

#tecnologia #slider,
#tecnologia #slider-cover {
  position:absolute;
  top:18vh;
  left:0;
  width:100%;
}

#tecnologia #slider-cover .container .row {
  margin-right: 0;
  margin-left: 0;
}

#tecnologia #slider-cover .container .row .col-md-12 {
  min-height:500px;
  background-image: url(../img/tecnologia/tecnologia.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top 140px center;
  padding-left: 0;
  padding-right:0;
}

#tecnologia #slider-cover {
  z-index: 999;
  opacity:1;
  transition: opacity 0.2s linear, z-index 0.2s linear;
  -webkit-transition: opacity 0.2s linear, z-index 0.2s linear;
}

#tecnologia #slider-cover.open {
  opacity:0;
  z-index: 0;
  transition: opacity 0.2s linear, z-index 0.2s linear;
  -webkit-transition: opacity 0.2s linear, z-index 0.2s linear;
  -webkit-transition-delay: 1s;
  transition-delay: 1s;
}


/* ==========================================================================
TRATTAMENTI
========================================================================== */
body.pagina-trattamenti {
  background-color: #ebebeb;
}

#trattamenti {
  max-height: calc(100vh - 32px);
  margin-bottom: 0;
  overflow: hidden;
}

#trattamenti.open {
  max-height: none;
  overflow: visible;
  margin-bottom:100px;
}

#trattamenti #slider-cover .big-bottom:nth-child(8),
#trattamenti #slider-cover .big-bottom:nth-child(9) {
  position: relative;
}

#trattamenti #slider-cover .big-bottom .thing {
  position: absolute;
  top:50%;
  width:100px;
  height:2px;
  background-color: #0f827f;
  transition: width 0.3s ease-out;
  -webkit-transition: width 0.3s ease-out;
}

#trattamenti #slider-cover .big-bottom .thing.pre {
  left: -50px;
}

#trattamenti #slider-cover .big-bottom .thing.post {
  right: -50px;
}

#trattamenti #slider-cover {
  position:absolute;
  top: 18vh;
  left:0;
  width:100%;
  min-height: 100%;
  background-color: #ebebeb;
  z-index: 999;
  opacity:1;
  transition: opacity 0.2s linear, z-index 0.2s linear;
  -webkit-transition: opacity 0.2s linear, z-index 0.2s linear;
}

#trattamenti #slider-cover .big-bottom:nth-child(odd) {
  background-color: #fef1ed; 
  color:#0f827f;
}

#trattamenti #slider-cover .big-bottom:nth-child(even) {
  background-color: #ebebeb; 
  color: #0f827f;
}

#trattamenti #slider {
  background-color: #ebebeb;
}

#trattamenti #slider .close-slider,
#trattamenti #slider .owl-nav div {
  background-color: #fef1ed;
}

#trattamenti #slider-cover .big-bottom p {
  padding-left: 50px;
  background-repeat: no-repeat;
  background-position: center left;
  background-size: auto 90%;
  line-height: 50px;
}

/*ICONE TRATTAMENTI*/
#trattamenti #slider-cover .big-bottom:nth-child(1) p {
  background-image: url(../img/trattamenti/icona-prevenzione.svg);
  padding-left:60px;
}
#trattamenti #slider-cover .big-bottom:nth-child(2) p {
  background-image: url(../img/trattamenti/icona-sbiancamenti.svg);
  background-size: auto 100%;
}
#trattamenti #slider-cover .big-bottom:nth-child(3) p {
  background-image: url(../img/trattamenti/icona-conservativa.svg);
  line-height: 25px;
}
#trattamenti #slider-cover .big-bottom:nth-child(4) p {
  background-image: url(../img/trattamenti/icona-ortodonzia.svg);
}
#trattamenti #slider-cover .big-bottom:nth-child(5) p {
  background-image: url(../img/trattamenti/icona-protesi.svg);
  padding-left: 100px;
  background-size: auto 40%;
}
#trattamenti #slider-cover .big-bottom:nth-child(6) p {
  background-image: url(../img/trattamenti/icona-impiantologia.svg);
}

#trattamenti #slider-cover.open {
  opacity:0;
  z-index: 0;
  transition: opacity 0.2s linear, z-index 0.2s linear;
  -webkit-transition: opacity 0.2s linear, z-index 0.2s linear;
  -webkit-transition-delay: 1s;
  transition-delay: 1s;
}

/* ==========================================================================
ANIMAZIONI QUADRANTI
========================================================================== */

/* === 1 === */
#slider-cover .big-bottom .animazioneFele {
  position:absolute;
  top:0;
  bottom:0;
  height:100%;
  width:0px;
}

#slider-cover .big-bottom .animazioneFele.apri {
  left:0;
  right:100%;
  width:0px;
  background-color: #fef1ed;
  transition: width 0.5s ease-out, right 0.5s ease-out;
  -webkit-transition: width 0.5s ease-out, right 0.5s ease-out;
}

#slider-cover.open .big-bottom .animazioneFele.apri {
  width:100%;
  right:0;
  left:0;
}

#slider-cover .big-bottom .animazioneFele.chiudi{
  right:0;
  left:100%;
  width:0px;
  background-color: #a0b95f;
  transition: width 0.5s ease-out, left 0.5s ease-out;
  -webkit-transition: width 0.5s ease-out, left 0.5s ease-out;
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

#slider-cover.open .big-bottom .animazioneFele.chiudi {
  width:100%;
  left:0;
  right:0;
}

/* === 2 === */
#slider-cover .big-bottom .animazioneFele-2 {
  position:absolute;
  left:0;
  right:0;
  top:0;
  bottom:100%;
  height:0;
  width:100%;
  background-color: #ebebeb;
  transition: height 0.5s ease-out, bottom 0.5s ease-out;
  -webkit-transition: height 0.5s ease-out, bottom 0.5s ease-out;
}

#slider-cover.open .big-bottom .animazioneFele-2 {
  height:100%;
  bottom:0;
}

/* === 3 === */
#slider-cover .big-bottom .animazioneFele-3.apri {
  position:absolute;
  left:0;
  right:0;
  top:100%;
  bottom:0;
  height:0;
  width:100%;
  background-color: #ebebeb;
  transition: height 0.5s ease-out, top 0.5s ease-out;
  -webkit-transition: height 0.5s ease-out, top 0.5s ease-out;
}

#slider-cover.open .big-bottom .animazioneFele-3.apri {
  height:100%;
  top:0;
}

#slider-cover .big-bottom .animazioneFele-3.chiudi {
  position:absolute;
  left:176px;
  right:0;
  top:0;
  bottom:100%;
  height:0;
  width:144px;
  background-color: #fef1ed;
  transition: height 0.5s ease-out, bottom 0.5s ease-out;
  -webkit-transition: height 0.5s ease-out, bottom 0.5s ease-out;
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

#slider-cover.open .big-bottom .animazioneFele-3.chiudi {
  height:100%;
  bottom:0;
}

/* === 4 === */
#slider-cover .big-bottom .animazioneFele-4 {
  position:absolute;
  left:100%;
  right:0;
  top:0;
  bottom:0;
  height:100%;
  width:0;
  background-color: #ebebeb;
  transition: width 0.5s ease-out, left 0.5s ease-out;
  -webkit-transition: width 0.5s ease-out, left 0.5s ease-out;
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

#slider-cover.open .big-bottom .animazioneFele-4 {
  width:100%;
  left:0;
}

/* === 5 === */
#slider-cover .big-bottom .animazioneFele-5 {
  position:absolute;
  top:0;
  bottom:0;
  height:100%;
  width:0px;
}

#slider-cover .big-bottom .animazioneFele-5.apri {
  left:0;
  right:100%;
  width:0px;
  background-color: #fef1ed;
  transition: width 0.5s ease-out, right 0.5s ease-out;
  -webkit-transition: width 0.5s ease-out, right 0.5s ease-out;
}

#slider-cover.open .big-bottom .animazioneFele-5.apri {
  width:100%;
  right:0;
  left:0;
}

#slider-cover .big-bottom .animazioneFele-5.chiudi{
  right:0;
  left:100%;
  width:0px;
  background-color: #fff;
  transition: width 0.5s ease-out, left 0.5s ease-out;
  -webkit-transition: width 0.5s ease-out, left 0.5s ease-out;
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

#slider-cover.open .big-bottom .animazioneFele-5.chiudi {
  width:100%;
  left:0;
  right:0;
}

/* === 6 che e' il settimo === */
#slider-cover .big-bottom .animazioneFele-6 {
  position:absolute;
  left:0;
  right:100%;
  top:0;
  bottom:0;
  height:100%;
  width:0;
  background-color: #ebebeb;
  transition: width 0.5s ease-out, right 0.5s ease-out;
  -webkit-transition: width 0.5s ease-out, right 0.5s ease-out;
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

#slider-cover.open .big-bottom .animazioneFele-6 {
  width:100%;
  right:0;
}

/* === 7 cioe' otto === */
#slider-cover .big-bottom .animazioneFele-7 {
  position:absolute;
  top:0;
  bottom:0;
  height:100%;
  width:0px;
}

#slider-cover .big-bottom .animazioneFele-7.apri {
  left:100%;
  right:0;
  width:0;
  background-color: #ebebeb;
  transition: width 0.5s ease-out, left 0.5s ease-out;
  -webkit-transition: width 0.5s ease-out, left 0.5s ease-out;
}

#slider-cover.open .big-bottom .animazioneFele-7.apri {
  width:100%;
  left:0;
  right:0;
}

#slider-cover .big-bottom .animazioneFele-7.chiudi{
  right:100%;
  left:0;
  width:0px;
  background-color: #fff;
  transition: width 0.5s ease-out, right 0.5s ease-out;
  -webkit-transition: width 0.5s ease-out, right 0.5s ease-out;
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

#slider-cover.open .big-bottom .animazioneFele-7.chiudi {
  width:100%;
  right:0;
  left:0;
}

/* === THE THING === */
#slider-cover.open .big-bottom .thing {
  width:0;
}

/* === 8, in realta' il sesto === */
#slider-cover .big-bottom .animazioneFele-8 {
  position:absolute;
  top:0;
  right:0;
  height:0;
  width:100%;
}

#slider-cover .big-bottom .animazioneFele-8.apri {
  left:0;
  bottom:100%;
  height:0px;
  background-color: #ebebeb;
  transition: height 0.5s ease-out, bottom 0.5s ease-out;
  -webkit-transition: height 0.5s ease-out, bottom 0.5s ease-out;
}

#slider-cover.open .big-bottom .animazioneFele-8.apri {
  height:100%;
  bottom:0;
  left:0;
}

#slider-cover .big-bottom .animazioneFele-8.chiudi{
  left:0;
  bottom:100%;
  height:0px;
  background-color: #fff;
  transition: height 0.5s ease-out, bottom 0.5s ease-out;
  -webkit-transition: height 0.5s ease-out, bottom 0.5s ease-out;
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

#slider-cover.open .big-bottom .animazioneFele-8.chiudi {
  height:100%;
  bottom:0;
  left:0;
}

/* === 9 === */
#slider-cover .big-bottom .animazioneFele-9 {
  position:absolute;
  top:0;
  right:0;
  height:0;
  width:100%;
}

#slider-cover .big-bottom .animazioneFele-9.apri {
  left:0;
  bottom:100%;
  height:0px;
  background-color: #ebebeb;
  transition: height 0.5s ease-out, bottom 0.5s ease-out;
  -webkit-transition: height 0.5s ease-out, bottom 0.5s ease-out;
}

#slider-cover.open .big-bottom .animazioneFele-9.apri {
  height:100%;
  bottom:0;
  left:0;
}

#slider-cover .big-bottom .animazioneFele-9.chiudi{
  left:0;
  bottom:100%;
  height:0px;
  background-color: #fff;
  transition: height 0.5s ease-out, bottom 0.5s ease-out;
  -webkit-transition: height 0.5s ease-out, bottom 0.5s ease-out;
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

#slider-cover.open .big-bottom .animazioneFele-9.chiudi {
  height:100%;
  bottom:0;
  left:0;
}

/* === TOTAL === */
#tecnologia #slider-cover .container {
  position: relative;
  overflow:hidden;
}

#slider-cover .container .animazioneFele-total.apri{
  position:absolute;
  top:150px;
  right:0;
  height:0;
  width:100%;
  left:0;
  bottom:100%;
  height:0px;
  background-color: #fef1ed;
  transition: height 0.5s ease-out, bottom 0.5s ease-out;
  -webkit-transition: height 0.5s ease-out, bottom 0.5s ease-out;
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

#slider-cover.open .container .animazioneFele-total.apri {
  height:100%;
  bottom:0;
  left:0;
}

/* === TECNOLOGIA QUADRANTE 2 === */
#tecnologia #slider-cover .big-bottom .animazioneFele-2{
  background-color: #fef1ed;
}

/* === TECNOLOGIA QUADRANTE 3 CON BOTTONE 'CHIUDI' === */
#tecnologia #slider-cover .big-bottom .animazioneFele-3.apri {
  background-color: #fef1ed;
}

#tecnologia #slider-cover .big-bottom .animazioneFele-3.chiudi {
  background-color: #ebebeb;
}






