/*
    Edilfarma
    BLU:        #5a7497
    GRIGIO:     #676b6d
        GRIGIO CHIARO:  #f9f9f9
        GRIGIO CHIARO:  #efefef

*/


@font-face {
    font-family: 'Josef reduced';
    src: url('fonts/Josefreduced-Light.eot');
    src: url('fonts/Josefreduced-Light.eot?#iefix') format('embedded-opentype'),
        url('fonts/Josefreduced-Light.woff2') format('woff2'),
        url('fonts/Josefreduced-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}




body,html{
    overflow-x: hidden;
}


body{
    line-height: 26px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    color: #777777;
    overflow-x: hidden;
}

b, sup, sub, u, del{
    color: #5a7497;
}

.bigger{
    font-size: 2em;
    line-height: 1.6em;
}

.col-pri{
    color: #5a7497;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', cursive;
    color: #5a7497;
    font-weight: normal;   
}

/* vedi font simile per "Flexa" */
.font-alt{
    /*font-family: 'Josef reduced';*/
    font-family: 'Asap', sans-serif;
    font-weight: 300;
    font-style: normal;
    color: #636463;
}


.white{
    color: #FFFFFF;
}


.edilfarma-logo-txt{
    background-image: url('/theme/edilfarma/img/logo-full.svg');
    background-repeat: no-repeat;
    display: inline-block;
    line-height: 1em;
    height: 1em;
    width: 200px;
    background-size: contain;
    
}

a{
    color: #5a7497;
}

a:hover, a:active, a:focus
{
    color: #5a7497;
    text-decoration: underline;
}


.btn.btn-primary{
    background-color: transparent;
    border: solid 2px #5a7497;
    border-radius: 50%;
    
    padding: .5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: .3rem;
    
    color: #5a7497 !important;
}

.btn.btn-primary:hover, .btn.btn-primary:active, .btn.btn-primary:active:focus, .btn.btn-primary:focus{
    background-color: #5a7497;
    border: solid 2px #FFFFFF;
    color: #FFFFFF !important;
}


.vt-info-box .btn.btn-primary{
    color: #FFFFFF;
}



.dark .btn.btn-primary{
    background-color: transparent;
    border: solid 2px #FFFFFF;
    border-radius: 50%;
    
    padding: .5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: .3rem;
    
    color: #FFFFFF !important;
}

.dark .btn.btn-primary:hover, .dark .btn.btn-primary:active, .dark .btn.btn-primary:active:focus, .dark .btn.btn-primary:focus{
    background-color: #FFFFFF;
    border: solid 2px #5a7497;
    color: #5a7497 !important;
}

section.dark .form-control:focus{
  background: #eff2f5;
}




img.img-responsive{
    width: 100%; height: auto;
}


/* logo edilfarma con svg da utilizzare come testo */
span.logo-txt{
    background-image: url('/theme/edilfarma/img/logo-full.svg');
    background-repeat: no-repeat;
    display: inline-block;
    background-size: contain;
    background-position: bottom;
    height: 1.5em;
    width: 120px;
}

.with-shadow{
    text-shadow: 2px 2px #5a7497;
}


section ul {
  list-style: none; /* Remove default bullets */
}

section .fas{
    color: #5a7497;
}

section ul li::before
{
  content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: #5a7497; /* Change the color */
  font-weight: bold; /* If you want it to be bold */
  display: inline-block; /* Needed to add space between the bullet and the text */
  width: 1em; /* Also needed for space (tweak if needed) */
  margin-left: -1em; /* Also needed for space (tweak if needed) */
}

.dark ul li::before{
    color: #FFFFFF;
}

ul.list-unstyled li::before{display: none;}


.vspace-25{ height: 25px; display: block; width: 100%; }
.vspace-50{ height: 50px; display: block; width: 100%; }
.vspace-75{ height: 75px; display: block; width: 100%; }

h2{
    font-size: 2.5em;
}

h3{
    font-size: 2em;
}
h4{
    font-size: 1.5em;
}

.font-15em{
    font-size: 1.5em;
}
.font-2em{
    font-size: 2em;
    line-height: 2em;
}
.font-3em{
    font-size: 3em;
}
.font-4em{
    font-size: 4em;
}




@media all and (min-width: 769px) {
    /* dimesioni dei font */
    
    body.home  h1{font-size: 7em;}
    body.home  h2{font-size: 6em;}
    body.home  h3{font-size: 5em;}
    body.home  h4{font-size: 3em;}
    body.home  h5{font-size: 2.5em;}
    body.home  h6{font-size: 2em;}
    
    
    section ul li{
        font-size: 1.5em;
        line-height: 1.2em;
        margin-bottom: .8em;
    }
    
    p{
        font-size: 1.5em;
        line-height: 1.3em;
    }
}

@media all and (max-width: 768px) {
    
    .font-15em{
        font-size: 1em;
    }
    .font-2em{
        font-size: 1.5em;
    }
    .font-3em{
        font-size: 2em;
    }
    .font-4em{
        font-size: 3em;
    }
    
}





.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5,
.dark h6,
.dark p,
.dark b,
.dark strong,
.dark ul li
{
    color: #FFFFFF;
}




/*.underlined{
    border-bottom: solid 1px;
}*/

.underlined{
    position: relative;
}
.underlined::after{
    content:' ';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 1%;
    background-color: #FFFFFF;
    
    
    -moz-transition: all 2s;
    -webkit-transition: all 2s;
    -ie-transition: all 2s;
    -o-transition: all 2s;
    transition: all 2s;
}
.underlined.underlined-dark::after{
    background-color: #000;
}
section.reveal .underlined::after{
    width: 100%;
}




img.logo-img{
    display: block;
    width: auto;
    height: 36px;
}

body.navbar_fixed img.logo-img{
    height: 24px;
}




/* ################### */
/* Preloader */
/* ################### */

body.loading{
    overflow: hidden;
}
.loading-modal{
    /*position: absolute;*/
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0);
    
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    -ie-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
    
    opacity: 0;
    display: none;
}

.loading-modal .loading-modal-logo{
    display: block;
    margin: auto;
    width: 280px;
    height: auto;
    
    -moz-transition: all 10s;
    -webkit-transition: all 10s;
    -ie-transition: all 10s;
    -o-transition: all 10s;
    transition: all 10s;
}

body.loading .loading-modal{
    display: block;
    background-color: rgba(255,255,255,1);
    z-index: 100;
    opacity: 1;
}

/* ################### */


.logo-text{
    background-image: url('/theme/edilfarma/img/logo-full.svg');
    display: inline;
    height: 1em; width: auto;
    background-size: 100% auto;
    background-repeat: no-repeat;
    line-height: 1em;
}

.dark .logo-text{
    background-color: #FFFFFF;
}




/**
    Layout
*/


section{
    width: 100%;
    position: relative;
/*                display: flex;
                align-items: center;*/
                background-color: #FFFFFF;
}

section.content-top{
    align-items: flex-start;
}

/*section .row{
    margin: auto;
}*/


/* sezione che contiene i riquadri ruotati che altrimenti sforerebbero l area */
section.with-art{
    overflow: hidden;
}



section.dark{
    background-color: #5a7497;
}

section.light-alt{
    /*background-color: #e7e7e7;*/
    background-color: #efefef;
}


section.with-bg{
    background-color: transparent;
    background-position: center center;
    background-size: cover;
}




/* punto circolare come il catalogo sui bordi delle sezioni */
.art-dot{
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    top: -4px;
    left: 10%;
    z-index: 2;
    background-color: #5a7497;
}
.art-dot.from-right{
    left: auto;
    right: 10%;
}
.art-dot.bottom{
    bottom: -4px;
    top: auto;
}
.art-dot.light{
    background-color: #FFFFFF;
}





section.main-section{
    overflow: hidden;
    background: rgb(90,116,151);
    display: flex;
    align-items: center;
}


.background-zoomin-effect{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    /*background-color: #5a7497;*/
    
    -moz-transition: all 6s;
    -webkit-transition: all 6s;
    -ie-transition: all 6s;
    -o-transition: all 6s;
    transition: all 6s;
    
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
}





body.home section:not(.footer-section){
    height: 100vh;
}


body.home section:not(.main-section){
    padding-top: 120px;
    padding-bottom: 120px;
    border-top: solid 1px #5a7497;
}

section.height-auto{
    height: auto !important;
}


/*@media all and (max-width: 768px) {*/
@media all and (max-width: 991px) {
    /*section:not(.footer-section){*/
    body.home section:not(.footer-section){
        height: auto;
        min-height: 100vh;
    }
}




.title-big{
    font-family: 'Bebas Neue', cursive;
    font-size: 8em;
    line-height: 1em;
    text-align: center;
    text-shadow: 2px 2px 2px #888888;
}
.title-big > span.num,
.single-project-tempo-realizzazione > span.num
{
    background-color: #FFFFFF;
    color: #5a7497;
    width: 1em;
    height: 1em;
    line-height: 1.1em;
    border-radius: .5em;
    -moz-border-radius: .5em;
    -webkit-border-radius: .5em;
    text-align: center;
    display: inline-block;
    margin: auto;
    border: solid 2px #5a7497;
}

    .single-project-tempo-realizzazione > span.num{
        width: 1.5em;
        height: 1.5em;
        line-height: 1.5em;
        border-radius: 1em;
        -moz-border-radius: 1em;
        -webkit-border-radius: 1em;
    }

.dark .title-big{
    color: #FFFFFF;
}
.light .title-big{
    color: #5a7497;
}


.content-padded-md{
    padding: 10%;
}

@media all and (max-width: 568px) {
    .content-padded-md{
        padding-left: 1em;
        padding-right: 1em;
    }
}

@media all and (max-width: 768px) {
    .title-big{
        font-size: 4em;
    }
}

@media all and (min-width: 1600px) {
    .title-big{
        font-size: 12em;
    }
}




/* ############################## */
/* next section link */
.next-section{
    position: absolute;
    bottom: 0em;
    left: 0px; width: 100%;
    text-align: center;
    
    /*text-shadow: 1px 1px #FFFFFF;*/
}
.next-section > a{
    display: inline-block; text-align: center;
    font-size: 1.5em;
    text-transform: uppercase;
    line-height: 1em;
    font-family: 'Bebas Neue', cursive;
    
    
    -moz-transition: all 300ms;
    -webkit-transition: all 300ms;
    -ie-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
}

.next-section:hover > a{
    text-decoration: none;
    transform: scale(1.3,1.3) translateY(-10px);
}

.next-section > a > small{
    display: block;
    margin: auto;
    font-size: .5em;
    line-height: .5em;
    font-family: Verdana, Geneva, sans-serif;
    text-transform: initial;
}

.dark .next-section > a,
.dark .next-section > a:visited,
.dark .next-section > a:focus
{
    color: #FFFFFF;
    text-decoration: none;
}
.light .next-section > a,
.light .next-section > a:visited,
.light .next-section > a:focus
{
    color: #5a7497;
    text-decoration: none;
}

/* ############################## */



/* riquadri effetto bg con forme ruotate */

.bg-art{
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    /*background: #f9f9f9;*/
    background: #eff2f5;
    transform: rotate(-90deg);
    
    -moz-transition: all 1500ms;
    -webkit-transition: all 1500ms;
    -ie-transition: all 1500ms;
    -o-transition: all 1500ms;
    transition: all 1500ms;
}

/*.bg-art.bg-art-w100{
    width: 100%;
}*/




.bg-art-alt{
    position: absolute;
    top: 0;
    right: -20%;
    width: 60%;
    height: 100%;
    /*background: #f9f9f9;*/
    background: #eff2f5;
    /*transform: rotate(45deg);*/
    
    -moz-transition: all 800ms;
    -webkit-transition: all 800ms;
    -ie-transition: all 800ms;
    -o-transition: all 800ms;
    transition: all 800ms;
}
.bg-art.bg-art-blue{
    /*background: #dfe4ec;*/
    background: #eff2f5;
    
    opacity: .1;
    width: 2%;
    height: 2%;
    
    top: -50%;
    /*right: -50%;*/
    left: 50%;
    
    
    -webkit-transition-delay: 2s;
    -moz-transition-delay: 2s;
    -o-transition-delay: 2s;
    transition-delay: 2s;
    
    -moz-transition: all 1800ms;
    -webkit-transition: all 1800ms;
    -ie-transition: all 1800ms;
    -o-transition: all 1800ms;
    transition: all 1800ms;
}





section.reveal .bg-art{
    transform: rotate(10deg);
}
section.reveal .bg-art-alt{
    transform: rotate(45deg);
}

section.reveal .bg-art.bg-art-blue{
    transform: rotate(45deg);
    
    top: 14%;
    /*right: 0%;*/
    left: -10%;
    
    opacity: 1;
    height: 130%;
    width: 130%;
}








section.from-left::after{
    right: 10%;
}
section.from-right::after{
    left: 10%;
}



header.header-area{
    position: fixed;
    width: 100%;
    z-index: 2;
    background: #FFFFFF;
}

header.header_area.navbar_fixed img.logo-img{
    height: 24px;
}

.navbar-brand{
    padding: .5em;
}

@media all and (min-width: 2000px) {
    section > .container{
        max-width: 80%;
    }
}


.keywords-list{
    display: block;
    width: 100%;
    text-align: center;
    /*padding: 1em;*/
    padding: 2em;
}
.keywords-list li{
    display: inline-block;
    padding: 0 .5em;
    border: solid 1px #5a7497;
    color: #5a7497;
    margin: .5em;
    border-radius: 15px;
    background: #FFFFFF;
    white-space: nowrap;
    
    font-size: 2em;
    
    -moz-transition: all 500ms;
    -webkit-transition: all 500ms;
    -o-transition: all 500ms;
    -ie-transition: all 500ms;
    transition: all 500ms;
}
.keywords-list li:hover{
    background-color: #5a7497;
    color: #FFFFFF;
}

.keywords-list li::after,
.keywords-list li::before{
    display: none;
}

@media all and (max-width: 500px) {
    .keywords-list{
        padding: 0;
    }
}


/* Assistenza a 360° con il simbolo SVG da centrare sul testo */

.word-360{
    display: inline-block;
    position: relative;
}
.word-360 > .symbol-image-360{
    position: absolute;
    /*background-image: url('/images/demo/girandola.svg');*/
    background-image: url('/images/demo/arrow-360.svg');
    
    width: 220px;
    height: 220px;
    top: -80px;
    left: -36px;
    
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    
    transform: rotate(360deg) scale(2,2);
    
    
    -webkit-transition-delay: 2s;
    -moz-transition-delay: 2s;
    -o-transition-delay: 2s;
    transition-delay: 2s;
    
    -moz-transition: all 1800ms;
    -webkit-transition: all 1800ms;
    -ie-transition: all 1800ms;
    -o-transition: all 1800ms;
    transition: all 1800ms;
    
    opacity: 0;
}

section.reveal .word-360 > .symbol-image-360{
    opacity:1;
    
    transform: rotate(0deg) scale(1,1);
}


@media all and (max-width: 768px) {
    .word-360 > .symbol-image-360{
        width: 110px;
        height: 110px;
        top: -40px;
        left: -18px;
    }
    
    
    ul.list-center-xs > li{
        text-align: center !important;
    }
}





.assistenza-360-obj{
    width: 100%;
    white-space: nowrap;
}
.assistenza-360-obj span{
    font-size: 3.5em;
}
.assistenza-360-obj img{
    width: 100%; height: auto; margin: auto; max-width: 240px;
}


@media all and (max-width: 768px) {
    .assistenza-360-obj span{
        display: block;
    }
}



.assistenza-circle-arrow-container{
    display: flex;
    justify-content: center;
    
    position: absolute;
    width: 100%;
    text-align: center;
    
    top: -32px;
    left: 0px;
    
    height: 128px;
    opacity: 0;
    
    transform: scale(4,4) translate(-200%, -200%);
    
}

.assistenza-circle-arrow{
    position: relative; display: block;
    
    width: 100vw;
    height: 100vw;
    
    opacity: 0;
    transform: rotate(360deg);
    
    /*background-image: url('/theme/edilfarma/img/circular-arrow.svg');*/
    background-image: url('/theme/edilfarma/img/circular-arrow-blue.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    
     -moz-transition: all 1800ms;
    -webkit-transition: all 1800ms;
    -ie-transition: all 1800ms;
    -o-transition: all 1800ms;
    transition: all 1800ms;
}


section.reveal .assistenza-circle-arrow-container{
    opacity: .8;
    transform: scale(1,1) translate(0%, 0%);
}

section.reveal .assistenza-circle-arrow-container .assistenza-circle-arrow{
    transform: rotate(0deg);
    opacity: .8;
    
    height: 128px;
    width: 128px;
}


@media all and (max-width: 768px) {
    section.reveal .assistenza-circle-arrow-container .assistenza-circle-arrow{
        height: 64px;
        width: 64px;
    }
}





/* Sezioni pagine */

#section-chiavi-in-mano-garanzia{
    width: 110%; 
    margin-left: -3%; 
    overflow: hidden;
}

@media all and (max-width: 640px) {
    #section-chiavi-in-mano-garanzia{
        width: 114% !important;
        margin-left: -7% !important;
    }
    
    #section-chiavi-in-mano-garanzia > div.container{
        width: 90% !important;
    }
}




