/* SKIN */
:root {
    --primary-color: #fba613;
    --secondary-color: #FF8901;
    --third-color: #FF8901;
    --white-color: #fff;
    --black-color: #111;
    --dark-light:rgba(0,0,0,0.45);
    --primary-font: "Montserrat",sans-serif;
    --secondary-font: 'Roboto Condensed', sans-serif;
    --third-font: 'Roboto Condensed', sans-serif;
    --fourth-font: 'Roboto Condensed', sans-serif;
    --font-html:32px;
    --font-body:16px;
}
.bg-primary{
    background-color: var(--primary-color)!important;
}
.bg-secondary{
    background-color: var(--secondary-color)!important;
}
.bg-third{
    background-color: var(--third-color)!important;
}
.bg-white{
    background-color: var(--white-color)!important;
}
.bg-light-dark{
    background-color: var(--dark-light)!important;
}
.bg-servizi{
    background-color: #201f31;
}
.primary-color{
    color: var(--white-color)!important;
}
.secondary-color{
    color: var(--secondary-color)!important;
}
.third-color{
    color: var(--third-color)!important;
}
.white-color{
    color: var(--white-color)!important;
}

body, p{
    font-family: var(--primary-font);
    font-weight: 500;
    font-size:var(--font-body);
}
.lead{
    font-family: var(--primary-font);
    font-size: 1.4em;
}

h1,h2,h3,h4,h5,h6, .display-1, .display-2, .display-3, .display-4, .display-5 {
    font-family: var(--primary-color);
    /*font-weight: 700;*/
}
.h1, h1, .display-1 {
    font-size: 2.5em!important;
    font-weight: 700;
}
.h2, .title-2, h2, .display-2 {
    font-size: 2em!important;
}
.h3, h3, .display-3 {
    font-size: 1.75em!important;
}
h4,.h4, .display-4 {
    font-size: 1.5em!important;
}
h5,.h5, .display-5,.form-control {
    font-size: 1em!important;
}

