@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
/* SKIN */
:root {
    --primary-color: #0099a8;
    --primary-color-dark: #004953;
    --secondary-color: #7b7c7e;
    --secondary-color-dark: #3d3d39;
    --third-color: #FF8901;
    --white-color: #fff;
    --black-color: #111;
    --dark-light:rgba(0,0,0,0.45);
    --primary-font: 'Roboto', sans-serif;
    --secondary-font: 'Roboto', sans-serif;
    --third-font: 'Roboto', sans-serif;
    --fourth-font: 'Roboto', sans-serif;
    --font-html:32px;
    --font-body:16px;
}
.bg-primary{
    background-color: var(--primary-color)!important;
}
.bg-primary-dark{
     background-color: var(--primary-color-dark)!important;
 }
.bg-secondary{
    background-color: var(--secondary-color)!important;
}
.bg-secondary-dark{
    background-color: var(--secondary-color-dark)!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(--primary-color)!important;
}
.secondary-color{
    color: var(--secondary-color)!important;
}
.third-color{
    color: var(--third-color)!important;
}
.white-color{
    color: var(--white-color)!important;
}

.navbar .ricerca{
    position: absolute;
    right: 30px;
    top: 30px;
}

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

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;
}

a {
    color: var(--primary-color)!important;
}

.nav-link a{
    color: var(--secondary-color-dark)!important;
}

.nav-link a:hover{
    text-decoration: none;
}

a:hover {
    color: var(--primary-color-dark)!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;
}
.card-body h3{
    padding-bottom: 0;
    margin-bottom: 0;
}
/*BOTTONI*/
.btn {
    padding: 0.7rem 1.5rem;
    border-radius: 100px;
    font-size: 1em;
    text-transform: uppercase;
    font-weight: 700;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.15);
}
.btn-light{
    color:#212529!important;
}
.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);
}
.nav-link .btn {
    margin-top: -0.3rem;
    padding: 0.3rem 1rem;
}
.nav-link .btn.btn-outline-dark:hover{
    color: #fff!important;
}
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;
    border-width: 3px;
    color: var(--white-color)!important;
    background-color: transparent!important;
    border-color: var(--white-color)!important;;
}
.btn-outline-rounded:hover,.btn-outline-rounded:focus,a.btn-outline-rounded:hover,a.btn-outline-rounded:focus{
    color: #111111!important;
    background-color: var(--white-color)!important;
    border-color: var(--white-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(--primary-color-dark)!important;
    border-color: var(--primary-color-dark)!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;
}
/*-----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;
}
.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 .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{
}
.home-video .text-animate span{

}
@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;
}
header .bg-white .nav-link{
    color: var(--black-color)!important;
    text-shadow: none;
}
header .bg-white .nav-link:hover{
    color: var(--primary-color)!important;
}
footer a:hover {
    color: #fff !important;
    text-decoration: underline!important;
}
.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: 900;
    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-weight: 300;
}

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

.relativo{
    position:relative;
}
.assoluto{
    position: absolute;
    top: 0;
    left: 0;
}
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;
}

#testata-contenuto{
    background: #000;
}
.arrow-r{
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url("../images/icon/outline_arrow_forward_ios_black_24dp.png") center center no-repeat;
    background-size: contain;
}
.video-nero {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgb(0,0,0);
    background: rgba(0,0,0,0.25);
}

/*-----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: 700;
    }
    .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;
    }
}

/* BLOG */
.card .embed-responsive-item, .blocco-bg{
    transition: all .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.blocco-bg{
    opacity: 0.5;
    transform: scale(1.2);
}
.blocco-bg:hover{
    opacity: 1;
    transform: scale(1);
}
a.prova-card:hover{
    text-decoration: none!important;
}
a .card{
    transition: all .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0);
}
a:hover .card{
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
a:hover .card .embed-responsive-item{
    transform: scale(1.2);
}
a .card, a:hover .card h3 {
    color: #212529;
    text-decoration: none!important;
}
h1.titol-home, p.titol-home {
    padding: 0;
    margin: 0;
    margin-bottom: 10px;
    display: inline;
    font-size: 36px!important;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    color: #111;
}
.hot-topic, .hot-topic li {
    font-size: 18px;
    list-style: none;
    display: inline;
    text-transform: uppercase;
}
p.hot-topic strong {
    padding-right: 9px;
    display: inline-block;
}
.hot-topic li {
    color: #999;
    padding: 0 9px;
    -o-transition: none;
    -ms-transition: none;
    -moz-transition: none;
    -webkit-transition: none;
    transition: none;
    font-weight: normal;
    display: inline-block;
    background: #f6f6f6;
    margin: 0 0 2px 2px;
}

#home-blog > div > div:first-of-type{
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}
#home-blog > div > div:first-of-type > div > div.card-body{
    background: rgba(0,0,0,0.7);
    color: #fff;
    width: calc(30px + 50%);
    z-index: 100;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
#home-blog > div > div:last-of-type .embed-responsive-16by9::before {
    padding-top: 100%;
}
#home-blog > div > div:last-of-type .embed-responsive .embed-responsive-item{
    height: 100%;
    width: auto!important;

}
#home-blog > div > div:last-of-type > div > div.card-body{
    background: rgba(0,0,0,0.7);
    color: #fff;
    width: 100%;
    z-index: 100;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.notitolo #titolo-categoria{
    display: none;
}

.navbar h1 {
    color: #000000;
    font-size: 32px!important;
    line-height: 24px;
    font-weight: normal;
    font-style: normal;
    float: left;
    clear: none;
    border: none;
    text-shadow: 2px 1px 0 #cccccc;
    padding-top: 0;
    margin-top:6px;
}
.navbar h1 span {
    color: #f29400;
    font-size: 18px;
    line-height: 24px;
    text-shadow: none;
    letter-spacing: 3px;
}

#navbar-category .nav-link{
    font-size: 0.70em;
    padding-right: 0.15rem;
    padding-left: 0.5rem;
}

.navbar.bg-white .nav-link a {
    color: #777;
}

#social img{
    filter: brightness(0) invert(1);
}

/* PAGINAZIONE */
.page-item.active.d-none{
    display: block!important;
}
.page-item:nth-last-child(2) {
    display: block !important;
}