/* ################################## */
/* Comparison */

.cd-image-container {
  position: relative;
  width: 100%;
  max-width: 768px;
  margin: 0em auto;
  overflow: hidden;
  
  /* le foto hanno altezza 600 pixel, qui stringo un pò la sezione alzando la foto per mantenere le stesse dimensioni fintanto che non è confermata la sezione */
  height: 480px;
}


.cd-image-container img {
  display: block;
}

/* per allineare, solo 1 foto delle due */
.cd-image-container > img{
    margin-top: -60px;
}


@media all and (max-width: 768px) {
    .cd-image-container {
        height: auto;
    }
    
}


.cd-image-label {
  position: absolute;
  top: 0;
  right: 0;
  color: #ffffff;
  background-color: #5a7497;
  
  padding: 1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  -webkit-transform: translateY(20px);
  -moz-transform: translateY(20px);
  -ms-transform: translateY(20px);
  -o-transform: translateY(20px);
  transform: translateY(20px);
  -webkit-transition: -webkit-transform 0.3s 0.7s, opacity 0.3s 0.7s;
  -moz-transition: -moz-transform 0.3s 0.7s, opacity 0.3s 0.7s;
  transition: transform 0.3s 0.7s, opacity 0.3s 0.7s;
}
.cd-image-label.is-hidden {
  visibility: hidden;
}
.is-visible .cd-image-label {
  opacity: 1;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

.cd-resize-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  overflow: hidden;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.cd-resize-img img {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
}
.cd-resize-img .cd-image-label {
  right: auto;
  left: 0;
}
.is-visible .cd-resize-img {
  /*width: 50%;*/
  /* start point della foto "prima" */
  width: 25%;
  
  /* bounce in animation of the modified image */
  -webkit-animation: cd-bounce-in 0.7s;
  -moz-animation: cd-bounce-in 0.7s;
  animation: cd-bounce-in 0.7s;
}

@-webkit-keyframes cd-bounce-in {
  0% {
    width: 0;
  }
  60% {
    width: 55%;
  }
  100% {
    width: 50%;
  }
}
@-moz-keyframes cd-bounce-in {
  0% {
    width: 0;
  }
  60% {
    width: 55%;
  }
  100% {
    width: 50%;
  }
}
@keyframes cd-bounce-in {
  0% {
    width: 0;
  }
  60% {
    width: 55%;
  }
  100% {
    width: 50%;
  }
}
.cd-handle {
  position: absolute;
  height: 44px;
  width: 44px;
  /* center the element */
  /*left: 50%;*/
  left: 25%; /* start point */
  top: 50%;
  margin-left: -22px;
  margin-top: -22px;
  border-radius: 50%;
  /*background: #dc717d url("../img/cd-arrows.svg") no-repeat center center;*/
  background: #5a7497 url("../img/cd-arrows.svg") no-repeat center center;
  cursor: move;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.2), 0 0 10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  opacity: 0;
  -webkit-transform: translate3d(0, 0, 0) scale(0);
  -moz-transform: translate3d(0, 0, 0) scale(0);
  -ms-transform: translate3d(0, 0, 0) scale(0);
  -o-transform: translate3d(0, 0, 0) scale(0);
  transform: translate3d(0, 0, 0) scale(0);
}
.cd-handle.draggable {
  /* change background color when element is active */
  background-color: #445b7c;
}
.is-visible .cd-handle {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0) scale(1);
  -moz-transform: translate3d(0, 0, 0) scale(1);
  -ms-transform: translate3d(0, 0, 0) scale(1);
  -o-transform: translate3d(0, 0, 0) scale(1);
  transform: translate3d(0, 0, 0) scale(1);
  -webkit-transition: -webkit-transform 0.3s 0.7s, opacity 0s 0.7s;
  -moz-transition: -moz-transform 0.3s 0.7s, opacity 0s 0.7s;
  transition: transform 0.3s 0.7s, opacity 0s 0.7s;
}