p {
    margin-top: 0;
    margin-bottom: 0.25rem;
}
div > p:last-of-type{
    margin-bottom: 0;
}
.display-5 {
    font-family: var(--third-font);
    font-weight: 700;
}
.navbar-nav{
    font-family: var(--primary-font);
    text-transform: uppercase;
}
hr{
    background-color: var(--third-color)!important;
    height: 3px;
    width: 100px;
}
div > p:last-of-type {
    margin: 0;
}
/*BOTTONI*/
.btn {
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 1em;
    text-transform: uppercase;
    font-weight: 700;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.15);
}
.send-icon, .tel-icon{
    width: 60px;
    height: 60px;
    line-height: 60px;
    padding: 0!important;
    text-align: center;
    display: block;
}
.send-icon img{
    width: 40px;
    height: 40px;
    filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(178deg) brightness(1000%) contrast(1000%);
}
.tel-icon img{
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}
li.btn.disabled {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}
.btn-font-small{
    font-size: 0.90em;
}
.btn-rounded {
    font-size: 1.2em;
    line-height: 1.5;
    border-radius: 10rem;
}
.btn-rounded,.btn-rounded:link,.btn-rounded:visited, a.btn-rounded,a.btn-rounded:link,a.btn-rounded:visited{
    border-radius: 10rem;
    border-color:var(--primary-color)!important;
    background-color: var(--primary-color)!important;
    color: var(--white-color)!important;
}
.btn-rounded:hover,.btn-rounded:focus,a.btn-rounded:hover,a.btn-rounded:focus{
    background-color: var(--third-color)!important;
    border-color:var(--third-color)!important;
}
.btn-outline-rounded,.btn-outline-rounded:link,.btn-outline-rounded:visited, a.btn-outline-rounded,a.btn-outline-rounded:link,a.btn-outline-rounded:visited{
    border-radius: 10rem;
    color: var(--secondary-color)!important;
    background-color: var(--white-color)!important;
    border-color: var(--secondary-color)!important;;
}
.btn-outline-rounded:hover,.btn-outline-rounded:focus,a.btn-outline-rounded:hover,a.btn-outline-rounded:focus{
    color: var(--white-color)!important;
    background-color: var(--third-color)!important;
    border-color: var(--third-color)!important;;
}
.btn-square,.btn-square:link,.btn-square:visited,a.btn-square, a.btn-square:link,a.btn-square:visited{
    border-radius: 0;
    color: var(--white-color)!important;
    background-color: var(--primary-color)!important;
    border-color: var(--primary-color)!important;
}
.btn-square:hover,.btn-square:focus,a.btn-square:hover, a.btn-square:focus{
    color: var(--white-color)!important;
    background-color: var(--third-color)!important;
    border-color: var(--third-color)!important;
}
.btn-outline-square,.btn-outline-square:link,.btn-outline-square:visited,a.btn-outline-square, a.btn-outline-square:link,a.btn-outline-square:visited{
    border-radius: 0;
    background-color: var(--white-color)!important;
    color: var(--primary-color)!important;
    border-color: var(--primary-color)!important;
}
.btn-outline-square:hover,.btn-outline-square:focus,a.btn-outline-square:hover, a.btn-outline-square:focus {
    background-color: var(--third-color)!important;
    color: var(--white-color)!important;
    border-color: var(--third-color)!important;
}
.btn-primary,.btn-primary:link,.btn-primary:visited,a.btn-primary, a.btn-primary:link,a.btn-primary:visited{
    color: var(--white-color)!important;
    background-color: var(--primary-color)!important;
    border-color: var(--primary-color)!important;
}
.btn-primary:hover,.btn-primary:focus, a.btn-primary:hover, a.btn-primary:focus{
    color: var(--white-color)!important;
    background-color: var(--third-color)!important;
    border-color: var(--third-color)!important;
}
.btn-white,.btn-white:link,.btn-white:visited,a.btn-white, a.btn-white:link,a.btn-white:visited{
    color: #000000!important;
    background-color: var(--white-color)!important;
    border-color: var(--white-color)!important;
}
.btn-white:hover,.btn-white:focus, a.btn-white:hover, a.btn-white:focus{
    color: var(--white-color)!important;
    background-color: var(--primary-color)!important;
    border-color: var(--primary-color)!important;
}
.btn-outline-primary,.btn-outline-primary:link,.btn-outline-primary:visited,a.btn-outline-primary,a.btn-outline-primary:link, a.btn-outline-primary:visited{
    color:var(--primary-color)!important;
    background-color:  var(--white-color)!important;
    border-color: var(--primary-color)!important;
}
.btn-outline-primary:hover,.btn-outline-primary:focus, a.btn-outline-primary:hover, a.btn-outline-primary:focus{
    color: var(--white-color)!important;
    background-color: var(--third-color)!important;
    border-color: var(--third-color)!important;
}
.btn-outline-white,.btn-outline-white:link,.btn-outline-white:visited,a.btn-outline-white,a.btn-outline-white:link, a.btn-outline-white:visited{
    color:var(--white-color)!important;
    background-color:  transparent!important;
    border-color: var(--white-color)!important;
}
.btn-outline-white:hover,.btn-outline-white:focus, a.btn-outline-white:hover, a.btn-outline-white:focus{
    color: #000000!important;
    background-color: var(--white-color)!important;
    border-color: var(--white-color)!important;
}
/*-----FINE BOTTONI-----*/