/* END LAST Comparison */
/* ######################################## */






#sezione-unico-interlocutore{
    background: transparent;
}

#sezione-unico-interlocutore{
    background: transparent;
    height: 100vh; padding-top: 40px; padding-bottom: 40px;
}

@media all and (max-width: 768px) {
    #sezione-unico-interlocutore{
        height: auto;
    }
}


.handshake-image{
    opacity: 0;
    
    
    -moz-transition: all 1s ease;
    -webkit-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

.reveal .handshake-image{
    opacity: 1;
}


/* titolo assistenza */
h1.with-lettering{
    transform: translateX(50%);
    margin-top: 50px;
    height: 60px;
    font-size: 8em; /* sempre 8em */
}

h1.with-lettering span {
  /*font: 26px Monaco, MonoSpace;*/
  font: .3em Monaco, MonoSpace;
  height: 260px;
  position: absolute;
  width: 20px;
  left: 0;
  top: 0;
  transform-origin: bottom center;
  -moz-transform-origin: bottom center;
  -webkit-transform-origin: bottom center;
}

h1.with-lettering .char1{transform: rotate(-36deg); }
h1.with-lettering .char2{transform: rotate(-28deg); }
h1.with-lettering .char3{transform: rotate(-20deg); }
h1.with-lettering .char4{transform: rotate(-12deg); }
h1.with-lettering .char5{transform: rotate(-4deg); }

h1.with-lettering .char6{transform: rotate(4deg); }
h1.with-lettering .char7{transform: rotate(12deg); }
h1.with-lettering .char8{transform: rotate(20deg); }
h1.with-lettering .char9{transform: rotate(28deg); }
h1.with-lettering .char10{transform: rotate(36deg); }





#sezione-virtuatour-selfhosted-video{
    overflow: hidden;
}

#sezione-virtuatour-selfhosted-video > video{
    /*position: absolute;*/
    top: 0; left: 0; 
    width: 100%;
    height: auto;
    /*height: 100%;*/ 
}

.section-virtual-tour .vt-title,
.section-virtual-tour .vt-desc{
    position: absolute;
}

.vt-title, .vt-desc{
    transition: all 1s;
}


.section-virtual-tour .vt-title{
    top: 35%;
    left: 0;
    width: 50%;
    transform: translateX(75%);
    -moz-transform: translateX(75%);
    -webkit-transform: translateX(75%);
    -o-transform: translateX(75%);
        
}
.section-virtual-tour .vt-desc{
    top: 50%;
    left: 0;
    width: 50%;
    text-align: center;
    
    transform: translateX(50%);
    -moz-transform: translateX(50%);
    -webkit-transform: translateX(50%);
    -o-transform: translateX(50%);
}


.section-virtual-tour .vt-title.with-position-end{
    top: 2em;
    left: 2em;
    transform: scale(.5,.5) translateX(-50%);
    -moz-transform: scale(.5,.5) translateX(-50%);
    -webkit-transform: scale(.5,.5) translateX(-50%);
    -o-transform: scale(.5,.5) translateX(-50%);
}

.section-virtual-tour .vt-desc.with-position-end{
    top: 6em;
    left: 2em;
    transform: scale(.5,.5) translateX(-50%);
    -moz-transform: scale(.5,.5) translateX(-50%);
    -webkit-transform: scale(.5,.5) translateX(-50%);
    -o-transform: scale(.5,.5) translateX(-50%);
    
    text-align: left;
}