/*-----STILI HOME-------*/
.smart-scroll{
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}
.scrolled-down{
   transform:translateY(-100%); transition: all 0.3s ease-in-out;
}
.scrolled-up{
   transform:translateY(0); transition: all 0.3s ease-in-out;
}
.home-video .embed-responsive-16by9::before{
    height:100vh;
    padding-top:0!important;
}
.home-video video, .home-video iframe {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    left: 0;
    top: 0;
}
.home-video .text-animate span, .nav-link{
    /*transition: all 0.3s;*/
    text-shadow: 2px 2px 5px rgba(80,44,245,0.50);
}
.home-video .text-animate span{
    
}
.kblockSlider__anchor {
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    width: 20px;
    height: 40px;
    border: 2px solid #fff;
    bottom: 10px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    position: relative;
}
.kblockSlider__anchorCircle {
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    top: 2px;
    animation: 1.2s infinite linear;
    animation-direction: alternate;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: #fff;
    position: absolute;
}
.anchorDrop {
    animation-name: anchorDrop;
}
@keyframes anchorDrop { from {top: 2px; left:3px;} to {top: 24px; left:3px;} }
header .nav-link{
    color: var(--white-color)!important;
    font-size: 1em;
    text-transform: uppercase;
    font-weight: 700;
    /*font-size:1.6em;*/
}
header .bg-white .nav-link{
    color: var(--black-color)!important;
    text-shadow: none;
}
.navbar.d-none{
    display:flex!important;
    opacity:0!important;
}
.navbar.fixed-top:not(.d-none){
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.25);
    background: rgba(255,255,255,0.95);
}
.home-video .text-animate span:hover{
    transition: all 0.3s;

}
.brand-home{
    top:0;
    padding: .8rem 1rem;
}
.bg-xodus{
    background: #fa7f93;
}