#section-contact{
    height: auto;
}
#section-contact form{
    max-width: 800px;
    margin: auto;
    margin-top: 2em;
}
#section-contact .alert{
    max-width: 800px;
    margin: auto;
    margin-top: 1em;
}

#section-contact form label{
    text-transform: uppercase;
}


.custom-form-instance label{
    text-transform: uppercase;
    color: inherit;
}

.dark .custom-form-instance label{
    color: #FFFFFF;
}




.footer-section{
    border-top: solid 1px #FFFFFF !important;
    background-color: #676b6d;
    color: #FFFFFF;
    overflow: visible;
}



#scroll-top
{
    position: fixed;
    right: -200px;
    /*bottom: 2em;*/
    bottom: 8em;
    transition: all 500ms;
    cursor: pointer;
    
    padding: 1em;
    background-color: #5a7497;
    color: #FFFFFF;
    border: solid 1px #FFFFFF;
    
    z-index: 1;
}
#scroll-top.reveal{
    /*right: 2em;*/
    right: 1em;
}

.badge-360{
    background-color:#5a7497;
    color:#FFFFFF;
    
    /*
    width: 80px;
    height: 80px;
    border-radius: 40px;
    line-height: 80px;
    */
    width: 98px;
    height: 98px;
    border-radius: 49px;
    line-height: 98px;
    
    
    display: inline-block;
    
    text-align: center;
    font-weight: bold;
    
}

/* custom form support */
form input.with-error,
form select.with-error {
    border: solid 1px red;
}





/* LAST */

/*
.footer-area::before{
    background-image: none;
    width: 40%;
    height: 80%;
    transition: all 1s ease-in;
    left: 0;
    bottom: 0;
    
    background-color: #eff2f5;
}
.footer-area::after{
    background-image: none;
    width: 40%;
    height: 80%;
    right: 0;
    top: 0;
    
    background-color: #eff2f5;
}
*/

.breadcrumb-area{
    background-image: url('/images/demo/fondino_stripe3_edilfarma.jpg');
}

.breadcrumb-area,
.breadcrumb-area a,
.breadcrumb-area a:hover,
.breadcrumb-area a:active,
.breadcrumb-area a:focus
{
    color: #FFFFFF;
}

.breadcrumb-area a.scrollTo
{
    position: absolute;
    width: 100%;
    bottom: 0; left: 0;
    text-align: center;
    /*padding: 6em;*/
    padding-bottom: 6em;
    font-size: 1.5em;
    
    transition: all 300ms;
}

.breadcrumb-area a.scrollTo:hover
{
    text-decoration: none;
    
    transform: scale(1.3,1.3) translateY(-10px);
    -moz-transform: scale(1.3,1.3) translateY(-10px);
    -webkit-transform: scale(1.3,1.3) translateY(-10px);
}
.breadcrumb-area a.scrollTo:focus{
    text-decoration: none;
}


.footer-widget .widget-title{
    font-weight: normal;
}

.widget-wrap h4.widget-title{
    padding-left: 0;
}
.widget-wrap h4.widget-title::before{
    display: none;
}

.widget-style-2 .widget-wrap h4.widget-title{
    padding-bottom: 0;
}


/* invertito */
.footer-area.color-inverted{
    background: #FFFFFF;
    padding-left: 30px;
    padding-right: 30px;
}
.footer-area.color-inverted .footer-social a{
    color: #5a7497;
    border-color: #5a7497;
}

.footer-social a:hover{
    background-color: #5a7497;
    color: #FFFFFF;
}
.footer-social a:hover i{
    color: #FFFFFF;
}


.footer-area.color-inverted .footer-widget ul li,
.footer-area.color-inverted .footer-widget ul li a
{
    color: #777777;
}

.footer-area.color-inverted .footer-widget ul li a:hover{
    color: #5a7497;
}

.footer-area.color-inverted .footer-separator{
    background-color: #5a7497;
}
.footer-area.color-inverted .footer-widget .widget-title,
.footer-area.color-inverted .copyright,
.footer-menu ul li a
{
    color: #5a7497;
}


/* menu widget in footer */
#PositionInnerFooter .inner-footer-menu-widget ul li.has-children > a:first-child{
    display: none;
}





/* navbar white */

/* nelle pagine interne la navbar è bianca da subito */
body:not(.home) .header_area{
    background-color: #FFFFFF;
}

body:not(.home) .header_area .navbar .nav .nav-item .nav-link{
    color: #222;
}

[data-overlay="dark"]::before{
    background-color: #5a7497;
}




/* ########################################## */
/* ########################################## */
/* ########################################## */
/* Projects */




.widget-wrap{
    background-color: #FFFFFF !important;
}


.single-project-tempo-realizzazione {
    position: absolute; 
    /*bottom: 2.5em;*/ 
    bottom: .5em; 
    right: .5em; 
    padding: 1em .5em; font-size: 2em; font-weight: bold;
    background-color: #5a7497;
    color: #FFFFFF;
}


.projects-list-area > section{
    height: 60vh;
}

@media all and (max-width: 768px) {
    
    .projects-list-area > section{
        height: auto;
        min-height: 80vh;
    }
}


.projects-list-area .projects-list-entry-row{
    padding-top: 15px;
    padding-bottom: 15px;
}

.projects-list-entry-row .project-heading{
    position: absolute; top: 1em; left: 0; width: 100%; height: 4em; z-index: 1;
    padding-left: 2em;
}
.projects-list-entry-row .project-heading > span{
    position: absolute; 
    right: 2em; 
    bottom: 0; 
    font-style: italic; 
    color: #777777;
}

    .projects-list-entry-row .projects-single-image-link{
        display: block;
    }

    .projects-list-entry-row .projects-single-image-link .projects-single-image-container{
        position: relative; 
        width: 100%; 
        height: 540px; 
            
        background-size: cover; 
        background-position: center center;
        transition: all 800ms;
        
        overflow: hidden;
    }
    
    
    .projects-single-image-link:hover .projects-single-image-container{
        opacity: .5;
    }
 
 
    .portfolio-single-details{
        position: relative;
    }