.gr-xodus{
    background: #91de51;
    background: linear-gradient(90deg,#ffba01 0%,#ffba01 50%,#fa7f93 100%);
}

.title-section {
    font-weight: 500;
    line-height: 1.2;
    font-size: 3.5em !important;
}

.title-box-gradient {
    font-size: 2.2em !important;
    line-height: 1;
}

.text-gradient-from-top {
    background: -webkit-linear-gradient(45deg,#502cf5,#fa3b73);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(45deg,#502cf5,#fa3b73);
    -webkit-background-clip: text;
    text-fill-color: transparent;
}
.bg-gradient-from-top {
    background: -webkit-linear-gradient(45deg,#502cf5,#fa3b73);
    background: linear-gradient(45deg,#502cf5,#fa3b73);
}

.bg-gradient-from-bottom {
    background: -webkit-linear-gradient(45deg,#7eaaff,#f83b8a,#ffb884);
    background: linear-gradient(45deg,#7eaaff,#f83b8a,#ffb884);
}

.lead {
    font-size: 1.5em !important;
    font-weight: 400;
}

.lead strong, .lead b{
    font-weight: 700;
}

.relativo{
    position:relative;
}
.assoluto{
    position: absolute;
    top: 0;
    left: 0;
}
#portfolio .assoluto, #portfolio-home .assoluto{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}
#portfolio .background.assoluto, #portfolio-home .background.assoluto{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-box-shadow: inset 0px 0px 350px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: inset 0px 0px 350px 0px rgba(0,0,0,0.75);
    box-shadow: inset 0px 0px 350px 0px rgba(0,0,0,0.75);
    background: rgba(0,0,0,0.20);
    transition: all 0.5s;
    z-index: 1;
}
#portfolio a:hover .background.assoluto, #portfolio-home a:hover .background.assoluto{
    -webkit-box-shadow: inset 0px 0px 150px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: inset 0px 0px 150px 0px rgba(0,0,0,0.75);
    box-shadow: inset 0px 0px 150px 0px rgba(0,0,0,0.75);
    background: rgba(0,0,0,0);
}
#portfolio, #portfolio-home, #portfolio a, #portfolio-home a{
    color: #fff!important;
}
#portfolio a:hover .embed-responsive-item,
#portfolio a:focus .embed-responsive-item,
#portfolio-home a:hover .embed-responsive-item,
#portfolio-home a:focus .embed-responsive-item{
    transform: scale(1.2);
}
#portfolio a:hover .embed-responsive-item:after, #portfolio-home a:hover .embed-responsive-item:after{
    content:'';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
}
.link-portfolio{
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 3;
}
span.pallino-incona-animata{
    text-align: center;
    display: inline-block;
    background: none;
    color: #fff;
    width: 48px;
    height: 48px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    overflow: hidden;
    position: relative;
}
span.pallino-incona-animata{
    text-align: center;
    display: block;
    color: #fff;
    width: 48px;
    height: 48px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
}
span.pallino-incona-animata i{
    position: absolute;
    top: -3px;
    left: 8px;
    transition: all 0.5s;
}
span.pallino-incona-animata {
    transition: all 0.5s;
    border: 3px solid transparent;
}
a:hover span.pallino-incona-animata{
    border: 3px solid #FFF;
}
a:hover span.pallino-incona-animata i{
    position: absolute;
    -webkit-animation: slide-right 1s linear infinite;
    animation: slide-right 1s linear infinite;
}

@-webkit-keyframes slide-right {
    0% { opacity:1; transform: translateX(-4vw); }
    30% { opacity:1; transform: translateX(0vw); }
    70% { opacity:1; transform: translateX(0vw); }
    100% { opacity:1; transform: translateX(4vw); }
}
@keyframes slide-right {
    0% { opacity:1; transform: translateX(-4vw); }
    30% { opacity:1; transform: translateX(0vw); }
    70% { opacity:1; transform: translateX(0vw); }
    100% { opacity:1; transform: translateX(4vw); }
}
/*-----PORTFOLIO PLAY-----*/
a.play div.play{
    display: block;
    width: 52px;
    height: 52px;
    padding: 3px;
    position: absolute;
    top:50%;
    left:50%;
    margin-left: -26px;
    margin-top: -21px;
    overflow: hidden;
    z-index: 1;
    transition: all 0.25s ease-in-out;
}
a.play:hover div.play{
    display: block;
    width: 70px;
    height: 70px;
    padding: 12px;
    position: absolute;
    top:50%;
    left:50%;
    margin-left: -35px;
    margin-top: -30px;
    overflow: hidden;
    z-index: 1;
}
a.play div.play img{
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -8px;
    position: absolute;
    top: 50%;
    left: 50%;
    opacity:0.5;
    -webkit-transition: all 0.5s; /* Safari */
    transition: all 0.5s;
}
a.play:hover div.play img{
    opacity:1;
}
a.play div.play span{
    width: 46px;
    height: 46px;
    display: block;
    position: absolute;
    z-index: 2;
    -webkit-border-radius: 1000px;
    -moz-border-radius: 1000px;
    border-radius: 1000px;
}
a.play div.play:before{
    content:'';
    display: block;
    position: absolute;
    left:0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    -webkit-border-radius: 1000px;
    -moz-border-radius: 1000px;
    border-radius: 1000px;
}
.fancybox-caption__body{
    opacity:0;
    transition:opacity 1s linear;
}

.title-footer{
    text-transform: uppercase;
}

/*-----STILI SWIPER-------*/
.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}
.swiper-pagination-bullet {
    width: 20px!important;
    height: 20px!important;
    margin: 10px!important;
    background:#fff!important;
    box-shadow: inset 0 0 10px 5px rgba(0,0,0,0.75);
}
.swiper-pagination-bullet-active {
    opacity: 1;
    background: #007aff!important;
    box-shadow: none;
}
.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    margin-top: -70px;
    left: 0;
}
.swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    margin-top: -70px;
    right: 0;
}

@media (min-width: 992px) {
    #portfolio-home .col-xl-4:nth-of-type(1), #portfolio-home .col-xl-4:nth-of-type(2){
        flex: 0 0 50%;
        max-width: 50%;
    }
    html{
        font-size:var(--font-html);
    }
    .h1, h1, .display-1 {
        font-size: 5.2em!important;
        font-weight: 500;
    }
    .h2, .title-2, h2, .display-2 {
        font-size: 2.5em!important;
    }
    .h3, h3, .display-3 {
        font-size: 1.75em!important;
    }
    h4,.h4, .display-4 {
        font-size: 1.5em!important;
    }
    h5,.h5, .display-5,.form-control {
        font-size: 1em!important;
    }
    .form-check-input{
        width: 30px;
        height: 30px;
        margin-top: .1rem;
    }
}