.portfolio-single-details .play-icon{
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}


.projects-list-area .blog-sidebar{
    padding-left: 0;
    
    display: flex;
    height: 100%;
}

.projects-list-area .blog-sidebar > .widget-wrap{
    width: 100%;
    height: 100%;
}

.projects-list-area .blog-sidebar .portfolio-widget ul li{
    font-size: 1em;
    color: #777777;
}
.projects-list-area .blog-sidebar .portfolio-widget ul li::before{
    color: #5a7497;
}

.projects-list-area .blog-sidebar h4.widget-title{
    color: #777777;
}


/* contenitore del testo virtualtour e dell'icona i */
.portfolio-single-details .play-icon > div{
    display: flex;
    flex-direction: column;
}

/* virtual tour text */
.portfolio-single-details .play-icon > div > .text{
    display: block;
    width: 100%;
    text-align: center;
    font-size: 4em;
    color: #FFFFFF;
    margin-bottom: 1em;
    
    transition: color 800ms ease;
    -moz-transition: color 800ms ease;
    -webkit-transition: color 800ms ease;
}

.portfolio-single-details .play-icon > div > i{
    font-size: 8em;
    color: #FFFFFF;
    text-align: center;
    
    transition: color 800ms ease;
    -moz-transition: color 800ms ease;
    -webkit-transition: color 800ms ease;
}

a.projects-single-image-link:hover .play-icon > div > .text,
a.projects-single-image-link:hover .play-icon > div > i{
    color: #5a7497;
}

a.projects-single-image-link:hover .play-icon > div > .with-shadow{
    text-shadow: 2px 2px #FFFFFF;
    color: #5a7497;
}

/* project-archives */
.project-archives{
    height: 30vh;
    background-color: #5a7497;
    color: #FFFFFF;
    
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}
    
    

@media all and (max-width: 768px) {
    .single-project-tempo-realizzazione{
        font-size: 1.5em;
        padding: .3em;
        bottom: 15px;
    }
    
    .projects-list-entry-right-column{
        margin-top: 15px;
    }
}

@media all and (min-width: 1200px) {
    
    .projects-single-image-link:hover .projects-single-image-container{
        transform: scale(1.1,1.1);
    }
    
/*    .projects-list-area .projects-list-entry-row
    {
        height: calc(70vh - 50px);
        
    }*/
    
    .projects-list-area .projects-list-entry-row .portfolio-single-details{
        overflow: hidden;
    }
    
    
    .projects-list-entry-row .projects-single-image-link .projects-single-image-container{
        position: absolute; 
        height: 100%;
    }
    
    .projects-list-entry-row .portfolio-single-details{
        
        /*height: calc( 70vh - 30px - 50px );*/
        
        height: 70vh;
    }
}



/* project-single-modal */

.project-single-modal-vt
{
    display: none;
    transition: all 800ms ease;
    -moz-transition: all 800ms ease;
    -webkit-transition: all 800ms ease;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10;
    background-color: #000000;
    opacity: 0;
}

.project-single-modal-vt .project-single-modal-content
{
    display: block;
    width: 100%;
    position: relative;
}
.project-single-modal-vt .project-single-modal-closer{
    height: 10vh;
    position: absolute;
    top: 1em;
    right: 1em;
    z-index: 1;
}
.project-single-modal-vt .project-single-modal-content{
    height: 100vh;
}

.project-single-modal-vt .project-single-modal-footer{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 48px;
}

.project-single-modal-vt .project-single-modal-content .thumbs{
    position: absolute; top: 0; left: 0; padding: 1em;
}
.project-single-modal-vt .project-single-modal-content .thumbs::before{
    content: 'Dettagli';
    display: block;
    font-size: .9em;
    font-weight: bold;
}

.project-single-modal-vt .project-single-modal-content .vt-info-box{
    position: absolute; bottom: 47%; left: 0; padding: 4em;
    width: 100%; text-align: center;
    background-color: rgba(255,255,255,.8);
}
.project-single-modal-vt .project-single-modal-content .vt-info-box i{
    margin: 1em;
    display: block;
    font-size: 2em;
}
.project-single-modal-vt .project-single-modal-content .vt-info-box ul{
    display: inline-block;
    width: auto;
    margin: auto;
    text-align: justify;
}

.vt-info-box .btn.btn-primary{
    background: #5a7497;
    color: #FFFFFF !important;
}



body.project-single-modal-open{
    overflow: hidden;
}

body.project-single-modal-open .project-single-modal-vt{
    display: block;
    opacity: 1;
}

.project-single-modal-content iframe{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
}




/* Galleries */

.section-with-galleries .swiper-container{
  width: 90%;
}

.section-with-galleries .swiper-slide a{
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}


.section-with-galleries .swiper-container-horizontal > .swiper-pagination-bullets, 
.section-with-galleries .swiper-pagination-custom, .section-with-galleries .swiper-pagination-fraction
{
    bottom: 0px;
    background-color: #FFFFFF;
}

.section-with-galleries .swiper-button-next,
.section-with-galleries .swiper-button-prev{
    width: 5%;
    
    background-image: none;
    text-align: center;
    color: #5a7497;
}

.section-with-galleries .swiper-button-next{
    right: 1em;
}
.section-with-galleries .swiper-button-prev{
    left: 1em;
}

.swiper-pagination-bullet-active{
    background: #5a7497 !important;
}



.section-with-galleries .swiper-slide a .gallery-inner-desc, .section-with-galleries .swiper-slide a .gallery-inner-cta,
.section-with-galleries .swiper-slide a .inner-panel{
    opacity: 0;
    position: absolute;
    width: 100%; height: auto;
    left: 0;
    
    transition: all 800ms ease;
    -moz-transition: all 800ms ease;
    -webkit-transition: all 800ms ease;
    -o-transition: all 800ms ease;
}

.section-with-galleries .swiper-slide a .inner-panel{
    top: 100%;
    background-color: rgba(255,255,255,.4);
    height: 100%;
}


.section-with-galleries .swiper-slide a .inner-panel > .title{
    text-align: center;
    padding: 1em;
}


.section-with-galleries .swiper-slide a .inner-panel-top{
    position: absolute;
    top: 0; left: 0; width: 100%;
    background-color: transparent;
    opacity: .5;
    
    transition: all 800ms ease;
    -moz-transition: all 800ms ease;
    -webkit-transition: all 800ms ease;
    -o-transition: all 800ms ease;
}
.section-with-galleries .swiper-slide a .inner-panel-top > h4{
    margin-bottom: 0px;
    font-size: 1em !important;
    padding: .5em;
    text-align: center;
}

.section-with-galleries .swiper-slide a:hover .inner-panel-top{
    opacity: 1;
    z-index: 2;
    background-color: #FFFFFF;
}




/*
.section-with-galleries .swiper-slide a .gallery-inner-desc{
    top: -50%;
    text-align: center;
}
.section-with-galleries .swiper-slide a .gallery-inner-cta{
    bottom: -50%;
}



.section-with-galleries .swiper-slide a:hover > img{
    
    opacity: .7;
    
    transform: scale(1.2);
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
}
*/


.section-with-galleries .swiper-slide a > img{
    
    opacity: .7;
    
    transform: scale(1.2);
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
}




.section-with-galleries .swiper-slide a:hover .gallery-inner-desc,
.section-with-galleries .swiper-slide a:hover .gallery-inner-cta,
.section-with-galleries .swiper-slide a:hover .inner-panel
{
    opacity: 1;
    z-index: 1;
}

/*
.section-with-galleries .swiper-slide a .gallery-inner-desc,
.section-with-galleries .swiper-slide a .gallery-inner-cta,
.section-with-galleries .swiper-slide a .inner-panel
{
    opacity: 1;
    z-index: 1;
}
*/


.section-with-galleries .swiper-slide a:hover .gallery-inner-desc{
    top: 0;
}
.section-with-galleries .swiper-slide a:hover .gallery-inner-cta{
    bottom: 0;
}

.section-with-galleries .swiper-slide a:hover .inner-panel{
    top: 0;
}

/*
.section-with-galleries .swiper-slide a .gallery-inner-desc{
    top: 0;
}
.section-with-galleries .swiper-slide a .gallery-inner-cta{
    bottom: 0;
}

.section-with-galleries .swiper-slide a .inner-panel{
    top: 0;
}
*/










/* END Projects */
/* ###################################### */
/* ###################################### */
/* ###################################### */







.site-logo::before {
    content: '';
    display: none !important;
}


.main-menu ul li a{
    /*padding: 1em .5em;*/
    padding: 1em;
}

.main-menu ul li a::before{
    width: 8px;
    height: 8px;
    background: #5a7497;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.main-menu ul li:hover > a{
    color: #5a7497;
}

.main-menu ul li ul.sub-menu{
    border-top-color: #5a7497;
}



/* new menu navbar_fixed */
body.navbar_fixed header.header-area{
    position: fixed;
    width: 100%;
        height: 50px;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: #FFFFFF;
    
    top: -70px;
    transform: translateY(70px);
    transition: transform 500ms ease;
    -moz-transition: transform 500ms ease;
    -webkit-transition: transform 500ms ease;
}

@media all and (max-width: 1200px) {
    body.navbar_fixed header.header-area{
        height: auto;
    }
    
    ul#mobile-menu-active li.has-children > a > i{
        display: none;
    }
}




.banner{
    display: flex; width: 100%;
    padding: 4em; align-items: center; justify-content: center;
    
    background-image: url('/images/demo/fondino_stripe3_edilfarma.jpg');
}

.banner .banner-content{
    text-align: center;
}
.banner .banner-content h4,
.banner .banner-content p{
    color: #FFFFFF;
}




.grid-item { width: 25%; }
.grid-item--width2 { width: 50%; }



svg {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    pointer-events: none;
    
    width: 100%;
    height: auto;
}
#one {
    animation: firstAnimation 2s linear forwards infinite;
}
@keyframes firstAnimation {
    to {
        stroke-dashoffset: 0;
    }
} 

/* fix svg arrows in single gallery on safari */
.fslightbox-slide-btn > svg{
    width: auto !important;
}